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": "ss}_id\")\n name = $(this).attr('name')\n key = name.replace(\"#{klass}_\", '')\n data = {}\n data[key] = $(",
"end": 3183,
"score": 0.9685669541358948,
"start": 3171,
"tag": "KEY",
"value": "name.replace"
},
{
"context": "name = $(this).attr('name')\n ke... | app/assets/javascripts/portal/fulfillment2.js.coffee | Trott/sparc-request | 0 | # Copyright © 2011 MUSC Foundation for Research Development
# 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 c... | 33150 | # Copyright © 2011 MUSC Foundation for Research Development
# 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 c... | true | # Copyright © 2011 MUSC Foundation for Research Development
# 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 c... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998428225517273,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | index.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... | 126372 | ###
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": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998465180397034,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/arche.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... | 19103 | ###
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": "->\n \"use strict\"\n# Panel 0.1.3.2\n# By Kevin Chang\n# + touchevents have own delegators\n# TODO:\n# + F",
"end": 50,
"score": 0.999605655670166,
"start": 39,
"tag": "NAME",
"value": "Kevin Chang"
}
] | js/lib/panel.coffee | kc34/kc-js-gui | 0 | ->
"use strict"
# Panel 0.1.3.2
# By Kevin Chang
# + touchevents have own delegators
# TODO:
# + Focus to know where to send key events
# + Consider consolidating mouse and touch into pointer events
class @Panel
# Basic GUI structure. Can contain other Panels.
# Configure its draw() and clickHandler()!
constru... | 14546 | ->
"use strict"
# Panel 0.1.3.2
# By <NAME>
# + touchevents have own delegators
# TODO:
# + Focus to know where to send key events
# + Consider consolidating mouse and touch into pointer events
class @Panel
# Basic GUI structure. Can contain other Panels.
# Configure its draw() and clickHandler()!
constructor:... | true | ->
"use strict"
# Panel 0.1.3.2
# By PI:NAME:<NAME>END_PI
# + touchevents have own delegators
# TODO:
# + Focus to know where to send key events
# + Consider consolidating mouse and touch into pointer events
class @Panel
# Basic GUI structure. Can contain other Panels.
# Configure its draw() and clickHandler()!
... |
[
{
"context": "ntainer.Character.instance\n @character.name = 'Taco'\n @character2 = new container.Character.instan",
"end": 206,
"score": 0.9977766275405884,
"start": 202,
"tag": "NAME",
"value": "Taco"
},
{
"context": "tainer.Character.instance\n @character2.name = 'Blaster... | test/character/character-test.coffee | RichardJohnn/DND | 0 | expect = require('chai').expect
container = require '../../deps'
_ = require 'lodash'
describe 'Character', ->
beforeEach ->
@character = new container.Character.instance
@character.name = 'Taco'
@character2 = new container.Character.instance
@character2.name = 'Blaster'
console.log @character, ... | 136271 | expect = require('chai').expect
container = require '../../deps'
_ = require 'lodash'
describe 'Character', ->
beforeEach ->
@character = new container.Character.instance
@character.name = '<NAME>'
@character2 = new container.Character.instance
@character2.name = '<NAME>'
console.log @character,... | true | expect = require('chai').expect
container = require '../../deps'
_ = require 'lodash'
describe 'Character', ->
beforeEach ->
@character = new container.Character.instance
@character.name = 'PI:NAME:<NAME>END_PI'
@character2 = new container.Character.instance
@character2.name = 'PI:NAME:<NAME>END_PI'... |
[
{
"context": "###*\n * Cookie parser for GridFW\n * @copyright khalid RAFIK 2018\n###\n'use strict'\n\ncookie = require 'cookie'\n",
"end": 59,
"score": 0.9984052777290344,
"start": 47,
"tag": "NAME",
"value": "khalid RAFIK"
}
] | assets/index.coffee | gridfw/gridfw-security | 0 | ###*
* Cookie parser for GridFW
* @copyright khalid RAFIK 2018
###
'use strict'
cookie = require 'cookie'
CryptoJS = require('crypto-js')
AESCrypto = CryptoJS.AES
# reload
_parseCookies = null
module.exports=
name: 'cookie-parser'
# init/reload the plugin
reload: (app, settings)->
settings ?= Object.create nul... | 47715 | ###*
* Cookie parser for GridFW
* @copyright <NAME> 2018
###
'use strict'
cookie = require 'cookie'
CryptoJS = require('crypto-js')
AESCrypto = CryptoJS.AES
# reload
_parseCookies = null
module.exports=
name: 'cookie-parser'
# init/reload the plugin
reload: (app, settings)->
settings ?= Object.create null
#=... | true | ###*
* Cookie parser for GridFW
* @copyright PI:NAME:<NAME>END_PI 2018
###
'use strict'
cookie = require 'cookie'
CryptoJS = require('crypto-js')
AESCrypto = CryptoJS.AES
# reload
_parseCookies = null
module.exports=
name: 'cookie-parser'
# init/reload the plugin
reload: (app, settings)->
settings ?= Object.cr... |
[
{
"context": "*! ngTableColumnResizable v<%= cmpnt.version %> by Vitalii Savchuk(esvit666@gmail.com) - ' +\n 'ht",
"end": 230,
"score": 0.9998835921287537,
"start": 215,
"tag": "NAME",
"value": "Vitalii Savchuk"
},
{
"context": "esizable v<%= cmpnt.version %> by Vi... | Gruntfile.coffee | lmafonso/ng-table-resizable-columns | 11 | path = require 'path'
# Build configurations.
module.exports = (grunt) ->
grunt.initConfig
cmpnt: grunt.file.readJSON('bower.json'),
banner: '/*! ngTableColumnResizable v<%= cmpnt.version %> by Vitalii Savchuk(esvit666@gmail.com) - ' +
'https://github.com/esvit/ng-table-resizabl... | 7046 | path = require 'path'
# Build configurations.
module.exports = (grunt) ->
grunt.initConfig
cmpnt: grunt.file.readJSON('bower.json'),
banner: '/*! ngTableColumnResizable v<%= cmpnt.version %> by <NAME>(<EMAIL>) - ' +
'https://github.com/esvit/ng-table-resizable-columns - New BSD ... | true | path = require 'path'
# Build configurations.
module.exports = (grunt) ->
grunt.initConfig
cmpnt: grunt.file.readJSON('bower.json'),
banner: '/*! ngTableColumnResizable v<%= cmpnt.version %> by PI:NAME:<NAME>END_PI(PI:EMAIL:<EMAIL>END_PI) - ' +
'https://github.com/esvit/ng-table... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998885989189148,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/issues/detail.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 220645 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " beforeEach ->\n @transcript.key = 'test-key'\n @module.emit 'mockEvent', pretend.r",
"end": 3805,
"score": 0.6909193992614746,
"start": 3805,
"tag": "KEY",
"value": ""
},
{
"context": ".recordDirector director\n director.names = ['tester']\n ... | test/unit/06-transcript_test.coffee | PropertyUX/nubot-playbook | 0 | sinon = require 'sinon'
chai = require 'chai'
should = chai.should()
chai.use require 'sinon-chai'
chai.use require 'chai-subset'
co = require 'co'
_ = require 'lodash'
pretend = require 'hubot-pretend'
Transcript = require '../../lib/modules/transcript'
Director = require '../../lib/modules/director'
Scene = require '... | 46085 | sinon = require 'sinon'
chai = require 'chai'
should = chai.should()
chai.use require 'sinon-chai'
chai.use require 'chai-subset'
co = require 'co'
_ = require 'lodash'
pretend = require 'hubot-pretend'
Transcript = require '../../lib/modules/transcript'
Director = require '../../lib/modules/director'
Scene = require '... | true | sinon = require 'sinon'
chai = require 'chai'
should = chai.should()
chai.use require 'sinon-chai'
chai.use require 'chai-subset'
co = require 'co'
_ = require 'lodash'
pretend = require 'hubot-pretend'
Transcript = require '../../lib/modules/transcript'
Director = require '../../lib/modules/director'
Scene = require '... |
[
{
"context": "host localhost --port 8001 --stream foo --password abc123 [file]\")\n .describe\n host: \"Serve",
"end": 219,
"score": 0.9989778995513916,
"start": 213,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": " stream: \"Stream key\"\n passwor... | util/icecast_source.coffee | firebrandv2/FirebrandNetwork.ga | 342 | fs = require "fs"
path = require "path"
net = require "net"
Throttle = require "throttle"
@args = require("optimist")
.usage("Usage: $0 --host localhost --port 8001 --stream foo --password abc123 [file]")
.describe
host: "Server"
port: "Server source port"
... | 195249 | fs = require "fs"
path = require "path"
net = require "net"
Throttle = require "throttle"
@args = require("optimist")
.usage("Usage: $0 --host localhost --port 8001 --stream foo --password <PASSWORD> [file]")
.describe
host: "Server"
port: "Server source port"
... | true | fs = require "fs"
path = require "path"
net = require "net"
Throttle = require "throttle"
@args = require("optimist")
.usage("Usage: $0 --host localhost --port 8001 --stream foo --password PI:PASSWORD:<PASSWORD>END_PI [file]")
.describe
host: "Server"
port: "Serve... |
[
{
"context": "###\n## @author Tyler Benton\n## @page tests/coffee-file\n###\n\n\n## @name main\n##",
"end": 27,
"score": 0.999884307384491,
"start": 15,
"tag": "NAME",
"value": "Tyler Benton"
}
] | tests/lib/coffeescript/test.coffee | tjbenton/docs-parser | 0 | ###
## @author Tyler Benton
## @page tests/coffee-file
###
## @name main
## @description
## main method
outer = 1
changeNumbers = ->
inner = -1
outer = 10
inner = changeNumbers()
## @name Something
## @description
## This is a normal multi-line comment.
mood = greatlyImproved if singing
if happy and knowsIt
... | 107154 | ###
## @author <NAME>
## @page tests/coffee-file
###
## @name main
## @description
## main method
outer = 1
changeNumbers = ->
inner = -1
outer = 10
inner = changeNumbers()
## @name Something
## @description
## This is a normal multi-line comment.
mood = greatlyImproved if singing
if happy and knowsIt
clapsH... | true | ###
## @author PI:NAME:<NAME>END_PI
## @page tests/coffee-file
###
## @name main
## @description
## main method
outer = 1
changeNumbers = ->
inner = -1
outer = 10
inner = changeNumbers()
## @name Something
## @description
## This is a normal multi-line comment.
mood = greatlyImproved if singing
if happy and kn... |
[
{
"context": " =\n id: 'm_4',\n threadID: 't_2',\n threadName: 'Dave and Bill',\n authorName: 'Bill',\n text: 'Hey Dav",
"end": 61,
"score": 0.999293863773346,
"start": 57,
"tag": "NAME",
"value": "Dave"
},
{
"context": " 'm_4',\n threadID: 't_2',\n threadName: 'Dave and Bill'... | src/client/chat/message/item/message-item-directive_test.coffee | DavidSouther/song-flux-chat | 1 | message =
id: 'm_4',
threadID: 't_2',
threadName: 'Dave and Bill',
authorName: 'Bill',
text: 'Hey Dave, want to get a beer after the conference?',
timestamp: Date.now() - 69999
message.date = new Date message.timestamp
describe 'MessageItemDirective', ->
sut = null
beforeEach module 'song.chat.message.... | 26084 | message =
id: 'm_4',
threadID: 't_2',
threadName: '<NAME> and <NAME>',
authorName: '<NAME>',
text: 'Hey <NAME>, want to get a beer after the conference?',
timestamp: Date.now() - 69999
message.date = new Date message.timestamp
describe 'MessageItemDirective', ->
sut = null
beforeEach module 'song.chat.... | true | message =
id: 'm_4',
threadID: 't_2',
threadName: 'PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI',
authorName: 'PI:NAME:<NAME>END_PI',
text: 'Hey PI:NAME:<NAME>END_PI, want to get a beer after the conference?',
timestamp: Date.now() - 69999
message.date = new Date message.timestamp
describe 'MessageItemDir... |
[
{
"context": "er position of the first property in JSX\n# @author Joachim Seminck\n###\n'use strict'\n\n# -----------------------------",
"end": 98,
"score": 0.9997275471687317,
"start": 83,
"tag": "NAME",
"value": "Joachim Seminck"
}
] | src/tests/rules/jsx-first-prop-new-line.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author Joachim Seminck
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules... | 214570 | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-firs... | true | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../... |
[
{
"context": "message =\n type: 'message'\n senderName: 'abc xyz'\n senderID: '123456789'\n participantNames: ",
"end": 578,
"score": 0.749329149723053,
"start": 575,
"tag": "NAME",
"value": "xyz"
}
] | test/stubs.coffee | yuyuvn/hubot-facebook | 0 | # Setup stubs used by the other tests
{Facebook} = require '../index'
{EventEmitter} = require 'events'
# Use Hubot's brain in our stubs
{Brain} = require 'hubot'
# Stub a few interfaces to grease the skids for tests. These are intentionally
# as minimal as possible and only provide enough to make the tests possible.... | 77840 | # Setup stubs used by the other tests
{Facebook} = require '../index'
{EventEmitter} = require 'events'
# Use Hubot's brain in our stubs
{Brain} = require 'hubot'
# Stub a few interfaces to grease the skids for tests. These are intentionally
# as minimal as possible and only provide enough to make the tests possible.... | true | # Setup stubs used by the other tests
{Facebook} = require '../index'
{EventEmitter} = require 'events'
# Use Hubot's brain in our stubs
{Brain} = require 'hubot'
# Stub a few interfaces to grease the skids for tests. These are intentionally
# as minimal as possible and only provide enough to make the tests possible.... |
[
{
"context": "= () ->\n unauthTimer.reset()\n username = $('#addnew-username').val()\n password = $('#addnew-password').val()\n",
"end": 1222,
"score": 0.7735713124275208,
"start": 1210,
"tag": "USERNAME",
"value": "new-username"
},
{
"context": "me = $('#addnew-username').val()\n... | src/js/extension/ux/addnew.coffee | obi1kenobi/jester | 2 | uuid = require('../../../deps/uuid')
logger = require('../../lib/util/logging').logger(['ext', 'ux', 'addnew'])
sender = require('../messaging/ui/sender')
serviceData = require('../services/service_data')
unauthTimer = require('./tools/unauth_timer')
ephemeralStorage = require(... | 136518 | uuid = require('../../../deps/uuid')
logger = require('../../lib/util/logging').logger(['ext', 'ux', 'addnew'])
sender = require('../messaging/ui/sender')
serviceData = require('../services/service_data')
unauthTimer = require('./tools/unauth_timer')
ephemeralStorage = require(... | true | uuid = require('../../../deps/uuid')
logger = require('../../lib/util/logging').logger(['ext', 'ux', 'addnew'])
sender = require('../messaging/ui/sender')
serviceData = require('../services/service_data')
unauthTimer = require('./tools/unauth_timer')
ephemeralStorage = require(... |
[
{
"context": "###\nCreated by Robsdedude on 01/10/2017\nVirtual gamepad applicatio",
"end": 16,
"score": 0.8426940441131592,
"start": 15,
"tag": "USERNAME",
"value": "R"
},
{
"context": "###\nCreated by Robsdedude on 01/10/2017\nVirtual gamepad application\n###\n\nfo",
"end": 25,... | main.coffee | jehervy/node-virtual-gamepads | 94 | ###
Created by Robsdedude on 01/10/2017
Virtual gamepad application
###
forever = require('forever-monitor')
log = require './lib/log'
server = new (forever.Monitor)(
require('path').resolve(__dirname, 'server.js'), {
max: Infinity,
args: [],
});
exiting = false
server.on 'exit', ->
log 'warning', 'serv... | 77230 | ###
Created by R<NAME> on 01/10/2017
Virtual gamepad application
###
forever = require('forever-monitor')
log = require './lib/log'
server = new (forever.Monitor)(
require('path').resolve(__dirname, 'server.js'), {
max: Infinity,
args: [],
});
exiting = false
server.on 'exit', ->
log 'warning', 'server.... | true | ###
Created by RPI:NAME:<NAME>END_PI on 01/10/2017
Virtual gamepad application
###
forever = require('forever-monitor')
log = require './lib/log'
server = new (forever.Monitor)(
require('path').resolve(__dirname, 'server.js'), {
max: Infinity,
args: [],
});
exiting = false
server.on 'exit', ->
log 'warn... |
[
{
"context": " @conn1.connect {\n host: host\n username: name\n password: password\n }\n\n send: (reques",
"end": 277,
"score": 0.9935558438301086,
"start": 273,
"tag": "USERNAME",
"value": "name"
},
{
"context": " host: host\n username: name\n passwo... | coffee/ssh.coffee | Aewil/electron-ssh | 2 | class ssh
constructor: (host, name, password, port, callback) ->
Client = require 'ssh2'
@conn1 = new Client()
@conn1.on('ready', () =>
console.log 'FIRST :: connection ready'
callback()
)
@conn1.connect {
host: host
username: name
password: password
}
send: ... | 161513 | class ssh
constructor: (host, name, password, port, callback) ->
Client = require 'ssh2'
@conn1 = new Client()
@conn1.on('ready', () =>
console.log 'FIRST :: connection ready'
callback()
)
@conn1.connect {
host: host
username: name
password: <PASSWORD>
}
send... | true | class ssh
constructor: (host, name, password, port, callback) ->
Client = require 'ssh2'
@conn1 = new Client()
@conn1.on('ready', () =>
console.log 'FIRST :: connection ready'
callback()
)
@conn1.connect {
host: host
username: name
password: PI:PASSWORD:<PASSWORD>END_... |
[
{
"context": "module.exports =\n configDefaults:\n username: 'Anonymous'\n channel: 'GenChat'\n subscribe_key: 'demo'",
"end": 236,
"score": 0.997640073299408,
"start": 227,
"tag": "USERNAME",
"value": "Anonymous"
},
{
"context": "ymous'\n channel: 'GenChat'\n subscri... | lib/pubnub-chat.coffee | sunnygleason/pubnub-atom-chat | 0 | PubnubChatView = require './pubnub-chat-view'
{allowUnsafeEval} = require 'loophole'
$ = allowUnsafeEval -> require 'jquery'
_ = allowUnsafeEval -> require 'underscore-plus'
module.exports =
configDefaults:
username: 'Anonymous'
channel: 'GenChat'
subscribe_key: 'demo'
publish_key: 'demo'
show_... | 40070 | PubnubChatView = require './pubnub-chat-view'
{allowUnsafeEval} = require 'loophole'
$ = allowUnsafeEval -> require 'jquery'
_ = allowUnsafeEval -> require 'underscore-plus'
module.exports =
configDefaults:
username: 'Anonymous'
channel: 'GenChat'
subscribe_key: '<KEY>'
publish_key: '<KEY>'
sho... | true | PubnubChatView = require './pubnub-chat-view'
{allowUnsafeEval} = require 'loophole'
$ = allowUnsafeEval -> require 'jquery'
_ = allowUnsafeEval -> require 'underscore-plus'
module.exports =
configDefaults:
username: 'Anonymous'
channel: 'GenChat'
subscribe_key: 'PI:KEY:<KEY>END_PI'
publish_key: 'P... |
[
{
"context": "ing');\n \n Meteor.loginWithPassword 'a@a.com', '123456', (err)->\n d \"Empty trip:\"+tri",
"end": 350,
"score": 0.9998197555541992,
"start": 343,
"tag": "EMAIL",
"value": "a@a.com"
}
] | src/tests/tdd/testSaveTrip.coffee | ArnoldasSid/vilnius-carpool | 11 | helper = new (require '../actions').Helper()
describe 'Save tripCapsule', ->
it 'it should calculate path Tmg-10:UC1', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('trip-saving');
Met... | 47303 | helper = new (require '../actions').Helper()
describe 'Save tripCapsule', ->
it 'it should calculate path Tmg-10:UC1', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('trip-saving');
Met... | true | helper = new (require '../actions').Helper()
describe 'Save tripCapsule', ->
it 'it should calculate path Tmg-10:UC1', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('trip-saving');
Met... |
[
{
"context": "#\n# binnacle\n# https://github.com/binnacle-io/binnacle-js\n#\n# Copyright (c) 2017 Binnacle, LLC.",
"end": 45,
"score": 0.999617874622345,
"start": 34,
"tag": "USERNAME",
"value": "binnacle-io"
},
{
"context": ": true\n user: @options.apiKey\n password: @opt... | src/coffee/client.coffee | integrallis/binnacle-js | 0 | #
# binnacle
# https://github.com/binnacle-io/binnacle-js
#
# Copyright (c) 2017 Binnacle, LLC.
# Licensed under the MIT license.
#
root = global ? window
root.Binnacle ?= {}
#
# Represents a Binnacle Signal/Event
# 'options' is a object with the following properties:
#
# --------------------------------------------... | 41959 | #
# binnacle
# https://github.com/binnacle-io/binnacle-js
#
# Copyright (c) 2017 Binnacle, LLC.
# Licensed under the MIT license.
#
root = global ? window
root.Binnacle ?= {}
#
# Represents a Binnacle Signal/Event
# 'options' is a object with the following properties:
#
# --------------------------------------------... | true | #
# binnacle
# https://github.com/binnacle-io/binnacle-js
#
# Copyright (c) 2017 Binnacle, LLC.
# Licensed under the MIT license.
#
root = global ? window
root.Binnacle ?= {}
#
# Represents a Binnacle Signal/Event
# 'options' is a object with the following properties:
#
# --------------------------------------------... |
[
{
"context": " {\n url:@abs \"/log-in\"\n body:{ username:username, password:password }\n jar:cookie_jar\n j",
"end": 5735,
"score": 0.9989976286888123,
"start": 5727,
"tag": "USERNAME",
"value": "username"
},
{
"context": "/log-in\"\n body:{ username:usernam... | lib/intellinote.coffee | intellinote/intellinote-cli | 1 | # TODO - refactor for DRYness
# TODO - rationalize command line parameters
# TODO - unit (or at least functional) tests
# TODO - update use instructions
# TODO - consider https://www.npmjs.com/package/chalk
# TODO - extract readline extensions into inote-util (?)
readline = require 'readline'
fs = require 'fs'
p... | 168923 | # TODO - refactor for DRYness
# TODO - rationalize command line parameters
# TODO - unit (or at least functional) tests
# TODO - update use instructions
# TODO - consider https://www.npmjs.com/package/chalk
# TODO - extract readline extensions into inote-util (?)
readline = require 'readline'
fs = require 'fs'
p... | true | # TODO - refactor for DRYness
# TODO - rationalize command line parameters
# TODO - unit (or at least functional) tests
# TODO - update use instructions
# TODO - consider https://www.npmjs.com/package/chalk
# TODO - extract readline extensions into inote-util (?)
readline = require 'readline'
fs = require 'fs'
p... |
[
{
"context": "ur = {\n codeUQAM: 'gj123456',\n prenom: 'Prénom',\n nom: 'Nom',\n courriel: 'nom.prenom@u",
"end": 1537,
"score": 0.9992154240608215,
"start": 1531,
"tag": "NAME",
"value": "Prénom"
},
{
"context": ": 'gj123456',\n prenom: 'Prénom',\n nom:... | server/app.coffee | uqamio/bfp-stages | 0 | fs = require('fs')
path = require("path")
util = require('util')
express = require('express')
app = express()
cookieParser = require('cookie-parser')
session = require('express-session')
bodyParser = require('body-parser')
jwt = require('jsonwebtoken')
fondation = require('./fondation')
journalisation = fondation.jou... | 167557 | fs = require('fs')
path = require("path")
util = require('util')
express = require('express')
app = express()
cookieParser = require('cookie-parser')
session = require('express-session')
bodyParser = require('body-parser')
jwt = require('jsonwebtoken')
fondation = require('./fondation')
journalisation = fondation.jou... | true | fs = require('fs')
path = require("path")
util = require('util')
express = require('express')
app = express()
cookieParser = require('cookie-parser')
session = require('express-session')
bodyParser = require('body-parser')
jwt = require('jsonwebtoken')
fondation = require('./fondation')
journalisation = fondation.jou... |
[
{
"context": "nsureIndex({ name: 1 }, { unique: true })\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Airc",
"end": 325,
"score": 0.9998382329940796,
"start": 313,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/AircraftManufacturerSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft manufacturer.
@example MongoDB Collection
db.aircraft.manufacturers
@example MongoDB Indexes
db.aircraft.manufacturers.ensureIndex({ name: 1 }, { unique: true })
@author Nathan ... | 119378 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft manufacturer.
@example MongoDB Collection
db.aircraft.manufacturers
@example MongoDB Indexes
db.aircraft.manufacturers.ensureIndex({ name: 1 }, { unique: true })
@author <NAME>
... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft manufacturer.
@example MongoDB Collection
db.aircraft.manufacturers
@example MongoDB Indexes
db.aircraft.manufacturers.ensureIndex({ name: 1 }, { unique: true })
@author PI:NAME... |
[
{
"context": "t.\n\nclass Person\n print: ->\n print \"My name is #{@name}.\"\n\n\n# p = Person ()\n# p /name string print\n\np = ",
"end": 1011,
"score": 0.9193502068519592,
"start": 1004,
"tag": "USERNAME",
"value": "#{@name"
},
{
"context": "on\n (@rank) ->\n\n print: ->\n ... | examples/potion.coffee | DiThi/coffeescript | 537 | # Examples from _why's Potion, the Readme and "Potion: A Short Pamphlet".
# 5 times: "Odelay!" print.
print "Odelay!" for i in [1..5]
# add = (x, y): x + y.
# add(2, 4) string print
add = (x, y) -> x + y
print add 2, 4
# loop: 'quaff' print.
loop print 'quaff'
# ('cheese', 'bread', 'mayo') at (1) print
print... | 135654 | # Examples from _why's Potion, the Readme and "Potion: A Short Pamphlet".
# 5 times: "Odelay!" print.
print "Odelay!" for i in [1..5]
# add = (x, y): x + y.
# add(2, 4) string print
add = (x, y) -> x + y
print add 2, 4
# loop: 'quaff' print.
loop print 'quaff'
# ('cheese', 'bread', 'mayo') at (1) print
print... | true | # Examples from _why's Potion, the Readme and "Potion: A Short Pamphlet".
# 5 times: "Odelay!" print.
print "Odelay!" for i in [1..5]
# add = (x, y): x + y.
# add(2, 4) string print
add = (x, y) -> x + y
print add 2, 4
# loop: 'quaff' print.
loop print 'quaff'
# ('cheese', 'bread', 'mayo') at (1) print
print... |
[
{
"context": "eference # TODO: fix on sql\n\n related_key = 'self_references'\n related_id_accessor = 'self_reference_ids'",
"end": 3367,
"score": 0.9845865368843079,
"start": 3352,
"tag": "KEY",
"value": "self_references"
}
] | test/spec/sync/relational/self.tests.coffee | dk-dev/backbone-orm | 54 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | 113214 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | true | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... |
[
{
"context": "ent\n server.io handler in client\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 90,
"score": 0.9998157024383545,
"start": 81,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://githu... | src/client/edit-client.coffee | mark-hahn/bace | 1 | ###
file: src/client/edit-client
server.io handler in client
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
edit = (bace.edit ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
settings = (bace.settings ?= {})
multibox ... | 223362 | ###
file: src/client/edit-client
server.io handler in client
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
edit = (bace.edit ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
settings = (bace.settings ?= {})
multibox = (... | true | ###
file: src/client/edit-client
server.io handler in client
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
edit = (bace.edit ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
settings = (bace.settings ?= {}... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999113082885742,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile.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 { Main } from './modding-profile/main'
reactTurbolinks.registerPersistent 'modding-profile', Main, true, (target) ->
discussions: osu.p... | 82172 | # 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 { Main } from './modding-profile/main'
reactTurbolinks.registerPersistent 'modding-profile', Main, true, (target) ->
discussions: osu.parseJso... | 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 { Main } from './modding-profile/main'
reactTurbolinks.registerPersistent 'modding-profile', Main, true, (target) ->
discussion... |
[
{
"context": " property. `list[0]._`\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\nclass NodeList extends core.List\n\n #\n # Basic",
"end": 948,
"score": 0.9998819231987,
"start": 931,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/src/node_list.coffee | lovely-io/lovely.io-stl | 2 | #
# DOM-collections handling interface
#
# new NodeList([raw1, raw2, raw3])
#
# {NodeList} is a subclass of the {core.List} which is a
# subclass of plain {Array}, so you can simply iterate
# through it
#
# for element in new NodeList([e1, e2, e3])
# element.addClass('boo-hoo')
#
# You also can use any Ja... | 212243 | #
# DOM-collections handling interface
#
# new NodeList([raw1, raw2, raw3])
#
# {NodeList} is a subclass of the {core.List} which is a
# subclass of plain {Array}, so you can simply iterate
# through it
#
# for element in new NodeList([e1, e2, e3])
# element.addClass('boo-hoo')
#
# You also can use any Ja... | true | #
# DOM-collections handling interface
#
# new NodeList([raw1, raw2, raw3])
#
# {NodeList} is a subclass of the {core.List} which is a
# subclass of plain {Array}, so you can simply iterate
# through it
#
# for element in new NodeList([e1, e2, e3])
# element.addClass('boo-hoo')
#
# You also can use any Ja... |
[
{
"context": "r) ->\n super player\n player.special.name = \"Minions\"\n player.on \"combat.battle.start\", @events.bat",
"end": 1526,
"score": 0.9875674247741699,
"start": 1519,
"tag": "NAME",
"value": "Minions"
}
] | src/character/classes/Necromancer.coffee | Oipo/IdleLandsOld | 0 |
Class = require "./../base/Class"
`/**
* This class is a summoning class that focuses on debuffing its foes so its minions can take them down.
*
* @name Necromancer
* @special Minions (The Necromancer gets +1 minion every 25 levels.)
* @magical
* @dps
* @hp 10+[level*3]+[con*3]
* @mp 300+[level*10]+[i... | 5805 |
Class = require "./../base/Class"
`/**
* This class is a summoning class that focuses on debuffing its foes so its minions can take them down.
*
* @name Necromancer
* @special Minions (The Necromancer gets +1 minion every 25 levels.)
* @magical
* @dps
* @hp 10+[level*3]+[con*3]
* @mp 300+[level*10]+[i... | true |
Class = require "./../base/Class"
`/**
* This class is a summoning class that focuses on debuffing its foes so its minions can take them down.
*
* @name Necromancer
* @special Minions (The Necromancer gets +1 minion every 25 levels.)
* @magical
* @dps
* @hp 10+[level*3]+[con*3]
* @mp 300+[level*10]+[i... |
[
{
"context": "255\n @t = 0\n\n patterns = new ShuffledArray([Saqoosha, Yusuke, Sfman, Heri, Seki, Hige, Taichi, Jaguar,",
"end": 1653,
"score": 0.9738591313362122,
"start": 1645,
"tag": "NAME",
"value": "Saqoosha"
},
{
"context": "t = 0\n\n patterns = new ShuffledArray([Saqo... | src/components/Dots/Main.coffee | dot-by-dot-inc/dotby.jp-2015 | 42 | $ = require('jquery')
_ = require('underscore')
Snap = require('snapsvg')
THREE = require('three')
QUAD = require('./quadtree')
TWEEN = require('tween.js')
#Stats = require('stats-js')
Detector = require('./Detector')
SVGRenderer = require('./renderers/SVGRenderer')
WebGLRenderer = require('./renderers/WebGLRenderer')... | 171404 | $ = require('jquery')
_ = require('underscore')
Snap = require('snapsvg')
THREE = require('three')
QUAD = require('./quadtree')
TWEEN = require('tween.js')
#Stats = require('stats-js')
Detector = require('./Detector')
SVGRenderer = require('./renderers/SVGRenderer')
WebGLRenderer = require('./renderers/WebGLRenderer')... | true | $ = require('jquery')
_ = require('underscore')
Snap = require('snapsvg')
THREE = require('three')
QUAD = require('./quadtree')
TWEEN = require('tween.js')
#Stats = require('stats-js')
Detector = require('./Detector')
SVGRenderer = require('./renderers/SVGRenderer')
WebGLRenderer = require('./renderers/WebGLRenderer')... |
[
{
"context": "\", (message) ->\n return if message.author.id != '208936898566160384'\n # return if command[0].charAt",
"end": 939,
"score": 0.743545413017273,
"start": 938,
"tag": "USERNAME",
"value": "2"
},
{
"context": ", (message) ->\n return if message.author.id != '2089368985... | app.coffee | TheOnlyArtz/CoffeeBot | 1 | # Ignore.
Discord = (require 'discord.js')
client = new Discord.Client()
config = (require './config.json')
fs = (require 'fs')
artzlogger = (require 'artzlogger')
client.logger = new artzlogger
prefix = "-"
# Command loaders.
client.commands = new Discord.Collection
client.aliases = new Discord.Collection
fs.readdir '... | 191932 | # Ignore.
Discord = (require 'discord.js')
client = new Discord.Client()
config = (require './config.json')
fs = (require 'fs')
artzlogger = (require 'artzlogger')
client.logger = new artzlogger
prefix = "-"
# Command loaders.
client.commands = new Discord.Collection
client.aliases = new Discord.Collection
fs.readdir '... | true | # Ignore.
Discord = (require 'discord.js')
client = new Discord.Client()
config = (require './config.json')
fs = (require 'fs')
artzlogger = (require 'artzlogger')
client.logger = new artzlogger
prefix = "-"
# Command loaders.
client.commands = new Discord.Collection
client.aliases = new Discord.Collection
fs.readdir '... |
[
{
"context": "ow - t * resolution}-#{right_now - t2 * resolution}-#{weight}-#{vel_weight}-#{short_resolution}-#{MACD",
"end": 10491,
"score": 0.5378078818321228,
"start": 10491,
"tag": "KEY",
"value": ""
},
{
"context": "esolution}-#{right_now - t2 * resolution}-#{weight}-#{vel_weigh... | feature_engine.coffee | invisible-college/meth | 7 | require './shared'
fs = require 'fs'
path = require 'path'
default_features = require './features'
feature_engine = module.exports =
features: {}
resolutions: {}
define_feature: (name, func) ->
feature_engine.features[name] = func
create: (resolution) ->
global.feature_cache =
price: {... | 38673 | require './shared'
fs = require 'fs'
path = require 'path'
default_features = require './features'
feature_engine = module.exports =
features: {}
resolutions: {}
define_feature: (name, func) ->
feature_engine.features[name] = func
create: (resolution) ->
global.feature_cache =
price: {... | true | require './shared'
fs = require 'fs'
path = require 'path'
default_features = require './features'
feature_engine = module.exports =
features: {}
resolutions: {}
define_feature: (name, func) ->
feature_engine.features[name] = func
create: (resolution) ->
global.feature_cache =
price: {... |
[
{
"context": "tends BaseModels.Model\n defaults:\n name: 'Hello'\n\n class TestCollection extends BaseCollections.",
"end": 1012,
"score": 0.9844223260879517,
"start": 1007,
"tag": "NAME",
"value": "Hello"
},
{
"context": "ction : new TestCollection [\n name: 'N... | specs/_baseViewSpec.coffee | turbod/rib | 0 | define (require) ->
_ = require 'underscore'
BaseViews = require 'baseviews'
BaseModels = require 'basemodels'
BaseCollections = require 'basecollections'
utils = require 'utils'
class TestView extends BaseViews.View
initialize: ->
@template = '<div id="foo">{{vars.foo}}</div>' +
... | 181343 | define (require) ->
_ = require 'underscore'
BaseViews = require 'baseviews'
BaseModels = require 'basemodels'
BaseCollections = require 'basecollections'
utils = require 'utils'
class TestView extends BaseViews.View
initialize: ->
@template = '<div id="foo">{{vars.foo}}</div>' +
... | true | define (require) ->
_ = require 'underscore'
BaseViews = require 'baseviews'
BaseModels = require 'basemodels'
BaseCollections = require 'basecollections'
utils = require 'utils'
class TestView extends BaseViews.View
initialize: ->
@template = '<div id="foo">{{vars.foo}}</div>' +
... |
[
{
"context": "late.today('yyyy-mm-dd') %>\\n\" +\n \" (c) 2013 Adam Wrobel\\n\" +\n \" <%= pkg.homepage %> */\\n\"\n\n grunt.",
"end": 170,
"score": 0.9998449087142944,
"start": 159,
"tag": "NAME",
"value": "Adam Wrobel"
}
] | Gruntfile.coffee | otnorli/jpeg_camera | 398 | module.exports = (grunt) ->
banner =
"/*! JpegCamera <%= pkg.version %> | " +
"<%= grunt.template.today('yyyy-mm-dd') %>\n" +
" (c) 2013 Adam Wrobel\n" +
" <%= pkg.homepage %> */\n"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
options:
... | 17188 | module.exports = (grunt) ->
banner =
"/*! JpegCamera <%= pkg.version %> | " +
"<%= grunt.template.today('yyyy-mm-dd') %>\n" +
" (c) 2013 <NAME>\n" +
" <%= pkg.homepage %> */\n"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
options:
... | true | module.exports = (grunt) ->
banner =
"/*! JpegCamera <%= pkg.version %> | " +
"<%= grunt.template.today('yyyy-mm-dd') %>\n" +
" (c) 2013 PI:NAME:<NAME>END_PI\n" +
" <%= pkg.homepage %> */\n"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
... |
[
{
"context": "_display_names = [\n\t\"Box\"\n\t\"Citrix GoToMeeting\"\n\t\"Concur\"\n\t\"Docusign\"\n\t\"Dropbox for Business\"\n\t\"Dynamics C",
"end": 59,
"score": 0.7151651978492737,
"start": 53,
"tag": "NAME",
"value": "Concur"
}
] | data/apps.coffee | kenhoff/the-prototype | 0 | app_display_names = [
"Box"
"Citrix GoToMeeting"
"Concur"
"Docusign"
"Dropbox for Business"
"Dynamics CRM"
"Google Apps"
"Jive"
"Office 365 Exchange Online"
"Office 365 SharePoint Online"
"Salesforce"
"Salesforce Sandbox"
"ServiceNow"
"Workday"
"Azure Management Portal"
"Azure Preview Portal"
]
apps =... | 53729 | app_display_names = [
"Box"
"Citrix GoToMeeting"
"<NAME>"
"Docusign"
"Dropbox for Business"
"Dynamics CRM"
"Google Apps"
"Jive"
"Office 365 Exchange Online"
"Office 365 SharePoint Online"
"Salesforce"
"Salesforce Sandbox"
"ServiceNow"
"Workday"
"Azure Management Portal"
"Azure Preview Portal"
]
apps =... | true | app_display_names = [
"Box"
"Citrix GoToMeeting"
"PI:NAME:<NAME>END_PI"
"Docusign"
"Dropbox for Business"
"Dynamics CRM"
"Google Apps"
"Jive"
"Office 365 Exchange Online"
"Office 365 SharePoint Online"
"Salesforce"
"Salesforce Sandbox"
"ServiceNow"
"Workday"
"Azure Management Portal"
"Azure Preview Port... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nrafdebounce = require '../",
"end": 35,
"score": 0.9997218251228333,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/livequeries/live-query.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
rafdebounce = require '../../editor/raf-debounce'
{Emitter, CompositeDisposable} = require 'atom'
# Private: A live query.
module.exports =
class OutlineLiveQuery
debouncedRun: null
constructor: (@xpathExpression) ->
@emitter = new Emitter()
@deb... | 99770 | # Copyright (c) 2015 <NAME>. All rights reserved.
rafdebounce = require '../../editor/raf-debounce'
{Emitter, CompositeDisposable} = require 'atom'
# Private: A live query.
module.exports =
class OutlineLiveQuery
debouncedRun: null
constructor: (@xpathExpression) ->
@emitter = new Emitter()
@debouncedRu... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
rafdebounce = require '../../editor/raf-debounce'
{Emitter, CompositeDisposable} = require 'atom'
# Private: A live query.
module.exports =
class OutlineLiveQuery
debouncedRun: null
constructor: (@xpathExpression) ->
@emitter = new Emitter()
... |
[
{
"context": "# 'degrees' module example project v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 55,
"score": 0.9998863935470581,
"start": 45,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "example project v1.0\n# by Marc Krenn, Sept. 2015 | m... | degreesExample.framer/app.coffee | marckrenn/framer-degrees | 17 | # 'degrees' module example project v1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
# Include module
degrees = require "degrees"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"
borderRadius:... | 5301 | # 'degrees' module example project v1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
# Include module
degrees = require "degrees"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"
borderRadius: "100%"
# Demo r... | true | # 'degrees' module example project v1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# Include module
degrees = require "degrees"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"
b... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998670220375061,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/subcmd/batch-exec/remove-user.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
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... | 35147 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitati... |
[
{
"context": " process.env.URELEASE_USER_ID\nurelease_password = process.env.URELEASE_PASSWORD\nbotname = process.BOT_NAME || '",
"end": 1669,
"score": 0.7997109889984131,
"start": 1658,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "r list U-release user create',attachm... | scripts/urelease/scripts-slack/urelease.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 98684 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": "req) ->\n req.body = users: [{id: 1, name: 'bob'}, {id: 2, name: 'jim'}]\n req.ok = true\n ",
"end": 1001,
"score": 0.9985435605049133,
"start": 998,
"tag": "NAME",
"value": "bob"
},
{
"context": "dy = users: [{id: 1, name: 'bob'}, {id: 2, name: 'jim'}]\n... | test/store.spec.coffee | PayloadDev/react-at-rest | 48 | superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
_ = require 'lodash'
{Store, Resource} = require '../modules'
describe 'Store', ->
describe '#getPath()', ->
it 'should return the correct API path', ->
store = new Store 'users'... | 153574 | superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
_ = require 'lodash'
{Store, Resource} = require '../modules'
describe 'Store', ->
describe '#getPath()', ->
it 'should return the correct API path', ->
store = new Store 'users'... | true | superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
_ = require 'lodash'
{Store, Resource} = require '../modules'
describe 'Store', ->
describe '#getPath()', ->
it 'should return the correct API path', ->
store = new Store 'users'... |
[
{
"context": "hint', false)\n $('#js-mailcheck-input').val('kana@gnail.com')\n $('#js-mailcheck-input').blur()\n $.f",
"end": 704,
"score": 0.9998995065689087,
"start": 690,
"tag": "EMAIL",
"value": "kana@gnail.com"
},
{
"context": " '',{address: 'kana', domain: 'gmail... | src/desktop/components/mailcheck/test/index.coffee | kanaabe/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
benv = require 'benv'
sinon = require 'sinon'
Mailcheck = require '../index.coffee'
describe 'Mailcheck', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
$.fn.mailcheck = sinon.stub()
$(... | 177336 | _ = require 'underscore'
Backbone = require 'backbone'
benv = require 'benv'
sinon = require 'sinon'
Mailcheck = require '../index.coffee'
describe 'Mailcheck', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
$.fn.mailcheck = sinon.stub()
$(... | true | _ = require 'underscore'
Backbone = require 'backbone'
benv = require 'benv'
sinon = require 'sinon'
Mailcheck = require '../index.coffee'
describe 'Mailcheck', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
$.fn.mailcheck = sinon.stub()
$(... |
[
{
"context": "exports.signup_bob = (T,cb) ->\n await signup T, 'bob', defer()\n cb()\n\nexports.signup_charlie = (T,cb)",
"end": 151,
"score": 0.9961734414100647,
"start": 148,
"tag": "NAME",
"value": "bob"
},
{
"context": "rts.signup_charlie = (T,cb) ->\n await signup T, 'charlie... | test/files/1_bob.iced | substack/keybase-client | 1 |
{User} = require '../lib/user'
log = require '../../lib/log'
keypool = require '../lib/keypool'
exports.signup_bob = (T,cb) ->
await signup T, 'bob', defer()
cb()
exports.signup_charlie = (T,cb) ->
await signup T, 'charlie', defer()
cb()
signup = (T,name,cb) ->
u = User.generate name
T.assert u, "#{name... | 202963 |
{User} = require '../lib/user'
log = require '../../lib/log'
keypool = require '../lib/keypool'
exports.signup_bob = (T,cb) ->
await signup T, '<NAME>', defer()
cb()
exports.signup_charlie = (T,cb) ->
await signup T, '<NAME>', defer()
cb()
signup = (T,name,cb) ->
u = User.generate name
T.assert u, "#{na... | true |
{User} = require '../lib/user'
log = require '../../lib/log'
keypool = require '../lib/keypool'
exports.signup_bob = (T,cb) ->
await signup T, 'PI:NAME:<NAME>END_PI', defer()
cb()
exports.signup_charlie = (T,cb) ->
await signup T, 'PI:NAME:<NAME>END_PI', defer()
cb()
signup = (T,name,cb) ->
u = User.gener... |
[
{
"context": "ized = (methodBody) ->\n memos = {}\n ->\n key = JSON.stringify(arguments)\n if memos.hasOwnProperty(",
"end": 59,
"score": 0.9077836275100708,
"start": 55,
"tag": "KEY",
"value": "JSON"
},
{
"context": " (methodBody) ->\n memos = {}\n ->\n key = JSON.strin... | coffee/app.coffee | bendyworks/restaurant_week | 0 | memoized = (methodBody) ->
memos = {}
->
key = JSON.stringify(arguments)
if memos.hasOwnProperty(key)
memos[key]
else
memos[key] = methodBody.apply(this, arguments)
infoWindow = memoized ->
new google.maps.InfoWindow()
tmpl = memoized ->
doT.template($('#iconTemplate').html())
map = m... | 83340 | memoized = (methodBody) ->
memos = {}
->
key = <KEY>.<KEY>(arguments)
if memos.hasOwnProperty(key)
memos[key]
else
memos[key] = methodBody.apply(this, arguments)
infoWindow = memoized ->
new google.maps.InfoWindow()
tmpl = memoized ->
doT.template($('#iconTemplate').html())
map = memo... | true | memoized = (methodBody) ->
memos = {}
->
key = PI:KEY:<KEY>END_PI.PI:KEY:<KEY>END_PI(arguments)
if memos.hasOwnProperty(key)
memos[key]
else
memos[key] = methodBody.apply(this, arguments)
infoWindow = memoized ->
new google.maps.InfoWindow()
tmpl = memoized ->
doT.template($('#iconTemp... |
[
{
"context": "ess', ->\n expect(s3.dnsCompatibleBucketName('1.2.3.4')).toBe(false)\n expect(s3.dnsCompatibleBucke",
"end": 1999,
"score": 0.9978093504905701,
"start": 1992,
"tag": "IP_ADDRESS",
"value": "1.2.3.4"
},
{
"context": "stname\n params = { Bucket: 'bucket',... | test/unit/services/s3.spec.coffee | explodingbarrel/aws-sdk-js | 1 | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 76596 | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "###\n@Author: Kristinita\n@Date: 2017-01-30 13:33:35\n@Last Modified time:",
"end": 23,
"score": 0.9997712969779968,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
}
] | content/coffee/personal/Kristinita/bowser.coffee | Kristinita/KristinitaPelicanCI | 6 | ###
@Author: Kristinita
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
##########
# Bowser #
##########
# Show different messages for different browsers:
# https://www.npmjs.com/package/bowser
# http://ru.stackoverflow.com/a/611507/199934
# Internet Explorer:
# Rewrite id to class: http://jav... | 109884 | ###
@Author: <NAME>
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
##########
# Bowser #
##########
# Show different messages for different browsers:
# https://www.npmjs.com/package/bowser
# http://ru.stackoverflow.com/a/611507/199934
# Internet Explorer:
# Rewrite id to class: http://javascr... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
##########
# Bowser #
##########
# Show different messages for different browsers:
# https://www.npmjs.com/package/bowser
# http://ru.stackoverflow.com/a/611507/199934
# Internet Explorer:
# Rewrite id to class: ... |
[
{
"context": "# Droplet BASIC mode\n#\n# Copyright (c) Anthony Bau\n# MIT License\n\nparser = require '../parser.coffee",
"end": 50,
"score": 0.999876856803894,
"start": 39,
"tag": "NAME",
"value": "Anthony Bau"
}
] | src/languages/basic.coffee | sanyaade-teachings/spresensedroplet | 145 | # Droplet BASIC mode
#
# Copyright (c) Anthony Bau
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['compoundStatement']
SKIPS = [
'prog',
'gte',
'lte',
]
PARENS = ['func']
SOCKET_TOKENS = ['NUMBER', 'FLOAT', 'STRINGLITERAL', 'LETTERS', 'COMMENT']
COLORS_FORWA... | 170548 | # Droplet BASIC mode
#
# Copyright (c) <NAME>
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['compoundStatement']
SKIPS = [
'prog',
'gte',
'lte',
]
PARENS = ['func']
SOCKET_TOKENS = ['NUMBER', 'FLOAT', 'STRINGLITERAL', 'LETTERS', 'COMMENT']
COLORS_FORWARD = ... | true | # Droplet BASIC mode
#
# Copyright (c) PI:NAME:<NAME>END_PI
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['compoundStatement']
SKIPS = [
'prog',
'gte',
'lte',
]
PARENS = ['func']
SOCKET_TOKENS = ['NUMBER', 'FLOAT', 'STRINGLITERAL', 'LETTERS', 'COMMENT']
COL... |
[
{
"context": "key: 'hugo-param'\npatterns: [\n {\n match: '((\\\\w+)=[\"\\'](([^[\"\\",
"end": 16,
"score": 0.9986427426338196,
"start": 6,
"tag": "KEY",
"value": "hugo-param"
}
] | grammars/repositories/inlines/hugo-param.cson | jeremyf/language-markdown | 0 | key: 'hugo-param'
patterns: [
{
match: '((\\w+)=["\'](([^["\']]+))["\'])'
captures:
1: { name: 'code.hugo.function.parameter' }
2: { name: 'code.hugo.function.parameter.key' }
3: { name: 'code.hugo.function.parameter.value' }
4: { patterns: [
{ include: '#links' }
... | 28354 | key: '<KEY>'
patterns: [
{
match: '((\\w+)=["\'](([^["\']]+))["\'])'
captures:
1: { name: 'code.hugo.function.parameter' }
2: { name: 'code.hugo.function.parameter.key' }
3: { name: 'code.hugo.function.parameter.value' }
4: { patterns: [
{ include: '#links' }
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
match: '((\\w+)=["\'](([^["\']]+))["\'])'
captures:
1: { name: 'code.hugo.function.parameter' }
2: { name: 'code.hugo.function.parameter.key' }
3: { name: 'code.hugo.function.parameter.value' }
4: { patterns: [
{ include: '#links' }
... |
[
{
"context": "ge\"\nqueueName = \"tracer.test.queue\"\nroutingKey = \"performanceTestKey\"\n\nMESSAGES = [\n [\"40B\", new Buffer(JSON.stringify",
"end": 194,
"score": 0.9921426773071289,
"start": 176,
"tag": "KEY",
"value": "performanceTestKey"
}
] | test/perform.coffee | leonchen/node-amqp-tracer | 1 | Tracer = require '../tracer'
amqp = require 'amqplib/callback_api'
async = require 'async'
exchangeName = "tracer.test.exchange"
queueName = "tracer.test.queue"
routingKey = "performanceTestKey"
MESSAGES = [
["40B", new Buffer(JSON.stringify({ id: "testId", text:"this is a message" }))]
["5KB", new Buffer(JSON.stri... | 158512 | Tracer = require '../tracer'
amqp = require 'amqplib/callback_api'
async = require 'async'
exchangeName = "tracer.test.exchange"
queueName = "tracer.test.queue"
routingKey = "<KEY>"
MESSAGES = [
["40B", new Buffer(JSON.stringify({ id: "testId", text:"this is a message" }))]
["5KB", new Buffer(JSON.stringify(require... | true | Tracer = require '../tracer'
amqp = require 'amqplib/callback_api'
async = require 'async'
exchangeName = "tracer.test.exchange"
queueName = "tracer.test.queue"
routingKey = "PI:KEY:<KEY>END_PI"
MESSAGES = [
["40B", new Buffer(JSON.stringify({ id: "testId", text:"this is a message" }))]
["5KB", new Buffer(JSON.stri... |
[
{
"context": "oHost = process.env.OPENSHIFT_MONGODB_DB_HOST || '127.0.0.1'\nmongoPort = process.env.OPENSHIFT_MONGODB_DB_POR",
"end": 468,
"score": 0.997875452041626,
"start": 459,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " : \"Criminal\",\n \"shaper\" : \"Shaper\",... | data/fetch.coffee | erbridge/netrunner | 0 | fs = require('fs')
exec = require('child_process').exec
request = require('request')
mongoskin = require('mongoskin')
mkdirp = require('mkdirp')
path = require('path')
async = require('async')
mongoUser = process.env.OPENSHIFT_MONGODB_DB_USERNAME
mongoPassword = process.env.OPENSHIFT_MONGODB_DB_PASSWORD
login = if pro... | 60375 | fs = require('fs')
exec = require('child_process').exec
request = require('request')
mongoskin = require('mongoskin')
mkdirp = require('mkdirp')
path = require('path')
async = require('async')
mongoUser = process.env.OPENSHIFT_MONGODB_DB_USERNAME
mongoPassword = process.env.OPENSHIFT_MONGODB_DB_PASSWORD
login = if pro... | true | fs = require('fs')
exec = require('child_process').exec
request = require('request')
mongoskin = require('mongoskin')
mkdirp = require('mkdirp')
path = require('path')
async = require('async')
mongoUser = process.env.OPENSHIFT_MONGODB_DB_USERNAME
mongoPassword = process.env.OPENSHIFT_MONGODB_DB_PASSWORD
login = if pro... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998894333839417,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/sales.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale model
###
class Sale extends Model
# initialize model
Sale.init
... | 137127 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale model
###
class Sale extends Model
# initialize model
Sale.init
client:
allowNull... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale model
###
class Sale extends Model
# initialize model
Sa... |
[
{
"context": "5\n\n# [oridomi.com](http://oridomi.com)\n# #### by [Dan Motzenbecker](http://oxism.com)\n\n# Copyright 2014, MIT License",
"end": 118,
"score": 0.9998759031295776,
"start": 102,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | oridomi.coffee | shininghyunho/oriDomi | 663 | # # OriDomi
# ### Fold up the DOM like paper.
# 1.1.5
# [oridomi.com](http://oridomi.com)
# #### by [Dan Motzenbecker](http://oxism.com)
# Copyright 2014, MIT License
libName = 'OriDomi'
# This variable is set to true and negated later if the browser does
# not support OriDomi.
isSupported = true
# Utility Functi... | 175101 | # # OriDomi
# ### Fold up the DOM like paper.
# 1.1.5
# [oridomi.com](http://oridomi.com)
# #### by [<NAME>](http://oxism.com)
# Copyright 2014, MIT License
libName = 'OriDomi'
# This variable is set to true and negated later if the browser does
# not support OriDomi.
isSupported = true
# Utility Functions
# ====... | true | # # OriDomi
# ### Fold up the DOM like paper.
# 1.1.5
# [oridomi.com](http://oridomi.com)
# #### by [PI:NAME:<NAME>END_PI](http://oxism.com)
# Copyright 2014, MIT License
libName = 'OriDomi'
# This variable is set to true and negated later if the browser does
# not support OriDomi.
isSupported = true
# Utility Fu... |
[
{
"context": "NGCENTRAL_EXTENSION\n authOpts =\n username: username\n password: password\n extension: extensi",
"end": 1895,
"score": 0.9818629622459412,
"start": 1887,
"tag": "USERNAME",
"value": "username"
},
{
"context": "uthOpts =\n username: username\n ... | src/client.coffee | ringcentral/hubot-ringcentral-sms | 3 | RingCentral = require 'ringcentral'
async = require 'async'
_ = require 'lodash'
fast_bindall = require 'fast_bindall'
#event_emitter = require 'events'.EventEmitter
https = require 'https'
class RingCentralClient
constructor: (options = {}, robot) ->
@robot = robot
@robot.logger.info "RingCentralClient co... | 190724 | RingCentral = require 'ringcentral'
async = require 'async'
_ = require 'lodash'
fast_bindall = require 'fast_bindall'
#event_emitter = require 'events'.EventEmitter
https = require 'https'
class RingCentralClient
constructor: (options = {}, robot) ->
@robot = robot
@robot.logger.info "RingCentralClient co... | true | RingCentral = require 'ringcentral'
async = require 'async'
_ = require 'lodash'
fast_bindall = require 'fast_bindall'
#event_emitter = require 'events'.EventEmitter
https = require 'https'
class RingCentralClient
constructor: (options = {}, robot) ->
@robot = robot
@robot.logger.info "RingCentralClient co... |
[
{
"context": "wolf\n @num: 2\n constructor: () ->\n @name = \"Werewolf\"\n @messageAtNight = \"nothing.\"\n\n # 夜の間",
"end": 61,
"score": 0.7412758469581604,
"start": 60,
"tag": "NAME",
"value": "W"
},
{
"context": "olf\n @num: 2\n constructor: () ->\n @name = \"Werew... | scripts/werewolf.coffee | mpppk/hubot-onenight-werewolf | 1 | class Werewolf
@num: 2
constructor: () ->
@name = "Werewolf"
@messageAtNight = "nothing."
# 夜の間に行う行動
workAtNight: () ->
# 夜に表示するメッセージ
getMessageAtNight: () ->
@messageAtNight
makeMessageAtNight: (@assignedMemberName, memberManager, messageManager) ->
msg = messageManger.youAre(messageM... | 169242 | class Werewolf
@num: 2
constructor: () ->
@name = "<NAME>erewolf"
@messageAtNight = "nothing."
# 夜の間に行う行動
workAtNight: () ->
# 夜に表示するメッセージ
getMessageAtNight: () ->
@messageAtNight
makeMessageAtNight: (@assignedMemberName, memberManager, messageManager) ->
msg = messageManger.youAre(mes... | true | class Werewolf
@num: 2
constructor: () ->
@name = "PI:NAME:<NAME>END_PIerewolf"
@messageAtNight = "nothing."
# 夜の間に行う行動
workAtNight: () ->
# 夜に表示するメッセージ
getMessageAtNight: () ->
@messageAtNight
makeMessageAtNight: (@assignedMemberName, memberManager, messageManager) ->
msg = messageMan... |
[
{
"context": "target.nodeName is 'INPUT'\n if evt.key is '1' or evt.keyIdentifier is 'U+0031'\n @se",
"end": 12672,
"score": 0.7563216090202332,
"start": 12671,
"tag": "KEY",
"value": "1"
},
{
"context": " if evt.key is '1' or evt.keyIdentifier is 'U+0031'\n ... | cjsx/color.cjsx | ChengCat/lovecat | 0 | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
TablePage = require('./table')
Color = require('color')
webgl = require('./webgl')
mono_font = '"Liberation Mono", "Nimbus Mono L", "FreeMono", "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Andale Mono",... | 91238 | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
TablePage = require('./table')
Color = require('color')
webgl = require('./webgl')
mono_font = '"Liberation Mono", "Nimbus Mono L", "FreeMono", "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Andale Mono",... | true | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
TablePage = require('./table')
Color = require('color')
webgl = require('./webgl')
mono_font = '"Liberation Mono", "Nimbus Mono L", "FreeMono", "DejaVu Mono", "Bitstream Vera Mono", "Lucida Console", "Andale Mono",... |
[
{
"context": "###*\n# @copyright Copyright (c) 2016 andy\n# All rights reserved.\n# @name Soun",
"end": 41,
"score": 0.9977043867111206,
"start": 37,
"tag": "NAME",
"value": "andy"
},
{
"context": "\n# @company none\n# @licence MIT licence.\n# @author andy andy.augustin... | lib/coffee/test/features/step_definitions/SoundexGherkinTest.coffee | AndreasAugustin/Gherkin-Demos-coffee | 0 | ###*
# @copyright Copyright (c) 2016 andy
# All rights reserved.
# @name SoundexGherkinTest
# @company none
# @licence MIT licence.
# @author andy andy.augustin@t-online.de
###
Soundex = require('./../../../Soundex.js')
assert = require('assert')
if !module?
module = {}
module.exports = () ->
"use ... | 122247 | ###*
# @copyright Copyright (c) 2016 <NAME>
# All rights reserved.
# @name SoundexGherkinTest
# @company none
# @licence MIT licence.
# @author <NAME> <EMAIL>
###
Soundex = require('./../../../Soundex.js')
assert = require('assert')
if !module?
module = {}
module.exports = () ->
"use strict"
@.Gi... | true | ###*
# @copyright Copyright (c) 2016 PI:NAME:<NAME>END_PI
# All rights reserved.
# @name SoundexGherkinTest
# @company none
# @licence MIT licence.
# @author PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI
###
Soundex = require('./../../../Soundex.js')
assert = require('assert')
if !module?
module = {}
m... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.7030283808708191,
"start": 22,
"tag": "NAME",
"value": "in.io"
}
] | packages/resin-settings-client/lib/utils.coffee | resin-io-playground/resin-sdk-lerna | 0 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 103758 | ###
Copyright 2016 Res<NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2016 ResPI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
[
{
"context": "# Copyright 2016 Clement Bramy\n#\n# Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998615980148315,
"start": 17,
"tag": "NAME",
"value": "Clement Bramy"
},
{
"context": "+mozpreproc\",\n \"cuda\": \"CUDA\",\n \"ceylon\": \"Ceylon\",\n \... | lib/publishers/bpaste.coffee | cbramy/snippy | 0 | # Copyright 2016 Clement Bramy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 29232 | # Copyright 2016 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
... | true | # Copyright 2016 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... |
[
{
"context": "key: 'markdown-extra'\npatterns: [\n\n # NOTE by @burodepeper\n # F",
"end": 14,
"score": 0.7348546385765076,
"start": 14,
"tag": "KEY",
"value": ""
},
{
"context": "key: 'markdown-extra'\npatterns: [\n\n # NOTE by @burodepeper\n # Footnotes are implemented as part ... | grammars/repositories/flavors/markdown-extra.cson | doc22940/language-markdown | 138 | key: 'markdown-extra'
patterns: [
# NOTE by @burodepeper
# Footnotes are implemented as part of /inlines/links.cson
# NOTE by @burodepeper
# 'Special attributes' are implemented in /flavors/markdown-extra-special-attributes.cson
# Definition-list-items
# ---------------------
# : letters and stuff
{
... | 210084 | key: 'markdown<KEY>-extra'
patterns: [
# NOTE by @burodepeper
# Footnotes are implemented as part of /inlines/links.cson
# NOTE by @burodepeper
# 'Special attributes' are implemented in /flavors/markdown-extra-special-attributes.cson
# Definition-list-items
# ---------------------
# : letters and stuff... | true | key: 'markdownPI:KEY:<KEY>END_PI-extra'
patterns: [
# NOTE by @burodepeper
# Footnotes are implemented as part of /inlines/links.cson
# NOTE by @burodepeper
# 'Special attributes' are implemented in /flavors/markdown-extra-special-attributes.cson
# Definition-list-items
# ---------------------
# : lett... |
[
{
"context": "gs\nconfig.bbb or= {}\nconfig.bbb.sharedSecret or= \"33e06642a13942004fd83b3ba6e4104a\"\nconfig.bbb.apiPath or= \"/bigbluebutton/api\"\n\n# W",
"end": 193,
"score": 0.9993336200714111,
"start": 161,
"tag": "KEY",
"value": "33e06642a13942004fd83b3ba6e4104a"
},
{
"context... | bbb-webhooks/config.coffee | thong-hoczita/bigbluebutton | 0 | # Global configuration file
# load the local configs
config = require("./config_local")
# BigBlueButton configs
config.bbb or= {}
config.bbb.sharedSecret or= "33e06642a13942004fd83b3ba6e4104a"
config.bbb.apiPath or= "/bigbluebutton/api"
# Web server configs
config.server or= {}
config.server.port or= 3005
# Web hoo... | 182093 | # Global configuration file
# load the local configs
config = require("./config_local")
# BigBlueButton configs
config.bbb or= {}
config.bbb.sharedSecret or= "<KEY>"
config.bbb.apiPath or= "/bigbluebutton/api"
# Web server configs
config.server or= {}
config.server.port or= 3005
# Web hooks configs
config.hooks or=... | true | # Global configuration file
# load the local configs
config = require("./config_local")
# BigBlueButton configs
config.bbb or= {}
config.bbb.sharedSecret or= "PI:KEY:<KEY>END_PI"
config.bbb.apiPath or= "/bigbluebutton/api"
# Web server configs
config.server or= {}
config.server.port or= 3005
# Web hooks configs
con... |
[
{
"context": "lad, dateOfRoshHashana, dehiyot) ->\n QUnit.test \"Rosh Hashana #{hebrewYear}\", (assert) ->\n actual = new Rosh",
"end": 110,
"score": 0.9986106157302856,
"start": 98,
"tag": "NAME",
"value": "Rosh Hashana"
},
{
"context": "+ 724), new Date(2016,9,1), new Date(2016... | qunit/roshHashanaTest.coffee | betesh/hebrewDate.js | 0 | assertRoshHashana = (hebrewYear, molad, dateOfMolad, dateOfRoshHashana, dehiyot) ->
QUnit.test "Rosh Hashana #{hebrewYear}", (assert) ->
actual = new RoshHashana(hebrewYear)
assert.deepEqual actual.getMolad(), molad
assert.deepEqual actual.getGregorianDateOfMolad(), dateOfMolad
assert.deepEqual actual... | 4632 | assertRoshHashana = (hebrewYear, molad, dateOfMolad, dateOfRoshHashana, dehiyot) ->
QUnit.test "<NAME> #{hebrewYear}", (assert) ->
actual = new RoshHashana(hebrewYear)
assert.deepEqual actual.getMolad(), molad
assert.deepEqual actual.getGregorianDateOfMolad(), dateOfMolad
assert.deepEqual actual.getGr... | true | assertRoshHashana = (hebrewYear, molad, dateOfMolad, dateOfRoshHashana, dehiyot) ->
QUnit.test "PI:NAME:<NAME>END_PI #{hebrewYear}", (assert) ->
actual = new RoshHashana(hebrewYear)
assert.deepEqual actual.getMolad(), molad
assert.deepEqual actual.getGregorianDateOfMolad(), dateOfMolad
assert.deepEqua... |
[
{
"context": "rtificateFile, process.env.WIN_P12KEY_PASSWORD ? 'password')\n else\n callback(path.resolve(__dirname,",
"end": 3402,
"score": 0.9887402653694153,
"start": 3394,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "SignKey.p12'), process.env.WIN_P12KEY_PASSWO... | build/tasks/codesign-task.coffee | helber/atom | 2 | path = require 'path'
fs = require 'fs'
request = require 'request'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
# macOS code signing
grunt.registerTask 'codesign:app', 'CodeSign Atom.app', ->
done = @async()
unlockKeychain (error) ->
return done(error) if error?
... | 7223 | path = require 'path'
fs = require 'fs'
request = require 'request'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
# macOS code signing
grunt.registerTask 'codesign:app', 'CodeSign Atom.app', ->
done = @async()
unlockKeychain (error) ->
return done(error) if error?
... | true | path = require 'path'
fs = require 'fs'
request = require 'request'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
# macOS code signing
grunt.registerTask 'codesign:app', 'CodeSign Atom.app', ->
done = @async()
unlockKeychain (error) ->
return done(error) if error?
... |
[
{
"context": "selectedServer.alias,\n authkey: password\n\n if not selectedServer.connected\n",
"end": 2080,
"score": 0.9553378820419312,
"start": 2072,
"tag": "PASSWORD",
"value": "password"
}
] | lib/connection.coffee | rikard2/pg-hoff | 0 | Promise = require('promise')
PgHoffDialog = require('./dialog')
PgHoffServerRequest = require './server-request'
{maybeStartServer, killHoffServer} = require './util'
{CompositeDisposable, Disposable} = require 'atom'
class PgHoffConnection
fulfil: null
reject: null
constructor: (serializedState)... | 187324 | Promise = require('promise')
PgHoffDialog = require('./dialog')
PgHoffServerRequest = require './server-request'
{maybeStartServer, killHoffServer} = require './util'
{CompositeDisposable, Disposable} = require 'atom'
class PgHoffConnection
fulfil: null
reject: null
constructor: (serializedState)... | true | Promise = require('promise')
PgHoffDialog = require('./dialog')
PgHoffServerRequest = require './server-request'
{maybeStartServer, killHoffServer} = require './util'
{CompositeDisposable, Disposable} = require 'atom'
class PgHoffConnection
fulfil: null
reject: null
constructor: (serializedState)... |
[
{
"context": "#\n# Colorifier main file\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 65,
"score": 0.9998816847801208,
"start": 48,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | main.coffee | MadRabbit/colorifier | 1 | #
# Colorifier main file
#
# Copyright (C) 2011 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# a quick re-escape
escape = (str)->
str.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g, '\... | 20939 | #
# Colorifier main file
#
# Copyright (C) 2011 <NAME>
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# a quick re-escape
escape = (str)->
str.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g, '\\$1')
# gl... | true | #
# Colorifier main file
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
$ = require('dom')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# a quick re-escape
escape = (str)->
str.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g,... |
[
{
"context": "etrics = [\n {f: myFunc, as: 'hello', field: 'hello'}\n ]\n\n functions.expandMetrics(metrics, und",
"end": 2699,
"score": 0.5292489528656006,
"start": 2694,
"tag": "NAME",
"value": "hello"
}
] | test/functionsTest.coffee | lmaccherone/analize | 2 | {functions} = require('../')
exports.functionsTest =
testExpandMetrics: (test) ->
# console.log('***')
# console.log(functions.expandMetrics.toString())
# functions.junk = 'junk'
# console.log('***')
metrics = [
{f: 'average', field: 'a'},
{f: 'variance', field: 'b'}
{f: 'standar... | 207122 | {functions} = require('../')
exports.functionsTest =
testExpandMetrics: (test) ->
# console.log('***')
# console.log(functions.expandMetrics.toString())
# functions.junk = 'junk'
# console.log('***')
metrics = [
{f: 'average', field: 'a'},
{f: 'variance', field: 'b'}
{f: 'standar... | true | {functions} = require('../')
exports.functionsTest =
testExpandMetrics: (test) ->
# console.log('***')
# console.log(functions.expandMetrics.toString())
# functions.junk = 'junk'
# console.log('***')
metrics = [
{f: 'average', field: 'a'},
{f: 'variance', field: 'b'}
{f: 'standar... |
[
{
"context": " - Display motivation awesome gifs\n#\n# Author:\n# Chris Jimenez @chrisjimeneznat\n\nawesomeimages = [\n \"https://i.",
"end": 234,
"score": 0.9998581409454346,
"start": 221,
"tag": "NAME",
"value": "Chris Jimenez"
},
{
"context": "ivation awesome gifs\n#\n# Author:... | src/awesomereaction.coffee | PiXeL16/hubot-reactions | 2 | # Description:
# Shows awesome gifs when hubot hears words like awesome, cool, rocks, etc
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# awesome - Display motivation awesome gifs
#
# Author:
# Chris Jimenez @chrisjimeneznat
awesomeimages = [
"https://i.imgur.com/Mlpfb.gif",
"https://i.i... | 41363 | # Description:
# Shows awesome gifs when hubot hears words like awesome, cool, rocks, etc
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# awesome - Display motivation awesome gifs
#
# Author:
# <NAME> @chrisjimeneznat
awesomeimages = [
"https://i.imgur.com/Mlpfb.gif",
"https://i.imgur.co... | true | # Description:
# Shows awesome gifs when hubot hears words like awesome, cool, rocks, etc
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# awesome - Display motivation awesome gifs
#
# Author:
# PI:NAME:<NAME>END_PI @chrisjimeneznat
awesomeimages = [
"https://i.imgur.com/Mlpfb.gif",
"http... |
[
{
"context": "rtkey: ['uid', @mailbox.id]\n endkey: ['uid', @mailbox.id, {}]\n reduce: true\n ",
"end": 5956,
"score": 0.6348578333854675,
"start": 5953,
"tag": "KEY",
"value": "uid"
}
] | server/processes/mailbox_refresh_fast.coffee | gelnior/cozy-emails | 0 | Process = require './_base'
async = require 'async'
Message = require '../models/message'
_ = require 'lodash'
log = require('../utils/logging')(prefix: 'process:box_refresh_fast')
# This process refreshes mails in this box using rfc4551. This is similar to
# {MailboxRefreshDeep} but faster if the server supports RFC4... | 179263 | Process = require './_base'
async = require 'async'
Message = require '../models/message'
_ = require 'lodash'
log = require('../utils/logging')(prefix: 'process:box_refresh_fast')
# This process refreshes mails in this box using rfc4551. This is similar to
# {MailboxRefreshDeep} but faster if the server supports RFC4... | true | Process = require './_base'
async = require 'async'
Message = require '../models/message'
_ = require 'lodash'
log = require('../utils/logging')(prefix: 'process:box_refresh_fast')
# This process refreshes mails in this box using rfc4551. This is similar to
# {MailboxRefreshDeep} but faster if the server supports RFC4... |
[
{
"context": "e+\".\")\n\t\t\treturn\n\t\t\n\t\tupdates =\n\t\t\t$set:\n\t\t\t\tname: name\n\t\t\t\tisHelper: isHelper\n\t\t\n\t\tSellers.update(templa",
"end": 473,
"score": 0.8306945562362671,
"start": 469,
"tag": "NAME",
"value": "name"
}
] | client/modals/editSeller.coffee | PeppeL-G/loppis | 0 | templateName = 'modal_editSeller'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
number = template.data.getNumber()
name = template.find('.name').value.trim()
isHelper = template.find('#isHelper').value == 'yes'
# Validate.
if Sellers.findOne({number: {... | 167853 | templateName = 'modal_editSeller'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
number = template.data.getNumber()
name = template.find('.name').value.trim()
isHelper = template.find('#isHelper').value == 'yes'
# Validate.
if Sellers.findOne({number: {... | true | templateName = 'modal_editSeller'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
number = template.data.getNumber()
name = template.find('.name').value.trim()
isHelper = template.find('#isHelper').value == 'yes'
# Validate.
if Sellers.findOne({number: {... |
[
{
"context": "ognise email\", ->\n ok eve.validator.isEmail(\"test@mail.com\")\n ok eve.validator.isEmail(\"test.pub@mail.c",
"end": 1262,
"score": 0.9999091029167175,
"start": 1249,
"tag": "EMAIL",
"value": "test@mail.com"
},
{
"context": "(\"test@mail.com\")\n ok eve... | test/validator.test.coffee | zzdhidden/EVE | 4 | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
describe "validator", ->
describe "version", ->
it "should have version", ->
ok eve.version
describe "type", ->
it "should recognise array", ->
ok eve.validator.isArray([])
... | 206551 | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
describe "validator", ->
describe "version", ->
it "should have version", ->
ok eve.version
describe "type", ->
it "should recognise array", ->
ok eve.validator.isArray([])
... | true | {assert, ok, fail, equal, notEqual, deepEqual, notDeepEqual, strictEqual, notStrictEqual, eve} = require "./helper"
describe "validator", ->
describe "version", ->
it "should have version", ->
ok eve.version
describe "type", ->
it "should recognise array", ->
ok eve.validator.isArray([])
... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.999845027923584,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/core/node_paths.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 65956 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "th: toPath 'root', 'path1'})\n expectedKey = {myKeyName: 12345}\n @db.isExistsSync expectedKey\n ",
"end": 4937,
"score": 0.675576388835907,
"start": 4928,
"tag": "KEY",
"value": "myKeyName"
},
{
"context": "'root', 'path1'})\n expectedKey = {myKeyNa... | test/nosql-subkey-test.coffee | marwahaha/node-nosql-subkey | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... | 130161 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... |
[
{
"context": "xports.init = (T,cb) ->\n await User.load_or_gen 'alice', defer u, is_new\n if is_new\n log.info \"Alice",
"end": 145,
"score": 0.6491328477859497,
"start": 140,
"tag": "NAME",
"value": "alice"
},
{
"context": "alice', defer u, is_new\n if is_new\n log.info \"A... | test/files/0_alice.iced | AngelKey/Angelkey.nodeclient | 151 |
{User} = require '../lib/user'
user = null
found = false
log = require '../../lib/log'
exports.init = (T,cb) ->
await User.load_or_gen 'alice', defer u, is_new
if is_new
log.info "Alice wasn't found!"
else
log.info "Found 'alice', won't try to remake her"
user = u
found = not is_new
cb()
exports.... | 177669 |
{User} = require '../lib/user'
user = null
found = false
log = require '../../lib/log'
exports.init = (T,cb) ->
await User.load_or_gen '<NAME>', defer u, is_new
if is_new
log.info "<NAME> wasn't found!"
else
log.info "Found '<NAME>', won't try to remake her"
user = u
found = not is_new
cb()
expor... | true |
{User} = require '../lib/user'
user = null
found = false
log = require '../../lib/log'
exports.init = (T,cb) ->
await User.load_or_gen 'PI:NAME:<NAME>END_PI', defer u, is_new
if is_new
log.info "PI:NAME:<NAME>END_PI wasn't found!"
else
log.info "Found 'PI:NAME:<NAME>END_PI', won't try to remake her"
u... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998955249786377,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-set-encoding.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 104288 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "st\")\n .parent()\n .command(\"login\", \"brian@foo.com\").then ($input) ->\n expect($input.get(0)",
"end": 3145,
"score": 0.9999027252197266,
"start": 3132,
"tag": "EMAIL",
"value": "brian@foo.com"
}
] | packages/driver/test/cypress/integration/cypress/cy_spec.coffee | Bkucera/cypress | 0 | $ = Cypress.$.bind(Cypress)
_ = Cypress._
describe "driver/src/cypress/cy", ->
before ->
cy
.visit("/fixtures/dom.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
doc = cy.state("document")
$(doc.body).empty().html(@body)
context "hard deprecated private ... | 161889 | $ = Cypress.$.bind(Cypress)
_ = Cypress._
describe "driver/src/cypress/cy", ->
before ->
cy
.visit("/fixtures/dom.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
doc = cy.state("document")
$(doc.body).empty().html(@body)
context "hard deprecated private ... | true | $ = Cypress.$.bind(Cypress)
_ = Cypress._
describe "driver/src/cypress/cy", ->
before ->
cy
.visit("/fixtures/dom.html")
.then (win) ->
@body = win.document.body.outerHTML
beforeEach ->
doc = cy.state("document")
$(doc.body).empty().html(@body)
context "hard deprecated private ... |
[
{
"context": "d a new comment for the <code>fix</code>(<code>1df6f2819b212a9cc9ece1ddf238bbc5e9cdb956</code>) <a href=\"https://gitcafe.com/destec/test/",
"end": 1107,
"score": 0.8225947022438049,
"start": 1070,
"tag": "KEY",
"value": "6f2819b212a9cc9ece1ddf238bbc5e9cdb956"
},
{
"con... | test/services/gitcafe.coffee | jianliaoim/talk-services | 40 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$gitcafe = loader.load 'gitcafe'
payloads = requireDir './gitcafe_assets'
describe 'GitCafe#Webhook', ->
req.integration =
_id: 'xxx'
_teamId: '123'
_roomId: '456'
it 'receive ... | 149939 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$gitcafe = loader.load 'gitcafe'
payloads = requireDir './gitcafe_assets'
describe 'GitCafe#Webhook', ->
req.integration =
_id: 'xxx'
_teamId: '123'
_roomId: '456'
it 'receive ... | true | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$gitcafe = loader.load 'gitcafe'
payloads = requireDir './gitcafe_assets'
describe 'GitCafe#Webhook', ->
req.integration =
_id: 'xxx'
_teamId: '123'
_roomId: '456'
it 'receive ... |
[
{
"context": ": \"give\",\n \"uaa-client-secret\": \"you\",\n \"uaa-domain\": \"up\",\n ",
"end": 870,
"score": 0.9046366214752197,
"start": 867,
"tag": "PASSWORD",
"value": "you"
},
{
"context": "api\",\n \"default-email-dom... | gulpfile.coffee | MonsantoCo/cf-users | 14 | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
env = require 'gulp-env'
sourcemaps = require 'gulp-sourcemaps'
supervisor = require 'gulp-supervisor'
gulp.task 'coffee', ->
gulp.src './ui/**/*.coffee'
.pipe sourcemaps.init()
.pipe coffee bare: true
.pipe sourcemaps.write()
.p... | 225459 | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
env = require 'gulp-env'
sourcemaps = require 'gulp-sourcemaps'
supervisor = require 'gulp-supervisor'
gulp.task 'coffee', ->
gulp.src './ui/**/*.coffee'
.pipe sourcemaps.init()
.pipe coffee bare: true
.pipe sourcemaps.write()
.p... | true | gulp = require 'gulp'
coffee = require 'gulp-coffee'
less = require 'gulp-less'
env = require 'gulp-env'
sourcemaps = require 'gulp-sourcemaps'
supervisor = require 'gulp-supervisor'
gulp.task 'coffee', ->
gulp.src './ui/**/*.coffee'
.pipe sourcemaps.init()
.pipe coffee bare: true
.pipe sourcemaps.write()
.p... |
[
{
"context": "e('gapi')\n .value 'GoogleApp', \n apiKey: '1234'\n clientId: 'abcd' \n \n\n beforeEach modul",
"end": 251,
"score": 0.9985648393630981,
"start": 247,
"tag": "KEY",
"value": "1234"
},
{
"context": "oogleApp', \n apiKey: '1234'\n clientId: 'abc... | public/libs/ngGAPI/test/spec/GAPISpec.coffee | Evezown/evezown_production | 94 | describe 'GAPI', ->
{
GAPI,Service,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
before... | 122643 | describe 'GAPI', ->
{
GAPI,Service,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: '<KEY>'
beforeEach module 'gapi'
befo... | true | describe 'GAPI', ->
{
GAPI,Service,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'PI:KEY:<KEY>END_PI'
beforeE... |
[
{
"context": "ow.Shop = Shop\n\n settings =\n # test\n key: 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjQ1MDM2MTcwNzU2NzUxNzYsImp0aSI6IlJiVnlrOUUtdEhrIiwic3ViIjoiRXFUR294cDV1MyJ9.y6ydj8Sq2ME1-9itCCQaku2b6ta0yjuNfdD7_qC7-caa095ZHBjZ8c_ugMJiRrOr6z3z5RK1G0p7mt23tZMN6A'\n # key: 'eyJhbGciOiJIUzUxMiIsI... | src/js/shop.coffee | hanzoai/getshopjs.com | 2 | import Shop from 'shop.js/src'
import store from 'akasha'
m
export initShop = ->
window.Shop = Shop
settings =
# test
key: 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjQ1MDM2MTcwNzU2NzUxNzYsImp0aSI6IlJiVnlrOUUtdEhrIiwic3ViIjoiRXFUR294cDV1MyJ9.y6ydj8Sq2ME1-9itCCQaku2b6ta0yjuNfdD7_qC7-caa095ZHBjZ8c_ugMJ... | 105685 | import Shop from 'shop.js/src'
import store from 'akasha'
m
export initShop = ->
window.Shop = Shop
settings =
# test
key: '<KEY>'
# key: '<KEY>'
m = window.m = Shop.start(settings)
window.client = Shop.client
return Shop
export getMediator = ->
return m
| true | import Shop from 'shop.js/src'
import store from 'akasha'
m
export initShop = ->
window.Shop = Shop
settings =
# test
key: 'PI:KEY:<KEY>END_PI'
# key: 'PI:KEY:<KEY>END_PI'
m = window.m = Shop.start(settings)
window.client = Shop.client
return Shop
export getMediator = ->
return m
|
[
{
"context": " between c1 and c2.\n #\n # @example\n # str = \"hello world\"\n # _s.count(str, \"lo\") // => 5\n # ",
"end": 4666,
"score": 0.6254135966300964,
"start": 4655,
"tag": "NAME",
"value": "hello world"
},
{
"context": "ntry per group.\n #\n # @example\... | lib/base/str.coffee | hasclass/core-lib | 1 | class StringMethods
# @return [Boolean]
equals: (str, other) ->
str = str.valueOf() if typeof str is 'object'
other = other.valueOf() if typeof other is 'object'
str is other
# Converts str to camelCase.
#
# @example
# _s.camelCase('foo-bar') // => ('fooBar')
# _s.camelCase('f... | 34565 | class StringMethods
# @return [Boolean]
equals: (str, other) ->
str = str.valueOf() if typeof str is 'object'
other = other.valueOf() if typeof other is 'object'
str is other
# Converts str to camelCase.
#
# @example
# _s.camelCase('foo-bar') // => ('fooBar')
# _s.camelCase('f... | true | class StringMethods
# @return [Boolean]
equals: (str, other) ->
str = str.valueOf() if typeof str is 'object'
other = other.valueOf() if typeof other is 'object'
str is other
# Converts str to camelCase.
#
# @example
# _s.camelCase('foo-bar') // => ('fooBar')
# _s.camelCase('f... |
[
{
"context": "key, item, memo) ->\n if prefix?\n key = [prefix, key].join(separator)\n if item?.is_a(Object)\n item.flatten(",
"end": 1294,
"score": 0.960005521774292,
"start": 1265,
"tag": "KEY",
"value": "[prefix, key].join(separator)"
}
] | ext_coffee/app/assets/javascripts/ext_coffee/core/z/object.coffee | patleb/ext_plugins | 0 | Object.define_methods
is_a: (klass) ->
_.isPlainObject(klass::)
blank: ->
_.isEmpty(this)
present: ->
!this.blank()
presence: ->
this unless this.blank()
empty: ->
_.isEmpty(this)
has_key: (key) ->
_.hasIn(this, key)
delete: (key) ->
value = this[key]
delete this[key]... | 111707 | Object.define_methods
is_a: (klass) ->
_.isPlainObject(klass::)
blank: ->
_.isEmpty(this)
present: ->
!this.blank()
presence: ->
this unless this.blank()
empty: ->
_.isEmpty(this)
has_key: (key) ->
_.hasIn(this, key)
delete: (key) ->
value = this[key]
delete this[key]... | true | Object.define_methods
is_a: (klass) ->
_.isPlainObject(klass::)
blank: ->
_.isEmpty(this)
present: ->
!this.blank()
presence: ->
this unless this.blank()
empty: ->
_.isEmpty(this)
has_key: (key) ->
_.hasIn(this, key)
delete: (key) ->
value = this[key]
delete this[key]... |
[
{
"context": "###\n# Essential.js 1.1.20\n# @author Cedric Ruiz\n# @license MIT\n# https://github.com/elclanrs/esse",
"end": 47,
"score": 0.9998471140861511,
"start": 36,
"tag": "NAME",
"value": "Cedric Ruiz"
},
{
"context": "r Cedric Ruiz\n# @license MIT\n# https://github.com/elclan... | _includes/coffee/essential.coffee | wd15/chimad-phase-field | 0 | ###
# Essential.js 1.1.20
# @author Cedric Ruiz
# @license MIT
# https://github.com/elclanrs/essential.js/
###
# Core
#
# coffeelint: disable=no_implicit_parens
# coffeelint: disable=space_operators
# coffeelint: disable=no_plusplus
# coffeelint: disable=spacing_after_comma
_ = {}
id = (x) -> x
K = (x) -> -> x
builti... | 214676 | ###
# Essential.js 1.1.20
# @author <NAME>
# @license MIT
# https://github.com/elclanrs/essential.js/
###
# Core
#
# coffeelint: disable=no_implicit_parens
# coffeelint: disable=space_operators
# coffeelint: disable=no_plusplus
# coffeelint: disable=spacing_after_comma
_ = {}
id = (x) -> x
K = (x) -> -> x
builtin = i... | true | ###
# Essential.js 1.1.20
# @author PI:NAME:<NAME>END_PI
# @license MIT
# https://github.com/elclanrs/essential.js/
###
# Core
#
# coffeelint: disable=no_implicit_parens
# coffeelint: disable=space_operators
# coffeelint: disable=no_plusplus
# coffeelint: disable=spacing_after_comma
_ = {}
id = (x) -> x
K = (x) -> ->... |
[
{
"context": " <div>\n <p>The <a href=\"https://github.com/szabyg/lime\" target=\"_blank\">ConnectME LIME player</a> w",
"end": 1933,
"score": 0.972895622253418,
"start": 1927,
"tag": "USERNAME",
"value": "szabyg"
},
{
"context": "get=\"_blank\">Seekda GmbH</a>.\n Develop... | src/plugins/credits.coffee | tkurz/lime | 1 | class window.CreditsPlugin extends window.LimePlugin
init: ->
@name = 'Credits'
annotation = undefined
console.info "Initialize Credits"
# insert widget click function
$("div .help").click => #click behaviour - highlight the related widgets by adding a class to them
if @lime.options.pauseOn... | 26088 | class window.CreditsPlugin extends window.LimePlugin
init: ->
@name = 'Credits'
annotation = undefined
console.info "Initialize Credits"
# insert widget click function
$("div .help").click => #click behaviour - highlight the related widgets by adding a class to them
if @lime.options.pauseOn... | true | class window.CreditsPlugin extends window.LimePlugin
init: ->
@name = 'Credits'
annotation = undefined
console.info "Initialize Credits"
# insert widget click function
$("div .help").click => #click behaviour - highlight the related widgets by adding a class to them
if @lime.options.pauseOn... |
[
{
"context": "rCollider/examples/pieces/DrummerSynthDef.scd\n\n# (thor magnusson) (2006)\n\n# An instrumentalist inside a synthdef.\n",
"end": 78,
"score": 0.9933688640594482,
"start": 64,
"tag": "NAME",
"value": "thor magnusson"
}
] | examples/drummer.coffee | mohayonao/CoffeeCollider | 112 | # origin: SuperCollider/examples/pieces/DrummerSynthDef.scd
# (thor magnusson) (2006)
# An instrumentalist inside a synthdef.
drummer = SynthDef (out=0, tempo=4)->
tempo = Impulse.ar(tempo); # for a drunk drummer replace Impulse with Dust !!!
snare = WhiteNoise.ar(Decay2.ar(PulseDivider.ar(tempo, 4, 2), 0.005... | 170309 | # origin: SuperCollider/examples/pieces/DrummerSynthDef.scd
# (<NAME>) (2006)
# An instrumentalist inside a synthdef.
drummer = SynthDef (out=0, tempo=4)->
tempo = Impulse.ar(tempo); # for a drunk drummer replace Impulse with Dust !!!
snare = WhiteNoise.ar(Decay2.ar(PulseDivider.ar(tempo, 4, 2), 0.005, 0.5))
... | true | # origin: SuperCollider/examples/pieces/DrummerSynthDef.scd
# (PI:NAME:<NAME>END_PI) (2006)
# An instrumentalist inside a synthdef.
drummer = SynthDef (out=0, tempo=4)->
tempo = Impulse.ar(tempo); # for a drunk drummer replace Impulse with Dust !!!
snare = WhiteNoise.ar(Decay2.ar(PulseDivider.ar(tempo, 4, 2),... |
[
{
"context": "/neocotic.com/UndoWikipediaBlackout) \r\n# (c) 2012 Alasdair Mercer \r\n# Freely distributable under the MIT license. ",
"end": 100,
"score": 0.9998828768730164,
"start": 85,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/lib/install.coffee | neocotic/UndoWikipediaBlackout | 1 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 Alasdair Mercer
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request for ... | 59565 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 <NAME>
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request for Undo Wiki... | true | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request... |
[
{
"context": "The spinner uint tests\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\ndescribe \"UI",
"end": 72,
"score": 0.9998865127563477,
"start": 55,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/core/test/spinner_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The spinner uint tests
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
describe "UI.Spinner", ->
Spinner = spinner = document = null
before Test.load (UI, window)->
Spinner = UI.Spinner
spinner = new Spinner()
document = window.document
it "should build a Sp... | 37408 | #
# The spinner uint tests
#
# Copyright (C) 2012-2013 <NAME>
#
{Test,should} = require('lovely')
describe "UI.Spinner", ->
Spinner = spinner = document = null
before Test.load (UI, window)->
Spinner = UI.Spinner
spinner = new Spinner()
document = window.document
it "should build a Spinner insta... | true | #
# The spinner uint tests
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
describe "UI.Spinner", ->
Spinner = spinner = document = null
before Test.load (UI, window)->
Spinner = UI.Spinner
spinner = new Spinner()
document = window.document
it "should build a... |
[
{
"context": "n\n crud.saveMe = saveMe\n crud.testPassword = testPassword\n crud.isUsernameAvailable = isUsernameAvailabl",
"end": 1836,
"score": 0.995421826839447,
"start": 1824,
"tag": "PASSWORD",
"value": "testPassword"
}
] | client/services/user.coffee | valueflowquality/gi-security-update | 0 | angular.module('gi.security').provider 'giUser', () ->
passwordRequirements = null
@setPasswordRequirements = (reqs) ->
passwordRequirements = reqs
@$get = ['$q', '$http', 'Auth', 'giCrud', 'giLog'
, ($q, $http, Auth, Crud, Log) ->
crud = Crud.factory 'users'
testPassword = (pwd) ->
if pass... | 203610 | angular.module('gi.security').provider 'giUser', () ->
passwordRequirements = null
@setPasswordRequirements = (reqs) ->
passwordRequirements = reqs
@$get = ['$q', '$http', 'Auth', 'giCrud', 'giLog'
, ($q, $http, Auth, Crud, Log) ->
crud = Crud.factory 'users'
testPassword = (pwd) ->
if pass... | true | angular.module('gi.security').provider 'giUser', () ->
passwordRequirements = null
@setPasswordRequirements = (reqs) ->
passwordRequirements = reqs
@$get = ['$q', '$http', 'Auth', 'giCrud', 'giLog'
, ($q, $http, Auth, Crud, Log) ->
crud = Crud.factory 'users'
testPassword = (pwd) ->
if pass... |
[
{
"context": "Y = require('./keyframes').ENTRYWAY\n\n\nhostname = '10.0.1.2'\nusername = '3c9c3b207e640f289e3770160cb3ff'\napi ",
"end": 250,
"score": 0.9996712803840637,
"start": 242,
"tag": "IP_ADDRESS",
"value": "10.0.1.2"
},
{
"context": "es').ENTRYWAY\n\n\nhostname = '10.0.1.2'\... | lib/smarthome.coffee | paulmand3l/smarthome | 0 | _ = require 'lodash'
moment = require 'moment'
SceneMaker = require './SceneMaker'
hue = require 'node-hue-api'
spark = require 'spark'
KEYFRAMES = require('./keyframes').KEYFRAMES
ENTRYWAY = require('./keyframes').ENTRYWAY
hostname = '10.0.1.2'
username = '3c9c3b207e640f289e3770160cb3ff'
api = new hue.HueApi hos... | 225851 | _ = require 'lodash'
moment = require 'moment'
SceneMaker = require './SceneMaker'
hue = require 'node-hue-api'
spark = require 'spark'
KEYFRAMES = require('./keyframes').KEYFRAMES
ENTRYWAY = require('./keyframes').ENTRYWAY
hostname = '10.0.1.2'
username = '3<PASSWORD>'
api = new hue.HueApi hostname, username
L... | true | _ = require 'lodash'
moment = require 'moment'
SceneMaker = require './SceneMaker'
hue = require 'node-hue-api'
spark = require 'spark'
KEYFRAMES = require('./keyframes').KEYFRAMES
ENTRYWAY = require('./keyframes').ENTRYWAY
hostname = '10.0.1.2'
username = '3PI:PASSWORD:<PASSWORD>END_PI'
api = new hue.HueApi host... |
[
{
"context": "Mock response for Step 1\n # (default hostname is 127.0.0.1, default port is 80, default protocol is http)\n ",
"end": 1407,
"score": 0.9996635913848877,
"start": 1398,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "t is 80, default protocol is http)\n no... | test/katt.fixtures.coffee | klarna/katt-js | 2 | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | 208560 | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | true | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
[
{
"context": "over: 820000000\n\n\tPerson:\n\t\t1:\n\t\t\tid: 1\n\t\t\tname: 'Gordon Gekko'\n\t\t\tage: 42\n\t\t\tposition: 'Börshaj'\n\t\t\tjob: 4\n\t\t\ts",
"end": 473,
"score": 0.9998793601989746,
"start": 461,
"tag": "NAME",
"value": "Gordon Gekko"
},
{
"context": ": 4\n\t\t\tsal... | examples/playground/src/data.coffee | Cottin/oublie | 0 | module.exports =
Customer:
1:
id: 1
name: 'Vandelay Industries'
employees: 9
turnover: 1000000
2:
id: 2
name: 'Globex Corporation'
employees: 800
turnover: 55000000
3:
id: 3
name: 'Initech'
employees: 500
turnover: 500000000
4:
id: 4
name: 'Gekko & Co'
employees: 3
... | 154299 | module.exports =
Customer:
1:
id: 1
name: 'Vandelay Industries'
employees: 9
turnover: 1000000
2:
id: 2
name: 'Globex Corporation'
employees: 800
turnover: 55000000
3:
id: 3
name: 'Initech'
employees: 500
turnover: 500000000
4:
id: 4
name: 'Gekko & Co'
employees: 3
... | true | module.exports =
Customer:
1:
id: 1
name: 'Vandelay Industries'
employees: 9
turnover: 1000000
2:
id: 2
name: 'Globex Corporation'
employees: 800
turnover: 55000000
3:
id: 3
name: 'Initech'
employees: 500
turnover: 500000000
4:
id: 4
name: 'Gekko & Co'
employees: 3
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999130964279175,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/sticky-header.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.
# Attachment that shows up below the omni-header.
# How to use:
# 1. render content into 'js-sticky-header-content' and 'js-sticky-header-breadcr... | 48715 | # 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.
# Attachment that shows up below the omni-header.
# How to use:
# 1. render content into 'js-sticky-header-content' and 'js-sticky-header-breadcrumbs'
#... | 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.
# Attachment that shows up below the omni-header.
# How to use:
# 1. render content into 'js-sticky-header-content' and 'js-sticky-header... |
[
{
"context": " \"accountNumber\": second,\n \"label\": \"Livret A\",\n \"balance\": \"500\"\n },\n ",
"end": 804,
"score": 0.936736524105072,
"start": 796,
"tag": "NAME",
"value": "Livret A"
},
{
"context": " callback null, output\n\n\n\nrandomLa... | server/lib/weboob-mock.coffee | frankrousseau/kresus | 0 | # This modules mocks output generated by weboob. It is activated if NODE_ENV is
# not set or set to 'development'. (see top of weboob-manager.coffee)
moment = require 'moment'
banks = require '../../../weboob/banks-all.json'
hashAccount = (uuid) ->
hash = uuid.charCodeAt(0) + uuid.charCodeAt(3) + uuid.charCodeAt(... | 224620 | # This modules mocks output generated by weboob. It is activated if NODE_ENV is
# not set or set to 'development'. (see top of weboob-manager.coffee)
moment = require 'moment'
banks = require '../../../weboob/banks-all.json'
hashAccount = (uuid) ->
hash = uuid.charCodeAt(0) + uuid.charCodeAt(3) + uuid.charCodeAt(... | true | # This modules mocks output generated by weboob. It is activated if NODE_ENV is
# not set or set to 'development'. (see top of weboob-manager.coffee)
moment = require 'moment'
banks = require '../../../weboob/banks-all.json'
hashAccount = (uuid) ->
hash = uuid.charCodeAt(0) + uuid.charCodeAt(3) + uuid.charCodeAt(... |
[
{
"context": " [\n obj,\n {\n name: name\n }\n ]\n @text = id\n ",
"end": 4000,
"score": 0.866374671459198,
"start": 3996,
"tag": "NAME",
"value": "name"
}
] | js/main.coffee | RSamaium/Languages-Editor | 1 | fs_path = require 'path'
wrench = require 'wrench'
util = require 'util'
gui = require 'nw.gui'
msTranslator = require 'mstranslator'
appControllers = angular.module 'appControllers', []
app = angular.module 'app', [
'ngRoute',
'ngResource',
'appFilters',
'appControllers'
]
app.config ['$routeProvider', ($... | 88576 | fs_path = require 'path'
wrench = require 'wrench'
util = require 'util'
gui = require 'nw.gui'
msTranslator = require 'mstranslator'
appControllers = angular.module 'appControllers', []
app = angular.module 'app', [
'ngRoute',
'ngResource',
'appFilters',
'appControllers'
]
app.config ['$routeProvider', ($... | true | fs_path = require 'path'
wrench = require 'wrench'
util = require 'util'
gui = require 'nw.gui'
msTranslator = require 'mstranslator'
appControllers = angular.module 'appControllers', []
app = angular.module 'app', [
'ngRoute',
'ngResource',
'appFilters',
'appControllers'
]
app.config ['$routeProvider', ($... |
[
{
"context": "able._buildReportObj(options.explain)\n keys = @_indexes.id\n query = (if (_priv.normalized) then query e",
"end": 24420,
"score": 0.9719318151473999,
"start": 24408,
"tag": "KEY",
"value": "@_indexes.id"
},
{
"context": "\n return\n ), this\n \"CRE... | src/jsrel.coffee | shinout/jsrel | 9 | ((root, factory) ->
###
# for AMD (Asynchronous Module Definition)
###
if typeof define is "function" and define.amd
define ["sortedlist"], factory
else if typeof module is "object" and module.exports
module.exports = factory()
else
root.JSRel = factory(root.SortedList)
return
) this, (SortedL... | 116307 | ((root, factory) ->
###
# for AMD (Asynchronous Module Definition)
###
if typeof define is "function" and define.amd
define ["sortedlist"], factory
else if typeof module is "object" and module.exports
module.exports = factory()
else
root.JSRel = factory(root.SortedList)
return
) this, (SortedL... | true | ((root, factory) ->
###
# for AMD (Asynchronous Module Definition)
###
if typeof define is "function" and define.amd
define ["sortedlist"], factory
else if typeof module is "object" and module.exports
module.exports = factory()
else
root.JSRel = factory(root.SortedList)
return
) this, (SortedL... |
[
{
"context": "###\nCC API JS Helper\n\nCopyright (c) 2015 Scott Yang\n\nDependencies:\nCC Core (cc.core.js)\nCC Prompt (cc",
"end": 51,
"score": 0.9997221827507019,
"start": 41,
"tag": "NAME",
"value": "Scott Yang"
},
{
"context": "er/login', 'data': {'user': 'guest', 'password': 'pa... | public/core/js/cc.api.coffee | yisyang/loves_money | 1 | ###
CC API JS Helper
Copyright (c) 2015 Scott Yang
Dependencies:
CC Core (cc.core.js)
CC Prompt (cc.prompt.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
###
Posts to CC API
@param params JSON object of key => value
@return Promise
Example:
CC = new CarCrashSingletonClass({foo: 'bar'})
CC... | 93831 | ###
CC API JS Helper
Copyright (c) 2015 <NAME>
Dependencies:
CC Core (cc.core.js)
CC Prompt (cc.prompt.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
###
Posts to CC API
@param params JSON object of key => value
@return Promise
Example:
CC = new CarCrashSingletonClass({foo: 'bar'})
CC.api... | true | ###
CC API JS Helper
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Dependencies:
CC Core (cc.core.js)
CC Prompt (cc.prompt.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
###
Posts to CC API
@param params JSON object of key => value
@return Promise
Example:
CC = new CarCrashSingletonClass({foo: '... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998469352722168,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/auxes.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... | 128339 | ###
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": "/neocotic.com/UndoWikipediaBlackout) \r\n# (c) 2012 Alasdair Mercer \r\n# Freely distributable under the MIT license. ",
"end": 100,
"score": 0.9998825788497925,
"start": 85,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/lib/content.coffee | neocotic/UndoWikipediaBlackout | 1 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 Alasdair Mercer
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request for ... | 171164 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 <NAME>
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request for Undo Wiki... | true | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Functionality
# -------------
# Wrap the functionality in a request... |
[
{
"context": "LaTeX and the Terminal.\n#\n# Copyright (C) 2014, William Stein\n#\n# This program is free software: you can red",
"end": 217,
"score": 0.9998665452003479,
"start": 204,
"tag": "NAME",
"value": "William Stein"
},
{
"context": "############################\n# Copyr... | .sagemathcloud/misc.coffee | febman/elastic-3D-model | 0 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, William Stein
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of... | 55395 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, <NAME>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GN... | true | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, PI:NAME:<NAME>END_PI
#
# This program is free software: you can redistribute it and/or modify
# it under the t... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @author Originally",
"end": 27,
"score": 0.999891459941864,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @author Originally ... | src/date.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @author Originally by Teddy Hong <https://github.com/teddyhong>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class DateParser
toDate: (time, format = '') ->
if time?
if format ... | 192105 | ###
# @author <NAME> <https://github.com/hkyo89>
# @author Originally by <NAME> <https://github.com/teddyhong>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class DateParser
toDate: (time, format = '') ->
if time?
if format is 'dd-mm-... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @author Originally by PI:NAME:<NAME>END_PI <https://github.com/teddyhong>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
class DateParser
toDate: (time, format = '') ->
if time... |
[
{
"context": "###\nCopyright 2014 Michael Krolikowski\n\nLicensed under the Apache License, Version 2.0 (",
"end": 38,
"score": 0.9982911348342896,
"start": 19,
"tag": "NAME",
"value": "Michael Krolikowski"
}
] | src/main/javascript/statscontroller.coffee | mkroli/shurl | 1 | ###
Copyright 2014 Michael Krolikowski
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... | 220797 | ###
Copyright 2014 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | true | ###
Copyright 2014 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... |
[
{
"context": "server: \"redis://localhost:6379\"\n key: \"StreamMachine\"\n\n constructor: (opts) ->\n @options = _",
"end": 313,
"score": 0.9980058670043945,
"start": 300,
"tag": "KEY",
"value": "StreamMachine"
}
] | src/streammachine/redis.coffee | firebrandv2/FirebrandNetwork.ga | 342 | _ = require 'underscore'
Redis = require 'redis'
Url = require "url"
nconf = require "nconf"
debug = require("debug")("sm:redis")
module.exports = class RedisManager extends require('events').EventEmitter
DefaultOptions:
server: "redis://localhost:6379"
key: "StreamMachine"
... | 8817 | _ = require 'underscore'
Redis = require 'redis'
Url = require "url"
nconf = require "nconf"
debug = require("debug")("sm:redis")
module.exports = class RedisManager extends require('events').EventEmitter
DefaultOptions:
server: "redis://localhost:6379"
key: "<KEY>"
construc... | true | _ = require 'underscore'
Redis = require 'redis'
Url = require "url"
nconf = require "nconf"
debug = require("debug")("sm:redis")
module.exports = class RedisManager extends require('events').EventEmitter
DefaultOptions:
server: "redis://localhost:6379"
key: "PI:KEY:<KEY>END_PI"
... |
[
{
"context": " http://javascript.crockford.com/tdop/index.html\n Douglas Crockford\n 2010-06-26\n###\n\n\n##############################",
"end": 189,
"score": 0.9998752474784851,
"start": 172,
"tag": "NAME",
"value": "Douglas Crockford"
}
] | src/main.coffee | loveencounterflow/tdop | 0 |
###
parse.js
Parser for Simplified JavaScript written in Simplified JavaScript
From Top Down Operator Precedence
http://javascript.crockford.com/tdop/index.html
Douglas Crockford
2010-06-26
###
############################################################################################################
TR... | 216056 |
###
parse.js
Parser for Simplified JavaScript written in Simplified JavaScript
From Top Down Operator Precedence
http://javascript.crockford.com/tdop/index.html
<NAME>
2010-06-26
###
############################################################################################################
TRM ... | true |
###
parse.js
Parser for Simplified JavaScript written in Simplified JavaScript
From Top Down Operator Precedence
http://javascript.crockford.com/tdop/index.html
PI:NAME:<NAME>END_PI
2010-06-26
###
############################################################################################################... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.