entities
listlengths
1
8.61k
max_stars_repo_path
stringlengths
7
172
max_stars_repo_name
stringlengths
5
89
max_stars_count
int64
0
82k
content
stringlengths
14
1.05M
id
stringlengths
2
6
new_content
stringlengths
15
1.05M
modified
bool
1 class
references
stringlengths
29
1.05M
[ { "context": "')\n\nexports.calculationTest = (test) ->\n name = \"Walter\"\n paternalLname = \"Reyes\"\n maternalLname = \"Mat", "end": 93, "score": 0.9996496438980103, "start": 87, "tag": "NAME", "value": "Walter" }, { "context": " = (test) ->\n name = \"Walter\"\n paternalLna...
test/rfc_calculation.coffee
AguacateVelarde/rfc-calculation
3
rfc = require('../lib/rfc_calculation') exports.calculationTest = (test) -> name = "Walter" paternalLname = "Reyes" maternalLname = "Mata" birthDate = "1994-02-11" result = new rfc(name, paternalLname, maternalLname, birthDate) test.equal(result.rfc, "REMW940211KJ6", ["Success"]) test.done()
177385
rfc = require('../lib/rfc_calculation') exports.calculationTest = (test) -> name = "<NAME>" paternalLname = "<NAME>" maternalLname = "<NAME>" birthDate = "1994-02-11" result = new rfc(name, paternalLname, maternalLname, birthDate) test.equal(result.rfc, "REMW940211KJ6", ["Success"]) test.done()
true
rfc = require('../lib/rfc_calculation') exports.calculationTest = (test) -> name = "PI:NAME:<NAME>END_PI" paternalLname = "PI:NAME:<NAME>END_PI" maternalLname = "PI:NAME:<NAME>END_PI" birthDate = "1994-02-11" result = new rfc(name, paternalLname, maternalLname, birthDate) test.equal(result.rfc, "REMW94021...
[ { "context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"", "end": 506, "score": 0.787571907043457, "start": 503, "tag": "NAME", "value": "Dan" }, { "context": "ov\",\"Eccl\",\"Song\",\"Isa\",...
lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/hil/spec.coffee
saiba-mais/bible-lessons
0
bcv_parser = require("../../js/hil_bcv_parser.js").bcv_parser describe "Parsing", -> p = {} beforeEach -> p = new bcv_parser p.options.osis_compaction_strategy = "b" p.options.sequence_combination_strategy = "combine" it "should round-trip OSIS references", -> p.set_options osis_compaction_strategy: "bc" ...
193773
bcv_parser = require("../../js/hil_bcv_parser.js").bcv_parser describe "Parsing", -> p = {} beforeEach -> p = new bcv_parser p.options.osis_compaction_strategy = "b" p.options.sequence_combination_strategy = "combine" it "should round-trip OSIS references", -> p.set_options osis_compaction_strategy: "bc" ...
true
bcv_parser = require("../../js/hil_bcv_parser.js").bcv_parser describe "Parsing", -> p = {} beforeEach -> p = new bcv_parser p.options.osis_compaction_strategy = "b" p.options.sequence_combination_strategy = "combine" it "should round-trip OSIS references", -> p.set_options osis_compaction_strategy: "bc" ...
[ { "context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig", "end": 74, "score": 0.9998789429664612, "start": 61, "tag": "NAME", "value": "Jessym Reziga" }, { "context": "f the Konsserto package.\n *\n * (c) Je...
node_modules/konsserto/lib/src/Konsserto/Component/Form/FormFactory.coffee
konsserto/konsserto
2
### * This file is part of the Konsserto package. * * (c) Jessym Reziga <jessym@konsserto.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### Form = use('@Konsserto/Component/Form/Form') Tools = use('@Konsserto/Component/Static/T...
37419
### * This file is part of the Konsserto package. * * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### Form = use('@Konsserto/Component/Form/Form') Tools = use('@Konsserto/Component/Static/Tools') # # FormFact...
true
### * This file is part of the Konsserto package. * * (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### Form = use('@Konsserto/Component/Form/Form') Tools = use('@Konsserto/Component...
[ { "context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ", "end": 1974, "score": 0.993599534034729, "start": 1967, "tag": "NAME", "value": "Patient" }, { "context": " \"localId\" : \"4\",\n ...
test/elm/convert/data.coffee
luis1van/cql-execution-1
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 ### ### FromString library TestSnippet version '1' using QUICK context Patient define stringStr: convert 'str' to String...
126053
### 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 ### ### FromString library TestSnippet version '1' using QUICK context Patient define stringStr: convert 'str' to String...
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 ### ### FromString library TestSnippet version '1' using QUICK context Patient define stringStr: convert 'str' to String...
[ { "context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)\n# MIT Licensed\n###\n\nrequire.p", "end": 44, "score": 0.9998437166213989, "start": 36, "tag": "NAME", "value": "Jae Kwon" }, { "context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst....
utils.coffee
jaekwon/YCatalyst
3
### # YCatalyst # Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com) # MIT Licensed ### require.paths.unshift 'vendor/www-forms' qs = require 'querystring' url = require 'url' www_forms = require 'www-forms' http = require 'http' fs = require 'fs' XRegExp = require('./static/xregexp').XRegExp exports.ipRE = (() -> octe...
27620
### # YCatalyst # Copyright(c) 2011 <NAME> (<EMAIL>) # MIT Licensed ### require.paths.unshift 'vendor/www-forms' qs = require 'querystring' url = require 'url' www_forms = require 'www-forms' http = require 'http' fs = require 'fs' XRegExp = require('./static/xregexp').XRegExp exports.ipRE = (() -> octet = '(?:25[0...
true
### # YCatalyst # Copyright(c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI) # MIT Licensed ### require.paths.unshift 'vendor/www-forms' qs = require 'querystring' url = require 'url' www_forms = require 'www-forms' http = require 'http' fs = require 'fs' XRegExp = require('./static/xregexp').XRegExp exports.ipR...
[ { "context": "sponse(req, res, responseSchema)\n\n key = [req.method, req.url].join(\" \")\n\n requests.push({\n url: key\n b", "end": 1339, "score": 0.9029034376144409, "start": 1313, "tag": "KEY", "value": "method, req.url].join(\" \")" }, { "context": "it \...
packages/server/test/e2e/7_record_spec.coffee
maff/cypress
1
_ = require("lodash") Promise = require("bluebird") bodyParser = require("body-parser") jsonSchemas = require("@cypress/json-schemas").api e2e = require("../support/helpers/e2e") postRunResponse = jsonSchemas.getExample("postRunResponse")("2.0.0") postRunInstanceResponse = jsonSchemas.getExample("postRunInstanceRespon...
98068
_ = require("lodash") Promise = require("bluebird") bodyParser = require("body-parser") jsonSchemas = require("@cypress/json-schemas").api e2e = require("../support/helpers/e2e") postRunResponse = jsonSchemas.getExample("postRunResponse")("2.0.0") postRunInstanceResponse = jsonSchemas.getExample("postRunInstanceRespon...
true
_ = require("lodash") Promise = require("bluebird") bodyParser = require("body-parser") jsonSchemas = require("@cypress/json-schemas").api e2e = require("../support/helpers/e2e") postRunResponse = jsonSchemas.getExample("postRunResponse")("2.0.0") postRunInstanceResponse = jsonSchemas.getExample("postRunInstanceRespon...
[ { "context": "名称','编码','成本','时间']\n user_items:['编号','登录名','姓名','电话','权限','时间']\n updateP:[]\n pName:[]\n", "end": 312, "score": 0.8608770966529846, "start": 310, "tag": "NAME", "value": "姓名" } ]
src/main/webapp/coffee/module/setting/setting.coffee
chuxiongGitHub/resty-demo
0
define ['regularjs','semantic-ui', 'rgl!/html/module/setting/setting.html', '/js/http.js','/js/plugin/app/datepicker.js','/js/plugin/app/dateformat.js'], (Regular,Semantic, tpl, $http)-> Regular.extend( template: tpl data: product_items:['编号','名称','编码','成本','时间'] user_items:['编号','登录名','姓名','电话','...
178425
define ['regularjs','semantic-ui', 'rgl!/html/module/setting/setting.html', '/js/http.js','/js/plugin/app/datepicker.js','/js/plugin/app/dateformat.js'], (Regular,Semantic, tpl, $http)-> Regular.extend( template: tpl data: product_items:['编号','名称','编码','成本','时间'] user_items:['编号','登录名','<NAME>','电...
true
define ['regularjs','semantic-ui', 'rgl!/html/module/setting/setting.html', '/js/http.js','/js/plugin/app/datepicker.js','/js/plugin/app/dateformat.js'], (Regular,Semantic, tpl, $http)-> Regular.extend( template: tpl data: product_items:['编号','名称','编码','成本','时间'] user_items:['编号','登录名','PI:NAME:<N...
[ { "context": "son\"\n \n # Set up for the kludge suggested by David Beck on stackoverflow to detect onfocus\n # correctl", "end": 664, "score": 0.9997695088386536, "start": 654, "tag": "NAME", "value": "David Beck" }, { "context": "m the background.\n # However, as pointe...
src/runtime.js.coffee
kirkbowers/mvcoffee
0
DEFAULT_OPTS = debug: false clientizeScope: 'body' class MVCoffee.Runtime constructor: (opts = {}) -> @opts = DEFAULT_OPTS for opt, value of opts @opts[opt] = value @controllers = {} @modelStore = new MVCoffee.ModelStore @active = [] @listeners = [] @_flash = {} @_oldFlash =...
87861
DEFAULT_OPTS = debug: false clientizeScope: 'body' class MVCoffee.Runtime constructor: (opts = {}) -> @opts = DEFAULT_OPTS for opt, value of opts @opts[opt] = value @controllers = {} @modelStore = new MVCoffee.ModelStore @active = [] @listeners = [] @_flash = {} @_oldFlash =...
true
DEFAULT_OPTS = debug: false clientizeScope: 'body' class MVCoffee.Runtime constructor: (opts = {}) -> @opts = DEFAULT_OPTS for opt, value of opts @opts[opt] = value @controllers = {} @modelStore = new MVCoffee.ModelStore @active = [] @listeners = [] @_flash = {} @_oldFlash =...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9994228482246399, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/simple/test-stream2-stderr-sync.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...
131861
# 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": " delete role <rolename> \n2. get role\n3. get user <username>\n4. create user <username> with password <passwor", "end": 928, "score": 0.9902925491333008, "start": 920, "tag": "USERNAME", "value": "username" }, { "context": ". get role\n3. get user <username>\n4. create...
scripts/xldeploy/scripts-hipchat/xldeploy_role.coffee
akash1233/OnBot_Demo
4
#------------------------------------------------------------------------------- # Copyright 2018 Cognizant Technology Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http:...
75739
#------------------------------------------------------------------------------- # Copyright 2018 Cognizant Technology Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http:...
true
#------------------------------------------------------------------------------- # Copyright 2018 Cognizant Technology Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http:...
[ { "context": ", (iq) ->\n (expect iq.attr \"to\").to.equal \"user@service.example.com\"\n (expect iq.attr \"type\").to.equal \"set\"\n\n", "end": 1447, "score": 0.9998031854629517, "start": 1423, "tag": "EMAIL", "value": "user@service.example.com" }, { "context": " ...
dist/bower_components/strophejs-plugins/joap/spec/strophe.joap.spec.coffee
A-StadLabs/labs-002
1
expect = chai.expect mockConnection = -> c = new Strophe.Connection "http://example.org:1234/bosh" c.authenticated = true c.jid = 'n@d/r2' c._processRequest = -> c._changeConnectStatus Strophe.Status.CONNECTED c str = (builder) -> if builder.tree return Strophe.serialize(builder.tree()) Strophe.s...
111935
expect = chai.expect mockConnection = -> c = new Strophe.Connection "http://example.org:1234/bosh" c.authenticated = true c.jid = 'n@d/r2' c._processRequest = -> c._changeConnectStatus Strophe.Status.CONNECTED c str = (builder) -> if builder.tree return Strophe.serialize(builder.tree()) Strophe.s...
true
expect = chai.expect mockConnection = -> c = new Strophe.Connection "http://example.org:1234/bosh" c.authenticated = true c.jid = 'n@d/r2' c._processRequest = -> c._changeConnectStatus Strophe.Status.CONNECTED c str = (builder) -> if builder.tree return Strophe.serialize(builder.tree()) Strophe.s...
[ { "context": "###\n helper-clock.coffee\n Fionan Haralddottir\n Spring 2015\n This program is published under t", "end": 47, "score": 0.9998860359191895, "start": 28, "tag": "NAME", "value": "Fionan Haralddottir" } ]
src/helper-clock.coffee
Lokidottir/coffeescript-turing-machine
0
### helper-clock.coffee Fionan Haralddottir Spring 2015 This program is published under the MIT licence ### class Clock counter: null previousTime: null presentTime: null disabled: false constructor: () -> @counter = new Date @previousTime = (@counter.getTime() - 1)/1000.0 @pre...
180781
### helper-clock.coffee <NAME> Spring 2015 This program is published under the MIT licence ### class Clock counter: null previousTime: null presentTime: null disabled: false constructor: () -> @counter = new Date @previousTime = (@counter.getTime() - 1)/1000.0 @presentTime = @...
true
### helper-clock.coffee PI:NAME:<NAME>END_PI Spring 2015 This program is published under the MIT licence ### class Clock counter: null previousTime: null presentTime: null disabled: false constructor: () -> @counter = new Date @previousTime = (@counter.getTime() - 1)/1000.0 @pr...
[ { "context": "eforeEach ->\n view.$('[name=\"name\"]').val('Johny').trigger 'change'\n view.$('[name=\"email\"]", "end": 2413, "score": 0.9997972846031189, "start": 2408, "tag": "NAME", "value": "Johny" }, { "context": "er 'change'\n view.$('[name=\"email\"]').va...
mixins/views/validating.spec.coffee
kpunith8/gringotts
0
import Chaplin from 'chaplin' import backboneValidation from 'backbone-validation' import Validatable from '../models/validatable' import Validating from './validating' import Templatable from './templatable' import templateMock from './validating.spec.hbs' patterns = backboneValidation.patterns class ModelMock exten...
68398
import Chaplin from 'chaplin' import backboneValidation from 'backbone-validation' import Validatable from '../models/validatable' import Validating from './validating' import Templatable from './templatable' import templateMock from './validating.spec.hbs' patterns = backboneValidation.patterns class ModelMock exten...
true
import Chaplin from 'chaplin' import backboneValidation from 'backbone-validation' import Validatable from '../models/validatable' import Validating from './validating' import Templatable from './templatable' import templateMock from './validating.spec.hbs' patterns = backboneValidation.patterns class ModelMock exten...
[ { "context": "f valid email address', ->\n inputText.val('test@testing.com')\n\n expect(Validators.email(inputText)).to", "end": 612, "score": 0.9999173879623413, "start": 596, "tag": "EMAIL", "value": "test@testing.com" }, { "context": "invalid email address', ->\n ...
spec/javascripts/lib/forms/validators_spec.coffee
sheedy/rizzo
1
require ['lib/forms/validators'], (Validators) -> inputText = null describe 'Form Validators', -> describe 'required validator', -> beforeEach -> inputText = $('<input type="text" />') it 'passes if not empty', -> inputText.val('abc') expect(Validators.required(inputTex...
188945
require ['lib/forms/validators'], (Validators) -> inputText = null describe 'Form Validators', -> describe 'required validator', -> beforeEach -> inputText = $('<input type="text" />') it 'passes if not empty', -> inputText.val('abc') expect(Validators.required(inputTex...
true
require ['lib/forms/validators'], (Validators) -> inputText = null describe 'Form Validators', -> describe 'required validator', -> beforeEach -> inputText = $('<input type="text" />') it 'passes if not empty', -> inputText.val('abc') expect(Validators.required(inputTex...
[ { "context": "d, _, ] = spo\n key = [ sbj, prd, ]\n key_bfr = CODEC.encod", "end": 13466, "score": 0.9391201734542847, "start": 13463, "tag": "KEY", "value": "sbj" }, { "context": " ] = spo\n key = [ sbj, prd,...
src/main.coffee
loveencounterflow/hollerith-legacy
0
############################################################################################################ # njs_util = require 'util' # njs_path = require 'path' # njs_fs = require 'fs' #..............................................................................
92421
############################################################################################################ # njs_util = require 'util' # njs_path = require 'path' # njs_fs = require 'fs' #..............................................................................
true
############################################################################################################ # njs_util = require 'util' # njs_path = require 'path' # njs_fs = require 'fs' #..............................................................................
[ { "context": "edentials, callback) ->\n options =\n login: credentials.login\n passwd: credentials.password\n turbik.sig", "end": 245, "score": 0.9872600436210632, "start": 228, "tag": "USERNAME", "value": "credentials.login" }, { "context": "ons =\n login: crede...
providers/turbik/provider.coffee
iwater/atvproxy
0
fs = require('fs') path = require('path') print = require('util').print mustache = require('mustache') turbik = require('./turbik') class TurbikProvider signin: (credentials, callback) -> options = login: credentials.login passwd: credentials.password turbik.signin options, callback ...
210767
fs = require('fs') path = require('path') print = require('util').print mustache = require('mustache') turbik = require('./turbik') class TurbikProvider signin: (credentials, callback) -> options = login: credentials.login passwd: <PASSWORD> turbik.signin options, callback renderPage...
true
fs = require('fs') path = require('path') print = require('util').print mustache = require('mustache') turbik = require('./turbik') class TurbikProvider signin: (credentials, callback) -> options = login: credentials.login passwd: PI:PASSWORD:<PASSWORD>END_PI turbik.signin options, call...
[ { "context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr", "end": 34, "score": 0.999881386756897, "start": 23, "tag": "NAME", "value": "Ramesh Nair" } ]
test/custom.test.coffee
SimeonC/squel
0
### Copyright (c) 2014 Ramesh Nair (hiddentao.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 without limitation the rights to use, copy, modify, merge, publish...
61412
### Copyright (c) 2014 <NAME> (hiddentao.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 without limitation the rights to use, copy, modify, merge, publish, dis...
true
### Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.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 without limitation the rights to use, copy, modify, merge...
[ { "context": "bluConfig =\n uuid: 'user-uuid'\n token: 'user-token'\n hostname: 'localhost'\n port: 0xd00d\n ", "end": 418, "score": 0.7328566908836365, "start": 408, "tag": "PASSWORD", "value": "user-token" } ]
test/get-monitored-device-subscriptions.coffee
octoblu/inquisitor
0
{afterEach, beforeEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' _ = require 'lodash' enableDestroy = require 'server-destroy' shmock = require 'shmock' SocketIO = require 'socket.io' Inquisitor = require '..' describe 'getMonitoredDeviceSubscr...
137316
{afterEach, beforeEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' _ = require 'lodash' enableDestroy = require 'server-destroy' shmock = require 'shmock' SocketIO = require 'socket.io' Inquisitor = require '..' describe 'getMonitoredDeviceSubscr...
true
{afterEach, beforeEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' _ = require 'lodash' enableDestroy = require 'server-destroy' shmock = require 'shmock' SocketIO = require 'socket.io' Inquisitor = require '..' describe 'getMonitoredDeviceSubscr...
[ { "context": " DevExpress.localization.formatDate(dsi.key, 'yyyy-MM-dd')\n\t\t\t\telse if isDatetimeType\n\t\t\t\t\t# 如果不加这个转换", "end": 7783, "score": 0.7142003178596497, "start": 7783, "tag": "KEY", "value": "" }, { "context": "vExpress.localization.formatDate(dsi.key, 'yyyy-MM-dd')...
creator/packages/steedos-creator/client/views/report_content.coffee
baozhoutao/steedos-platform
10
Template.creator_report_content.helpers Creator.helpers Template.creator_report_content.helpers filterEmptyText: ()-> return t "creator_report_filter_empty" getODataFilterForReport = (object_name, filter_scope, filters, filter_logic)-> unless object_name return ["_id", "=", -1] userId = Meteor.userId() space...
225542
Template.creator_report_content.helpers Creator.helpers Template.creator_report_content.helpers filterEmptyText: ()-> return t "creator_report_filter_empty" getODataFilterForReport = (object_name, filter_scope, filters, filter_logic)-> unless object_name return ["_id", "=", -1] userId = Meteor.userId() space...
true
Template.creator_report_content.helpers Creator.helpers Template.creator_report_content.helpers filterEmptyText: ()-> return t "creator_report_filter_empty" getODataFilterForReport = (object_name, filter_scope, filters, filter_logic)-> unless object_name return ["_id", "=", -1] userId = Meteor.userId() space...
[ { "context": "class Dwarf extends Race\n key: 'dwarf'\n name: 'dwarf'\n\n alignments: ['good']\n rarity: ['uncommon'", "end": 51, "score": 0.915908932685852, "start": 49, "tag": "NAME", "value": "dw" } ]
js/races/dwarf.coffee
ktchernov/7drl-lion.github.io
27
class Dwarf extends Race key: 'dwarf' name: 'dwarf' alignments: ['good'] rarity: ['uncommon', 'trash'] base_hp: 15 base_mp: 30 base_speed: 80 base_attack: 12 base_sight_range: 8 for_player: true skills: [] register_race Dwarf
28870
class Dwarf extends Race key: 'dwarf' name: '<NAME>arf' alignments: ['good'] rarity: ['uncommon', 'trash'] base_hp: 15 base_mp: 30 base_speed: 80 base_attack: 12 base_sight_range: 8 for_player: true skills: [] register_race Dwarf
true
class Dwarf extends Race key: 'dwarf' name: 'PI:NAME:<NAME>END_PIarf' alignments: ['good'] rarity: ['uncommon', 'trash'] base_hp: 15 base_mp: 30 base_speed: 80 base_attack: 12 base_sight_range: 8 for_player: true skills: [] register_race Dwarf
[ { "context": " user = new CreditCard(card_token: stripeToken.id)\n user.$update().catch(->\n $window.al", "end": 298, "score": 0.500070333480835, "start": 296, "tag": "KEY", "value": "id" } ]
app/assets/javascripts/controllers/account_controller.coffee
griffero/hound
1
App.controller "accountController", [ "$scope", "$window", "Account", "StripeCheckout", "CreditCard", ($scope, $window, Account, StripeCheckout, CreditCard) -> $scope.account = new Account updateCustomer = (stripeToken) -> user = new CreditCard(card_token: stripeToken.id) user.$update()...
151507
App.controller "accountController", [ "$scope", "$window", "Account", "StripeCheckout", "CreditCard", ($scope, $window, Account, StripeCheckout, CreditCard) -> $scope.account = new Account updateCustomer = (stripeToken) -> user = new CreditCard(card_token: stripeToken.<KEY>) user.$updat...
true
App.controller "accountController", [ "$scope", "$window", "Account", "StripeCheckout", "CreditCard", ($scope, $window, Account, StripeCheckout, CreditCard) -> $scope.account = new Account updateCustomer = (stripeToken) -> user = new CreditCard(card_token: stripeToken.PI:KEY:<KEY>END_PI) ...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9991543889045715, "start": 12, "tag": "NAME", "value": "Joyent" } ]
lib/_tls_common.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...
185427
# 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": "'/real/config'\n auth:\n username: 'real-gateblu-uuid'\n password: 'real-gateblu-token'\n ", "end": 1812, "score": 0.9730759859085083, "start": 1795, "tag": "USERNAME", "value": "real-gateblu-uuid" }, { "context": "sername: 'real-gateblu-u...
test/integration/real-gateblu-config-spec.coffee
octoblu/gateblu-shadow-service
0
http = require 'http' request = require 'request' shmock = require '@octoblu/shmock' Server = require '../../src/server' describe 'Real Gateblu config event', -> beforeEach (done) -> @meshblu = shmock 0xd00d @server = new Server port: undefined, disableLogging: true shadowServiceUri: ...
45374
http = require 'http' request = require 'request' shmock = require '@octoblu/shmock' Server = require '../../src/server' describe 'Real Gateblu config event', -> beforeEach (done) -> @meshblu = shmock 0xd00d @server = new Server port: undefined, disableLogging: true shadowServiceUri: ...
true
http = require 'http' request = require 'request' shmock = require '@octoblu/shmock' Server = require '../../src/server' describe 'Real Gateblu config event', -> beforeEach (done) -> @meshblu = shmock 0xd00d @server = new Server port: undefined, disableLogging: true shadowServiceUri: ...
[ { "context": "------------------------------------\n#\n# Author : philippe.billet@noos.fr\n#\n# sgn sign function\n#\n#\n#---------------------", "end": 116, "score": 0.9955787658691406, "start": 93, "tag": "EMAIL", "value": "philippe.billet@noos.fr" } ]
node_modules/algebrite/sources/sgn.coffee
souzamonteiro/maialexa
928
#----------------------------------------------------------------------------- # # Author : philippe.billet@noos.fr # # sgn sign function # # #----------------------------------------------------------------------------- Eval_sgn = -> push(cadr(p1)) Eval() sgn() sgn = -> save() yysgn() restore() #def...
41960
#----------------------------------------------------------------------------- # # Author : <EMAIL> # # sgn sign function # # #----------------------------------------------------------------------------- Eval_sgn = -> push(cadr(p1)) Eval() sgn() sgn = -> save() yysgn() restore() #define X p1 yysgn ...
true
#----------------------------------------------------------------------------- # # Author : PI:EMAIL:<EMAIL>END_PI # # sgn sign function # # #----------------------------------------------------------------------------- Eval_sgn = -> push(cadr(p1)) Eval() sgn() sgn = -> save() yysgn() restore() #defi...
[ { "context": "aline extends Skill\n target: TARGET_NONE\n key: 'adrenaline'\n name: 'adrenaline'\n mp: 8\n cooldown: 15\n\n r", "end": 71, "score": 0.9778842329978943, "start": 61, "tag": "KEY", "value": "adrenaline" }, { "context": " target: TARGET_NONE\n key: 'adrenaline'\n ...
js/skills/adrenaline.coffee
ktchernov/7drl-lion.github.io
27
class Adrenaline extends Skill target: TARGET_NONE key: 'adrenaline' name: 'adrenaline' mp: 8 cooldown: 15 run: (dir) -> true # register_skill 'adrenaline', Adrenaline
222830
class Adrenaline extends Skill target: TARGET_NONE key: '<KEY>' name: '<KEY>' mp: 8 cooldown: 15 run: (dir) -> true # register_skill 'adrenaline', Adrenaline
true
class Adrenaline extends Skill target: TARGET_NONE key: 'PI:KEY:<KEY>END_PI' name: 'PI:NAME:<KEY>END_PI' mp: 8 cooldown: 15 run: (dir) -> true # register_skill 'adrenaline', Adrenaline
[ { "context": "-ponyfill')({ Promise })\nm = require('mochainon')\njohnDoeFixture = require('./tokens.json').johndoe\nutils =", "end": 129, "score": 0.7680966258049011, "start": 122, "tag": "USERNAME", "value": "johnDoe" }, { "context": "ainon')\njohnDoeFixture = require('./tokens.jso...
tests/utils.spec.coffee
josecoelho/balena-request
0
ReadableStream = require('stream').Readable { Headers } = require('fetch-ponyfill')({ Promise }) m = require('mochainon') johnDoeFixture = require('./tokens.json').johndoe utils = require('../build/utils') { TokenType } = require('balena-auth/build/token') { auth } = require('./setup')() describe 'Utils:', -> desc...
26640
ReadableStream = require('stream').Readable { Headers } = require('fetch-ponyfill')({ Promise }) m = require('mochainon') johnDoeFixture = require('./tokens.json').johndoe utils = require('../build/utils') { TokenType } = require('balena-auth/build/token') { auth } = require('./setup')() describe 'Utils:', -> desc...
true
ReadableStream = require('stream').Readable { Headers } = require('fetch-ponyfill')({ Promise }) m = require('mochainon') johnDoeFixture = require('./tokens.json').johndoe utils = require('../build/utils') { TokenType } = require('balena-auth/build/token') { auth } = require('./setup')() describe 'Utils:', -> desc...
[ { "context": " constructor: (@game) ->\n super(@game, true, 'RON PAUL', 5, 4, 'RONNY')\n\n # set basic statis\n # AL", "end": 226, "score": 0.9998536109924316, "start": 218, "tag": "NAME", "value": "RON PAUL" }, { "context": "ame) ->\n super(@game, true, 'RON PAUL', 5, 4...
src/js/debaters/ron-paul.coffee
Huntrr/Battle-Resolution
0
$ = require 'lib/jquery.js' Debater = require './../debater.coffee' # Basic debater class. Controls an actor in the game module.exports = class Novice extends Debater constructor: (@game) -> super(@game, true, 'RON PAUL', 5, 4, 'RONNY') # set basic statis # ALREADY SET (constructed) # @case (HP) ...
177973
$ = require 'lib/jquery.js' Debater = require './../debater.coffee' # Basic debater class. Controls an actor in the game module.exports = class Novice extends Debater constructor: (@game) -> super(@game, true, '<NAME>', 5, 4, '<NAME>') # set basic statis # ALREADY SET (constructed) # @case (HP) ...
true
$ = require 'lib/jquery.js' Debater = require './../debater.coffee' # Basic debater class. Controls an actor in the game module.exports = class Novice extends Debater constructor: (@game) -> super(@game, true, 'PI:NAME:<NAME>END_PI', 5, 4, 'PI:NAME:<NAME>END_PI') # set basic statis # ALREADY SET (constr...
[ { "context": "class Animal\n name: 'Kelya'\n\nanimal = new Animal\nanimal.name = 'Kelya'\nconso", "end": 27, "score": 0.9997518658638, "start": 22, "tag": "NAME", "value": "Kelya" }, { "context": "name: 'Kelya'\n\nanimal = new Animal\nanimal.name = 'Kelya'\nconsole.log animal.name\n...
code/coffeescript/class-get-set.coffee
evmorov/ruby-coffeescript
29
class Animal name: 'Kelya' animal = new Animal animal.name = 'Kelya' console.log animal.name
121288
class Animal name: '<NAME>' animal = new Animal animal.name = '<NAME>' console.log animal.name
true
class Animal name: 'PI:NAME:<NAME>END_PI' animal = new Animal animal.name = 'PI:NAME:<NAME>END_PI' console.log animal.name
[ { "context": " \"Datastore.Amount\"\n\ndescribe 'Market', ->\n bob = {name: 'bob'}\n sue = {name: 'sue'}\n jen = {na", "end": 144, "score": 0.6434873938560486, "start": 141, "tag": "NAME", "value": "bob" }, { "context": "re.Amount\"\n\ndescribe 'Market', ->\n bob = {name: '...
test/datastore/market.coffee
PartTimeLegend/buttercoin-engine
0
test.uses "Datastore.Market", "Datastore.Book", "Datastore.Order", "Datastore.Amount" describe 'Market', -> bob = {name: 'bob'} sue = {name: 'sue'} jen = {name: 'jen'} beforeEach -> @market = new Market('BTC', 'USD') it 'should initialize with a buy book and a sell book', ...
63237
test.uses "Datastore.Market", "Datastore.Book", "Datastore.Order", "Datastore.Amount" describe 'Market', -> <NAME> = {name: '<NAME>'} <NAME> = {name: '<NAME>'} <NAME> = {name: '<NAME>'} beforeEach -> @market = new Market('BTC', 'USD') it 'should initialize with a buy book ...
true
test.uses "Datastore.Market", "Datastore.Book", "Datastore.Order", "Datastore.Amount" describe 'Market', -> PI:NAME:<NAME>END_PI = {name: 'PI:NAME:<NAME>END_PI'} PI:NAME:<NAME>END_PI = {name: 'PI:NAME:<NAME>END_PI'} PI:NAME:<NAME>END_PI = {name: 'PI:NAME:<NAME>END_PI'} beforeEach...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9992175102233887, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/simple/test-vm-new-script-new-context.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...
8946
# 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": " username: info.account\n password: info.password\n else if info.repo is 'gogs'\n gogs().", "end": 1847, "score": 0.9977496266365051, "start": 1834, "tag": "PASSWORD", "value": "info.password" }, { "context": " username: info.account\n ...
lib/gitCreatePackage/gitCreatePackage-manager.coffee
yezhiming/atom-chameleon
3
path = require 'path' fs = require 'fs-extra' os = require 'os' uuid = require 'uuid' request = require 'request' _ = require 'underscore' {$, $$} = require 'atom' ProgressView = require '../utils/progress-view' gitApi_create = require '../utils/gitApi_create' Q = require 'q' {github, gogs, gogsApi, gogsProtocol, g...
137801
path = require 'path' fs = require 'fs-extra' os = require 'os' uuid = require 'uuid' request = require 'request' _ = require 'underscore' {$, $$} = require 'atom' ProgressView = require '../utils/progress-view' gitApi_create = require '../utils/gitApi_create' Q = require 'q' {github, gogs, gogsApi, gogsProtocol, g...
true
path = require 'path' fs = require 'fs-extra' os = require 'os' uuid = require 'uuid' request = require 'request' _ = require 'underscore' {$, $$} = require 'atom' ProgressView = require '../utils/progress-view' gitApi_create = require '../utils/gitApi_create' Q = require 'q' {github, gogs, gogsApi, gogsProtocol, g...
[ { "context": "with properties\", ->\n object = Serenade(name: \"Jonas\")\n expect(object.name).to.eql(\"Jonas\")\n exp", "end": 162, "score": 0.9992635846138, "start": 157, "tag": "NAME", "value": "Jonas" }, { "context": "de(name: \"Jonas\")\n expect(object.name).to.eql(\...
test/serenade.spec.coffee
varvet/serenade.js
5
require './spec_helper' describe "Serenade", -> beforeEach -> @setupDom() it "can decorate an object with properties", -> object = Serenade(name: "Jonas") expect(object.name).to.eql("Jonas") expect(-> object.name = "John").to.triggerEvent(object.name_property) it "can decorate an object which has a...
12301
require './spec_helper' describe "Serenade", -> beforeEach -> @setupDom() it "can decorate an object with properties", -> object = Serenade(name: "<NAME>") expect(object.name).to.eql("<NAME>") expect(-> object.name = "<NAME>").to.triggerEvent(object.name_property) it "can decorate an object which h...
true
require './spec_helper' describe "Serenade", -> beforeEach -> @setupDom() it "can decorate an object with properties", -> object = Serenade(name: "PI:NAME:<NAME>END_PI") expect(object.name).to.eql("PI:NAME:<NAME>END_PI") expect(-> object.name = "PI:NAME:<NAME>END_PI").to.triggerEvent(object.name_prope...
[ { "context": "xports = \n\n\tgroupPlan: (user, licence)->\n\t\tkey : \"join-sub-#{licence.subscription_id}\"\n\t\tcreate: (callback = ->", "end": 165, "score": 0.9954201579093933, "start": 154, "tag": "KEY", "value": "join-sub-#{" }, { "context": "an: (user, licence)->\n\t\tkey : \"j...
app/coffee/Features/Notifications/NotificationsBuilder.coffee
bowlofstew/web-sharelatex
0
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = groupPlan: (user, licence)-> key : "join-sub-#{licence.subscription_id}" create: (callback = ->)-> messageOpts = groupName: licence.name subscription_id: licence.subscription_id logger....
128081
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = groupPlan: (user, licence)-> key : "<KEY>licence.<KEY>_<KEY>}" create: (callback = ->)-> messageOpts = groupName: licence.name subscription_id: licence.subscription_id logger.log user_i...
true
logger = require("logger-sharelatex") NotificationsHandler = require("./NotificationsHandler") module.exports = groupPlan: (user, licence)-> key : "PI:KEY:<KEY>END_PIlicence.PI:KEY:<KEY>END_PI_PI:KEY:<KEY>END_PI}" create: (callback = ->)-> messageOpts = groupName: licence.name subscription_id: licen...
[ { "context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp", "end": 30, "score": 0.999879002571106, "start": 21, "tag": "NAME", "value": "Jeff Mott" } ]
src/sha224.iced
CyberFlameGO/triplesec
274
## ## ## Forked from Jeff Mott's CryptoJS ## ## https://code.google.com/p/crypto-js/ ## {WordArray} = require './wordarray' {SHA256} = require './sha256' #================================================================ class SHA224 extends SHA256 @output_size : 224/8 # in bytes! output_size : SHA224.output_si...
148464
## ## ## Forked from <NAME>'s CryptoJS ## ## https://code.google.com/p/crypto-js/ ## {WordArray} = require './wordarray' {SHA256} = require './sha256' #================================================================ class SHA224 extends SHA256 @output_size : 224/8 # in bytes! output_size : SHA224.output_size ...
true
## ## ## Forked from PI:NAME:<NAME>END_PI's CryptoJS ## ## https://code.google.com/p/crypto-js/ ## {WordArray} = require './wordarray' {SHA256} = require './sha256' #================================================================ class SHA224 extends SHA256 @output_size : 224/8 # in bytes! output_size : SHA22...
[ { "context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n", "end": 43, "score": 0.5137169361114502, "start": 33, "tag": "NAME", "value": "Technology" } ]
community/server/src/main/coffeescript/ribcage/ui/Dropdown.coffee
rebaze/neo4j
1
### Copyright (c) 2002-2013 "Neo Technology," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
117872
### Copyright (c) 2002-2013 "Neo <NAME>," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of th...
true
### Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either v...
[ { "context": "uire 'request'\nsha1 = require 'sha1'\n\nusername = 'napalmtest'\npassword = 'yoloswag360'\n\nchecksumCache = {}\n\nap", "end": 73, "score": 0.9995128512382507, "start": 63, "tag": "USERNAME", "value": "napalmtest" }, { "context": "quire 'sha1'\n\nusername = 'napalmtest...
lib/helpers/github.coffee
cheeselover/napalm
4
request = require 'request' sha1 = require 'sha1' username = 'napalmtest' password = 'yoloswag360' checksumCache = {} api = (url, method, body) -> new Promise (resolve, reject) -> request({ method : method || 'GET' url : 'https://api.github.com' + url body : body || {} json :...
207535
request = require 'request' sha1 = require 'sha1' username = 'napalmtest' password = '<PASSWORD>' checksumCache = {} api = (url, method, body) -> new Promise (resolve, reject) -> request({ method : method || 'GET' url : 'https://api.github.com' + url body : body || {} json : ...
true
request = require 'request' sha1 = require 'sha1' username = 'napalmtest' password = 'PI:PASSWORD:<PASSWORD>END_PI' checksumCache = {} api = (url, method, body) -> new Promise (resolve, reject) -> request({ method : method || 'GET' url : 'https://api.github.com' + url body : body || {...
[ { "context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ", "end": 70, "score": 0.9998466968536377, "start": 57, "tag": "NAME", "value": "Mathieu Ledru" } ]
Common/Bin/Data/coffee/Game/Card.coffee
matyo91/ChinesePuzzle
1
### This file is part of the ChinesePuzzle package. (c) Mathieu Ledru For the full copyright and license information, please view the LICENSE file that was distributed with this source code. ### cpz.Card = cc.Node.extend( _batchNode: null initWithTexture: (tex, capacity) -> @_batchNode = cc.SpriteBatchNode....
161550
### This file is part of the ChinesePuzzle package. (c) <NAME> For the full copyright and license information, please view the LICENSE file that was distributed with this source code. ### cpz.Card = cc.Node.extend( _batchNode: null initWithTexture: (tex, capacity) -> @_batchNode = cc.SpriteBatchNode.create ...
true
### This file is part of the ChinesePuzzle package. (c) PI:NAME:<NAME>END_PI For the full copyright and license information, please view the LICENSE file that was distributed with this source code. ### cpz.Card = cc.Node.extend( _batchNode: null initWithTexture: (tex, capacity) -> @_batchNode = cc.SpriteBat...
[ { "context": " memo: {}\n load: 'load'\n name: 'name'\n reduce: 'reduce'\n\n context 'with memo", "end": 2139, "score": 0.5036466121673584, "start": 2135, "tag": "NAME", "value": "name" }, { "context": " memo: {}\n load: 'load'\n name: 'n...
test/unit/file-manifest.coffee
mantacode/file-manifest
1
sinon = require 'sinon' describe 'file-manifest', -> Given -> @loaders = banana: sinon.stub() Given -> @loaders.banana.withArgs('absolute', 'cb').returns 'loaded' Given -> @reducers = banana: sinon.stub() Given -> @reducers.banana.withArgs('manifest', 'file', 'next').returns 'reduced' Given -> @subje...
75506
sinon = require 'sinon' describe 'file-manifest', -> Given -> @loaders = banana: sinon.stub() Given -> @loaders.banana.withArgs('absolute', 'cb').returns 'loaded' Given -> @reducers = banana: sinon.stub() Given -> @reducers.banana.withArgs('manifest', 'file', 'next').returns 'reduced' Given -> @subje...
true
sinon = require 'sinon' describe 'file-manifest', -> Given -> @loaders = banana: sinon.stub() Given -> @loaders.banana.withArgs('absolute', 'cb').returns 'loaded' Given -> @reducers = banana: sinon.stub() Given -> @reducers.banana.withArgs('manifest', 'file', 'next').returns 'reduced' Given -> @subje...
[ { "context": " it 'create', (done) ->\n User.create [{name: 'Matteo'}, {name: 'Antonio'}], (err, user) ->\n shoul", "end": 864, "score": 0.9975388050079346, "start": 858, "tag": "NAME", "value": "Matteo" }, { "context": "ne) ->\n User.create [{name: 'Matteo'}, {name: 'Ant...
test/crud/edge.test.coffee
wavepointcode/loopback-connector-arangodb
0
## This test written in mocha+should.js should = require('./../init'); describe 'crud edge:', () -> db = null User = null Friend = null before (done) -> db = getDataSource() User = db.define('User', { name: {type: String} email: {type: String}, age: Number, fullId: {type: Strin...
80612
## This test written in mocha+should.js should = require('./../init'); describe 'crud edge:', () -> db = null User = null Friend = null before (done) -> db = getDataSource() User = db.define('User', { name: {type: String} email: {type: String}, age: Number, fullId: {type: Strin...
true
## This test written in mocha+should.js should = require('./../init'); describe 'crud edge:', () -> db = null User = null Friend = null before (done) -> db = getDataSource() User = db.define('User', { name: {type: String} email: {type: String}, age: Number, fullId: {type: Strin...
[ { "context": "ssLicenseNumber': @licenseNumber\n 'UserId': @userId\n 'Password': @password\n\n trackRequest =", "end": 573, "score": 0.5718258619308472, "start": 566, "tag": "USERNAME", "value": "@userId" }, { "context": "er\n 'UserId': @userId\n 'Passw...
src/ups.coffee
tom9890/shipit
0
{Builder, Parser} = require 'xml2js' request = require 'request' moment = require 'moment' {titleCase, upperCaseFirst, lowerCase} = require 'change-case' {ShipperClient} = require './shipper' class UpsClient extends ShipperClient constructor: ({@licenseNumber, @userId, @password}, @options) -> super @parser...
1184
{Builder, Parser} = require 'xml2js' request = require 'request' moment = require 'moment' {titleCase, upperCaseFirst, lowerCase} = require 'change-case' {ShipperClient} = require './shipper' class UpsClient extends ShipperClient constructor: ({@licenseNumber, @userId, @password}, @options) -> super @parser...
true
{Builder, Parser} = require 'xml2js' request = require 'request' moment = require 'moment' {titleCase, upperCaseFirst, lowerCase} = require 'change-case' {ShipperClient} = require './shipper' class UpsClient extends ShipperClient constructor: ({@licenseNumber, @userId, @password}, @options) -> super @parser...
[ { "context": "params:\n\t\t\t\t\t\t\t\tBucket: @bucket\n\t\t\t\t\t\t\t\tKey: @key.get()\n\t\t\t\t\t\t\t\tBody: file\n\t\t\t\t\t\t\t\tACL: 'private'\n\t\t\t\t\t", "end": 1602, "score": 0.633991003036499, "start": 1599, "tag": "KEY", "value": "get" }, { "context": "\t\t\t\t\toptions = ...
lib/s3/s3Artifactory.coffee
NiteoSoftware/s3artifactor
3
Q = require 'q' fs = require 'fs' path = require 'path' S = require 'string' s3Key = require path.join(__dirname, 's3Key.js') module.exports = class constructor: (@artifactCollection, @aws, @fs, @region, @bucket, @id) -> if !@artifactCollection? throw 'Must supply an artifactCollection.' if !@aws? throw 'M...
115531
Q = require 'q' fs = require 'fs' path = require 'path' S = require 'string' s3Key = require path.join(__dirname, 's3Key.js') module.exports = class constructor: (@artifactCollection, @aws, @fs, @region, @bucket, @id) -> if !@artifactCollection? throw 'Must supply an artifactCollection.' if !@aws? throw 'M...
true
Q = require 'q' fs = require 'fs' path = require 'path' S = require 'string' s3Key = require path.join(__dirname, 's3Key.js') module.exports = class constructor: (@artifactCollection, @aws, @fs, @region, @bucket, @id) -> if !@artifactCollection? throw 'Must supply an artifactCollection.' if !@aws? throw 'M...
[ { "context": "\n# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed)\n\nfs = require('", "end": 35, "score": 0.9998332858085632, "start": 24, "tag": "NAME", "value": "David Worms" }, { "context": "\n# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed)\...
csv-import/node_modules/csv/test/columns.coffee
codeforamerica/boston-scrapers
1
# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed) fs = require('fs') assert = require('assert') csv = require('csv') module.exports = 'Test columns in true': -> # Note: if true, columns are expected to be in first line csv() .fromPath("#{__dirname}/columns/in_true.in", ...
87362
# Test CSV - Copyright <NAME> <<EMAIL>> (MIT Licensed) fs = require('fs') assert = require('assert') csv = require('csv') module.exports = 'Test columns in true': -> # Note: if true, columns are expected to be in first line csv() .fromPath("#{__dirname}/columns/in_true.in", co...
true
# Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (MIT Licensed) fs = require('fs') assert = require('assert') csv = require('csv') module.exports = 'Test columns in true': -> # Note: if true, columns are expected to be in first line csv() .fromPath("#{__dirname}/column...
[ { "context": "f\n# \"The Art of Computer Programming, Volume 2\" by Donald E. Knuth.\n\n\n\n\nmprime = (n) ->\n return n.isProbablePrime()", "end": 181, "score": 0.9998083710670471, "start": 166, "tag": "NAME", "value": "Donald E. Knuth" } ]
node_modules/algebrite/sources/mprime.coffee
souzamonteiro/maialexa
928
# Bignum prime test (returns 1 if prime, 0 if not) # Uses Algorithm P (probabilistic primality test) from p. 395 of # "The Art of Computer Programming, Volume 2" by Donald E. Knuth. mprime = (n) -> return n.isProbablePrime() #if SELFTEST
170871
# Bignum prime test (returns 1 if prime, 0 if not) # Uses Algorithm P (probabilistic primality test) from p. 395 of # "The Art of Computer Programming, Volume 2" by <NAME>. mprime = (n) -> return n.isProbablePrime() #if SELFTEST
true
# Bignum prime test (returns 1 if prime, 0 if not) # Uses Algorithm P (probabilistic primality test) from p. 395 of # "The Art of Computer Programming, Volume 2" by PI:NAME:<NAME>END_PI. mprime = (n) -> return n.isProbablePrime() #if SELFTEST
[ { "context": " 6 fingered man?'\n req.toastr.warning 'My name is Inigo Montoya. You killed my father, prepare to die!', null, {c", "end": 565, "score": 0.9998902082443237, "start": 552, "tag": "NAME", "value": "Inigo Montoya" } ]
example/index.coffee
kamaln7/express-toastr
4
express = require 'express' flash = require 'connect-flash' session = require 'express-session' cookieParser = require 'cookie-parser' # This is so the latest version is loaded when running the tests # You should use: require 'express-toastr' toastr = require '../' app = express() app.use cookieParser 'secret' app.use...
171003
express = require 'express' flash = require 'connect-flash' session = require 'express-session' cookieParser = require 'cookie-parser' # This is so the latest version is loaded when running the tests # You should use: require 'express-toastr' toastr = require '../' app = express() app.use cookieParser 'secret' app.use...
true
express = require 'express' flash = require 'connect-flash' session = require 'express-session' cookieParser = require 'cookie-parser' # This is so the latest version is loaded when running the tests # You should use: require 'express-toastr' toastr = require '../' app = express() app.use cookieParser 'secret' app.use...
[ { "context": "ic dom-element wrapper\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\nclass Element extends Wrapper\n\n #\n # Basic co", "end": 87, "score": 0.9998887181282043, "start": 70, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
stl/dom/src/element.coffee
lovely-io/lovely.io-stl
2
# # Defines the basic dom-element wrapper # # Copyright (C) 2011-2013 Nikolay Nemshilov # class Element extends Wrapper # # Basic constructor # # @param {String|HTMLElement} tag name or a raw dom-element # @param {Object} new element options # @return {Element} instance # constructor: (element, options...
61667
# # Defines the basic dom-element wrapper # # Copyright (C) 2011-2013 <NAME> # class Element extends Wrapper # # Basic constructor # # @param {String|HTMLElement} tag name or a raw dom-element # @param {Object} new element options # @return {Element} instance # constructor: (element, options)-> # m...
true
# # Defines the basic dom-element wrapper # # Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI # class Element extends Wrapper # # Basic constructor # # @param {String|HTMLElement} tag name or a raw dom-element # @param {Object} new element options # @return {Element} instance # constructor: (element, opti...
[ { "context": "i.com)\n# =============================\n# #### by [Dan Motzenbecker](http://oxism.com)\n# Fold up the DOM like paper.\n", "end": 91, "score": 0.9998658299446106, "start": 75, "tag": "NAME", "value": "Dan Motzenbecker" } ]
oriDomi.coffee
mmontolli/oriDomi
0
# [oriDomi](http://oridomi.com) # ============================= # #### by [Dan Motzenbecker](http://oxism.com) # Fold up the DOM like paper. # `0.1.5` # Copyright 2012, MIT License # Setup # ===== # Enable strict mode in this scope to keep us in line. 'use strict' # Set a reference to the global object within this...
118391
# [oriDomi](http://oridomi.com) # ============================= # #### by [<NAME>](http://oxism.com) # Fold up the DOM like paper. # `0.1.5` # Copyright 2012, MIT License # Setup # ===== # Enable strict mode in this scope to keep us in line. 'use strict' # Set a reference to the global object within this scope. ro...
true
# [oriDomi](http://oridomi.com) # ============================= # #### by [PI:NAME:<NAME>END_PI](http://oxism.com) # Fold up the DOM like paper. # `0.1.5` # Copyright 2012, MIT License # Setup # ===== # Enable strict mode in this scope to keep us in line. 'use strict' # Set a reference to the global object within ...
[ { "context": "ation helpers\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype", "end": 77, "score": 0.9989959001541138, "start": 71, "tag": "USERNAME", "value": "nodize" }, { "context": "://github.com/nodize/nodizecms\n#\n# Copyright 2...
modules/ionize/helpers/helper_authorization.coffee
nodize/nodizecms
32
# # Nodize - authorization helpers # # Nodize CMS # https://github.com/nodize/nodizecms # # Copyright 2012, Hypee # http://hypee.com # # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT # @include = -> #***** #* Displaying current user name if logged in #** @helpers['ion_username'] ...
86599
# # Nodize - authorization helpers # # Nodize CMS # https://github.com/nodize/nodizecms # # Copyright 2012, H<NAME> # http://hypee.com # # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT # @include = -> #***** #* Displaying current user name if logged in #** @helpers['ion_username'...
true
# # Nodize - authorization helpers # # Nodize CMS # https://github.com/nodize/nodizecms # # Copyright 2012, HPI:NAME:<NAME>END_PI # http://hypee.com # # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT # @include = -> #***** #* Displaying current user name if logged in #** @helpers[...
[ { "context": "namoDBClient?\n if Cookie.get(\"password\") is \"hungry for fruit\" or prompt(\"Password:\").toLowerCase() is \"hungry ", "end": 2055, "score": 0.8893232345581055, "start": 2039, "tag": "PASSWORD", "value": "hungry for fruit" }, { "context": "\"hungry for fruit\"\n...
Jackfruit.coffee
Coconut-Data/jackfruit
0
Backbone = require 'backbone' global.$ = require 'jquery' Backbone.$ = $ global.Cookie = require 'js-cookie' global.moment = require 'moment' global._ = require 'underscore' global.PouchDB = require('pouchdb-core') PouchDB .plugin(require 'pouchdb-adapter-http') .plugin(require 'pouchdb-adapter-idb') .plugin(re...
6651
Backbone = require 'backbone' global.$ = require 'jquery' Backbone.$ = $ global.Cookie = require 'js-cookie' global.moment = require 'moment' global._ = require 'underscore' global.PouchDB = require('pouchdb-core') PouchDB .plugin(require 'pouchdb-adapter-http') .plugin(require 'pouchdb-adapter-idb') .plugin(re...
true
Backbone = require 'backbone' global.$ = require 'jquery' Backbone.$ = $ global.Cookie = require 'js-cookie' global.moment = require 'moment' global._ = require 'underscore' global.PouchDB = require('pouchdb-core') PouchDB .plugin(require 'pouchdb-adapter-http') .plugin(require 'pouchdb-adapter-idb') .plugin(re...
[ { "context": ".85,696.58,788.76,889.74,1005.22,1082.89,1200]\n 'Werckmeister III':[0,90.22,192.18,294.14,390.23,498.05,588.27,", "end": 1061, "score": 0.7399304509162903, "start": 1049, "tag": "NAME", "value": "Werckmeister" }, { "context": "8.27,696.09,792.18,888.27,996.09,1092.18,...
src/temper.coffee
jeffreypierce/temper
2
temperaments = 'Equal': [0,100,200,300,400,500,600,700,800,900,1000,1100,1200] 'Pythagorean': [0,113.69,203.91,294.13,407.82,498.04,611.73,701.95,815.64,905.87,996.09,1109.78,120] 'Natural': [0,111.74,203.91,315.64,386.31,498.05,603,702,813.69,884.36,1017.6,1088.27,1200] '1/3 comma Meantone': [0,63.50,189.57,31...
29131
temperaments = 'Equal': [0,100,200,300,400,500,600,700,800,900,1000,1100,1200] 'Pythagorean': [0,113.69,203.91,294.13,407.82,498.04,611.73,701.95,815.64,905.87,996.09,1109.78,120] 'Natural': [0,111.74,203.91,315.64,386.31,498.05,603,702,813.69,884.36,1017.6,1088.27,1200] '1/3 comma Meantone': [0,63.50,189.57,31...
true
temperaments = 'Equal': [0,100,200,300,400,500,600,700,800,900,1000,1100,1200] 'Pythagorean': [0,113.69,203.91,294.13,407.82,498.04,611.73,701.95,815.64,905.87,996.09,1109.78,120] 'Natural': [0,111.74,203.91,315.64,386.31,498.05,603,702,813.69,884.36,1017.6,1088.27,1200] '1/3 comma Meantone': [0,63.50,189.57,31...
[ { "context": " =\n creditCard:\n cardholderName: \"John Smith\"\n number: '4000111111111115'\n e", "end": 251, "score": 0.9997507333755493, "start": 241, "tag": "NAME", "value": "John Smith" }, { "context": "rt.equal(verification.creditCard.cardholde...
spec/integration/braintree/credit_card_verification_gateway_spec.coffee
StreamCo/braintree_node
0
require('../../spec_helper') braintree = specHelper.braintree describe "CreditCardVerificationGateway", -> describe "find", -> it "finds a verification", (done) -> customerParams = creditCard: cardholderName: "John Smith" number: '4000111111111115' expirationDate: '05/...
8941
require('../../spec_helper') braintree = specHelper.braintree describe "CreditCardVerificationGateway", -> describe "find", -> it "finds a verification", (done) -> customerParams = creditCard: cardholderName: "<NAME>" number: '4000111111111115' expirationDate: '05/2014...
true
require('../../spec_helper') braintree = specHelper.braintree describe "CreditCardVerificationGateway", -> describe "find", -> it "finds a verification", (done) -> customerParams = creditCard: cardholderName: "PI:NAME:<NAME>END_PI" number: '4000111111111115' expiration...
[ { "context": "sh(randomLegendaryCardId)\n\t\telse if seasonKey == \"2015/11\" # November season reward\n\t\t\tif rank <= 20\n\t\t\t\t# ", "end": 46780, "score": 0.965303897857666, "start": 46773, "tag": "KEY", "value": "2015/11" }, { "context": "sh(randomLegendaryCardId)\n\t\telse if...
server/lib/data_access/rank.coffee
willroberts/duelyst
5
Promise = require 'bluebird' util = require 'util' Firebase = require 'firebase' glicko2 = require 'glicko2' FirebasePromises = require '../firebase_promises' DuelystFirebase = require '../duelyst_firebase_module' Logger = require '../../../app/common/logger.coffee' colors = require 'colors' moment = require 'moment' ...
144370
Promise = require 'bluebird' util = require 'util' Firebase = require 'firebase' glicko2 = require 'glicko2' FirebasePromises = require '../firebase_promises' DuelystFirebase = require '../duelyst_firebase_module' Logger = require '../../../app/common/logger.coffee' colors = require 'colors' moment = require 'moment' ...
true
Promise = require 'bluebird' util = require 'util' Firebase = require 'firebase' glicko2 = require 'glicko2' FirebasePromises = require '../firebase_promises' DuelystFirebase = require '../duelyst_firebase_module' Logger = require '../../../app/common/logger.coffee' colors = require 'colors' moment = require 'moment' ...
[ { "context": " shasum.update body.password\n body.password = shasum.digest 'hex'\n body.hashFunction = 'SHA-1'\n opts =\n", "end": 1017, "score": 0.9916278719902039, "start": 1004, "tag": "PASSWORD", "value": "shasum.digest" }, { "context": " body.password\n body.passwo...
lib/user_provisioning.coffee
Clever/node-google-admin-sdk
11
GoogleAPIAdminSDK = require "#{__dirname}/google_api_admin_sdk" qs = require 'qs' _ = require 'underscore' dotty = require 'dotty' utils = require "#{__dirname}/utils" sanitize = require 'sanitize-arguments' {Query} = require "#{__dirname}/query.coffee" crypto = require 'crypto' class UserProvisi...
205191
GoogleAPIAdminSDK = require "#{__dirname}/google_api_admin_sdk" qs = require 'qs' _ = require 'underscore' dotty = require 'dotty' utils = require "#{__dirname}/utils" sanitize = require 'sanitize-arguments' {Query} = require "#{__dirname}/query.coffee" crypto = require 'crypto' class UserProvisi...
true
GoogleAPIAdminSDK = require "#{__dirname}/google_api_admin_sdk" qs = require 'qs' _ = require 'underscore' dotty = require 'dotty' utils = require "#{__dirname}/utils" sanitize = require 'sanitize-arguments' {Query} = require "#{__dirname}/query.coffee" crypto = require 'crypto' class UserProvisi...
[ { "context": " limit: 30\n\n thing: 'foo'\n\n q: 'bar'\n\n name: 'Katzdale'\n\n remoteQueryChangeCount: 0\n\n filterJSON: Embe", "end": 408, "score": 0.9997897148132324, "start": 400, "tag": "NAME", "value": "Katzdale" } ]
tests/dummy/app/controllers/hashbound.coffee
realityendshere/ella-burn-ins
1
`import Ember from 'ember'` `import HashBindingsMixin from 'ella-burn-ins/mixins/hash-bindings'` HashboundController = Ember.Controller.extend(HashBindingsMixin, hashBindings: ['filter', 'page', 'remoteQuery'] filterBindings: ['q', 'name'] pageBindings: ['offset', 'limit'] remoteQueryBindings: ['thing', 'pa...
78572
`import Ember from 'ember'` `import HashBindingsMixin from 'ella-burn-ins/mixins/hash-bindings'` HashboundController = Ember.Controller.extend(HashBindingsMixin, hashBindings: ['filter', 'page', 'remoteQuery'] filterBindings: ['q', 'name'] pageBindings: ['offset', 'limit'] remoteQueryBindings: ['thing', 'pa...
true
`import Ember from 'ember'` `import HashBindingsMixin from 'ella-burn-ins/mixins/hash-bindings'` HashboundController = Ember.Controller.extend(HashBindingsMixin, hashBindings: ['filter', 'page', 'remoteQuery'] filterBindings: ['q', 'name'] pageBindings: ['offset', 'limit'] remoteQueryBindings: ['thing', 'pa...
[ { "context": "le the dev tools, because yolo\n konami_keys = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]\n konami_index = 0\n $(document).keydown (e)", "end": 2316, "score": 0.9982996582984924, "start": 2278, "tag": "KEY", "value": "38, 38, 40, 40, 37, 39, 37, 39, 66, 65" } ]
app/index.coffee
rstacruz/springseed
2
require './lib/setup.coffee' Spine = require 'spine' # Node-Webkit. IMPORTANT NOTE: USE WINDOW.REQUIRE shell = window.require('nw.gui').Shell if window.require # Upgrader Upgrader = require('./controllers/upgrader.coffee') # Splitter. Not working in setup for whatever reason. Splitter = require('./lib/splitter.js') ...
102531
require './lib/setup.coffee' Spine = require 'spine' # Node-Webkit. IMPORTANT NOTE: USE WINDOW.REQUIRE shell = window.require('nw.gui').Shell if window.require # Upgrader Upgrader = require('./controllers/upgrader.coffee') # Splitter. Not working in setup for whatever reason. Splitter = require('./lib/splitter.js') ...
true
require './lib/setup.coffee' Spine = require 'spine' # Node-Webkit. IMPORTANT NOTE: USE WINDOW.REQUIRE shell = window.require('nw.gui').Shell if window.require # Upgrader Upgrader = require('./controllers/upgrader.coffee') # Splitter. Not working in setup for whatever reason. Splitter = require('./lib/splitter.js') ...
[ { "context": "escryer.com/grunt-pagespeed\n#\n# Copyright (c) 2013 James Cryer\n# http://www.jamescryer.com\n# Licensed under the ", "end": 98, "score": 0.9998739361763, "start": 87, "tag": "NAME", "value": "James Cryer" } ]
node_modules/grunt-pagespeed/Gruntfile.coffee
arjunskmr/emotcha-
125
# # grunt-pagespeed # http://www.jamescryer.com/grunt-pagespeed # # Copyright (c) 2013 James Cryer # http://www.jamescryer.com # Licensed under the MIT license. # 'use strict' module.exports = (grunt) -> grunt.initConfig pagespeed: options: nokey: true url: "http://developers.google.com" ...
211561
# # grunt-pagespeed # http://www.jamescryer.com/grunt-pagespeed # # Copyright (c) 2013 <NAME> # http://www.jamescryer.com # Licensed under the MIT license. # 'use strict' module.exports = (grunt) -> grunt.initConfig pagespeed: options: nokey: true url: "http://developers.google.com" s...
true
# # grunt-pagespeed # http://www.jamescryer.com/grunt-pagespeed # # Copyright (c) 2013 PI:NAME:<NAME>END_PI # http://www.jamescryer.com # Licensed under the MIT license. # 'use strict' module.exports = (grunt) -> grunt.initConfig pagespeed: options: nokey: true url: "http://developers.googl...
[ { "context": "Util.Oauth(\n key: 'mock00key', secret: 'mock00secret', token: 'mock00token')\n\n describe 'with a GET',", "end": 130, "score": 0.610977053642273, "start": 123, "tag": "KEY", "value": "0secret" }, { "context": "key: 'mock00key', secret: 'mock00secret', token: 'moc...
test/src/fast/util/xhr_test.coffee
expo/dropbox-js
64
describe 'Dropbox.Util.Xhr', -> beforeEach -> @oauth = new Dropbox.Util.Oauth( key: 'mock00key', secret: 'mock00secret', token: 'mock00token') describe 'with a GET', -> beforeEach -> @xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url' it 'initializes correctly', -> expect(@xhr.i...
153336
describe 'Dropbox.Util.Xhr', -> beforeEach -> @oauth = new Dropbox.Util.Oauth( key: 'mock00key', secret: 'mock0<KEY>', token: '<PASSWORD>') describe 'with a GET', -> beforeEach -> @xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url' it 'initializes correctly', -> expect(@xhr.isGe...
true
describe 'Dropbox.Util.Xhr', -> beforeEach -> @oauth = new Dropbox.Util.Oauth( key: 'mock00key', secret: 'mock0PI:KEY:<KEY>END_PI', token: 'PI:PASSWORD:<PASSWORD>END_PI') describe 'with a GET', -> beforeEach -> @xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url' it 'initializes correc...
[ { "context": "ollection from server rendered fields easier.\n# by Erik Schneider\n\n\n########\n# Events\n\n# This even system is taken ", "end": 103, "score": 0.9998394846916199, "start": 89, "tag": "NAME", "value": "Erik Schneider" }, { "context": "I thought of to implement this.\n...
fields.coffee
schneiderik/fields
13
# fields # An attempt at making data collection from server rendered fields easier. # by Erik Schneider ######## # Events # This even system is taken from Backbone.Events and converted to coffeescript. # I needed a way to call and bind to events outside of jQuery and Backbone was the # first thing I thought of to im...
63253
# fields # An attempt at making data collection from server rendered fields easier. # by <NAME> ######## # Events # This even system is taken from Backbone.Events and converted to coffeescript. # I needed a way to call and bind to events outside of jQuery and Backbone was the # first thing I thought of to implement ...
true
# fields # An attempt at making data collection from server rendered fields easier. # by PI:NAME:<NAME>END_PI ######## # Events # This even system is taken from Backbone.Events and converted to coffeescript. # I needed a way to call and bind to events outside of jQuery and Backbone was the # first thing I thought of...
[ { "context": "LeadButton = ->\n {\n first_name: @first_name\n last_name: @last_name\n position: @position", "end": 47, "score": 0.693876326084137, "start": 36, "tag": "NAME", "value": "@first_name" }, { "context": " ->\n {\n first_name: @first_name\n last_name: @last...
src/browser_action/js/lead_button.coffee
hunter-io/browser-extension
10
LeadButton = -> { first_name: @first_name last_name: @last_name position: @position email: @email company: @organization website: window.domain source: "Hunter (Domain Search)" phone_number: @phone_number linkedin_url: @linkedin twitter: @twitter saveButtonListener: (selec...
84225
LeadButton = -> { first_name: <NAME> last_name: <NAME> position: @position email: @email company: @organization website: window.domain source: "<NAME> (Domain Search)" phone_number: @phone_number linkedin_url: @linkedin twitter: @twitter saveButtonListener: (selector) -> ...
true
LeadButton = -> { first_name: PI:NAME:<NAME>END_PI last_name: PI:NAME:<NAME>END_PI position: @position email: @email company: @organization website: window.domain source: "PI:NAME:<NAME>END_PI (Domain Search)" phone_number: @phone_number linkedin_url: @linkedin twitter: @twitte...
[ { "context": "fied location matching a category.\n#\n# Author:\n# Jake Varness, http://github.com/jvarness\n\nyelpv3 = require 'ye", "end": 748, "score": 0.9997928142547607, "start": 736, "tag": "NAME", "value": "Jake Varness" }, { "context": ".\n#\n# Author:\n# Jake Varness, htt...
src/lunchtime.coffee
jvarness/hubot-lunchtime
3
# Description # Enables hubot to suggest places for lunchtime. Powered by Yelp. # # Dependencies: # @"yelpv3": "^1.2.1" # # Configurations: # HUBOT_YELP_APP_ID # HUBOT_YELP_APP_SECRET # HUBOT_YELP_DEFAULT_LOCATION # HUBOT_YELP_DEFAULT_CATEGORY # # Commands: # hubot lunchtime - randomly selects a place to...
158015
# Description # Enables hubot to suggest places for lunchtime. Powered by Yelp. # # Dependencies: # @"yelpv3": "^1.2.1" # # Configurations: # HUBOT_YELP_APP_ID # HUBOT_YELP_APP_SECRET # HUBOT_YELP_DEFAULT_LOCATION # HUBOT_YELP_DEFAULT_CATEGORY # # Commands: # hubot lunchtime - randomly selects a place to...
true
# Description # Enables hubot to suggest places for lunchtime. Powered by Yelp. # # Dependencies: # @"yelpv3": "^1.2.1" # # Configurations: # HUBOT_YELP_APP_ID # HUBOT_YELP_APP_SECRET # HUBOT_YELP_DEFAULT_LOCATION # HUBOT_YELP_DEFAULT_CATEGORY # # Commands: # hubot lunchtime - randomly selects a place to...
[ { "context": "://codepen.io/onedayitwillmake/details/EHDmw\n * by Mario Gonzalez\n###\n\n###\n * Solver for cubic bezier curve with im", "end": 130, "score": 0.9998334050178528, "start": 116, "tag": "NAME", "value": "Mario Gonzalez" } ]
src/UnitBezier.coffee
AriaMinaei/timing-function
7
### * Source: http://stackoverflow.com/a/11697909/607997 * http://codepen.io/onedayitwillmake/details/EHDmw * by Mario Gonzalez ### ### * Solver for cubic bezier curve with implicit control points at (0,0) and (1.0, 1.0) ### module.exports = class UnitBezier constructor: (p1x, p1y, p2x, p2y) -> @set p1x, p1y,...
163205
### * Source: http://stackoverflow.com/a/11697909/607997 * http://codepen.io/onedayitwillmake/details/EHDmw * by <NAME> ### ### * Solver for cubic bezier curve with implicit control points at (0,0) and (1.0, 1.0) ### module.exports = class UnitBezier constructor: (p1x, p1y, p2x, p2y) -> @set p1x, p1y, p2x, p2...
true
### * Source: http://stackoverflow.com/a/11697909/607997 * http://codepen.io/onedayitwillmake/details/EHDmw * by PI:NAME:<NAME>END_PI ### ### * Solver for cubic bezier curve with implicit control points at (0,0) and (1.0, 1.0) ### module.exports = class UnitBezier constructor: (p1x, p1y, p2x, p2y) -> @set p1x...
[ { "context": "ase()\n\t@invkeyTable = ikT\n\tfalse\n\nexp = \n\tname : \"Cesar\"\n\tkeycolumn : 10\n\tinitKeyValues : iKVal\n\tupdateKe", "end": 2887, "score": 0.9993283152580261, "start": 2882, "tag": "NAME", "value": "Cesar" } ]
coffee/rot13.coffee
dingens/Crypto
1
# Experiment 1 clearAllChilds = (id)-> e = document.getElementById id while e.hasChildNodes() e.removeChild e.lastChild e upKForm = () -> keys = Object.keys @keyTable for key in keys e = document.getElementById key e.setAttribute "value",@keyTable[key] false iKVal = () -> keys = Object.keys @keyTable ...
64445
# Experiment 1 clearAllChilds = (id)-> e = document.getElementById id while e.hasChildNodes() e.removeChild e.lastChild e upKForm = () -> keys = Object.keys @keyTable for key in keys e = document.getElementById key e.setAttribute "value",@keyTable[key] false iKVal = () -> keys = Object.keys @keyTable ...
true
# Experiment 1 clearAllChilds = (id)-> e = document.getElementById id while e.hasChildNodes() e.removeChild e.lastChild e upKForm = () -> keys = Object.keys @keyTable for key in keys e = document.getElementById key e.setAttribute "value",@keyTable[key] false iKVal = () -> keys = Object.keys @keyTable ...
[ { "context": "id\":10000002,\n \"username\":\"sapna blesson\",\n \"firstname\":\"sapna\",\n ", "end": 943, "score": 0.9987261891365051, "start": 930, "tag": "USERNAME", "value": "sapna blesson" }, { "context": "na blesson\",\n ...
models/phone_number/fixture/getportedphonenumbers.coffee
signonsridhar/sridhar_hbs
0
define([ 'can_fixture', 'Faker'], (can, Faker, State)-> can.fixture('GET /bss/tenant?action=getportedphonenumbers', (req, res)-> return `{ "response":{ "service":"getportedphonenumbers", "response_code":100, "execution_time":10, "ti...
78426
define([ 'can_fixture', 'Faker'], (can, Faker, State)-> can.fixture('GET /bss/tenant?action=getportedphonenumbers', (req, res)-> return `{ "response":{ "service":"getportedphonenumbers", "response_code":100, "execution_time":10, "ti...
true
define([ 'can_fixture', 'Faker'], (can, Faker, State)-> can.fixture('GET /bss/tenant?action=getportedphonenumbers', (req, res)-> return `{ "response":{ "service":"getportedphonenumbers", "response_code":100, "execution_time":10, "ti...
[ { "context": "rsion 1.0.0\n@file Modal.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://", "end": 138, "score": 0.9998928904533386, "start": 121, "tag": "NAME", "value": "Welington Sampaio" } ]
vendor/assets/javascripts/joker/Modal.coffee
zaeznet/joker-rails
0
### @summary Joker @description Framework of RIAs applications @version 1.0.0 @file Modal.js @author Welington Sampaio (http://welington.zaez.net/) @contact http://jokerjs.zaez.net/contato @copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved. This source file is free soft...
199365
### @summary Joker @description Framework of RIAs applications @version 1.0.0 @file Modal.js @author <NAME> (http://welington.zaez.net/) @contact http://jokerjs.zaez.net/contato @copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved. This source file is free software, under...
true
### @summary Joker @description Framework of RIAs applications @version 1.0.0 @file Modal.js @author PI:NAME:<NAME>END_PI (http://welington.zaez.net/) @contact http://jokerjs.zaez.net/contato @copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved. This source file is free s...
[ { "context": "ser,pass) ->\n user is 'hello' and pass is 'world'\n\n authenticator = @wrap ->\n credenti", "end": 2828, "score": 0.9919514060020447, "start": 2823, "tag": "PASSWORD", "value": "world" } ]
tests/middleware.coffee
zappajs/zappajs
50
zappa = require '../src/zappa' port = 15500 @tests = 'vanilla express API': (t) -> t.expect 'static', 'response time' t.wait 3000 zapp = zappa port++, -> @app.use @express.static(__dirname + '/public') @app.use (require 'response-time')() c = t.client(zapp.server) c.get '/foo.txt', ...
190436
zappa = require '../src/zappa' port = 15500 @tests = 'vanilla express API': (t) -> t.expect 'static', 'response time' t.wait 3000 zapp = zappa port++, -> @app.use @express.static(__dirname + '/public') @app.use (require 'response-time')() c = t.client(zapp.server) c.get '/foo.txt', ...
true
zappa = require '../src/zappa' port = 15500 @tests = 'vanilla express API': (t) -> t.expect 'static', 'response time' t.wait 3000 zapp = zappa port++, -> @app.use @express.static(__dirname + '/public') @app.use (require 'response-time')() c = t.client(zapp.server) c.get '/foo.txt', ...
[ { "context": "sport.use(new LocalStrategy({\n usernameField: 'user',\n passwordField: 'pass',\n passReqToCallbac", "end": 633, "score": 0.9777032136917114, "start": 629, "tag": "USERNAME", "value": "user" }, { "context": "({\n usernameField: 'user',\n passwordField: 'p...
routes/api_routes/oauth2.coffee
motorlatitude/MotorBot
4
express = require 'express' router = express.Router() passport = require 'passport' session = require('express-session') LocalStrategy = require('passport-local').Strategy crypto = require('crypto') uuid = require 'node-uuid' ### OAUTH 2.0 https://motorbot.io/api/oauth2/ ### passport.serializeUser((user, done) ->...
152344
express = require 'express' router = express.Router() passport = require 'passport' session = require('express-session') LocalStrategy = require('passport-local').Strategy crypto = require('crypto') uuid = require 'node-uuid' ### OAUTH 2.0 https://motorbot.io/api/oauth2/ ### passport.serializeUser((user, done) ->...
true
express = require 'express' router = express.Router() passport = require 'passport' session = require('express-session') LocalStrategy = require('passport-local').Strategy crypto = require('crypto') uuid = require 'node-uuid' ### OAUTH 2.0 https://motorbot.io/api/oauth2/ ### passport.serializeUser((user, done) ->...
[ { "context": "t', ->\n expect(utils.toJson('{\"id\":1,\"name\":\"John\"}')).toBeNonEmptyObject()\n\n it 'works for json", "end": 167, "score": 0.9998639822006226, "start": 163, "tag": "NAME", "value": "John" }, { "context": "quotes', ->\n obj = utils.toJson('{id:1,name:\...
spec/utils_spec.coffee
craigerm/jeep-cli
0
utils = require '../src/utils' describe 'utils', -> describe '#toJson', -> it 'works for valid json input', -> expect(utils.toJson('{"id":1,"name":"John"}')).toBeNonEmptyObject() it 'works for json that is missing quotes', -> obj = utils.toJson('{id:1,name:"Steve"}') expect(obj).toBeNonE...
71438
utils = require '../src/utils' describe 'utils', -> describe '#toJson', -> it 'works for valid json input', -> expect(utils.toJson('{"id":1,"name":"<NAME>"}')).toBeNonEmptyObject() it 'works for json that is missing quotes', -> obj = utils.toJson('{id:1,name:"<NAME>"}') expect(obj).toBeN...
true
utils = require '../src/utils' describe 'utils', -> describe '#toJson', -> it 'works for valid json input', -> expect(utils.toJson('{"id":1,"name":"PI:NAME:<NAME>END_PI"}')).toBeNonEmptyObject() it 'works for json that is missing quotes', -> obj = utils.toJson('{id:1,name:"PI:NAME:<NAME>END_PI...
[ { "context": "lse \"匿名\"\n username: body.username\n password: md5Util.md5(body.password)\n token: ''\n expiredTime: Date", "end": 787, "score": 0.9437580108642578, "start": 776, "tag": "PASSWORD", "value": "md5Util.md5" }, { "context": "name: body.username\n password:...
bizs/userBiz.coffee
leftjs/simple_uphall_api
0
jwt = require('jsonwebtoken') db = require('./../libs/db') config = require('./../config/config') md5Util = require('./../utils/md5Util') Utils = require './../utils/Utils' commonBiz = require './commonBiz' _ = require('underscore') # 验证用户是否存在 validateUserExist = (req,res,next) -> # console.log(req.body) body ...
72548
jwt = require('jsonwebtoken') db = require('./../libs/db') config = require('./../config/config') md5Util = require('./../utils/md5Util') Utils = require './../utils/Utils' commonBiz = require './commonBiz' _ = require('underscore') # 验证用户是否存在 validateUserExist = (req,res,next) -> # console.log(req.body) body ...
true
jwt = require('jsonwebtoken') db = require('./../libs/db') config = require('./../config/config') md5Util = require('./../utils/md5Util') Utils = require './../utils/Utils' commonBiz = require './commonBiz' _ = require('underscore') # 验证用户是否存在 validateUserExist = (req,res,next) -> # console.log(req.body) body ...
[ { "context": "\"emailAddress\").attr(\"name\", \"emailAddress\").val(\"user1@demo.com\")\n loginForm.append $(\"<input>\").attr(\"id\", \"pas", "end": 589, "score": 0.9999117851257324, "start": 575, "tag": "EMAIL", "value": "user1@demo.com" }, { "context": "\"name\", \"password\").a...
app/assets/javascripts/index.coffee
jamesward/play-rest-security
268
$ -> init() init = () -> # try to get an auth token document.cookie.split('; ').forEach (cookieString) -> cookie = cookieString.split("=") if ((cookie.length == 2) && (cookie[0] == "authToken")) window.authToken = cookie[1] if (window.authToken == undefined) displayLoginForm() else ...
212941
$ -> init() init = () -> # try to get an auth token document.cookie.split('; ').forEach (cookieString) -> cookie = cookieString.split("=") if ((cookie.length == 2) && (cookie[0] == "authToken")) window.authToken = cookie[1] if (window.authToken == undefined) displayLoginForm() else ...
true
$ -> init() init = () -> # try to get an auth token document.cookie.split('; ').forEach (cookieString) -> cookie = cookieString.split("=") if ((cookie.length == 2) && (cookie[0] == "authToken")) window.authToken = cookie[1] if (window.authToken == undefined) displayLoginForm() else ...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999135136604309, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/mp-history/game.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { GameHeader } from './game-header' import { Score } from './score' import * as React from 'react' import { div, span } from 'react-dom-fa...
93807
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { GameHeader } from './game-header' import { Score } from './score' import * as React from 'react' import { div, span } from 'react-dom-factories...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { GameHeader } from './game-header' import { Score } from './score' import * as React from 'react' import { div, span } from 'reac...
[ { "context": " username, password, domain }) ->\n @_username = username\n @_password = password\n @_domain = domain\n ", "end": 214, "score": 0.9988394379615784, "start": 206, "tag": "USERNAME", "value": "username" }, { "context": "n }) ->\n @_username = username\n @_p...
src/index.coffee
bouzuya/cars-counter-hatena-blog-accesslog
0
{ Promise } = require 'es6-promise' cheerio = require 'cheerio' fetch = require 'node-fetch' FormData = require 'form-data' class Client constructor: ({ username, password, domain }) -> @_username = username @_password = password @_domain = domain @_cookies = null fetch: -> @_headers() ....
80836
{ Promise } = require 'es6-promise' cheerio = require 'cheerio' fetch = require 'node-fetch' FormData = require 'form-data' class Client constructor: ({ username, password, domain }) -> @_username = username @_password = <PASSWORD> @_domain = domain @_cookies = null fetch: -> @_headers() ...
true
{ Promise } = require 'es6-promise' cheerio = require 'cheerio' fetch = require 'node-fetch' FormData = require 'form-data' class Client constructor: ({ username, password, domain }) -> @_username = username @_password = PI:PASSWORD:<PASSWORD>END_PI @_domain = domain @_cookies = null fetch: -> ...
[ { "context": "t = 'average'} = options\n\ntim = new Person name: 'Tim', age: 4\n", "end": 118, "score": 0.9995782375335693, "start": 115, "tag": "NAME", "value": "Tim" } ]
documentation/examples/constructor_destructuring.coffee
Trott/coffeescript
8,728
class Person constructor: (options) -> {@name, @age, @height = 'average'} = options tim = new Person name: 'Tim', age: 4
121782
class Person constructor: (options) -> {@name, @age, @height = 'average'} = options tim = new Person name: '<NAME>', age: 4
true
class Person constructor: (options) -> {@name, @age, @height = 'average'} = options tim = new Person name: 'PI:NAME:<NAME>END_PI', age: 4
[ { "context": "{tok};\"\n\n setup ->\n headers = {}\n token = 'dc2ad13d5b8da5bbca2a5c7061a4e07a393593c6'\n auth = new AuthMiddleware mockDoc(token)\n\n ", "end": 286, "score": 0.8976705074310303, "start": 246, "tag": "KEY", "value": "dc2ad13d5b8da5bbca2a5c7061a4e07a393593c6" } ]
wzk/net/AuthMiddleware_test.coffee
vojtatranta/werkzeug
1
suite 'wzk.net.AuthMiddleware', -> AuthMiddleware = wzk.net.AuthMiddleware auth = null token = null headers = null mockDoc = (tok) -> cookie: "#{AuthMiddleware.HEADER.AUTH}=#{tok};" setup -> headers = {} token = 'dc2ad13d5b8da5bbca2a5c7061a4e07a393593c6' auth = new AuthMiddleware mo...
127569
suite 'wzk.net.AuthMiddleware', -> AuthMiddleware = wzk.net.AuthMiddleware auth = null token = null headers = null mockDoc = (tok) -> cookie: "#{AuthMiddleware.HEADER.AUTH}=#{tok};" setup -> headers = {} token = '<KEY>' auth = new AuthMiddleware mockDoc(token) test 'Should set Au...
true
suite 'wzk.net.AuthMiddleware', -> AuthMiddleware = wzk.net.AuthMiddleware auth = null token = null headers = null mockDoc = (tok) -> cookie: "#{AuthMiddleware.HEADER.AUTH}=#{tok};" setup -> headers = {} token = 'PI:KEY:<KEY>END_PI' auth = new AuthMiddleware mockDoc(token) test '...
[ { "context": " }\n\n\n it \"deepClone()\", ->\n ob = {name:\"hi\"}\n ob2 = @Utils.deepClone(ob)\n expect(o", "end": 915, "score": 0.8678091168403625, "start": 913, "tag": "NAME", "value": "hi" } ]
test/legacy/utils/UtilsSpec.coffee
adhityan/spur-common
0
describe "Original", -> describe "Utils", -> beforeEach -> injector().inject (@Utils, @Promise, @path)=> it "prop()", -> ob = {k:"v"} fn = @Utils.prop("k") expect(fn(ob)).to.equal "v" it "extendWith", -> obToExtend = {a:"a"} obToExtendWith = {b:"b"} fn = @Util...
123438
describe "Original", -> describe "Utils", -> beforeEach -> injector().inject (@Utils, @Promise, @path)=> it "prop()", -> ob = {k:"v"} fn = @Utils.prop("k") expect(fn(ob)).to.equal "v" it "extendWith", -> obToExtend = {a:"a"} obToExtendWith = {b:"b"} fn = @Util...
true
describe "Original", -> describe "Utils", -> beforeEach -> injector().inject (@Utils, @Promise, @path)=> it "prop()", -> ob = {k:"v"} fn = @Utils.prop("k") expect(fn(ob)).to.equal "v" it "extendWith", -> obToExtend = {a:"a"} obToExtendWith = {b:"b"} fn = @Util...
[ { "context": "rary\" : {\n \"identifier\" : {\n \"id\" : \"TestSnippet\",\n \"version\" : \"1\"\n },\n ", "end": 1193, "score": 0.6562883257865906, "start": 1189, "tag": "NAME", "value": "Test" }, { "context": "\" : {\n \"identifier\" : {\n ...
Src/coffeescript/cql-execution/test/elm/comparison/data.coffee
MeasureAuthoringTool/clinical_quality_language
2
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.coffee to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Equal library TestSnippet version '1' using QUICK context Patient define AGtB_Int: 5 = 4 define AEqB_Int: 5 =...
132787
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.coffee to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Equal library TestSnippet version '1' using QUICK context Patient define AGtB_Int: 5 = 4 define AEqB_Int: 5 =...
true
### WARNING: This is a GENERATED file. Do not manually edit! To generate this file: - Edit data.coffee to add a CQL Snippet - From java dir: ./gradlew :cql-to-elm:generateTestData ### ### Equal library TestSnippet version '1' using QUICK context Patient define AGtB_Int: 5 = 4 define AEqB_Int: 5 =...
[ { "context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s", "end": 61, "score": 0.999836266040802, "start": 48, "tag": "NAME", "value": "Stephan Jorek" } ]
src/Ordered/RuleMap.coffee
sjorek/goatee-rules.js
0
### ^ BSD 3-Clause License Copyright (c) 2017, Stephan Jorek All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of cond...
207071
### ^ BSD 3-Clause License Copyright (c) 2017, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions ...
true
### ^ BSD 3-Clause License Copyright (c) 2017, PI:NAME:<NAME>END_PI All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list ...
[ { "context": "ion', ->\n @timeout 500000\n\t\n user = \n name: 'user'\n email: 'user@abc.com'\n files = [\n '/usr/", "end": 115, "score": 0.9987172484397888, "start": 111, "tag": "USERNAME", "value": "user" }, { "context": "t 500000\n\t\n user = \n name: 'user'\n e...
test/unit/0-model/2-Permission.coffee
twhtanghk/restfile
0
_ = require 'lodash' path = require 'path' describe 'Permission', -> @timeout 500000 user = name: 'user' email: 'user@abc.com' files = [ '/usr/src/app/LICENSE' '/usr/src/app/README.md' '/usr/src/app/Dockerfile' '/usr/src/app/package.json' '/usr/src/app/app.js' ] it "check root...
213157
_ = require 'lodash' path = require 'path' describe 'Permission', -> @timeout 500000 user = name: 'user' email: '<EMAIL>' files = [ '/usr/src/app/LICENSE' '/usr/src/app/README.md' '/usr/src/app/Dockerfile' '/usr/src/app/package.json' '/usr/src/app/app.js' ] it "check root perm...
true
_ = require 'lodash' path = require 'path' describe 'Permission', -> @timeout 500000 user = name: 'user' email: 'PI:EMAIL:<EMAIL>END_PI' files = [ '/usr/src/app/LICENSE' '/usr/src/app/README.md' '/usr/src/app/Dockerfile' '/usr/src/app/package.json' '/usr/src/app/app.js' ] it "...
[ { "context": "s.certPEM)\n @CAkeys = {\n privateKey: pki.privateKeyFromPem(results.keyPrivatePEM)\n ", "end": 3485, "score": 0.642910361289978, "start": 3483, "tag": "KEY", "value": "ki" } ]
packages/https-proxy/lib/ca.coffee
Everworks/cypress
3
_ = require("lodash") fs = require("fs-extra") path = require("path") Forge = require("node-forge") Promise = require("bluebird") fs = Promise.promisifyAll(fs) pki = Forge.pki generateKeyPairAsync = Promise.promisify(pki.rsa.generateKeyPair) ipAddressRe = /^[\d\.]+$/ asterisksRe = /\*/g CAattrs =...
127701
_ = require("lodash") fs = require("fs-extra") path = require("path") Forge = require("node-forge") Promise = require("bluebird") fs = Promise.promisifyAll(fs) pki = Forge.pki generateKeyPairAsync = Promise.promisify(pki.rsa.generateKeyPair) ipAddressRe = /^[\d\.]+$/ asterisksRe = /\*/g CAattrs =...
true
_ = require("lodash") fs = require("fs-extra") path = require("path") Forge = require("node-forge") Promise = require("bluebird") fs = Promise.promisifyAll(fs) pki = Forge.pki generateKeyPairAsync = Promise.promisify(pki.rsa.generateKeyPair) ipAddressRe = /^[\d\.]+$/ asterisksRe = /\*/g CAattrs =...
[ { "context": "nds AppController\n\n @options =\n name : 'Account'\n background : yes\n\n\n kodingDangerItems = [ {", "end": 1016, "score": 0.9657133221626282, "start": 1009, "tag": "NAME", "value": "Account" } ]
client/account/lib/index.coffee
ezgikaysi/koding
1
kd = require 'kd' KDView = kd.View remote = require('app/remote').getInstance() whoami = require 'app/util/whoami' Encoder = require 'htmlencode' isKoding = require 'app/util/isKoding' KDTabView = kd.TabView checkFlag...
102923
kd = require 'kd' KDView = kd.View remote = require('app/remote').getInstance() whoami = require 'app/util/whoami' Encoder = require 'htmlencode' isKoding = require 'app/util/isKoding' KDTabView = kd.TabView checkFlag...
true
kd = require 'kd' KDView = kd.View remote = require('app/remote').getInstance() whoami = require 'app/util/whoami' Encoder = require 'htmlencode' isKoding = require 'app/util/isKoding' KDTabView = kd.TabView checkFlag...
[ { "context": "should extract the name', ->\n expectedValue = 'John Smith'\n sut = new ContactParser\n result = sut.par", "end": 165, "score": 0.9998406171798706, "start": 155, "tag": "NAME", "value": "John Smith" }, { "context": " sut = new ContactParser\n result = sut.p...
spec/contact-parser-spec.coffee
markstos/contact-parser
0
describe 'Contact Parser', -> ContactParser = require(__dirname + '/../src/contact-parser.js') it 'should extract the name', -> expectedValue = 'John Smith' sut = new ContactParser result = sut.parse('John Smith, 121 John St., Toronto, Ontario') expect(result.name).toEqual(expectedValue) it 'sh...
201049
describe 'Contact Parser', -> ContactParser = require(__dirname + '/../src/contact-parser.js') it 'should extract the name', -> expectedValue = '<NAME>' sut = new ContactParser result = sut.parse('<NAME>, 121 John St., Toronto, Ontario') expect(result.name).toEqual(expectedValue) it 'should ext...
true
describe 'Contact Parser', -> ContactParser = require(__dirname + '/../src/contact-parser.js') it 'should extract the name', -> expectedValue = 'PI:NAME:<NAME>END_PI' sut = new ContactParser result = sut.parse('PI:NAME:<NAME>END_PI, 121 John St., Toronto, Ontario') expect(result.name).toEqual(expe...
[ { "context": "do_dig_verificador: '7'\n favorecido_nome: 'Chuck Norris'\n doc_num: '153'\n data_lcto_credito", "end": 1006, "score": 0.9998694658279419, "start": 994, "tag": "NAME", "value": "Chuck Norris" }, { "context": "do_dig_verificador: '7'\n favorec...
coffee/cnab/test/Example.coffee
s2way/cnab240-nodejs
10
params = ArquivoHeader: empresa_inscricao_tipo: '2' empresa_inscricao_num: '09999999000101' convenio: '456789' empresa_nome: 'Versul Tecnologias Ltda' nome_banco: 'HSBC' arquivo_data_geracao: '29082016' arquivo_hora_geracao: '085600' arquivo_sequencia:...
159601
params = ArquivoHeader: empresa_inscricao_tipo: '2' empresa_inscricao_num: '09999999000101' convenio: '456789' empresa_nome: 'Versul Tecnologias Ltda' nome_banco: 'HSBC' arquivo_data_geracao: '29082016' arquivo_hora_geracao: '085600' arquivo_sequencia:...
true
params = ArquivoHeader: empresa_inscricao_tipo: '2' empresa_inscricao_num: '09999999000101' convenio: '456789' empresa_nome: 'Versul Tecnologias Ltda' nome_banco: 'HSBC' arquivo_data_geracao: '29082016' arquivo_hora_geracao: '085600' arquivo_sequencia:...
[ { "context": "sions handling methods\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nElement.include\n #\n # Element's size manipula", "end": 87, "score": 0.999890923500061, "start": 70, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
stl/dom/src/element/dimensions.coffee
lovely-io/lovely.io-stl
2
# # Element's dimensions handling methods # # Copyright (C) 2011-2012 Nikolay Nemshilov # Element.include # # Element's size manipulation method. Handles both # setting and getting # # :js # element.size() // -> x: NNN, y: NNN # element.size(x:NNN, y:NNN) // -> element self # ...
215653
# # Element's dimensions handling methods # # Copyright (C) 2011-2012 <NAME> # Element.include # # Element's size manipulation method. Handles both # setting and getting # # :js # element.size() // -> x: NNN, y: NNN # element.size(x:NNN, y:NNN) // -> element self # element.si...
true
# # Element's dimensions handling methods # # Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI # Element.include # # Element's size manipulation method. Handles both # setting and getting # # :js # element.size() // -> x: NNN, y: NNN # element.size(x:NNN, y:NNN) // -> element self # ...
[ { "context": "[\n {\n uuid: 'hello'\n hashedToken: 'this-is-something-awesome'\n metadata:\n createdAt: 'Tue Jul 05 2001 ", "end": 67, "score": 0.998497486114502, "start": 42, "tag": "PASSWORD", "value": "this-is-something-awesome" }, { "context": "MST)'\n }\n {\n ...
test/migrations/remove-expired-tokens/assets/expired-tokens.cson
octoblu/meshblu-core-migrations
0
[ { uuid: 'hello' hashedToken: 'this-is-something-awesome' metadata: createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)' } { uuid: 'hello' hashedToken: 'this-is-kinda-awesome' metadata: createdAt: 'Tue Jul 05 2016 23:13:19 GMT-0700 (MST)' tag: 'greeting' } { uuid...
160718
[ { uuid: 'hello' hashedToken: '<PASSWORD>' metadata: createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)' } { uuid: 'hello' hashedToken: '<PASSWORD>' metadata: createdAt: 'Tue Jul 05 2016 23:13:19 GMT-0700 (MST)' tag: 'greeting' } { uuid: 'oh-boy' hashedToken...
true
[ { uuid: 'hello' hashedToken: 'PI:PASSWORD:<PASSWORD>END_PI' metadata: createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)' } { uuid: 'hello' hashedToken: 'PI:PASSWORD:<PASSWORD>END_PI' metadata: createdAt: 'Tue Jul 05 2016 23:13:19 GMT-0700 (MST)' tag: 'greeting' } ...
[ { "context": "del'\n{argv} = require 'yargs'\n\nproject =\n name: 'Heron'\n src: 'assets'\n dest: 'static'\nstyles =\n name", "end": 306, "score": 0.999049186706543, "start": 301, "tag": "NAME", "value": "Heron" }, { "context": "browserSync\n port: argv.port + 100\n proxy: ...
gulpfile.coffee
shonenada-archives/heron
0
gulp = require 'gulp' browserSync = require 'browser-sync' stylus = require 'gulp-stylus' coffee = require 'gulp-coffee' plumber = require 'gulp-plumber' uglify = require 'gulp-uglify' rename = require 'gulp-rename' nib = require 'nib' del = require 'del' {argv} = require 'yargs' project = name: 'Heron' src: 'asse...
180432
gulp = require 'gulp' browserSync = require 'browser-sync' stylus = require 'gulp-stylus' coffee = require 'gulp-coffee' plumber = require 'gulp-plumber' uglify = require 'gulp-uglify' rename = require 'gulp-rename' nib = require 'nib' del = require 'del' {argv} = require 'yargs' project = name: '<NAME>' src: 'ass...
true
gulp = require 'gulp' browserSync = require 'browser-sync' stylus = require 'gulp-stylus' coffee = require 'gulp-coffee' plumber = require 'gulp-plumber' uglify = require 'gulp-uglify' rename = require 'gulp-rename' nib = require 'nib' del = require 'del' {argv} = require 'yargs' project = name: 'PI:NAME:<NAME>END_P...
[ { "context": "is implementation\n ###\n \n defaults:\n host: '127.0.0.1'\n port: 6379\n auth:\n password: null\n ", "end": 1346, "score": 0.9997426271438599, "start": 1337, "tag": "IP_ADDRESS", "value": "127.0.0.1" }, { "context": "27.0.0.1'\n port: 6379\n aut...
lib/kckupmq.coffee
MusicKickup/kckupmq
1
### # MKS Kckup-MQ library # This library can handle MessaQueues with different backends. ### EventEmitter = require("events").EventEmitter _ = require('underscore')._ uuid = require('node-uuid') async = require('async') util = require('util') class KckupMQ extends EventEmitter ### Base MQ class. This class d...
18760
### # MKS Kckup-MQ library # This library can handle MessaQueues with different backends. ### EventEmitter = require("events").EventEmitter _ = require('underscore')._ uuid = require('node-uuid') async = require('async') util = require('util') class KckupMQ extends EventEmitter ### Base MQ class. This class d...
true
### # MKS Kckup-MQ library # This library can handle MessaQueues with different backends. ### EventEmitter = require("events").EventEmitter _ = require('underscore')._ uuid = require('node-uuid') async = require('async') util = require('util') class KckupMQ extends EventEmitter ### Base MQ class. This class d...
[ { "context": "et = (target._hearsay_subscriptions ?= {})\n key = uniqueKey()\n observationSet[key] = unsubscribe\n return", "end": 321, "score": 0.8637223839759827, "start": 315, "tag": "KEY", "value": "unique" } ]
src/mixin.coffee
trello/hearsay
5
uniqueKey = require './utils/uniqueKey' watch = require './watch' subscribeChanges = require './methods/subscribe-changes' Slot = require './slot' hasProp = (obj, prop) -> Object.hasOwnProperty.call(obj, prop) remember = (target, unsubscribe) -> observationSet = (target._hearsay_subscriptions ?= {}) key = uniqu...
185085
uniqueKey = require './utils/uniqueKey' watch = require './watch' subscribeChanges = require './methods/subscribe-changes' Slot = require './slot' hasProp = (obj, prop) -> Object.hasOwnProperty.call(obj, prop) remember = (target, unsubscribe) -> observationSet = (target._hearsay_subscriptions ?= {}) key = <KEY>...
true
uniqueKey = require './utils/uniqueKey' watch = require './watch' subscribeChanges = require './methods/subscribe-changes' Slot = require './slot' hasProp = (obj, prop) -> Object.hasOwnProperty.call(obj, prop) remember = (target, unsubscribe) -> observationSet = (target._hearsay_subscriptions ?= {}) key = PI:KE...
[ { "context": " for key, app of x\n <Product key=app.name name=app.name version=app.version img=app.img def", "end": 6624, "score": 0.5491054058074951, "start": 6620, "tag": "KEY", "value": "name" } ]
imports/ui/appstore.cjsx
ICTU/docker-dashboard
33
{ Meteor } = require 'meteor/meteor' React = require 'react' Helpers = require '../helpers.coffee' productStyle = width: '19%' height: '230px' float: 'left' overflow: 'hidden' margin: '5px' border: '1px solid lightgrey' borderRadius: 2 boxShadow: '0 2px 4px rgba(0,0,0...
15776
{ Meteor } = require 'meteor/meteor' React = require 'react' Helpers = require '../helpers.coffee' productStyle = width: '19%' height: '230px' float: 'left' overflow: 'hidden' margin: '5px' border: '1px solid lightgrey' borderRadius: 2 boxShadow: '0 2px 4px rgba(0,0,0...
true
{ Meteor } = require 'meteor/meteor' React = require 'react' Helpers = require '../helpers.coffee' productStyle = width: '19%' height: '230px' float: 'left' overflow: 'hidden' margin: '5px' border: '1px solid lightgrey' borderRadius: 2 boxShadow: '0 2px 4px rgba(0,0,0...
[ { "context": "images inside the editable for Hallo\n# (c) 2013 Christian Grobmeier, http://www.grobmeier.de\n# This plugin may be ", "end": 95, "score": 0.9998367428779602, "start": 76, "tag": "NAME", "value": "Christian Grobmeier" } ]
src/plugins/image_float.coffee
grobmeier/hallo
1
# Plugin to work with images inside the editable for Hallo # (c) 2013 Christian Grobmeier, http://www.grobmeier.de # This plugin may be freely distributed under the MIT license # # Depends on: hallo-image-select ((jQuery) -> jQuery.widget "IKS.hallo-image-float", options: editable: null to...
95130
# Plugin to work with images inside the editable for Hallo # (c) 2013 <NAME>, http://www.grobmeier.de # This plugin may be freely distributed under the MIT license # # Depends on: hallo-image-select ((jQuery) -> jQuery.widget "IKS.hallo-image-float", options: editable: null toolbar: null ...
true
# Plugin to work with images inside the editable for Hallo # (c) 2013 PI:NAME:<NAME>END_PI, http://www.grobmeier.de # This plugin may be freely distributed under the MIT license # # Depends on: hallo-image-select ((jQuery) -> jQuery.widget "IKS.hallo-image-float", options: editable: null t...
[ { "context": "\n \n @_userNameField = options.userNameField or 'username'\n @_passwordField = options.passwordField or 'pa", "end": 324, "score": 0.999366819858551, "start": 316, "tag": "USERNAME", "value": "username" }, { "context": "me'\n @_passwordField = options.passwordField...
server/authentication/strategies/basic.coffee
valueflowquality/gi-security-update
0
passport = require 'passport' util = require 'util' crypto = require 'crypto' Strategy = (options, verify) -> if (typeof options == 'function') verify = options options = {} if not verify throw new Error('basic strategy requires a verify function') @_userNameField = options.userNameField or 'user...
186117
passport = require 'passport' util = require 'util' crypto = require 'crypto' Strategy = (options, verify) -> if (typeof options == 'function') verify = options options = {} if not verify throw new Error('basic strategy requires a verify function') @_userNameField = options.userNameField or 'user...
true
passport = require 'passport' util = require 'util' crypto = require 'crypto' Strategy = (options, verify) -> if (typeof options == 'function') verify = options options = {} if not verify throw new Error('basic strategy requires a verify function') @_userNameField = options.userNameField or 'user...
[ { "context": "_KEY: null\n TWITTER_SECRET: null\n EMBEDLY_KEY: 'a1f82558d8134f6cbebceb9e67d04980'\n S3_KEY: null\n S3_SECRET: null\n NEW_RELIC_LIC", "end": 1070, "score": 0.9996403455734253, "start": 1038, "tag": "KEY", "value": "a1f82558d8134f6cbebceb9e67d04980" }, { "context":...
config.coffee
l2succes/force
0
# # Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all # environment configuration will live in environment variables. This file # simply lays out all of those environment variables with sensible defaults # for development. # module.exports = APPLICATION_NAME: 'force-staging' NODE_ENV: 'devel...
126632
# # Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all # environment configuration will live in environment variables. This file # simply lays out all of those environment variables with sensible defaults # for development. # module.exports = APPLICATION_NAME: 'force-staging' NODE_ENV: 'devel...
true
# # Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all # environment configuration will live in environment variables. This file # simply lays out all of those environment variables with sensible defaults # for development. # module.exports = APPLICATION_NAME: 'force-staging' NODE_ENV: 'devel...
[ { "context": "t-form\").serializeObject()\n form[\"reset-token\"] = window.location.hash.substring(1)\n apiCall \"POST\", \"/api/user/confirm_password_", "end": 557, "score": 0.5214015245437622, "start": 527, "tag": "PASSWORD", "value": "window.location.hash.substring" }, { "contex...
picoCTF-web/web/coffee/account.coffee
jingjiey/picoCTF
1
updatePassword = (e) -> e.preventDefault() apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject() .done (data) -> switch data['status'] when 1 ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success') when 0 ga('send', 'event', 'Authentic...
222821
updatePassword = (e) -> e.preventDefault() apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject() .done (data) -> switch data['status'] when 1 ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success') when 0 ga('send', 'event', 'Authentic...
true
updatePassword = (e) -> e.preventDefault() apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject() .done (data) -> switch data['status'] when 1 ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success') when 0 ga('send', 'event', 'Authentic...
[ { "context": "le or= {}\n data.profile.firstName ?= 'a koding'\n data.profile.lastName ?= 'user'\n return ", "end": 619, "score": 0.9995808005332947, "start": 611, "tag": "NAME", "value": "a koding" }, { "context": "Name ?= 'a koding'\n data.profile.lastName ?=...
client/app/lib/commonviews/linkviews/linkview.coffee
lionheart1022/koding
0
remote = require('../../remote') kd = require 'kd' KDCustomHTMLView = kd.CustomHTMLView JView = require '../../jview' module.exports = class LinkView extends KDCustomHTMLView JView.mixin @prototype constructor: (options = {}, data) -> options.tagName or= 'a' data or= { fake : yes } data ...
59309
remote = require('../../remote') kd = require 'kd' KDCustomHTMLView = kd.CustomHTMLView JView = require '../../jview' module.exports = class LinkView extends KDCustomHTMLView JView.mixin @prototype constructor: (options = {}, data) -> options.tagName or= 'a' data or= { fake : yes } data ...
true
remote = require('../../remote') kd = require 'kd' KDCustomHTMLView = kd.CustomHTMLView JView = require '../../jview' module.exports = class LinkView extends KDCustomHTMLView JView.mixin @prototype constructor: (options = {}, data) -> options.tagName or= 'a' data or= { fake : yes } data ...
[ { "context": "n phase', ->\n phase = Ember.Object.create name: \"Captain Picard\"\n @ctrl.send 'rollbackPhase', phase, \"Captain Ki", "end": 841, "score": 0.9916139245033264, "start": 827, "tag": "NAME", "value": "Captain Picard" }, { "context": "phase, \"Captain Kirk\"\n equal(ph...
test/javascripts/controllers/manuscript_manager_template_edit_test.js.coffee
johan--/tahi
1
moduleFor 'controller:manuscriptManagerTemplateEdit', 'ManuscriptManagerTemplateEditController', teardown: -> ETahi.reset() setup: -> setupApp() Ember.run => @ctrl = @subject() @store = ETahi.__container__.lookup "store:main" @phase = @store.createRecord 'phaseTemplate', name: 'First Phas...
42713
moduleFor 'controller:manuscriptManagerTemplateEdit', 'ManuscriptManagerTemplateEditController', teardown: -> ETahi.reset() setup: -> setupApp() Ember.run => @ctrl = @subject() @store = ETahi.__container__.lookup "store:main" @phase = @store.createRecord 'phaseTemplate', name: 'First Phas...
true
moduleFor 'controller:manuscriptManagerTemplateEdit', 'ManuscriptManagerTemplateEditController', teardown: -> ETahi.reset() setup: -> setupApp() Ember.run => @ctrl = @subject() @store = ETahi.__container__.lookup "store:main" @phase = @store.createRecord 'phaseTemplate', name: 'First Phas...
[ { "context": "ns').post({email_address: email_address, password: password})\n\n promise.then (response) =>\n @session ", "end": 679, "score": 0.9974953532218933, "start": 671, "tag": "PASSWORD", "value": "password" }, { "context": "rs').post({email_address: email_address, pas...
users/UserService.coffee
morphic-team/website
0
morphs = window.angular.module 'morphs' morphs.service 'UserService', class UserService constructor: (@Restangular, @ipCookie) -> @user = null @load_from_cookie() is_signed_in: () -> return !!@user persist_to_cookie: () -> @ipCookie 'session_and_user', { session: @session, user: @us...
198326
morphs = window.angular.module 'morphs' morphs.service 'UserService', class UserService constructor: (@Restangular, @ipCookie) -> @user = null @load_from_cookie() is_signed_in: () -> return !!@user persist_to_cookie: () -> @ipCookie 'session_and_user', { session: @session, user: @us...
true
morphs = window.angular.module 'morphs' morphs.service 'UserService', class UserService constructor: (@Restangular, @ipCookie) -> @user = null @load_from_cookie() is_signed_in: () -> return !!@user persist_to_cookie: () -> @ipCookie 'session_and_user', { session: @session, user: @us...
[ { "context": "#\n knockback.js 0.19.1\n Copyright (c) 2011-2014 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens", "end": 67, "score": 0.999811589717865, "start": 53, "tag": "NAME", "value": "Kevin Malakoff" }, { "context": "ses/mit-license.php)\n Source: https:/...
src/core/store.coffee
metacommunications/knockback
0
### knockback.js 0.19.1 Copyright (c) 2011-2014 Kevin Malakoff. License: MIT (http://www.opensource.org/licenses/mit-license.php) Source: https://github.com/kmalakoff/knockback Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js). Optional dependencies: Backbone.ModelRef.js and Backbone...
186717
### knockback.js 0.19.1 Copyright (c) 2011-2014 <NAME>. License: MIT (http://www.opensource.org/licenses/mit-license.php) Source: https://github.com/kmalakoff/knockback Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js). Optional dependencies: Backbone.ModelRef.js and BackboneORM. ###...
true
### knockback.js 0.19.1 Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI. License: MIT (http://www.opensource.org/licenses/mit-license.php) Source: https://github.com/kmalakoff/knockback Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js). Optional dependencies: Backbone.ModelRef.js and Ba...
[ { "context": ": 'Ajo6EPWGlNUOmT930EGPmAh5a'\n consumer_secret: 'XrwPRGUpG2H5SwvVLaB2w8t3Ex4iNjAWmsU782q4k0YOq4t2zr'\n access_token: '728797696958423041-6qKF5lGF6OWV", "end": 203, "score": 0.9997451901435852, "start": 153, "tag": "KEY", "value": "XrwPRGUpG2H5SwvVLaB2w8t3Ex4iNjAWmsU782q4k0YO...
index.coffee
xcfm/twitter_stream
0
Twit = require 'twit' Hapi = require 'hapi' SocketIO = require 'socket.io' T = new Twit consumer_key: 'Ajo6EPWGlNUOmT930EGPmAh5a' consumer_secret: 'XrwPRGUpG2H5SwvVLaB2w8t3Ex4iNjAWmsU782q4k0YOq4t2zr' access_token: '728797696958423041-6qKF5lGF6OWV76l17OU4HXoCLb7hzuG' access_token_secret: 'J8HoGgsk7x7onTH6mYYgkC...
136423
Twit = require 'twit' Hapi = require 'hapi' SocketIO = require 'socket.io' T = new Twit consumer_key: 'Ajo6EPWGlNUOmT930EGPmAh5a' consumer_secret: '<KEY>' access_token: '<KEY>' access_token_secret: '<KEY>' server = Hapi.createServer '0.0.0.0', process.env.PORT || 8081, {} server.route method: 'GET', ...
true
Twit = require 'twit' Hapi = require 'hapi' SocketIO = require 'socket.io' T = new Twit consumer_key: 'Ajo6EPWGlNUOmT930EGPmAh5a' consumer_secret: 'PI:KEY:<KEY>END_PI' access_token: 'PI:KEY:<KEY>END_PI' access_token_secret: 'PI:KEY:<KEY>END_PI' server = Hapi.createServer '0.0.0.0', process.env.PORT || 8081, {...
[ { "context": "->\n @timeout 20000\n browser.get \"http://127.0.0.1:8181/test-page.html\", (err) ->\n should.not", "end": 18387, "score": 0.9977778196334839, "start": 18378, "tag": "IP_ADDRESS", "value": "127.0.0.1" }, { "context": "\n (done) ->\n brow...
node_modules/testem/examples/saucelabs/node_modules/wd/test/common/per-method-test-base.coffee
swilliamsui/fuelux
1
# mocha test CoffeeScript = require 'coffee-script' should = require 'should' async = require 'async' imageinfo = require 'imageinfo' {Express} = require './express' wd = require './wd-with-cov' TIMEOUT_BASE = 1000 TIMEOUT_BASE = 250 if process.env.GHOSTDRIVER_TEST? evalShouldEqual = (browser,formula,expect...
185014
# mocha test CoffeeScript = require 'coffee-script' should = require 'should' async = require 'async' imageinfo = require 'imageinfo' {Express} = require './express' wd = require './wd-with-cov' TIMEOUT_BASE = 1000 TIMEOUT_BASE = 250 if process.env.GHOSTDRIVER_TEST? evalShouldEqual = (browser,formula,expect...
true
# mocha test CoffeeScript = require 'coffee-script' should = require 'should' async = require 'async' imageinfo = require 'imageinfo' {Express} = require './express' wd = require './wd-with-cov' TIMEOUT_BASE = 1000 TIMEOUT_BASE = 250 if process.env.GHOSTDRIVER_TEST? evalShouldEqual = (browser,formula,expect...
[ { "context": "deepEqual req.headers,\n 'Abao-API-Key': 'abcdef'\n req.body.should.be.empty\n assert.", "end": 1527, "score": 0.9931173324584961, "start": 1521, "tag": "KEY", "value": "abcdef" }, { "context": "body,\n type: 'Kulu'\n name: '...
test/unit/add-tests-test.coffee
plroebuck/abao
380
{assert} = require 'chai' sinon = require 'sinon' ramlParser = require 'raml-parser' proxyquire = require('proxyquire').noCallThru() mochaStub = require 'mocha' TestFactory = require '../../lib/test' hooks = require '../../lib/hooks' addTests = proxyquire '../../lib/add-tests', { 'mocha': mochaStub } FIXTURE_DIR ...
177459
{assert} = require 'chai' sinon = require 'sinon' ramlParser = require 'raml-parser' proxyquire = require('proxyquire').noCallThru() mochaStub = require 'mocha' TestFactory = require '../../lib/test' hooks = require '../../lib/hooks' addTests = proxyquire '../../lib/add-tests', { 'mocha': mochaStub } FIXTURE_DIR ...
true
{assert} = require 'chai' sinon = require 'sinon' ramlParser = require 'raml-parser' proxyquire = require('proxyquire').noCallThru() mochaStub = require 'mocha' TestFactory = require '../../lib/test' hooks = require '../../lib/hooks' addTests = proxyquire '../../lib/add-tests', { 'mocha': mochaStub } FIXTURE_DIR ...
[ { "context": " new Person({\n id: 'person-1-1'\n name: 'John'\n })\n\n paul = new Person({\n id: 'perso", "end": 1767, "score": 0.9991864562034607, "start": 1763, "tag": "NAME", "value": "John" }, { "context": " id: 'person-1-1'\n name: 'John'\n })\n\n ...
test/spec/ecosystem/backbone-relational.tests.coffee
kmalakoff/knockback
160
root = if window? then window else global assert = assert or require?('chai').assert describe 'Knockback.js with Backbone-Relational.js @backbone-relational', -> # after -> delete root.Person; delete root.Building # import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback kb = window?....
35165
root = if window? then window else global assert = assert or require?('chai').assert describe 'Knockback.js with Backbone-Relational.js @backbone-relational', -> # after -> delete root.Person; delete root.Building # import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback kb = window?....
true
root = if window? then window else global assert = assert or require?('chai').assert describe 'Knockback.js with Backbone-Relational.js @backbone-relational', -> # after -> delete root.Person; delete root.Building # import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback kb = window?....
[ { "context": "erview Tests for no-duplicate-when rule.\n# @author Dieter Oberkofler\n###\n\n'use strict'\n\n#-----------------------------", "end": 82, "score": 0.9998555183410645, "start": 65, "tag": "NAME", "value": "Dieter Oberkofler" } ]
src/tests/rules/no-duplicate-case.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Tests for no-duplicate-when rule. # @author Dieter Oberkofler ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-duplic...
176911
###* # @fileoverview Tests for no-duplicate-when rule. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-duplicate-case' {...
true
###* # @fileoverview Tests for no-duplicate-when rule. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-dup...
[ { "context": " -> ['yes', 'no']\n },\n {\n name: 'name your noun'\n qualifies: ->\n return fals", "end": 1630, "score": 0.530335009098053, "start": 1621, "tag": "NAME", "value": "name your" }, { "context": "turn false unless machine.visited_states.ind...
js/coffeescript/fitness_state_machine.coffee
stefano81/rubber_duck
52
class duck.FitnessStateMachine constructor: -> @visited_states = [] @current_state = null @what_it_does = null @potential_nouns = [] @noun = null getNext: (@answer)-> @current_state.post_action() if @current_state for state in @states(@) if state.qualifies() @current_state...
71839
class duck.FitnessStateMachine constructor: -> @visited_states = [] @current_state = null @what_it_does = null @potential_nouns = [] @noun = null getNext: (@answer)-> @current_state.post_action() if @current_state for state in @states(@) if state.qualifies() @current_state...
true
class duck.FitnessStateMachine constructor: -> @visited_states = [] @current_state = null @what_it_does = null @potential_nouns = [] @noun = null getNext: (@answer)-> @current_state.post_action() if @current_state for state in @states(@) if state.qualifies() @current_state...