entities
listlengths
1
8.61k
max_stars_repo_path
stringlengths
7
172
max_stars_repo_name
stringlengths
5
89
max_stars_count
int64
0
82k
content
stringlengths
14
1.05M
id
stringlengths
2
6
new_content
stringlengths
15
1.05M
modified
bool
1 class
references
stringlengths
29
1.05M
[ { "context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @", "end": 33, "score": 0.9998902678489685, "start": 17, "tag": "NAME", "value": "Abdelhakim RAFIK" }, { "context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki...
src/app/models/user.coffee
AbdelhakimRafik/Pharmalogy-API
0
### * @author Abdelhakim RAFIK * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 Abdelhakim RAFIK * @date Mar 2021 ### { DataTypes, Model } = require 'sequelize' { sequelize } = require '../../database' Pharmacy = require './pharmacy' File = require './file' ### User m...
217104
### * @author <NAME> * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 <NAME> * @date Mar 2021 ### { DataTypes, Model } = require 'sequelize' { sequelize } = require '../../database' Pharmacy = require './pharmacy' File = require './file' ### User model ### module.exp...
true
### * @author PI:NAME:<NAME>END_PI * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI * @date Mar 2021 ### { DataTypes, Model } = require 'sequelize' { sequelize } = require '../../database' Pharmacy = require './pharmacy' File = require './file' ###...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9993225932121277, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/simple/test-cli-eval.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...
214348
# 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": "etInitialState: ->\n opened: false\n password: ''\n\n _onSubmit: ->\n currentSession.user().delete", "end": 1634, "score": 0.5370941162109375, "start": 1634, "tag": "PASSWORD", "value": "" }, { "context": ">\n currentSession.user().delete\n password: @...
app/backbone/views/users/react_profile_edit.coffee
Factlink/feedforward
0
ReactSocialConnect = React.createBackboneClass displayName: 'ReactSocialConnect' render: -> _div [], _div ['control-group'], _label [], _span ['control-label'], 'Facebook' _div ['controls'], if @model().get('services').facebook _span [], ...
137594
ReactSocialConnect = React.createBackboneClass displayName: 'ReactSocialConnect' render: -> _div [], _div ['control-group'], _label [], _span ['control-label'], 'Facebook' _div ['controls'], if @model().get('services').facebook _span [], ...
true
ReactSocialConnect = React.createBackboneClass displayName: 'ReactSocialConnect' render: -> _div [], _div ['control-group'], _label [], _span ['control-label'], 'Facebook' _div ['controls'], if @model().get('services').facebook _span [], ...
[ { "context": "f=\"#player1\" data-toggle=\"tab\">\n travis\n </a>\n </li>\n ", "end": 6543, "score": 0.6370072364807129, "start": 6537, "tag": "NAME", "value": "travis" }, { "context": " '''\n players = [\n {id: 1, ...
spec/issues-spec.coffee
mtoribio/clientside-haml-js
19
describe 'haml issues', -> describe 'Issue #2 - Anonymous functions should pass through \'this\'', -> beforeEach () -> setFixtures('<script type="text/template" id="anonymous">\n' + '.test = this.fnOnThis()\n' + '.test2 = fnOnThis()\n' + '</script>' ) for generator in ['...
95200
describe 'haml issues', -> describe 'Issue #2 - Anonymous functions should pass through \'this\'', -> beforeEach () -> setFixtures('<script type="text/template" id="anonymous">\n' + '.test = this.fnOnThis()\n' + '.test2 = fnOnThis()\n' + '</script>' ) for generator in ['...
true
describe 'haml issues', -> describe 'Issue #2 - Anonymous functions should pass through \'this\'', -> beforeEach () -> setFixtures('<script type="text/template" id="anonymous">\n' + '.test = this.fnOnThis()\n' + '.test2 = fnOnThis()\n' + '</script>' ) for generator in ['...
[ { "context": "ner: '''\n\t\t\t\t/*!\n\t\t\t\t * everyInsert\n\t\t\t\t * @author Paul Dufour\n\t\t\t\t * @company Brit + Co\n\t\t\t\t */\n\n\t\t\t\t '''\n\t\t\tdi", "end": 453, "score": 0.999863862991333, "start": 442, "tag": "NAME", "value": "Paul Dufour" } ]
Gruntfile.coffee
britco/everyInsert
0
module.exports = (grunt) -> # Package # ======= pkg = require './package.json' # Configuration # ============= grunt.initConfig pkg: pkg coffee: dist: src: ['src/*.coffee'], dest: '<%= pkg.distDirectory %>/<%= pkg.name %>-latest.js' uglify: options: mangle: false compress: false ...
222990
module.exports = (grunt) -> # Package # ======= pkg = require './package.json' # Configuration # ============= grunt.initConfig pkg: pkg coffee: dist: src: ['src/*.coffee'], dest: '<%= pkg.distDirectory %>/<%= pkg.name %>-latest.js' uglify: options: mangle: false compress: false ...
true
module.exports = (grunt) -> # Package # ======= pkg = require './package.json' # Configuration # ============= grunt.initConfig pkg: pkg coffee: dist: src: ['src/*.coffee'], dest: '<%= pkg.distDirectory %>/<%= pkg.name %>-latest.js' uglify: options: mangle: false compress: false ...
[ { "context": "@type:\"ModifierStunWhenAttacked\"\n\n\t@modifierName:\"Stunner\"\n\t@description:\"Minions next to this minion that ", "end": 327, "score": 0.9979789853096008, "start": 320, "tag": "NAME", "value": "Stunner" } ]
app/sdk/modifiers/modifierStunWhenAttacked.coffee
willroberts/duelyst
5
Modifier = require './modifier' AttackAction = require 'app/sdk/actions/attackAction' CardType = require 'app/sdk/cards/cardType' ModifierStunnedVanar = require './modifierStunnedVanar' class ModifierStunWhenAttacked extends Modifier type:"ModifierStunWhenAttacked" @type:"ModifierStunWhenAttacked" @modifierName:"...
40141
Modifier = require './modifier' AttackAction = require 'app/sdk/actions/attackAction' CardType = require 'app/sdk/cards/cardType' ModifierStunnedVanar = require './modifierStunnedVanar' class ModifierStunWhenAttacked extends Modifier type:"ModifierStunWhenAttacked" @type:"ModifierStunWhenAttacked" @modifierName:"...
true
Modifier = require './modifier' AttackAction = require 'app/sdk/actions/attackAction' CardType = require 'app/sdk/cards/cardType' ModifierStunnedVanar = require './modifierStunnedVanar' class ModifierStunWhenAttacked extends Modifier type:"ModifierStunWhenAttacked" @type:"ModifierStunWhenAttacked" @modifierName:"...
[ { "context": "###\n Copyright (c) 2016, Mollie B.V.\n All rights reserved.\n\n Redistribution and use", "end": 36, "score": 0.9634895324707031, "start": 26, "tag": "NAME", "value": "Mollie B.V" }, { "context": "source.org/licenses/bsd-license.php\n @author Mollie B.V. <info@...
src/lib/mollie/api/object/payment.coffee
veselinoskih/mollie-test
0
### Copyright (c) 2016, Mollie B.V. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the...
68553
### Copyright (c) 2016, <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
true
### Copyright (c) 2016, PI:NAME:<NAME>END_PI. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditio...
[ { "context": "est session user id in teambition db\napp.token = 'fasdfasdfasdfasdfasdf'\napp.limbo = limbo\napp.redis = redis\napp.broadcas", "end": 559, "score": 0.9861831665039062, "start": 538, "tag": "PASSWORD", "value": "fasdfasdfasdfasdfasdf" }, { "context": "], (num, next) ->\...
talk-api2x/test/app.coffee
ikingye/talk-os
3,084
fs = require 'fs' path = require 'path' async = require 'async' Promise = require 'bluebird' uuid = require 'uuid' _ = require 'lodash' Promise = require 'bluebird' request = require 'supertest' express = require 'express' Sundae = require 'sundae' {limbo, redis, socket} = require '../server/components' db = limbo.us...
64847
fs = require 'fs' path = require 'path' async = require 'async' Promise = require 'bluebird' uuid = require 'uuid' _ = require 'lodash' Promise = require 'bluebird' request = require 'supertest' express = require 'express' Sundae = require 'sundae' {limbo, redis, socket} = require '../server/components' db = limbo.us...
true
fs = require 'fs' path = require 'path' async = require 'async' Promise = require 'bluebird' uuid = require 'uuid' _ = require 'lodash' Promise = require 'bluebird' request = require 'supertest' express = require 'express' Sundae = require 'sundae' {limbo, redis, socket} = require '../server/components' db = limbo.us...
[ { "context": "lse]\n #['where', 'email']\n #['equals', 'sderickson@gmail.com']\n #['where', 'dateCreated']\n #['lt', (", "end": 786, "score": 0.9998959302902222, "start": 766, "tag": "EMAIL", "value": "sderickson@gmail.com" } ]
app/views/admin/users_view.coffee
maurovanetti/codecombat
1
View = require 'views/kinds/RootView' template = require 'templates/admin/users' User = require 'models/User' module.exports = class UsersView extends View # TODO: Pagination, choosing filters on the page itself. id: 'admin-users-view' template: template constructor: (options) -> super options @getUs...
189220
View = require 'views/kinds/RootView' template = require 'templates/admin/users' User = require 'models/User' module.exports = class UsersView extends View # TODO: Pagination, choosing filters on the page itself. id: 'admin-users-view' template: template constructor: (options) -> super options @getUs...
true
View = require 'views/kinds/RootView' template = require 'templates/admin/users' User = require 'models/User' module.exports = class UsersView extends View # TODO: Pagination, choosing filters on the page itself. id: 'admin-users-view' template: template constructor: (options) -> super options @getUs...
[ { "context": "= subscriber.id\n result.pushTokenTTL = 6000\n result.registeredTopics = []\n\n ", "end": 342, "score": 0.8273727297782898, "start": 339, "tag": "PASSWORD", "value": "600" } ]
lib/steedos.coffee
steedos/opush
0
async = require 'async' util = require 'util' logger = require 'winston' settings = require '../settings' uuid = require './uuid' generateResponse = (req, res, subscriber) -> subscriber.getSubscriptions (subs) -> if subs? result = {} result.pushToken = subscriber.id res...
125783
async = require 'async' util = require 'util' logger = require 'winston' settings = require '../settings' uuid = require './uuid' generateResponse = (req, res, subscriber) -> subscriber.getSubscriptions (subs) -> if subs? result = {} result.pushToken = subscriber.id res...
true
async = require 'async' util = require 'util' logger = require 'winston' settings = require '../settings' uuid = require './uuid' generateResponse = (req, res, subscriber) -> subscriber.getSubscriptions (subs) -> if subs? result = {} result.pushToken = subscriber.id res...
[ { "context": "rd-coded\n map = {\n 'Assassin': {'en-US': 'Ritic'}\n 'Captain': {'en-US': 'Anya', 'zh-HANS': '", "end": 884, "score": 0.8037437796592712, "start": 879, "tag": "NAME", "value": "Ritic" }, { "context": "r': {'en-US': 'Omarn'}\n 'Raider': {'en-US': 'Arry...
app/lib/ThangTypeLib.coffee
cihatislamdede/codecombat
4,858
utils = require 'core/utils' ThangTypeLib = getPortraitURL: (thangTypeObj) -> return '' if application.testing prefix = '' if window.location.host is 'localhost:3000' and me.get('slug') is 'nick' # Create a way to bypass local database portrait loading, since it slows down level editor # TODO...
193112
utils = require 'core/utils' ThangTypeLib = getPortraitURL: (thangTypeObj) -> return '' if application.testing prefix = '' if window.location.host is 'localhost:3000' and me.get('slug') is 'nick' # Create a way to bypass local database portrait loading, since it slows down level editor # TODO...
true
utils = require 'core/utils' ThangTypeLib = getPortraitURL: (thangTypeObj) -> return '' if application.testing prefix = '' if window.location.host is 'localhost:3000' and me.get('slug') is 'nick' # Create a way to bypass local database portrait loading, since it slows down level editor # TODO...
[ { "context": "\n\nexport default class AppState\n STORAGE_KEY: 'appState'\n view:\n selectedView: 0\n personType", "end": 385, "score": 0.9678395986557007, "start": 377, "tag": "KEY", "value": "appState" }, { "context": "Persons()\n @persons.add(luke = new Pers...
src/model/appstate.coffee
verysmallrock/mypeople
0
import Relationship from './relationship' import Relationships from './relationships' import RelationshipType from './relationshiptype' import RelationshipTypes from './relationshiptypes' import Person from './person' import Persons from './persons' import PersonType from './persontype' import PersonTypes from './perso...
30915
import Relationship from './relationship' import Relationships from './relationships' import RelationshipType from './relationshiptype' import RelationshipTypes from './relationshiptypes' import Person from './person' import Persons from './persons' import PersonType from './persontype' import PersonTypes from './perso...
true
import Relationship from './relationship' import Relationships from './relationships' import RelationshipType from './relationshiptype' import RelationshipTypes from './relationshiptypes' import Person from './person' import Persons from './persons' import PersonType from './persontype' import PersonTypes from './perso...
[ { "context": "ve {}\n\n @view.$('input[name=\"name\"]').val 'Damon'\n @view.$('input[name=\"email\"]').val 'damo", "end": 2801, "score": 0.9996148347854614, "start": 2796, "tag": "NAME", "value": "Damon" }, { "context": "amon'\n @view.$('input[name=\"email\"]').v...
src/desktop/apps/artwork/components/commercial/test/view.coffee
javamonn/force
0
{ extend } = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation'] { fabricate } = require 'antigravity' CurrentUser = require '../../../../../models/current_user.co...
39719
{ extend } = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation'] { fabricate } = require 'antigravity' CurrentUser = require '../../../../../models/current_user.co...
true
{ extend } = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation'] { fabricate } = require 'antigravity' CurrentUser = require '../../../../../models/current_user.co...
[ { "context": "f a artist param', ->\n @req.params.artistId = 'andy-foobar'\n routes.exhibitors @req, @res\n Backbone.sy", "end": 2944, "score": 0.9809284806251526, "start": 2933, "tag": "USERNAME", "value": "andy-foobar" }, { "context": "',\n artist: fabricate('ar...
src/mobile/apps/fair/test/routes.coffee
kanaabe/force
1
_ = require 'underscore' { fabricate } = require 'antigravity' sinon = require 'sinon' routes = require '../routes' Backbone = require 'backbone' Profile = require '../../../models/profile' Fair = require '../../../models/fair' Show = require '../../../models/show' describe 'vanity routes', -> beforeEach -> sin...
149627
_ = require 'underscore' { fabricate } = require 'antigravity' sinon = require 'sinon' routes = require '../routes' Backbone = require 'backbone' Profile = require '../../../models/profile' Fair = require '../../../models/fair' Show = require '../../../models/show' describe 'vanity routes', -> beforeEach -> sin...
true
_ = require 'underscore' { fabricate } = require 'antigravity' sinon = require 'sinon' routes = require '../routes' Backbone = require 'backbone' Profile = require '../../../models/profile' Fair = require '../../../models/fair' Show = require '../../../models/show' describe 'vanity routes', -> beforeEach -> sin...
[ { "context": "ndefined' then store.constructor.name else name\n\n\tjohn = {_id: 1, firstname: 'John', lastname: 'Silver',", "end": 117, "score": 0.6691852807998657, "start": 113, "tag": "NAME", "value": "john" }, { "context": "ctor.name else name\n\n\tjohn = {_id: 1, firstname: 'John...
tests/rql.coffee
dundalek/warehouse
74
@run_tests_rql = (store, name) -> name = if typeof name == 'undefined' then store.constructor.name else name john = {_id: 1, firstname: 'John', lastname: 'Silver', age: 30} james = {_id: 2, firstname: 'James', lastname: 'Wood', age: 42} jane = {_id: 3, firstname: 'Jane', lastname: 'White', age: 28} alice1 = {_id...
167549
@run_tests_rql = (store, name) -> name = if typeof name == 'undefined' then store.constructor.name else name <NAME> = {_id: 1, firstname: '<NAME>', lastname: 'Silver', age: 30} <NAME>ames = {_id: 2, firstname: '<NAME>', lastname: 'Wood', age: 42} jane = {_id: 3, firstname: '<NAME>', lastname: 'White', age: 28} a...
true
@run_tests_rql = (store, name) -> name = if typeof name == 'undefined' then store.constructor.name else name PI:NAME:<NAME>END_PI = {_id: 1, firstname: 'PI:NAME:<NAME>END_PI', lastname: 'Silver', age: 30} PI:NAME:<NAME>END_PIames = {_id: 2, firstname: 'PI:NAME:<NAME>END_PI', lastname: 'Wood', age: 42} jane = {_id...
[ { "context": "\"oberoesterreich\")\nsteiermarkClicked = -> select(\"steiermark\")\nniederoesterreichClicked = -> select(\"niederoes", "end": 3532, "score": 0.6396443247795105, "start": 3522, "tag": "NAME", "value": "steiermark" } ]
source/auskunft/bundeslandselect.coffee
JhonnyJason/gefaesse-website-sources
0
bundeslandselectmodule = {name: "bundeslandselectmodule"} ############################################################ #region printLogFunctions log = (arg) -> if allModules.debugmodule.modulesToDebug["bundeslandselectmodule"]? then console.log "[bundeslandselectmodule]: " + arg return ostr = (obj) -> JSON.str...
40044
bundeslandselectmodule = {name: "bundeslandselectmodule"} ############################################################ #region printLogFunctions log = (arg) -> if allModules.debugmodule.modulesToDebug["bundeslandselectmodule"]? then console.log "[bundeslandselectmodule]: " + arg return ostr = (obj) -> JSON.str...
true
bundeslandselectmodule = {name: "bundeslandselectmodule"} ############################################################ #region printLogFunctions log = (arg) -> if allModules.debugmodule.modulesToDebug["bundeslandselectmodule"]? then console.log "[bundeslandselectmodule]: " + arg return ostr = (obj) -> JSON.str...
[ { "context": "o' }\n { type: 'sentence', value: 'Entre Melón y Melames' }\n { type: 'sentence', value:", "end": 246, "score": 0.9535737037658691, "start": 239, "tag": "NAME", "value": "Melón y" }, { "context": " { type: 'sentence', value: 'Entre Melón y ...
app/server/seed.coffee
botello/tamarindou
1
Quizzes.remove({}) if Quizzes.find().count() == 0 [ { name: 'quiz-1' challenges: [ { elements: [ { type: 'header', value: 'Completa el verso' } { type: 'sentence', value: 'Entre Melón y Melames' } { type: 'sentence', value: 'hicieron una orquesta'...
81110
Quizzes.remove({}) if Quizzes.find().count() == 0 [ { name: 'quiz-1' challenges: [ { elements: [ { type: 'header', value: 'Completa el verso' } { type: 'sentence', value: 'Entre <NAME> <NAME>' } { type: 'sentence', value: 'hicieron una orquesta' }...
true
Quizzes.remove({}) if Quizzes.find().count() == 0 [ { name: 'quiz-1' challenges: [ { elements: [ { type: 'header', value: 'Completa el verso' } { type: 'sentence', value: 'Entre PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI' } { type: 'sentence', valu...
[ { "context": "amespaceTaskType\n\n if options.embed\n key = keyName + \"s\"\n modelIds = _.map(models, (t) -> {id: t.id, ", "end": 1393, "score": 0.99466472864151, "start": 1380, "tag": "KEY", "value": "keyName + \"s\"" }, { "context": ", type: deNamespace(t.type)})\n ...
test/javascripts/support/factories.js.coffee
johan--/tahi
1
ETahi.Factory = typeIds: {} resetFactoryIds: -> @typeIds = {} getNewId: (type) -> typeIds = @typeIds if !typeIds[type] typeIds[type] = 0 typeIds[type] += 1 typeIds[type] createRecord: (type, attrs={}) -> if !attrs.id #make a new id if it wasn't passed in. newId = @getNewI...
39486
ETahi.Factory = typeIds: {} resetFactoryIds: -> @typeIds = {} getNewId: (type) -> typeIds = @typeIds if !typeIds[type] typeIds[type] = 0 typeIds[type] += 1 typeIds[type] createRecord: (type, attrs={}) -> if !attrs.id #make a new id if it wasn't passed in. newId = @getNewI...
true
ETahi.Factory = typeIds: {} resetFactoryIds: -> @typeIds = {} getNewId: (type) -> typeIds = @typeIds if !typeIds[type] typeIds[type] = 0 typeIds[type] += 1 typeIds[type] createRecord: (type, attrs={}) -> if !attrs.id #make a new id if it wasn't passed in. newId = @getNewI...
[ { "context": "lsy()\n expect(spark.validation.isAlphabetic('fatih@fatihacet.com')).toBeFalsy()\n\n\n describe 'isEmail', ->\n\n\n i", "end": 2242, "score": 0.9999191761016846, "start": 2223, "tag": "EMAIL", "value": "fatih@fatihacet.com" }, { "context": "email', ->\n ex...
src/tests/validation/test_validation.coffee
dashersw/spark
1
goog = goog or goog = require: -> goog.require 'spark.validation' describe 'spark.validation', -> describe 'isText', -> it 'should return true for a string', -> expect(spark.validation.isText('Fatih')).toBeTruthy() it 'should return false for an empty string', -> expect(spark.validation.is...
139242
goog = goog or goog = require: -> goog.require 'spark.validation' describe 'spark.validation', -> describe 'isText', -> it 'should return true for a string', -> expect(spark.validation.isText('Fatih')).toBeTruthy() it 'should return false for an empty string', -> expect(spark.validation.is...
true
goog = goog or goog = require: -> goog.require 'spark.validation' describe 'spark.validation', -> describe 'isText', -> it 'should return true for a string', -> expect(spark.validation.isText('Fatih')).toBeTruthy() it 'should return false for an empty string', -> expect(spark.validation.is...
[ { "context": "r-Id\"] = Meteor.userId()\n\t\t\tuobj[\"X-Auth-Token\"] = Accounts._storedLoginToken()\n\t\t\tredirectUrl = creatorService + \"app/-/#{objc", "end": 446, "score": 0.7180541753768921, "start": 420, "tag": "KEY", "value": "Accounts._storedLoginToken" } ]
creator/packages/steedos-workflow/client/views/instance/related_records.coffee
yicone/steedos-platform
42
Template.related_records.helpers RelatedRecords.helpers Template.related_records.events 'click .ins-related-records': (event, template)-> creatorService = Meteor.settings.public.webservices?.creator?.url ins = WorkflowManager.getInstance() if creatorService && ins objcetName = ins.record_ids[0].o id = ins...
223550
Template.related_records.helpers RelatedRecords.helpers Template.related_records.events 'click .ins-related-records': (event, template)-> creatorService = Meteor.settings.public.webservices?.creator?.url ins = WorkflowManager.getInstance() if creatorService && ins objcetName = ins.record_ids[0].o id = ins...
true
Template.related_records.helpers RelatedRecords.helpers Template.related_records.events 'click .ins-related-records': (event, template)-> creatorService = Meteor.settings.public.webservices?.creator?.url ins = WorkflowManager.getInstance() if creatorService && ins objcetName = ins.record_ids[0].o id = ins...
[ { "context": "quilljs.com/\\n' +\n ' * Copyright (c) 2014, Jason Chen\\n' +\n ' * Copyright (c) 2013, salesforce.", "end": 1107, "score": 0.9981708526611328, "start": 1097, "tag": "NAME", "value": "Jason Chen" } ]
config/grunt/dist.coffee
KentZheng/testingflow
0
fs = require('fs') through = require('through') versionify = (file) -> data = '' write = (buf) -> data += buf end = -> if file.indexOf('package.json') > -1 version = JSON.parse(data).version this.queue(JSON.stringify({ version: version })) else this.queue(data) this.queue(null)...
44341
fs = require('fs') through = require('through') versionify = (file) -> data = '' write = (buf) -> data += buf end = -> if file.indexOf('package.json') > -1 version = JSON.parse(data).version this.queue(JSON.stringify({ version: version })) else this.queue(data) this.queue(null)...
true
fs = require('fs') through = require('through') versionify = (file) -> data = '' write = (buf) -> data += buf end = -> if file.indexOf('package.json') > -1 version = JSON.parse(data).version this.queue(JSON.stringify({ version: version })) else this.queue(data) this.queue(null)...
[ { "context": "---------------------------------\n# Copyright 2014 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.", "end": 698, "score": 0.999687671661377, "start": 683, "tag": "NAME", "value": "Patrick Mueller" } ]
lib-src/utils.coffee
pmuellr/gh-miner
1
# Licensed under the Apache License. See footer for details. pkg = require "../package.json" PROGRAM = pkg.name utils = exports VERBOSE = false #------------------------------------------------------------------------------- utils.setVerbose = (value) -> VERBOSE = value #--------------------------------------...
22662
# Licensed under the Apache License. See footer for details. pkg = require "../package.json" PROGRAM = pkg.name utils = exports VERBOSE = false #------------------------------------------------------------------------------- utils.setVerbose = (value) -> VERBOSE = value #--------------------------------------...
true
# Licensed under the Apache License. See footer for details. pkg = require "../package.json" PROGRAM = pkg.name utils = exports VERBOSE = false #------------------------------------------------------------------------------- utils.setVerbose = (value) -> VERBOSE = value #--------------------------------------...
[ { "context": ", name: 'A Flock of Seagulls', meta: { members: ['Mike Score'] }}\n { band: 'Rick Astley', name: 'Whenev", "end": 488, "score": 0.999826967716217, "start": 478, "tag": "NAME", "value": "Mike Score" }, { "context": "ta: { members: ['Mike Score'] }}\n { band...
test/test.coffee
begizi/backbone.typeahead
0
should = require 'should' global.$ = require 'jquery' global._ = require 'underscore' global.Backbone = require 'backbone' require '../backbone.typeahead.coffee' describe 'Backbone Typeahead', -> describe 'Readme Tests', -> class Albums extends Backbone.TypeaheadCollection typeaheadAttributes: ['band', '...
173923
should = require 'should' global.$ = require 'jquery' global._ = require 'underscore' global.Backbone = require 'backbone' require '../backbone.typeahead.coffee' describe 'Backbone Typeahead', -> describe 'Readme Tests', -> class Albums extends Backbone.TypeaheadCollection typeaheadAttributes: ['band', '...
true
should = require 'should' global.$ = require 'jquery' global._ = require 'underscore' global.Backbone = require 'backbone' require '../backbone.typeahead.coffee' describe 'Backbone Typeahead', -> describe 'Readme Tests', -> class Albums extends Backbone.TypeaheadCollection typeaheadAttributes: ['band', '...
[ { "context": "reate.call(this, gen: 'xy', team1: [Factory(\"Magikarp\", ability: name)])\n for move in @battle.Mo", "end": 2665, "score": 0.529451847076416, "start": 2662, "tag": "NAME", "value": "arp" }, { "context": "karp\", ability: name)]\n team2: [Factory(\"Genga...
test/xy/abilities.coffee
sarenji/pokebattle-sim
5
{Attachment, Status} = require('../../server/xy/attachment') {Battle} = require('../../server/xy/battle') {Pokemon} = require('../../server/xy/pokemon') {Weather} = require('../../shared/weather') {Ability} = require '../../server/xy/data/abilities' {Item} = require '../../server/xy/data/items' util = require '../../se...
197111
{Attachment, Status} = require('../../server/xy/attachment') {Battle} = require('../../server/xy/battle') {Pokemon} = require('../../server/xy/pokemon') {Weather} = require('../../shared/weather') {Ability} = require '../../server/xy/data/abilities' {Item} = require '../../server/xy/data/items' util = require '../../se...
true
{Attachment, Status} = require('../../server/xy/attachment') {Battle} = require('../../server/xy/battle') {Pokemon} = require('../../server/xy/pokemon') {Weather} = require('../../shared/weather') {Ability} = require '../../server/xy/data/abilities' {Item} = require '../../server/xy/data/items' util = require '../../se...
[ { "context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n", "end": 43, "score": 0.663135826587677, "start": 29, "tag": "NAME", "value": "Neo Technology" } ]
community/server/src/main/coffeescript/lib/amd/CodeMirror.coffee
rebaze/neo4j
1
### Copyright (c) 2002-2013 "Neo Technology," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
48538
### Copyright (c) 2002-2013 "<NAME>," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Li...
true
### Copyright (c) 2002-2013 "PI:NAME:<NAME>END_PI," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either versi...
[ { "context": "jaxRequest\r\n \t\r\n Creates a new product.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ProductsRoute e", "end": 825, "score": 0.9998388290405273, "start": 813, "tag": "NAME", "value": "Nathan Klick" } ]
Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/ProductsRoute.coffee
qrefdev/qref
0
AjaxRoute = require('../../../AjaxRoute') AjaxResponse = require('../../../../serialization/AjaxResponse') UserAuth = require('../../../../security/UserAuth') QRefDatabase = require('../../../../db/QRefDatabase') ProductManager = require('../../../../db/manager/ProductManager') ### Service route that allows the r...
109732
AjaxRoute = require('../../../AjaxRoute') AjaxResponse = require('../../../../serialization/AjaxResponse') UserAuth = require('../../../../security/UserAuth') QRefDatabase = require('../../../../db/QRefDatabase') ProductManager = require('../../../../db/manager/ProductManager') ### Service route that allows the r...
true
AjaxRoute = require('../../../AjaxRoute') AjaxResponse = require('../../../../serialization/AjaxResponse') UserAuth = require('../../../../security/UserAuth') QRefDatabase = require('../../../../db/QRefDatabase') ProductManager = require('../../../../db/manager/ProductManager') ### Service route that allows the r...
[ { "context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n", "end": 44, "score": 0.5287757515907288, "start": 34, "tag": "NAME", "value": "Technology" } ]
src/components/D3Visualization/lib/visualization/utils/adjacentAngles.coffee
yezonggang/zcfx-admin-master
24
###! Copyright (c) 2002-2017 "Neo Technology," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
8666
###! Copyright (c) 2002-2017 "Neo <NAME>," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of t...
true
###! Copyright (c) 2002-2017 "Neo PI:NAME:<NAME>END_PI," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ...
[ { "context": " \"count\": 337,\n # \"data\": [{\"firstName\": \"Andy\"}, {\"firstName\": \"Zach\"}, ...]\n # }\n # \n #", "end": 7379, "score": 0.999475359916687, "start": 7375, "tag": "NAME", "value": "Andy" }, { "context": " \"data\": [{\"firstName\": \"Andy\"}, {\...
node_modules/tower/packages/tower-store/client/transport/ajax.coffee
MagicPower2/Power
1
_ = Tower._ # @mixin Tower.StoreTransportAjax = requests: [] enabled: true pending: false requesting: false defaults: contentType: 'application/json' dataType: 'json' processData: false # Setting `async: false` makes it so you can do async data fetching without callbacks! # We only ...
155853
_ = Tower._ # @mixin Tower.StoreTransportAjax = requests: [] enabled: true pending: false requesting: false defaults: contentType: 'application/json' dataType: 'json' processData: false # Setting `async: false` makes it so you can do async data fetching without callbacks! # We only ...
true
_ = Tower._ # @mixin Tower.StoreTransportAjax = requests: [] enabled: true pending: false requesting: false defaults: contentType: 'application/json' dataType: 'json' processData: false # Setting `async: false` makes it so you can do async data fetching without callbacks! # We only ...
[ { "context": "ts =\n JWT_PASSWORD: process.env.JWT_PASSWORD or 'k5r2yLd6CDMVFcC9m'\n", "end": 80, "score": 0.9994176030158997, "start": 63, "tag": "PASSWORD", "value": "k5r2yLd6CDMVFcC9m" } ]
server/src/config/config.coffee
codyseibert/jotit
1
module.exports = JWT_PASSWORD: process.env.JWT_PASSWORD or 'k5r2yLd6CDMVFcC9m'
135969
module.exports = JWT_PASSWORD: process.env.JWT_PASSWORD or '<PASSWORD>'
true
module.exports = JWT_PASSWORD: process.env.JWT_PASSWORD or 'PI:PASSWORD:<PASSWORD>END_PI'
[ { "context": "view ###\n #@cy.layout({\n #name:'cola'\n #fit: false\n #refresh: 2\n", "end": 694, "score": 0.999702513217926, "start": 690, "tag": "NAME", "value": "cola" } ]
coffee/painless_graph.coffee
savo-fabio/painless_sparql
1
#_require cyto_style.coffee #_require sparql_text.coffee #_require painless_link.coffee class window.PainlessGraph ###* manages the graph visualization TODO: palette should be in constants TODO: hardcoded collision distance should be in constants ### state_buffer = null links ...
149555
#_require cyto_style.coffee #_require sparql_text.coffee #_require painless_link.coffee class window.PainlessGraph ###* manages the graph visualization TODO: palette should be in constants TODO: hardcoded collision distance should be in constants ### state_buffer = null links ...
true
#_require cyto_style.coffee #_require sparql_text.coffee #_require painless_link.coffee class window.PainlessGraph ###* manages the graph visualization TODO: palette should be in constants TODO: hardcoded collision distance should be in constants ### state_buffer = null links ...
[ { "context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ", "end": 67, "score": 0.9998722076416016, "start": 52, "tag": "NAME", "value": "Ward Cunningham" }, { "context": "nsed under the MIT license.\n * htt...
node_modules/wiki-server/lib/sitemap.coffee
jpietrok-pnnl/wiki
0
### * Federated Wiki : Node Server * * Copyright Ward Cunningham and other contributors * Licensed under the MIT license. * https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt ### # **sitemap.coffee** fs = require 'fs' path = require 'path' events = require 'events' writeFileAtomic = require 'write-fi...
67465
### * Federated Wiki : Node Server * * Copyright <NAME> and other contributors * Licensed under the MIT license. * https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt ### # **sitemap.coffee** fs = require 'fs' path = require 'path' events = require 'events' writeFileAtomic = require 'write-file-atomic...
true
### * Federated Wiki : Node Server * * Copyright PI:NAME:<NAME>END_PI and other contributors * Licensed under the MIT license. * https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt ### # **sitemap.coffee** fs = require 'fs' path = require 'path' events = require 'events' writeFileAtomic = require 'wri...
[ { "context": " .then (player) ->\n assert player.Name is 'vichle', \"Wrong player\"\n\n describe '#getPlayer(reg", "end": 1041, "score": 0.568578839302063, "start": 1040, "tag": "NAME", "value": "v" }, { "context": ".then (player) ->\n assert player.Name is 'vichle', \...
test/test.coffee
vichle/node-hotslogs
1
assert = require('chai').assert should = require('chai').should() hotslogs = require '../lib/index.js' _ = require 'lodash' firstEventId = null describe 'node-hotslogs', -> describe '#getEvents', -> it 'should return an array of events', -> hotslogs.getEvents() .then (events) -> assert _.isA...
169116
assert = require('chai').assert should = require('chai').should() hotslogs = require '../lib/index.js' _ = require 'lodash' firstEventId = null describe 'node-hotslogs', -> describe '#getEvents', -> it 'should return an array of events', -> hotslogs.getEvents() .then (events) -> assert _.isA...
true
assert = require('chai').assert should = require('chai').should() hotslogs = require '../lib/index.js' _ = require 'lodash' firstEventId = null describe 'node-hotslogs', -> describe '#getEvents', -> it 'should return an array of events', -> hotslogs.getEvents() .then (events) -> assert _.isA...
[ { "context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw", "end": 123, "score": 0.9998290538787842, "start": 114, "tag": "NAME", "value": "Joe Drago" } ]
lib/templates/src/coffee/colormath.coffee
TEAMCHINA/colorist
0
# --------------------------------------------------------------------------- # Copyright Joe Drago 2018. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) #...
124325
# --------------------------------------------------------------------------- # Copyright <NAME> 2018. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # --...
true
# --------------------------------------------------------------------------- # Copyright PI:NAME:<NAME>END_PI 2018. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE...
[ { "context": "I=)([^J]|[0-9+\\-\\(\\)\\\\\\/,])+$/\n key_regex: /^[A-Z]{14}-[A-Z]{10}-[A-Z]$/\n UniChem:\n orphaned_id_url: 'https://www.", "end": 832, "score": 0.9980608224868774, "start": 806, "tag": "KEY", "value": "A-Z]{14}-[A-Z]{10}-[A-Z]$/" } ]
src/glados/static/coffee/ChemUtils.coffee
BNext-IQT/glados-frontend-chembl-main-interface
33
glados.useNameSpace 'glados', ChemUtils: # based on http://opensmiles.org/opensmiles.html SMILES: canonicalize_ws_url: glados.Settings.BEAKER_BASE_URL+'canonicalizeSmiles' aliphatic_organic: '(?:B|C|N|O|S|P|F|Cl|Br|I)' aromatic_organic: '(?:b|c|n|o|s|p)' element_symbols: '(?:H|He|Li|Be...
84417
glados.useNameSpace 'glados', ChemUtils: # based on http://opensmiles.org/opensmiles.html SMILES: canonicalize_ws_url: glados.Settings.BEAKER_BASE_URL+'canonicalizeSmiles' aliphatic_organic: '(?:B|C|N|O|S|P|F|Cl|Br|I)' aromatic_organic: '(?:b|c|n|o|s|p)' element_symbols: '(?:H|He|Li|Be...
true
glados.useNameSpace 'glados', ChemUtils: # based on http://opensmiles.org/opensmiles.html SMILES: canonicalize_ws_url: glados.Settings.BEAKER_BASE_URL+'canonicalizeSmiles' aliphatic_organic: '(?:B|C|N|O|S|P|F|Cl|Br|I)' aromatic_organic: '(?:b|c|n|o|s|p)' element_symbols: '(?:H|He|Li|Be...
[ { "context": " category = new Category\n displayName: displayName\n accountId: account.id\n Actions.q", "end": 4875, "score": 0.7977423071861267, "start": 4864, "tag": "NAME", "value": "displayName" } ]
app/internal_packages/account-sidebar/lib/sidebar-section.coffee
immershy/nodemail
0
_ = require 'underscore' {Actions, AccountStore, SyncbackCategoryTask, DestroyCategoryTask, CategoryStore, Category} = require 'nylas-exports' SidebarItem = require './sidebar-item' SidebarActions = require './sidebar-actions' isSectionCollapsed = (title) -> if NylasEnv.savedState.sidebarKeysCollapsed[title] is...
145917
_ = require 'underscore' {Actions, AccountStore, SyncbackCategoryTask, DestroyCategoryTask, CategoryStore, Category} = require 'nylas-exports' SidebarItem = require './sidebar-item' SidebarActions = require './sidebar-actions' isSectionCollapsed = (title) -> if NylasEnv.savedState.sidebarKeysCollapsed[title] is...
true
_ = require 'underscore' {Actions, AccountStore, SyncbackCategoryTask, DestroyCategoryTask, CategoryStore, Category} = require 'nylas-exports' SidebarItem = require './sidebar-item' SidebarActions = require './sidebar-actions' isSectionCollapsed = (title) -> if NylasEnv.savedState.sidebarKeysCollapsed[title] is...
[ { "context": " sinon.match({\n access_token: sinon.match('eyJhbGciOiJSUzI1NiJ9.')\n })\n\n it 'should respond with token_type'", "end": 6388, "score": 0.9705615043640137, "start": 6365, "tag": "KEY", "value": "eyJhbGciOiJSUzI1NiJ9.')" } ]
test/unit/oidc/token.coffee
Zacaria/connect
0
chai = require 'chai' sinon = require 'sinon' sinonChai = require 'sinon-chai' expect = chai.expect proxyquire = require('proxyquire').noCallThru() chai.use sinonChai chai.should() settings = require '../../../boot/settings' ClientToken = require '../../../models/ClientToken' IDToken = require '../../../models/IDTo...
159457
chai = require 'chai' sinon = require 'sinon' sinonChai = require 'sinon-chai' expect = chai.expect proxyquire = require('proxyquire').noCallThru() chai.use sinonChai chai.should() settings = require '../../../boot/settings' ClientToken = require '../../../models/ClientToken' IDToken = require '../../../models/IDTo...
true
chai = require 'chai' sinon = require 'sinon' sinonChai = require 'sinon-chai' expect = chai.expect proxyquire = require('proxyquire').noCallThru() chai.use sinonChai chai.should() settings = require '../../../boot/settings' ClientToken = require '../../../models/ClientToken' IDToken = require '../../../models/IDTo...
[ { "context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\nScreen.background", "end": 146, "score": 0.9991558790206909, "start": 142, "tag": "NAME", "value": "Tony" } ]
73switchTest.framer/app.coffee
gremjua-forks/100daysofframer
26
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "Tony" twitter: "" description: "" Screen.backgroundColor = "#ececec" switchSize = 220 switchRadius = switchSize/2 switchHandleInset = .95 gray = "rgba(100, 100, 100, .8)" gre...
89757
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "<NAME>" twitter: "" description: "" Screen.backgroundColor = "#ececec" switchSize = 220 switchRadius = switchSize/2 switchHandleInset = .95 gray = "rgba(100, 100, 100, .8)" g...
true
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "PI:NAME:<NAME>END_PI" twitter: "" description: "" Screen.backgroundColor = "#ececec" switchSize = 220 switchRadius = switchSize/2 switchHandleInset = .95 gray = "rgba(100, 10...
[ { "context": "s and ' +\n 'http://127.0.0.1:8080/base/home/b.js').\n toBe 'file /usr", "end": 938, "score": 0.5073976516723633, "start": 938, "tag": "IP_ADDRESS", "value": "" }, { "context": "0290544 and ' +\n 'http://127.0.0.1...
test/unit/reporter.spec.coffee
e-conomic/testacular
1
#============================================================================== # lib/reporter.js module #============================================================================== describe 'reporter', -> loadFile = require('mocks').loadFile m = null beforeEach -> m = loadFile __dirname + '/../../lib/rep...
98031
#============================================================================== # lib/reporter.js module #============================================================================== describe 'reporter', -> loadFile = require('mocks').loadFile m = null beforeEach -> m = loadFile __dirname + '/../../lib/rep...
true
#============================================================================== # lib/reporter.js module #============================================================================== describe 'reporter', -> loadFile = require('mocks').loadFile m = null beforeEach -> m = loadFile __dirname + '/../../lib/rep...
[ { "context": "###\n Bookmarklet IDE\n (c) 2015 Daniel Davison & Contributors\n\n Bookmarklet IDE for Chrome\n###\n", "end": 47, "score": 0.9998465776443481, "start": 33, "tag": "NAME", "value": "Daniel Davison" } ]
src/coffee/settings.coffee
ddavison/chrome-bookmarklet-ide
15
### Bookmarklet IDE (c) 2015 Daniel Davison & Contributors Bookmarklet IDE for Chrome ### # this class is basically a middle man between the chrome storagesync specific to the IDE class Settings # Save the settings save: (obj, callback) -> chrome.storage.sync.set(obj, -> callback() ) # Get ...
176982
### Bookmarklet IDE (c) 2015 <NAME> & Contributors Bookmarklet IDE for Chrome ### # this class is basically a middle man between the chrome storagesync specific to the IDE class Settings # Save the settings save: (obj, callback) -> chrome.storage.sync.set(obj, -> callback() ) # Get any sett...
true
### Bookmarklet IDE (c) 2015 PI:NAME:<NAME>END_PI & Contributors Bookmarklet IDE for Chrome ### # this class is basically a middle man between the chrome storagesync specific to the IDE class Settings # Save the settings save: (obj, callback) -> chrome.storage.sync.set(obj, -> callback() ) ...
[ { "context": "n.select \".scale\"\n .text (d, i) -> [\"Kelvin [K]\"].concat(labels)[i]\n .style fill", "end": 4400, "score": 0.991584837436676, "start": 4394, "tag": "NAME", "value": "Kelvin" }, { "context": " xLabel.append \"tspan\"\n .te...
src/temperatures.coffee
nrbgt/ir-primer
0
define ["./explanation.js"], (Exp)-> d3 = null # magic numbers padding = top: 40 left: 120 right: 120 bottom: 90 sliderPadding = top: 80 left: 10 right: 10 bottom: 110 temperature: 40 solution: 140 domains = x: [0, 2000] y0: [-500, 2000] y1: [-1000, 4000] ...
141936
define ["./explanation.js"], (Exp)-> d3 = null # magic numbers padding = top: 40 left: 120 right: 120 bottom: 90 sliderPadding = top: 80 left: 10 right: 10 bottom: 110 temperature: 40 solution: 140 domains = x: [0, 2000] y0: [-500, 2000] y1: [-1000, 4000] ...
true
define ["./explanation.js"], (Exp)-> d3 = null # magic numbers padding = top: 40 left: 120 right: 120 bottom: 90 sliderPadding = top: 80 left: 10 right: 10 bottom: 110 temperature: 40 solution: 140 domains = x: [0, 2000] y0: [-500, 2000] y1: [-1000, 4000] ...
[ { "context": "0}\n \n \n if Meteor.users.find({username: 'test1'}).count() is 0\n Accounts.createUser\n ", "end": 518, "score": 0.999585747718811, "start": 513, "tag": "USERNAME", "value": "test1" }, { "context": " Accounts.createUser\n username: ...
lib/ideas-collection.coffee
wbashir/ideas
0
@Ideas = new Meteor.Collection 'ideas' if Meteor.isClient @NewIdeas = new Meteor.Collection null handle = null @reSubscribe = (sort) -> if handle? handle.stop() handle = Meteor.subscribe 'ideas', sort reSubscribe() if Meteor.isServer Meteor.p...
3334
@Ideas = new Meteor.Collection 'ideas' if Meteor.isClient @NewIdeas = new Meteor.Collection null handle = null @reSubscribe = (sort) -> if handle? handle.stop() handle = Meteor.subscribe 'ideas', sort reSubscribe() if Meteor.isServer Meteor.p...
true
@Ideas = new Meteor.Collection 'ideas' if Meteor.isClient @NewIdeas = new Meteor.Collection null handle = null @reSubscribe = (sort) -> if handle? handle.stop() handle = Meteor.subscribe 'ideas', sort reSubscribe() if Meteor.isServer Meteor.p...
[ { "context": " 'accountId': Attributes.String\n modelKey: 'accountId'\n jsonKey: 'account_id'\n\n constructor: (@co", "end": 312, "score": 0.9737091064453125, "start": 303, "tag": "KEY", "value": "accountId" }, { "context": "tring\n modelKey: 'accountId'\n jsonK...
models/restful-model.coffee
lever/nylas-nodejs
0
Attributes = require './attributes' Promise = require 'bluebird' _ = require 'underscore' module.exports = class RestfulModel @attributes: 'id': Attributes.String modelKey: 'id' 'object': Attributes.String modelKey: 'object' 'accountId': Attributes.String modelKey: 'accountId' ...
27214
Attributes = require './attributes' Promise = require 'bluebird' _ = require 'underscore' module.exports = class RestfulModel @attributes: 'id': Attributes.String modelKey: 'id' 'object': Attributes.String modelKey: 'object' 'accountId': Attributes.String modelKey: '<KEY>' json...
true
Attributes = require './attributes' Promise = require 'bluebird' _ = require 'underscore' module.exports = class RestfulModel @attributes: 'id': Attributes.String modelKey: 'id' 'object': Attributes.String modelKey: 'object' 'accountId': Attributes.String modelKey: 'PI:KEY:<KEY>END_P...
[ { "context": "s-data</div>\n <input name=\"my-name\" value=\"name-data\" />\n <div data-bind=\"my-data\">data-bind</d", "end": 2021, "score": 0.9748039841651917, "start": 2012, "tag": "NAME", "value": "name-data" }, { "context": " data =\n greeting: 'Hello'\n ...
spec/basicsSpec.coffee
Tol1/transparency
405
describe "Transparency", -> it "should ignore null context", -> template = $ '<div></div>' data = hello: 'Hello' expected = $ '<div></div>' window.Transparency.render template.find('#not_found')[0], data expect(template).toBeEqual expected it "should render empty container for null data",...
167811
describe "Transparency", -> it "should ignore null context", -> template = $ '<div></div>' data = hello: 'Hello' expected = $ '<div></div>' window.Transparency.render template.find('#not_found')[0], data expect(template).toBeEqual expected it "should render empty container for null data",...
true
describe "Transparency", -> it "should ignore null context", -> template = $ '<div></div>' data = hello: 'Hello' expected = $ '<div></div>' window.Transparency.render template.find('#not_found')[0], data expect(template).toBeEqual expected it "should render empty container for null data",...
[ { "context": " values.join ' '\n ret.mx_hash.hash_key = @ret_name\n if module.gram_debug\n value_array_str = ", "end": 8542, "score": 0.32153135538101196, "start": 8538, "tag": "USERNAME", "value": "name" }, { "context": " be processed invalid way\"\n proxy_key =...
src/gram_rule.coffee
hu2prod/gram
0
# ################################################################################################### # TODO # выпилить legacy code # остались proxy_* # запилить постпроцессинг по Node list # запилить дебаг вида "почему не сработало вот это правило" # можно сказать, что почти сделано # запилить фичи regexp...
76913
# ################################################################################################### # TODO # выпилить legacy code # остались proxy_* # запилить постпроцессинг по Node list # запилить дебаг вида "почему не сработало вот это правило" # можно сказать, что почти сделано # запилить фичи regexp...
true
# ################################################################################################### # TODO # выпилить legacy code # остались proxy_* # запилить постпроцессинг по Node list # запилить дебаг вида "почему не сработало вот это правило" # можно сказать, что почти сделано # запилить фичи regexp...
[ { "context": "tp://localhost:8888\",\n \"token\": \"redacted\"\n }\n }\n ]\n '''\n ", "end": 242, "score": 0.554619550704956, "start": 234, "tag": "PASSWORD", "value": "redacted" } ]
atom/config.cson
kylebarron/dotfiles
0
"*": Hydrogen: autoScroll: false debug: true gateways: ''' [ { "name": "Remote", "options": { "baseUrl": "http://localhost:8888", "token": "redacted" } } ] ''' kernelNotifications: true ...
172426
"*": Hydrogen: autoScroll: false debug: true gateways: ''' [ { "name": "Remote", "options": { "baseUrl": "http://localhost:8888", "token": "<PASSWORD>" } } ] ''' kernelNotifications: true ...
true
"*": Hydrogen: autoScroll: false debug: true gateways: ''' [ { "name": "Remote", "options": { "baseUrl": "http://localhost:8888", "token": "PI:PASSWORD:<PASSWORD>END_PI" } } ] ''' kernelNo...
[ { "context": " # {\n # \"docker.crash.io\": {\n # \"auth\": \"base64user:pass\",\n # \"email\": \"email@email\"\n # }\n #", "end": 580, "score": 0.6891462206840515, "start": 570, "tag": "PASSWORD", "value": "base64user" }, { "context": " \"docker.crash.io\": {\n # ...
lib/lib/docker_config.coffee
google-fabric/galley
9
fs = require 'fs' path = require 'path' url = require 'url' _ = require 'lodash' homeDir = require 'home-dir' # Used to look up auth credentials when we know we're going to the official # DockerHub registry. DEFAULT_DOCKERHUB_HOST = 'https://index.docker.io/v1/' module.exports = # Checks the user's docker config fi...
39249
fs = require 'fs' path = require 'path' url = require 'url' _ = require 'lodash' homeDir = require 'home-dir' # Used to look up auth credentials when we know we're going to the official # DockerHub registry. DEFAULT_DOCKERHUB_HOST = 'https://index.docker.io/v1/' module.exports = # Checks the user's docker config fi...
true
fs = require 'fs' path = require 'path' url = require 'url' _ = require 'lodash' homeDir = require 'home-dir' # Used to look up auth credentials when we know we're going to the official # DockerHub registry. DEFAULT_DOCKERHUB_HOST = 'https://index.docker.io/v1/' module.exports = # Checks the user's docker config fi...
[ { "context": "one else is specified.\n @default_user_label = \"herb\"\n\n for user_label, user_desc of @chain.users\n ", "end": 2906, "score": 0.7818806171417236, "start": 2902, "tag": "USERNAME", "value": "herb" }, { "context": " 1: @forge.prng(32).toString('hex')\n # 1...
src/teamforge.iced
keybase/node-test-sigchain
6
{make_esc} = require 'iced-error' {athrow,akatch,unix_time} = require('iced-utils').util kbpgp = require 'kbpgp' proofs = require 'keybase-proofs' constants = proofs.constants {prng,createHash,createHmac} = require 'crypto' {make_prng} = require './badprng' {PerUserSecretKeys, PerTeamSecretKeys, PerTeamKeyBoxes, PerTea...
40419
{make_esc} = require 'iced-error' {athrow,akatch,unix_time} = require('iced-utils').util kbpgp = require 'kbpgp' proofs = require 'keybase-proofs' constants = proofs.constants {prng,createHash,createHmac} = require 'crypto' {make_prng} = require './badprng' {PerUserSecretKeys, PerTeamSecretKeys, PerTeamKeyBoxes, PerTea...
true
{make_esc} = require 'iced-error' {athrow,akatch,unix_time} = require('iced-utils').util kbpgp = require 'kbpgp' proofs = require 'keybase-proofs' constants = proofs.constants {prng,createHash,createHmac} = require 'crypto' {make_prng} = require './badprng' {PerUserSecretKeys, PerTeamSecretKeys, PerTeamKeyBoxes, PerTea...
[ { "context": "####\n# Title: Tier 3 Pricing Calculator\n# Author: matt@wintr.us @ WINTR\n#########################################", "end": 117, "score": 0.9999057054519653, "start": 104, "tag": "EMAIL", "value": "matt@wintr.us" } ]
source/js/main.coffee
CenturyLinkCloud/PriceEstimator
9
######################################################### # Title: Tier 3 Pricing Calculator # Author: matt@wintr.us @ WINTR ######################################################### #-------------------------------------------------------- # Imports #-------------------------------------------------------- Config ...
60275
######################################################### # Title: Tier 3 Pricing Calculator # Author: <EMAIL> @ WINTR ######################################################### #-------------------------------------------------------- # Imports #-------------------------------------------------------- Config = requ...
true
######################################################### # Title: Tier 3 Pricing Calculator # Author: PI:EMAIL:<EMAIL>END_PI @ WINTR ######################################################### #-------------------------------------------------------- # Imports #--------------------------------------------------------...
[ { "context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o", "end": 67, "score": 0.931785523891449, "start": 62, "tag": "NAME", "value": "Hatio" } ]
src/Command.coffee
heartyoh/infopik
0
# ========================================== # Copyright 2014 Hatio, Lab. # Licensed under The MIT License # http://opensource.org/licenses/MIT # ========================================== define [ 'dou' ], (dou) -> "use strict" class Command constructor : (params) -> @params = do...
126043
# ========================================== # Copyright 2014 <NAME>, Lab. # Licensed under The MIT License # http://opensource.org/licenses/MIT # ========================================== define [ 'dou' ], (dou) -> "use strict" class Command constructor : (params) -> @params = d...
true
# ========================================== # Copyright 2014 PI:NAME:<NAME>END_PI, Lab. # Licensed under The MIT License # http://opensource.org/licenses/MIT # ========================================== define [ 'dou' ], (dou) -> "use strict" class Command constructor : (params) -> ...
[ { "context": "# 'randomND' module v1.0\n# by Marc Krenn, Jan. 2nd, 2016 | marc.krenn@gmail.com | @marc_kr", "end": 40, "score": 0.9998900294303894, "start": 30, "tag": "NAME", "value": "Marc Krenn" }, { "context": "mND' module v1.0\n# by Marc Krenn, Jan. 2nd, 2016 | marc.krenn@gmail....
module/randomND.coffee
marckrenn/framer-randomND
1
# 'randomND' module v1.0 # by Marc Krenn, Jan. 2nd, 2016 | marc.krenn@gmail.com | @marc_krenn # # Add the following line to your project in Framer Studio. # randomND = require "randomND" Utils.randomND = exports.randomND = (from, to, deviation = (to/10)+2, mean = 0, amp = 2) -> random = Math.round(Utils.modulate...
55252
# 'randomND' module v1.0 # by <NAME>, Jan. 2nd, 2016 | <EMAIL> | @marc_krenn # # Add the following line to your project in Framer Studio. # randomND = require "randomND" Utils.randomND = exports.randomND = (from, to, deviation = (to/10)+2, mean = 0, amp = 2) -> random = Math.round(Utils.modulate(mean + gaussRand...
true
# 'randomND' module v1.0 # by PI:NAME:<NAME>END_PI, Jan. 2nd, 2016 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn # # Add the following line to your project in Framer Studio. # randomND = require "randomND" Utils.randomND = exports.randomND = (from, to, deviation = (to/10)+2, mean = 0, amp = 2) -> random = Math.round(Ut...
[ { "context": " base: \".\"\n hostname: \"0.0.0.0\"\n port: 9000\n ", "end": 6474, "score": 0.9993245005607605, "start": 6467, "tag": "IP_ADDRESS", "value": "0.0.0.0" }, { "context": " base: \"test\"\n ...
public/pb-assets/frameworks/fine-uploader-master/Gruntfile.coffee
ubilli/popibay-s3
0
### Fine Uploader ------------- Gruntfile ### module.exports = (grunt) -> fs = require 'fs' uuid = require 'uuid' async = require 'async' # Utilities # ========== path = require 'path' # Package # ========== pkg = require './package.json' # Paths # ========...
123784
### Fine Uploader ------------- Gruntfile ### module.exports = (grunt) -> fs = require 'fs' uuid = require 'uuid' async = require 'async' # Utilities # ========== path = require 'path' # Package # ========== pkg = require './package.json' # Paths # ========...
true
### Fine Uploader ------------- Gruntfile ### module.exports = (grunt) -> fs = require 'fs' uuid = require 'uuid' async = require 'async' # Utilities # ========== path = require 'path' # Package # ========== pkg = require './package.json' # Paths # ========...
[ { "context": "200, c: 300, d: 300 })\n # h.key(200) #=> \"b\"\n # h.key(300) #=> \"c\"\n # h.key(999", "end": 7916, "score": 0.8446717262268066, "start": 7915, "tag": "KEY", "value": "b" }, { "context": " h.key(200) #=> \"b\"\n # h.key(300) #=> \"c\"\...
lib/oo/hash.coffee
hasclass/core-lib
1
# # Unsupported: #value?() use @has_value? # class RubyJS.Hash extends RubyJS.Object @include R.Enumerable # ---- Constructors & Typecast ---------------------------------------------- @new: () -> new R.Hash() constructor: (hsh, default_value) -> @__native__ = hsh @__default__ = default_value ...
186376
# # Unsupported: #value?() use @has_value? # class RubyJS.Hash extends RubyJS.Object @include R.Enumerable # ---- Constructors & Typecast ---------------------------------------------- @new: () -> new R.Hash() constructor: (hsh, default_value) -> @__native__ = hsh @__default__ = default_value ...
true
# # Unsupported: #value?() use @has_value? # class RubyJS.Hash extends RubyJS.Object @include R.Enumerable # ---- Constructors & Typecast ---------------------------------------------- @new: () -> new R.Hash() constructor: (hsh, default_value) -> @__native__ = hsh @__default__ = default_value ...
[ { "context": "_getConnection: (callback) ->\n {hostname, port, username, password, secure} = @settings\n\n if @connectio", "end": 3266, "score": 0.9925699830055237, "start": 3258, "tag": "USERNAME", "value": "username" }, { "context": "\n host: hostname\n port: port\n...
lib/transports/FtpTransport.coffee
timtjtim/remote-sync
280
FTPConnection = null mkdirp = null fs = null path = require "path" module.exports = class FtpTransport constructor: (@logger, @settings, @projectPath) -> dispose: -> if @connection @connection.end() @connection = null delete: (localFilePath, callback) -> targetFilePath = path.join(@settings...
28821
FTPConnection = null mkdirp = null fs = null path = require "path" module.exports = class FtpTransport constructor: (@logger, @settings, @projectPath) -> dispose: -> if @connection @connection.end() @connection = null delete: (localFilePath, callback) -> targetFilePath = path.join(@settings...
true
FTPConnection = null mkdirp = null fs = null path = require "path" module.exports = class FtpTransport constructor: (@logger, @settings, @projectPath) -> dispose: -> if @connection @connection.end() @connection = null delete: (localFilePath, callback) -> targetFilePath = path.join(@settings...
[ { "context": "lassName: \"col-sm-10\",\n if key != 'transportationMode'\n input\n clas", "end": 1309, "score": 0.820462703704834, "start": 1291, "tag": "KEY", "value": "transportationMode" } ]
src/scripts/components/edgeModal.coffee
perspectivezoom/shipmentbuilder
0
`import _ from 'lodash'` `import React from 'react'` `import Modal from 'react-modal'` `import Actions from '../actions'` Modal.setAppElement document.body {div, span, label, input, select, option, button, i, text} = React.DOM [modal] = (React.createFactory(component) for component in [Modal]) edgeModal = React.crea...
206189
`import _ from 'lodash'` `import React from 'react'` `import Modal from 'react-modal'` `import Actions from '../actions'` Modal.setAppElement document.body {div, span, label, input, select, option, button, i, text} = React.DOM [modal] = (React.createFactory(component) for component in [Modal]) edgeModal = React.crea...
true
`import _ from 'lodash'` `import React from 'react'` `import Modal from 'react-modal'` `import Actions from '../actions'` Modal.setAppElement document.body {div, span, label, input, select, option, button, i, text} = React.DOM [modal] = (React.createFactory(component) for component in [Modal]) edgeModal = React.crea...
[ { "context": "://client-d07d18qe:7795a6dc-3e1a-a4fe-ab3f-e632basd1e44d@production-db-c12.meteor.io:27017/example_meteor", "end": 174, "score": 0.5437540411949158, "start": 169, "tag": "EMAIL", "value": "d1e44" }, { "context": "e:7795a6dc-3e1a-a4fe-ab3f-e632basd1e44d@production-db-c12...
private/getDataFromProdToLocal.coffee
dotob/kita-families-meteor
1
fs = require('fs') exec = require('child_process').exec doExportImport = (url, collection, next) -> # sample: mongodb://client-d07d18qe:7795a6dc-3e1a-a4fe-ab3f-e632basd1e44d@production-db-c12.meteor.io:27017/example_meteor_com [f, user, pass, host, db] = url.match /mongodb:\/\/(\S*?):(\S*?)@(\S*?)\/(\S*)/ mongoExpo...
175909
fs = require('fs') exec = require('child_process').exec doExportImport = (url, collection, next) -> # sample: mongodb://client-d07d18qe:7795a6dc-3e1a-a4fe-ab3f-e632bas<EMAIL>d@production<EMAIL>-db-<EMAIL>2.meteor.io:27017/example_meteor_com [f, user, pass, host, db] = url.match /mongodb:\/\/(\S*?):(\S*?)@(\S*?)\/(\S...
true
fs = require('fs') exec = require('child_process').exec doExportImport = (url, collection, next) -> # sample: mongodb://client-d07d18qe:7795a6dc-3e1a-a4fe-ab3f-e632basPI:EMAIL:<EMAIL>END_PId@productionPI:EMAIL:<EMAIL>END_PI-db-PI:EMAIL:<EMAIL>END_PI2.meteor.io:27017/example_meteor_com [f, user, pass, host, db] = url...
[ { "context": "s) ->\n @id = Number(Date.now())\n @name = name\n\n # Generate JS/CSS Script/Link tags for inclu", "end": 567, "score": 0.9950244426727295, "start": 563, "tag": "NAME", "value": "name" }, { "context": " processFiles()\n\n # Pack Assets\n id = @...
src/client_asset_manager/client.coffee
nponeccop/socketstream
0
# Single-page Client # ------------------ # Allows you to define which assets should be served for each client # TODO: Cleanup this code. It's way too messy for my liking log = console.log fs = require('fs') pathlib = require('path') magicPath = require('./magic_path') templateEngine = require('./template_engine').in...
97676
# Single-page Client # ------------------ # Allows you to define which assets should be served for each client # TODO: Cleanup this code. It's way too messy for my liking log = console.log fs = require('fs') pathlib = require('path') magicPath = require('./magic_path') templateEngine = require('./template_engine').in...
true
# Single-page Client # ------------------ # Allows you to define which assets should be served for each client # TODO: Cleanup this code. It's way too messy for my liking log = console.log fs = require('fs') pathlib = require('path') magicPath = require('./magic_path') templateEngine = require('./template_engine').in...
[ { "context": "edge (see issue:\n # https://github.com/GetmeUK/ContentTools/issues/258#issuecomment-228931486\n ", "end": 1290, "score": 0.9024927020072937, "start": 1283, "tag": "USERNAME", "value": "GetmeUK" }, { "context": "suecomment-228931486\n #\n ...
src/characters.coffee
anthonyjb/HTMLString
24
class HTMLString.Character # A HTML character constructor: (c, tags) -> @_c = c # Entities are stored lower case if c.length > 1 @_c = c.toLowerCase() # Add the tags @_tags = [] @addTags.apply(@, tags) # Read-only properties c: () -> ...
103749
class HTMLString.Character # A HTML character constructor: (c, tags) -> @_c = c # Entities are stored lower case if c.length > 1 @_c = c.toLowerCase() # Add the tags @_tags = [] @addTags.apply(@, tags) # Read-only properties c: () -> ...
true
class HTMLString.Character # A HTML character constructor: (c, tags) -> @_c = c # Entities are stored lower case if c.length > 1 @_c = c.toLowerCase() # Add the tags @_tags = [] @addTags.apply(@, tags) # Read-only properties c: () -> ...
[ { "context": "taNameForCSRFToken = 'csrf-token'\n\nnumericKeys = [1, 2, 3, 4, 5, 6, 7, 10, 11]\ndate_re = ///\n ^\n (\\", "end": 153, "score": 0.5526030659675598, "start": 152, "tag": "KEY", "value": "1" }, { "context": "ameForCSRFToken = 'csrf-token'\n\nnumericKeys = [1, 2, 3, 4, ...
modules/extras/batman.rails.coffee
nickjs/batman.js
3
Batman.config.pathToHTML = '/assets/batman/html' Batman.config.protectFromCSRF = true Batman.config.metaNameForCSRFToken = 'csrf-token' numericKeys = [1, 2, 3, 4, 5, 6, 7, 10, 11] date_re = /// ^ (\d{4}|[+\-]\d{6}) # 1 YYYY (?:-(\d{2}) # 2 MM (?:-(\d{2}))?)? # 3 DD (?: T(\d{2}): # 4 ...
42526
Batman.config.pathToHTML = '/assets/batman/html' Batman.config.protectFromCSRF = true Batman.config.metaNameForCSRFToken = 'csrf-token' numericKeys = [<KEY>, <KEY>, <KEY>, <KEY>, <KEY>, <KEY>, <KEY>, 10, 11] date_re = /// ^ (\d{4}|[+\-]\d{6}) # 1 YYYY (?:-(\d{2}) # 2 MM (?:-(\d{2}))?)? # 3 DD (?...
true
Batman.config.pathToHTML = '/assets/batman/html' Batman.config.protectFromCSRF = true Batman.config.metaNameForCSRFToken = 'csrf-token' numericKeys = [PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, 10, 11] date_re = /// ^ ...
[ { "context": "\n @timeout(5500)\n\n login =\n username: \"per\"\n password: \"per\"\n\n # Emit stuff\n @cli", "end": 1452, "score": 0.9994631409645081, "start": 1449, "tag": "USERNAME", "value": "per" }, { "context": " login =\n username: \"per\"\n p...
GOTHAM/Backend/src/Tests/Test_Networking.coffee
perara/gotham
0
'use strict' chai = require 'chai' chaiAsPromised = require 'chai-as-promised' chai.use chaiAsPromised expect = chai.expect co = require 'co' log = require('log4js').getLogger("Test_Networking") SocketServer = require '../Networking/SocketServer.coffee' Database = require '../Database/Database.coffee' suite 'Net...
181762
'use strict' chai = require 'chai' chaiAsPromised = require 'chai-as-promised' chai.use chaiAsPromised expect = chai.expect co = require 'co' log = require('log4js').getLogger("Test_Networking") SocketServer = require '../Networking/SocketServer.coffee' Database = require '../Database/Database.coffee' suite 'Net...
true
'use strict' chai = require 'chai' chaiAsPromised = require 'chai-as-promised' chai.use chaiAsPromised expect = chai.expect co = require 'co' log = require('log4js').getLogger("Test_Networking") SocketServer = require '../Networking/SocketServer.coffee' Database = require '../Database/Database.coffee' suite 'Net...
[ { "context": "Mocha-cakes Reference ========\nhttps://github.com/quangv/mocha-cakes\nhttps://github.com/visionmedia/should", "end": 275, "score": 0.999396800994873, "start": 269, "tag": "USERNAME", "value": "quangv" }, { "context": "/github.com/quangv/mocha-cakes\nhttps://github.com/...
src/test/population_spec.coffee
NicMcPhee/whooping-crane-model
0
'use strict' require 'mocha-cakes' ModelParameters = require '../lib/model_parameters' Clock = require '../lib/clock' Bird = require '../lib/bird' Population = require '../lib/population' ### ======== A Handy Little Mocha-cakes Reference ======== https://github.com/quangv/mocha-cakes https://github.com/visionmedia/s...
53630
'use strict' require 'mocha-cakes' ModelParameters = require '../lib/model_parameters' Clock = require '../lib/clock' Bird = require '../lib/bird' Population = require '../lib/population' ### ======== A Handy Little Mocha-cakes Reference ======== https://github.com/quangv/mocha-cakes https://github.com/visionmedia/s...
true
'use strict' require 'mocha-cakes' ModelParameters = require '../lib/model_parameters' Clock = require '../lib/clock' Bird = require '../lib/bird' Population = require '../lib/population' ### ======== A Handy Little Mocha-cakes Reference ======== https://github.com/quangv/mocha-cakes https://github.com/visionmedia/s...
[ { "context": " @utils.setupHash s, [\n key : \"reading_mode\",\n post_change : (isReading) =>\n ", "end": 2280, "score": 0.9392695426940918, "start": 2268, "tag": "KEY", "value": "reading_mode" }, { "context": "t names (ids)\n # and a selecte...
app/scripts/result_controllers.coffee
CSCfi/Kielipankki-korp-frontend
0
korpApp = angular.module("korpApp") korpApp.controller "resultContainerCtrl", ($scope, searches, $location) -> $scope.searches = searches $scope.enableMap = settings.enableMap # korpApp.controller "kwicCtrl", class KwicCtrl class KwicCtrl setupHash : () -> c.log "setupHash", @scope.$id @ut...
183107
korpApp = angular.module("korpApp") korpApp.controller "resultContainerCtrl", ($scope, searches, $location) -> $scope.searches = searches $scope.enableMap = settings.enableMap # korpApp.controller "kwicCtrl", class KwicCtrl class KwicCtrl setupHash : () -> c.log "setupHash", @scope.$id @ut...
true
korpApp = angular.module("korpApp") korpApp.controller "resultContainerCtrl", ($scope, searches, $location) -> $scope.searches = searches $scope.enableMap = settings.enableMap # korpApp.controller "kwicCtrl", class KwicCtrl class KwicCtrl setupHash : () -> c.log "setupHash", @scope.$id @ut...
[ { "context": "/PEM--/grunt-phonegapsplash\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under", "end": 120, "score": 0.9998743534088135, "start": 98, "tag": "NAME", "value": "Pierre-Eric Marchandet" }, { "context": "Copyright (c) 2013 Pi...
test/testReducedMobileSet.coffee
gruntjs-updater/grunt-phonegapsplash
0
### # grunt-phonegapsplash # https://github.com/PEM--/grunt-phonegapsplash # # Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>) # Licensed under the MIT licence. ### 'use strict' assert = require 'assert' fs = require 'fs' path = require 'path' EXPECTED_DEST = path.join 'tmp', 'default_opti...
174636
### # grunt-phonegapsplash # https://github.com/PEM--/grunt-phonegapsplash # # Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>) # Licensed under the MIT licence. ### 'use strict' assert = require 'assert' fs = require 'fs' path = require 'path' EXPECTED_DEST = path.join 'tmp', 'default_options' PROFILES = (require '../li...
true
### # grunt-phonegapsplash # https://github.com/PEM--/grunt-phonegapsplash # # Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>) # Licensed under the MIT licence. ### 'use strict' assert = require 'assert' fs = require 'fs' path = require 'path' EXPECTED_DEST = path.join 'tmp', 'default_option...
[ { "context": "github\n headers = {\n 'User-Agent': 'Autocode <support@autocode.run> (https://autocode.run/autocode)'\n }\n \n # get ", "end": 498, "score": 0.999920666217804, "start": 478, "tag": "EMAIL", "value": "support@autocode.run" } ]
src/autocode/info.coffee
crystal/autocode-js
92
# load deps bluebird = require 'bluebird' request = require 'sync-request' request = bluebird.promisifyAll request info = (opts) -> autocode = this if typeof opts == 'object' if opts._ && opts._[1] name = opts._[1] else if opts.name name = opts.name else if typeof name == 'string' na...
131826
# load deps bluebird = require 'bluebird' request = require 'sync-request' request = bluebird.promisifyAll request info = (opts) -> autocode = this if typeof opts == 'object' if opts._ && opts._[1] name = opts._[1] else if opts.name name = opts.name else if typeof name == 'string' na...
true
# load deps bluebird = require 'bluebird' request = require 'sync-request' request = bluebird.promisifyAll request info = (opts) -> autocode = this if typeof opts == 'object' if opts._ && opts._[1] name = opts._[1] else if opts.name name = opts.name else if typeof name == 'string' na...
[ { "context": "0ohA':'node.js rules!'\n 'rot5':\n 'abc678':'abc123'\n 'rot13':\n 'nop':'abc'\n 'rot18':\n 'nop67", "end": 2423, "score": 0.41207924485206604, "start": 2420, "tag": "KEY", "value": "123" } ]
test/string-codec-test.coffee
3ch01c/string-codec
7
assert = require 'power-assert' codec = require '../../lib/string-codec' encode_testset = 'hex': 'abc':'616263' 'def':'646566' 'ghi':'676869' 'あいうえお':'e38182e38184e38186e38188e3818a' 'ascii': '616263':'abc' '0x616263':'abc' '61:62:63':'abc' 'base64': 'abc':'YWJj' 'def':'ZGVm' ...
211470
assert = require 'power-assert' codec = require '../../lib/string-codec' encode_testset = 'hex': 'abc':'616263' 'def':'646566' 'ghi':'676869' 'あいうえお':'e38182e38184e38186e38188e3818a' 'ascii': '616263':'abc' '0x616263':'abc' '61:62:63':'abc' 'base64': 'abc':'YWJj' 'def':'ZGVm' ...
true
assert = require 'power-assert' codec = require '../../lib/string-codec' encode_testset = 'hex': 'abc':'616263' 'def':'646566' 'ghi':'676869' 'あいうえお':'e38182e38184e38186e38188e3818a' 'ascii': '616263':'abc' '0x616263':'abc' '61:62:63':'abc' 'base64': 'abc':'YWJj' 'def':'ZGVm' ...
[ { "context": "sion: 0.1.17 (1/13/16)\n @requires $ >= v1.4\n\n By Noel Peden\n Examples at http://straydogstudio.github.io/fil", "end": 94, "score": 0.9999070167541504, "start": 84, "tag": "NAME", "value": "Noel Peden" } ]
public/plugins/film_roll/coffee/jquery.film_roll.coffee
yongyun/bdance2
62
### FilmRoll (for jQuery) version: 0.1.17 (1/13/16) @requires $ >= v1.4 By Noel Peden Examples at http://straydogstudio.github.io/film_roll Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php Usage: var film_roll = new FilmRoll({container: '#container_id', OPTIONS}); ### ...
105938
### FilmRoll (for jQuery) version: 0.1.17 (1/13/16) @requires $ >= v1.4 By <NAME> Examples at http://straydogstudio.github.io/film_roll Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php Usage: var film_roll = new FilmRoll({container: '#container_id', OPTIONS}); ### ( ($...
true
### FilmRoll (for jQuery) version: 0.1.17 (1/13/16) @requires $ >= v1.4 By PI:NAME:<NAME>END_PI Examples at http://straydogstudio.github.io/film_roll Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php Usage: var film_roll = new FilmRoll({container: '#container_id', OPTIO...
[ { "context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# job-collection is free software released un", "end": 124, "score": 0.9997745752334595, "start": 110, "tag": "NAME", "value": "Vaughn Iverson" } ]
src/server.coffee
lpender/meteor-job-collection
0
############################################################################ # Copyright (C) 2014-2017 by Vaughn Iverson # job-collection is free software released under the MIT/X11 license. # See included LICENSE file for details. ############################################################################...
18501
############################################################################ # Copyright (C) 2014-2017 by <NAME> # job-collection is free software released under the MIT/X11 license. # See included LICENSE file for details. ############################################################################ if Met...
true
############################################################################ # Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI # job-collection is free software released under the MIT/X11 license. # See included LICENSE file for details. ######################################################################...
[ { "context": "ests if token header is present\", ->\n token = \"2705a83a5a0659cce34583972637eda5\"\n @$(\"<meta name=csrf-token content=#{token}>\"", "end": 332, "score": 0.9730492830276489, "start": 300, "tag": "KEY", "value": "2705a83a5a0659cce34583972637eda5" }, { "context":...
test/unit/csrf.coffee
curriculet/rails-behaviors
1
each frameworks, (framework) -> module "#{framework} - CSRF", setup: -> setupFrame this, "/#{framework}.html" window.formSubmitted = -> teardown: -> delete window.formSubmitted asyncTest "adds X-CSRF-Token to AJAX requests if token header is present", -> token = "2705a83a5a0659cce345...
61873
each frameworks, (framework) -> module "#{framework} - CSRF", setup: -> setupFrame this, "/#{framework}.html" window.formSubmitted = -> teardown: -> delete window.formSubmitted asyncTest "adds X-CSRF-Token to AJAX requests if token header is present", -> token = "<KEY>" @$("<meta...
true
each frameworks, (framework) -> module "#{framework} - CSRF", setup: -> setupFrame this, "/#{framework}.html" window.formSubmitted = -> teardown: -> delete window.formSubmitted asyncTest "adds X-CSRF-Token to AJAX requests if token header is present", -> token = "PI:KEY:<KEY>END_PI" ...
[ { "context": "###\n * 删除文件或者是某个目录\n * @author jackie Lin <dashi_lin@163.com>\n###\n'use strict'\n\nthrough2 = ", "end": 40, "score": 0.9996340274810791, "start": 30, "tag": "NAME", "value": "jackie Lin" }, { "context": "###\n * 删除文件或者是某个目录\n * @author jackie Lin <dashi_lin@163.com>\n...
deleteFile.coffee
JackieLin/gis
0
### * 删除文件或者是某个目录 * @author jackie Lin <dashi_lin@163.com> ### 'use strict' through2 = require 'through2' FS = require 'q-io/fs' path = require 'path' _ = require 'lodash' module.exports = (filePath) -> filePath = if _.isFunction(filePath) then filePath() else filePath # console.log filePath through2.o...
111484
### * 删除文件或者是某个目录 * @author <NAME> <<EMAIL>> ### 'use strict' through2 = require 'through2' FS = require 'q-io/fs' path = require 'path' _ = require 'lodash' module.exports = (filePath) -> filePath = if _.isFunction(filePath) then filePath() else filePath # console.log filePath through2.obj (file, enc,...
true
### * 删除文件或者是某个目录 * @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### 'use strict' through2 = require 'through2' FS = require 'q-io/fs' path = require 'path' _ = require 'lodash' module.exports = (filePath) -> filePath = if _.isFunction(filePath) then filePath() else filePath # console.log filePath...
[ { "context": "exp: ///(^|#{bcv_parser::regexps.pre_book})(\n\t\t(?:Joel|Yole)\n\t\t\t)(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff0", "end": 14171, "score": 0.634246826171875, "start": 14169, "tag": "NAME", "value": "Jo" }, { "context": "\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t...
src/tl/regexps.coffee
phillipb/Bible-Passage-Reference-Parser
149
bcv_parser::regexps.space = "[\\s\\xa0]" bcv_parser::regexps.escaped_passage = /// (?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J...
167487
bcv_parser::regexps.space = "[\\s\\xa0]" bcv_parser::regexps.escaped_passage = /// (?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J...
true
bcv_parser::regexps.space = "[\\s\\xa0]" bcv_parser::regexps.escaped_passage = /// (?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J...
[ { "context": "bot geolocate <ip> - Geolocates IP\n#\n# Author:\n# Scott J Roberts - @sroberts\n\napi_url = \"http://api.hostip.info\"\n\n", "end": 184, "score": 0.9998588562011719, "start": 169, "tag": "NAME", "value": "Scott J Roberts" }, { "context": " - Geolocates IP\n#\n# Autho...
src/scripts/geolocate-ip.coffee
3ch01c/hubot-vtr-scripts
47
# Description: # Geolocate an IP Address # # Dependencies: # None # # Configuration: # None # # Commands: # hubot geolocate <ip> - Geolocates IP # # Author: # Scott J Roberts - @sroberts api_url = "http://api.hostip.info" module.exports = (robot) -> robot.respond /geolocate (.+)$/i, (msg) -> target_ip...
10226
# Description: # Geolocate an IP Address # # Dependencies: # None # # Configuration: # None # # Commands: # hubot geolocate <ip> - Geolocates IP # # Author: # <NAME> - @sroberts api_url = "http://api.hostip.info" module.exports = (robot) -> robot.respond /geolocate (.+)$/i, (msg) -> target_ip = msg.ma...
true
# Description: # Geolocate an IP Address # # Dependencies: # None # # Configuration: # None # # Commands: # hubot geolocate <ip> - Geolocates IP # # Author: # PI:NAME:<NAME>END_PI - @sroberts api_url = "http://api.hostip.info" module.exports = (robot) -> robot.respond /geolocate (.+)$/i, (msg) -> targ...
[ { "context": "n keys\n display_metrics: ->\n keys = [ \"cpu.loadavg.5m\", \"cpu.usage.user\", \"cpu.usage.system\", \"mem.usag", "end": 1197, "score": 0.7544736266136169, "start": 1187, "tag": "KEY", "value": "loadavg.5m" } ]
app/assets/javascripts/states/monitoring/views/_host_overview.js.coffee
chetan/bixby-manager
2
namespace "Bixby.view.monitoring", (exports, top) -> class exports.HostOverview extends Stark.Partial className: "host_overview" template: "monitoring/_host_overview" links: "h3 a": [ "mon_view_host", (el) -> { host: @host, metrics: (new _bm.HostSummaryMetricList()).reset(@metrics) } ] events...
17507
namespace "Bixby.view.monitoring", (exports, top) -> class exports.HostOverview extends Stark.Partial className: "host_overview" template: "monitoring/_host_overview" links: "h3 a": [ "mon_view_host", (el) -> { host: @host, metrics: (new _bm.HostSummaryMetricList()).reset(@metrics) } ] events...
true
namespace "Bixby.view.monitoring", (exports, top) -> class exports.HostOverview extends Stark.Partial className: "host_overview" template: "monitoring/_host_overview" links: "h3 a": [ "mon_view_host", (el) -> { host: @host, metrics: (new _bm.HostSummaryMetricList()).reset(@metrics) } ] events...
[ { "context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/29/15 ", "end": 16, "score": 0.9991861581802368, "start": 13, "tag": "NAME", "value": "易晓峰" }, { "context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/29/15 3:51 PM\n# Description: 项目信息...
src/cache/project.coffee
kiteam/kiteam
0
# Author: 易晓峰 # E-mail: wvv8oo@gmail.com # Date: 6/29/15 3:51 PM # Description: 项目信息的缓存,主要缓存项目类型 _ = require 'lodash' _BaseCache = require './base' _entity = require '../entity' class ProjectCacheEntity extends _BaseCache init: (cb)-> @load cb #加载列表,如果没有指定project_id,则加载所有数据 load: (project_id, cb)->...
54927
# Author: <NAME> # E-mail: <EMAIL> # Date: 6/29/15 3:51 PM # Description: 项目信息的缓存,主要缓存项目类型 _ = require 'lodash' _BaseCache = require './base' _entity = require '../entity' class ProjectCacheEntity extends _BaseCache init: (cb)-> @load cb #加载列表,如果没有指定project_id,则加载所有数据 load: (project_id, cb)-> # ...
true
# Author: PI:NAME:<NAME>END_PI # E-mail: PI:EMAIL:<EMAIL>END_PI # Date: 6/29/15 3:51 PM # Description: 项目信息的缓存,主要缓存项目类型 _ = require 'lodash' _BaseCache = require './base' _entity = require '../entity' class ProjectCacheEntity extends _BaseCache init: (cb)-> @load cb #加载列表,如果没有指定project_id,则加载所有数据 l...
[ { "context": "doc_count'), ((a, b) -> a + b))\n key: glados.Visualisation.Activity.OTHERS_LABEL\n ", "end": 21734, "score": 0.9055289030075073, "start": 21728, "tag": "KEY", "value": "glados" }, { "context": "(a, b) -> a + b))\n key: glados.Visua...
src/glados/static/coffee/Utils.coffee
BNext-IQT/glados-frontend-chembl-main-interface
0
glados.useNameSpace 'glados', Utils: Pagination: calculatePaginatorParams: (num_pages, current_page) -> show_previous_ellipsis = false show_next_ellipsis = false if num_pages <= 5 first_page_to_show = 1 last_page_to_show = num_pages else if current_page + ...
28042
glados.useNameSpace 'glados', Utils: Pagination: calculatePaginatorParams: (num_pages, current_page) -> show_previous_ellipsis = false show_next_ellipsis = false if num_pages <= 5 first_page_to_show = 1 last_page_to_show = num_pages else if current_page + ...
true
glados.useNameSpace 'glados', Utils: Pagination: calculatePaginatorParams: (num_pages, current_page) -> show_previous_ellipsis = false show_next_ellipsis = false if num_pages <= 5 first_page_to_show = 1 last_page_to_show = num_pages else if current_page + ...
[ { "context": "user = @robot.brain.userForId '1', {\n name: 'hubottester'\n room: '#mocha'\n }\n\n afterEach ->\n @r", "end": 1326, "score": 0.9996897578239441, "start": 1315, "tag": "USERNAME", "value": "hubottester" }, { "context": "s substring of alias', ->\n ...
test/robot_test.coffee
peterfraedrich/8bot
0
# Assertions and Stubbing chai = require 'chai' sinon = require 'sinon' chai.use require 'sinon-chai' { expect } = chai mockery = require 'mockery' # Hubot classes Robot = require '../src/robot.coffee' { CatchAllMessage, EnterMessage, LeaveMessage, TextMessage, TopicMessage } = require '../src/message' Adapter = req...
188896
# Assertions and Stubbing chai = require 'chai' sinon = require 'sinon' chai.use require 'sinon-chai' { expect } = chai mockery = require 'mockery' # Hubot classes Robot = require '../src/robot.coffee' { CatchAllMessage, EnterMessage, LeaveMessage, TextMessage, TopicMessage } = require '../src/message' Adapter = req...
true
# Assertions and Stubbing chai = require 'chai' sinon = require 'sinon' chai.use require 'sinon-chai' { expect } = chai mockery = require 'mockery' # Hubot classes Robot = require '../src/robot.coffee' { CatchAllMessage, EnterMessage, LeaveMessage, TextMessage, TopicMessage } = require '../src/message' Adapter = req...
[ { "context": "ow for use with Ext JS 4.0+\nhttp://github.com/CodeCatalyst/Ext.ux.callout.Callout\n\n@author John Yanarella\n@v", "end": 145, "score": 0.6525832414627075, "start": 137, "tag": "USERNAME", "value": "Catalyst" }, { "context": "b.com/CodeCatalyst/Ext.ux.callout.Callout\n\...
src/coffee/ux/callout/Callout.coffee
CodeCatalyst/Ext.ux.callout.Callout
3
### Ext.ux.callout.Callout - CSS styleable floating callout container with optional arrow for use with Ext JS 4.0+ http://github.com/CodeCatalyst/Ext.ux.callout.Callout @author John Yanarella @version: 1.0.4 Copyright (c) 2012-2016 CodeCatalyst, LLC - http://www.codecatalyst.com/ Permission is hereby granted, free o...
8115
### Ext.ux.callout.Callout - CSS styleable floating callout container with optional arrow for use with Ext JS 4.0+ http://github.com/CodeCatalyst/Ext.ux.callout.Callout @author <NAME> @version: 1.0.4 Copyright (c) 2012-2016 CodeCatalyst, LLC - http://www.codecatalyst.com/ Permission is hereby granted, free of charge...
true
### Ext.ux.callout.Callout - CSS styleable floating callout container with optional arrow for use with Ext JS 4.0+ http://github.com/CodeCatalyst/Ext.ux.callout.Callout @author PI:NAME:<NAME>END_PI @version: 1.0.4 Copyright (c) 2012-2016 CodeCatalyst, LLC - http://www.codecatalyst.com/ Permission is hereby granted, ...
[ { "context": " if user and pass\n auth =\n username: user\n password: pass\n else if pass\n aut", "end": 408, "score": 0.9831492900848389, "start": 404, "tag": "USERNAME", "value": "user" }, { "context": " auth =\n username: user\n passwor...
lib/firebase_connection.coffee
mattinsler/firebase-work
2
q = require 'q' URL = require 'url' Firebase = require 'firebase' class FirebaseConnection @cache: {} @connect: (url) -> parsed = URL.parse(url) delete parsed.pathname key = URL.format(parsed) return @cache[key] if @cache[key]? auth = parsed.auth delete parsed.auth [user, p...
60418
q = require 'q' URL = require 'url' Firebase = require 'firebase' class FirebaseConnection @cache: {} @connect: (url) -> parsed = URL.parse(url) delete parsed.pathname key = URL.format(parsed) return @cache[key] if @cache[key]? auth = parsed.auth delete parsed.auth [user, p...
true
q = require 'q' URL = require 'url' Firebase = require 'firebase' class FirebaseConnection @cache: {} @connect: (url) -> parsed = URL.parse(url) delete parsed.pathname key = URL.format(parsed) return @cache[key] if @cache[key]? auth = parsed.auth delete parsed.auth [user, p...
[ { "context": "ariable\r\n db = QRefDatabase.instance()\r\n\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass QRefSlaveManage", "end": 872, "score": 0.999828577041626, "start": 860, "tag": "NAME", "value": "Nathan Klick" }, { "context": ">\r\n\t\t@.createSlave('master',...
Workspace/QRef/NodeServer/src/db/QRefSlaveManager.coffee
qrefdev/qref
0
mongoose = require('mongoose') QRefSlave = require('./QRefSlave') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class...
22003
mongoose = require('mongoose') QRefSlave = require('./QRefSlave') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class...
true
mongoose = require('mongoose') QRefSlave = require('./QRefSlave') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class...
[ { "context": "e) ->\n mongoose.models.Person.findOne { name: \"Elon Musk\" }, (err, elon) ->\n expect(elon.name).to.be(", "end": 477, "score": 0.9998505711555481, "start": 468, "tag": "NAME", "value": "Elon Musk" }, { "context": " }, (err, elon) ->\n expect(elon.name).to...
src/test/example.single-connection.coffee
seelio/mongoose-quickfix
0
Fixture = require "../" expect = require "expect.js" mongoose = require "mongoose" describe "Person model", -> before (done) -> Fixture.use([]) Fixture.initModels(done) beforeEach (done) -> Fixture.populate(done) it "should be able to find things", (done) -> mongoose.models.Person.find {}, (e...
176385
Fixture = require "../" expect = require "expect.js" mongoose = require "mongoose" describe "Person model", -> before (done) -> Fixture.use([]) Fixture.initModels(done) beforeEach (done) -> Fixture.populate(done) it "should be able to find things", (done) -> mongoose.models.Person.find {}, (e...
true
Fixture = require "../" expect = require "expect.js" mongoose = require "mongoose" describe "Person model", -> before (done) -> Fixture.use([]) Fixture.initModels(done) beforeEach (done) -> Fixture.populate(done) it "should be able to find things", (done) -> mongoose.models.Person.find {}, (e...
[ { "context": "` unit extensions test\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test, should} = require('lovely')\n\n\ndescribe \"", "end": 81, "score": 0.9998854398727417, "start": 64, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
stl/ajax/test/hash_test.coffee
lovely-io/lovely.io-stl
2
# # The `Hash` unit extensions test # # Copyright (C) 2011-2013 Nikolay Nemshilov # {Test, should} = require('lovely') describe "Hash extensions", -> Hash = null before Test.load (Ajax, window)-> Hash = window.Lovely.Hash describe ".fromQueryString('data')", -> it "should parse out data from query st...
151317
# # The `Hash` unit extensions test # # Copyright (C) 2011-2013 <NAME> # {Test, should} = require('lovely') describe "Hash extensions", -> Hash = null before Test.load (Ajax, window)-> Hash = window.Lovely.Hash describe ".fromQueryString('data')", -> it "should parse out data from query strings", -> ...
true
# # The `Hash` unit extensions test # # Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI # {Test, should} = require('lovely') describe "Hash extensions", -> Hash = null before Test.load (Ajax, window)-> Hash = window.Lovely.Hash describe ".fromQueryString('data')", -> it "should parse out data from query...
[ { "context": " \"http://test.com/test.xml\"\n \"authors\": \"Danny Swaby\"\n )\n feed.on \"invalid\", (model, err", "end": 2125, "score": 0.9998592734336853, "start": 2114, "tag": "NAME", "value": "Danny Swaby" } ]
test/coffee/player.coffee
dswaby/swabcast-webapp
0
define ["app", "apps/episodes/player/player_view", "./../../app/assets/bower_components/chai/chai", "entities/player", "apps/episodes/player/player_controller" ], (Swabcast, View, chai) -> # Chai should reference # var should = require('chai').should() //actually call the the function # , foo = 'bar' ...
191330
define ["app", "apps/episodes/player/player_view", "./../../app/assets/bower_components/chai/chai", "entities/player", "apps/episodes/player/player_controller" ], (Swabcast, View, chai) -> # Chai should reference # var should = require('chai').should() //actually call the the function # , foo = 'bar' ...
true
define ["app", "apps/episodes/player/player_view", "./../../app/assets/bower_components/chai/chai", "entities/player", "apps/episodes/player/player_controller" ], (Swabcast, View, chai) -> # Chai should reference # var should = require('chai').should() //actually call the the function # , foo = 'bar' ...
[ { "context": "ocalhost/test\"\n expect(uri.username).to.equal \"user\"\n expect(uri.password).to.equal \"password\"\n\n ", "end": 548, "score": 0.8829721212387085, "start": 544, "tag": "USERNAME", "value": "user" }, { "context": "o.equal \"user\"\n expect(uri.password).to.e...
node_modules/mongo-uri/test/spec/parse.coffee
tronghuy2807/adminMongo
3
MongoUri = require "#{LIB_ROOT}/mongo-uri" describe "parse", -> it "should throw type error when missing uri portion", -> fn = -> MongoUri.parse() expect(fn).to.throw TypeError, /must be a string/ it "should throw type error when not mongodb: scheme", -> fn = -> MongoUri.parse("http://test...
131936
MongoUri = require "#{LIB_ROOT}/mongo-uri" describe "parse", -> it "should throw type error when missing uri portion", -> fn = -> MongoUri.parse() expect(fn).to.throw TypeError, /must be a string/ it "should throw type error when not mongodb: scheme", -> fn = -> MongoUri.parse("http://test...
true
MongoUri = require "#{LIB_ROOT}/mongo-uri" describe "parse", -> it "should throw type error when missing uri portion", -> fn = -> MongoUri.parse() expect(fn).to.throw TypeError, /must be a string/ it "should throw type error when not mongodb: scheme", -> fn = -> MongoUri.parse("http://test...
[ { "context": "i63.tinypic.com/ixusyd.jpg'\n name:'赛蕾丝媞亚·鲁丁贝鲁格'\n prize:'超高校级的赌徒'\n ", "end": 1488, "score": 0.6067104339599609, "start": 1487, "tag": "NAME", "value": "赛" }, { "context": "6.tinypic.com/2qk1guv.jpg'\n name:'不二咲千寻'\n ...
server/rpc/game/themes.coffee
Yukimir/jinrou
0
### danganronpa: name:String opening:String vote:String sunrise:String sunset:String icon:String(URL) background_color:"black" color:"rgb(255,0,166)" skins: some_id: avatar:String(URL) name:String ...
150917
### danganronpa: name:String opening:String vote:String sunrise:String sunset:String icon:String(URL) background_color:"black" color:"rgb(255,0,166)" skins: some_id: avatar:String(URL) name:String ...
true
### danganronpa: name:String opening:String vote:String sunrise:String sunset:String icon:String(URL) background_color:"black" color:"rgb(255,0,166)" skins: some_id: avatar:String(URL) name:String ...
[ { "context": " clientData =\n name: name\n type: clientType\n\n ", "end": 1329, "score": 0.9517565369606018, "start": 1325, "tag": "NAME", "value": "name" } ]
src/client/socket/factories/data-socket-factory.coffee
multatronic/die-on-the-double
0
angular .module 'socket' .factory 'DataSocket', [ '$log' '$rootScope' '$timeout' ($log, $rootScope, $timeout) -> $log.debug 'DataSocket: Initializing' DataSocketBase = {} DataSocketBase.options = events: roo...
38172
angular .module 'socket' .factory 'DataSocket', [ '$log' '$rootScope' '$timeout' ($log, $rootScope, $timeout) -> $log.debug 'DataSocket: Initializing' DataSocketBase = {} DataSocketBase.options = events: roo...
true
angular .module 'socket' .factory 'DataSocket', [ '$log' '$rootScope' '$timeout' ($log, $rootScope, $timeout) -> $log.debug 'DataSocket: Initializing' DataSocketBase = {} DataSocketBase.options = events: roo...
[ { "context": "ry> - setting category's discount.\n#\n# Author:\n# Ghost.Yang\n#\n\nUtil = require 'util'\n\nmodule.exports = (robot", "end": 1170, "score": 0.9998415112495422, "start": 1160, "tag": "NAME", "value": "Ghost.Yang" }, { "context": " for userName, food of category whe...
src/hubot-order-menu.coffee
GhostTW/hubot-order
4
# Description: # Make an order for easyily record and calculate total money needed. # # Dependencies: # coffee-script # # Configuration: # HUBOT_ORDER_MENU_STORE_INFO=[name1,phone1,Http:\\link1;name2,phone2,Http:\\link2] # # Commands: # hubot order stores - show all store info. # hubot order <category> (<food> <not...
24927
# Description: # Make an order for easyily record and calculate total money needed. # # Dependencies: # coffee-script # # Configuration: # HUBOT_ORDER_MENU_STORE_INFO=[name1,phone1,Http:\\link1;name2,phone2,Http:\\link2] # # Commands: # hubot order stores - show all store info. # hubot order <category> (<food> <not...
true
# Description: # Make an order for easyily record and calculate total money needed. # # Dependencies: # coffee-script # # Configuration: # HUBOT_ORDER_MENU_STORE_INFO=[name1,phone1,Http:\\link1;name2,phone2,Http:\\link2] # # Commands: # hubot order stores - show all store info. # hubot order <category> (<food> <not...
[ { "context": " form = r.form()\n form.append \"access_token\", \"your atom access_token!!!\"\n form.append \"builder\", builders[options.platf", "end": 537, "score": 0.9866694211959839, "start": 515, "tag": "PASSWORD", "value": "your atom access_token" } ]
libs/build-request.coffee
youxiaowei/wsc
0
fs = require 'fs' request = require 'request' module.exports = (projectPath, options)-> new Promise (resolve, reject) => r = request.post {url: "http://puzzle.appbricks.io:4080/puzzle/api/tasks", timeout: 1000*60*10}, (err, httpResponse, body) -> if err then reject(err) else resolve(body) # predefined...
86423
fs = require 'fs' request = require 'request' module.exports = (projectPath, options)-> new Promise (resolve, reject) => r = request.post {url: "http://puzzle.appbricks.io:4080/puzzle/api/tasks", timeout: 1000*60*10}, (err, httpResponse, body) -> if err then reject(err) else resolve(body) # predefined...
true
fs = require 'fs' request = require 'request' module.exports = (projectPath, options)-> new Promise (resolve, reject) => r = request.post {url: "http://puzzle.appbricks.io:4080/puzzle/api/tasks", timeout: 1000*60*10}, (err, httpResponse, body) -> if err then reject(err) else resolve(body) # predefined...
[ { "context": "google-analytics'\nnew GoogleAnalytics\n account: 'UA-1224199-17'\n domain: 'chimpandsee.org'\n\n\n", "end": 603, "score": 0.9935223460197449, "start": 590, "tag": "KEY", "value": "UA-1224199-17" } ]
app/init.coffee
zooniverse/chimpandsee
2
$ = window.jQuery # Api Api = require 'zooniverse/lib/api' api = if window.location.hostname is 'www.chimpandsee.org' new Api project: 'chimp', host: 'https://www.chimpandsee.org', path: '/_ouroboros_api/proxy' else new Api project: 'chimp' # Subject group setup Subject = require 'zooniverse/models/subject' Subj...
204892
$ = window.jQuery # Api Api = require 'zooniverse/lib/api' api = if window.location.hostname is 'www.chimpandsee.org' new Api project: 'chimp', host: 'https://www.chimpandsee.org', path: '/_ouroboros_api/proxy' else new Api project: 'chimp' # Subject group setup Subject = require 'zooniverse/models/subject' Subj...
true
$ = window.jQuery # Api Api = require 'zooniverse/lib/api' api = if window.location.hostname is 'www.chimpandsee.org' new Api project: 'chimp', host: 'https://www.chimpandsee.org', path: '/_ouroboros_api/proxy' else new Api project: 'chimp' # Subject group setup Subject = require 'zooniverse/models/subject' Subj...
[ { "context": "\n it 'works', ->\n item = new Name(first: 'Miles', last: 'Davis')\n expect(item.full).eq 'Mile", "end": 275, "score": 0.999667227268219, "start": 270, "tag": "NAME", "value": "Miles" }, { "context": ", ->\n item = new Name(first: 'Miles', last: 'Davis...
test/getter_test.coffee
rstacruz/ento
11
require './setup' Name = null item = null describe 'getter', -> describe 'getter', -> beforeEach -> Name = ento() .attr('first') .attr('last') .attr('full', -> "#{@first} #{@last}") it 'works', -> item = new Name(first: 'Miles', last: 'Davis') expect(item.full).eq ...
182835
require './setup' Name = null item = null describe 'getter', -> describe 'getter', -> beforeEach -> Name = ento() .attr('first') .attr('last') .attr('full', -> "#{@first} #{@last}") it 'works', -> item = new Name(first: '<NAME>', last: '<NAME>') expect(item.full).e...
true
require './setup' Name = null item = null describe 'getter', -> describe 'getter', -> beforeEach -> Name = ento() .attr('first') .attr('last') .attr('full', -> "#{@first} #{@last}") it 'works', -> item = new Name(first: 'PI:NAME:<NAME>END_PI', last: 'PI:NAME:<NAME>END_PI...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999092221260071, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/profile-page/recent-activity.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 { AchievementBadge } from './achievement-badge' import { ExtraHeader } from './extra-header' import * as React from 'react' import { div, ...
84640
# 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 { AchievementBadge } from './achievement-badge' import { ExtraHeader } from './extra-header' import * as React from 'react' import { div, li, p, ...
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 { AchievementBadge } from './achievement-badge' import { ExtraHeader } from './extra-header' import * as React from 'react' import...
[ { "context": "list.prop('selection') else {}\n key = checkbox.data('list-selector')\n present = String(key) in Obj", "end": 2606, "score": 0.6817533373832703, "start": 2602, "tag": "KEY", "value": "data" } ]
app/assets/javascripts/active_list.jquery.js.coffee
ekylibre/active_list
1
ActiveList = {} (($, AL) -> "use strict" # Main function which reload table with specified data parameters AL.refresh = (list, options) -> table = list.find("table[data-current-page]").first() parameters = sort: table.data("list-sort-by") dir: table.data("list-sort-dir") page:...
177521
ActiveList = {} (($, AL) -> "use strict" # Main function which reload table with specified data parameters AL.refresh = (list, options) -> table = list.find("table[data-current-page]").first() parameters = sort: table.data("list-sort-by") dir: table.data("list-sort-dir") page:...
true
ActiveList = {} (($, AL) -> "use strict" # Main function which reload table with specified data parameters AL.refresh = (list, options) -> table = list.find("table[data-current-page]").first() parameters = sort: table.data("list-sort-by") dir: table.data("list-sort-dir") page:...
[ { "context": "rg/extensions/xep-0045.html\n *Previous Author:\n Nathan Zorn <nathan.zorn@gmail.com>\n *Complete CoffeeScript r", "end": 123, "score": 0.9998990893363953, "start": 112, "tag": "NAME", "value": "Nathan Zorn" }, { "context": "xep-0045.html\n *Previous Author:\n Nat...
muc/strophe.muc.coffee
Reflex-Gravity/strophejs-plugins
34
### *Plugin to implement the MUC extension. http://xmpp.org/extensions/xep-0045.html *Previous Author: Nathan Zorn <nathan.zorn@gmail.com> *Complete CoffeeScript rewrite: Andreas Guth <guth@dbis.rwth-aachen.de> ### Strophe.addConnectionPlugin 'muc' _connection: null rooms: {} roomNames: [] ###Fu...
15839
### *Plugin to implement the MUC extension. http://xmpp.org/extensions/xep-0045.html *Previous Author: <NAME> <<EMAIL>> *Complete CoffeeScript rewrite: <NAME> <<EMAIL>> ### Strophe.addConnectionPlugin 'muc' _connection: null rooms: {} roomNames: [] ###Function Initialize the MUC plugin. Sets t...
true
### *Plugin to implement the MUC extension. http://xmpp.org/extensions/xep-0045.html *Previous Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> *Complete CoffeeScript rewrite: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### Strophe.addConnectionPlugin 'muc' _connection: null rooms: {} roomNa...
[ { "context": " \n Certificate files generated:\n * Key: \"/tmp/masson-test/ca.key.pem\"\n * Certificate: \"/tmp/masson-test/c", "end": 764, "score": 0.8719682097434998, "start": 748, "tag": "KEY", "value": "tmp/masson-test/" }, { "context": "e files generated:\n * Key: ...
test/commands/pki.coffee
wdavidw/node-masson
7
normalize = require '../../lib/config/normalize' params = require '../../lib/params' fs = require('fs').promises nikita = require 'nikita' shell = require 'shell' describe 'command pki', -> tmp = '/tmp/masson-test' beforeEach -> require('module')._cache = {} nikita.fs.mkdir tmp afterEach -> nikit...
28391
normalize = require '../../lib/config/normalize' params = require '../../lib/params' fs = require('fs').promises nikita = require 'nikita' shell = require 'shell' describe 'command pki', -> tmp = '/tmp/masson-test' beforeEach -> require('module')._cache = {} nikita.fs.mkdir tmp afterEach -> nikit...
true
normalize = require '../../lib/config/normalize' params = require '../../lib/params' fs = require('fs').promises nikita = require 'nikita' shell = require 'shell' describe 'command pki', -> tmp = '/tmp/masson-test' beforeEach -> require('module')._cache = {} nikita.fs.mkdir tmp afterEach -> nikit...
[ { "context": "#\n# Ethan Mick\n# 2015\n#\nHapi = require 'Hapi'\nQ = require 'q'\nSo", "end": 14, "score": 0.9998158812522888, "start": 4, "tag": "NAME", "value": "Ethan Mick" } ]
lib/server.coffee
ethanmick/future-server
0
# # Ethan Mick # 2015 # Hapi = require 'Hapi' Q = require 'q' SocketIO = require 'socket.io' log = require './helpers/log' Scheduler = require './models/scheduler' class Server constructor: (opts)-> @server = new Hapi.Server() @server.connection(opts) @scheduler = new Scheduler() @server.app.schedul...
100201
# # <NAME> # 2015 # Hapi = require 'Hapi' Q = require 'q' SocketIO = require 'socket.io' log = require './helpers/log' Scheduler = require './models/scheduler' class Server constructor: (opts)-> @server = new Hapi.Server() @server.connection(opts) @scheduler = new Scheduler() @server.app.scheduler =...
true
# # PI:NAME:<NAME>END_PI # 2015 # Hapi = require 'Hapi' Q = require 'q' SocketIO = require 'socket.io' log = require './helpers/log' Scheduler = require './models/scheduler' class Server constructor: (opts)-> @server = new Hapi.Server() @server.connection(opts) @scheduler = new Scheduler() @server.a...
[ { "context": "e.main.filename)\n _port: 9999\n _sessionSecret: 'asdfgk;lgmfgkfgfgdf'\n _cookieSecret: 'werijpweormfk;sfklfsd'\n _mong", "end": 132, "score": 0.9987624287605286, "start": 113, "tag": "KEY", "value": "asdfgk;lgmfgkfgfgdf" }, { "context": "onSecret: 'asdfgk;lgmfgkfgf...
backend/config/init.coffee
chiehwen/ResShoPos
1
serverConfig = _apiServerPath: require('path').dirname(require.main.filename) _port: 9999 _sessionSecret: 'asdfgk;lgmfgkfgfgdf' _cookieSecret: 'werijpweormfk;sfklfsd' _mongoConnectStr: 'mongodb://localhost/resshopos' _tokenScrete: 'abcd123456789' exports.serverConfig = serverConfig
735
serverConfig = _apiServerPath: require('path').dirname(require.main.filename) _port: 9999 _sessionSecret: '<KEY>' _cookieSecret: '<KEY>' _mongoConnectStr: 'mongodb://localhost/resshopos' _tokenScrete: '<KEY>' exports.serverConfig = serverConfig
true
serverConfig = _apiServerPath: require('path').dirname(require.main.filename) _port: 9999 _sessionSecret: 'PI:KEY:<KEY>END_PI' _cookieSecret: 'PI:KEY:<KEY>END_PI' _mongoConnectStr: 'mongodb://localhost/resshopos' _tokenScrete: 'PI:KEY:<KEY>END_PI' exports.serverConfig = serverConfig
[ { "context": "nup controller shows the signup view.\n\n @author Sebastian Sachtleben\n###\nclass SignupController extends BaseController", "end": 141, "score": 0.9998840689659119, "start": 121, "tag": "NAME", "value": "Sebastian Sachtleben" } ]
app/assets/javascripts/site/controllers/signup.coffee
ssachtleben/herowar
1
BaseController = require 'controllers/baseController' ### The signup controller shows the signup view. @author Sebastian Sachtleben ### class SignupController extends BaseController views: 'views/header' : '' 'views/signup' : '' return SignupController
112555
BaseController = require 'controllers/baseController' ### The signup controller shows the signup view. @author <NAME> ### class SignupController extends BaseController views: 'views/header' : '' 'views/signup' : '' return SignupController
true
BaseController = require 'controllers/baseController' ### The signup controller shows the signup view. @author PI:NAME:<NAME>END_PI ### class SignupController extends BaseController views: 'views/header' : '' 'views/signup' : '' return SignupController
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999158978462219, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" }, { "context": "links. Works around [1].\n# [1] https://github.com/turbolinks/...
resources/assets/coffee/turbolinks-overrides.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. # Anchor navigation with turbolinks. Works around [1]. # [1] https://github.com/turbolinks/turbolinks/issues/75 $(document).on 'click', 'a[href^=...
67536
# 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. # Anchor navigation with turbolinks. Works around [1]. # [1] https://github.com/turbolinks/turbolinks/issues/75 $(document).on 'click', 'a[href^="#"]', ...
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. # Anchor navigation with turbolinks. Works around [1]. # [1] https://github.com/turbolinks/turbolinks/issues/75 $(document).on 'click', '...
[ { "context": "rellises.character_item.create_seed\r\n name: 'orc slayer'\r\n\r\n orc = trellis.create_seed\r\n race: 'o", "end": 3257, "score": 0.8212453722953796, "start": 3247, "tag": "NAME", "value": "orc slayer" } ]
test/buster/tests/vineyard-test.coffee
silentorb/bloom
0
buster.testCase "Arbor", "sort vines": -> properties = c: name: "c" d: name: "d" weight: 50 a: name: "a" b: name: "b" weight: -1 result = Arbor.sort_vines(properties) assert.equals result[0].name, "b" assert...
26261
buster.testCase "Arbor", "sort vines": -> properties = c: name: "c" d: name: "d" weight: 50 a: name: "a" b: name: "b" weight: -1 result = Arbor.sort_vines(properties) assert.equals result[0].name, "b" assert...
true
buster.testCase "Arbor", "sort vines": -> properties = c: name: "c" d: name: "d" weight: 50 a: name: "a" b: name: "b" weight: -1 result = Arbor.sort_vines(properties) assert.equals result[0].name, "b" assert...
[ { "context": "abstract of the given topic.\n\n# Copyright (c) 2011 John Tantalo\n# \n# Permission is hereby granted, free of charge", "end": 104, "score": 0.9998276829719543, "start": 92, "tag": "NAME", "value": "John Tantalo" } ]
src/scripts/abstract.coffee
mcollina/hubot-scripts
1
# hubot abstract <topic> - Prints a nice abstract of the given topic. # Copyright (c) 2011 John Tantalo # # 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 wi...
107545
# hubot abstract <topic> - Prints a nice abstract of the given topic. # Copyright (c) 2011 <NAME> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without # restriction, including without ...
true
# hubot abstract <topic> - Prints a nice abstract of the given topic. # Copyright (c) 2011 PI:NAME:<NAME>END_PI # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without # restriction, incl...
[ { "context": " </div>\n\n <a href=\"http://github.com/joyent/node\"><img class=\"forkme\" src=\"http://nodejs.org/", "end": 1494, "score": 0.9993778467178345, "start": 1488, "tag": "USERNAME", "value": "joyent" }, { "context": "orward.\n<br>\n<a href=\"http://www.madglor...
test/prefetcher_test.coffee
ShiningRay/static-caching-proxy
1
rewire = require("rewire") FS = require 'fs-mock' Should = require 'should' content = """ <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link type="image/x-icon" rel="icon" href="favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href=...
1077
rewire = require("rewire") FS = require 'fs-mock' Should = require 'should' content = """ <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link type="image/x-icon" rel="icon" href="favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href=...
true
rewire = require("rewire") FS = require 'fs-mock' Should = require 'should' content = """ <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link type="image/x-icon" rel="icon" href="favicon.ico"> <link type="image/x-icon" rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href=...
[ { "context": " envarizer.parseFile(input)\n assert.equal \"john.smyth@example.com\", envarizer.formattedOutput['ENV_VAR_C']\n \n ", "end": 883, "score": 0.9999051690101624, "start": 861, "tag": "EMAIL", "value": "john.smyth@example.com" } ]
test/test.coffee
jnyryan/envarizer
0
assert = require('chai').assert fs = require('fs') envarizer = require './../lib/envarizer.coffee' loadTestString = (name) -> fs.readFileSync "./test/fixtures/#{name}.txt", 'utf8' describe 'test-strings', -> describe 'simple-string', -> it 'should return a valid parsed env var', -> input = [loadTestStri...
150306
assert = require('chai').assert fs = require('fs') envarizer = require './../lib/envarizer.coffee' loadTestString = (name) -> fs.readFileSync "./test/fixtures/#{name}.txt", 'utf8' describe 'test-strings', -> describe 'simple-string', -> it 'should return a valid parsed env var', -> input = [loadTestStri...
true
assert = require('chai').assert fs = require('fs') envarizer = require './../lib/envarizer.coffee' loadTestString = (name) -> fs.readFileSync "./test/fixtures/#{name}.txt", 'utf8' describe 'test-strings', -> describe 'simple-string', -> it 'should return a valid parsed env var', -> input = [loadTestStri...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9987007975578308, "start": 12, "tag": "NAME", "value": "Joyent" }, { "context": "tB = undefined\nif isWindows\n partA = \"C:\\\\Users\\\\Rocko Artischocko\\\\AppData\\\\Roami...
test/simple/test-module-globalpaths-nodepath.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...
181456
# 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...