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": "nload.Player.register\n fid: 'com.schwab'\n org: 'Charles Schwab'\n\n dispatchFrames: false\n afterDownload: 'getNe",
"end": 74,
"score": 0.9998537302017212,
"start": 60,
"tag": "NAME",
"value": "Charles Schwab"
}
] | application/chrome/content/wesabe/fi-scripts/com/schwab.coffee | wesabe/ssu | 28 | wesabe.download.Player.register
fid: 'com.schwab'
org: 'Charles Schwab'
dispatchFrames: false
afterDownload: 'getNextPDFStatement'
afterLastGoal: 'logoff'
includes: [
'fi-scripts.com.schwab.login'
'fi-scripts.com.schwab.accounts'
'fi-scripts.com.schwab.pdfstatements'
]
actions:
main: ... | 96594 | wesabe.download.Player.register
fid: 'com.schwab'
org: '<NAME>'
dispatchFrames: false
afterDownload: 'getNextPDFStatement'
afterLastGoal: 'logoff'
includes: [
'fi-scripts.com.schwab.login'
'fi-scripts.com.schwab.accounts'
'fi-scripts.com.schwab.pdfstatements'
]
actions:
main: ->
... | true | wesabe.download.Player.register
fid: 'com.schwab'
org: 'PI:NAME:<NAME>END_PI'
dispatchFrames: false
afterDownload: 'getNextPDFStatement'
afterLastGoal: 'logoff'
includes: [
'fi-scripts.com.schwab.login'
'fi-scripts.com.schwab.accounts'
'fi-scripts.com.schwab.pdfstatements'
]
actions:
... |
[
{
"context": "ays = [\n {number: 1, centerLocation: {name: 'Phuket', lat: 7.953951, lng: 98.346883}, points: [\n ",
"end": 2783,
"score": 0.9919729232788086,
"start": 2777,
"tag": "NAME",
"value": "Phuket"
},
{
"context": "[\n {\"lat\":7.892256,\"lng\":98.295702,\"nam... | src/js/controllers/maps.coffee | mb-dev/journal-ng | 0 | angular.module('app.controllers')
.controller 'MapsIndexController', ($scope, $routeParams, $location, $modal) ->
$scope.tripStart = moment(new Date(2014, 12-1, 19))
googleMapsService = (->
directionsService = directionsDisplay = autocomplete = map = marker = null
events = {
onPlaceChang... | 129803 | angular.module('app.controllers')
.controller 'MapsIndexController', ($scope, $routeParams, $location, $modal) ->
$scope.tripStart = moment(new Date(2014, 12-1, 19))
googleMapsService = (->
directionsService = directionsDisplay = autocomplete = map = marker = null
events = {
onPlaceChang... | true | angular.module('app.controllers')
.controller 'MapsIndexController', ($scope, $routeParams, $location, $modal) ->
$scope.tripStart = moment(new Date(2014, 12-1, 19))
googleMapsService = (->
directionsService = directionsDisplay = autocomplete = map = marker = null
events = {
onPlaceChang... |
[
{
"context": "#########\n#\n# Resume view of solution\n# Created by Markus on 15/11/2015.\n#\n################################",
"end": 94,
"score": 0.9996275305747986,
"start": 88,
"tag": "NAME",
"value": "Markus"
}
] | client/views/student/script/resume.coffee | agottschalk10/worklearn | 0 | ##############################################
#
# Resume view of solution
# Created by Markus on 15/11/2015.
#
##############################################
##########################################################
# import
##########################################################
################################... | 184282 | ##############################################
#
# Resume view of solution
# Created by <NAME> on 15/11/2015.
#
##############################################
##########################################################
# import
##########################################################
################################... | true | ##############################################
#
# Resume view of solution
# Created by PI:NAME:<NAME>END_PI on 15/11/2015.
#
##############################################
##########################################################
# import
##########################################################
##################... |
[
{
"context": "ue')\n value_email: \"'{{value}}' muss die Form 'meine.adresse@anbieter.endung' haben\"\n value_email_at: \"'{{value}}' muss ein",
"end": 617,
"score": 0.99681156873703,
"start": 588,
"tag": "EMAIL",
"value": "meine.adresse@anbieter.endung"
},
{
"context": "_email... | error_messages.coffee | jneuendorf/FormValidator | 0 | #######################################################
# locale DE
$.extend locales.de, {
# dependencies (VALIDATION_PHASES_SINGULAR.DEPENDENCIES = 'dependency')
dependency_general: "Die Abhängigkeiten dieses Felds müssen zuerst korrekt ausgefüllt wurden"
dependency_prefix: "Die Felder"
dependency_suf... | 20177 | #######################################################
# locale DE
$.extend locales.de, {
# dependencies (VALIDATION_PHASES_SINGULAR.DEPENDENCIES = 'dependency')
dependency_general: "Die Abhängigkeiten dieses Felds müssen zuerst korrekt ausgefüllt wurden"
dependency_prefix: "Die Felder"
dependency_suf... | true | #######################################################
# locale DE
$.extend locales.de, {
# dependencies (VALIDATION_PHASES_SINGULAR.DEPENDENCIES = 'dependency')
dependency_general: "Die Abhängigkeiten dieses Felds müssen zuerst korrekt ausgefüllt wurden"
dependency_prefix: "Die Felder"
dependency_suf... |
[
{
"context": "c(@ctx).should.eql [{ hello: 'world' }, { hello: 'cleveland' }, { hello: 'dolly'}]\n\n it 'should do nothing t",
"end": 15067,
"score": 0.8239023089408875,
"start": 15058,
"tag": "NAME",
"value": "cleveland"
},
{
"context": "llo: 'world' }, { hello: 'cleveland' }, { he... | test/elm/list/test.coffee | luis1van/cql-execution-1 | 0 | should = require 'should'
setup = require '../../setup'
data = require './data'
describe 'List', ->
@beforeEach ->
setup @, data
it 'should execute to an array (ints)', ->
@intList.exec(@ctx).should.eql [9, 7, 8]
it 'should execute to an array (strings)', ->
@stringList.exec(@ctx).should.eql ['a', ... | 30222 | should = require 'should'
setup = require '../../setup'
data = require './data'
describe 'List', ->
@beforeEach ->
setup @, data
it 'should execute to an array (ints)', ->
@intList.exec(@ctx).should.eql [9, 7, 8]
it 'should execute to an array (strings)', ->
@stringList.exec(@ctx).should.eql ['a', ... | true | should = require 'should'
setup = require '../../setup'
data = require './data'
describe 'List', ->
@beforeEach ->
setup @, data
it 'should execute to an array (ints)', ->
@intList.exec(@ctx).should.eql [9, 7, 8]
it 'should execute to an array (strings)', ->
@stringList.exec(@ctx).should.eql ['a', ... |
[
{
"context": "rgs.length != 8\n casper.echo \"Usage: #{args[3]} <username> <password> <hostname> <ip>\"\n casper.exit()\n\nuse",
"end": 170,
"score": 0.9975518584251404,
"start": 162,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rm[action='#{LOGIN_FORM_ACTION}']\",\n ... | regdomdns.coffee | walterl/regdomdns | 1 | casper = require('casper').create viewportSize: { width: 1280, height: 720 }
args = require('system').args
if args.length != 8
casper.echo "Usage: #{args[3]} <username> <password> <hostname> <ip>"
casper.exit()
username = args[4]
password = args[5]
host = args[6].split('.', 1)[0]
domain = args[6].slice 1 + host.l... | 134912 | casper = require('casper').create viewportSize: { width: 1280, height: 720 }
args = require('system').args
if args.length != 8
casper.echo "Usage: #{args[3]} <username> <password> <hostname> <ip>"
casper.exit()
username = args[4]
password = args[5]
host = args[6].split('.', 1)[0]
domain = args[6].slice 1 + host.l... | true | casper = require('casper').create viewportSize: { width: 1280, height: 720 }
args = require('system').args
if args.length != 8
casper.echo "Usage: #{args[3]} <username> <password> <hostname> <ip>"
casper.exit()
username = args[4]
password = args[5]
host = args[6].split('.', 1)[0]
domain = args[6].slice 1 + host.l... |
[
{
"context": " recessive: 'dbb' }\n]\n\nmodule.exports =\n\n name: 'Sandrats'\n\n woo: 'hi!'\n\n chromosomeNames: ['1', '2', 'XY",
"end": 1297,
"score": 0.9992442727088928,
"start": 1289,
"tag": "NAME",
"value": "Sandrats"
}
] | app/species/biologica/sandrats.coffee | concord-consortium/sepa-models | 0 | console.log("hi?")
# TODO This should probably get ported back to BioLogica.js
BioLogica.Genetics.prototype.getRandomAllele = (exampleOfGene) ->
for own gene of @species.geneList
_allelesOfGene = @species.geneList[gene].alleles
_weightsOfGene = @species.geneList[gene].weights || []
if exampleOfGene in _al... | 201869 | console.log("hi?")
# TODO This should probably get ported back to BioLogica.js
BioLogica.Genetics.prototype.getRandomAllele = (exampleOfGene) ->
for own gene of @species.geneList
_allelesOfGene = @species.geneList[gene].alleles
_weightsOfGene = @species.geneList[gene].weights || []
if exampleOfGene in _al... | true | console.log("hi?")
# TODO This should probably get ported back to BioLogica.js
BioLogica.Genetics.prototype.getRandomAllele = (exampleOfGene) ->
for own gene of @species.geneList
_allelesOfGene = @species.geneList[gene].alleles
_weightsOfGene = @species.geneList[gene].weights || []
if exampleOfGene in _al... |
[
{
"context": "_measureText: (text, font, size, bold) ->\r\n\t\tkey = \"#{text}:#{font}:#{size}:#{bold}\"\r\n\t\treturn __measuretext_",
"end": 3616,
"score": 0.7199690341949463,
"start": 3608,
"tag": "KEY",
"value": "\"#{text}"
},
{
"context": "ext, font, size, bold) ->\r\n\t\tkey = ... | app/assets/javascripts/engine/util/canvasUtils.coffee | ssachtleben/herowar | 1 | __measuretext_cache__ = {}
canvasUtils =
font: 'Arial'
drawText: (ctx, content, x, y, width) ->
baseFontSize = 24
size = @_measureText "#{content}", @font, baseFontSize, false
newFontSize = baseFontSize * (width / size[0])
ctx.font = "#{newFontSize}px #{@font}"
ctx.fillText "#{content}", x, y
... | 208576 | __measuretext_cache__ = {}
canvasUtils =
font: 'Arial'
drawText: (ctx, content, x, y, width) ->
baseFontSize = 24
size = @_measureText "#{content}", @font, baseFontSize, false
newFontSize = baseFontSize * (width / size[0])
ctx.font = "#{newFontSize}px #{@font}"
ctx.fillText "#{content}", x, y
... | true | __measuretext_cache__ = {}
canvasUtils =
font: 'Arial'
drawText: (ctx, content, x, y, width) ->
baseFontSize = 24
size = @_measureText "#{content}", @font, baseFontSize, false
newFontSize = baseFontSize * (width / size[0])
ctx.font = "#{newFontSize}px #{@font}"
ctx.fillText "#{content}", x, y
... |
[
{
"context": "'\n exports.DB_USER = 'root'\n exports.DB_PASS = 'root'",
"end": 488,
"score": 0.9991338849067688,
"start": 484,
"tag": "PASSWORD",
"value": "root"
}
] | config/development.coffee | wanbok/rails-style-template | 3 |
# Dependencies
express = require 'express'
# Server development configuration
module.exports = ->
# Output sensible errors with the full stack trace
@use express.errorHandler(
dumpExceptions: true
showStack: true
)
exports.DEBUG_LOG=true
exports.DEBUG_WARN=true
exports.DEBUG_ERROR=true
exp... | 173503 |
# Dependencies
express = require 'express'
# Server development configuration
module.exports = ->
# Output sensible errors with the full stack trace
@use express.errorHandler(
dumpExceptions: true
showStack: true
)
exports.DEBUG_LOG=true
exports.DEBUG_WARN=true
exports.DEBUG_ERROR=true
exp... | true |
# Dependencies
express = require 'express'
# Server development configuration
module.exports = ->
# Output sensible errors with the full stack trace
@use express.errorHandler(
dumpExceptions: true
showStack: true
)
exports.DEBUG_LOG=true
exports.DEBUG_WARN=true
exports.DEBUG_ERROR=true
exp... |
[
{
"context": " testing data\n account = {\n id: 0\n alias: \"Pan Dimension\"\n statement: \"Heart Cake\"\n songs:[ \"500\":tr",
"end": 252,
"score": 0.9879651069641113,
"start": 239,
"tag": "NAME",
"value": "Pan Dimension"
}
] | app/js/features/account/account-service.coffee | 17thDimension/ionic-song-a-day | 0 | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "AccountService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
account = {
id: 0
alias: "Pan Dimension"
statement: "Heart Cake"
songs:[ "500":true ]
wall: "ht... | 97046 | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "AccountService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
account = {
id: 0
alias: "<NAME>"
statement: "Heart Cake"
songs:[ "500":true ]
wall: "https://d... | true | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "AccountService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
account = {
id: 0
alias: "PI:NAME:<NAME>END_PI"
statement: "Heart Cake"
songs:[ "500":true ]
wa... |
[
{
"context": "tman.URI',\n setup: ->\n @complexURI = \"http://james:secret@www.example.com:81/one+two/three%20four/in",
"end": 70,
"score": 0.5038906931877136,
"start": 66,
"tag": "USERNAME",
"value": "ames"
},
{
"context": ".protocol, 'http'\n equal uri.authority(), 'james:secr... | tests/batman/utilities/uri_test.coffee | davidcornu/batman | 1 | QUnit.module 'Batman.URI',
setup: ->
@complexURI = "http://james:secret@www.example.com:81/one+two/three%20four/index.html?a+phrase=this+phrase&some%20thing=this%20thing&foo&bar=#blahblah"
@pathAndQuery = "/foo/bar?num=1"
test "constructs with a full URI string", ->
uri = new Batman.URI(@complexURI)
equa... | 86460 | QUnit.module 'Batman.URI',
setup: ->
@complexURI = "http://james:secret@www.example.com:81/one+two/three%20four/index.html?a+phrase=this+phrase&some%20thing=this%20thing&foo&bar=#blahblah"
@pathAndQuery = "/foo/bar?num=1"
test "constructs with a full URI string", ->
uri = new Batman.URI(@complexURI)
equa... | true | QUnit.module 'Batman.URI',
setup: ->
@complexURI = "http://james:secret@www.example.com:81/one+two/three%20four/index.html?a+phrase=this+phrase&some%20thing=this%20thing&foo&bar=#blahblah"
@pathAndQuery = "/foo/bar?num=1"
test "constructs with a full URI string", ->
uri = new Batman.URI(@complexURI)
equa... |
[
{
"context": "\", ->\n\n vcap =\n application:\n name: SampleName\n host: \"sample-host\"\n uris: [ \"samp",
"end": 3247,
"score": 0.6848244667053223,
"start": 3237,
"tag": "NAME",
"value": "SampleName"
},
{
"context": "\", ->\n\n vcap =\n applica... | docqr_hackathonstarter1/node_modules/cfenv/tests/test-core.coffee | JonatanS/cleanHackathonStarter | 1 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
coffee = require "coffee-script"
expect = require "expect.js"
ports = require "ports"
cfenv = require ".."
SavedEnv = JSON.stringify process.env
SavedDir = process.cwd()
TestDir = p... | 97062 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
coffee = require "coffee-script"
expect = require "expect.js"
ports = require "ports"
cfenv = require ".."
SavedEnv = JSON.stringify process.env
SavedDir = process.cwd()
TestDir = p... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
coffee = require "coffee-script"
expect = require "expect.js"
ports = require "ports"
cfenv = require ".."
SavedEnv = JSON.stringify process.env
SavedDir = process.cwd()
TestDir = p... |
[
{
"context": " query = 'dummy-query'\n options = { key : 'dummy-value' }\n\n modal.setState { query }\n\n modal.o",
"end": 4826,
"score": 0.9981374740600586,
"start": 4815,
"tag": "KEY",
"value": "dummy-value"
},
{
"context": " query = 'dummy-query'\n options ... | client/activity/lib/components/browsepublicchannelsmodal/test/container.coffee | ezgikaysi/koding | 1 | React = require 'kd-react'
ReactDOM = require 'react-dom'
expect = require 'expect'
Modal = require '../index'
TestUtils = require 'react-addons-test-utils'
ActivityFlux = require 'activity/flux'
Tabs = require 'activity/constants/sidebarpubli... | 119937 | React = require 'kd-react'
ReactDOM = require 'react-dom'
expect = require 'expect'
Modal = require '../index'
TestUtils = require 'react-addons-test-utils'
ActivityFlux = require 'activity/flux'
Tabs = require 'activity/constants/sidebarpubli... | true | React = require 'kd-react'
ReactDOM = require 'react-dom'
expect = require 'expect'
Modal = require '../index'
TestUtils = require 'react-addons-test-utils'
ActivityFlux = require 'activity/flux'
Tabs = require 'activity/constants/sidebarpubli... |
[
{
"context": "ew Date().getTime()\ntotal = 100000\n#testUsers = ['livelily+test31@gmail.com', 'livelily+test37@gmail.com']\nif testUsers?\n us",
"end": 547,
"score": 0.9998854994773865,
"start": 522,
"tag": "EMAIL",
"value": "livelily+test31@gmail.com"
},
{
"context": "00000\n#testU... | scripts/recalculatePayments.coffee | JurianLock/codecombat | 1 | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
GLOBAL.tv4 = require('tv4').tv4
database.connect()
Us... | 26618 | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
GLOBAL.tv4 = require('tv4').tv4
database.connect()
Us... | true | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
GLOBAL.tv4 = require('tv4').tv4
database.connect()
Us... |
[
{
"context": "_in(@wrapper.first('input[name=username]')).with 'austin'\n @fill_in(@wrapper.first('input[name=email]",
"end": 1326,
"score": 0.9986480474472046,
"start": 1320,
"tag": "USERNAME",
"value": "austin"
},
{
"context": "ill_in(@wrapper.first('input[name=email]')).with ... | ui/src/components/auth/create_account.test.coffee | jozsefsallai/makes.audio | 4 | import create_account from './create_account'
import { mount } from 'avoriaz'
import { nextTick } from 'vue'
import users_fixture from 'fixtures/users'
import sinon from 'sinon'
import Toaster from 'lib/toaster'
import Vuex from 'vuex'
describe 'create_account', ->
beforeEach ->
sinon.stub Toaster, 'create'
... | 111265 | import create_account from './create_account'
import { mount } from 'avoriaz'
import { nextTick } from 'vue'
import users_fixture from 'fixtures/users'
import sinon from 'sinon'
import Toaster from 'lib/toaster'
import Vuex from 'vuex'
describe 'create_account', ->
beforeEach ->
sinon.stub Toaster, 'create'
... | true | import create_account from './create_account'
import { mount } from 'avoriaz'
import { nextTick } from 'vue'
import users_fixture from 'fixtures/users'
import sinon from 'sinon'
import Toaster from 'lib/toaster'
import Vuex from 'vuex'
describe 'create_account', ->
beforeEach ->
sinon.stub Toaster, 'create'
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986656308174133,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_linklist.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... | 100272 | # 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": "plit(/[<>]/g)[1].split('.')[0]\n if @user is 'webuser@mozilla'\n @user = undefined\n @router.",
"end": 3796,
"score": 0.5871158838272095,
"start": 3789,
"tag": "USERNAME",
"value": "webuser"
},
{
"context": "<>]/g)[1].split('.')[0]\n if @user is 'w... | src/iced/main.iced | stampery/trailbot-vault | 0 | Vue = require 'vue'
VueRouter = require 'vue-router'
Vue.use VueRouter
App = Vue.extend({})
window.electron = eRequire('electron').remote
window.fs = eRequire 'fs'
window.git = eRequire 'simple-git'
window.mkdir = eRequire 'mkdirp'
window.request = eRequire 'request'
window.os = eRequire 'os'
main = ->
@after 'ini... | 129261 | Vue = require 'vue'
VueRouter = require 'vue-router'
Vue.use VueRouter
App = Vue.extend({})
window.electron = eRequire('electron').remote
window.fs = eRequire 'fs'
window.git = eRequire 'simple-git'
window.mkdir = eRequire 'mkdirp'
window.request = eRequire 'request'
window.os = eRequire 'os'
main = ->
@after 'ini... | true | Vue = require 'vue'
VueRouter = require 'vue-router'
Vue.use VueRouter
App = Vue.extend({})
window.electron = eRequire('electron').remote
window.fs = eRequire 'fs'
window.git = eRequire 'simple-git'
window.mkdir = eRequire 'mkdirp'
window.request = eRequire 'request'
window.os = eRequire 'os'
main = ->
@after 'ini... |
[
{
"context": " holder.push \"?\"\n val_li.push val\n\n key = \"(#{column_li.join(',')})\"\n\n sql = \"\"\"WITH S AS (SE",
"end": 2161,
"score": 0.9250145554542542,
"start": 2157,
"tag": "KEY",
"value": "\"(#{"
},
{
"context": " val_li.push val\n\n key = \"(#{column... | src/knex.coffee | rmw-lib/pg | 0 | import Knex from 'knex'
import knexTinyLogger from './log'
import QueryBuilder from 'knex/lib/query/querybuilder'
_transaction = Knex.Client::transaction
Knex.Client::transaction = (container, config)->
_transaction.call(
@
(trx)->
Object.assign(trx,extend)
container.apply @,arguments
confi... | 29066 | import Knex from 'knex'
import knexTinyLogger from './log'
import QueryBuilder from 'knex/lib/query/querybuilder'
_transaction = Knex.Client::transaction
Knex.Client::transaction = (container, config)->
_transaction.call(
@
(trx)->
Object.assign(trx,extend)
container.apply @,arguments
confi... | true | import Knex from 'knex'
import knexTinyLogger from './log'
import QueryBuilder from 'knex/lib/query/querybuilder'
_transaction = Knex.Client::transaction
Knex.Client::transaction = (container, config)->
_transaction.call(
@
(trx)->
Object.assign(trx,extend)
container.apply @,arguments
confi... |
[
{
"context": " @client.send new xmpp.Stanza('message',\n to: \"#{@auth.uuid}@meshblu.octoblu.com\"\n from: 'mesh",
"end": 1384,
"score": 0.9191109538078308,
"start": 1384,
"tag": "EMAIL",
"value": ""
},
{
"context": "ient.send new xmpp.Stanza('message',\n to: \"#{@auth... | src/xmpp-handler.coffee | octoblu/meshblu-core-protocol-adapter-xmpp | 0 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('meshblu-core-protocol-adapter-xmpp:xmpp-handler')
http = require 'http'
xmpp = require 'node-xmpp-server'
ltx = require 'ltx'
jsontoxml = require 'jsontoxml'
xml2js = require('xml2js').parseString
http2xmpp = requi... | 216626 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('meshblu-core-protocol-adapter-xmpp:xmpp-handler')
http = require 'http'
xmpp = require 'node-xmpp-server'
ltx = require 'ltx'
jsontoxml = require 'jsontoxml'
xml2js = require('xml2js').parseString
http2xmpp = requi... | true | _ = require 'lodash'
async = require 'async'
debug = require('debug')('meshblu-core-protocol-adapter-xmpp:xmpp-handler')
http = require 'http'
xmpp = require 'node-xmpp-server'
ltx = require 'ltx'
jsontoxml = require 'jsontoxml'
xml2js = require('xml2js').parseString
http2xmpp = requi... |
[
{
"context": "amespace COOLSTRAP\n * @class Console\n *\n * @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n###\n\nCO",
"end": 100,
"score": 0.9998912215232849,
"start": 85,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": "\n * @class Console\n *\n * @aut... | coolstrap-core/app/assets/javascripts/coolstrap/_Coolstrap.Console.coffee | cristianferrarig/coolstrap | 0 | ###
* Console Management
*
* @namespace COOLSTRAP
* @class Console
*
* @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
###
COOLSTRAP.Console = ((cool) ->
###
* Console system to display messages when you are in debug mode.
*
* @method _log
*
* @param {number} Level based COO... | 99765 | ###
* Console Management
*
* @namespace COOLSTRAP
* @class Console
*
* @author <NAME> <<EMAIL>> || @abraham_barrera
###
COOLSTRAP.Console = ((cool) ->
###
* Console system to display messages when you are in debug mode.
*
* @method _log
*
* @param {number} Level based COOLSTRAP.Constants.LOG_... | true | ###
* Console Management
*
* @namespace COOLSTRAP
* @class Console
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
###
COOLSTRAP.Console = ((cool) ->
###
* Console system to display messages when you are in debug mode.
*
* @method _log
*
* @param {number} Level b... |
[
{
"context": ":\n repoUrl: \"Project Clone URL\"\n fullName: \"Full Name\"\n email: \"Your Email\",\n repoOwner: \"Reposit",
"end": 377,
"score": 0.8765066266059875,
"start": 368,
"tag": "NAME",
"value": "Full Name"
},
{
"context": "\n repoOwner: \"Repository Owner\"\n... | lib/util/configuration.coffee | ExentriqLtd/Advanced-Web-Editor | 0 | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
PREVIEW_CONF = path.join(app.getPath("userData"), "mapr-preview.cson")
getRepoName = require './get-repo-name'
class Configuration
@labels:
... | 125642 | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
PREVIEW_CONF = path.join(app.getPath("userData"), "mapr-preview.cson")
getRepoName = require './get-repo-name'
class Configuration
@labels:
... | true | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
PREVIEW_CONF = path.join(app.getPath("userData"), "mapr-preview.cson")
getRepoName = require './get-repo-name'
class Configuration
@labels:
... |
[
{
"context": "lease try another card or contact <a href='mailto:support@artsy.net'>support</a>.\"\n couldNotAuthorize: \"Your card ",
"end": 370,
"score": 0.9999201893806458,
"start": 353,
"tag": "EMAIL",
"value": "support@artsy.net"
},
{
"context": "lease try another card or cont... | src/mobile/components/credit_card/client/error_handling_form.coffee | zephraph/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
isEmail = require('validator').isEmail
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
errors:
missingOrMalformed: "Your card appears to be missing or malformed. Please try another... | 224657 | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
isEmail = require('validator').isEmail
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
errors:
missingOrMalformed: "Your card appears to be missing or malformed. Please try another... | true | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
isEmail = require('validator').isEmail
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
errors:
missingOrMalformed: "Your card appears to be missing or malformed. Please try another... |
[
{
"context": "###\nCopyright (C) 2014 - 2016 Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nfs ",
"end": 45,
"score": 0.9998898506164551,
"start": 30,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "###\nCopyright (C) 2014 - 2016 Markus Kohlhase <mail@mar... | src/List.coffee | flosse/node-ezmlm | 4 | ###
Copyright (C) 2014 - 2016 Markus Kohlhase <mail@markus-kohlhase.de>
###
fs = require "fs"
sane = require 'sane'
path = require "path"
async = require "async"
ezmlm = require "./core"
{ EventEmitter } = require "events"
subTypes = ['', 'mod', 'allow... | 179778 | ###
Copyright (C) 2014 - 2016 <NAME> <<EMAIL>>
###
fs = require "fs"
sane = require 'sane'
path = require "path"
async = require "async"
ezmlm = require "./core"
{ EventEmitter } = require "events"
subTypes = ['', 'mod', 'allow']
_getArrayName = (x) -... | true | ###
Copyright (C) 2014 - 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
fs = require "fs"
sane = require 'sane'
path = require "path"
async = require "async"
ezmlm = require "./core"
{ EventEmitter } = require "events"
subTypes = ['', 'mod', 'a... |
[
{
"context": "ee: Github organization class\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 82,
"score": 0.9998403787612915,
"start": 63,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "rganization's member.\n ... | src/octonode/org.coffee | waltfy/octonode | 0 | #
# org.coffee: Github organization class
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
retu... | 104494 | #
# org.coffee: Github organization class
#
# Copyright © 2011 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
return cb(err) if... | true | #
# org.coffee: Github organization class
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
ret... |
[
{
"context": "rlFor: urlFor\n item:\n firstName: \"Cameron\"\n lastName: \"Bytheway\"\n\n cscj.rende",
"end": 2035,
"score": 0.999571681022644,
"start": 2028,
"tag": "NAME",
"value": "Cameron"
},
{
"context": " firstName: \"Cameron\"\n la... | test/cscj.test.coffee | collection-json/cscj | 1 |
should = require "should"
cscj = require ".."
expectations = (error, result)->
should.not.exist error
should.exist result
should.exist result.collection
should.exist result.collection.version
should.exist result.collection.error
should.exist result.collection.links
should.exist result.collection.items
... | 190011 |
should = require "should"
cscj = require ".."
expectations = (error, result)->
should.not.exist error
should.exist result
should.exist result.collection
should.exist result.collection.version
should.exist result.collection.error
should.exist result.collection.links
should.exist result.collection.items
... | true |
should = require "should"
cscj = require ".."
expectations = (error, result)->
should.not.exist error
should.exist result
should.exist result.collection
should.exist result.collection.version
should.exist result.collection.error
should.exist result.collection.links
should.exist result.collection.items
... |
[
{
"context": ".equal wzk.uri.getFragmentParam('key1', '#key1=val1&key2=val2'), 'val1'\n assert.equal wzk.uri.ge",
"end": 166,
"score": 0.7045556902885437,
"start": 165,
"tag": "KEY",
"value": "1"
},
{
"context": ".equal wzk.uri.getFragmentParam('key2', '#key1=val1&key2=val2'), '... | wzk/uri/uri_test.coffee | vojtatranta/werkzeug | 1 | suite 'wzk.uri', ->
suite '#queryParser', ->
test 'Parses hash query parameters into array', ->
assert.equal wzk.uri.getFragmentParam('key1', '#key1=val1&key2=val2'), 'val1'
assert.equal wzk.uri.getFragmentParam('key2', '#key1=val1&key2=val2'), 'val2'
test 'Adding parametr to empty query', ->
... | 92115 | suite 'wzk.uri', ->
suite '#queryParser', ->
test 'Parses hash query parameters into array', ->
assert.equal wzk.uri.getFragmentParam('key1', '#key1=val<KEY>&key2=val2'), 'val1'
assert.equal wzk.uri.getFragmentParam('key2', '#key1=val<KEY>&key2=val2'), 'val2'
test 'Adding parametr to empty query... | true | suite 'wzk.uri', ->
suite '#queryParser', ->
test 'Parses hash query parameters into array', ->
assert.equal wzk.uri.getFragmentParam('key1', '#key1=valPI:KEY:<KEY>END_PI&key2=val2'), 'val1'
assert.equal wzk.uri.getFragmentParam('key2', '#key1=valPI:KEY:<KEY>END_PI&key2=val2'), 'val2'
test 'Addi... |
[
{
"context": "lf.query\n\n quote.email = email\n quote.name = name\n quote.description = description\n\n Apollos.",
"end": 979,
"score": 0.9968124032020569,
"start": 975,
"tag": "NAME",
"value": "name"
}
] | _source/client/templates/objects/quote/submit.coffee | jbaxleyiii/dapperink | 0 |
class submitCard extends Apollos.Component
@register "submitCard"
vars: -> [
submitted: false
]
events: -> [
"click .close": @.destroy
"click button": @.submit
]
onCreated: ->
self = @
data = self.data().data
self.query = data
self.isQuote = data.isQuote or false
$(... | 98646 |
class submitCard extends Apollos.Component
@register "submitCard"
vars: -> [
submitted: false
]
events: -> [
"click .close": @.destroy
"click button": @.submit
]
onCreated: ->
self = @
data = self.data().data
self.query = data
self.isQuote = data.isQuote or false
$(... | true |
class submitCard extends Apollos.Component
@register "submitCard"
vars: -> [
submitted: false
]
events: -> [
"click .close": @.destroy
"click button": @.submit
]
onCreated: ->
self = @
data = self.data().data
self.query = data
self.isQuote = data.isQuote or false
$(... |
[
{
"context": "me * ammo_consumed\n if @weapon.hero.name is 'Ana'\n shot.duration = @weapon.damage.duration\n",
"end": 5219,
"score": 0.9984509944915771,
"start": 5216,
"tag": "NAME",
"value": "Ana"
},
{
"context": "ons\n wdata = switch\n when weapon.name is 'Photo... | scripts/chart.coffee | yfp/owdmgchart | 32 | #### templates
htmlToElement = (html) ->
template = document.createElement('template')
template.innerHTML = html.trim()
template.content.firstChild
Handlebars.registerHelper 'ceilRound', (number) -> 2*Math.ceil(number/2)
Handlebars.registerPartial 'heroWeapon',
d3.select('#hero-weapon-template').html()
hero_... | 199187 | #### templates
htmlToElement = (html) ->
template = document.createElement('template')
template.innerHTML = html.trim()
template.content.firstChild
Handlebars.registerHelper 'ceilRound', (number) -> 2*Math.ceil(number/2)
Handlebars.registerPartial 'heroWeapon',
d3.select('#hero-weapon-template').html()
hero_... | true | #### templates
htmlToElement = (html) ->
template = document.createElement('template')
template.innerHTML = html.trim()
template.content.firstChild
Handlebars.registerHelper 'ceilRound', (number) -> 2*Math.ceil(number/2)
Handlebars.registerPartial 'heroWeapon',
d3.select('#hero-weapon-template').html()
hero_... |
[
{
"context": "l', ->\n beforeEach (done) ->\n @emails = ['test@example.com', 'test2@example.com']\n modal.$('#invite-ema",
"end": 598,
"score": 0.9999252557754517,
"start": 582,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "h (done) ->\n @emails = ['t... | test/app/views/teachers/InviteToClassroomModal.spec.coffee | adamcsillag/codecombat | 2 | InviteToClassroomModal = require 'views/courses/InviteToClassroomModal'
User = require 'models/User'
factories = require 'test/app/factories'
describe 'InviteToClassroomModal', ->
modal = null
beforeEach (done) ->
window.me = @teacher = factories.makeUser()
@classroom = factories.makeClassroom({ code: "w... | 124420 | InviteToClassroomModal = require 'views/courses/InviteToClassroomModal'
User = require 'models/User'
factories = require 'test/app/factories'
describe 'InviteToClassroomModal', ->
modal = null
beforeEach (done) ->
window.me = @teacher = factories.makeUser()
@classroom = factories.makeClassroom({ code: "w... | true | InviteToClassroomModal = require 'views/courses/InviteToClassroomModal'
User = require 'models/User'
factories = require 'test/app/factories'
describe 'InviteToClassroomModal', ->
modal = null
beforeEach (done) ->
window.me = @teacher = factories.makeUser()
@classroom = factories.makeClassroom({ code: "w... |
[
{
"context": "rId\n\nPatients.helpers\n fullName: -> return \"#{@firstName} #{@lastName}\"\n\nif Meteor.isServer\n\n mergeInst",
"end": 228,
"score": 0.963751494884491,
"start": 219,
"tag": "USERNAME",
"value": "firstName"
},
{
"context": "helpers\n fullName: -> return \"#{@... | common/patients.coffee | drobbins/kassebaum | 0 | @Patients = new Meteor.Collection "patients"
Patients.allow
update: (userId) -> Kassebaum.authorizedUser userId
remove: (userId) -> Kassebaum.authorizedUser userId
Patients.helpers
fullName: -> return "#{@firstName} #{@lastName}"
if Meteor.isServer
mergeInstancesOfProcurement = (oldNumbers, newNumbe... | 204493 | @Patients = new Meteor.Collection "patients"
Patients.allow
update: (userId) -> Kassebaum.authorizedUser userId
remove: (userId) -> Kassebaum.authorizedUser userId
Patients.helpers
fullName: -> return "#{@firstName} #{@lastName}"
if Meteor.isServer
mergeInstancesOfProcurement = (oldNumbers, newNumbe... | true | @Patients = new Meteor.Collection "patients"
Patients.allow
update: (userId) -> Kassebaum.authorizedUser userId
remove: (userId) -> Kassebaum.authorizedUser userId
Patients.helpers
fullName: -> return "#{@firstName} #{@lastName}"
if Meteor.isServer
mergeInstancesOfProcurement = (oldNumbers, newNumbe... |
[
{
"context": "###\n The MIT License\n\n Copyright (c) 2012 Andrew Cantino\n Copyright (c) 2009 Andrew Cantino & Kyle Maxwell",
"end": 56,
"score": 0.999840259552002,
"start": 42,
"tag": "NAME",
"value": "Andrew Cantino"
},
{
"context": "yright (c) 2012 Andrew Cantino\n Copyright (c) ... | lib/js/core/core.js.coffee | lucasconstantino/selectorgadget | 524 | ###
The MIT License
Copyright (c) 2012 Andrew Cantino
Copyright (c) 2009 Andrew Cantino & Kyle Maxwell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without... | 119008 | ###
The MIT License
Copyright (c) 2012 <NAME>
Copyright (c) 2009 <NAME> & <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights... | true | ###
The MIT License
Copyright (c) 2012 PI:NAME:<NAME>END_PI
Copyright (c) 2009 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restrictio... |
[
{
"context": "ut')\n if $(\"#uname\").find('input').val() == \"sintell\"\n cg.addClass(\"success\")\n consol",
"end": 2101,
"score": 0.6061698198318481,
"start": 2097,
"tag": "USERNAME",
"value": "sint"
},
{
"context": "\n if $(\"#uname\").find('input').val() ... | assets/js/app.coffee | sintell/tests_app | 0 | $ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500
$("#signup").click (e) ->
e.preventDefault()
$("#gr1").addClass("hide")
$("#gr2").removeClass("hide")
$("#hidegr2").click (e) ->
e.preventDefault()
$("#gr1").removeClass("hide")
$("#gr2").addCla... | 88385 | $ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500
$("#signup").click (e) ->
e.preventDefault()
$("#gr1").addClass("hide")
$("#gr2").removeClass("hide")
$("#hidegr2").click (e) ->
e.preventDefault()
$("#gr1").removeClass("hide")
$("#gr2").addCla... | true | $ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500
$("#signup").click (e) ->
e.preventDefault()
$("#gr1").addClass("hide")
$("#gr2").removeClass("hide")
$("#hidegr2").click (e) ->
e.preventDefault()
$("#gr1").removeClass("hide")
$("#gr2").addCla... |
[
{
"context": "or', ->\n vals = _.shuffle [\n { name: 'albert'}\n { name: 'bob'}\n { name: 'cat'}\n ",
"end": 4551,
"score": 0.9994118809700012,
"start": 4545,
"tag": "NAME",
"value": "albert"
},
{
"context": "ffle [\n { name: 'albert'}\n { name... | test/test.coffee | cybernetics/is | 1 | 'use strict'
_ = require 'lodash'
Is = require '../src/is'
require 'should'
testClasses =
Foo: class Foo
testClasses.Bar = class Bar extends testClasses.Foo
addTest = (fn, val, expected, shorthand) ->
if Array.isArray(val) and val.length
it "should return `#{expected}` for values `#{val}`", ->
(Is[fn]... | 157377 | 'use strict'
_ = require 'lodash'
Is = require '../src/is'
require 'should'
testClasses =
Foo: class Foo
testClasses.Bar = class Bar extends testClasses.Foo
addTest = (fn, val, expected, shorthand) ->
if Array.isArray(val) and val.length
it "should return `#{expected}` for values `#{val}`", ->
(Is[fn]... | true | 'use strict'
_ = require 'lodash'
Is = require '../src/is'
require 'should'
testClasses =
Foo: class Foo
testClasses.Bar = class Bar extends testClasses.Foo
addTest = (fn, val, expected, shorthand) ->
if Array.isArray(val) and val.length
it "should return `#{expected}` for values `#{val}`", ->
(Is[fn]... |
[
{
"context": "ken = null\n emailLoginToken = null\n username = 'test'\n email = 'test@ivus.com'\n password = 'password",
"end": 1279,
"score": 0.9975270628929138,
"start": 1275,
"tag": "USERNAME",
"value": "test"
},
{
"context": "lLoginToken = null\n username = 'test'\n email =... | test/authentication_tests.coffee | aramk/meteor-restivus | 0 | DefaultAuthApi = new Restivus
apiPath: 'default-auth'
useDefaultAuth: true
auth:
token: 'services.resume.loginTokens.hashedToken'
user: ->
userId: @request.headers['x-user-id']
token: Accounts._hashLoginToken @request.headers['x-auth-token']
NoDefaultAuthApi = new Restivus
apiPath: 'no-defa... | 83321 | DefaultAuthApi = new Restivus
apiPath: 'default-auth'
useDefaultAuth: true
auth:
token: 'services.resume.loginTokens.hashedToken'
user: ->
userId: @request.headers['x-user-id']
token: Accounts._hashLoginToken @request.headers['x-auth-token']
NoDefaultAuthApi = new Restivus
apiPath: 'no-defa... | true | DefaultAuthApi = new Restivus
apiPath: 'default-auth'
useDefaultAuth: true
auth:
token: 'services.resume.loginTokens.hashedToken'
user: ->
userId: @request.headers['x-user-id']
token: Accounts._hashLoginToken @request.headers['x-auth-token']
NoDefaultAuthApi = new Restivus
apiPath: 'no-defa... |
[
{
"context": "egister: true}}}),\n column.create({display: 'Last Name', property: 'last_name'}),\n column.create({d",
"end": 483,
"score": 0.809066653251648,
"start": 474,
"tag": "NAME",
"value": "Last Name"
},
{
"context": "ty: 'last_name'}),\n column.create({display:... | src/thinkspace/client/thinkspace-team-builder/addon/components/teams/edit/tables/unassigned.coffee | sixthedge/cellar | 6 | import ember from 'ember'
import column from 'totem-table/table/column'
import base from 'thinkspace-team-builder/components/teams/edit/tables/base'
## Component to handle rendering and actions for the edit component's assigned users
export default base.extend
columns: ember.computed 'students', ->
[
c... | 28142 | import ember from 'ember'
import column from 'totem-table/table/column'
import base from 'thinkspace-team-builder/components/teams/edit/tables/base'
## Component to handle rendering and actions for the edit component's assigned users
export default base.extend
columns: ember.computed 'students', ->
[
c... | true | import ember from 'ember'
import column from 'totem-table/table/column'
import base from 'thinkspace-team-builder/components/teams/edit/tables/base'
## Component to handle rendering and actions for the edit component's assigned users
export default base.extend
columns: ember.computed 'students', ->
[
c... |
[
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global describe, b",
"end": 29,
"score": 0.9998891353607178,
"start": 14,
"tag": "NAME",
"value": "Andrew D.Laptev"
},
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global ... | test/test.kill.coffee | agsh/boobst | 16 | ###
* @author Andrew D.Laptev <a.d.laptev@gmail.com>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testKILL';
describe 'kill', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config')
#b... | 35447 | ###
* @author <NAME> <<EMAIL>>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testKILL';
describe 'kill', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config')
#bs.on('debug', console.... | true | ###
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testKILL';
describe 'kill', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config'... |
[
{
"context": "# jsonpatch.js 0.6.1\n# (c) 2011-2017 Byron Ruth\n# jsonpatch may be freely distributed under the B",
"end": 47,
"score": 0.9998288154602051,
"start": 37,
"tag": "NAME",
"value": "Byron Ruth"
}
] | jsonpatch.coffee | bruth/jsonpatch-js | 90 | # jsonpatch.js 0.6.1
# (c) 2011-2017 Byron Ruth
# jsonpatch may be freely distributed under the BSD license
((factory) ->
# Detect global object for browser, node, and worker
root = if window? then window else if global? then global else @;
if typeof exports isnt 'undefined'
# Node/CommonJS
... | 109550 | # jsonpatch.js 0.6.1
# (c) 2011-2017 <NAME>
# jsonpatch may be freely distributed under the BSD license
((factory) ->
# Detect global object for browser, node, and worker
root = if window? then window else if global? then global else @;
if typeof exports isnt 'undefined'
# Node/CommonJS
fac... | true | # jsonpatch.js 0.6.1
# (c) 2011-2017 PI:NAME:<NAME>END_PI
# jsonpatch may be freely distributed under the BSD license
((factory) ->
# Detect global object for browser, node, and worker
root = if window? then window else if global? then global else @;
if typeof exports isnt 'undefined'
# Node/Common... |
[
{
"context": "i = @hybind 'http://localhost'\n @john = name: 'john'\n @http = jasmine.createSpy('http').andReturn ",
"end": 157,
"score": 0.7444043755531311,
"start": 153,
"tag": "NAME",
"value": "john"
},
{
"context": "john\n @john.$bind.ref = 'http://remotehost/john'\n... | index.spec.coffee | lbovet/hybind | 20 | describe 'hybind', ->
Q = require 'q'
beforeEach ->
@hybind = require './index.coffee'
@api = @hybind 'http://localhost'
@john = name: 'john'
@http = jasmine.createSpy('http').andReturn Q()
@hybind.http = @http
describe 'root api', ->
it 'should have self link', ->
expect(@api.$bin... | 148378 | describe 'hybind', ->
Q = require 'q'
beforeEach ->
@hybind = require './index.coffee'
@api = @hybind 'http://localhost'
@john = name: '<NAME>'
@http = jasmine.createSpy('http').andReturn Q()
@hybind.http = @http
describe 'root api', ->
it 'should have self link', ->
expect(@api.$b... | true | describe 'hybind', ->
Q = require 'q'
beforeEach ->
@hybind = require './index.coffee'
@api = @hybind 'http://localhost'
@john = name: 'PI:NAME:<NAME>END_PI'
@http = jasmine.createSpy('http').andReturn Q()
@hybind.http = @http
describe 'root api', ->
it 'should have self link', ->
... |
[
{
"context": "Link = (recording_id) ->\n api_key = 'goea67jyo7i63nf4xdtjn59npnfcee5l'\n api_salt = 't9mp7vdltmhn0nhnq0x4vwh",
"end": 2494,
"score": 0.9997430443763733,
"start": 2462,
"tag": "KEY",
"value": "goea67jyo7i63nf4xdtjn59npnfcee5l"
},
{
"context": "7... | resources/assets/coffee/directives/phones.coffee | maxflex/egerep | 0 | angular.module('Egerep').directive 'phones', ->
restrict: 'E'
templateUrl: 'directives/phones'
scope:
entity: '='
controller: ($scope, $timeout, $rootScope, PhoneService, UserService, $interval) ->
$scope.PhoneService = PhoneService
$scope.UserService = UserService
$sco... | 113190 | angular.module('Egerep').directive 'phones', ->
restrict: 'E'
templateUrl: 'directives/phones'
scope:
entity: '='
controller: ($scope, $timeout, $rootScope, PhoneService, UserService, $interval) ->
$scope.PhoneService = PhoneService
$scope.UserService = UserService
$sco... | true | angular.module('Egerep').directive 'phones', ->
restrict: 'E'
templateUrl: 'directives/phones'
scope:
entity: '='
controller: ($scope, $timeout, $rootScope, PhoneService, UserService, $interval) ->
$scope.PhoneService = PhoneService
$scope.UserService = UserService
$sco... |
[
{
"context": " chrome.bookmarks.update(id, {\n title: name\n url: minified_code\n }, ->\n ",
"end": 2577,
"score": 0.8894693851470947,
"start": 2573,
"tag": "NAME",
"value": "name"
},
{
"context": " chrome.bookmarks.create({\n title: n... | src/coffee/editor.coffee | ddavison/chrome-bookmarklet-ide | 15 | class Editor
objects =
CODE: 'ide-editor-code'
$FILE_NAME: '#ide-editor-file-name'
$FILE_LOCATION: '#ide-editor-file-location'
$BTN_SAVE: '#ide-editor-btn-save'
$BTN_FORMAT: '#ide-editor-btn-formatfile'
$BTN_RUN: '#ide-editor-btn-run'
$BTN_EDITOROPTIONS: '#ide-editor-lnk-editoroptions'
... | 33437 | class Editor
objects =
CODE: 'ide-editor-code'
$FILE_NAME: '#ide-editor-file-name'
$FILE_LOCATION: '#ide-editor-file-location'
$BTN_SAVE: '#ide-editor-btn-save'
$BTN_FORMAT: '#ide-editor-btn-formatfile'
$BTN_RUN: '#ide-editor-btn-run'
$BTN_EDITOROPTIONS: '#ide-editor-lnk-editoroptions'
... | true | class Editor
objects =
CODE: 'ide-editor-code'
$FILE_NAME: '#ide-editor-file-name'
$FILE_LOCATION: '#ide-editor-file-location'
$BTN_SAVE: '#ide-editor-btn-save'
$BTN_FORMAT: '#ide-editor-btn-formatfile'
$BTN_RUN: '#ide-editor-btn-run'
$BTN_EDITOROPTIONS: '#ide-editor-lnk-editoroptions'
... |
[
{
"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.9998739957809448,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/helper/helper.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... | 218048 | ###
@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": "####################################\n#\n#Created by Markus on 12/11/2015.\n#\n################################",
"end": 76,
"score": 0.9988303184509277,
"start": 70,
"tag": "NAME",
"value": "Markus"
}
] | client/components/script/input_fields.coffee | agottschalk10/worklearn | 0 | #######################################################
#
#Created by Markus on 12/11/2015.
#
#######################################################
##############################################
get_editor_id = () ->
editor_id = Template.instance().editor_id.get()
if not editor_id
sAlert.error("Object does not h... | 172514 | #######################################################
#
#Created by <NAME> on 12/11/2015.
#
#######################################################
##############################################
get_editor_id = () ->
editor_id = Template.instance().editor_id.get()
if not editor_id
sAlert.error("Object does not h... | true | #######################################################
#
#Created by PI:NAME:<NAME>END_PI on 12/11/2015.
#
#######################################################
##############################################
get_editor_id = () ->
editor_id = Template.instance().editor_id.get()
if not editor_id
sAlert.error("Obj... |
[
{
"context": "T18:34:04Z\"\n committer: {\n name: \"Dan Buch\"\n avatar_url: \"https://0.gravatar.com/av",
"end": 1226,
"score": 0.9975921511650085,
"start": 1218,
"tag": "NAME",
"value": "Dan Buch"
},
{
"context": "a36\"\n }\n author: {\n ... | tests/unit/components/branch-row-test.coffee | 2947721120/travis-web | 0 | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'branch-row', 'BranchRowComponent', {
# specify the other units that are required for this test
needs: ['helper:format-time', 'helper:format-duration', 'helper:pretty-date', 'helper:format-sha',
'component:build-tile', 'componen... | 195864 | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'branch-row', 'BranchRowComponent', {
# specify the other units that are required for this test
needs: ['helper:format-time', 'helper:format-duration', 'helper:pretty-date', 'helper:format-sha',
'component:build-tile', 'componen... | true | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'branch-row', 'BranchRowComponent', {
# specify the other units that are required for this test
needs: ['helper:format-time', 'helper:format-duration', 'helper:pretty-date', 'helper:format-sha',
'component:build-tile', 'componen... |
[
{
"context": "tive_val = delay\n\n else\n key_matcher = /[a-zA-Z]/g\n val_matcher = /\\d+/g\n params = delay.",
"end": 537,
"score": 0.8581716418266296,
"start": 531,
"tag": "KEY",
"value": "zA-Z]/"
}
] | app/assets/utensils/timeslot/timeslot.coffee | CirrusMD/-deprecated-utensils | 1 | #= require utensils/utensils
class utensils.Timeslot
constructor: () ->
@active_key_types = /^active|^show|^on|^in|^start|^first|^enable|^open/
@deactive_key_types = /^deactive|^hid|^off|^out|^end|^last|^disable|^fade|^close/
getTimeslotFromData: (delay, active_key="activate", deactive_key="deactivate")... | 106793 | #= require utensils/utensils
class utensils.Timeslot
constructor: () ->
@active_key_types = /^active|^show|^on|^in|^start|^first|^enable|^open/
@deactive_key_types = /^deactive|^hid|^off|^out|^end|^last|^disable|^fade|^close/
getTimeslotFromData: (delay, active_key="activate", deactive_key="deactivate")... | true | #= require utensils/utensils
class utensils.Timeslot
constructor: () ->
@active_key_types = /^active|^show|^on|^in|^start|^first|^enable|^open/
@deactive_key_types = /^deactive|^hid|^off|^out|^end|^last|^disable|^fade|^close/
getTimeslotFromData: (delay, active_key="activate", deactive_key="deactivate")... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.999854564666748,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
},
{
"context": "n array of keys\", ->\n expect(@keys_of name: \"Peter\",... | tests/test-core.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... | 202673 | #
# Copyright (c) 2012 <NAME>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 PI:NAME:<NAME>END_PI.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "\n\t\t_id : ObjectId\n\t\tusername : String\n\t\tpassword : String\n\n\t@model = mongoose.model collection, schema\n\tret",
"end": 175,
"score": 0.6943221688270569,
"start": 169,
"tag": "PASSWORD",
"value": "String"
}
] | models/user.coffee | octodoodle/salpakan-online | 1 | user = (mongoose) ->
collection = 'user'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
schema = new Schema
_id : ObjectId
username : String
password : String
@model = mongoose.model collection, schema
return @
module.exports = user | 74461 | user = (mongoose) ->
collection = 'user'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
schema = new Schema
_id : ObjectId
username : String
password : <PASSWORD>
@model = mongoose.model collection, schema
return @
module.exports = user | true | user = (mongoose) ->
collection = 'user'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
schema = new Schema
_id : ObjectId
username : String
password : PI:PASSWORD:<PASSWORD>END_PI
@model = mongoose.model collection, schema
return @
module.exports = user |
[
{
"context": "t: '/test'\n syncKey: 'itemsList'\n ignoreKeys: ['bad']\n\nclass PaginatingViewMock extends Templatable P",
"end": 593,
"score": 0.9578936696052551,
"start": 590,
"tag": "KEY",
"value": "bad"
}
] | mixins/views/paginating.spec.coffee | kpunith8/gringotts | 0 | import Chaplin from 'chaplin'
import ActiveSyncMachine from '../models/active-sync-machine'
import Paginated from '../models/paginated'
import Paginating from './paginating'
import Templatable from './templatable'
import templateMock from './paginating.spec.hbs'
class ItemViewMock extends Chaplin.View
tagName: 'tr'
... | 40875 | import Chaplin from 'chaplin'
import ActiveSyncMachine from '../models/active-sync-machine'
import Paginated from '../models/paginated'
import Paginating from './paginating'
import Templatable from './templatable'
import templateMock from './paginating.spec.hbs'
class ItemViewMock extends Chaplin.View
tagName: 'tr'
... | true | import Chaplin from 'chaplin'
import ActiveSyncMachine from '../models/active-sync-machine'
import Paginated from '../models/paginated'
import Paginating from './paginating'
import Templatable from './templatable'
import templateMock from './paginating.spec.hbs'
class ItemViewMock extends Chaplin.View
tagName: 'tr'
... |
[
{
"context": "th\"]\n ['email', \"Email\"]\n ['password', \"Password\"]\n ['access_key_id', \"Access Key Id\"]\n ",
"end": 256,
"score": 0.9986598491668701,
"start": 248,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": " ['database', \"Database\"]\n ... | lib/renderer.coffee | jacobmarshall-etc/1pass | 0 | util = require 'util'
METADATA = [
["Logins", [
['webforms.WebForm', "Login", [
]]
]]
["Accounts", [
['wallet.onlineservices.AmazonS3', "Amazon Web Service", [
['path', "Path"]
['email', "Email"]
['password', "Password"]
['access_key_id', "Access Key Id"]
['access_key',... | 7733 | util = require 'util'
METADATA = [
["Logins", [
['webforms.WebForm', "Login", [
]]
]]
["Accounts", [
['wallet.onlineservices.AmazonS3', "Amazon Web Service", [
['path', "Path"]
['email', "Email"]
['password', "<PASSWORD>"]
['access_key_id', "Access Key Id"]
['access_key... | true | util = require 'util'
METADATA = [
["Logins", [
['webforms.WebForm', "Login", [
]]
]]
["Accounts", [
['wallet.onlineservices.AmazonS3', "Amazon Web Service", [
['path', "Path"]
['email', "Email"]
['password', "PI:PASSWORD:<PASSWORD>END_PI"]
['access_key_id', "Access Key Id"]
... |
[
{
"context": "# Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and u",
"end": 35,
"score": 0.9998395442962646,
"start": 22,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Red... | test/cover.coffee | samuelhorwitz/ibrik | 30 | # Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condition... | 106189 | # Copyright (C) 2014 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following d... | true | # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of c... |
[
{
"context": ".authActor, \"hAuth\", {login: data.login, password: data.password, context: data.context},{timeout: authTimeout}\n ",
"end": 4864,
"score": 0.9992378354072571,
"start": 4851,
"tag": "PASSWORD",
"value": "data.password"
}
] | lib/client_connector/socketio_connector.coffee | fredpottier/hubiquitus | 2 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | 173244 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | true | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... |
[
{
"context": "###\n# grunt/concurrent.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our con",
"end": 52,
"score": 0.9996762275695801,
"start": 41,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/concurrent.coffee | dlnichols/h_media | 0 | ###
# grunt/concurrent.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our concurrent configuration block for grunt
###
'use strict'
module.exports =
# Run some tasks in parallel to speed up the build process
build: [
'compass:build'
'newer:less:build'
'newer:coffee:build'
'... | 218893 | ###
# grunt/concurrent.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our concurrent configuration block for grunt
###
'use strict'
module.exports =
# Run some tasks in parallel to speed up the build process
build: [
'compass:build'
'newer:less:build'
'newer:coffee:build'
'copy'... | true | ###
# grunt/concurrent.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our concurrent configuration block for grunt
###
'use strict'
module.exports =
# Run some tasks in parallel to speed up the build process
build: [
'compass:build'
'newer:less:build'
'newer:coffee:bui... |
[
{
"context": "nd',->\n console.log 'Common Exit.'\n\nclient.auth 'averyveryveryveryverylongpassword.',(err)->\n client.keys 'ticket:*',(e,list)->\n ",
"end": 241,
"score": 0.9353680610656738,
"start": 208,
"tag": "PASSWORD",
"value": "averyveryveryveryverylongpassword"
}
] | share/doublelist.coffee | android1and1/tickets | 0 | redis = require 'redis'
util = require 'util'
client = redis.createClient()
client.on 'error',(e)->console.error 'Error Message::' + e.message
client.on 'end',->
console.log 'Common Exit.'
client.auth 'averyveryveryveryverylongpassword.',(err)->
client.keys 'ticket:*',(e,list)->
console.log i for i in list
... | 48970 | redis = require 'redis'
util = require 'util'
client = redis.createClient()
client.on 'error',(e)->console.error 'Error Message::' + e.message
client.on 'end',->
console.log 'Common Exit.'
client.auth '<PASSWORD>.',(err)->
client.keys 'ticket:*',(e,list)->
console.log i for i in list
client.quit()
| true | redis = require 'redis'
util = require 'util'
client = redis.createClient()
client.on 'error',(e)->console.error 'Error Message::' + e.message
client.on 'end',->
console.log 'Common Exit.'
client.auth 'PI:PASSWORD:<PASSWORD>END_PI.',(err)->
client.keys 'ticket:*',(e,list)->
console.log i for i in list
c... |
[
{
"context": "sed on a key and the local prefix\", ->\n key = \"zorg\"\n local_prefix = WebActors._getLocalPrefix()\n ",
"end": 15140,
"score": 0.9991970062255859,
"start": 15136,
"tag": "KEY",
"value": "zorg"
},
{
"context": "ld return locally-unique prefixes\", ->\n key = ... | spec/ActorSpec.coffee | oloed/webactors | 2 | ANY = WebActors.ANY
describe "A WebActors Actor", ->
it "should have a unique ID", ->
actor_id_a = WebActors.spawn ->
actor_id_b = WebActors.spawn ->
expect(actor_id_a).not.toEqual(actor_id_b)
it "should be able to access its own ID", ->
got_id = null
actor_id = WebActors.spawn ->
got_... | 90433 | ANY = WebActors.ANY
describe "A WebActors Actor", ->
it "should have a unique ID", ->
actor_id_a = WebActors.spawn ->
actor_id_b = WebActors.spawn ->
expect(actor_id_a).not.toEqual(actor_id_b)
it "should be able to access its own ID", ->
got_id = null
actor_id = WebActors.spawn ->
got_... | true | ANY = WebActors.ANY
describe "A WebActors Actor", ->
it "should have a unique ID", ->
actor_id_a = WebActors.spawn ->
actor_id_b = WebActors.spawn ->
expect(actor_id_a).not.toEqual(actor_id_b)
it "should be able to access its own ID", ->
got_id = null
actor_id = WebActors.spawn ->
got_... |
[
{
"context": "exports.twitter =\n consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'\n consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"end": 74,
"score": 0.8657732605934143,
"start": 36,
"tag": "KEY",
"value": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
},
{
"context": "XXXXXXX... | server-side-source/config/sample-keys.coffee | Lissy93/twitter-sentiment-visualisation- | 155 | exports.twitter =
consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
token: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
token_secret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.googlePlaces = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.hp... | 189656 | exports.twitter =
consumer_key : '<KEY>'
consumer_secret : '<KEY>'
token: '<KEY>'
token_secret: '<KEY>'
exports.googlePlaces = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.hp = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.watson =
username: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
password: '<KEY... | true | exports.twitter =
consumer_key : 'PI:KEY:<KEY>END_PI'
consumer_secret : 'PI:KEY:<KEY>END_PI'
token: 'PI:KEY:<KEY>END_PI'
token_secret: 'PI:KEY:<KEY>END_PI'
exports.googlePlaces = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.hp = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
exports.watson =
username: 'XXXXX... |
[
{
"context": "ttp://kevin.vanzonneveld.net\r\n # + original by: Tyler Akins (http://rumkin.com)\r\n # + improved by: Bayron ",
"end": 1632,
"score": 0.9999033212661743,
"start": 1621,
"tag": "NAME",
"value": "Tyler Akins"
},
{
"context": "er Akins (http://rumkin.com)\r\n # + ... | assets/js/p3d.coffee | D1plo1d/ctrlpanel | 1 | # Utils
# -----------------------------------------------------
# check if a string starts with the given substring
startsWith = (str, substring) ->
str[0..substring.length-1] == substring
eachLine = (str, callback) ->
# Note: this implementation may becomes a serious memory concern in large strings.
#... | 16104 | # Utils
# -----------------------------------------------------
# check if a string starts with the given substring
startsWith = (str, substring) ->
str[0..substring.length-1] == substring
eachLine = (str, callback) ->
# Note: this implementation may becomes a serious memory concern in large strings.
#... | true | # Utils
# -----------------------------------------------------
# check if a string starts with the given substring
startsWith = (str, substring) ->
str[0..substring.length-1] == substring
eachLine = (str, callback) ->
# Note: this implementation may becomes a serious memory concern in large strings.
#... |
[
{
"context": "###\nexperiment.coffee\nFred Callaway\n\nDemonstrates the mouselab-mdp jspsych plugin\n\n##",
"end": 35,
"score": 0.9998843669891357,
"start": 22,
"tag": "NAME",
"value": "Fred Callaway"
}
] | src/experiment.coffee | Jocwo/metacognitive_learning | 0 | ###
experiment.coffee
Fred Callaway
Demonstrates the mouselab-mdp jspsych plugin
###
# coffeelint: disable=max_line_length, indentation
# Enforce a minimum window size
checkWindowSize = (width, height, display) ->
console.log 'cws'
win_width = $(window).width()
maxHeight = $(window).height()
if $(window).wid... | 195093 | ###
experiment.coffee
<NAME>
Demonstrates the mouselab-mdp jspsych plugin
###
# coffeelint: disable=max_line_length, indentation
# Enforce a minimum window size
checkWindowSize = (width, height, display) ->
console.log 'cws'
win_width = $(window).width()
maxHeight = $(window).height()
if $(window).width() < ... | true | ###
experiment.coffee
PI:NAME:<NAME>END_PI
Demonstrates the mouselab-mdp jspsych plugin
###
# coffeelint: disable=max_line_length, indentation
# Enforce a minimum window size
checkWindowSize = (width, height, display) ->
console.log 'cws'
win_width = $(window).width()
maxHeight = $(window).height()
if $(wind... |
[
{
"context": " WebMoney service\n#\n# June, 2013 year\n#\n# Author - Vladimir Andreev\n#\n# E-Mail: volodya@netfolder.ru\n\n# Required modu",
"end": 68,
"score": 0.9998749494552612,
"start": 52,
"tag": "NAME",
"value": "Vladimir Andreev"
},
{
"context": "013 year\n#\n# Author - Vladi... | src/service.coffee | listepo/webmoney | 1 | # WebMoney service
#
# June, 2013 year
#
# Author - Vladimir Andreev
#
# E-Mail: volodya@netfolder.ru
# Required modules
https = require('https')
XML = require('../../../xml-objects').XML
filters = require('../../../../http-helpers')
filters.patch()
filters.SERIALIZERS['application/xml'] = (data) -> XML.stringify(da... | 35213 | # WebMoney service
#
# June, 2013 year
#
# Author - <NAME>
#
# E-Mail: <EMAIL>
# Required modules
https = require('https')
XML = require('../../../xml-objects').XML
filters = require('../../../../http-helpers')
filters.patch()
filters.SERIALIZERS['application/xml'] = (data) -> XML.stringify(data)
filters.PARSERS['te... | true | # WebMoney service
#
# June, 2013 year
#
# Author - PI:NAME:<NAME>END_PI
#
# E-Mail: PI:EMAIL:<EMAIL>END_PI
# Required modules
https = require('https')
XML = require('../../../xml-objects').XML
filters = require('../../../../http-helpers')
filters.patch()
filters.SERIALIZERS['application/xml'] = (data) -> XML.string... |
[
{
"context": "ager.send(sourceCorporation, { id: 'ifel', name: 'IFEL' }, [sourceTycoon], \"Mail Undeliverable: #{subjec",
"end": 9718,
"score": 0.8871463537216187,
"start": 9714,
"tag": "NAME",
"value": "IFEL"
}
] | src/api/corporation-api.coffee | starpeace-project/starpeace-server-galaxy-nodejs | 0 | _ = require('lodash')
passport = require('passport')
module.exports = class CorporationApi
constructor: (@galaxyManager, @bookmarkManager, @companyManager, @corporationManager, @mailManager, @tycoonManager) ->
getCorporation: () -> (req, res, next) =>
return res.status(400) unless req.params.corporationId?
... | 173907 | _ = require('lodash')
passport = require('passport')
module.exports = class CorporationApi
constructor: (@galaxyManager, @bookmarkManager, @companyManager, @corporationManager, @mailManager, @tycoonManager) ->
getCorporation: () -> (req, res, next) =>
return res.status(400) unless req.params.corporationId?
... | true | _ = require('lodash')
passport = require('passport')
module.exports = class CorporationApi
constructor: (@galaxyManager, @bookmarkManager, @companyManager, @corporationManager, @mailManager, @tycoonManager) ->
getCorporation: () -> (req, res, next) =>
return res.status(400) unless req.params.corporationId?
... |
[
{
"context": "pts.\n do (migrationKey = \"copyNonDefaultsToChromeStorage-20150717\") ->\n unless localStorage[migrationKey]\n ",
"end": 8468,
"score": 0.9565337300300598,
"start": 8452,
"tag": "KEY",
"value": "Storage-20150717"
}
] | lib/settings.coffee | windwanghuiyong/vimium | 0 |
# A "setting" is a stored key/value pair. An "option" is a setting which has a default value and whose value
# can be changed on the options page.
#
# Option values which have never been changed by the user are in Settings.defaults.
#
# Settings whose values have been changed are:
# 1. stored either in chrome.storage... | 71289 |
# A "setting" is a stored key/value pair. An "option" is a setting which has a default value and whose value
# can be changed on the options page.
#
# Option values which have never been changed by the user are in Settings.defaults.
#
# Settings whose values have been changed are:
# 1. stored either in chrome.storage... | true |
# A "setting" is a stored key/value pair. An "option" is a setting which has a default value and whose value
# can be changed on the options page.
#
# Option values which have never been changed by the user are in Settings.defaults.
#
# Settings whose values have been changed are:
# 1. stored either in chrome.storage... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.999882698059082,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/v... | src/extensions/model_stream.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
try stream = require 'stream' # stream is large so it is optional on the browser
if s... | 40484 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
try stream = require 'stream' # stream is large so it is optional on the browser
if str... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
try stream = require 'stream' # stream is large so it is optional on the ... |
[
{
"context": "# (c) 2013-2018 Flowhub UG\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 116,
"score": 0.999841570854187,
"start": 103,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "2018 Flowhub UG\n# (c) 2011-2012 Hen... | src/lib/NoFlo.coffee | rrothenb/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the
# main entry point to the NoFlo network.
#
# F... | 47605 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the
# main entry point to the NoFlo network.
#
# Find out... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the
# main entry point to the... |
[
{
"context": "###\n * 处理 require js 文件的相关细节\n * @author jackie Lin <dashi_lin@163.com>\n###\n'use strict'\n\nthrough2 = ",
"end": 50,
"score": 0.9996848702430725,
"start": 40,
"tag": "NAME",
"value": "jackie Lin"
},
{
"context": "#\n * 处理 require js 文件的相关细节\n * @author jackie Lin <da... | require.coffee | JackieLin/gis | 0 | ###
* 处理 require js 文件的相关细节
* @author jackie Lin <dashi_lin@163.com>
###
'use strict'
through2 = require 'through2'
path = require 'path'
config = {}
FS = require 'q-io/fs'
###
* 生成基本的配置信息
* @return {String} config
###
getDevConfig = (msg)->
JSON.stringify msg, null, 4
getConfig = (msg)->
JSON.stringify... | 121227 | ###
* 处理 require js 文件的相关细节
* @author <NAME> <<EMAIL>>
###
'use strict'
through2 = require 'through2'
path = require 'path'
config = {}
FS = require 'q-io/fs'
###
* 生成基本的配置信息
* @return {String} config
###
getDevConfig = (msg)->
JSON.stringify msg, null, 4
getConfig = (msg)->
JSON.stringify msg
###
* ... | true | ###
* 处理 require js 文件的相关细节
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
through2 = require 'through2'
path = require 'path'
config = {}
FS = require 'q-io/fs'
###
* 生成基本的配置信息
* @return {String} config
###
getDevConfig = (msg)->
JSON.stringify msg, null, 4
getConfig = (msg)->
... |
[
{
"context": "model = new DotLedger.Models.Account\n name: 'Some Account'\n view = createView(model).render()\n expect",
"end": 1217,
"score": 0.8987180590629578,
"start": 1205,
"tag": "NAME",
"value": "Some Account"
},
{
"context": "der()\n\n view.$el.find('input[name=... | spec/javascripts/dot_ledger/views/accounts/form_spec.js.coffee | timobleeker/dotledger | 0 | describe "DotLedger.Views.Accounts.Form", ->
createView = (model = new DotLedger.Models.Account())->
view = new DotLedger.Views.Accounts.Form
model: model
view
it "should be defined", ->
expect(DotLedger.Views.Accounts.Form).toBeDefined()
it "should use the correct template", ->
expect(Dot... | 193522 | describe "DotLedger.Views.Accounts.Form", ->
createView = (model = new DotLedger.Models.Account())->
view = new DotLedger.Views.Accounts.Form
model: model
view
it "should be defined", ->
expect(DotLedger.Views.Accounts.Form).toBeDefined()
it "should use the correct template", ->
expect(Dot... | true | describe "DotLedger.Views.Accounts.Form", ->
createView = (model = new DotLedger.Models.Account())->
view = new DotLedger.Views.Accounts.Form
model: model
view
it "should be defined", ->
expect(DotLedger.Views.Accounts.Form).toBeDefined()
it "should use the correct template", ->
expect(Dot... |
[
{
"context": "d in the specified format.\n for key in ['color', 'size', 'tool']\n if $this.attr(\"data-#{key}\")\n",
"end": 6459,
"score": 0.7770912051200867,
"start": 6444,
"tag": "KEY",
"value": "color', 'size',"
},
{
"context": "d format.\n for key in ... | src/scribble.coffee | leMaik/scribble.js | 0 | Undo = require './undo'
# # Scribble.js (v0.0.1)
#
# **Scribble.js** is a simple jQuery plugin for creating drawable canvases
# using HTML5 Canvas. It supports multiple browsers including mobile
# devices (albeit with performance penalties).
scribblejs = ($) ->
# ### jQuery('#mycanvas').scribble(options)
#
# Giv... | 997 | Undo = require './undo'
# # Scribble.js (v0.0.1)
#
# **Scribble.js** is a simple jQuery plugin for creating drawable canvases
# using HTML5 Canvas. It supports multiple browsers including mobile
# devices (albeit with performance penalties).
scribblejs = ($) ->
# ### jQuery('#mycanvas').scribble(options)
#
# Giv... | true | Undo = require './undo'
# # Scribble.js (v0.0.1)
#
# **Scribble.js** is a simple jQuery plugin for creating drawable canvases
# using HTML5 Canvas. It supports multiple browsers including mobile
# devices (albeit with performance penalties).
scribblejs = ($) ->
# ### jQuery('#mycanvas').scribble(options)
#
# Giv... |
[
{
"context": " app.factory \"Data\", ->\n fname: \"Austin\"\n lname: \"Ewens\"\n n",
"end": 356,
"score": 0.9996118545532227,
"start": 350,
"tag": "NAME",
"value": "Austin"
},
{
"context": " fname: \"Austin\"\n ln... | public/javascripts/modules/help/angular-learn.coffee | aewens/playground | 0 | define [
"corejs"
], (Core) ->
Core.register "angular-learn", (sandbox) ->
init: ->
console.log "Starting angular-learn..."
angular = sandbox.use("angular")
@destroy() unless angular
app = angular.module("angular-learn", [])
app.factory "Data... | 171426 | define [
"corejs"
], (Core) ->
Core.register "angular-learn", (sandbox) ->
init: ->
console.log "Starting angular-learn..."
angular = sandbox.use("angular")
@destroy() unless angular
app = angular.module("angular-learn", [])
app.factory "Data... | true | define [
"corejs"
], (Core) ->
Core.register "angular-learn", (sandbox) ->
init: ->
console.log "Starting angular-learn..."
angular = sandbox.use("angular")
@destroy() unless angular
app = angular.module("angular-learn", [])
app.factory "Data... |
[
{
"context": "app_id\": \"app-id\"}}]'\n invites='[${2:{\"id\": \"example@provider.com\", \"invite_type\": \"EMAIL\"}}]'\n topic=\"${3:top",
"end": 193,
"score": 0.99992436170578,
"start": 173,
"tag": "EMAIL",
"value": "example@provider.com"
}
] | snippets/google-hangout-button.cson | TimvdLippe/Atom-PolymerSnippets | 84 | ".text.html":
"google-hangout-button":
"prefix": "ghb"
"body": """
<google-hangout-button
apps='[${1:{"app_id": "app-id"}}]'
invites='[${2:{"id": "example@provider.com", "invite_type": "EMAIL"}}]'
topic="${3:topic}"
type="${4:normal}"
on-google-hangout-button-ready="${5:hango... | 11743 | ".text.html":
"google-hangout-button":
"prefix": "ghb"
"body": """
<google-hangout-button
apps='[${1:{"app_id": "app-id"}}]'
invites='[${2:{"id": "<EMAIL>", "invite_type": "EMAIL"}}]'
topic="${3:topic}"
type="${4:normal}"
on-google-hangout-button-ready="${5:hangoutButtonReady... | true | ".text.html":
"google-hangout-button":
"prefix": "ghb"
"body": """
<google-hangout-button
apps='[${1:{"app_id": "app-id"}}]'
invites='[${2:{"id": "PI:EMAIL:<EMAIL>END_PI", "invite_type": "EMAIL"}}]'
topic="${3:topic}"
type="${4:normal}"
on-google-hangout-button-ready="${5:han... |
[
{
"context": "ogle.com'\n 'gmail.com'\n 'hotmail.com'\n 'example.com'\n]\n\n# store events in an array before recording s",
"end": 1217,
"score": 0.9996700286865234,
"start": 1214,
"tag": "EMAIL",
"value": "com"
}
] | src/examples/record-events.iced | tosadvisor/trk | 1 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
# create a new instance of trk
Trk = require './../module'
trk = new Trk {
redis: _.redis()
key: 'examples'
map: {
bmp: [
'ip'
]
add: [
'event'
'event~offer'
'event~offer~creati... | 188048 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
# create a new instance of trk
Trk = require './../module'
trk = new Trk {
redis: _.redis()
key: 'examples'
map: {
bmp: [
'ip'
]
add: [
'event'
'event~offer'
'event~offer~creati... | true | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
# create a new instance of trk
Trk = require './../module'
trk = new Trk {
redis: _.redis()
key: 'examples'
map: {
bmp: [
'ip'
]
add: [
'event'
'event~offer'
'event~offer~creati... |
[
{
"context": "-item__artist-name').first().text().should.equal 'James Rosenquist'\n $('body').find('.artist-cell-item__followe",
"end": 1268,
"score": 0.9981153607368469,
"start": 1252,
"tag": "NAME",
"value": "James Rosenquist"
}
] | src/desktop/apps/artwork/components/related_artists/test/client.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
artists = require './artists_fixture.coffee'
CurrentUser = require '../../../../../models/current_user.coffee'
describe 'Clie... | 222997 | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
artists = require './artists_fixture.coffee'
CurrentUser = require '../../../../../models/current_user.coffee'
describe 'Clie... | true | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
artists = require './artists_fixture.coffee'
CurrentUser = require '../../../../../models/current_user.coffee'
describe 'Clie... |
[
{
"context": "leoverview Tests for no-delete-var rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 73,
"score": 0.9998170733451843,
"start": 61,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-delete-var.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-delete-var rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-delete-var'
{Ru... | 94640 | ###*
# @fileoverview Tests for no-delete-var rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-delete-var'
{RuleTest... | true | ###*
# @fileoverview Tests for no-delete-var rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-delete-... |
[
{
"context": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.9998615384101868,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/search.js.coffee | ramses-lopez/re-crm | 1 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
$ ->
$("#advanc... | 62395 | # Copyright (c) 2008-2013 <NAME> and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
$ ->
$("#advanced_search... | true | # Copyright (c) 2008-2013 PI:NAME:<NAME>END_PI and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
$ ->
$("#a... |
[
{
"context": "new Tutorials @\n @client.start()\n\n setToken:(@token,@username)->\n @client.setToken @token\n\n creat",
"end": 875,
"score": 0.7291113138198853,
"start": 870,
"tag": "USERNAME",
"value": "token"
},
{
"context": "utorials @\n @client.start()\n\n setToken:(@... | static/js/app.coffee | francishero/microstudio | 0 | app = null
window.addEventListener "load",()->
app = new App()
class App
constructor:()->
@translator = new Translator @
@app_state = new AppState @
@appui = new AppUI @
@explore = new Explore @
@client = new Client @
@about = new About @
@documentation = new Documentation @
@ed... | 85850 | app = null
window.addEventListener "load",()->
app = new App()
class App
constructor:()->
@translator = new Translator @
@app_state = new AppState @
@appui = new AppUI @
@explore = new Explore @
@client = new Client @
@about = new About @
@documentation = new Documentation @
@ed... | true | app = null
window.addEventListener "load",()->
app = new App()
class App
constructor:()->
@translator = new Translator @
@app_state = new AppState @
@appui = new AppUI @
@explore = new Explore @
@client = new Client @
@about = new About @
@documentation = new Documentation @
@ed... |
[
{
"context": "in one flat file to be used\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\nfs = require('fs')\nlovelyrc = require('.",
"end": 140,
"score": 0.9998902678489685,
"start": 123,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/dump.coffee | lovely-io/lovely.io-stl | 2 | #
# This commands allows you to dump all the modules
# and dependencies in one flat file to be used
#
# Copyright (C) 2012 Nikolay Nemshilov
#
fs = require('fs')
lovelyrc = require('../lovelyrc')
location = lovelyrc.base + "/packages/"
read_module = (name, modules)->
if version = name.match(/\d+\.\d+\.\d+/)
... | 122844 | #
# This commands allows you to dump all the modules
# and dependencies in one flat file to be used
#
# Copyright (C) 2012 <NAME>
#
fs = require('fs')
lovelyrc = require('../lovelyrc')
location = lovelyrc.base + "/packages/"
read_module = (name, modules)->
if version = name.match(/\d+\.\d+\.\d+/)
p_name ... | true | #
# This commands allows you to dump all the modules
# and dependencies in one flat file to be used
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
fs = require('fs')
lovelyrc = require('../lovelyrc')
location = lovelyrc.base + "/packages/"
read_module = (name, modules)->
if version = name.match(/\d+\.\d+\.\d+/... |
[
{
"context": ".spaceId()\n\t\t\t\t\t\trequest.headers['X-Auth-Token'] = Accounts._storedLoginToken()\n\t\t\t\t\terrorHandler: (error) ->\n\t\t\t\t\t\tconsole.log",
"end": 7028,
"score": 0.8106740713119507,
"start": 7002,
"tag": "KEY",
"value": "Accounts._storedLoginToken"
}
] | creator/packages/steedos-creator/client/views/search_result_list.coffee | yicone/steedos-platform | 42 | _itemClick = (e, object_name, dxSearchGridInstance)->
record = e.data
if !record
return
if _.isObject(record._id)
record._id = record._id._value
record_permissions = Creator.getRecordPermissions object_name, record, Meteor.userId()
actions = _actionItems(object_name, record._id, record_permissions)
if acti... | 214891 | _itemClick = (e, object_name, dxSearchGridInstance)->
record = e.data
if !record
return
if _.isObject(record._id)
record._id = record._id._value
record_permissions = Creator.getRecordPermissions object_name, record, Meteor.userId()
actions = _actionItems(object_name, record._id, record_permissions)
if acti... | true | _itemClick = (e, object_name, dxSearchGridInstance)->
record = e.data
if !record
return
if _.isObject(record._id)
record._id = record._id._value
record_permissions = Creator.getRecordPermissions object_name, record, Meteor.userId()
actions = _actionItems(object_name, record._id, record_permissions)
if acti... |
[
{
"context": ">\n firstCart = Factory.create('cart', name: 'First', current: true)\n firstCart.addCartItem(Fact",
"end": 938,
"score": 0.8764358758926392,
"start": 933,
"tag": "NAME",
"value": "First"
},
{
"context": "\n secondCart = Factory.create('cart', name: 'Secon... | spec/javascripts/controllers/carts_controller_spec.js.coffee | menglifang/ember-cart | 2 | #= require spec_helper
describe 'EmberCart.cartsController', ->
beforeEach ->
Factory.store = DS.Store.create
revision: 4
adapter: DS.RESTAdapter.create(bulkCommit: false)
isDefaultStore: true
EmberCart.store = Factory.store
afterEach ->
Ember.run -> Factory.store.destroy()
descr... | 220978 | #= require spec_helper
describe 'EmberCart.cartsController', ->
beforeEach ->
Factory.store = DS.Store.create
revision: 4
adapter: DS.RESTAdapter.create(bulkCommit: false)
isDefaultStore: true
EmberCart.store = Factory.store
afterEach ->
Ember.run -> Factory.store.destroy()
descr... | true | #= require spec_helper
describe 'EmberCart.cartsController', ->
beforeEach ->
Factory.store = DS.Store.create
revision: 4
adapter: DS.RESTAdapter.create(bulkCommit: false)
isDefaultStore: true
EmberCart.store = Factory.store
afterEach ->
Ember.run -> Factory.store.destroy()
descr... |
[
{
"context": "dule.exports =\n provideEnvironment: ->\n key: 'ptyw'\n mod: require('./environment')\n",
"end": 56,
"score": 0.9985750913619995,
"start": 52,
"tag": "KEY",
"value": "ptyw"
}
] | lib/build-tools-pty.coffee | deprint/build-tools-pty | 0 | module.exports =
provideEnvironment: ->
key: 'ptyw'
mod: require('./environment')
| 152458 | module.exports =
provideEnvironment: ->
key: '<KEY>'
mod: require('./environment')
| true | module.exports =
provideEnvironment: ->
key: 'PI:KEY:<KEY>END_PI'
mod: require('./environment')
|
[
{
"context": "###\n resource-embedder\n https://github.com/callumlocke/resource-embedder\n Copyright 2013 Callum Locke\n ",
"end": 56,
"score": 0.9995628595352173,
"start": 45,
"tag": "USERNAME",
"value": "callumlocke"
},
{
"context": "com/callumlocke/resource-embedder\n Copyrigh... | src/parse-file-size.coffee | callumlocke/resource-embedder | 1 | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 Callum Locke
Licensed under the MIT license.
###
multipliers =
kb: 1024
KB: 1024
b: 1
bytes: 1
module.exports = (str) ->
if typeof str is 'number'
return str
number = str.match(/^[0-9\.]+/)
if !number? or ... | 194715 | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 <NAME>
Licensed under the MIT license.
###
multipliers =
kb: 1024
KB: 1024
b: 1
bytes: 1
module.exports = (str) ->
if typeof str is 'number'
return str
number = str.match(/^[0-9\.]+/)
if !number? or !numbe... | true | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
multipliers =
kb: 1024
KB: 1024
b: 1
bytes: 1
module.exports = (str) ->
if typeof str is 'number'
return str
number = str.match(/^[0-9\.]+/)
if !num... |
[
{
"context": "gory _.extend {}, @props,\n key: \"search-category-#{category.name}\"\n eventKey: String",
"end": 2657,
"score": 0.8635023236274719,
"start": 2639,
"tag": "KEY",
"value": "search-category-#{"
},
{
"context": " key: \"sea... | src/components/search.coffee | brianshaler/kerplunk-plugin-manager | 0 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Accordion = React.createFactory Bootstrap.Accordion
Button = React.createFactory Bootstrap.Button
Input = React.createFactory Bootstrap.Input
Category = require './category'
categorize = require './categorize'
{DOM} = React
module.ex... | 131588 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Accordion = React.createFactory Bootstrap.Accordion
Button = React.createFactory Bootstrap.Button
Input = React.createFactory Bootstrap.Input
Category = require './category'
categorize = require './categorize'
{DOM} = React
module.ex... | true | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Accordion = React.createFactory Bootstrap.Accordion
Button = React.createFactory Bootstrap.Button
Input = React.createFactory Bootstrap.Input
Category = require './category'
categorize = require './categorize'
{DOM} = React
module.ex... |
[
{
"context": " rs = new spark.core.RemoteStore options, name: 'Fatih', username: 'facet'\n\n rs.save (err, data) ->\n ",
"end": 1014,
"score": 0.9968410730361938,
"start": 1009,
"tag": "NAME",
"value": "Fatih"
},
{
"context": "re.RemoteStore options, name: 'Fatih', username: 'fac... | src/tests/core/test_remoteStore.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.core.RemoteStore'
apiKey = window.__env__.MONGOLAB_API_KEY
url = "https://api.mongolab.com/api/1/databases/spark-fw/collections/users/{{_id}}?apiKey=#{apiKey}"
urlGetter = (type) ->
_id = ''
if type in [ 'GET', 'PUT', 'DELETE']
if @get('_id')
_... | 122380 | goog = goog or goog = require: ->
goog.require 'spark.core.RemoteStore'
apiKey = window.__env__.MONGOLAB_API_KEY
url = "https://api.mongolab.com/api/1/databases/spark-fw/collections/users/{{_id}}?apiKey=#{apiKey}"
urlGetter = (type) ->
_id = ''
if type in [ 'GET', 'PUT', 'DELETE']
if @get('_id')
_... | true | goog = goog or goog = require: ->
goog.require 'spark.core.RemoteStore'
apiKey = window.__env__.MONGOLAB_API_KEY
url = "https://api.mongolab.com/api/1/databases/spark-fw/collections/users/{{_id}}?apiKey=#{apiKey}"
urlGetter = (type) ->
_id = ''
if type in [ 'GET', 'PUT', 'DELETE']
if @get('_id')
_... |
[
{
"context": "ic functionality for our collections.\n\n @author Sebastian Sachtleben\n###\nclass BaseCollection extends Backbone.Collect",
"end": 106,
"score": 0.9998869299888611,
"start": 86,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/shared/models/baseCollection.coffee | ssachtleben/herowar | 1 | ###
BaseCollection provides basic functionality for our collections.
@author Sebastian Sachtleben
###
class BaseCollection extends Backbone.Collection
fetch: (options) ->
options = {} unless options?
@id = options.id if options.id
super options
return BaseCollection | 171258 | ###
BaseCollection provides basic functionality for our collections.
@author <NAME>
###
class BaseCollection extends Backbone.Collection
fetch: (options) ->
options = {} unless options?
@id = options.id if options.id
super options
return BaseCollection | true | ###
BaseCollection provides basic functionality for our collections.
@author PI:NAME:<NAME>END_PI
###
class BaseCollection extends Backbone.Collection
fetch: (options) ->
options = {} unless options?
@id = options.id if options.id
super options
return BaseCollection |
[
{
"context": " = readlineSync.question \"> \"\n main game_token, \"C:/Users/picc/Documents/Games/RTP\"\n",
"end": 356,
"score": 0.9784148931503296,
"start": 326,
"tag": "KEY",
"value": "C:/Users/picc/Documents/Games/"
}
] | cli.coffee | BakaBBQ/autoci | 0 | readlineSync = require "readline-sync"
chalk = require "chalk"
sh = require "shelljs"
main = require "./main"
module.exports = ->
console.log chalk.yellow("Autoci 上传工具")
console.log "当前文件夹:#{sh.pwd()}"
console.log "请输入游戏的上传秘钥:"
game_token = readlineSync.question "> "
main game_to... | 42264 | readlineSync = require "readline-sync"
chalk = require "chalk"
sh = require "shelljs"
main = require "./main"
module.exports = ->
console.log chalk.yellow("Autoci 上传工具")
console.log "当前文件夹:#{sh.pwd()}"
console.log "请输入游戏的上传秘钥:"
game_token = readlineSync.question "> "
main game_to... | true | readlineSync = require "readline-sync"
chalk = require "chalk"
sh = require "shelljs"
main = require "./main"
module.exports = ->
console.log chalk.yellow("Autoci 上传工具")
console.log "当前文件夹:#{sh.pwd()}"
console.log "请输入游戏的上传秘钥:"
game_token = readlineSync.question "> "
main game_to... |
[
{
"context": "T9n.map \"es\", \n User: 'Usuario'\n Users: 'Usuarios'\n Login: 'Entrar'\n \n email",
"end": 31,
"score": 0.9983870983123779,
"start": 24,
"tag": "USERNAME",
"value": "Usuario"
},
{
"context": "T9n.map \"es\", \n User: 'Usuario'\n Users: 'Usuarios'\n Login: 'Ent... | client/app/scripts/components/user/user.es.coffee | softwarerero/protothril | 0 | T9n.map "es",
User: 'Usuario'
Users: 'Usuarios'
Login: 'Entrar'
email: 'Email'
nickname: 'Apodo'
firstname: 'Nombre'
lastname: 'Apellido'
password: 'Contraseña'
| 150498 | T9n.map "es",
User: 'Usuario'
Users: 'Usuarios'
Login: 'Entrar'
email: 'Email'
nickname: 'Apodo'
firstname: '<NAME>'
lastname: '<NAME>ellido'
password: '<PASSWORD>'
| true | T9n.map "es",
User: 'Usuario'
Users: 'Usuarios'
Login: 'Entrar'
email: 'Email'
nickname: 'Apodo'
firstname: 'PI:NAME:<NAME>END_PI'
lastname: 'PI:NAME:<NAME>END_PIellido'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
|
[
{
"context": "alzburg\", \"41,5%\", \"2\"]\n [\"46\", \"12\", \"Wien\", \"38,5%\", \"2\"]\n [\"46\", \"11\", \"Bregenz",
"end": 489,
"score": 0.9993752241134644,
"start": 485,
"tag": "NAME",
"value": "Wien"
},
{
"context": ", \"Wien\", \"38,5%\", \"2\"]\n ... | app/components/recommender/service-test.coffee | vidatio/web-app | 0 | "use strict"
describe "Service Recommender", ->
beforeEach ->
@recommender = new window.vidatio.Recommender()
@helper = new window.vidatio.Helper()
it "should analyse type of the columns and so the schema of the dataset", ->
schema = [["coordinate", "numeric"], ["coordinate", "numeric"... | 224838 | "use strict"
describe "Service Recommender", ->
beforeEach ->
@recommender = new window.vidatio.Recommender()
@helper = new window.vidatio.Helper()
it "should analyse type of the columns and so the schema of the dataset", ->
schema = [["coordinate", "numeric"], ["coordinate", "numeric"... | true | "use strict"
describe "Service Recommender", ->
beforeEach ->
@recommender = new window.vidatio.Recommender()
@helper = new window.vidatio.Helper()
it "should analyse type of the columns and so the schema of the dataset", ->
schema = [["coordinate", "numeric"], ["coordinate", "numeric"... |
[
{
"context": "###\n\nBootStrapModal\n v1.0.0\n\nCopyright (c) 2015 Y.Kaneko\n https://github.com/fisherman08/BootstrapModal",
"end": 59,
"score": 0.9997904896736145,
"start": 51,
"tag": "NAME",
"value": "Y.Kaneko"
},
{
"context": "opyright (c) 2015 Y.Kaneko\n https://github.... | bs_modal.coffee | fisherman08/BootstrapModal | 0 | ###
BootStrapModal
v1.0.0
Copyright (c) 2015 Y.Kaneko
https://github.com/fisherman08/BootstrapModal
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
Requirement:
Bootstrap 3.X and jQuery
USAGE:
just load the .js file
<script src="bs_modal.js"></script>
si... | 201130 | ###
BootStrapModal
v1.0.0
Copyright (c) 2015 <NAME>
https://github.com/fisherman08/BootstrapModal
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
Requirement:
Bootstrap 3.X and jQuery
USAGE:
just load the .js file
<script src="bs_modal.js"></script>
simp... | true | ###
BootStrapModal
v1.0.0
Copyright (c) 2015 PI:NAME:<NAME>END_PI
https://github.com/fisherman08/BootstrapModal
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
Requirement:
Bootstrap 3.X and jQuery
USAGE:
just load the .js file
<script src="bs_modal.js"><... |
[
{
"context": " scope.setting = {}\n scope.setting.key = \"time-presets\"\n\n scope.financialYearEndMonth = 6\n fyE",
"end": 632,
"score": 0.9324607253074646,
"start": 620,
"tag": "KEY",
"value": "time-presets"
}
] | src/components/widgets-settings/time-presets/time-presets.directive.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.time-presets',[])
module.directive('settingTimePresets', ($templateCache, ImpacMainSvc, $timeout, ImpacUtilities, ImpacTheming, $translate) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
presets: '=?'
onSe... | 197596 | module = angular.module('impac.components.widgets-settings.time-presets',[])
module.directive('settingTimePresets', ($templateCache, ImpacMainSvc, $timeout, ImpacUtilities, ImpacTheming, $translate) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
presets: '=?'
onSe... | true | module = angular.module('impac.components.widgets-settings.time-presets',[])
module.directive('settingTimePresets', ($templateCache, ImpacMainSvc, $timeout, ImpacUtilities, ImpacTheming, $translate) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
presets: '=?'
onSe... |
[
{
"context": ".ip then GET().ip else \"localhost\"\n # @host = \"128.32.39.129\"\n @host = if _.contains @host, \":\" then \"local",
"end": 1644,
"score": 0.9996159076690674,
"start": 1631,
"tag": "IP_ADDRESS",
"value": "128.32.39.129"
}
] | src/choreographer/app/assets/javascripts/aesthetic_actuation/SocketControl.js.coffee | Hybrid-Ecologies/a-conversation-with-actuators | 0 | class window.SocketControl
@debug: true
@DISCONNECTED: 0
@ERROR : 1
@CONNECTED: 1
@LOG: true
constructor: (@op) ->
console.info '✓ Socket Control'
@subscribers = {
input: {},
output: {}
}
@state = SocketControl.DISCONNECTED
@init()
return
subscribe:(channel, fn)->
... | 220340 | class window.SocketControl
@debug: true
@DISCONNECTED: 0
@ERROR : 1
@CONNECTED: 1
@LOG: true
constructor: (@op) ->
console.info '✓ Socket Control'
@subscribers = {
input: {},
output: {}
}
@state = SocketControl.DISCONNECTED
@init()
return
subscribe:(channel, fn)->
... | true | class window.SocketControl
@debug: true
@DISCONNECTED: 0
@ERROR : 1
@CONNECTED: 1
@LOG: true
constructor: (@op) ->
console.info '✓ Socket Control'
@subscribers = {
input: {},
output: {}
}
@state = SocketControl.DISCONNECTED
@init()
return
subscribe:(channel, fn)->
... |
[
{
"context": "###*\n *\n * ActionSheet\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Component, ",
"end": 40,
"score": 0.9995226263999939,
"start": 34,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * ActionSheet\n * @author vfasky <vfasky@gmail.com>\... | src/coffee/actionSheet.coffee | vfasky/mcore-weui | 0 | ###*
*
* ActionSheet
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Component, util} = require 'mcore'
class ActionSheet extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/actionSheet.html'),
... | 7013 | ###*
*
* ActionSheet
* @author vfasky <<EMAIL>>
###
'use strict'
{Component, util} = require 'mcore'
class ActionSheet extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/actionSheet.html'),
show: f... | true | ###*
*
* ActionSheet
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Component, util} = require 'mcore'
class ActionSheet extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/actionSheet.html'),
... |
[
{
"context": " pool = new ThreadPool\n pool.run task, \"John\", true, (res) ->\n should.exist res\n ",
"end": 607,
"score": 0.9994819760322571,
"start": 603,
"tag": "NAME",
"value": "John"
},
{
"context": " should.exist res\n res.should.equal \"Joh... | test/ThreadPool.coffee | wearefractal/thread | 6 | {ThreadPool} = require '../'
should = require 'should'
require 'mocha'
describe 'ThreadPool', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
pool = new ThreadPool
should.exist pool.count
should.exist pool.threads
pool.count.should.equal require('os').cpus().length
... | 95880 | {ThreadPool} = require '../'
should = require 'should'
require 'mocha'
describe 'ThreadPool', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
pool = new ThreadPool
should.exist pool.count
should.exist pool.threads
pool.count.should.equal require('os').cpus().length
... | true | {ThreadPool} = require '../'
should = require 'should'
require 'mocha'
describe 'ThreadPool', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
pool = new ThreadPool
should.exist pool.count
should.exist pool.threads
pool.count.should.equal require('os').cpus().length
... |
[
{
"context": "b) ->\n await KeyManager.generate_ecc { userid : \"tester@test.cc\" }, T.esc(defer(tmp), cb)\n km = tmp\n cb()\n\nexpo",
"end": 402,
"score": 0.9998953938484192,
"start": 388,
"tag": "EMAIL",
"value": "tester@test.cc"
},
{
"context": "----\n\nbcrypt_sig = \"\"\"-----... | test/files/sigeng.iced | johnnyRose/kbpgp | 1 |
{armor,KeyManager,kb} = require '../../'
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Meaning of Meaning.
He catwalks down our corridor.
"""
sig = null
se = null
expor... | 198654 |
{armor,KeyManager,kb} = require '../../'
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Meaning of Meaning.
He catwalks down our corridor.
"""
sig = null
se = null
expor... | true |
{armor,KeyManager,kb} = require '../../'
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Meaning of Meaning.
He catwalks down our corridor.
"""
sig = null
se = null
expor... |
[
{
"context": "value = av.substr(av_sep + 1)\n av_key = av_key.trim().toLowerCase()\n av_value = av_value.trim() if av_value\n ",
"end": 10708,
"score": 0.6957087516784668,
"start": 10690,
"tag": "KEY",
"value": "trim().toLowerCase"
},
{
"context": "\\x20-\\x2F\\x3B-\\x40\\x5... | deps/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.coffee | lxe/io.coffee | 0 | #
# * Copyright GoInstant, Inc. and other contributors. All rights reserved.
# * 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
# * ri... | 58324 | #
# * Copyright GoInstant, Inc. and other contributors. All rights reserved.
# * 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
# * ri... | true | #
# * Copyright GoInstant, Inc. and other contributors. All rights reserved.
# * 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
# * ri... |
[
{
"context": "ric and keeps track if they rise or fall.\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\n{View} = requir",
"end": 110,
"score": 0.9998881816864014,
"start": 99,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "or fall.\n\n@author Roelof Roos (https://... | lib/views/header-score.coffee | roelofr/php-report | 0 | ###
PHP Report
HeaderScore
Contains a single metric and keeps track if they rise or fall.
@author Roelof Roos (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class HeaderScore extends View
###
@var {Boolean} Set to true if a rise of this value is considered bad.
... | 83876 | ###
PHP Report
HeaderScore
Contains a single metric and keeps track if they rise or fall.
@author <NAME> (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class HeaderScore extends View
###
@var {Boolean} Set to true if a rise of this value is considered bad.
U... | true | ###
PHP Report
HeaderScore
Contains a single metric and keeps track if they rise or fall.
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
{View} = require 'space-pen'
module.exports =
class HeaderScore extends View
###
@var {Boolean} Set to true if a rise of this value is considered bad.
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999101758003235,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/report-form.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 { isEmpty } from 'lodash'
import { Modal } from 'modal'
import { createElement as el, createRef, PureComponent } from 'react'
import * as ... | 190918 | # 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 { isEmpty } from 'lodash'
import { Modal } from 'modal'
import { createElement as el, createRef, PureComponent } from 'react'
import * as React f... | 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 { isEmpty } from 'lodash'
import { Modal } from 'modal'
import { createElement as el, createRef, PureComponent } from 'react'
impo... |
[
{
"context": " userid: Userid\n name: String\n }\n password: Hashed Password\n comment: String\n mode: \"waiting\"/\"playing\"/\"en",
"end": 117,
"score": 0.9984738230705261,
"start": 102,
"tag": "PASSWORD",
"value": "Hashed Password"
},
{
"context": " req.session.user.useri... | server/rpc/game/rooms.coffee | Yukimir/jinrou | 0 | ###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
}
password: Hashed Password
comment: String
mode: "waiting"/"playing"/"end"
made: Time(Number)(作成された日時)
blind:""/"hide"/"complete"
theme: String(主题房间,用于各种套皮活动)
number: Number(プレイヤー数)
players:[PlayerObject,PlayerObjec... | 175432 | ###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
}
password: <PASSWORD>
comment: String
mode: "waiting"/"playing"/"end"
made: Time(Number)(作成された日時)
blind:""/"hide"/"complete"
theme: String(主题房间,用于各种套皮活动)
number: Number(プレイヤー数)
players:[PlayerObject,PlayerObject,...... | true | ###
room: {
id: Number
name: String
owner:{
userid: Userid
name: String
}
password: PI:PASSWORD:<PASSWORD>END_PI
comment: String
mode: "waiting"/"playing"/"end"
made: Time(Number)(作成された日時)
blind:""/"hide"/"complete"
theme: String(主题房间,用于各种套皮活动)
number: Number(プレイヤー数)
players:[PlayerObjec... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.8027219176292419,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/pl/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/pl_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 74615 | bcv_parser = require("../../js/pl_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/pl_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "->\n\t\tdialogue = groupScene.enter res, \"OK, I'm it! MARCO!\"\n\t\tmarcoPolo = (res) ->\n\t\t\tif Math.floor(Math.ra",
"end": 738,
"score": 0.5902349352836609,
"start": 733,
"tag": "NAME",
"value": "MARCO"
}
] | todo/examples.coffee | PropertyUX/nubot-playbook | 0 | _ = require 'lodash'
Playbook = require '../lib/Playbook'
###
TODO:
Make these and others run as a hubot script in docs page, demonstrating
- a single example defined using dialogue directly, scene, then playbook
- usage examples for director, transcript and outline
- using listener ID to populate data for tem... | 7550 | _ = require 'lodash'
Playbook = require '../lib/Playbook'
###
TODO:
Make these and others run as a hubot script in docs page, demonstrating
- a single example defined using dialogue directly, scene, then playbook
- usage examples for director, transcript and outline
- using listener ID to populate data for tem... | true | _ = require 'lodash'
Playbook = require '../lib/Playbook'
###
TODO:
Make these and others run as a hubot script in docs page, demonstrating
- a single example defined using dialogue directly, scene, then playbook
- usage examples for director, transcript and outline
- using listener ID to populate data for tem... |
[
{
"context": "able.addColumn 'mode'\n\n table.addRow ['name', 'Jane Doe', 'read']\n table.addRow ['age', 30, 'read']\n ",
"end": 703,
"score": 0.9997532367706299,
"start": 695,
"tag": "NAME",
"value": "Jane Doe"
},
{
"context": "etValue()).toEqual([\n ['female']\n ... | spec/selection-spec.coffee | lionel-rigoux/atom-tablr | 186 | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Selection', ->
[table, displayTable, tableEditor, selection, cursor] = ... | 199151 | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Selection', ->
[table, displayTable, tableEditor, selection, cursor] = ... | true | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Selection', ->
[table, displayTable, tableEditor, selection, cursor] = ... |
[
{
"context": "mes: 値の名前と実際のアレの対応\n #@names={ Human:{name:\"村人\",color:\"#FF0000\"}...}\n chk=(d,vals)-> # ",
"end": 1595,
"score": 0.6705318689346313,
"start": 1594,
"tag": "NAME",
"value": "村"
}
] | client/code/pages/user/graph.coffee | Davdegreat/werewolfweb | 0 | # graph module
class Graph
margin:10
constructor:(@size)->
@area = document.createElement 'div'
@area.classList.add 'graph-area'
@canvas=document.createElement 'canvas'
@canvas.height=@size+@margin*2
@canvas.width=@size+@margin*2
@ctx=@canvas.getContext '2d'
... | 13658 | # graph module
class Graph
margin:10
constructor:(@size)->
@area = document.createElement 'div'
@area.classList.add 'graph-area'
@canvas=document.createElement 'canvas'
@canvas.height=@size+@margin*2
@canvas.width=@size+@margin*2
@ctx=@canvas.getContext '2d'
... | true | # graph module
class Graph
margin:10
constructor:(@size)->
@area = document.createElement 'div'
@area.classList.add 'graph-area'
@canvas=document.createElement 'canvas'
@canvas.height=@size+@margin*2
@canvas.width=@size+@margin*2
@ctx=@canvas.getContext '2d'
... |
[
{
"context": "ingGambitActivateSignatureCard\"\n\n\t@modifierName: \"Opening Gambit\"\n\t@description: \"Refresh your General's Bloodboun",
"end": 292,
"score": 0.9908930063247681,
"start": 278,
"tag": "NAME",
"value": "Opening Gambit"
}
] | app/sdk/modifiers/modifierOpeningGambitActivateSignatureCard.coffee | willroberts/duelyst | 5 | ModifierOpeningGambit = require 'app/sdk/modifiers/modifierOpeningGambit'
class ModifierOpeningGambitActivateSignatureCard extends ModifierOpeningGambit
type: "ModifierOpeningGambitActivateSignatureCard"
@type: "ModifierOpeningGambitActivateSignatureCard"
@modifierName: "Opening Gambit"
@description: "Refresh yo... | 54864 | ModifierOpeningGambit = require 'app/sdk/modifiers/modifierOpeningGambit'
class ModifierOpeningGambitActivateSignatureCard extends ModifierOpeningGambit
type: "ModifierOpeningGambitActivateSignatureCard"
@type: "ModifierOpeningGambitActivateSignatureCard"
@modifierName: "<NAME>"
@description: "Refresh your Gener... | true | ModifierOpeningGambit = require 'app/sdk/modifiers/modifierOpeningGambit'
class ModifierOpeningGambitActivateSignatureCard extends ModifierOpeningGambit
type: "ModifierOpeningGambitActivateSignatureCard"
@type: "ModifierOpeningGambitActivateSignatureCard"
@modifierName: "PI:NAME:<NAME>END_PI"
@description: "Refr... |
[
{
"context": ":\n# A hubot script to do nothing\n#\n# Author:\n# Andrew Lucas (sqweelygig) <andrewl@resin.io> <sqweelygig@gmail",
"end": 76,
"score": 0.9998409152030945,
"start": 64,
"tag": "NAME",
"value": "Andrew Lucas"
},
{
"context": "cript to do nothing\n#\n# Author:\n# An... | main.coffee | mccsiwakuni/hubot-airtable | 0 | # Description:
# A hubot script to do nothing
#
# Author:
# Andrew Lucas (sqweelygig) <andrewl@resin.io> <sqweelygig@gmail.com>
module.exports = (robot) ->
return
| 70513 | # Description:
# A hubot script to do nothing
#
# Author:
# <NAME> (sqweelygig) <<EMAIL>> <<EMAIL>>
module.exports = (robot) ->
return
| true | # Description:
# A hubot script to do nothing
#
# Author:
# PI:NAME:<NAME>END_PI (sqweelygig) <PI:EMAIL:<EMAIL>END_PI> <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
return
|
[
{
"context": "notificationApiUrl: NOTIFICATIONS_URL\n token: \"randomAccessToken\"\n jobId: JOB_ID\n }\n\n it \"on success: should ",
"end": 382,
"score": 0.7088463306427002,
"start": 365,
"tag": "KEY",
"value": "randomAccessToken"
}
] | src/processors/job/notification.api.spec.coffee | Parsimotion/notification-processor | 0 | _ = require "lodash"
nock = require "nock"
should = require "should"
require "should-sinon"
NotificationsApi = require "./notification.api"
NOTIFICATIONS_URL = "http://notifications-api-development.azurewebsites.net/api"
JOB_ID = 1
describe "NotificationsApi", ->
notificationsApi = new NotificationsApi {
notif... | 77350 | _ = require "lodash"
nock = require "nock"
should = require "should"
require "should-sinon"
NotificationsApi = require "./notification.api"
NOTIFICATIONS_URL = "http://notifications-api-development.azurewebsites.net/api"
JOB_ID = 1
describe "NotificationsApi", ->
notificationsApi = new NotificationsApi {
notif... | true | _ = require "lodash"
nock = require "nock"
should = require "should"
require "should-sinon"
NotificationsApi = require "./notification.api"
NOTIFICATIONS_URL = "http://notifications-api-development.azurewebsites.net/api"
JOB_ID = 1
describe "NotificationsApi", ->
notificationsApi = new NotificationsApi {
notif... |
[
{
"context": "fromCharCode res...\n\n# Trying it out\nkey = \"VIGENERECIPHER\"\noriginal = \"Beware the Jabberwock, my son! The ",
"end": 569,
"score": 0.9989592432975769,
"start": 555,
"tag": "KEY",
"value": "VIGENERECIPHER"
}
] | Task/Vigen-re-cipher/CoffeeScript/vigen-re-cipher.coffee | LaudateCorpus1/RosettaCodeData | 1 | # Simple helper since charCodeAt is quite long to write.
code = (char) -> char.charCodeAt()
encrypt = (text, key) ->
res = []
j = 0
for c in text.toUpperCase()
continue if c < 'A' or c > 'Z'
res.push ((code c) + (code key[j]) - 130) % 26 + 65
j = ++j % key.length
String.fromCharCode res...
decrypt = ... | 18170 | # Simple helper since charCodeAt is quite long to write.
code = (char) -> char.charCodeAt()
encrypt = (text, key) ->
res = []
j = 0
for c in text.toUpperCase()
continue if c < 'A' or c > 'Z'
res.push ((code c) + (code key[j]) - 130) % 26 + 65
j = ++j % key.length
String.fromCharCode res...
decrypt = ... | true | # Simple helper since charCodeAt is quite long to write.
code = (char) -> char.charCodeAt()
encrypt = (text, key) ->
res = []
j = 0
for c in text.toUpperCase()
continue if c < 'A' or c > 'Z'
res.push ((code c) + (code key[j]) - 130) % 26 + 65
j = ++j % key.length
String.fromCharCode res...
decrypt = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.