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": "# TODO Don't hardcode this\n@google_api_key = \"AIzaSyB2zbIKIoJR0fq5-dmM_h88hDce9TRDz9Q\"\n\ngetCardWidth = (windowWidth) ->\n if windowWidt", "end": 85, "score": 0.9997347593307495, "start": 46, "tag": "KEY", "value": "AIzaSyB2zbIKIoJR0fq5-dmM_h88hDce9TRDz9Q" }, { "co...
client/main.coffee
davidmcclure/FOLD
1
# TODO Don't hardcode this @google_api_key = "AIzaSyB2zbIKIoJR0fq5-dmM_h88hDce9TRDz9Q" getCardWidth = (windowWidth) -> if windowWidth <= 1024 cardWidth = 400 else if (windowWidth > 1024) and (windowWidth <= 1304) cardWidth = (windowWidth - (16 * 3) - (88 * 2)) / 2 else cardWidth = 520 Session.set "w...
108138
# TODO Don't hardcode this @google_api_key = "<KEY>" getCardWidth = (windowWidth) -> if windowWidth <= 1024 cardWidth = 400 else if (windowWidth > 1024) and (windowWidth <= 1304) cardWidth = (windowWidth - (16 * 3) - (88 * 2)) / 2 else cardWidth = 520 Session.set "windowHeight", $(window).height() S...
true
# TODO Don't hardcode this @google_api_key = "PI:KEY:<KEY>END_PI" getCardWidth = (windowWidth) -> if windowWidth <= 1024 cardWidth = 400 else if (windowWidth > 1024) and (windowWidth <= 1304) cardWidth = (windowWidth - (16 * 3) - (88 * 2)) / 2 else cardWidth = 520 Session.set "windowHeight", $(windo...
[ { "context": "d-proxy'\n owner: '1235'\n name: 'Little Bits'\n logo: 'http://google.com'\n ", "end": 938, "score": 0.9063575267791748, "start": 932, "tag": "NAME", "value": "Little" } ]
test/src/models/user-credential-device-manager-spec.coffee
octoblu/little-bits-cloud-proxy
0
UserCredentialDeviceManager = require '../../../src/models/user-credential-device-manager' describe 'UserCredentialDeviceManager', -> beforeEach -> @meshbluHttp = devices: sinon.stub() register: sinon.stub() @MeshbluHttp = sinon.spy => @meshbluHttp @meshbluJSON = type: 'auth-user:little-bits-c...
27437
UserCredentialDeviceManager = require '../../../src/models/user-credential-device-manager' describe 'UserCredentialDeviceManager', -> beforeEach -> @meshbluHttp = devices: sinon.stub() register: sinon.stub() @MeshbluHttp = sinon.spy => @meshbluHttp @meshbluJSON = type: 'auth-user:little-bits-c...
true
UserCredentialDeviceManager = require '../../../src/models/user-credential-device-manager' describe 'UserCredentialDeviceManager', -> beforeEach -> @meshbluHttp = devices: sinon.stub() register: sinon.stub() @MeshbluHttp = sinon.spy => @meshbluHttp @meshbluJSON = type: 'auth-user:little-bits-c...
[ { "context": "il: waff.q('.username').value\r\n password: waff.q('.password').value\r\n (err, api) ->\r\n if ", "end": 331, "score": 0.9633760452270508, "start": 314, "tag": "PASSWORD", "value": "waff.q('.password" } ]
gui/js/factories/login.coffee
artur9010/electron-colorchanger
9
messenger = require 'facebook-chat-api' Phoenix.factory 'login', [ '$rootScope' '$timeout' ($scope, $timeout) -> -> $scope.submitted = true $scope.apply -> $scope.login_info = 'Logging in...' messenger email: waff.q('.username').value password: waff.q...
54179
messenger = require 'facebook-chat-api' Phoenix.factory 'login', [ '$rootScope' '$timeout' ($scope, $timeout) -> -> $scope.submitted = true $scope.apply -> $scope.login_info = 'Logging in...' messenger email: waff.q('.username').value password: <PASSW...
true
messenger = require 'facebook-chat-api' Phoenix.factory 'login', [ '$rootScope' '$timeout' ($scope, $timeout) -> -> $scope.submitted = true $scope.apply -> $scope.login_info = 'Logging in...' messenger email: waff.q('.username').value password: PI:PAS...
[ { "context": "Type\n \n BITPIX: (args...) ->\n key = \"BITPIX\"\n value = parseInt(arguments[0])\n @veri", "end": 954, "score": 0.9957391023635864, "start": 948, "tag": "KEY", "value": "BITPIX" }, { "context": "value\n \n NAXIS: (args...) ->\n key ...
src/header.verify.coffee
astrojs/fitsjs
57
# This module is a collection of function for verifying reserved keywords of the FITS standard # When new keywords and extensions are defined, this module may be extended. HeaderVerify = verifyOrder: (keyword, order) -> console.warn("#{keyword} should appear at index #{@cardIndex} in the FITS header") unless ...
45820
# This module is a collection of function for verifying reserved keywords of the FITS standard # When new keywords and extensions are defined, this module may be extended. HeaderVerify = verifyOrder: (keyword, order) -> console.warn("#{keyword} should appear at index #{@cardIndex} in the FITS header") unless ...
true
# This module is a collection of function for verifying reserved keywords of the FITS standard # When new keywords and extensions are defined, this module may be extended. HeaderVerify = verifyOrder: (keyword, order) -> console.warn("#{keyword} should appear at index #{@cardIndex} in the FITS header") unless ...
[ { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde", "end": 23, "score": 0.9996085166931152, "start": 17, "tag": "NAME", "value": "SASAKI" }, { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac", ...
src/wavelet_matrix.coffee
erukiti/cerebrums
7
# Copyright 2015 SASAKI, Shunsuke. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
97915
# Copyright 2015 <NAME>, <NAME>. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
true
# Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ { "context": "orage = require 'core/storage'\nGPLUS_TOKEN_KEY = 'gplusToken'\n\nclientID = '800329290710-j9sivplv2gpcdgkrsis9rf", "end": 168, "score": 0.857149600982666, "start": 158, "tag": "KEY", "value": "gplusToken" }, { "context": " names: [{\n givenNam...
app/core/social-handlers/GPlusHandler.coffee
cihatislamdede/codecombat
4,858
CocoClass = require 'core/CocoClass' {me} = require 'core/auth' {backboneFailure} = require 'core/errors' storage = require 'core/storage' GPLUS_TOKEN_KEY = 'gplusToken' clientID = '800329290710-j9sivplv2gpcdgkrsis9rff3o417mlfa.apps.googleusercontent.com' module.exports = GPlusHandler = class GPlusHandler extends Coc...
105124
CocoClass = require 'core/CocoClass' {me} = require 'core/auth' {backboneFailure} = require 'core/errors' storage = require 'core/storage' GPLUS_TOKEN_KEY = '<KEY>' clientID = '800329290710-j9sivplv2gpcdgkrsis9rff3o417mlfa.apps.googleusercontent.com' module.exports = GPlusHandler = class GPlusHandler extends CocoClas...
true
CocoClass = require 'core/CocoClass' {me} = require 'core/auth' {backboneFailure} = require 'core/errors' storage = require 'core/storage' GPLUS_TOKEN_KEY = 'PI:KEY:<KEY>END_PI' clientID = '800329290710-j9sivplv2gpcdgkrsis9rff3o417mlfa.apps.googleusercontent.com' module.exports = GPlusHandler = class GPlusHandler ext...
[ { "context": "sis\"\n input: [\n token: \"misca\"\n starts: 5\n ]\n ", "end": 1787, "score": 0.8984746932983398, "start": 1782, "tag": "KEY", "value": "misca" }, { "context": " ]\n output: [\n token...
src/coffee/tokenize/parenthesize.spec.coffee
jameswilddev/influx7
1
describe "tokenize", -> describe "parenthesize", -> rewire = require "rewire" describe "imports", -> tokenizeParenthesize = rewire "./parenthesize" it "parentheses", -> (expect tokenizeParenthesize.__get__ "parentheses").toBe require "./parentheses" describe "on calling", -> ...
77377
describe "tokenize", -> describe "parenthesize", -> rewire = require "rewire" describe "imports", -> tokenizeParenthesize = rewire "./parenthesize" it "parentheses", -> (expect tokenizeParenthesize.__get__ "parentheses").toBe require "./parentheses" describe "on calling", -> ...
true
describe "tokenize", -> describe "parenthesize", -> rewire = require "rewire" describe "imports", -> tokenizeParenthesize = rewire "./parenthesize" it "parentheses", -> (expect tokenizeParenthesize.__get__ "parentheses").toBe require "./parentheses" describe "on calling", -> ...
[ { "context": "n='1.1' encoding='UTF-8'?>\n <user>\n <fullName>will cai</fullName>\n <properties>\n <jenkins.securi", "end": 320, "score": 0.9992926120758057, "start": 312, "tag": "NAME", "value": "will cai" }, { "context": "#jbcrypt:$2a$10$uQEyKIlF3.5FkLBy0vpDreSqwjawGIDe...
notes/50a68302-b014-489b-823a-3d92dd8ad1f0.cson
cwocwo/boostnote
0
createdAt: "2018-08-07T12:16:12.646Z" updatedAt: "2018-09-22T03:16:10.300Z" type: "MARKDOWN_NOTE" folder: "66dff0cfbfde06f3d2e8" title: "Jenkins 自动配置" content: ''' # Jenkins 自动配置 ## 预置管理员用户信息 ```.jenkins\\users\\admin\\config.xml``` ``` <?xml version='1.1' encoding='UTF-8'?> <user> <fullName>will cai...
135151
createdAt: "2018-08-07T12:16:12.646Z" updatedAt: "2018-09-22T03:16:10.300Z" type: "MARKDOWN_NOTE" folder: "66dff0cfbfde06f3d2e8" title: "Jenkins 自动配置" content: ''' # Jenkins 自动配置 ## 预置管理员用户信息 ```.jenkins\\users\\admin\\config.xml``` ``` <?xml version='1.1' encoding='UTF-8'?> <user> <fullName><NAME></...
true
createdAt: "2018-08-07T12:16:12.646Z" updatedAt: "2018-09-22T03:16:10.300Z" type: "MARKDOWN_NOTE" folder: "66dff0cfbfde06f3d2e8" title: "Jenkins 自动配置" content: ''' # Jenkins 自动配置 ## 预置管理员用户信息 ```.jenkins\\users\\admin\\config.xml``` ``` <?xml version='1.1' encoding='UTF-8'?> <user> <fullName>PI:NAME:...
[ { "context": "dify: false\n cache: true\n krb5:\n principal: 'ryba@HADOOP.RYBA'\n password: 'test123'\n # service_principal:", "end": 389, "score": 0.9799808859825134, "start": 373, "tag": "EMAIL", "value": "ryba@HADOOP.RYBA" }, { "context": "\n principal: 'ryba@HADOOP....
test/properties.ryba.coffee
ripjar/node-hbase
82
### With Ryba echo hbase123 | kinit hbase@HADOOP.RYBA hbase shell 2>/dev/null <<-CMD create 'node_table', 'node_column_family' grant 'ryba', 'RWC', 'node_table' CMD ### module.exports = protocol: 'https' host: "master3.ryba" port: 60080 # Default in CDH 8081 test_table: false timeout: 60000 test_table...
145564
### With Ryba echo hbase123 | kinit hbase@HADOOP.RYBA hbase shell 2>/dev/null <<-CMD create 'node_table', 'node_column_family' grant 'ryba', 'RWC', 'node_table' CMD ### module.exports = protocol: 'https' host: "master3.ryba" port: 60080 # Default in CDH 8081 test_table: false timeout: 60000 test_table...
true
### With Ryba echo hbase123 | kinit hbase@HADOOP.RYBA hbase shell 2>/dev/null <<-CMD create 'node_table', 'node_column_family' grant 'ryba', 'RWC', 'node_table' CMD ### module.exports = protocol: 'https' host: "master3.ryba" port: 60080 # Default in CDH 8081 test_table: false timeout: 60000 test_table...
[ { "context": " url-safe\n\n\tgroupPlan: (user, licence)->\n\t\tkey : \"join-sub-#{licence.subscription_id}\"\n\t\tcreate: (callback = ->)->\n\t\t\t", "end": 218, "score": 0.9406598210334778, "start": 200, "tag": "KEY", "value": "join-sub-#{licence" }, { "context": "an: (user, licence...
app/coffee/Features/Notifications/NotificationsBuilder.coffee
davidmehren/web-sharelatex
0
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = # Note: notification keys should be url-safe groupPlan: (user, licence)-> key : "join-sub-#{licence.subscription_id}" create: (callback = ->)-> messageOpts = groupName: licence.name subscr...
6377
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = # Note: notification keys should be url-safe groupPlan: (user, licence)-> key : "<KEY>.<KEY>}" create: (callback = ->)-> messageOpts = groupName: licence.name subscription_id: licence.subs...
true
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = # Note: notification keys should be url-safe groupPlan: (user, licence)-> key : "PI:KEY:<KEY>END_PI.PI:KEY:<KEY>END_PI}" create: (callback = ->)-> messageOpts = groupName: licence.name sub...
[ { "context": "eated_at: \"2014-07-04T12:42:41+00:00\"\n email: \"foo@bar.name\"\n facebook_url: null\n linkedin_url: null\n ", "end": 182, "score": 0.9999030828475952, "start": 170, "tag": "EMAIL", "value": "foo@bar.name" }, { "context": "type: \"personal\"\n twitter_url...
spec/javascripts/fixtures/users.coffee
FromUte/dune-dashboard
0
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.user = (id = 1)-> user: id: id bio: null created_at: "2014-07-04T12:42:41+00:00" email: "foo@bar.name" facebook_url: null linkedin_url: null other_url: null profile_type: "personal" twitter_url: null name: "Foo Bar"...
8739
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.user = (id = 1)-> user: id: id bio: null created_at: "2014-07-04T12:42:41+00:00" email: "<EMAIL>" facebook_url: null linkedin_url: null other_url: null profile_type: "personal" twitter_url: null name: "<NAME>" i...
true
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.user = (id = 1)-> user: id: id bio: null created_at: "2014-07-04T12:42:41+00:00" email: "PI:EMAIL:<EMAIL>END_PI" facebook_url: null linkedin_url: null other_url: null profile_type: "personal" twitter_url: null name:...
[ { "context": "tion, ni relancer les dés d'attaque.\"\"\"\n '\"Mauler Mithel\"':\n ship: \"Chasseur TIE\"\n t", "end": 9339, "score": 0.9995889663696289, "start": 9326, "tag": "NAME", "value": "Mauler Mithel" }, { "context": "\"\n \"Royal Guard Pilo...
coffeescripts/cards-fr.coffee
idavidka/xwing
100
exportObj = exports ? this exportObj.codeToLanguage ?= {} exportObj.codeToLanguage.fr = 'Français' exportObj.translations ?= {} # This is here mostly as a template for other languages. exportObj.translations['Français'] = action : "Barrel Roll": "Tonneau" "Boost": "Accélération" "Evade": "...
126714
exportObj = exports ? this exportObj.codeToLanguage ?= {} exportObj.codeToLanguage.fr = 'Français' exportObj.translations ?= {} # This is here mostly as a template for other languages. exportObj.translations['Français'] = action : "Barrel Roll": "Tonneau" "Boost": "Accélération" "Evade": "...
true
exportObj = exports ? this exportObj.codeToLanguage ?= {} exportObj.codeToLanguage.fr = 'Français' exportObj.translations ?= {} # This is here mostly as a template for other languages. exportObj.translations['Français'] = action : "Barrel Roll": "Tonneau" "Boost": "Accélération" "Evade": "...
[ { "context": "on'\n\nmodule.exports = (name, pct = 1) ->\n key = 'sample:' + name\n if (sampled = (session.get key))?\n re", "end": 84, "score": 0.9929869771003723, "start": 76, "tag": "KEY", "value": "sample:'" } ]
src/sample.coffee
hanzo-io/track.js
16
session = require './session' module.exports = (name, pct = 1) -> key = 'sample:' + name if (sampled = (session.get key))? return sampled if Math.random() < pct session.set key, false return false else session.set key, true return true
200787
session = require './session' module.exports = (name, pct = 1) -> key = '<KEY> + name if (sampled = (session.get key))? return sampled if Math.random() < pct session.set key, false return false else session.set key, true return true
true
session = require './session' module.exports = (name, pct = 1) -> key = 'PI:KEY:<KEY>END_PI + name if (sampled = (session.get key))? return sampled if Math.random() < pct session.set key, false return false else session.set key, true return true
[ { "context": "ect = () ->\n\tconsole.log(\"*** 開始 ***\");\n\tkeys = ['t4761','t4762','t4763',\n\t\t't4764','t4765','t4766',\n\t\t't4767','t4768','t", "end": 653, "score": 0.9769870638847351, "start": 632, "tag": "KEY", "value": "t4761','t4762','t4763" }, { "context": "*** 開始 ***\");\...
tyrant/coffee/read/tyrant_read.coffee
ekzemplaro/data_base_language
3
#! /usr/bin/coffee # ------------------------------------------------------------- # tyrant_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # ------------...
137850
#! /usr/bin/coffee # ------------------------------------------------------------- # tyrant_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # ------------...
true
#! /usr/bin/coffee # ------------------------------------------------------------- # tyrant_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # ------------...
[ { "context": "neric IRC commands'\n version: '0.2'\n authors: ['Álvaro Cuesta']\n", "end": 1878, "score": 0.9998807907104492, "start": 1865, "tag": "NAME", "value": "Álvaro Cuesta" } ]
plugins/irc.coffee
alvaro-cuesta/nerdobot
2
util = require '../lib/util' module.exports = -> @addCommand 'say', args: '<to, optional> <message>' description: 'Make the bot say something' (from, message, channel) => if message? if channel? [dest, msg] = [channel, message] else [a, b] = util.split message, '...
12861
util = require '../lib/util' module.exports = -> @addCommand 'say', args: '<to, optional> <message>' description: 'Make the bot say something' (from, message, channel) => if message? if channel? [dest, msg] = [channel, message] else [a, b] = util.split message, '...
true
util = require '../lib/util' module.exports = -> @addCommand 'say', args: '<to, optional> <message>' description: 'Make the bot say something' (from, message, channel) => if message? if channel? [dest, msg] = [channel, message] else [a, b] = util.split message, '...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9993950724601746, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/simple/test-process-hrtime.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...
101762
# 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": "###\nen.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\nDistributed under terms of t", "end": 41, "score": 0.9992004632949829, "start": 33, "tag": "NAME", "value": "ender xu" }, { "context": "###\nen.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\n...
src/extension/i18n/en.coffee
roceys/cm
248
### en.coffee Copyright (C) 2015 ender xu <xuender@gmail.com> Distributed under terms of the MIT license. ### LANGUAGE = LANGUAGE || [] LANGUAGE.push 'en' TRANSLATIONS = TRANSLATIONS || {} TRANSLATIONS['en'] = 'Notice1': 'Important upgrade: enable the new server, repair the cloud storage, menu download, QR code gen...
51357
### en.coffee Copyright (C) 2015 <NAME> <<EMAIL>> Distributed under terms of the MIT license. ### LANGUAGE = LANGUAGE || [] LANGUAGE.push 'en' TRANSLATIONS = TRANSLATIONS || {} TRANSLATIONS['en'] = 'Notice1': 'Important upgrade: enable the new server, repair the cloud storage, menu download, QR code generation, and...
true
### en.coffee Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> Distributed under terms of the MIT license. ### LANGUAGE = LANGUAGE || [] LANGUAGE.push 'en' TRANSLATIONS = TRANSLATIONS || {} TRANSLATIONS['en'] = 'Notice1': 'Important upgrade: enable the new server, repair the cloud storage, menu down...
[ { "context": "s used to generate HTML-Code.\n# @copyright\t2015 by Markus Kosmal (corrected and fixed work formerly maintained by ", "end": 96, "score": 0.9998766183853149, "start": 83, "tag": "NAME", "value": "Markus Kosmal" }, { "context": "l (corrected and fixed work formerly main...
app/src/scripts/build.coffee
kastenhq/docker-picture-gallery
0
### # @description This module is used to generate HTML-Code. # @copyright 2015 by Markus Kosmal (corrected and fixed work formerly maintained by Tobias Reich) ### window.build = {} build.divider = (title) -> "<div class='divider fadeIn'><h1>#{ title }</h1></div>" build.editIcon = (id) -> "<div id='#{ id }' clas...
123513
### # @description This module is used to generate HTML-Code. # @copyright 2015 by <NAME> (corrected and fixed work formerly maintained by <NAME>) ### window.build = {} build.divider = (title) -> "<div class='divider fadeIn'><h1>#{ title }</h1></div>" build.editIcon = (id) -> "<div id='#{ id }' class='edit'><a c...
true
### # @description This module is used to generate HTML-Code. # @copyright 2015 by PI:NAME:<NAME>END_PI (corrected and fixed work formerly maintained by PI:NAME:<NAME>END_PI) ### window.build = {} build.divider = (title) -> "<div class='divider fadeIn'><h1>#{ title }</h1></div>" build.editIcon = (id) -> "<div id...
[ { "context": " @name = room\n @inRoom = false\n @password = password\n @users = []\n @join() if join\n\n join: ->\n", "end": 153, "score": 0.9972412586212158, "start": 145, "tag": "PASSWORD", "value": "password" }, { "context": "n\n\n join: ->\n chans = @irc.channe...
lib/channel.coffee
andreineculau/coffee-bot
0
module.exports = class Channel constructor: (irc, room, join, password) -> @irc = irc @name = room @inRoom = false @password = password @users = [] @join() if join join: -> chans = @irc.channels name = @name chans[name] = this @irc.raw "JOIN", name, @password @inRoom = ...
209688
module.exports = class Channel constructor: (irc, room, join, password) -> @irc = irc @name = room @inRoom = false @password = <PASSWORD> @users = [] @join() if join join: -> chans = @irc.channels name = @name chans[name] = this @irc.raw "JOIN", name, @password @inRoom ...
true
module.exports = class Channel constructor: (irc, room, join, password) -> @irc = irc @name = room @inRoom = false @password = PI:PASSWORD:<PASSWORD>END_PI @users = [] @join() if join join: -> chans = @irc.channels name = @name chans[name] = this @irc.raw "JOIN", name, @pas...
[ { "context": "GenerationEvent('world:thang-died', {thang: {id: 'Guy1'}}, 10)\n gm.worldGenerationEnded()\n goalSta", "end": 1645, "score": 0.9980006814002991, "start": 1641, "tag": "NAME", "value": "Guy1" }, { "context": "GenerationEvent('world:thang-died', {thang: {id: 'Guy2'}...
test/app/lib/world/GoalManager.spec.ozar.coffee
goranoberg/codecombat
0
factories = require 'test/app/factories' xdescribe('GoalManager', -> GoalManager = require 'lib/world/GoalManager' killGoal = {name: 'Kill Guy', killThangs: ['Guy1', 'Guy2'], id: 'killguy'} saveGoal = {name: 'Save Guy', saveThangs: ['Guy1', 'Guy2'], id: 'saveguy'} getToLocGoal = {name: 'Go there', getToLocati...
144927
factories = require 'test/app/factories' xdescribe('GoalManager', -> GoalManager = require 'lib/world/GoalManager' killGoal = {name: 'Kill Guy', killThangs: ['Guy1', 'Guy2'], id: 'killguy'} saveGoal = {name: 'Save Guy', saveThangs: ['Guy1', 'Guy2'], id: 'saveguy'} getToLocGoal = {name: 'Go there', getToLocati...
true
factories = require 'test/app/factories' xdescribe('GoalManager', -> GoalManager = require 'lib/world/GoalManager' killGoal = {name: 'Kill Guy', killThangs: ['Guy1', 'Guy2'], id: 'killguy'} saveGoal = {name: 'Save Guy', saveThangs: ['Guy1', 'Guy2'], id: 'saveguy'} getToLocGoal = {name: 'Go there', getToLocati...
[ { "context": "w Tests for max-lines-per-function rule.\n# @author Pete Ward <peteward44@gmail.com>\n###\n'use strict'\n\n#-------", "end": 79, "score": 0.999686062335968, "start": 70, "tag": "NAME", "value": "Pete Ward" }, { "context": "max-lines-per-function rule.\n# @author Pete Wa...
src/tests/rules/max-lines-per-function.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Tests for max-lines-per-function rule. # @author Pete Ward <peteward44@gmail.com> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../ru...
137218
###* # @fileoverview Tests for max-lines-per-function rule. # @author <NAME> <<EMAIL>> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/max-lines-pe...
true
###* # @fileoverview Tests for max-lines-per-function rule. # @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = requ...
[ { "context": "s Siphon extends Spell\n @name = Siphon::name = \"siphon\"\n @element = Siphon::element = Spell::Element.", "end": 97, "score": 0.6054782271385193, "start": 94, "tag": "USERNAME", "value": "iph" }, { "context": "s it back to the caster as HP.\n *\n * @name sip...
src/character/spells/debuffs/single/Siphon.coffee
jawsome/IdleLands
3
Spell = require "../../../base/Spell" class Siphon extends Spell @name = Siphon::name = "siphon" @element = Siphon::element = Spell::Element.energy | Spell::Element.holy | Spell::Element.debuff | Spell::Element.physical @tiers = Siphon::tiers = [ `/** * This spell does a minor amount of damage, and lee...
185760
Spell = require "../../../base/Spell" class Siphon extends Spell @name = Siphon::name = "siphon" @element = Siphon::element = Spell::Element.energy | Spell::Element.holy | Spell::Element.debuff | Spell::Element.physical @tiers = Siphon::tiers = [ `/** * This spell does a minor amount of damage, and lee...
true
Spell = require "../../../base/Spell" class Siphon extends Spell @name = Siphon::name = "siphon" @element = Siphon::element = Spell::Element.energy | Spell::Element.holy | Spell::Element.debuff | Spell::Element.physical @tiers = Siphon::tiers = [ `/** * This spell does a minor amount of damage, and lee...
[ { "context": "esponse null, ->\n expect(-> User.find(name: 'John')).to.throw(Error,\n 'Error in the backend'", "end": 128, "score": 0.9997704029083252, "start": 124, "tag": "NAME", "value": "John" }, { "context": "s: []\n }, ->\n\n expect(-> User.find(name: 'John'...
spec/errors/unrescued.coffee
EduardoluizSanBlasDeveloper0/ROR-crud-example
506
describe 'unrescued error', -> it 'does not return a hash', -> stubResponse null, -> expect(-> User.find(name: 'John')).to.throw(Error, 'Error in the backend') it '#find', -> stubResponse { success: false scoped_records: [] }, -> expect(-> User.find(name: 'John')).to.th...
203250
describe 'unrescued error', -> it 'does not return a hash', -> stubResponse null, -> expect(-> User.find(name: '<NAME>')).to.throw(Error, 'Error in the backend') it '#find', -> stubResponse { success: false scoped_records: [] }, -> expect(-> User.find(name: '<NAME>')).t...
true
describe 'unrescued error', -> it 'does not return a hash', -> stubResponse null, -> expect(-> User.find(name: 'PI:NAME:<NAME>END_PI')).to.throw(Error, 'Error in the backend') it '#find', -> stubResponse { success: false scoped_records: [] }, -> expect(-> User.find(name...
[ { "context": ".extendNodeEncodings();\n\nlocalConfig =\n user: \"testuser\"\n password: \"applesauce\"\n host: DovecotTest", "end": 267, "score": 0.9990634918212891, "start": 259, "tag": "USERNAME", "value": "testuser" }, { "context": "localConfig =\n user: \"testuser\"\n...
cli.coffee
aenario/dovecot-testing
0
`#!/usr/bin/env node ` Imap = require 'imap' {exec} = require 'child_process' program = require 'commander' inquirer = require 'inquirer' DovecotTesting = require './index' iconv = require 'iconv-lite' iconv.extendNodeEncodings(); localConfig = user: "testuser" password: "applesauce" host: DovecotTesting...
177074
`#!/usr/bin/env node ` Imap = require 'imap' {exec} = require 'child_process' program = require 'commander' inquirer = require 'inquirer' DovecotTesting = require './index' iconv = require 'iconv-lite' iconv.extendNodeEncodings(); localConfig = user: "testuser" password: "<PASSWORD>" host: DovecotTesting...
true
`#!/usr/bin/env node ` Imap = require 'imap' {exec} = require 'child_process' program = require 'commander' inquirer = require 'inquirer' DovecotTesting = require './index' iconv = require 'iconv-lite' iconv.extendNodeEncodings(); localConfig = user: "testuser" password: "PI:PASSWORD:<PASSWORD>END_PI" ho...
[ { "context": "ce) ->\n super(resource)\n @owner[@reflection.foreignType()] = resource.klass().className\n\n # Removes ", "end": 523, "score": 0.6706265211105347, "start": 516, "tag": "EMAIL", "value": "foreign" }, { "context": "removeKeys: ->\n super()\n @owner[@reflecti...
src/associations/belongs_to_polymorphic_association.coffee
daniffig/active-resource.js
95
class ActiveResource::Associations::BelongsToPolymorphicAssociation extends ActiveResource::Associations::BelongsToAssociation klass: -> type = @owner[@reflection.foreignType()] try @owner.klass().resourceLibrary.constantize(type) catch undefined links: -> if @klass() then super() else...
29405
class ActiveResource::Associations::BelongsToPolymorphicAssociation extends ActiveResource::Associations::BelongsToAssociation klass: -> type = @owner[@reflection.foreignType()] try @owner.klass().resourceLibrary.constantize(type) catch undefined links: -> if @klass() then super() else...
true
class ActiveResource::Associations::BelongsToPolymorphicAssociation extends ActiveResource::Associations::BelongsToAssociation klass: -> type = @owner[@reflection.foreignType()] try @owner.klass().resourceLibrary.constantize(type) catch undefined links: -> if @klass() then super() else...
[ { "context": "###\n# config/environment.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module co", "end": 54, "score": 0.9997323155403137, "start": 43, "tag": "NAME", "value": "Dan Nichols" } ]
lib/config/environment.coffee
dlnichols/h_media
0
### # config/environment.coffee # # © 2014 Dan Nichols # See LICENSE for more details # # This module configures the environment, and is suitable to be loaded # independently of any other modules. ### 'use strict' # Set default node environment to development process.env.NODE_ENV = process.env.NODE_ENV or 'development...
202061
### # config/environment.coffee # # © 2014 <NAME> # See LICENSE for more details # # This module configures the environment, and is suitable to be loaded # independently of any other modules. ### 'use strict' # Set default node environment to development process.env.NODE_ENV = process.env.NODE_ENV or 'development' # ...
true
### # config/environment.coffee # # © 2014 PI:NAME:<NAME>END_PI # See LICENSE for more details # # This module configures the environment, and is suitable to be loaded # independently of any other modules. ### 'use strict' # Set default node environment to development process.env.NODE_ENV = process.env.NODE_ENV or 'de...
[ { "context": " id: 'test-merchant-01',\n key: '123123123123',\n },\n user: {\n merchant_u", "end": 382, "score": 0.9996816515922546, "start": 370, "tag": "KEY", "value": "123123123123" }, { "context": "user_id: '0001-0001-0001-0001',\n ...
test/contract.coffee
leonkyr/melbourneapi
1
MelbourneAPI = require '../src/MelbourneAPI' expect = require 'expect' should = require 'should' assert = require 'assert' describe 'Melbourne API Core', -> describe 'Simplest Pay call', -> it 'Initial Payment Request with all new objects', -> api = new MelbourneAPI() api.pay { merchant: { ...
171717
MelbourneAPI = require '../src/MelbourneAPI' expect = require 'expect' should = require 'should' assert = require 'assert' describe 'Melbourne API Core', -> describe 'Simplest Pay call', -> it 'Initial Payment Request with all new objects', -> api = new MelbourneAPI() api.pay { merchant: { ...
true
MelbourneAPI = require '../src/MelbourneAPI' expect = require 'expect' should = require 'should' assert = require 'assert' describe 'Melbourne API Core', -> describe 'Simplest Pay call', -> it 'Initial Payment Request with all new objects', -> api = new MelbourneAPI() api.pay { merchant: { ...
[ { "context": "keyComponent = (key) ->\n\tkey = key.replace('\"', '&quot;')\n\tkey = key.replace('\\\\', '&#92;')\n\t\"<Key text=", "end": 466, "score": 0.6940215229988098, "start": 462, "tag": "KEY", "value": "quot" }, { "context": "ey = key.replace('\"', '&quot;')\n\tkey = key.repla...
layout/GenDescr.coffee
andre-luiz-dos-santos/pcontrol
0
fs = require('fs') path = require('path') genBy = """ /* ** Generated by GenDescr.coffee */ """ fileHeader = (keyboardName) -> """ import * as React from 'react' import Key from './Key' export default class #{keyboardName} extends React.PureComponent<{}, {}> { render() { return ( <div className="keyboar...
210008
fs = require('fs') path = require('path') genBy = """ /* ** Generated by GenDescr.coffee */ """ fileHeader = (keyboardName) -> """ import * as React from 'react' import Key from './Key' export default class #{keyboardName} extends React.PureComponent<{}, {}> { render() { return ( <div className="keyboar...
true
fs = require('fs') path = require('path') genBy = """ /* ** Generated by GenDescr.coffee */ """ fileHeader = (keyboardName) -> """ import * as React from 'react' import Key from './Key' export default class #{keyboardName} extends React.PureComponent<{}, {}> { render() { return ( <div className="keyboar...
[ { "context": " manage state of generating a code path.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------", "end": 96, "score": 0.9998704791069031, "start": 82, "tag": "NAME", "value": "Toru Nagashima" } ]
src/code-path-analysis/code-path-state.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview A class to manage state of generating a code path. # @author Toru Nagashima ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ CodePathSegment = require '....
47351
###* # @fileoverview A class to manage state of generating a code path. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ CodePathSegment = require './code-pa...
true
###* # @fileoverview A class to manage state of generating a code path. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ CodePathSegment = requ...
[ { "context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ", "end": 886, "score": 0.9936622381210327, "start": 879, "tag": "NAME", "value": "Patient" }, { "context": " \"localId\" : \"5\",\n ...
test/elm/structured/data.coffee
zlister/cql-execution
0
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.cql to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Tuple library TestSnippet version '1' using QUICK context Patient define tup: {a: 1, b: 2} ### module.exports['...
152504
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.cql to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Tuple library TestSnippet version '1' using QUICK context Patient define tup: {a: 1, b: 2} ### module.exports['...
true
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.cql to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Tuple library TestSnippet version '1' using QUICK context Patient define tup: {a: 1, b: 2} ### module.exports['...
[ { "context": "{pkg.name}-#{pkg.version}\"\n key:\n store: 'release.keystore'\n alias: 'release'\n aliasPassword: -> '", "end": 511, "score": 0.9724070429801941, "start": 495, "tag": "KEY", "value": "release.keystore" }, { "context": "et 'cordova.config.remote.userna...
src/tasks/phonegap.coffee
adriancmiranda/grunt-phonegap
0
_ = require 'lodash' async = require 'async' module.exports = (grunt) -> defaults = root: 'www' config: 'config.xml' path: 'build' cleanBeforeBuild: true cordova: '.cordova' plugins: [] platforms: [] maxBuffer: 200 name: -> pkg = grunt.file.readJSON 'package.json' pkg...
131634
_ = require 'lodash' async = require 'async' module.exports = (grunt) -> defaults = root: 'www' config: 'config.xml' path: 'build' cleanBeforeBuild: true cordova: '.cordova' plugins: [] platforms: [] maxBuffer: 200 name: -> pkg = grunt.file.readJSON 'package.json' pkg...
true
_ = require 'lodash' async = require 'async' module.exports = (grunt) -> defaults = root: 'www' config: 'config.xml' path: 'build' cleanBeforeBuild: true cordova: '.cordova' plugins: [] platforms: [] maxBuffer: 200 name: -> pkg = grunt.file.readJSON 'package.json' pkg...
[ { "context": "or ScrollProxy\n @private\n @since 0.1.0\n @author Matheus Kautzmann - <kautzmann5@gmail.com>\n###\nmodule.exports = cla", "end": 88, "score": 0.9998517632484436, "start": 71, "tag": "NAME", "value": "Matheus Kautzmann" }, { "context": "ate\n @since 0.1.0\n @author...
src/SUtil.coffee
mkautzmann/scroll-proxy
50
### Helper class for ScrollProxy @private @since 0.1.0 @author Matheus Kautzmann - <kautzmann5@gmail.com> ### module.exports = class SUtil ### Function that calls the callback with the given args and context @param [Function] callback function that will be called back @param [Object] context `thi...
205345
### Helper class for ScrollProxy @private @since 0.1.0 @author <NAME> - <<EMAIL>> ### module.exports = class SUtil ### Function that calls the callback with the given args and context @param [Function] callback function that will be called back @param [Object] context `this` context that will be ...
true
### Helper class for ScrollProxy @private @since 0.1.0 @author PI:NAME:<NAME>END_PI - <PI:EMAIL:<EMAIL>END_PI> ### module.exports = class SUtil ### Function that calls the callback with the given args and context @param [Function] callback function that will be called back @param [Object] context...
[ { "context": "o Bar', contributing_authors: [], author: {name: 'Molly'} }\n { id: _.uniqueId(), thumbnail_title: ", "end": 1279, "score": 0.999622106552124, "start": 1274, "tag": "NAME", "value": "Molly" }, { "context": "_title: 'Bar Baz', contributing_authors: [{name: 'Jon Sn...
src/desktop/components/articles_grid/test/view.test.coffee
jo-rs/force
0
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require '@artsy/antigravity' Article = require '../../../models/article' Articles = require '../../../collections/articles' ArticlesGridView = benv.requireWithJadeify resolve...
73748
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require '@artsy/antigravity' Article = require '../../../models/article' Articles = require '../../../collections/articles' ArticlesGridView = benv.requireWithJadeify resolve...
true
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require '@artsy/antigravity' Article = require '../../../models/article' Articles = require '../../../collections/articles' ArticlesGridView = benv.requireWithJadeify resolve...
[ { "context": " keyword, weight: weight\n unionKey = 'keywordUnionSet:' + _utilities.randomString(5)\n unionKeyProm", "end": 539, "score": 0.5909380912780762, "start": 531, "tag": "KEY", "value": "UnionSet" }, { "context": "ater than functionality\n tempIntegerKey = '...
src/adaptorMethods/where.coffee
Kenspeckled/oomph-redis-adaptor
0
Promise = require 'promise' _ = require 'lodash' _utilities = require 'oomph/lib/utilities' redisFind = require './find' findKeywordsInAnyFields = (fields, keywords, weightOptions) -> unionkeyNames = [] unionKeyPromises = _.map keywords, (keyword) => keyNames = [] for field in fields weight...
186278
Promise = require 'promise' _ = require 'lodash' _utilities = require 'oomph/lib/utilities' redisFind = require './find' findKeywordsInAnyFields = (fields, keywords, weightOptions) -> unionkeyNames = [] unionKeyPromises = _.map keywords, (keyword) => keyNames = [] for field in fields weight...
true
Promise = require 'promise' _ = require 'lodash' _utilities = require 'oomph/lib/utilities' redisFind = require './find' findKeywordsInAnyFields = (fields, keywords, weightOptions) -> unionkeyNames = [] unionKeyPromises = _.map keywords, (keyword) => keyNames = [] for field in fields weight...
[ { "context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/30/15 ", "end": 16, "score": 0.9986972808837891, "start": 13, "tag": "NAME", "value": "易晓峰" }, { "context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/30/15 4:25 PM\n# Description: 与iss...
src/notification/issue.coffee
kiteam/kiteam
0
# Author: 易晓峰 # E-mail: wvv8oo@gmail.com # Date: 6/30/15 4:25 PM # Description: 与issue相关的通知 _async = require 'async' _ = require 'lodash' _moment = require 'moment' _entity = require '../entity' _cache = require '../cache' _common = require '../common' _mailer = require './mailer' _realtime = require './r...
193352
# Author: <NAME> # E-mail: <EMAIL> # Date: 6/30/15 4:25 PM # Description: 与issue相关的通知 _async = require 'async' _ = require 'lodash' _moment = require 'moment' _entity = require '../entity' _cache = require '../cache' _common = require '../common' _mailer = require './mailer' _realtime = require './realtim...
true
# Author: PI:NAME:<NAME>END_PI # E-mail: PI:EMAIL:<EMAIL>END_PI # Date: 6/30/15 4:25 PM # Description: 与issue相关的通知 _async = require 'async' _ = require 'lodash' _moment = require 'moment' _entity = require '../entity' _cache = require '../cache' _common = require '../common' _mailer = require './mailer' _...
[ { "context": " credentials succeed\n\tbrowser\n\t.fill('username', 'you@example.com')\n\t.fill('password', 'testing')\n\t.pressButton 'Si", "end": 560, "score": 0.9999223947525024, "start": 545, "tag": "EMAIL", "value": "you@example.com" }, { "context": "username', 'you@example.com')...
tests/zombie/admin-login-success.coffee
twheel/elefant
96
# zombie.js tests for elefant # 1. compile to javascript via `coffee -c tests/zombie/*.coffee` # 2. run via `node tests/zombie/*.js` zombie = require('zombie') assert = require('assert') zombie.visit 'http://www.elefant.lo/admin', {runScripts:false}, (err, browser, status)-> # page loaded ok assert.ok browser.query...
45906
# zombie.js tests for elefant # 1. compile to javascript via `coffee -c tests/zombie/*.coffee` # 2. run via `node tests/zombie/*.js` zombie = require('zombie') assert = require('assert') zombie.visit 'http://www.elefant.lo/admin', {runScripts:false}, (err, browser, status)-> # page loaded ok assert.ok browser.query...
true
# zombie.js tests for elefant # 1. compile to javascript via `coffee -c tests/zombie/*.coffee` # 2. run via `node tests/zombie/*.js` zombie = require('zombie') assert = require('assert') zombie.visit 'http://www.elefant.lo/admin', {runScripts:false}, (err, browser, status)-> # page loaded ok assert.ok browser.query...
[ { "context": "root = this\n\n# Based on String Lambdas (c) Oliver Steele\n# http://osteele.com/javascripts/functional\n\nif '", "end": 56, "score": 0.9998672008514404, "start": 43, "tag": "NAME", "value": "Oliver Steele" } ]
lib/katy.coffee
raganwald/Katy
10
root = this # Based on String Lambdas (c) Oliver Steele # http://osteele.com/javascripts/functional if 'ab'.split(/a*/).length < 2 console?.log "Warning: IE6 split is not ECMAScript-compliant. This breaks '->1' in Katy" to_function = (str) -> params = [] expr = str # sections = expr.ECMAsplit(/\s*->\s*/m) ...
166868
root = this # Based on String Lambdas (c) <NAME> # http://osteele.com/javascripts/functional if 'ab'.split(/a*/).length < 2 console?.log "Warning: IE6 split is not ECMAScript-compliant. This breaks '->1' in Katy" to_function = (str) -> params = [] expr = str # sections = expr.ECMAsplit(/\s*->\s*/m) sectio...
true
root = this # Based on String Lambdas (c) PI:NAME:<NAME>END_PI # http://osteele.com/javascripts/functional if 'ab'.split(/a*/).length < 2 console?.log "Warning: IE6 split is not ECMAScript-compliant. This breaks '->1' in Katy" to_function = (str) -> params = [] expr = str # sections = expr.ECMAsplit(/\s*->\...
[ { "context": "lasses\\\\Applications\\\\#{exeName}\",\n [\n {key: 'shell\\\\open\\\\command', name: '', value: \"#{appPath} \\\"%1\\\"\"},\n {key", "end": 1514, "score": 0.9975004196166992, "start": 1494, "tag": "KEY", "value": "shell\\\\open\\\\command" }, { "context": "name:...
src/main-process/win-shell.coffee
wmhilton-contrib/atom
2
Registry = require 'winreg' Path = require 'path' exeName = Path.basename(process.execPath) appPath = "\"#{process.execPath}\"" fileIconPath = "\"#{Path.join(process.execPath, '..', 'resources', 'cli', 'file.ico')}\"" isBeta = appPath.includes(' Beta') appName = exeName.replace('atom', (if isBeta then 'Atom Beta' else...
223300
Registry = require 'winreg' Path = require 'path' exeName = Path.basename(process.execPath) appPath = "\"#{process.execPath}\"" fileIconPath = "\"#{Path.join(process.execPath, '..', 'resources', 'cli', 'file.ico')}\"" isBeta = appPath.includes(' Beta') appName = exeName.replace('atom', (if isBeta then 'Atom Beta' else...
true
Registry = require 'winreg' Path = require 'path' exeName = Path.basename(process.execPath) appPath = "\"#{process.execPath}\"" fileIconPath = "\"#{Path.join(process.execPath, '..', 'resources', 'cli', 'file.ico')}\"" isBeta = appPath.includes(' Beta') appName = exeName.replace('atom', (if isBeta then 'Atom Beta' else...
[ { "context": "---------------------------\n# An implementation of Chris Okasaki's shared bottom-up-merge\n# sortable, a functional", "end": 107, "score": 0.9743871092796326, "start": 94, "tag": "NAME", "value": "Chris Okasaki" }, { "context": "extracting a sorted result.\n#\n# Copyri...
examples/sortable.coffee
odf/pazy.js
0
# -------------------------------------------------------------------- # An implementation of Chris Okasaki's shared bottom-up-merge # sortable, a functional data structure with amortized persistent # execution time O(log n) per operation for adding an element and O(n) # for extracting a sorted result. # # Copyright (c...
175910
# -------------------------------------------------------------------- # An implementation of <NAME>'s shared bottom-up-merge # sortable, a functional data structure with amortized persistent # execution time O(log n) per operation for adding an element and O(n) # for extracting a sorted result. # # Copyright (c) 2011 ...
true
# -------------------------------------------------------------------- # An implementation of PI:NAME:<NAME>END_PI's shared bottom-up-merge # sortable, a functional data structure with amortized persistent # execution time O(log n) per operation for adding an element and O(n) # for extracting a sorted result. # # Copyr...
[ { "context": " null\n forceReload: false\n host: '0.0.0.0'\n include: []\n index: ['index.h", "end": 2149, "score": 0.9744724035263062, "start": 2142, "tag": "IP_ADDRESS", "value": "0.0.0.0" }, { "context": "ntials.split(':')\n else\n opt...
src/cli.coffee
jsfix-updater/bebop
7
import fs from 'fs' import os from 'os' import path from 'path' import exec from 'executive' import findCoffee from 'find-coffee' import resolveFrom from 'resolve-from' import vigil from 'vigil' import Server from './server' import WebSocketServer from './websocket' import compilers ...
157050
import fs from 'fs' import os from 'os' import path from 'path' import exec from 'executive' import findCoffee from 'find-coffee' import resolveFrom from 'resolve-from' import vigil from 'vigil' import Server from './server' import WebSocketServer from './websocket' import compilers ...
true
import fs from 'fs' import os from 'os' import path from 'path' import exec from 'executive' import findCoffee from 'find-coffee' import resolveFrom from 'resolve-from' import vigil from 'vigil' import Server from './server' import WebSocketServer from './websocket' import compilers ...
[ { "context": "he curation', ->\n @req.body =\n name: 'Foobar'\n type: 'foobar-type'\n images: [{ s", "end": 849, "score": 0.99920254945755, "start": 843, "tag": "NAME", "value": "Foobar" }, { "context": "the channel', ->\n @req.body =\n name: 'Fo...
src/client/apps/settings/test/routes.test.coffee
craigspaeth/positron
76
rewire = require 'rewire' routes = rewire '../routes' _ = require 'underscore' Backbone = require 'backbone' sinon = require 'sinon' fixtures = require '../../../../test/helpers/fixtures' User = require '../../../models/user' describe 'routes', -> beforeEach -> sinon.stub Backbone, 'sync' routes.__set__ 'Lo...
54846
rewire = require 'rewire' routes = rewire '../routes' _ = require 'underscore' Backbone = require 'backbone' sinon = require 'sinon' fixtures = require '../../../../test/helpers/fixtures' User = require '../../../models/user' describe 'routes', -> beforeEach -> sinon.stub Backbone, 'sync' routes.__set__ 'Lo...
true
rewire = require 'rewire' routes = rewire '../routes' _ = require 'underscore' Backbone = require 'backbone' sinon = require 'sinon' fixtures = require '../../../../test/helpers/fixtures' User = require '../../../models/user' describe 'routes', -> beforeEach -> sinon.stub Backbone, 'sync' routes.__set__ 'Lo...
[ { "context": "'#admin-bar', 'update_admin',\n password: $('#password').val()\n\n $('#domain-submit').on 'click', ->\n ", "end": 1376, "score": 0.9430204033851624, "start": 1368, "tag": "PASSWORD", "value": "password" }, { "context": "-submit').on 'click', ->\n data = passw...
micro/app/assets/coffee/initialize.js.coffee
cloudfoundry-attic/micro
2
window.initialize_micro_cloudfoundry = (mcf) -> mcf ||= new Mcf '/api' showConfigured = -> $('#not-configured').hide() $('#configured').show() mcf.configured showConfigured, -> $('#not-configured').show() $('#configured').hide() submit = (progress_bar, method, data) -> bar = new ProgressB...
110230
window.initialize_micro_cloudfoundry = (mcf) -> mcf ||= new Mcf '/api' showConfigured = -> $('#not-configured').hide() $('#configured').show() mcf.configured showConfigured, -> $('#not-configured').show() $('#configured').hide() submit = (progress_bar, method, data) -> bar = new ProgressB...
true
window.initialize_micro_cloudfoundry = (mcf) -> mcf ||= new Mcf '/api' showConfigured = -> $('#not-configured').hide() $('#configured').show() mcf.configured showConfigured, -> $('#not-configured').show() $('#configured').hide() submit = (progress_bar, method, data) -> bar = new ProgressB...
[ { "context": "ldownManager\", ->\n\n\tbeforeEach ->\n\t\t@projectId = 'abcdefg'\n\t\t@rclient = {set: sinon.stub(), get: sinon.stub", "end": 300, "score": 0.9824076890945435, "start": 293, "tag": "KEY", "value": "abcdefg" } ]
test/unit/coffee/Cooldown/CooldownManagerTests.coffee
davidmehren/web-sharelatex
1
SandboxedModule = require('sandboxed-module') sinon = require('sinon') require('chai').should() expect = require('chai').expect modulePath = require('path').join __dirname, '../../../../app/js/Features/Cooldown/CooldownManager' describe "CooldownManager", -> beforeEach -> @projectId = 'abcdefg' @rclient = {set:...
216987
SandboxedModule = require('sandboxed-module') sinon = require('sinon') require('chai').should() expect = require('chai').expect modulePath = require('path').join __dirname, '../../../../app/js/Features/Cooldown/CooldownManager' describe "CooldownManager", -> beforeEach -> @projectId = '<KEY>' @rclient = {set: s...
true
SandboxedModule = require('sandboxed-module') sinon = require('sinon') require('chai').should() expect = require('chai').expect modulePath = require('path').join __dirname, '../../../../app/js/Features/Cooldown/CooldownManager' describe "CooldownManager", -> beforeEach -> @projectId = 'PI:KEY:<KEY>END_PI' @rcli...
[ { "context": "eKeys: [\n 'language'\n 'watchers_count'\n ]\n build:\n model: 'Build'\n ", "end": 389, "score": 0.5603273510932922, "start": 384, "tag": "KEY", "value": "count" } ]
apps/homeapp/controllers/repos_controller.coffee
mgoldchild/rendr-coffee-gulp
0
module.exports = index: (params, callback) -> spec = collection: collection: 'Repos' params: params @app.fetch spec, (err, result) -> callback err, 'repos/index', result return return show: (params, callback) -> spec = model: model: 'Repo' params: params...
224192
module.exports = index: (params, callback) -> spec = collection: collection: 'Repos' params: params @app.fetch spec, (err, result) -> callback err, 'repos/index', result return return show: (params, callback) -> spec = model: model: 'Repo' params: params...
true
module.exports = index: (params, callback) -> spec = collection: collection: 'Repos' params: params @app.fetch spec, (err, result) -> callback err, 'repos/index', result return return show: (params, callback) -> spec = model: model: 'Repo' params: params...
[ { "context": "id: 'target_chembl_id'\n bucket_key: 'BUCKET.key'\n extra_buckets: 'EXTRA_BUCKETS.key'", "end": 17889, "score": 0.6783854961395264, "start": 17879, "tag": "KEY", "value": "BUCKET.key" } ]
src/glados/static/coffee/targetReportCardApp.coffee
BNext-IQT/glados-frontend-chembl-main-interface
33
class TargetReportCardApp extends glados.ReportCardApp # ------------------------------------------------------------- # Initialisation # ------------------------------------------------------------- @init = -> super target = TargetReportCardApp.getCurrentTarget() breadcrumbLinks = [ { ...
133679
class TargetReportCardApp extends glados.ReportCardApp # ------------------------------------------------------------- # Initialisation # ------------------------------------------------------------- @init = -> super target = TargetReportCardApp.getCurrentTarget() breadcrumbLinks = [ { ...
true
class TargetReportCardApp extends glados.ReportCardApp # ------------------------------------------------------------- # Initialisation # ------------------------------------------------------------- @init = -> super target = TargetReportCardApp.getCurrentTarget() breadcrumbLinks = [ { ...
[ { "context": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\n\n# If yo", "end": 28, "score": 0.9998840093612671, "start": 17, "tag": "NAME", "value": "Mark Cavage" }, { "context": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\n\n# If y...
deps/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.coffee
lxe/io.coffee
0
# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. # If you have no idea what ASN.1 or BER is, see this: # ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc Ber = require("./ber/index") #/--- Exported API module.exports = Ber: Ber BerReader: Ber.Reader BerWriter: Ber.Writer
113848
# Copyright 2011 <NAME> <<EMAIL>> All rights reserved. # If you have no idea what ASN.1 or BER is, see this: # ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc Ber = require("./ber/index") #/--- Exported API module.exports = Ber: Ber BerReader: Ber.Reader BerWriter: Ber.Writer
true
# Copyright 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> All rights reserved. # If you have no idea what ASN.1 or BER is, see this: # ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc Ber = require("./ber/index") #/--- Exported API module.exports = Ber: Ber BerReader: Ber.Reader BerWriter: Ber.Writer
[ { "context": "# Bootstrap Tags\n# Max Lahey\n# November, 2012\n\njQuery ->\n $.tags = (element, ", "end": 28, "score": 0.9998762011528015, "start": 19, "tag": "NAME", "value": "Max Lahey" } ]
vendor/assets/javascripts/bootstrap-tags.coffee
textlab/rglossa
2
# Bootstrap Tags # Max Lahey # November, 2012 jQuery -> $.tags = (element, options = {}) -> # set options for tags for key, value of options this[key] = value # set defaults if no option was set @readOnly ||= false @suggestions ||= [] @restrictTo = (if options.restrictTo? then options...
162057
# Bootstrap Tags # <NAME> # November, 2012 jQuery -> $.tags = (element, options = {}) -> # set options for tags for key, value of options this[key] = value # set defaults if no option was set @readOnly ||= false @suggestions ||= [] @restrictTo = (if options.restrictTo? then options.re...
true
# Bootstrap Tags # PI:NAME:<NAME>END_PI # November, 2012 jQuery -> $.tags = (element, options = {}) -> # set options for tags for key, value of options this[key] = value # set defaults if no option was set @readOnly ||= false @suggestions ||= [] @restrictTo = (if options.restrictTo? t...
[ { "context": "romises\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Meryn Stol\nCopyright (c) 2014 Sjoerd de Jong\n\nPermission is ", "end": 98, "score": 0.9998931884765625, "start": 88, "tag": "NAME", "value": "Meryn Stol" }, { "context": "\n\nCopyright (c) 2013 Meryn Stol\nCopyrig...
throttle.coffee
ssured/rsvp-throttle
0
### rsvp-throttle allows throttling promises The MIT License (MIT) Copyright (c) 2013 Meryn Stol Copyright (c) 2014 Sjoerd de Jong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restric...
169986
### rsvp-throttle allows throttling promises The MIT License (MIT) Copyright (c) 2013 <NAME> Copyright (c) 2014 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includ...
true
### rsvp-throttle allows throttling promises The MIT License (MIT) Copyright (c) 2013 PI:NAME:<NAME>END_PI Copyright (c) 2014 PI:NAME:<NAME>END_PI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software...
[ { "context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan", "end": 18, "score": 0.9998891949653625, "start": 10, "tag": "NAME", "value": "Tim Knip" }, { "context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new...
source/javascripts/new_src/loaders/collada/effect.coffee
andrew-aladev/three.js
0
# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com # @author aladjev.andrew@gmail.com #= require new_src/loaders/collada/image #= require new_src/loaders/collada/surface #= require new_src/loaders/collada/sampler_2d #= require new_src/loaders/collada/shader class Effect constructor: (loader...
19960
# @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com # @author <EMAIL> #= require new_src/loaders/collada/image #= require new_src/loaders/collada/surface #= require new_src/loaders/collada/sampler_2d #= require new_src/loaders/collada/shader class Effect constructor: (loader) -> @id ...
true
# @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com # @author PI:EMAIL:<EMAIL>END_PI #= require new_src/loaders/collada/image #= require new_src/loaders/collada/surface #= require new_src/loaders/collada/sampler_2d #= require new_src/loaders/collada/shader class Effect constructo...
[ { "context": ".maxDistance = radius * 100;\n\n\t\t@controls.keys = [ 65, 83, 68 ]\n\n\n\t\t@stats = new Stats();\n\t\t@stats.do", "end": 1830, "score": 0.9866487383842468, "start": 1830, "tag": "KEY", "value": "" }, { "context": "maxDistance = radius * 100;\n\n\t\t@controls.keys = [ ...
website/prototypes/ifl/src/app/app.coffee
GyanaPrasannaa/oz-experiment
0
class App container : null stats : null camera : null scene : null projector : null renderer : null controls : null mesh : null clock = new THREE.Clock(); constructor: -> @container = document.createElement( 'div' ); document.body.appendChild( @container ); @camera = new THREE.Perspectiv...
196517
class App container : null stats : null camera : null scene : null projector : null renderer : null controls : null mesh : null clock = new THREE.Clock(); constructor: -> @container = document.createElement( 'div' ); document.body.appendChild( @container ); @camera = new THREE.Perspectiv...
true
class App container : null stats : null camera : null scene : null projector : null renderer : null controls : null mesh : null clock = new THREE.Clock(); constructor: -> @container = document.createElement( 'div' ); document.body.appendChild( @container ); @camera = new THREE.Perspectiv...
[ { "context": " #0\n '\"firstName\": \"Иван\",' #1\n '\"la", "end": 183, "score": 0.999785840511322, "start": 179, "tag": "NAME", "value": "Иван" }, { "context": " #1\n '\"lastName\": \"...
spec/atom-move-line-spec.coffee
pvorona/atom-move-line
3
{lastLine} = require '../lib/atom-move-line.coffee' describe 'atom-move-line', -> text = [ '{' #0 '"firstName": "Иван",' #1 '"lastName": "Иванов",' #2 '"address": {' ...
47289
{lastLine} = require '../lib/atom-move-line.coffee' describe 'atom-move-line', -> text = [ '{' #0 '"firstName": "<NAME>",' #1 '"lastName": "<NAME>",' #2 '"address": {' ...
true
{lastLine} = require '../lib/atom-move-line.coffee' describe 'atom-move-line', -> text = [ '{' #0 '"firstName": "PI:NAME:<NAME>END_PI",' #1 '"lastName": "PI:NAME:<NAME>END_PI",' #2 ...
[ { "context": " #initiate game\n game =\n \"user-name\": user\n \"game-type\": gameType\n \"start-time", "end": 1033, "score": 0.7063955664634705, "start": 1029, "tag": "NAME", "value": "user" } ]
src/index.coffee
starschema/highscore-client
0
Request = require 'superagent' _ = require "underscore" REQUEST_INTERVAL = 1*1000 ENDPOINTS = NEW: "new-game" EVENT: "add-events" GET_SCORE: "get-scores" serverUrl = null requestTimer = null game = null events = [] getScores = (gameType, cb) -> Request .get "#{serverUrl}/#{ENDPOINTS.GET_SCORE...
67214
Request = require 'superagent' _ = require "underscore" REQUEST_INTERVAL = 1*1000 ENDPOINTS = NEW: "new-game" EVENT: "add-events" GET_SCORE: "get-scores" serverUrl = null requestTimer = null game = null events = [] getScores = (gameType, cb) -> Request .get "#{serverUrl}/#{ENDPOINTS.GET_SCORE...
true
Request = require 'superagent' _ = require "underscore" REQUEST_INTERVAL = 1*1000 ENDPOINTS = NEW: "new-game" EVENT: "add-events" GET_SCORE: "get-scores" serverUrl = null requestTimer = null game = null events = [] getScores = (gameType, cb) -> Request .get "#{serverUrl}/#{ENDPOINTS.GET_SCORE...
[ { "context": "rms\"\nlocation: \"Stockport\"\nphase: \"backlog\"\nsro: \"Kenny Robertson\"\nservice_man: \"TBC\"\nfacing: \"internal\"\nphase_hist", "end": 222, "score": 0.9998613595962524, "start": 207, "tag": "NAME", "value": "Kenny Robertson" } ]
app/data/projects/telephony-identity-assurance.cson
tsmorgan/dwp-ux-work
0
id: 29 name: "Telephony identity assurance" description: "Looking at how non-digital users can validate their identity when dealing with DWP." theme: "Platforms" location: "Stockport" phase: "backlog" sro: "Kenny Robertson" service_man: "TBC" facing: "internal" phase_history: discovery: [ { label: "Predicte...
93709
id: 29 name: "Telephony identity assurance" description: "Looking at how non-digital users can validate their identity when dealing with DWP." theme: "Platforms" location: "Stockport" phase: "backlog" sro: "<NAME>" service_man: "TBC" facing: "internal" phase_history: discovery: [ { label: "Predicted start d...
true
id: 29 name: "Telephony identity assurance" description: "Looking at how non-digital users can validate their identity when dealing with DWP." theme: "Platforms" location: "Stockport" phase: "backlog" sro: "PI:NAME:<NAME>END_PI" service_man: "TBC" facing: "internal" phase_history: discovery: [ { label: "Pre...
[ { "context": ").val()\n\n $.post '/bare_login',\n username: username \n password: password\n (data) ->\n ", "end": 395, "score": 0.9945486783981323, "start": 387, "tag": "USERNAME", "value": "username" }, { "context": "_login',\n username: username \n ...
static/js/coffee/login-ajax.coffee
SlashRoot/WHAT
0
$ -> $('#widgetLogout').click -> $('#loadingAnimationSmall').fadeIn(500) $.post '/bare_logout', logMeOut:1 (data) -> if data == 1 # logout() window.location.replace('/') $('#widgetLogin').click -> username = $('#widgetLoginUsername').val() password = $('#widg...
23172
$ -> $('#widgetLogout').click -> $('#loadingAnimationSmall').fadeIn(500) $.post '/bare_logout', logMeOut:1 (data) -> if data == 1 # logout() window.location.replace('/') $('#widgetLogin').click -> username = $('#widgetLoginUsername').val() password = $('#widg...
true
$ -> $('#widgetLogout').click -> $('#loadingAnimationSmall').fadeIn(500) $.post '/bare_logout', logMeOut:1 (data) -> if data == 1 # logout() window.location.replace('/') $('#widgetLogin').click -> username = $('#widgetLoginUsername').val() password = $('#widg...
[ { "context": "setNameForRankKey: (rankKey) ->\n\t\tif rankKey == \"Bronze\"\n\t\t\treturn \"bronze\"\n\t\telse if rankKey == \"Silve", "end": 2240, "score": 0.6298415660858154, "start": 2237, "tag": "KEY", "value": "ron" } ]
app/sdk/rank/rankFactory.coffee
willroberts/duelyst
5
RankDivisionLookup = require './rankDivisionLookup' _ = require 'underscore' i18next = require 'i18next' class RankFactory ###* # Determines the RankDivisionLookup key for a given rank # @public # @param {Integer} rankValue The rank value for which return the name. # @return {String} RankDivisionLookup Key ...
132206
RankDivisionLookup = require './rankDivisionLookup' _ = require 'underscore' i18next = require 'i18next' class RankFactory ###* # Determines the RankDivisionLookup key for a given rank # @public # @param {Integer} rankValue The rank value for which return the name. # @return {String} RankDivisionLookup Key ...
true
RankDivisionLookup = require './rankDivisionLookup' _ = require 'underscore' i18next = require 'i18next' class RankFactory ###* # Determines the RankDivisionLookup key for a given rank # @public # @param {Integer} rankValue The rank value for which return the name. # @return {String} RankDivisionLookup Key ...
[ { "context": "e.integer(0, 100)\n schema = {\n # TODO(serhalp) unionized does not support top-level arrays - si", "end": 9845, "score": 0.9641385078430176, "start": 9838, "tag": "USERNAME", "value": "serhalp" }, { "context": "nteger(0, 100)\n schema = {\n # TO...
test/json_schema.spec.coffee
goodeggs/unionized
10
expect = require('chai').expect fake = require('fake-eggs').default moment = require 'moment' validator = require 'goodeggs-json-schema-validator' unionized = require '../src' describe 'JSONSchema kitten tests', -> beforeEach 'clear instance', -> @instance = null describe 'an instance generated by the factor...
10854
expect = require('chai').expect fake = require('fake-eggs').default moment = require 'moment' validator = require 'goodeggs-json-schema-validator' unionized = require '../src' describe 'JSONSchema kitten tests', -> beforeEach 'clear instance', -> @instance = null describe 'an instance generated by the factor...
true
expect = require('chai').expect fake = require('fake-eggs').default moment = require 'moment' validator = require 'goodeggs-json-schema-validator' unionized = require '../src' describe 'JSONSchema kitten tests', -> beforeEach 'clear instance', -> @instance = null describe 'an instance generated by the factor...
[ { "context": "ata 2' }\r\n ]\r\n state: key: 'demo2'\r\n plugins: [\r\n 'contextmenu'\r", "end": 1000, "score": 0.678324818611145, "start": 996, "tag": "KEY", "value": "demo" } ]
front-end/assets/js/tree.coffee
hwcarr/manavl
0
class Tree loadingMsg = new String('Loading tree...') hiddenClass = 'hidden' treeOptions = core: animation: 0 check_callback: (operation, node, node_parent, node_position, more) -> # operation can be 'create_node', 'rename_node', 'delete_node', 'm...
124279
class Tree loadingMsg = new String('Loading tree...') hiddenClass = 'hidden' treeOptions = core: animation: 0 check_callback: (operation, node, node_parent, node_position, more) -> # operation can be 'create_node', 'rename_node', 'delete_node', 'm...
true
class Tree loadingMsg = new String('Loading tree...') hiddenClass = 'hidden' treeOptions = core: animation: 0 check_callback: (operation, node, node_parent, node_position, more) -> # operation can be 'create_node', 'rename_node', 'delete_node', 'm...
[ { "context": "hey haven't created a PHPUnit config yet.\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\nHideableView = ", "end": 176, "score": 0.9998776316642761, "start": 165, "tag": "NAME", "value": "Roelof Roos" }, { "context": "fig yet.\n\n@author Roelof Roos (https:/...
lib/views/idle-view.coffee
roelofr/php-report
0
### PHP Report Idle View Contains a "no tests run" message, or a message informing the user how to run tests, if they haven't created a PHPUnit config yet. @author Roelof Roos (https://github.com/roelofr) ### HideableView = require './hideable-view' unavailableBody = [ """ PHPUnit has not been configured for...
118620
### PHP Report Idle View Contains a "no tests run" message, or a message informing the user how to run tests, if they haven't created a PHPUnit config yet. @author <NAME> (https://github.com/roelofr) ### HideableView = require './hideable-view' unavailableBody = [ """ PHPUnit has not been configured for this...
true
### PHP Report Idle View Contains a "no tests run" message, or a message informing the user how to run tests, if they haven't created a PHPUnit config yet. @author PI:NAME:<NAME>END_PI (https://github.com/roelofr) ### HideableView = require './hideable-view' unavailableBody = [ """ PHPUnit has not been confi...
[ { "context": "# Mike Bostock's margin convention\nmargin = \n top: 20, \n ", "end": 14, "score": 0.9161431193351746, "start": 2, "tag": "NAME", "value": "Mike Bostock" } ]
Problem2/coffee/differenceGraph.coffee
rlucioni/cs171-hw3-lucioni-renzo
1
# Mike Bostock's margin convention margin = top: 20, bottom: 20, left: 20, right: 20 canvasWidth = 1100 - margin.left - margin.right canvasHeight = 600 - margin.top - margin.bottom svg = d3.select("#vis").append("svg") .attr("width", canvasWidth + margin.left + margin.right) .attr("h...
173449
# <NAME>'s margin convention margin = top: 20, bottom: 20, left: 20, right: 20 canvasWidth = 1100 - margin.left - margin.right canvasHeight = 600 - margin.top - margin.bottom svg = d3.select("#vis").append("svg") .attr("width", canvasWidth + margin.left + margin.right) .attr("height"...
true
# PI:NAME:<NAME>END_PI's margin convention margin = top: 20, bottom: 20, left: 20, right: 20 canvasWidth = 1100 - margin.left - margin.right canvasHeight = 600 - margin.top - margin.bottom svg = d3.select("#vis").append("svg") .attr("width", canvasWidth + margin.left + margin.right) ...
[ { "context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#", "end": 166, "score": 0.990749180316925, "start": 152, "tag": "USERNAME", "value": "programmfabrik" }, { "context": "roup: \"ttt\", onClick: c)\n\t\t\t...
demo/src/demos/ButtonDemo.coffee
programmfabrik/coffeescript-ui
10
### * coffeescript-ui - Coffeescript User Interface System (CUI) * Copyright (c) 2013 - 2016 Programmfabrik GmbH * MIT Licence * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org ### class Demo.ButtonDemo extends Demo getName: () -> "Buttons" display: -> @__demo_table = new...
143644
### * coffeescript-ui - Coffeescript User Interface System (CUI) * Copyright (c) 2013 - 2016 Programmfabrik GmbH * MIT Licence * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org ### class Demo.ButtonDemo extends Demo getName: () -> "Buttons" display: -> @__demo_table = new...
true
### * coffeescript-ui - Coffeescript User Interface System (CUI) * Copyright (c) 2013 - 2016 Programmfabrik GmbH * MIT Licence * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org ### class Demo.ButtonDemo extends Demo getName: () -> "Buttons" display: -> @__demo_table = new...
[ { "context": "rue\n client.setTTL 5\n client.addMembership \"224.0.0.1\"\n\n # hello message: 'eQ3Max***********I'\n m", "end": 1197, "score": 0.9996917247772217, "start": 1188, "tag": "IP_ADDRESS", "value": "224.0.0.1" }, { "context": " client.send message, 0, message.l...
lib/cube.coffee
jonaswitt/max-api
5
maxparser = require("./parser") net = require("net") dgram = require("dgram") split = require("split") through = require("through") async = require("async") mongoose = require("mongoose") mongoose.connect "mongodb://localhost/max" models = require("./models") PORT = 62910 knownCubes = [] timers = [] exports.getKnownC...
114977
maxparser = require("./parser") net = require("net") dgram = require("dgram") split = require("split") through = require("through") async = require("async") mongoose = require("mongoose") mongoose.connect "mongodb://localhost/max" models = require("./models") PORT = 62910 knownCubes = [] timers = [] exports.getKnownC...
true
maxparser = require("./parser") net = require("net") dgram = require("dgram") split = require("split") through = require("through") async = require("async") mongoose = require("mongoose") mongoose.connect "mongodb://localhost/max" models = require("./models") PORT = 62910 knownCubes = [] timers = [] exports.getKnownC...
[ { "context": "# Description:\n# What would Linus Say? \n# Get a random inspirational quote from L", "end": 35, "score": 0.9125963449478149, "start": 30, "tag": "NAME", "value": "Linus" }, { "context": "us Say? \n# Get a random inspirational quote from Linus Torvalds.\n#\n# Comm...
src/scripts/wwls.coffee
Reelhouse/hubot-scripts
1,450
# Description: # What would Linus Say? # Get a random inspirational quote from Linus Torvalds. # # Commands: # hubot what would linus say? # # Author: # ticean quotes = [ "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a...
71780
# Description: # What would <NAME> Say? # Get a random inspirational quote from <NAME>. # # Commands: # hubot what would linus say? # # Author: # ticean quotes = [ "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry...
true
# Description: # What would PI:NAME:<NAME>END_PI Say? # Get a random inspirational quote from PI:NAME:<NAME>END_PI. # # Commands: # hubot what would linus say? # # Author: # ticean quotes = [ "Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me t...
[ { "context": "sage Queue\n\nThe MIT License (MIT)\nCopyright © 2016 Paulo Ferreira <pf at sourcenotes.com>\n\nPermission is hereby gra", "end": 94, "score": 0.9998445510864258, "start": 80, "tag": "NAME", "value": "Paulo Ferreira" }, { "context": "0-9_-]){1,160}$/\n\n_DEFAULTS =\n r...
src/index.coffee
pjacferreira/resmq
1
### Redis Extended Simple Message Queue The MIT License (MIT) Copyright © 2016 Paulo Ferreira <pf at sourcenotes.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includin...
92848
### Redis Extended Simple Message Queue The MIT License (MIT) Copyright © 2016 <NAME> <pf at sourcenotes.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including withou...
true
### Redis Extended Simple Message Queue The MIT License (MIT) Copyright © 2016 PI:NAME:<NAME>END_PI <pf at sourcenotes.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in...
[ { "context": "d( @godrays.quad );\r\n\r\n initSun:()->\r\n # DANIELE: CHANGED THIS TO AMBIENT\r\n sunLight = new ", "end": 10624, "score": 0.9048141837120056, "start": 10617, "tag": "NAME", "value": "DANIELE" }, { "context": "ground_tornado_clouds_emitter\"\r\n ...
project/develop/coffee/view/chapters/Stormtest.coffee
GyanaPrasannaa/oz-experiment
0
class Stormtest extends Base3DChapter # WARNING: # This contains some tricks to render correctly, as it has a fullscreen shader (tornado) that is outside composer pipeline, and it's in the middle of the scene # Scene is rendered in these steps: background + back stuff (debris behind tornado) => tornado...
175186
class Stormtest extends Base3DChapter # WARNING: # This contains some tricks to render correctly, as it has a fullscreen shader (tornado) that is outside composer pipeline, and it's in the middle of the scene # Scene is rendered in these steps: background + back stuff (debris behind tornado) => tornado...
true
class Stormtest extends Base3DChapter # WARNING: # This contains some tricks to render correctly, as it has a fullscreen shader (tornado) that is outside composer pipeline, and it's in the middle of the scene # Scene is rendered in these steps: background + back stuff (debris behind tornado) => tornado...
[ { "context": "6:32:36.324-06:00\"\n anonymous: false\n key: \"e624ea64c2a7fc85e15b70cdf9e83fc9\"\n credits: false\n payment_method: null\n ", "end": 322, "score": 0.9997773170471191, "start": 290, "tag": "KEY", "value": "e624ea64c2a7fc85e15b70cdf9e83fc9" } ]
spec/javascripts/fixtures/contributions.coffee
FromUte/dune-dashboard
0
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.contribution = (id = 1)-> contribution: id: id #project_id: 1 user_id: 1 #reward_id: 226 value: "25.0" confirmed_at: null created_at: "2014-01-14T16:32:36.324-06:00" anonymous: false key: "e624ea64c2a7fc85e15b70cdf9e83f...
144815
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.contribution = (id = 1)-> contribution: id: id #project_id: 1 user_id: 1 #reward_id: 226 value: "25.0" confirmed_at: null created_at: "2014-01-14T16:32:36.324-06:00" anonymous: false key: "<KEY>" credits: false ...
true
window.FIXTURES = {} if window.FIXTURES is undefined FIXTURES.contribution = (id = 1)-> contribution: id: id #project_id: 1 user_id: 1 #reward_id: 226 value: "25.0" confirmed_at: null created_at: "2014-01-14T16:32:36.324-06:00" anonymous: false key: "PI:KEY:<KEY>END_PI" credit...
[ { "context": "module.exports =\n\n provideProvider: ->\n key: 'java-ant'\n mod: require './module'\n", "end": 58, "score": 0.9989228844642639, "start": 50, "tag": "KEY", "value": "java-ant" } ]
lib/build-tools-ant.coffee
dkbrummitt/build-tools-maven
0
module.exports = provideProvider: -> key: 'java-ant' mod: require './module'
11479
module.exports = provideProvider: -> key: '<KEY>' mod: require './module'
true
module.exports = provideProvider: -> key: 'PI:KEY:<KEY>END_PI' mod: require './module'
[ { "context": "ns, groups, out, callback) ->\n keys = [\n 'grid-avatar'\n 'grid-token'\n 'grid-user'\n 'gith", "end": 321, "score": 0.96282559633255, "start": 310, "tag": "KEY", "value": "grid-avatar" }, { "context": "lback) ->\n keys = [\n 'grid-avatar'...
components/ClearUserData.coffee
taylorzane/noflo-ui
1
noflo = require 'noflo' exports.getComponent = -> c = new noflo.Component c.inPorts.add 'clear', datatype: 'bang' c.outPorts.add 'user', -> datatype: 'object' noflo.helpers.WirePattern c, in: 'clear' out: 'user' async: true , (ins, groups, out, callback) -> keys = [ 'grid-avata...
33068
noflo = require 'noflo' exports.getComponent = -> c = new noflo.Component c.inPorts.add 'clear', datatype: 'bang' c.outPorts.add 'user', -> datatype: 'object' noflo.helpers.WirePattern c, in: 'clear' out: 'user' async: true , (ins, groups, out, callback) -> keys = [ '<KEY>' ...
true
noflo = require 'noflo' exports.getComponent = -> c = new noflo.Component c.inPorts.add 'clear', datatype: 'bang' c.outPorts.add 'user', -> datatype: 'object' noflo.helpers.WirePattern c, in: 'clear' out: 'user' async: true , (ins, groups, out, callback) -> keys = [ 'PI:KEY:<KE...
[ { "context": "]]\n \"fill\": \"blue\"}\n {\"r\": 130\n \"name\": \"c\"\n \"plot\": [[0, a3], [b3, a3], [0, a3 + b3]]\n ", "end": 1953, "score": 0.6976916193962097, "start": 1952, "tag": "NAME", "value": "c" } ]
_old/src/app.coffee
tjhunter/tjhunter.github.com
0
String::format = -> formatted = this i = 0 while i < arguments.length regexp = new RegExp("\\{" + i + "\\}", "gi") formatted = formatted.replace(regexp, arguments[i]) i++ formatted main = () -> wMeter = 50; hMeter = 300 PI = Math.PI simTime = 10000 wNetwork = 350; hNetwork = 150 wPlot ...
218818
String::format = -> formatted = this i = 0 while i < arguments.length regexp = new RegExp("\\{" + i + "\\}", "gi") formatted = formatted.replace(regexp, arguments[i]) i++ formatted main = () -> wMeter = 50; hMeter = 300 PI = Math.PI simTime = 10000 wNetwork = 350; hNetwork = 150 wPlot ...
true
String::format = -> formatted = this i = 0 while i < arguments.length regexp = new RegExp("\\{" + i + "\\}", "gi") formatted = formatted.replace(regexp, arguments[i]) i++ formatted main = () -> wMeter = 50; hMeter = 300 PI = Math.PI simTime = 10000 wNetwork = 350; hNetwork = 150 wPlot ...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ", "end": 18, "score": 0.8878269195556641, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/simple/test-util-debug.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...
210752
# 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": "Shadowsocks\n upstream = \"SOCKS5\"\n upstreamIp = \"127.0.0.1\"\n upstreamPort = proxy.shadowsocks.localPort\nels", "end": 465, "score": 0.9997566938400269, "start": 456, "tag": "IP_ADDRESS", "value": "127.0.0.1" }, { "context": "t}\"\n\npacString = [\n 'var proces...
modules/pac.coffee
Magimagi/poi
3
fs = require('fs') ui = require('./ui') config = require('./config').config proxy = config.proxy pacPath = null if process.platform != 'win32' && process.platform != 'win64' pacPath = "#{global.appDataPath}/proxy.pac" else pacPath = "#{global.appDataPath}\\proxy.pac" require('./settingsUi').updatePacPath pacPath ...
408
fs = require('fs') ui = require('./ui') config = require('./config').config proxy = config.proxy pacPath = null if process.platform != 'win32' && process.platform != 'win64' pacPath = "#{global.appDataPath}/proxy.pac" else pacPath = "#{global.appDataPath}\\proxy.pac" require('./settingsUi').updatePacPath pacPath ...
true
fs = require('fs') ui = require('./ui') config = require('./config').config proxy = config.proxy pacPath = null if process.platform != 'win32' && process.platform != 'win64' pacPath = "#{global.appDataPath}/proxy.pac" else pacPath = "#{global.appDataPath}\\proxy.pac" require('./settingsUi').updatePacPath pacPath ...
[ { "context": "ommon'\n\n###\n\tdocs:待排序的文档数组\n\tids:_id集合\n\tid_key: 默认为_id\n\treturn 按照ids的顺序返回新的文档集合\n###\nCreator.getOrderlySe", "end": 3408, "score": 0.9922424554824829, "start": 3406, "tag": "KEY", "value": "id" }, { "context": " ids, id_key, hit_first)->\n\n\tif !id_key\n\t\tid...
creator/packages/steedos-objects/coreSupport.coffee
yicone/steedos-platform
42
Creator.deps = { app: new Tracker.Dependency object: new Tracker.Dependency }; Creator._TEMPLATE = { Apps: {}, Objects: {} } Meteor.startup -> SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))}) SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Func...
180585
Creator.deps = { app: new Tracker.Dependency object: new Tracker.Dependency }; Creator._TEMPLATE = { Apps: {}, Objects: {} } Meteor.startup -> SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))}) SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Func...
true
Creator.deps = { app: new Tracker.Dependency object: new Tracker.Dependency }; Creator._TEMPLATE = { Apps: {}, Objects: {} } Meteor.startup -> SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))}) SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Func...
[ { "context": " data', (done) ->\n Tag.save {\n name: 'Berlin'\n public: true\n }, (err, tag) ->\n ", "end": 1053, "score": 0.9997040033340454, "start": 1047, "tag": "NAME", "value": "Berlin" }, { "context": " }, (err, tag) ->\n tag.name.should.equal...
src/api/apps/tags/test/model.test.coffee
craigspaeth/positron
76
_ = require 'underscore' moment = require 'moment' { db, fabricate, empty, fixtures } = require '../../../test/helpers/db' Tag = require '../model' { ObjectId } = require 'mongojs' describe 'Tag', -> beforeEach (done) -> empty -> fabricate 'tags', _.times(10, -> {}), -> done() describe '#where'...
95072
_ = require 'underscore' moment = require 'moment' { db, fabricate, empty, fixtures } = require '../../../test/helpers/db' Tag = require '../model' { ObjectId } = require 'mongojs' describe 'Tag', -> beforeEach (done) -> empty -> fabricate 'tags', _.times(10, -> {}), -> done() describe '#where'...
true
_ = require 'underscore' moment = require 'moment' { db, fabricate, empty, fixtures } = require '../../../test/helpers/db' Tag = require '../model' { ObjectId } = require 'mongojs' describe 'Tag', -> beforeEach (done) -> empty -> fabricate 'tags', _.times(10, -> {}), -> done() describe '#where'...
[ { "context": " newGuest =\n key : random.randomString()\n status : 'INVITATION-NOT-SEN", "end": 9028, "score": 0.9571374654769897, "start": 9009, "tag": "KEY", "value": "random.randomString" } ]
client/app/views/popover_screens/guests.coffee
kondaldurgam/cozy-calendar
2
EventPopoverScreenView = require 'views/event_popover_screen' random = require 'lib/random' module.exports = class GuestPopoverScreen extends EventPopoverScreenView screenTitle: '' templateContent: require 'views/templates/popover_screens/guests' templateGuestRow: require 'views/templates/popover_screens...
30557
EventPopoverScreenView = require 'views/event_popover_screen' random = require 'lib/random' module.exports = class GuestPopoverScreen extends EventPopoverScreenView screenTitle: '' templateContent: require 'views/templates/popover_screens/guests' templateGuestRow: require 'views/templates/popover_screens...
true
EventPopoverScreenView = require 'views/event_popover_screen' random = require 'lib/random' module.exports = class GuestPopoverScreen extends EventPopoverScreenView screenTitle: '' templateContent: require 'views/templates/popover_screens/guests' templateGuestRow: require 'views/templates/popover_screens...
[ { "context": " Primes, ported from SFS:\n#\n# https://github.com/okws/sfslite/blob/master/crypt/random_prime.C\n#\n# Ori", "end": 394, "score": 0.89241623878479, "start": 390, "tag": "USERNAME", "value": "okws" }, { "context": "andom_prime.C\n#\n# Originally: Copyright (C) 1998 D...
src/primegen.iced
samkenxstream/kbpgp
464
{nbv,nbi,BigInteger} = require 'bn' {prng} = require 'triplesec' native_rng = prng.native_rng {small_primes} = require './primes' {make_esc} = require 'iced-error' {ASP} = require './util' {nbs} = require './bn' {MRF,SRF} = require './rand' #================================================================= # # Code f...
170156
{nbv,nbi,BigInteger} = require 'bn' {prng} = require 'triplesec' native_rng = prng.native_rng {small_primes} = require './primes' {make_esc} = require 'iced-error' {ASP} = require './util' {nbs} = require './bn' {MRF,SRF} = require './rand' #================================================================= # # Code f...
true
{nbv,nbi,BigInteger} = require 'bn' {prng} = require 'triplesec' native_rng = prng.native_rng {small_primes} = require './primes' {make_esc} = require 'iced-error' {ASP} = require './util' {nbs} = require './bn' {MRF,SRF} = require './rand' #================================================================= # # Code f...
[ { "context": "newlines and spaces', ->\n ROT.Text.measure(\" Alice\\n Bob\\n\\n Carol\\n \\n Dave \\n\\n \\nEve\").shou", "end": 2059, "score": 0.9998435378074646, "start": 2054, "tag": "NAME", "value": "Alice" }, { "context": "and spaces', ->\n ROT.Text.measure(\" ...
_old/node/test/textTest.coffee
lagdotcom/rot.js
1,653
# textTest.coffee #---------------------------------------------------------------------------- should = require 'should' ROT = require '../lib/rot' describe 'text', -> it 'should exist in the ROT namespace', -> ROT.Text.should.be.ok it 'should have some text handling methods', -> ROT.Text.should.hav...
97071
# textTest.coffee #---------------------------------------------------------------------------- should = require 'should' ROT = require '../lib/rot' describe 'text', -> it 'should exist in the ROT namespace', -> ROT.Text.should.be.ok it 'should have some text handling methods', -> ROT.Text.should.hav...
true
# textTest.coffee #---------------------------------------------------------------------------- should = require 'should' ROT = require '../lib/rot' describe 'text', -> it 'should exist in the ROT namespace', -> ROT.Text.should.be.ok it 'should have some text handling methods', -> ROT.Text.should.hav...
[ { "context": "after autofill.\nPlease look at https://github.com/angular/angular.js/issues/1460 for\nmore details.\n###\nappD", "end": 974, "score": 0.6713996529579163, "start": 967, "tag": "USERNAME", "value": "angular" }, { "context": "o its computed value\n\nExample:\n\n$scope.use...
halite/lattice/app/util/appDrtv.coffee
CARFAX/halite
212
### Useful directives for the SaltStack Web App Uses 'ss' (short for SaltStack) as the prefix to distinguish from built in 'ng' ### appDrtv = angular.module "appDrtv", [] appDrtv.directive 'ssInputName', [ '$interpolate', ($interpolate) -> ddo = restrict: 'A' # only activate on element at...
216442
### Useful directives for the SaltStack Web App Uses 'ss' (short for SaltStack) as the prefix to distinguish from built in 'ng' ### appDrtv = angular.module "appDrtv", [] appDrtv.directive 'ssInputName', [ '$interpolate', ($interpolate) -> ddo = restrict: 'A' # only activate on element at...
true
### Useful directives for the SaltStack Web App Uses 'ss' (short for SaltStack) as the prefix to distinguish from built in 'ng' ### appDrtv = angular.module "appDrtv", [] appDrtv.directive 'ssInputName', [ '$interpolate', ($interpolate) -> ddo = restrict: 'A' # only activate on element at...
[ { "context": "ema', ->\n schema = \"\"\"\n list foo {\n key 'bar1 bar2';\n unique 'bar2 name/first';\n leaf", "end": 2177, "score": 0.7016716003417969, "start": 2173, "tag": "KEY", "value": "bar1" }, { "context": "\n schema = \"\"\"\n list foo {\n key 'bar...
test/extension/list.coffee
quantang/yang-js
0
kProp = Symbol.for('property') # this is hackish... describe 'simple schema', -> schema = 'list foo;' it "should parse simple list statement", -> y = Yang.parse schema y.should.have.property('tag').and.equal('foo') it "should create simple list element", -> o = (Yang schema) foo: [ bar: 'hello' ]...
45386
kProp = Symbol.for('property') # this is hackish... describe 'simple schema', -> schema = 'list foo;' it "should parse simple list statement", -> y = Yang.parse schema y.should.have.property('tag').and.equal('foo') it "should create simple list element", -> o = (Yang schema) foo: [ bar: 'hello' ]...
true
kProp = Symbol.for('property') # this is hackish... describe 'simple schema', -> schema = 'list foo;' it "should parse simple list statement", -> y = Yang.parse schema y.should.have.property('tag').and.equal('foo') it "should create simple list element", -> o = (Yang schema) foo: [ bar: 'hello' ]...
[ { "context": "r 'log', context\n\nsession_key = (address) ->\n \"eth-log:active:contracts:#{address}\"\n\naddress_from_key = (session_key) ->\n ", "end": 1796, "score": 0.9762356877326965, "start": 1769, "tag": "KEY", "value": "eth-log:active:contracts:#{" } ]
server.coffee
eth-services/eth-log
0
somata = require 'somata' polar = require 'somata-socketio' h = require 'highlight.js' fs = require 'fs' Redis = require 'redis' redis = Redis.createClient null, null config = require './config' client = new somata.Client() ContractsService = client.bindRemote 'ethereum:contracts' EventsService = client.bindRemote '...
97118
somata = require 'somata' polar = require 'somata-socketio' h = require 'highlight.js' fs = require 'fs' Redis = require 'redis' redis = Redis.createClient null, null config = require './config' client = new somata.Client() ContractsService = client.bindRemote 'ethereum:contracts' EventsService = client.bindRemote '...
true
somata = require 'somata' polar = require 'somata-socketio' h = require 'highlight.js' fs = require 'fs' Redis = require 'redis' redis = Redis.createClient null, null config = require './config' client = new somata.Client() ContractsService = client.bindRemote 'ethereum:contracts' EventsService = client.bindRemote '...
[ { "context": "nv().file {file: config}\n\n keys = [\n 'port',\n 'sitemaps'\n 'storage'\n 'a", "end": 1236, "score": 0.990120530128479, "start": 1232, "tag": "KEY", "value": "port" }, { "context": " config}\n\n keys = [\n 'port',\n '...
src/app/commands/config.coffee
gerardtoko/fantomas
0
fs = require 'fs' nconf = require 'nconf' hashids = require 'hashids' U = require './../helpers/utils' colors = require 'colors' path = require 'path' config = path.resolve './config/locale.json' exports.commandGet = (program, messages, regexs) -> program .command 'config:get' .description 'Get all configur...
148276
fs = require 'fs' nconf = require 'nconf' hashids = require 'hashids' U = require './../helpers/utils' colors = require 'colors' path = require 'path' config = path.resolve './config/locale.json' exports.commandGet = (program, messages, regexs) -> program .command 'config:get' .description 'Get all configur...
true
fs = require 'fs' nconf = require 'nconf' hashids = require 'hashids' U = require './../helpers/utils' colors = require 'colors' path = require 'path' config = path.resolve './config/locale.json' exports.commandGet = (program, messages, regexs) -> program .command 'config:get' .description 'Get all configur...
[ { "context": "author = \"Wittgenstein\"\nquote = \"A picture is a fact. -- #{ author }\"\n\n", "end": 22, "score": 0.9998533129692078, "start": 10, "tag": "NAME", "value": "Wittgenstein" } ]
documentation/coffee/interpolation.coffee
DiThi/coffeescript
369
author = "Wittgenstein" quote = "A picture is a fact. -- #{ author }" sentence = "#{ 22 / 7 } is a decent approximation of π"
59978
author = "<NAME>" quote = "A picture is a fact. -- #{ author }" sentence = "#{ 22 / 7 } is a decent approximation of π"
true
author = "PI:NAME:<NAME>END_PI" quote = "A picture is a fact. -- #{ author }" sentence = "#{ 22 / 7 } is a decent approximation of π"
[ { "context": ".equal '1'\n chai.expect(ip.data).to.equal 'Josh and Laura'\n sout1.once 'ip', (ip) ->\n ", "end": 19382, "score": 0.9991284012794495, "start": 19378, "tag": "NAME", "value": "Josh" }, { "context": "1'\n chai.expect(ip.data).to.equal 'Josh and L...
spec/Component.coffee
aretecode/noflo-built
1
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/ chai = require 'chai' unless chai noflo = require '../src/lib/NoFlo.coffee' else noflo = require 'noflo' describe 'Component', -> describe 'with required ports', -> it 'should throw an error upon sending packet t...
216965
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/ chai = require 'chai' unless chai noflo = require '../src/lib/NoFlo.coffee' else noflo = require 'noflo' describe 'Component', -> describe 'with required ports', -> it 'should throw an error upon sending packet t...
true
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/ chai = require 'chai' unless chai noflo = require '../src/lib/NoFlo.coffee' else noflo = require 'noflo' describe 'Component', -> describe 'with required ports', -> it 'should throw an error upon sending packet t...
[ { "context": "ight of the content of the plot layers\n#\n# @author Douglas Armstrong\n# @todo Avoid negative plot height/width's when d", "end": 981, "score": 0.999874472618103, "start": 964, "tag": "NAME", "value": "Douglas Armstrong" }, { "context": "e chart._\n data: []\n # ...
js/c3-plot.coffee
drarmstr/chartcollection
29
# c3 Visualization Library # XY Plots ################################################################### # Plot ################################################################### # An XY Plot is a chart with an X and a Y axis. This chart doesn't visualize data directly itself, but # contains a set of {c3.Plot.Lay...
63846
# c3 Visualization Library # XY Plots ################################################################### # Plot ################################################################### # An XY Plot is a chart with an X and a Y axis. This chart doesn't visualize data directly itself, but # contains a set of {c3.Plot.Lay...
true
# c3 Visualization Library # XY Plots ################################################################### # Plot ################################################################### # An XY Plot is a chart with an X and a Y axis. This chart doesn't visualize data directly itself, but # contains a set of {c3.Plot.Lay...
[ { "context": "ttps:\\/\\/github.com\\// # e.g., https://github.com/foo/bar.git\n url = url.replace(/\\.git/, '')\n", "end": 14687, "score": 0.9989261031150818, "start": 14684, "tag": "USERNAME", "value": "foo" }, { "context": " else if url.match /git@github.com/ # e.g...
src/biscotto.coffee
abe33/biscotto
2
fs = require 'fs' util = require 'util' path = require 'path' walkdir = require 'walkdir' Async = require 'async' _ = require 'underscore' Parser = require './parser' Generator = require './generator' Metadata = require './metadata' {exec} = require 'child_process' SRC_DIRS = ['...
177261
fs = require 'fs' util = require 'util' path = require 'path' walkdir = require 'walkdir' Async = require 'async' _ = require 'underscore' Parser = require './parser' Generator = require './generator' Metadata = require './metadata' {exec} = require 'child_process' SRC_DIRS = ['...
true
fs = require 'fs' util = require 'util' path = require 'path' walkdir = require 'walkdir' Async = require 'async' _ = require 'underscore' Parser = require './parser' Generator = require './generator' Metadata = require './metadata' {exec} = require 'child_process' SRC_DIRS = ['...
[ { "context": "#\n# * grunt-config-dir\n# * https://github.com/logankoester/grunt-config-dir\n# *\n# * Copyright (c) 2013 Logan", "end": 58, "score": 0.999488890171051, "start": 46, "tag": "USERNAME", "value": "logankoester" }, { "context": "oester/grunt-config-dir\n# *\n# * Copyright...
node_modules/grunt-config-dir/Gruntfile.coffee
winiram/LinkedInHackday
1
# # * grunt-config-dir # * https://github.com/logankoester/grunt-config-dir # * # * Copyright (c) 2013 Logan Koester # * Licensed under the MIT license. # module.exports = (grunt) -> grunt.initConfig jshint: all: ['tasks/*.js'] options: jshintrc: '.jshintrc' # Inject project configuratio...
150773
# # * grunt-config-dir # * https://github.com/logankoester/grunt-config-dir # * # * Copyright (c) 2013 <NAME> # * Licensed under the MIT license. # module.exports = (grunt) -> grunt.initConfig jshint: all: ['tasks/*.js'] options: jshintrc: '.jshintrc' # Inject project configuration files...
true
# # * grunt-config-dir # * https://github.com/logankoester/grunt-config-dir # * # * Copyright (c) 2013 PI:NAME:<NAME>END_PI # * Licensed under the MIT license. # module.exports = (grunt) -> grunt.initConfig jshint: all: ['tasks/*.js'] options: jshintrc: '.jshintrc' # Inject project confi...
[ { "context": "###\nCopyright (C) 2014 - 2016 Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\npath = require", "end": 45, "score": 0.9998894333839417, "start": 30, "tag": "NAME", "value": "Markus Kohlhase" }, { "context": "###\nCopyright (C) 2014 - 2016 Markus Kohlhase <mail@mar...
src/core.coffee
flosse/node-ezmlm
4
### Copyright (C) 2014 - 2016 Markus Kohlhase <mail@markus-kohlhase.de> ### path = require "path" mkdirp = require "mkdirp" { exec } = require "child_process" checkListName = (o) -> if typeof(o?.name) isnt "string" or (o.name.length < 1) throw new Error "Invalid list name" _getDir = (cfg) -> path.resolve...
120789
### Copyright (C) 2014 - 2016 <NAME> <<EMAIL>> ### path = require "path" mkdirp = require "mkdirp" { exec } = require "child_process" checkListName = (o) -> if typeof(o?.name) isnt "string" or (o.name.length < 1) throw new Error "Invalid list name" _getDir = (cfg) -> path.resolve cfg.dir or path.join "./...
true
### Copyright (C) 2014 - 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### path = require "path" mkdirp = require "mkdirp" { exec } = require "child_process" checkListName = (o) -> if typeof(o?.name) isnt "string" or (o.name.length < 1) throw new Error "Invalid list name" _getDir = (cfg) -> path.res...
[ { "context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ", "end": 38, "score": 0.9998874664306641, "start": 25, "tag": "NAME", "value": "Andrey Antukh" }, { "context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright...
public/taiga-front/app/coffee/modules/common/lightboxes.coffee
mabotech/maboss
0
### # Copyright (C) 2014 Andrey Antukh <niwi@niwi.be> # Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com> # Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as ...
26897
### # Copyright (C) 2014 <NAME> <<EMAIL>> # Copyright (C) 2014 <NAME> <<EMAIL>> # Copyright (C) 2014 <NAME> <<EMAIL>> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of...
true
### # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gen...
[ { "context": "omponent = new Component c\n\n data = [ name: \"valtid\" ]\n collection = new Collection \"profile\", d", "end": 6149, "score": 0.9854115843772888, "start": 6143, "tag": "NAME", "value": "valtid" }, { "context": "omponent = new Component c\n\n data = [ na...
test/unit/component.coffee
valtido/ason-js
0
component = {} describe "components:: ", -> beforeEach ()-> component = {} $('foot').html("") $('body').html("") $('head link[rel=asset]').remove() $('component').remove() it "should exists", -> expect(Component).toBeDefined() it "should have properties defined", -> c = "<component t...
7507
component = {} describe "components:: ", -> beforeEach ()-> component = {} $('foot').html("") $('body').html("") $('head link[rel=asset]').remove() $('component').remove() it "should exists", -> expect(Component).toBeDefined() it "should have properties defined", -> c = "<component t...
true
component = {} describe "components:: ", -> beforeEach ()-> component = {} $('foot').html("") $('body').html("") $('head link[rel=asset]').remove() $('component').remove() it "should exists", -> expect(Component).toBeDefined() it "should have properties defined", -> c = "<component t...
[ { "context": "e introduce module for presentation Theme\n\n@auther threeword (dev@threeword.com)\n@since 2016.07.07\n@version 0.", "end": 73, "score": 0.9994680881500244, "start": 64, "tag": "USERNAME", "value": "threeword" }, { "context": "module for presentation Theme\n\n@auther th...
modules/IntroTheme.coffee
framer-modules/intro
4
### Prototype introduce module for presentation Theme @auther threeword (dev@threeword.com) @since 2016.07.07 @version 0.2 ### class IntroTheme extends Framer.BaseClass # Constant DEFINED = DEFAULT: DEVICE_X_POS: 500, DESCRIPTION_X_POS: -500, DESCRIPTION_Y_POS: -150, LOGO_MARGIN: 10 # Constructor ...
129212
### Prototype introduce module for presentation Theme @auther threeword (<EMAIL>) @since 2016.07.07 @version 0.2 ### class IntroTheme extends Framer.BaseClass # Constant DEFINED = DEFAULT: DEVICE_X_POS: 500, DESCRIPTION_X_POS: -500, DESCRIPTION_Y_POS: -150, LOGO_MARGIN: 10 # Constructor constructo...
true
### Prototype introduce module for presentation Theme @auther threeword (PI:EMAIL:<EMAIL>END_PI) @since 2016.07.07 @version 0.2 ### class IntroTheme extends Framer.BaseClass # Constant DEFINED = DEFAULT: DEVICE_X_POS: 500, DESCRIPTION_X_POS: -500, DESCRIPTION_Y_POS: -150, LOGO_MARGIN: 10 # Construc...
[ { "context": "fset(knex.raw('floor(random()*110)')).first('id','username')\n\t\t\t\t])\n\t\t\t.spread (rankMetric,rankRow,lossStrea", "end": 8027, "score": 0.9981845021247864, "start": 8019, "tag": "USERNAME", "value": "username" }, { "context": "\ttoken = Redis.TokenManager.create({...
server/routes/matchmaker.coffee
willroberts/duelyst
5
_ = require 'underscore' express = require 'express' router = express.Router() expressJwt = require 'express-jwt' util = require 'util' Logger = require '../../app/common/logger.coffee' CONFIG = require '../../app/common/config' Promise = require 'bluebird' moment = require 'moment' CustomError = require '../lib/custom...
17761
_ = require 'underscore' express = require 'express' router = express.Router() expressJwt = require 'express-jwt' util = require 'util' Logger = require '../../app/common/logger.coffee' CONFIG = require '../../app/common/config' Promise = require 'bluebird' moment = require 'moment' CustomError = require '../lib/custom...
true
_ = require 'underscore' express = require 'express' router = express.Router() expressJwt = require 'express-jwt' util = require 'util' Logger = require '../../app/common/logger.coffee' CONFIG = require '../../app/common/config' Promise = require 'bluebird' moment = require 'moment' CustomError = require '../lib/custom...
[ { "context": "# The `Form` unit test\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set \"/f", "end": 70, "score": 0.9998840093612671, "start": 53, "tag": "NAME", "value": "Nikolay Nemshilov" }, { "context": ">\n <input type='te...
stl/dom/test/form_test.coffee
lovely-io/lovely.io-stl
2
# # The `Form` unit test # # Copyright (C) 2011-2013 Nikolay Nemshilov # {Test,should} = require('lovely') Test.set "/form.html": """ <html> <head> <script src="/core.js"></script> <script src="/dom.js"></script> </head> <body> <form id="test"> <fieldset> <legend>Super Duper Form</legen...
176209
# # The `Form` unit test # # Copyright (C) 2011-2013 <NAME> # {Test,should} = require('lovely') Test.set "/form.html": """ <html> <head> <script src="/core.js"></script> <script src="/dom.js"></script> </head> <body> <form id="test"> <fieldset> <legend>Super Duper Form</legend> ...
true
# # The `Form` unit test # # Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI # {Test,should} = require('lovely') Test.set "/form.html": """ <html> <head> <script src="/core.js"></script> <script src="/dom.js"></script> </head> <body> <form id="test"> <fieldset> <legend>Super Duper Form</le...
[ { "context": ".html\n# [gc]: http:gc.html\n\n# ---\n#\n# **(c) 2012 [Reg Braithwaite](http://braythwayt.com)** ([@raganwald](http://tw", "end": 8292, "score": 0.9998748898506165, "start": 8277, "tag": "NAME", "value": "Reg Braithwaite" }, { "context": "2012 [Reg Braithwaite](http://b...
lib/gc.coffee
raganwald/recursiveuniverse
4
# This module is part of [recursiveuniver.se](http://recursiveuniver.se). # # ## Garbage Collection Module # # HashLife uses extensive [canonicalization][canonical] to optimize the storage of very large patterns with repetitive # components. The Cache Module implementss a very naive hash-table for canoncial representat...
8881
# This module is part of [recursiveuniver.se](http://recursiveuniver.se). # # ## Garbage Collection Module # # HashLife uses extensive [canonicalization][canonical] to optimize the storage of very large patterns with repetitive # components. The Cache Module implementss a very naive hash-table for canoncial representat...
true
# This module is part of [recursiveuniver.se](http://recursiveuniver.se). # # ## Garbage Collection Module # # HashLife uses extensive [canonicalization][canonical] to optimize the storage of very large patterns with repetitive # components. The Cache Module implementss a very naive hash-table for canoncial representat...
[ { "context": "re: https://code.google.com/p/jsuri/\n # Thanks to Jake Moffat for the suggestion: https://twitter.com/jakeonrai", "end": 259, "score": 0.9994869232177734, "start": 248, "tag": "NAME", "value": "Jake Moffat" }, { "context": "ke Moffat for the suggestion: https://twitte...
core/app/assets/javascripts/spree.js.coffee
sunilgowda/spree
0
#= require jsuri class window.Spree @ready: (callback) -> jQuery(document).ready(callback) # Helper function to take a URL and add query parameters to it # Uses the JSUri library from here: https://code.google.com/p/jsuri/ # Thanks to Jake Moffat for the suggestion: https://twitter.com/jakeonrails/statuses...
42627
#= require jsuri class window.Spree @ready: (callback) -> jQuery(document).ready(callback) # Helper function to take a URL and add query parameters to it # Uses the JSUri library from here: https://code.google.com/p/jsuri/ # Thanks to <NAME> for the suggestion: https://twitter.com/jakeonrails/statuses/3217...
true
#= require jsuri class window.Spree @ready: (callback) -> jQuery(document).ready(callback) # Helper function to take a URL and add query parameters to it # Uses the JSUri library from here: https://code.google.com/p/jsuri/ # Thanks to PI:NAME:<NAME>END_PI for the suggestion: https://twitter.com/jakeonrails...
[ { "context": "# Gustavo Saiani’s Atom.io snippets\n'*':\n '\"\"\"':\n prefix: '\"\"\"", "end": 16, "score": 0.9997549653053284, "start": 2, "tag": "NAME", "value": "Gustavo Saiani" } ]
snippets.cson
gusaiani/atom-snippets
1
# Gustavo Saiani’s Atom.io snippets '*': '"""': prefix: '"""' body: '"""\n$1\n"""' '.source.ruby': 'binding.pry': prefix: 'bp' body: 'binding.pry' '.source.js, .source.jsx, .source.ts, .source.js-semantic': '.': prefix: '.' body: 'this.' '(.': prefix: '(.' body: '(this.' an...
92000
# <NAME>’s Atom.io snippets '*': '"""': prefix: '"""' body: '"""\n$1\n"""' '.source.ruby': 'binding.pry': prefix: 'bp' body: 'binding.pry' '.source.js, .source.jsx, .source.ts, .source.js-semantic': '.': prefix: '.' body: 'this.' '(.': prefix: '(.' body: '(this.' andThen: ...
true
# PI:NAME:<NAME>END_PI’s Atom.io snippets '*': '"""': prefix: '"""' body: '"""\n$1\n"""' '.source.ruby': 'binding.pry': prefix: 'bp' body: 'binding.pry' '.source.js, .source.jsx, .source.ts, .source.js-semantic': '.': prefix: '.' body: 'this.' '(.': prefix: '(.' body: '(this.'...
[ { "context": "overview Disallows multiple blank lines.\n# @author Greg Cochard\n###\n'use strict'\n\n#------------------------------", "end": 75, "score": 0.9998543858528137, "start": 63, "tag": "NAME", "value": "Greg Cochard" }, { "context": " [getExpectedError 1]\n ,\n # https:...
src/tests/rules/no-multiple-empty-lines.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Disallows multiple blank lines. # @author Greg Cochard ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-multiple-empty-line...
207152
###* # @fileoverview Disallows multiple blank lines. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-multiple-empty-lines' {Ru...
true
###* # @fileoverview Disallows multiple blank lines. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-multiple-em...
[ { "context": "\"2016\",\n \"first_name\":\"Jack\",\n \"last_name\":\"Black\"", "end": 1398, "score": 0.9998458623886108, "start": 1394, "tag": "NAME", "value": "Jack" }, { "context": ":\"Jack\",\n \"last...
models/directory/fixture/configure_company_directory.coffee
signonsridhar/sridhar_hbs
0
define([ 'can_fixture'], (can)-> can.fixture('POST /bss/tenant?action=configureCompanyDirectory', (req, res)-> return { "response":{ "service":"configurecompanydirectory", "response_code":100, "execution_time":17328, "timestamp":"20...
47192
define([ 'can_fixture'], (can)-> can.fixture('POST /bss/tenant?action=configureCompanyDirectory', (req, res)-> return { "response":{ "service":"configurecompanydirectory", "response_code":100, "execution_time":17328, "timestamp":"20...
true
define([ 'can_fixture'], (can)-> can.fixture('POST /bss/tenant?action=configureCompanyDirectory', (req, res)-> return { "response":{ "service":"configurecompanydirectory", "response_code":100, "execution_time":17328, "timestamp":"20...
[ { "context": " \"A long necked dinosaur\"\n ]\n [\n \"Where does Professor P live?\"\n \"Honeysuckle Cottage\"\n \"Rose", "end": 1351, "score": 0.9798476099967957, "start": 1347, "tag": "NAME", "value": "Prof" }, { "context": "long necked dinosaur\"\n ]\n [\n \"Where...
src/documents/games/quiz/book2medium.js.coffee
davidxmoody/professorp.co.uk
2
module.exports = [ [ "What was unusual about the landslide on the Jurassic Coast?" "It was the largest in over one hundred years" "It happened during the summer" "It hurt three people" ] [ "What type of dog is Sparky?" "A golden Labrador" "A beagle" "A poodle" ] [ "When did...
92336
module.exports = [ [ "What was unusual about the landslide on the Jurassic Coast?" "It was the largest in over one hundred years" "It happened during the summer" "It hurt three people" ] [ "What type of dog is Sparky?" "A golden Labrador" "A beagle" "A poodle" ] [ "When did...
true
module.exports = [ [ "What was unusual about the landslide on the Jurassic Coast?" "It was the largest in over one hundred years" "It happened during the summer" "It hurt three people" ] [ "What type of dog is Sparky?" "A golden Labrador" "A beagle" "A poodle" ] [ "When did...
[ { "context": "', meta:{}, v:0}, (error) =>\n client = {id: 'abc123'}\n @man.docOpened @name, client, (error) =", "end": 21218, "score": 0.41073399782180786, "start": 21214, "tag": "KEY", "value": "abc1" }, { "context": "ta:{}, v:0}, (error) =>\n client = {id: 'abc123'}...
test/docmanager.coffee
dhotson/ShareJS
1
# This tests src/server/doccache.coffee # # This test uses a mock database rather than using database code directly. {testCase} = require 'nodeunit' {makePassPart} = require './helpers' Manager = require '../src/server/db/manager' types = require '../src/types' newDocName = do -> num = 0 -> "doc#{num++}" newDbI...
1836
# This tests src/server/doccache.coffee # # This test uses a mock database rather than using database code directly. {testCase} = require 'nodeunit' {makePassPart} = require './helpers' Manager = require '../src/server/db/manager' types = require '../src/types' newDocName = do -> num = 0 -> "doc#{num++}" newDbI...
true
# This tests src/server/doccache.coffee # # This test uses a mock database rather than using database code directly. {testCase} = require 'nodeunit' {makePassPart} = require './helpers' Manager = require '../src/server/db/manager' types = require '../src/types' newDocName = do -> num = 0 -> "doc#{num++}" newDbI...
[ { "context": "@meshbluConfig =\n uuid: 'head'\n token: 'earth'\n server: 'https://meshblu.octoblu.com'\n ", "end": 306, "score": 0.8964925408363342, "start": 301, "tag": "PASSWORD", "value": "earth" } ]
test/octoblu-oauth-spec.coffee
octoblu/octoblu-oauth-provider
2
OctobluOauth = require '../src/models/octoblu-oauth' btoa = require 'btoa' describe 'OctobluOauth', -> beforeEach -> @meshblu = generateAccessToken: sinon.stub() @MeshbluHttp = sinon.stub().returns @meshblu @pepper = 'im-a-pepper' @meshbluConfig = uuid: 'head' token: 'earth' server...
132965
OctobluOauth = require '../src/models/octoblu-oauth' btoa = require 'btoa' describe 'OctobluOauth', -> beforeEach -> @meshblu = generateAccessToken: sinon.stub() @MeshbluHttp = sinon.stub().returns @meshblu @pepper = 'im-a-pepper' @meshbluConfig = uuid: 'head' token: '<PASSWORD>' s...
true
OctobluOauth = require '../src/models/octoblu-oauth' btoa = require 'btoa' describe 'OctobluOauth', -> beforeEach -> @meshblu = generateAccessToken: sinon.stub() @MeshbluHttp = sinon.stub().returns @meshblu @pepper = 'im-a-pepper' @meshbluConfig = uuid: 'head' token: 'PI:PASSWORD:<PASSWO...
[ { "context": "ionManager.addAppPermRec\n user : user\n mountPoint : @getMountPoint()\n ", "end": 4801, "score": 0.6318684816360474, "start": 4797, "tag": "NAME", "value": "user" }, { "context": "er.addAppPermRec\n user : us...
src/server/application_manager/application.coffee
bladepan/cloudbrowser
0
Path = require('path') Fs = require('fs') Async = require('async') debug = require('debug') User = require('../user') {hashPassword} = require('../../api/utils') cloudbrowserError = require('../../shared/clou...
14176
Path = require('path') Fs = require('fs') Async = require('async') debug = require('debug') User = require('../user') {hashPassword} = require('../../api/utils') cloudbrowserError = require('../../shared/clou...
true
Path = require('path') Fs = require('fs') Async = require('async') debug = require('debug') User = require('../user') {hashPassword} = require('../../api/utils') cloudbrowserError = require('../../shared/clou...
[ { "context": "', ->\n params = ['user', 'with code', name: 'Peter']\n\n params = RogueGirl.Parser.parse(params)\n", "end": 171, "score": 0.9996480941772461, "start": 166, "tag": "NAME", "value": "Peter" }, { "context": "'])\n expect(params.attributes).to.eql(name: 'Pet...
spec/rogue_girl/parser_spec.coffee
smolnar/rogue-girl
0
#= require spec_helper describe 'RogueGirl.Parser', -> describe '.parse', -> it 'parses params for definition', -> params = ['user', 'with code', name: 'Peter'] params = RogueGirl.Parser.parse(params) expect(params.name).to.eql('user') expect(params.type).to.eql('user') expect(par...
177236
#= require spec_helper describe 'RogueGirl.Parser', -> describe '.parse', -> it 'parses params for definition', -> params = ['user', 'with code', name: '<NAME>'] params = RogueGirl.Parser.parse(params) expect(params.name).to.eql('user') expect(params.type).to.eql('user') expect(pa...
true
#= require spec_helper describe 'RogueGirl.Parser', -> describe '.parse', -> it 'parses params for definition', -> params = ['user', 'with code', name: 'PI:NAME:<NAME>END_PI'] params = RogueGirl.Parser.parse(params) expect(params.name).to.eql('user') expect(params.type).to.eql('user') ...