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": "troke settings.colors.roadMarking\n # Comment-Mario: draw closed lanes as RED\n if lane.isClosed\n", "end": 4103, "score": 0.8292995691299438, "start": 4098, "tag": "NAME", "value": "Mario" }, { "context": " @graphics.fill('red', 0.2)\n\n # Comment-D...
coffee/visualizer/visualizer.coffee
davidguzmanr/RoadTrafficSimulator
2
'use strict' {PI} = Math require '../helpers' $ = require 'jquery' _ = require 'underscore' chroma = require 'chroma-js' Point = require '../geom/point' Rect = require '../geom/rect' Graphics = require './graphics' ToolMover = require './mover' ToolIntersectionMover = require './intersection-mover' ToolIntersectionBui...
219788
'use strict' {PI} = Math require '../helpers' $ = require 'jquery' _ = require 'underscore' chroma = require 'chroma-js' Point = require '../geom/point' Rect = require '../geom/rect' Graphics = require './graphics' ToolMover = require './mover' ToolIntersectionMover = require './intersection-mover' ToolIntersectionBui...
true
'use strict' {PI} = Math require '../helpers' $ = require 'jquery' _ = require 'underscore' chroma = require 'chroma-js' Point = require '../geom/point' Rect = require '../geom/rect' Graphics = require './graphics' ToolMover = require './mover' ToolIntersectionMover = require './intersection-mover' ToolIntersectionBui...
[ { "context": "erview enforce position of line comments\n# @author Alberto Rodríguez\n###\n'use strict'\n\n#------------------------------", "end": 82, "score": 0.9998568892478943, "start": 65, "tag": "NAME", "value": "Alberto Rodríguez" } ]
src/tests/rules/line-comment-position.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview enforce position of line comments # @author Alberto Rodríguez ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/line-comme...
100094
###* # @fileoverview enforce position of line comments # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/line-comment-position...
true
###* # @fileoverview enforce position of line comments # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/line-co...
[ { "context": "ype: \"PUT\",\n data: _.csrf({user: {password: pass, password_confirmation: pass2, token: token}}),\n ", "end": 697, "score": 0.9987679123878479, "start": 693, "tag": "PASSWORD", "value": "pass" }, { "context": "srf({user: {password: pass, password_confirmation: ...
app/assets/javascripts/states/main/views/reset_password.js.coffee
chetan/bixby-manager
2
namespace "Bixby.view", (exports, top) -> class exports.ResetPassword extends Stark.View el: "div.body" template: "main/reset_password" events: "keypress #password": (e) -> @validate_password(e) "keypress #password_confirmation": (e) -> if e.keyCode == 13 e.preventDefault(...
106080
namespace "Bixby.view", (exports, top) -> class exports.ResetPassword extends Stark.View el: "div.body" template: "main/reset_password" events: "keypress #password": (e) -> @validate_password(e) "keypress #password_confirmation": (e) -> if e.keyCode == 13 e.preventDefault(...
true
namespace "Bixby.view", (exports, top) -> class exports.ResetPassword extends Stark.View el: "div.body" template: "main/reset_password" events: "keypress #password": (e) -> @validate_password(e) "keypress #password_confirmation": (e) -> if e.keyCode == 13 e.preventDefault(...
[ { "context": "<div class=\"textboxs\">\n <input name=\"username\" placeholder=\"username\" type=\"text\" />\n ", "end": 1206, "score": 0.9995483756065369, "start": 1198, "tag": "USERNAME", "value": "username" }, { "context": " <input name=\"username...
src/scripts/lib/zooniverse/views/TopBar.coffee
zooniverse/seafloorexplorer
3
define (require, exports, module) -> module.exports = """ <div id="zooniverse-top-bar-container"> <div id="zooniverse-top-bar-info"> <h3><span id="app-name"></span> is a <a href="https://www.zooniverse.org">Zooniverse</a> project.</h3> <p>The Zooniverse is a collection of web-based Citizen S...
193022
define (require, exports, module) -> module.exports = """ <div id="zooniverse-top-bar-container"> <div id="zooniverse-top-bar-info"> <h3><span id="app-name"></span> is a <a href="https://www.zooniverse.org">Zooniverse</a> project.</h3> <p>The Zooniverse is a collection of web-based Citizen S...
true
define (require, exports, module) -> module.exports = """ <div id="zooniverse-top-bar-container"> <div id="zooniverse-top-bar-info"> <h3><span id="app-name"></span> is a <a href="https://www.zooniverse.org">Zooniverse</a> project.</h3> <p>The Zooniverse is a collection of web-based Citizen S...
[ { "context": "# github.com/lukes/ISO-3166-Countries-with-Regional-Codes -> slim-3.", "end": 18, "score": 0.9996559619903564, "start": 13, "tag": "USERNAME", "value": "lukes" }, { "context": "BEL\"\n \"country-code\": \"056\"\n }\n {\n name: \"Belize\"\n \"alpha-3\": \"BLZ\...
lib/geoCodeMapping.coffee
rayshan/bower-server-etl
1
# github.com/lukes/ISO-3166-Countries-with-Regional-Codes -> slim-3.json # some names are overwridden due to matching to GA country names # world bank countries: http://api.worldbank.org/countries?format=json module.exports = [ { name: "Afghanistan" "alpha-3": "AFG" "country-code": "004" } { name...
29895
# github.com/lukes/ISO-3166-Countries-with-Regional-Codes -> slim-3.json # some names are overwridden due to matching to GA country names # world bank countries: http://api.worldbank.org/countries?format=json module.exports = [ { name: "Afghanistan" "alpha-3": "AFG" "country-code": "004" } { name...
true
# github.com/lukes/ISO-3166-Countries-with-Regional-Codes -> slim-3.json # some names are overwridden due to matching to GA country names # world bank countries: http://api.worldbank.org/countries?format=json module.exports = [ { name: "Afghanistan" "alpha-3": "AFG" "country-code": "004" } { name...
[ { "context": "#\n# Copyright (c) 2014 by Lifted Studios. All Rights Reserved.\n#\n\nTabsToSpaces = null\ntabs", "end": 40, "score": 0.8382673263549805, "start": 26, "tag": "NAME", "value": "Lifted Studios" } ]
atom.symlink/packages/tabs-to-spaces/lib/index.coffee
baer/dotfiles-old
0
# # Copyright (c) 2014 by Lifted Studios. All Rights Reserved. # TabsToSpaces = null tabsToSpaces = null module.exports = config: onSave: type: 'string' default: 'none' enum: ['none', 'tabify', 'untabify'] activate: -> atom.workspaceView.command 'tabs-to-spaces:tabify', -> loadMod...
59542
# # Copyright (c) 2014 by <NAME>. All Rights Reserved. # TabsToSpaces = null tabsToSpaces = null module.exports = config: onSave: type: 'string' default: 'none' enum: ['none', 'tabify', 'untabify'] activate: -> atom.workspaceView.command 'tabs-to-spaces:tabify', -> loadModule() ...
true
# # Copyright (c) 2014 by PI:NAME:<NAME>END_PI. All Rights Reserved. # TabsToSpaces = null tabsToSpaces = null module.exports = config: onSave: type: 'string' default: 'none' enum: ['none', 'tabify', 'untabify'] activate: -> atom.workspaceView.command 'tabs-to-spaces:tabify', -> l...
[ { "context": " docs by patient, encounter, and task\n#\n# key is [patientCode, encounterId, taskId, encounterClockTime], with\n#", "end": 1403, "score": 0.812349259853363, "start": 1392, "tag": "KEY", "value": "patientCode" }, { "context": "ient, encounter, and task\n#\n# key is [pat...
core/js/couchdb/patient.coffee
davidmarin/tabcat
1
### Copyright (c) 2013, Regents of the University of California All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of...
75419
### Copyright (c) 2013, Regents of the University of California All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of...
true
### Copyright (c) 2013, Regents of the University of California All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of...
[ { "context": "l variable\r\n db = QRefSlave.instance()\r\n\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass QRefSlave\r\n\t###", "end": 833, "score": 0.999862551689148, "start": 821, "tag": "NAME", "value": "Nathan Klick" } ]
Workspace/QRef/NodeServer/src/db/QRefSlave.coffee
qrefdev/qref
0
mongoose = require('mongoose') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class at startup and exposes a global var...
225522
mongoose = require('mongoose') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class at startup and exposes a global var...
true
mongoose = require('mongoose') ### Database middleware class that handles connection setup and exposes available data models. Creating multiple instances of this class will create a new connection for each instance; therefore, the application only spins up one copy of this class at startup and exposes a global var...
[ { "context": "fore: identity, after: identity}, x\n_pathKey = 're-frame-path/db-store'\n\n$db = -> deref rf.appDb\n$dbUpdates = ->", "end": 746, "score": 0.8220661878585815, "start": 735, "tag": "KEY", "value": "frame-path/" }, { "context": ", after: identity}, x\n_pathKey = 're-fram...
test/re-frame.coffee
LeXofLeviafan/mreframe
1
[o, {type, identity, keys, getIn, assoc, assocIn, merge, chain}, {deref}, r, rf] = ['ospec', '../src/util', '../src/atom', '../src/reagent', '../src/re-frame'].map require mkContext = ({db = {foo: 1, bar: baz: 2}, event = ['do-stuff', answer: 42], cofx = {}, fx = {}, queue = [], stack = []} = {}) -> coeffects: {...c...
176732
[o, {type, identity, keys, getIn, assoc, assocIn, merge, chain}, {deref}, r, rf] = ['ospec', '../src/util', '../src/atom', '../src/reagent', '../src/re-frame'].map require mkContext = ({db = {foo: 1, bar: baz: 2}, event = ['do-stuff', answer: 42], cofx = {}, fx = {}, queue = [], stack = []} = {}) -> coeffects: {...c...
true
[o, {type, identity, keys, getIn, assoc, assocIn, merge, chain}, {deref}, r, rf] = ['ospec', '../src/util', '../src/atom', '../src/reagent', '../src/re-frame'].map require mkContext = ({db = {foo: 1, bar: baz: 2}, event = ['do-stuff', answer: 42], cofx = {}, fx = {}, queue = [], stack = []} = {}) -> coeffects: {...c...
[ { "context": "'en-US'] = Object.clone tableTabEn\n for key in ['ja-JP', 'zh-CN', 'zh-TW']\n tableTab[key] = translate", "end": 2059, "score": 0.9895467162132263, "start": 2054, "tag": "KEY", "value": "ja-JP" }, { "context": "= Object.clone tableTabEn\n for key in ['ja-JP', 'zh-C...
views/components/akashic-advanced-module.cjsx
Artoria-0x04/plugin-Akashic-records
0
{React, ReactBootstrap, ROOT, FontAwesome, __, translate, CONST} = window {Grid, Row, Col, Input, Button, OverlayTrigger, Popover, Input} = ReactBootstrap fs = require 'fs-extra' iconv = require 'iconv-lite' jschardet = require 'jschardet' jschardet.Constants.MINIMUM_THRESHOLD = 0.10 path = require 'path-extra' rem...
36968
{React, ReactBootstrap, ROOT, FontAwesome, __, translate, CONST} = window {Grid, Row, Col, Input, Button, OverlayTrigger, Popover, Input} = ReactBootstrap fs = require 'fs-extra' iconv = require 'iconv-lite' jschardet = require 'jschardet' jschardet.Constants.MINIMUM_THRESHOLD = 0.10 path = require 'path-extra' rem...
true
{React, ReactBootstrap, ROOT, FontAwesome, __, translate, CONST} = window {Grid, Row, Col, Input, Button, OverlayTrigger, Popover, Input} = ReactBootstrap fs = require 'fs-extra' iconv = require 'iconv-lite' jschardet = require 'jschardet' jschardet.Constants.MINIMUM_THRESHOLD = 0.10 path = require 'path-extra' rem...
[ { "context": "egacy)'}\n ]\n\n provideProvider: ->\n key: 'java-ant'\n mod: require './module'\n", "end": 479, "score": 0.9976765513420105, "start": 471, "tag": "KEY", "value": "java-ant" } ]
lib/build-tools-ant.coffee
fstiewitz/build-tools-ant
1
module.exports = config: provider: title: 'How to load targets from build files' description: 'Try legacy method if you encounter bugs' type: 'string' default: 'vproj' enum: [ {value: 'vproj', description: 'Load all targets with ProjectHelper'} {value: 'proj', descri...
195764
module.exports = config: provider: title: 'How to load targets from build files' description: 'Try legacy method if you encounter bugs' type: 'string' default: 'vproj' enum: [ {value: 'vproj', description: 'Load all targets with ProjectHelper'} {value: 'proj', descri...
true
module.exports = config: provider: title: 'How to load targets from build files' description: 'Try legacy method if you encounter bugs' type: 'string' default: 'vproj' enum: [ {value: 'vproj', description: 'Load all targets with ProjectHelper'} {value: 'proj', descri...
[ { "context": "# peristaltic pump\n# Simonk Kirkby\n# tigger@interthingy.com\n# 20130427\n\nclass Pump e", "end": 34, "score": 0.9998847842216492, "start": 21, "tag": "NAME", "value": "Simonk Kirkby" }, { "context": "# peristaltic pump\n# Simonk Kirkby\n# tigger@interthingy.com\n# 201...
examples/applied/Peristaltic/pump.coffee
kaosat-dev/CoffeeSCad
110
# peristaltic pump # Simonk Kirkby # tigger@interthingy.com # 20130427 class Pump extends Part constructor:(options)-> @defaults = { lobes: 5, pipe_od: 5, pipe_id: 4, pump_radius:50, res: 50, clearance:1, base_thickness:5, wall_thickness:5, rotor_thickness: 2...
12665
# peristaltic pump # <NAME> # <EMAIL> # 20130427 class Pump extends Part constructor:(options)-> @defaults = { lobes: 5, pipe_od: 5, pipe_id: 4, pump_radius:50, res: 50, clearance:1, base_thickness:5, wall_thickness:5, rotor_thickness: 20, bolt_diameter...
true
# peristaltic pump # PI:NAME:<NAME>END_PI # PI:EMAIL:<EMAIL>END_PI # 20130427 class Pump extends Part constructor:(options)-> @defaults = { lobes: 5, pipe_od: 5, pipe_id: 4, pump_radius:50, res: 50, clearance:1, base_thickness:5, wall_thickness:5, rotor_thick...
[ { "context": "t_ttl)->\n dfd = @Q.defer()\n\n key = @getCacheKey(key)\n # map data to be cached\n ", "end": 1169, "score": 0.6640557646751404, "start": 1166, "tag": "KEY", "value": "get" }, { "context": "value)->\n dfd = @Q.defer()\n\n key = @get...
lib/Cache.coffee
angelxmoreno/node-promise-cache
10
class Cache ### # Create a new Cache instance. # # @param {object} Q The promise manager. # @param {object} Manager The cache store manager. (check /lib/stores) # @param {object} Crypto node's crypto module # @return Cache ### constructor: (@Q, @Manager, @Crypto, config)-> @...
124343
class Cache ### # Create a new Cache instance. # # @param {object} Q The promise manager. # @param {object} Manager The cache store manager. (check /lib/stores) # @param {object} Crypto node's crypto module # @return Cache ### constructor: (@Q, @Manager, @Crypto, config)-> @...
true
class Cache ### # Create a new Cache instance. # # @param {object} Q The promise manager. # @param {object} Manager The cache store manager. (check /lib/stores) # @param {object} Crypto node's crypto module # @return Cache ### constructor: (@Q, @Manager, @Crypto, config)-> @...
[ { "context": " addKey = true\n keyValue = shortId.generate() + shortId.generate() +\n ", "end": 17597, "score": 0.6169164180755615, "start": 17592, "tag": "KEY", "value": "short" }, { "context": " addKey = true\n keyValue = shortId.g...
src/processor.coffee
TNO-IoT/ekster
3
# XMPP message processor for the IoT registry. # import 3rd party stuff ltx = require('node-xmpp-core').ltx {JID} = require 'node-xmpp-core' shortId = require 'shortid' _ = require 'lodash' NodeCache = require 'node-cache' Q = require 'q' # import classes Logger = require './logger.coffee' Property = require './prope...
138683
# XMPP message processor for the IoT registry. # import 3rd party stuff ltx = require('node-xmpp-core').ltx {JID} = require 'node-xmpp-core' shortId = require 'shortid' _ = require 'lodash' NodeCache = require 'node-cache' Q = require 'q' # import classes Logger = require './logger.coffee' Property = require './prope...
true
# XMPP message processor for the IoT registry. # import 3rd party stuff ltx = require('node-xmpp-core').ltx {JID} = require 'node-xmpp-core' shortId = require 'shortid' _ = require 'lodash' NodeCache = require 'node-cache' Q = require 'q' # import classes Logger = require './logger.coffee' Property = require './prope...
[ { "context": "exports.glyphs['caronSlovak'] =\n\tglyphName: 'caron slovak'\n\tcharacterName: 'CARON SLOVAK'\n\tanchors:\n\t\t0:\n\t\t", "end": 57, "score": 0.9996839761734009, "start": 45, "tag": "NAME", "value": "caron slovak" }, { "context": "k'] =\n\tglyphName: 'caron slovak'\n\tc...
src/glyphs/components/caronSlovak.coffee
byte-foundry/john-fell
1
exports.glyphs['caronSlovak'] = glyphName: 'caron slovak' characterName: 'CARON SLOVAK' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchors[0].x y: anchors[0].y typeOut: ...
213810
exports.glyphs['caronSlovak'] = glyphName: '<NAME>' characterName: '<NAME>' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchors[0].x y: anchors[0].y typeOut: 'line' ...
true
exports.glyphs['caronSlovak'] = glyphName: 'PI:NAME:<NAME>END_PI' characterName: 'PI:NAME:<NAME>END_PI' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchors[0].x y: anchors[0]....
[ { "context": "an be found in the LICENSE file.\n## Copyright 2010 pjacobs@xeekr.com . All rights reserved.\n## Modified by Recurity La", "end": 140, "score": 0.9999297261238098, "start": 123, "tag": "EMAIL", "value": "pjacobs@xeekr.com" }, { "context": "odified by Recurity Labs GmbH\...
src/openpgp/cast5.iced
samkenxstream/kbpgp
464
## Use of this source code is governed by a BSD-style ## license that can be found in the LICENSE file. ## Copyright 2010 pjacobs@xeekr.com . All rights reserved. ## Modified by Recurity Labs GmbH ## fixed/modified by Herbert Hanewinkel, www.haneWIN.de ## check www.haneWIN.de for the latest version ## cast5.js is a Ja...
66898
## Use of this source code is governed by a BSD-style ## license that can be found in the LICENSE file. ## Copyright 2010 <EMAIL> . All rights reserved. ## Modified by Recurity Labs GmbH ## fixed/modified by <NAME>, www.haneWIN.de ## check www.haneWIN.de for the latest version ## cast5.js is a Javascript implementatio...
true
## Use of this source code is governed by a BSD-style ## license that can be found in the LICENSE file. ## Copyright 2010 PI:EMAIL:<EMAIL>END_PI . All rights reserved. ## Modified by Recurity Labs GmbH ## fixed/modified by PI:NAME:<NAME>END_PI, www.haneWIN.de ## check www.haneWIN.de for the latest version ## cast5.js ...
[ { "context": "ta: sinon.stub() }\n @fields =\n name: 'Name De Card'\n notes: 'a notes'\n card_number: '1", "end": 451, "score": 0.8828933835029602, "start": 439, "tag": "NAME", "value": "Name De Card" }, { "context": "astCall.args[1]\n response =\n ...
spec/javascripts/stripe_spec.js.coffee
cooperative-humans/localorbit
16
#= require spec_helper #= require stripe describe 'stripe PaymentProvider', -> describe '#tokenize', -> beforeEach -> @done = sinon.spy() @fail = sinon.spy() window.Stripe = { card: {} } @setPublishableKey = Stripe.setPublishableKey = sinon.stub() @createCardToken = sinon.stub() ...
203175
#= require spec_helper #= require stripe describe 'stripe PaymentProvider', -> describe '#tokenize', -> beforeEach -> @done = sinon.spy() @fail = sinon.spy() window.Stripe = { card: {} } @setPublishableKey = Stripe.setPublishableKey = sinon.stub() @createCardToken = sinon.stub() ...
true
#= require spec_helper #= require stripe describe 'stripe PaymentProvider', -> describe '#tokenize', -> beforeEach -> @done = sinon.spy() @fail = sinon.spy() window.Stripe = { card: {} } @setPublishableKey = Stripe.setPublishableKey = sinon.stub() @createCardToken = sinon.stub() ...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999121427536011, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/beatmap-discussions-history/main.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 { Discussion } from '../beatmap-discussions/discussion' import { BeatmapsContext } from 'beatmap-discussions/beatmaps-context' import { Di...
210851
# 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 { Discussion } from '../beatmap-discussions/discussion' import { BeatmapsContext } from 'beatmap-discussions/beatmaps-context' import { Discussio...
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 { Discussion } from '../beatmap-discussions/discussion' import { BeatmapsContext } from 'beatmap-discussions/beatmaps-context' imp...
[ { "context": " ->\n beforeEach ->\n librato.configure email: 'foo@example.com', token: 'foobar'\n\n describe '::increment', ->\n ", "end": 233, "score": 0.9999250173568726, "start": 218, "tag": "EMAIL", "value": "foo@example.com" }, { "context": "brato.configure email: 'foo@exam...
test/librato.coffee
autopulated/librato-node
28
require './support/test_helper' _ = require 'lodash' Client = require '../lib/client' Collector = require '../lib/collector' librato = require '..' describe 'librato', -> beforeEach -> librato.configure email: 'foo@example.com', token: 'foobar' describe '::increment', -> beforeEach -> @sinon.stub(Co...
92524
require './support/test_helper' _ = require 'lodash' Client = require '../lib/client' Collector = require '../lib/collector' librato = require '..' describe 'librato', -> beforeEach -> librato.configure email: '<EMAIL>', token: '<PASSWORD>' describe '::increment', -> beforeEach -> @sinon.stub(Collec...
true
require './support/test_helper' _ = require 'lodash' Client = require '../lib/client' Collector = require '../lib/collector' librato = require '..' describe 'librato', -> beforeEach -> librato.configure email: 'PI:EMAIL:<EMAIL>END_PI', token: 'PI:PASSWORD:<PASSWORD>END_PI' describe '::increment', -> befor...
[ { "context": "s a random quote from the simpsons\n#\n# Author:\n# jjasghar\n# omardelarosa\n#\n\n\n# Quotes Via: http://www.man", "end": 288, "score": 0.998824417591095, "start": 280, "tag": "USERNAME", "value": "jjasghar" }, { "context": "ote from the simpsons\n#\n# Author:\n# ...
src/thesimpsons.coffee
jjasghar/hubot-thesimpsons
1
# Description # A Simpsons Quote and Image Generator for Hubots. # # Configuration: # None # # Commands: # hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons # hubot simpsons quote me - displays a random quote from the simpsons # # Author: # jjasghar # omardelarosa # # Quotes V...
98602
# Description # A Simpsons Quote and Image Generator for Hubots. # # Configuration: # None # # Commands: # hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons # hubot simpsons quote me - displays a random quote from the simpsons # # Author: # jjasghar # omardelarosa # # Quotes V...
true
# Description # A Simpsons Quote and Image Generator for Hubots. # # Configuration: # None # # Commands: # hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons # hubot simpsons quote me - displays a random quote from the simpsons # # Author: # jjasghar # omardelarosa # # Quotes V...
[ { "context": "n resave: true, saveUninitialized: true, secret: 'a6d7b66b15077f4cd2291298c6719b8d' # 'digicom' em md5\n\n\tif app.get('env') == 'devel", "end": 760, "score": 0.9977744817733765, "start": 728, "tag": "KEY", "value": "a6d7b66b15077f4cd2291298c6719b8d" }, { "context": "ba...
app.coffee
somosdigix/Digicom
0
exports.start = -> express = require 'express' serveFavicon = require 'serve-favicon' morgan = require 'morgan' bodyParser = require 'body-parser' mongoose = require 'mongoose' moment = require 'moment' session = require 'express-session' app = express() load = require "express-load" server = require 'http'...
150291
exports.start = -> express = require 'express' serveFavicon = require 'serve-favicon' morgan = require 'morgan' bodyParser = require 'body-parser' mongoose = require 'mongoose' moment = require 'moment' session = require 'express-session' app = express() load = require "express-load" server = require 'http'...
true
exports.start = -> express = require 'express' serveFavicon = require 'serve-favicon' morgan = require 'morgan' bodyParser = require 'body-parser' mongoose = require 'mongoose' moment = require 'moment' session = require 'express-session' app = express() load = require "express-load" server = require 'http'...
[ { "context": "###\n mime-js.js 0.2.0\n 2014-10-18\n\n By Ikrom, https://github.com/ikr0m\n License: X11/MIT\n##", "end": 53, "score": 0.9823422431945801, "start": 48, "tag": "USERNAME", "value": "Ikrom" }, { "context": "\n 2014-10-18\n\n By Ikrom, https://github.com...
src/mime-js.coffee
ikr0m/mime-js
22
### mime-js.js 0.2.0 2014-10-18 By Ikrom, https://github.com/ikr0m License: X11/MIT ### window.Mime = do -> # ********************************* # Create Mime Text from Mail Object # var mail = { # "to": "email1@example.com, email2@example.com", # "cc": "email3@example.com, email4@example....
218823
### mime-js.js 0.2.0 2014-10-18 By Ikrom, https://github.com/ikr0m License: X11/MIT ### window.Mime = do -> # ********************************* # Create Mime Text from Mail Object # var mail = { # "to": "<EMAIL>, <EMAIL>", # "cc": "<EMAIL>, <EMAIL>", # "subject": "Today is rainy", # ...
true
### mime-js.js 0.2.0 2014-10-18 By Ikrom, https://github.com/ikr0m License: X11/MIT ### window.Mime = do -> # ********************************* # Create Mime Text from Mail Object # var mail = { # "to": "PI:EMAIL:<EMAIL>END_PI, PI:EMAIL:<EMAIL>END_PI", # "cc": "PI:EMAIL:<EMAIL>END_PI, PI:...
[ { "context": "replacetext-plugin/\n# *\n# * Copyright (c) 2009 \"Cowboy\" Ben Alman\n# * Dual licensed under the MIT and G", "end": 5006, "score": 0.9997289180755615, "start": 5000, "tag": "USERNAME", "value": "Cowboy" }, { "context": "text-plugin/\n# *\n# * Copyright (c) 2009 \...
mingkwai.app/Contents/Resources/app.nw/src/BLAIDDDRWG.coffee
loveencounterflow/mingkwai-app
0
# #----------------------------------------------------------------------------------------------------------- # BD.style_of = ( element ) -> window.getComputedStyle element.get 0 # BD.box_of = ( element ) -> ( element.get 0 ).getBoundingClientRect() # #---------------------------------------------------------...
42920
# #----------------------------------------------------------------------------------------------------------- # BD.style_of = ( element ) -> window.getComputedStyle element.get 0 # BD.box_of = ( element ) -> ( element.get 0 ).getBoundingClientRect() # #---------------------------------------------------------...
true
# #----------------------------------------------------------------------------------------------------------- # BD.style_of = ( element ) -> window.getComputedStyle element.get 0 # BD.box_of = ( element ) -> ( element.get 0 ).getBoundingClientRect() # #---------------------------------------------------------...
[ { "context": "ontains the mode manager for each editor\n# Author: Zenathark\n# Mantainer: Zenathark\n#\n# Version 0.0.1\n# Date 2", "end": 87, "score": 0.8048690557479858, "start": 78, "tag": "NAME", "value": "Zenathark" }, { "context": "r for each editor\n# Author: Zenathark\n# Mant...
lib/mode-manager.coffee
zenathark/wicked-mode
0
# mode-manager.coffee --- Contains the mode manager for each editor # Author: Zenathark # Mantainer: Zenathark # # Version 0.0.1 # Date 2015-11-20 # # Each editor on wicked-mode has its own mode manager. This file Contains # the definition of the base mode manager. name = 'wicked:mode-manager' log = require('./logger'...
153317
# mode-manager.coffee --- Contains the mode manager for each editor # Author: <NAME> # Mantainer: <NAME>athark # # Version 0.0.1 # Date 2015-11-20 # # Each editor on wicked-mode has its own mode manager. This file Contains # the definition of the base mode manager. name = 'wicked:mode-manager' log = require('./logger'...
true
# mode-manager.coffee --- Contains the mode manager for each editor # Author: PI:NAME:<NAME>END_PI # Mantainer: PI:NAME:<NAME>END_PIathark # # Version 0.0.1 # Date 2015-11-20 # # Each editor on wicked-mode has its own mode manager. This file Contains # the definition of the base mode manager. name = 'wicked:mode-manag...
[ { "context": "e: 'Bricolage',\n #description: 'A blog by Kyle Mathews',\n #link: 'https://bricolage.io/',\n ", "end": 494, "score": 0.9998694658279419, "start": 482, "tag": "NAME", "value": "Kyle Mathews" }, { "context": "io/',\n #copyright: 'All rights res...
post-build.coffee
kaushanidas/kaushanidas.github.io
0
#Feed = require('feed') #filter = require 'lodash/filter' #sortBy = require 'lodash/sortBy' #moment = require 'moment' #MarkdownIt = require 'markdown-it' #fs = require 'fs' #frontmatter = require 'front-matter' #md = MarkdownIt({ #html: true #linkify: true #typographer: true #}) #module.exports = (pages, callb...
146652
#Feed = require('feed') #filter = require 'lodash/filter' #sortBy = require 'lodash/sortBy' #moment = require 'moment' #MarkdownIt = require 'markdown-it' #fs = require 'fs' #frontmatter = require 'front-matter' #md = MarkdownIt({ #html: true #linkify: true #typographer: true #}) #module.exports = (pages, callb...
true
#Feed = require('feed') #filter = require 'lodash/filter' #sortBy = require 'lodash/sortBy' #moment = require 'moment' #MarkdownIt = require 'markdown-it' #fs = require 'fs' #frontmatter = require 'front-matter' #md = MarkdownIt({ #html: true #linkify: true #typographer: true #}) #module.exports = (pages, callb...
[ { "context": "foreEach ->\n command = {\n project: '/home/fabian/.atom/packages/build-tools/spec/fixtures'\n n", "end": 220, "score": 0.9975963830947876, "start": 214, "tag": "USERNAME", "value": "fabian" }, { "context": "/packages/build-tools/spec/fixtures'\n name:...
spec/queue-spec.coffee
fstiewitz/build-tools-cpp
3
Queue = require '../lib/pipeline/queue' Modifiers = require '../lib/modifier/modifier' describe 'Queue', -> queue = null command = null modifier = null beforeEach -> command = { project: '/home/fabian/.atom/packages/build-tools/spec/fixtures' name: 'Test' command: 'echo Hello World' ...
59935
Queue = require '../lib/pipeline/queue' Modifiers = require '../lib/modifier/modifier' describe 'Queue', -> queue = null command = null modifier = null beforeEach -> command = { project: '/home/fabian/.atom/packages/build-tools/spec/fixtures' name: '<NAME>' command: 'echo Hello World' ...
true
Queue = require '../lib/pipeline/queue' Modifiers = require '../lib/modifier/modifier' describe 'Queue', -> queue = null command = null modifier = null beforeEach -> command = { project: '/home/fabian/.atom/packages/build-tools/spec/fixtures' name: 'PI:NAME:<NAME>END_PI' command: 'echo H...
[ { "context": ": Issue 187', ->\n\n dataJson = [\n { user: 'barney', age: 36, active: true, city: null },\n { us", "end": 160, "score": 0.8630820512771606, "start": 154, "tag": "USERNAME", "value": "barney" }, { "context": "e: 36, active: true, city: null },\n { user...
test/issues/187.coffee
MarkCSmith/xmlbuilder-js
784
suite 'Tests specific to issues:', -> test 'skipNullNodes returning null node as undefined node (JSON): Issue 187', -> dataJson = [ { user: 'barney', age: 36, active: true, city: null }, { user: 'fred', age: 40, active: false, city: '' }, { user: 'pebbles', age: 1, active: true, city: 'Dubai' }...
68079
suite 'Tests specific to issues:', -> test 'skipNullNodes returning null node as undefined node (JSON): Issue 187', -> dataJson = [ { user: 'barney', age: 36, active: true, city: null }, { user: 'f<NAME>', age: 40, active: false, city: '' }, { user: 'pebbles', age: 1, active: true, city: 'Dubai...
true
suite 'Tests specific to issues:', -> test 'skipNullNodes returning null node as undefined node (JSON): Issue 187', -> dataJson = [ { user: 'barney', age: 36, active: true, city: null }, { user: 'fPI:NAME:<NAME>END_PI', age: 40, active: false, city: '' }, { user: 'pebbles', age: 1, active: true...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9990253448486328, "start": 12, "tag": "NAME", "value": "Joyent" }, { "context": "der\n @_headers = {} if @_headers is null\n key = name.toLowerCase()\n @_headers[key] = va...
lib/_http_outgoing.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...
34387
# 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": "m_id: process.env.hipchat_bot_room\n from: 'Pat B.'\n )\n callback(hipchat)\n\nmodule.exports =", "end": 1220, "score": 0.99933260679245, "start": 1215, "tag": "NAME", "value": "Pat B" } ]
src/vendor/speak_once.coffee
abachman/pat-the-campfire-bot
2
# provide simple access {Campfire} = require '../vendor/campfire' Hipchat = require '../vendor/hipchat' {_} = require 'underscore' class HipchatRoom constructor: (attrs) -> @hipchat = new Hipchat(attrs.api_key) delete attrs.api_key @attrs = attrs speak: (msg, log) -> _.extend(@attrs, {message: msg...
216156
# provide simple access {Campfire} = require '../vendor/campfire' Hipchat = require '../vendor/hipchat' {_} = require 'underscore' class HipchatRoom constructor: (attrs) -> @hipchat = new Hipchat(attrs.api_key) delete attrs.api_key @attrs = attrs speak: (msg, log) -> _.extend(@attrs, {message: msg...
true
# provide simple access {Campfire} = require '../vendor/campfire' Hipchat = require '../vendor/hipchat' {_} = require 'underscore' class HipchatRoom constructor: (attrs) -> @hipchat = new Hipchat(attrs.api_key) delete attrs.api_key @attrs = attrs speak: (msg, log) -> _.extend(@attrs, {message: msg...
[ { "context": "= node.children.map (def, i) ->\n k = key+'-ol-li'+i\n # If `def` has children, we use them a", "end": 4538, "score": 0.7400820255279541, "start": 4533, "tag": "KEY", "value": "ol-li" }, { "context": " $ 'thead', {key}, [\n $ 'tr', {key: key+'-_in...
src/index.coffee
mizchi/md2react
167
mdast = require 'mdast' preprocess = require './preprocess' ATTR_WHITELIST = ['href', 'src', 'target'] $ = React.createElement defaultHTMLWrapperComponent = React.createClass _update: -> current = @props.html if @_lastHtml isnt current @_lastHtml = current node = @refs.htmlWrapper.getDOMNode() ...
184407
mdast = require 'mdast' preprocess = require './preprocess' ATTR_WHITELIST = ['href', 'src', 'target'] $ = React.createElement defaultHTMLWrapperComponent = React.createClass _update: -> current = @props.html if @_lastHtml isnt current @_lastHtml = current node = @refs.htmlWrapper.getDOMNode() ...
true
mdast = require 'mdast' preprocess = require './preprocess' ATTR_WHITELIST = ['href', 'src', 'target'] $ = React.createElement defaultHTMLWrapperComponent = React.createClass _update: -> current = @props.html if @_lastHtml isnt current @_lastHtml = current node = @refs.htmlWrapper.getDOMNode() ...
[ { "context": "erview Rule to check for jsdoc presence.\n# @author Gyandeep Singh\n###\n'use strict'\n\nmodule.exports =\n meta:\n do", "end": 79, "score": 0.9997965097427368, "start": 65, "tag": "NAME", "value": "Gyandeep Singh" } ]
src/rules/require-jsdoc.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Rule to check for jsdoc presence. # @author Gyandeep Singh ### 'use strict' module.exports = meta: docs: description: 'require JSDoc comments' category: 'Stylistic Issues' recommended: no url: 'https://eslint.org/docs/rules/require-jsdoc' schema: [ type: 'o...
59751
###* # @fileoverview Rule to check for jsdoc presence. # @author <NAME> ### 'use strict' module.exports = meta: docs: description: 'require JSDoc comments' category: 'Stylistic Issues' recommended: no url: 'https://eslint.org/docs/rules/require-jsdoc' schema: [ type: 'object' ...
true
###* # @fileoverview Rule to check for jsdoc presence. # @author PI:NAME:<NAME>END_PI ### 'use strict' module.exports = meta: docs: description: 'require JSDoc comments' category: 'Stylistic Issues' recommended: no url: 'https://eslint.org/docs/rules/require-jsdoc' schema: [ ty...
[ { "context": "e()\n @view.$('input[name=\"user_name\"]').val 'Iam Loggedout'\n @view.$('input[name=\"user_email\"]').val 'f", "end": 1176, "score": 0.9250596761703491, "start": 1163, "tag": "NAME", "value": "Iam Loggedout" }, { "context": "t'\n @view.$('input[name=\"us...
src/desktop/components/simple_contact/test/feedback.coffee
kanaabe/force
1
benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { fabricate } = require 'antigravity' CurrentUser = require '../../../models/current_user' FeedbackView = benv.requireWithJadeify require.resolve('../views/feedback'), ['template'] describe 'FeedbackView', -> before (done) -> benv.setup ...
107570
benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { fabricate } = require 'antigravity' CurrentUser = require '../../../models/current_user' FeedbackView = benv.requireWithJadeify require.resolve('../views/feedback'), ['template'] describe 'FeedbackView', -> before (done) -> benv.setup ...
true
benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { fabricate } = require 'antigravity' CurrentUser = require '../../../models/current_user' FeedbackView = benv.requireWithJadeify require.resolve('../views/feedback'), ['template'] describe 'FeedbackView', -> before (done) -> benv.setup ...
[ { "context": "xt = \"this is the plaintext data\"\n password = \"my very secret password\"\n salt = \"gotta add salt\"\n\n crypto.encryptS", "end": 311, "score": 0.999375581741333, "start": 288, "tag": "PASSWORD", "value": "my very secret password" }, { "context": "xt = \"th...
test/crypto/encryption.test.coffee
obi1kenobi/jester
2
expect = require('chai').expect crypto = require('../../src/js/lib/crypto/encryption') stringUtils = require('../../src/js/lib/util/string') describe 'Crypto', () -> it 'encrypts and decrypts correctly', (done) -> plaintext = "this is the plaintext data" password = "my very secret password" sal...
9157
expect = require('chai').expect crypto = require('../../src/js/lib/crypto/encryption') stringUtils = require('../../src/js/lib/util/string') describe 'Crypto', () -> it 'encrypts and decrypts correctly', (done) -> plaintext = "this is the plaintext data" password = "<PASSWORD>" salt = "gotta ad...
true
expect = require('chai').expect crypto = require('../../src/js/lib/crypto/encryption') stringUtils = require('../../src/js/lib/util/string') describe 'Crypto', () -> it 'encrypts and decrypts correctly', (done) -> plaintext = "this is the plaintext data" password = "PI:PASSWORD:<PASSWORD>END_PI" ...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999113082885742, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/beatmap-discussions/user-filter.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 mapperGroup from 'beatmap-discussions/mapper-group' import * as React from 'react' import { a } from 'react-dom-factories' import { Select...
142008
# 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 mapperGroup from 'beatmap-discussions/mapper-group' import * as React from 'react' import { a } from 'react-dom-factories' import { SelectOptions...
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 mapperGroup from 'beatmap-discussions/mapper-group' import * as React from 'react' import { a } from 'react-dom-factories' import ...
[ { "context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\nCOLOR = Utils.ra", "end": 146, "score": 0.9982489347457886, "start": 142, "tag": "NAME", "value": "Tony" } ]
60threeDdragging.framer/app.coffee
gremjua-forks/100daysofframer
26
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "Tony" twitter: "" description: "" COLOR = Utils.randomColor().darken(20) ACCELERATION = 80 boxCopyNum = 8 copy = [] background = new BackgroundLayer backgroundColor: COLOR...
132207
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "<NAME>" twitter: "" description: "" COLOR = Utils.randomColor().darken(20) ACCELERATION = 80 boxCopyNum = 8 copy = [] background = new BackgroundLayer backgroundColor: COL...
true
# Project Info # This info is presented in a widget when you share. # http://framerjs.com/docs/#info.info Framer.Info = title: "" author: "PI:NAME:<NAME>END_PI" twitter: "" description: "" COLOR = Utils.randomColor().darken(20) ACCELERATION = 80 boxCopyNum = 8 copy = [] background = new BackgroundLayer backgr...
[ { "context": "penedReport.getOwner()\n expect(name).toBe 'HURD MARK V'\n expect(title).toBe 'President'\n e", "end": 2703, "score": 0.9998356103897095, "start": 2692, "tag": "NAME", "value": "HURD MARK V" } ]
spec/form-four-spec.coffee
kevinsawicki/filings
13
path = require 'path' {FormFour} = require '../lib/filings' describe 'Form 4 parsing', -> describe 'getAcquisitions()', -> it 'returns the price, quantity, cost, and date for all acquisitions', -> reportPath = path.join(__dirname, 'fixtures', 'orcl-form4-hurd.xml') openedReport = null FormFour....
50141
path = require 'path' {FormFour} = require '../lib/filings' describe 'Form 4 parsing', -> describe 'getAcquisitions()', -> it 'returns the price, quantity, cost, and date for all acquisitions', -> reportPath = path.join(__dirname, 'fixtures', 'orcl-form4-hurd.xml') openedReport = null FormFour....
true
path = require 'path' {FormFour} = require '../lib/filings' describe 'Form 4 parsing', -> describe 'getAcquisitions()', -> it 'returns the price, quantity, cost, and date for all acquisitions', -> reportPath = path.join(__dirname, 'fixtures', 'orcl-form4-hurd.xml') openedReport = null FormFour....
[ { "context": "d: 'asdf'\n auth:\n uuid: 'barber-slips'\n token: 'Just a little off the top'", "end": 878, "score": 0.8512078523635864, "start": 866, "tag": "USERNAME", "value": "barber-slips" }, { "context": " uuid: 'barber-slips'\n ...
test/check-token-cache-spec.coffee
octoblu/meshblu-core-task-check-token-cache
0
{describe,beforeEach,it,expect} = global CheckTokenCache = require '../src/check-token-cache' redis = require 'fakeredis' uuid = require 'uuid' describe 'CheckTokenCache', -> beforeEach 'init task', -> @redisKey = uuid.v1() @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = n...
80895
{describe,beforeEach,it,expect} = global CheckTokenCache = require '../src/check-token-cache' redis = require 'fakeredis' uuid = require 'uuid' describe 'CheckTokenCache', -> beforeEach 'init task', -> @redisKey = uuid.v1() @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = n...
true
{describe,beforeEach,it,expect} = global CheckTokenCache = require '../src/check-token-cache' redis = require 'fakeredis' uuid = require 'uuid' describe 'CheckTokenCache', -> beforeEach 'init task', -> @redisKey = uuid.v1() @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = n...
[ { "context": "_id: \"a\"\n properties:display_name:\"Martin Algesten\"\n }\n conv.add {\n ", "end": 5311, "score": 0.9997620582580566, "start": 5296, "tag": "NAME", "value": "Martin Algesten" } ]
test/test-conv-funcs.coffee
cwonrails/yakyak
4,508
init = require './init.json' conv = require '../src/ui/models/conv' entity = require '../src/ui/models/entity' describe 'conv', -> beforeEach -> conv._reset() entity._reset() describe 'count', -> it 'counts total', -> conv._initFromConvStates init.conv_states ...
208739
init = require './init.json' conv = require '../src/ui/models/conv' entity = require '../src/ui/models/entity' describe 'conv', -> beforeEach -> conv._reset() entity._reset() describe 'count', -> it 'counts total', -> conv._initFromConvStates init.conv_states ...
true
init = require './init.json' conv = require '../src/ui/models/conv' entity = require '../src/ui/models/entity' describe 'conv', -> beforeEach -> conv._reset() entity._reset() describe 'count', -> it 'counts total', -> conv._initFromConvStates init.conv_states ...
[ { "context": "###\nRubyJS Alpha 0.8.0-beta1\nCopyright (c) 2012 Sebastian Burkhard\nAll rights reserved.\nhttp://www.rubyjs.org/LICENS", "end": 66, "score": 0.9998570680618286, "start": 48, "tag": "NAME", "value": "Sebastian Burkhard" } ]
lib/ruby.coffee
hasclass/core-lib
1
### RubyJS Alpha 0.8.0-beta1 Copyright (c) 2012 Sebastian Burkhard All rights reserved. http://www.rubyjs.org/LICENSE.txt ### root = global ? window # TODO: link rubyjs/_r directly to RubyJS.RubyJS.prototype.box # this is a suboptimal solution as of now. root.RubyJS = (obj, recursive, block) -> RubyJS.box(obj...
53080
### RubyJS Alpha 0.8.0-beta1 Copyright (c) 2012 <NAME> All rights reserved. http://www.rubyjs.org/LICENSE.txt ### root = global ? window # TODO: link rubyjs/_r directly to RubyJS.RubyJS.prototype.box # this is a suboptimal solution as of now. root.RubyJS = (obj, recursive, block) -> RubyJS.box(obj, recursive,...
true
### RubyJS Alpha 0.8.0-beta1 Copyright (c) 2012 PI:NAME:<NAME>END_PI All rights reserved. http://www.rubyjs.org/LICENSE.txt ### root = global ? window # TODO: link rubyjs/_r directly to RubyJS.RubyJS.prototype.box # this is a suboptimal solution as of now. root.RubyJS = (obj, recursive, block) -> RubyJS.box(o...
[ { "context": ", (angular) ->\n not_me = null\n me =\n email: \"me@example.com\"\n\n describe 'not_me filter', ->\n beforeEach -", "end": 115, "score": 0.9999217987060547, "start": 101, "tag": "EMAIL", "value": "me@example.com" } ]
test/filter/not_me-spec.coffee
PriviPK/privipk-webapp
47
define ['angular', 'angularMocks', 'baobab.filter'], (angular) -> not_me = null me = email: "me@example.com" describe 'not_me filter', -> beforeEach -> angular.mock.module 'baobab.filter', ($provide) -> $provide.value '$namespaces', current: -> emailAddress: me.email ...
192206
define ['angular', 'angularMocks', 'baobab.filter'], (angular) -> not_me = null me = email: "<EMAIL>" describe 'not_me filter', -> beforeEach -> angular.mock.module 'baobab.filter', ($provide) -> $provide.value '$namespaces', current: -> emailAddress: me.email ...
true
define ['angular', 'angularMocks', 'baobab.filter'], (angular) -> not_me = null me = email: "PI:EMAIL:<EMAIL>END_PI" describe 'not_me filter', -> beforeEach -> angular.mock.module 'baobab.filter', ($provide) -> $provide.value '$namespaces', current: -> emailAddress: me...
[ { "context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje", "end": 22, "score": 0.9869219660758972, "start": 16, "tag": "NAME", "value": "Konode" } ]
src/expandedMetricWidget.coffee
LogicalOutcomes/KoNote
1
# Copyright (c) Konode. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # A component for indicating the presence or displaying the value of a metric. load = (win) -> $ = win.jQuery React ...
13721
# Copyright (c) <NAME>. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # A component for indicating the presence or displaying the value of a metric. load = (win) -> $ = win.jQuery React ...
true
# Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # A component for indicating the presence or displaying the value of a metric. load = (win) -> $ = win....
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9985715746879578, "start": 12, "tag": "NAME", "value": "Joyent" }, { "context": "new TCPConnectWrap()\n err = client.connect(req, \"127.0.0.1\", common.PORT)\n assert.equal ...
test/simple/test-tcp-wrap-connect.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...
176258
# 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": " extends Paginated Chaplin.Collection\n syncKey: 'someItems'\n urlRoot: '/test'\n\ndescribe 'Paginated mixin', ", "end": 309, "score": 0.9955729246139526, "start": 300, "tag": "KEY", "value": "someItems" } ]
mixins/models/paginated.spec.coffee
kpunith8/gringotts
0
import Chaplin from 'chaplin' import helper from '../../lib/mixin-helper' import Paginated from './paginated' import SyncKey from './sync-key' import ForcedReset from './forced-reset' import Queryable from './queryable' class PaginatedCollectionMock extends Paginated Chaplin.Collection syncKey: 'someItems' urlRoot...
63734
import Chaplin from 'chaplin' import helper from '../../lib/mixin-helper' import Paginated from './paginated' import SyncKey from './sync-key' import ForcedReset from './forced-reset' import Queryable from './queryable' class PaginatedCollectionMock extends Paginated Chaplin.Collection syncKey: '<KEY>' urlRoot: '/...
true
import Chaplin from 'chaplin' import helper from '../../lib/mixin-helper' import Paginated from './paginated' import SyncKey from './sync-key' import ForcedReset from './forced-reset' import Queryable from './queryable' class PaginatedCollectionMock extends Paginated Chaplin.Collection syncKey: 'PI:KEY:<KEY>END_PI' ...
[ { "context": "###\n turing-ui.coffee\n Fionan Haralddottir\n Spring 2015\n This program is published under t", "end": 44, "score": 0.9998866319656372, "start": 25, "tag": "NAME", "value": "Fionan Haralddottir" } ]
src/turing-ui.coffee
Lokidottir/coffeescript-turing-machine
0
### turing-ui.coffee Fionan Haralddottir Spring 2015 This program is published under the MIT licence ### {TuringRenderer} = require("./turing-renderer") {TuringTape} = require("./turing-tape") {TuringParser} = require("./turing-parser") ### This portion of the program assumed jquery ($) is defined wit...
19637
### turing-ui.coffee <NAME> Spring 2015 This program is published under the MIT licence ### {TuringRenderer} = require("./turing-renderer") {TuringTape} = require("./turing-tape") {TuringParser} = require("./turing-parser") ### This portion of the program assumed jquery ($) is defined within scope ###...
true
### turing-ui.coffee PI:NAME:<NAME>END_PI Spring 2015 This program is published under the MIT licence ### {TuringRenderer} = require("./turing-renderer") {TuringTape} = require("./turing-tape") {TuringParser} = require("./turing-parser") ### This portion of the program assumed jquery ($) is defined wi...
[ { "context": "he dom-events handling\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nElement.include Element_events =\n _listeners: ", "end": 197, "score": 0.999891996383667, "start": 180, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
stl/dom/src/element/events.coffee
lovely-io/lovely.io-stl
2
# # This file provides the standard events handling interface. # Basically it uses the {core.Events} mixin # but adoptes it for the dom-events handling # # Copyright (C) 2011-2012 Nikolay Nemshilov # Element.include Element_events = _listeners: null # the listeners index # # Attaching an event listener # # ...
60321
# # This file provides the standard events handling interface. # Basically it uses the {core.Events} mixin # but adoptes it for the dom-events handling # # Copyright (C) 2011-2012 <NAME> # Element.include Element_events = _listeners: null # the listeners index # # Attaching an event listener # # See the {co...
true
# # This file provides the standard events handling interface. # Basically it uses the {core.Events} mixin # but adoptes it for the dom-events handling # # Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI # Element.include Element_events = _listeners: null # the listeners index # # Attaching an event listener # ...
[ { "context": "->\n\n # Allow empty keys\n not key or /^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/.exec(key)\n\n debug: f", "end": 4699, "score": 0.8982974290847778, "start": 4692, "tag": "KEY", "value": "Za-z0-9" }, { "context": "ty keys\n not key or /^[A-Za-z0-9]+(?:[ _-...
lib/util.coffee
voxxit/peercoffee
0
((root, factory) -> if typeof define is "function" and define.amd define [], -> root.util = factory() else if typeof exports is "object" module.exports = factory() else root.util = factory() )(@, () -> defaultConfig = iceServers: [url: "stun:stun.l.google.com:19302"] dataCount = 1 util = no...
60094
((root, factory) -> if typeof define is "function" and define.amd define [], -> root.util = factory() else if typeof exports is "object" module.exports = factory() else root.util = factory() )(@, () -> defaultConfig = iceServers: [url: "stun:stun.l.google.com:19302"] dataCount = 1 util = no...
true
((root, factory) -> if typeof define is "function" and define.amd define [], -> root.util = factory() else if typeof exports is "object" module.exports = factory() else root.util = factory() )(@, () -> defaultConfig = iceServers: [url: "stun:stun.l.google.com:19302"] dataCount = 1 util = no...
[ { "context": "->\n \n uid = (len = 16, prefix = \"\", keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\") ->\n prefix += keyspace.charAt(Math.floor(Mat", "end": 150, "score": 0.9992707371711731, "start": 88, "tag": "KEY", "value": "ABCDEFGHIJKLMNOPQRSTUVWXYZab...
assets/js/models/stream.coffee
ggoodman/stsh
5
#= require ../lib/sharejs ((plunker) -> uid = (len = 16, prefix = "", keyspace = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") -> prefix += keyspace.charAt(Math.floor(Math.random() * keyspace.length)) while len-- > 0 prefix class plunker.Stream extends Backbone.Model initiali...
225403
#= require ../lib/sharejs ((plunker) -> uid = (len = 16, prefix = "", keyspace = "<KEY>") -> prefix += keyspace.charAt(Math.floor(Math.random() * keyspace.length)) while len-- > 0 prefix class plunker.Stream extends Backbone.Model initialize: -> self = @ @session = plunker.mod...
true
#= require ../lib/sharejs ((plunker) -> uid = (len = 16, prefix = "", keyspace = "PI:KEY:<KEY>END_PI") -> prefix += keyspace.charAt(Math.floor(Math.random() * keyspace.length)) while len-- > 0 prefix class plunker.Stream extends Backbone.Model initialize: -> self = @ @session ...
[ { "context": "').alias('n','nonce').alias('k','key').argv\nA = \"0123456789abcdef\"\nalpha = (n) -> (A for i in [0...n]).join(\"\")\nkey", "end": 169, "score": 0.8923548460006714, "start": 154, "tag": "KEY", "value": "123456789abcdef" } ]
dev/xsalsa20.iced
CyberFlameGO/triplesec
274
{Salsa20} = require '../src/salsa20' {WordArray} = require '../src/wordarray' argv = require('optimist').alias('n','nonce').alias('k','key').argv A = "0123456789abcdef" alpha = (n) -> (A for i in [0...n]).join("") key = argv.k or alpha 4 nonce = argv.n or alpha 3 eng = new Salsa20 (WordArray.from_hex_le key), (WordA...
125514
{Salsa20} = require '../src/salsa20' {WordArray} = require '../src/wordarray' argv = require('optimist').alias('n','nonce').alias('k','key').argv A = "0<KEY>" alpha = (n) -> (A for i in [0...n]).join("") key = argv.k or alpha 4 nonce = argv.n or alpha 3 eng = new Salsa20 (WordArray.from_hex_le key), (WordArray.from_...
true
{Salsa20} = require '../src/salsa20' {WordArray} = require '../src/wordarray' argv = require('optimist').alias('n','nonce').alias('k','key').argv A = "0PI:KEY:<KEY>END_PI" alpha = (n) -> (A for i in [0...n]).join("") key = argv.k or alpha 4 nonce = argv.n or alpha 3 eng = new Salsa20 (WordArray.from_hex_le key), (Wo...
[ { "context": "id\n@requires riakpbc\n@requires solr-client\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n{ EventEmitter }", "end": 926, "score": 0.9998759031295776, "start": 912, "tag": "NAME", "value": "Isaac Johnston" }, { "context": "pbc\n@requires solr-client\n@auth...
src/riak/Model.coffee
joukou/joukou-api
0
"use strict" ###* Copyright 2014 Joukou Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
110692
"use strict" ###* Copyright 2014 Joukou Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
true
"use strict" ###* Copyright 2014 Joukou Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
[ { "context": ", options, callback) ->\n provider = @\n key = \"#{@dbType}:#{@dbName}:#{typeName}\"\n Extension = extensions[key]\n\n if (!Extensi", "end": 180, "score": 0.9954531192779541, "start": 145, "tag": "KEY", "value": "\"#{@dbType}:#{@dbName}:#{typeName}\"" } ]
src/active/factory.coffee
frisb/formalize
2
ActiveMechanism = require('./mechanism') extensions = {} Factory = createRecord: (typeName, options, callback) -> provider = @ key = "#{@dbType}:#{@dbName}:#{typeName}" Extension = extensions[key] if (!Extension) extensions[key] = class Extension extends require("../provider/#{@dbType}/active...
96412
ActiveMechanism = require('./mechanism') extensions = {} Factory = createRecord: (typeName, options, callback) -> provider = @ key = <KEY> Extension = extensions[key] if (!Extension) extensions[key] = class Extension extends require("../provider/#{@dbType}/activerecord")(options) prov...
true
ActiveMechanism = require('./mechanism') extensions = {} Factory = createRecord: (typeName, options, callback) -> provider = @ key = PI:KEY:<KEY>END_PI Extension = extensions[key] if (!Extension) extensions[key] = class Extension extends require("../provider/#{@dbType}/activerecord")(options)...
[ { "context": " DMs you with a thank you reminder\n#\n# Author:\n# Andy Chosak\n\nmodule.exports = (robot) ->\n thanksKeywords = \"", "end": 263, "score": 0.9998070001602173, "start": 252, "tag": "NAME", "value": "Andy Chosak" }, { "context": "my, username, message] = res.match\n\n...
src/thankfulness.coffee
catops/hubot-thankfulness
1
# Description # A Hubot script that listens for thanks yous # # Configuration: # HUBOT_THANKS_URL - URL to remind thanker to visit # # Commands: # (thanks|thank you) @user for being awesome - bot DMs you with a thank you reminder # # Author: # Andy Chosak module.exports = (robot) -> thanksKeywords = "thanks|...
77285
# Description # A Hubot script that listens for thanks yous # # Configuration: # HUBOT_THANKS_URL - URL to remind thanker to visit # # Commands: # (thanks|thank you) @user for being awesome - bot DMs you with a thank you reminder # # Author: # <NAME> module.exports = (robot) -> thanksKeywords = "thanks|thank...
true
# Description # A Hubot script that listens for thanks yous # # Configuration: # HUBOT_THANKS_URL - URL to remind thanker to visit # # Commands: # (thanks|thank you) @user for being awesome - bot DMs you with a thank you reminder # # Author: # PI:NAME:<NAME>END_PI module.exports = (robot) -> thanksKeywords =...
[ { "context": "Memo} from 'react'\n\nexport useIdMap = (data, key = '_id') ->\n useMemo ->\n map = {}\n for item in da", "end": 66, "score": 0.9512550234794617, "start": 62, "tag": "KEY", "value": "'_id" } ]
client/lib/useIdMap.coffee
mehtank/comingle
37
import {useMemo} from 'react' export useIdMap = (data, key = '_id') -> useMemo -> map = {} for item in data map[item[key]] = item map , [data]
92064
import {useMemo} from 'react' export useIdMap = (data, key = <KEY>') -> useMemo -> map = {} for item in data map[item[key]] = item map , [data]
true
import {useMemo} from 'react' export useIdMap = (data, key = PI:KEY:<KEY>END_PI') -> useMemo -> map = {} for item in data map[item[key]] = item map , [data]
[ { "context": "###************************************\n* StromBewusst - Einspeisungsfetcher\n# *************************", "end": 55, "score": 0.9998206496238708, "start": 43, "tag": "NAME", "value": "StromBewusst" } ]
server/fetcher.coffee
rastapasta/strombewusst
0
###************************************ * StromBewusst - Einspeisungsfetcher # ************************************* # Configuration ### utils = require "utility" request = require "request" csv = require "csv" xml2js = require "xml2js" fs = require "fs" offline = true class Import class ImportTransnet extends Imp...
111046
###************************************ * <NAME> - Einspeisungsfetcher # ************************************* # Configuration ### utils = require "utility" request = require "request" csv = require "csv" xml2js = require "xml2js" fs = require "fs" offline = true class Import class ImportTransnet extends Import ...
true
###************************************ * PI:NAME:<NAME>END_PI - Einspeisungsfetcher # ************************************* # Configuration ### utils = require "utility" request = require "request" csv = require "csv" xml2js = require "xml2js" fs = require "fs" offline = true class Import class ImportTransnet ext...
[ { "context": "ect = () ->\n\tconsole.log(\"*** 開始 ***\");\n\tkeys = ['t1731','t1732','t1733',\n\t\t't1734','t1735','t1736',\n\t\t't173", "end": 641, "score": 0.9714826941490173, "start": 633, "tag": "KEY", "value": "t1731','" }, { "context": " ->\n\tconsole.log(\"*** 開始 ***\");\n\tke...
mcached/coffee/read/mcached_read.coffee
ekzemplaro/data_base_language
3
#! /usr/bin/coffee # ------------------------------------------------------------- # mcached_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # -----------...
44142
#! /usr/bin/coffee # ------------------------------------------------------------- # mcached_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # -----------...
true
#! /usr/bin/coffee # ------------------------------------------------------------- # mcached_read.coffee # # Aug/09/2013 # ------------------------------------------------------------- memcache = require('memcache'); json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate") # -----------...
[ { "context": "# generator-assemble v0.4.11\n# https://github.com/assemble/generator-assemble\n#\n# Copyright (c) 2014 Hariadi", "end": 86, "score": 0.9971816539764404, "start": 78, "tag": "USERNAME", "value": "assemble" }, { "context": "assemble/generator-assemble\n#\n# Copyright (c)...
Gruntfile.coffee
buraian/www-2014
0
# # Generated on 2014-04-07 # generator-assemble v0.4.11 # https://github.com/assemble/generator-assemble # # Copyright (c) 2014 Hariadi Hinta # Licensed under the MIT license. # module.exports = (grunt) -> "use strict" require("load-grunt-tasks") grunt require("time-grunt") grunt # Project configuration. g...
138705
# # Generated on 2014-04-07 # generator-assemble v0.4.11 # https://github.com/assemble/generator-assemble # # Copyright (c) 2014 <NAME> # Licensed under the MIT license. # module.exports = (grunt) -> "use strict" require("load-grunt-tasks") grunt require("time-grunt") grunt # Project configuration. grunt.in...
true
# # Generated on 2014-04-07 # generator-assemble v0.4.11 # https://github.com/assemble/generator-assemble # # Copyright (c) 2014 PI:NAME:<NAME>END_PI # Licensed under the MIT license. # module.exports = (grunt) -> "use strict" require("load-grunt-tasks") grunt require("time-grunt") grunt # Project configurati...
[ { "context": "形態素解析 <text> - 指定された<text>を形態素解析する\n#\n# Author:\n# yagizombie <yanagihara+zombie@brainpad.co.jp>\nchild_process ", "end": 119, "score": 0.9997243285179138, "start": 109, "tag": "USERNAME", "value": "yagizombie" }, { "context": "- 指定された<text>を形態素解析する\n#\n# Author:\n# ...
src/conomi-morphological-analysis.coffee
yagizombie/hubot-conomi-morphological-analysis
1
# Description # 指定された文章を形態素解析する # # Commands: # hubot 形態素解析 <text> - 指定された<text>を形態素解析する # # Author: # yagizombie <yanagihara+zombie@brainpad.co.jp> child_process = require 'child_process' module.exports = (robot) -> robot.respond /(形態素解析|ma)\s(.*)/i, (msg) -> msg.send "ぬぬぬっ (grumpycat)" child_proces...
217820
# Description # 指定された文章を形態素解析する # # Commands: # hubot 形態素解析 <text> - 指定された<text>を形態素解析する # # Author: # yagizombie <<EMAIL>> child_process = require 'child_process' module.exports = (robot) -> robot.respond /(形態素解析|ma)\s(.*)/i, (msg) -> msg.send "ぬぬぬっ (grumpycat)" child_process.exec "echo '" + msg.mat...
true
# Description # 指定された文章を形態素解析する # # Commands: # hubot 形態素解析 <text> - 指定された<text>を形態素解析する # # Author: # yagizombie <PI:EMAIL:<EMAIL>END_PI> child_process = require 'child_process' module.exports = (robot) -> robot.respond /(形態素解析|ma)\s(.*)/i, (msg) -> msg.send "ぬぬぬっ (grumpycat)" child_process.exec "ec...
[ { "context": " describe \"Settings\", ->\n mockPivotalToken = 'my_new_token'\n\n say \"I open the settings dialog\", ->\n ", "end": 130, "score": 0.9694105386734009, "start": 118, "tag": "PASSWORD", "value": "my_new_token" }, { "context": "xpect($('#pivotal-token-input')....
test/spec/tt.ui.spec.coffee
mence/TrackerTracker
3
describe "UI interactions", -> beforeEach -> TT.Init.init() describe "Settings", -> mockPivotalToken = 'my_new_token' say "I open the settings dialog", -> beforeEach -> $('#account-settings-link').click() it "should have an empty token field", -> expect($('#pivotal-token-...
63497
describe "UI interactions", -> beforeEach -> TT.Init.init() describe "Settings", -> mockPivotalToken = '<PASSWORD>' say "I open the settings dialog", -> beforeEach -> $('#account-settings-link').click() it "should have an empty token field", -> expect($('#pivotal-token-in...
true
describe "UI interactions", -> beforeEach -> TT.Init.init() describe "Settings", -> mockPivotalToken = 'PI:PASSWORD:<PASSWORD>END_PI' say "I open the settings dialog", -> beforeEach -> $('#account-settings-link').click() it "should have an empty token field", -> expect($(...
[ { "context": " user:\n email: email\n password: password\n contentType: \"application/json; charset=utf", "end": 618, "score": 0.9985119104385376, "start": 610, "tag": "PASSWORD", "value": "password" } ]
src/services/AccountService.coffee
ChattyCrow/chattycrow_app
0
class AccountService # Constructor constructor: (settings) -> @settingsService = settings @lastEmail = window.localStorage.getItem 'lastEmail' # Get account informations getInfo: (email, password, cb) -> # Set last email @lastEmail = email window.localStorage.setItem 'lastEmail', email, nul...
219267
class AccountService # Constructor constructor: (settings) -> @settingsService = settings @lastEmail = window.localStorage.getItem 'lastEmail' # Get account informations getInfo: (email, password, cb) -> # Set last email @lastEmail = email window.localStorage.setItem 'lastEmail', email, nul...
true
class AccountService # Constructor constructor: (settings) -> @settingsService = settings @lastEmail = window.localStorage.getItem 'lastEmail' # Get account informations getInfo: (email, password, cb) -> # Set last email @lastEmail = email window.localStorage.setItem 'lastEmail', email, nul...
[ { "context": "he reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat", "end": 16316, "score": 0.9472804069519043, "start": 16300, "tag": "NAME", "value": "terry richardson" }, { "context": "he reprehenderit, enim eiusmod ...
snippets/bs-snips.cson
Airhard/fu-atom
0
'.html': #=================== 'BS Alert Primary': 'prefix': 'bsAlertPrimary' 'body': """ <div class="alert alert-primary" role="alert"> $1 </div> """ #=================== 'BS Alert Secondary': 'prefix': 'bsAlertSecondary' 'body': """ <div class="alert alert-secondary" role="alert"> $1 </di...
54798
'.html': #=================== 'BS Alert Primary': 'prefix': 'bsAlertPrimary' 'body': """ <div class="alert alert-primary" role="alert"> $1 </div> """ #=================== 'BS Alert Secondary': 'prefix': 'bsAlertSecondary' 'body': """ <div class="alert alert-secondary" role="alert"> $1 </di...
true
'.html': #=================== 'BS Alert Primary': 'prefix': 'bsAlertPrimary' 'body': """ <div class="alert alert-primary" role="alert"> $1 </div> """ #=================== 'BS Alert Secondary': 'prefix': 'bsAlertSecondary' 'body': """ <div class="alert alert-secondary" role="alert"> $1 </di...
[ { "context": " email = $('#email').val()\n password = $('#password').val()\n\n @get('controllers.user').signIn(email, p", "end": 161, "score": 0.9512139558792114, "start": 143, "tag": "PASSWORD", "value": "$('#password').val" } ]
app/assets/javascripts/controllers/sign-in.coffee
rjfranco/pluto
0
Pluto.SignInController = Em.Controller.extend needs: ['user'] actions: signIn: -> email = $('#email').val() password = $('#password').val() @get('controllers.user').signIn(email, password).then (data) => if data.success @transitionToRoute 'index' else @...
199627
Pluto.SignInController = Em.Controller.extend needs: ['user'] actions: signIn: -> email = $('#email').val() password = <PASSWORD>() @get('controllers.user').signIn(email, password).then (data) => if data.success @transitionToRoute 'index' else @displayS...
true
Pluto.SignInController = Em.Controller.extend needs: ['user'] actions: signIn: -> email = $('#email').val() password = PI:PASSWORD:<PASSWORD>END_PI() @get('controllers.user').signIn(email, password).then (data) => if data.success @transitionToRoute 'index' else ...
[ { "context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri", "end": 42, "score": 0.9998453259468079, "start": 24, "tag": "NAME", "value": "Alexander Cherniuk" }, { "context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai...
library/gearbox/exchange.coffee
ts33kr/granite
6
### Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of co...
225093
### Copyright (c) 2013, <NAME> <<EMAIL>> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
true
### Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
[ { "context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.", "end": 50, "score": 0.9996577501296997, "start": 43, "tag": "NAME", "value": "Roy Liu" } ]
app/assets/javascripts/templates/all.coffee
carsomyr/nurf-stats
0
# -*- coding: utf-8 -*- # # Copyright 2015 Roy Liu # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
15268
# -*- coding: utf-8 -*- # # Copyright 2015 <NAME> # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
true
# -*- coding: utf-8 -*- # # Copyright 2015 PI:NAME:<NAME>END_PI # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ { "context": "viteCode: \"F3G3BZ\"\n\t\tadmins: [\n\t\t\tid: \"1\", name: \"Admin1\", email: \"admin@teamone.org\"\n\t\t],\n\t\tmembers: [\n\t\t", "end": 182, "score": 0.6641182899475098, "start": 176, "tag": "NAME", "value": "Admin1" }, { "context": "\"\n\t\tadmins: [\n\t\t\tid: \"1...
src/teams/team-service.coffee
Doogiemuc/liquido-backend-node
0
### Microservice for creating and joining a team ### # Dummy Data teamsData = { "1": id: "1" teamName: "Team One" inviteCode: "F3G3BZ" admins: [ id: "1", name: "Admin1", email: "admin@teamone.org" ], members: [ id: "101", name: "Member1", email: "member1@teamone.org" id: "102", name: "Member2",...
153173
### Microservice for creating and joining a team ### # Dummy Data teamsData = { "1": id: "1" teamName: "Team One" inviteCode: "F3G3BZ" admins: [ id: "1", name: "<NAME>", email: "<EMAIL>" ], members: [ id: "101", name: "<NAME>", email: "<EMAIL>" id: "102", name: "Member<NAME>", email: "<EMAIL>" ...
true
### Microservice for creating and joining a team ### # Dummy Data teamsData = { "1": id: "1" teamName: "Team One" inviteCode: "F3G3BZ" admins: [ id: "1", name: "PI:NAME:<NAME>END_PI", email: "PI:EMAIL:<EMAIL>END_PI" ], members: [ id: "101", name: "PI:NAME:<NAME>END_PI", email: "PI:EMAIL:<EMAIL>END...
[ { "context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje", "end": 22, "score": 0.9979248642921448, "start": 16, "tag": "NAME", "value": "Konode" } ]
src/persist/apiBuilder.coffee
LogicalOutcomes/KoNote
1
# Copyright (c) Konode. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # This module constructs the persistent object API based on a Session and a set # of data model definitions. Essential...
98471
# Copyright (c) <NAME>. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # This module constructs the persistent object API based on a Session and a set # of data model definitions. Essential...
true
# Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # This module constructs the persistent object API based on a Session and a set # of data model definitio...
[ { "context": "-Response:\nHTTP/1.1 200 OK\n{\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMFwvYXBpXC9hdXRoXC9jdXN0b21lcnNcL3ZlcmlmeS1hbmQtbG9naW4iLCJpYXQiOjE2MDg4NzcxNTYsImV4cCI6MTYwODg4MDc1NiwibmJmIjoxNjA4ODc3MTU2LCJqdGkiOiI4bWJOMGM0QVdYT2MxRjhtIiwic3ViI...
docs/Auth/Auth.coffee
zoersv210/Inspectors
0
### @api {post} /api/auth/inspectors/login Start login @apiName Login @apiDescription Start login. Send SMS @apiGroup Auth @apiVersion 0.1.0 @apiParam {String} email Required @apiParam {String} password Required @apiSuccessExample Success-Response: HTTP/1.1 200 OK { "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz...
53768
### @api {post} /api/auth/inspectors/login Start login @apiName Login @apiDescription Start login. Send SMS @apiGroup Auth @apiVersion 0.1.0 @apiParam {String} email Required @apiParam {String} password Required @apiSuccessExample Success-Response: HTTP/1.1 200 OK { "access_token": "<KEY>", "token_type": "bea...
true
### @api {post} /api/auth/inspectors/login Start login @apiName Login @apiDescription Start login. Send SMS @apiGroup Auth @apiVersion 0.1.0 @apiParam {String} email Required @apiParam {String} password Required @apiSuccessExample Success-Response: HTTP/1.1 200 OK { "access_token": "PI:KEY:<KEY>END_PI", "toke...
[ { "context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.", "end": 197, "score": 0.9998798370361328, "start": 180, "tag": "NAME", "value": "Benjamin Blundell" }, { "context": " PXL.js\n ...
test/animationTest.coffee
OniDaito/pxljs
1
### ABOUT .__ _________ __| | \____ \ \/ / | | |_> > <| |__ | __/__/\_ \____/ |__| \/ js PXL.js Benjamin Blundell - ben@pxljs.com http://pxljs.com This software is released under the MIT Licence. See LICENCE.txt for...
137494
### ABOUT .__ _________ __| | \____ \ \/ / | | |_> > <| |__ | __/__/\_ \____/ |__| \/ js PXL.js <NAME> - <EMAIL> http://pxljs.com This software is released under the MIT Licence. See LICENCE.txt for details ### c...
true
### ABOUT .__ _________ __| | \____ \ \/ / | | |_> > <| |__ | __/__/\_ \____/ |__| \/ js PXL.js PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI http://pxljs.com This software is released under the MIT Licence. See LIC...
[ { "context": "cker daemon\n# - receives sms using gammu\n# Author: Manuel Stofer\n#\n\ngammu = require './lib/gammu'\nnet = requi", "end": 93, "score": 0.9998617172241211, "start": 80, "tag": "NAME", "value": "Manuel Stofer" } ]
clients/sms/sms.coffee
manuelstofer/led-ticker
4
# # sms client for the led-ticker daemon # - receives sms using gammu # Author: Manuel Stofer # gammu = require './lib/gammu' net = require 'net' _ = require 'underscore' fs = require 'fs' # # connect to led ticker daemon connectToLedTicker = (callback)-> client = net.connect settings.daemon.port, settin...
184496
# # sms client for the led-ticker daemon # - receives sms using gammu # Author: <NAME> # gammu = require './lib/gammu' net = require 'net' _ = require 'underscore' fs = require 'fs' # # connect to led ticker daemon connectToLedTicker = (callback)-> client = net.connect settings.daemon.port, settings.daem...
true
# # sms client for the led-ticker daemon # - receives sms using gammu # Author: PI:NAME:<NAME>END_PI # gammu = require './lib/gammu' net = require 'net' _ = require 'underscore' fs = require 'fs' # # connect to led ticker daemon connectToLedTicker = (callback)-> client = net.connect settings.daemon.port,...
[ { "context": " return\n return\n\n @authenticate: (siteId, userName, passWord, callback) =>\n Utils.logInfo 'Authen", "end": 1555, "score": 0.8063967227935791, "start": 1547, "tag": "USERNAME", "value": "userName" }, { "context": "'siteId: ', siteId\n Utils.logInfo 'us...
backend/core/user.coffee
chiehwen/ResShoPos
1
jwt = require 'jwt-simple' async = require('async') hash = require('./pass').hash { serverConfig } = require '../config/init' { Utils } = require './utils' { userRoles } = require './routing-config' class User @dbProvider: null @cacheTokens: [] @getUser: (siteId, name, callback) => findConditions = null...
45870
jwt = require 'jwt-simple' async = require('async') hash = require('./pass').hash { serverConfig } = require '../config/init' { Utils } = require './utils' { userRoles } = require './routing-config' class User @dbProvider: null @cacheTokens: [] @getUser: (siteId, name, callback) => findConditions = null...
true
jwt = require 'jwt-simple' async = require('async') hash = require('./pass').hash { serverConfig } = require '../config/init' { Utils } = require './utils' { userRoles } = require './routing-config' class User @dbProvider: null @cacheTokens: [] @getUser: (siteId, name, callback) => findConditions = null...
[ { "context": "');\nmainStage = ['or,', 'the realistic joneses', 'mr. kolpert', 'the new electric ballroom', 'annapurna', 'the ", "end": 208, "score": 0.9990307092666626, "start": 197, "tag": "NAME", "value": "mr. kolpert" }, { "context": "tamp instance.formattedDates.ISO8601\n ...
coffee/calendar.coffee
rollandwalsh/third-rail-wp
0
api = 'https://thirdrailrep.secure.force.com/ticket/PatronTicket__PublicApiEventList' cal = $('#trCalendar') calContainer = $('#trCalendarContainer'); mainStage = ['or,', 'the realistic joneses', 'mr. kolpert', 'the new electric ballroom', 'annapurna', 'the nether', 'the angry brigade'] ntLive = ['hamlet', 'skylight', ...
210707
api = 'https://thirdrailrep.secure.force.com/ticket/PatronTicket__PublicApiEventList' cal = $('#trCalendar') calContainer = $('#trCalendarContainer'); mainStage = ['or,', 'the realistic joneses', '<NAME>', 'the new electric ballroom', 'annapurna', 'the nether', 'the angry brigade'] ntLive = ['hamlet', 'skylight', 'the ...
true
api = 'https://thirdrailrep.secure.force.com/ticket/PatronTicket__PublicApiEventList' cal = $('#trCalendar') calContainer = $('#trCalendarContainer'); mainStage = ['or,', 'the realistic joneses', 'PI:NAME:<NAME>END_PI', 'the new electric ballroom', 'annapurna', 'the nether', 'the angry brigade'] ntLive = ['hamlet', 'sk...
[ { "context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s", "end": 31, "score": 0.9980423450469971, "start": 24, "tag": "NAME", "value": "Groupon" } ]
src/server/couchdb/index.coffee
Mefiso/greenscreen
729
### Copyright (c) 2014, Groupon All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla...
70403
### Copyright (c) 2014, <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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai...
true
### Copyright (c) 2014, 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
[ { "context": "DROPBOX_APP_KEY = 'n5z7guvmh1xril9'\nclient = new Dropbox.Client({key: DROPBOX_APP_KE", "end": 34, "score": 0.9849767088890076, "start": 19, "tag": "KEY", "value": "n5z7guvmh1xril9" } ]
ram-swipe-actions/js/Data.Dropbox.coffee
vorg/ram-old
0
DROPBOX_APP_KEY = 'n5z7guvmh1xril9' client = new Dropbox.Client({key: DROPBOX_APP_KEY}) Ram.Data = EventDispatcher.extend({ init: (callback) -> self = this client.authenticate({interactive:false}, (error) -> if error then alert('Authentication error: ' + error); ); if client.isAuthenticated()...
56305
DROPBOX_APP_KEY = '<KEY>' client = new Dropbox.Client({key: DROPBOX_APP_KEY}) Ram.Data = EventDispatcher.extend({ init: (callback) -> self = this client.authenticate({interactive:false}, (error) -> if error then alert('Authentication error: ' + error); ); if client.isAuthenticated() cli...
true
DROPBOX_APP_KEY = 'PI:KEY:<KEY>END_PI' client = new Dropbox.Client({key: DROPBOX_APP_KEY}) Ram.Data = EventDispatcher.extend({ init: (callback) -> self = this client.authenticate({interactive:false}, (error) -> if error then alert('Authentication error: ' + error); ); if client.isAuthenticate...
[ { "context": " uuid: 'authenticator-uuid'\n token: 'authenticator-token'\n privateKey: MESHBLU_PRIVATE_KEY\n\n @se", "end": 1423, "score": 0.9300305843353271, "start": 1404, "tag": "PASSWORD", "value": "authenticator-token" }, { "context": "ndom-uuid'\n ...
test/integration/respond-to-spec.coffee
octoblu/meshblu-authenticator-local-exchange
0
{beforeEach, describe, it} = global {expect} = require 'chai' fs = require 'fs' IORedis = require 'ioredis' _ = require 'lodash' path = require 'path' RedisNS = require '@octoblu/redis-ns' request = require 'request' Server = require '../../src/server' MESHBLU...
125069
{beforeEach, describe, it} = global {expect} = require 'chai' fs = require 'fs' IORedis = require 'ioredis' _ = require 'lodash' path = require 'path' RedisNS = require '@octoblu/redis-ns' request = require 'request' Server = require '../../src/server' MESHBLU...
true
{beforeEach, describe, it} = global {expect} = require 'chai' fs = require 'fs' IORedis = require 'ioredis' _ = require 'lodash' path = require 'path' RedisNS = require '@octoblu/redis-ns' request = require 'request' Server = require '../../src/server' MESHBLU...
[ { "context": "module.exports = [\n\t{name: \"john\"}\n\t{name: \"mary\"}\n]\n", "end": 32, "score": 0.9992679357528687, "start": 28, "tag": "NAME", "value": "john" }, { "context": "module.exports = [\n\t{name: \"john\"}\n\t{name: \"mary\"}\n]\n", "end": 48, "score": 0.9993764...
test/authors.coffee
alxarch/attach-model
1
module.exports = [ {name: "john"} {name: "mary"} ]
71545
module.exports = [ {name: "<NAME>"} {name: "<NAME>"} ]
true
module.exports = [ {name: "PI:NAME:<NAME>END_PI"} {name: "PI:NAME:<NAME>END_PI"} ]
[ { "context": " @resource = new ResourceSchema @model, name: 'name', uniqueKey: 'properties.uniqueKey'\n\n withSe", "end": 2034, "score": 0.5681778788566589, "start": 2030, "tag": "NAME", "value": "name" }, { "context": " ResourceSchema @model, name: 'name', uniqueKey: 'proper...
test/normal_schema/get/get_one.coffee
goodeggs/resource-schema
3
{suite, given} = require '../../support/helpers' fibrous = require 'fibrous' mongoose = require 'mongoose' expect = require('chai').expect sinon = require 'sinon' ResourceSchema = require '../../..' suite 'GET one', ({withModel, withServer}) -> given 'no params', -> describe 'with a simple resource', -> w...
118576
{suite, given} = require '../../support/helpers' fibrous = require 'fibrous' mongoose = require 'mongoose' expect = require('chai').expect sinon = require 'sinon' ResourceSchema = require '../../..' suite 'GET one', ({withModel, withServer}) -> given 'no params', -> describe 'with a simple resource', -> w...
true
{suite, given} = require '../../support/helpers' fibrous = require 'fibrous' mongoose = require 'mongoose' expect = require('chai').expect sinon = require 'sinon' ResourceSchema = require '../../..' suite 'GET one', ({withModel, withServer}) -> given 'no params', -> describe 'with a simple resource', -> w...
[ { "context": ": 1 << 13 # introduced in TDS 7.2\n key: 1 << 14 # introduced in TDS 7.2\n nullableUnk", "end": 528, "score": 0.9739130139350891, "start": 521, "tag": "KEY", "value": "1 << 14" } ]
src/bulk-load.coffee
sgermain06/tedious-int64-native
1
EventEmitter = require('events').EventEmitter WritableTrackingBuffer = require('./tracking-buffer/tracking-buffer').WritableTrackingBuffer; TOKEN_TYPE = require('./token/token').TYPE; FLAGS = nullable: 1 << 0 caseSen: 1 << 1 updateableReadWrite: 1 << 2 updateableUnknown: 1 << 3 identity: 1 << 4 computed: ...
147221
EventEmitter = require('events').EventEmitter WritableTrackingBuffer = require('./tracking-buffer/tracking-buffer').WritableTrackingBuffer; TOKEN_TYPE = require('./token/token').TYPE; FLAGS = nullable: 1 << 0 caseSen: 1 << 1 updateableReadWrite: 1 << 2 updateableUnknown: 1 << 3 identity: 1 << 4 computed: ...
true
EventEmitter = require('events').EventEmitter WritableTrackingBuffer = require('./tracking-buffer/tracking-buffer').WritableTrackingBuffer; TOKEN_TYPE = require('./token/token').TYPE; FLAGS = nullable: 1 << 0 caseSen: 1 << 1 updateableReadWrite: 1 << 2 updateableUnknown: 1 << 3 identity: 1 << 4 computed: ...
[ { "context": "e or \"Invalid email address. Must be of the form 'john@website.com'\"\n else\n target.hasError false\n targ", "end": 1178, "score": 0.9998767971992493, "start": 1162, "tag": "EMAIL", "value": "john@website.com" } ]
assets/scripts/knockout-extenders.coffee
cmckni3-boneyard/basic-cms
1
ko.extenders.subscribe = (target, fn) -> target.subscribe fn target ####################### ############ Validation ko.extenders.required = (target, message) -> #add some sub-observables to our observable target.hasError = ko.observable() target.validationMessage = ko.observable() #define a function to do...
13877
ko.extenders.subscribe = (target, fn) -> target.subscribe fn target ####################### ############ Validation ko.extenders.required = (target, message) -> #add some sub-observables to our observable target.hasError = ko.observable() target.validationMessage = ko.observable() #define a function to do...
true
ko.extenders.subscribe = (target, fn) -> target.subscribe fn target ####################### ############ Validation ko.extenders.required = (target, message) -> #add some sub-observables to our observable target.hasError = ko.observable() target.validationMessage = ko.observable() #define a function to do...
[ { "context": " <label for=\"defence_request_detainee_name\">Full Name</label>\n <input data-disable-when=\"defence_req", "end": 278, "score": 0.5292863845825195, "start": 274, "tag": "NAME", "value": "Name" } ]
spec/javascripts/disable_checker_spec.coffee
ministryofjustice/defence-request-service
1
//= require jquery //= require jasmine-jquery //= require disable_checker fixtureHtml = (isChecked) -> if isChecked checked = 'checked="checked"' else checked = "" $(""" <body> <div class="form-group"> <label for="defence_request_detainee_name">Full Name</label> <input data-disable-when="def...
64382
//= require jquery //= require jasmine-jquery //= require disable_checker fixtureHtml = (isChecked) -> if isChecked checked = 'checked="checked"' else checked = "" $(""" <body> <div class="form-group"> <label for="defence_request_detainee_name">Full <NAME></label> <input data-disable-when="d...
true
//= require jquery //= require jasmine-jquery //= require disable_checker fixtureHtml = (isChecked) -> if isChecked checked = 'checked="checked"' else checked = "" $(""" <body> <div class="form-group"> <label for="defence_request_detainee_name">Full PI:NAME:<NAME>END_PI</label> <input data-d...
[ { "context": "mework in CoffeeScript ####\n### Copyright(c) 2012 Kris Windham ####\n### <kriswindham@gmail.com> ", "end": 469, "score": 0.9998650550842285, "start": 457, "tag": "NAME", "value": "Kris Windham" }, { "context": "right(c) 2012 Kris Windham #...
src/saucer.coffee
gradus/saucer
0
####################################################### ### ___ __ __ __ ___ ____ ____ ##### ### / __) /__\ ( )( )/ __)( ___)( _ \ ##### ### \__ \ /(__)\ )(__) (( (__ )__)( ) / ##### ### (___/(__)(__)(______)\___)(____)(_)\_) ##### ### ...
182762
####################################################### ### ___ __ __ __ ___ ____ ____ ##### ### / __) /__\ ( )( )/ __)( ___)( _ \ ##### ### \__ \ /(__)\ )(__) (( (__ )__)( ) / ##### ### (___/(__)(__)(______)\___)(____)(_)\_) ##### ### ...
true
####################################################### ### ___ __ __ __ ___ ____ ____ ##### ### / __) /__\ ( )( )/ __)( ___)( _ \ ##### ### \__ \ /(__)\ )(__) (( (__ )__)( ) / ##### ### (___/(__)(__)(______)\___)(____)(_)\_) ##### ### ...
[ { "context": "avaScript Library Boilerplate\n# Copyright (c) 2013 Denis Ciccale (@tdecs)\n# Released under MIT license (https://ra", "end": 67, "score": 0.9998764991760254, "start": 54, "tag": "NAME", "value": "Denis Ciccale" }, { "context": "ary Boilerplate\n# Copyright (c) 2013 Den...
jslibraryboilerplate.coffee
dciccale/jslibraryboilerplate
20
# JavaScript Library Boilerplate # Copyright (c) 2013 Denis Ciccale (@tdecs) # Released under MIT license (https://raw.github.com/dciccale/jslibraryboilerplate/master/LICENSE.txt) ((window) -> # helper methods document = window.document push = [].push slice = [].slice splice = [].splice forEach = [].forEa...
114048
# JavaScript Library Boilerplate # Copyright (c) 2013 <NAME> (@tdecs) # Released under MIT license (https://raw.github.com/dciccale/jslibraryboilerplate/master/LICENSE.txt) ((window) -> # helper methods document = window.document push = [].push slice = [].slice splice = [].splice forEach = [].forEach #...
true
# JavaScript Library Boilerplate # Copyright (c) 2013 PI:NAME:<NAME>END_PI (@tdecs) # Released under MIT license (https://raw.github.com/dciccale/jslibraryboilerplate/master/LICENSE.txt) ((window) -> # helper methods document = window.document push = [].push slice = [].slice splice = [].splice forEach = [...
[ { "context": " Create a new user and save it to the database\n benBitdiddle = User.build\n id: '12345'\n avatar: 'htt", "end": 391, "score": 0.9954431056976318, "start": 379, "tag": "USERNAME", "value": "benBitdiddle" }, { "context": "atar: 'http://www.foo.com/test.png'\...
test/users.coffee
kvchen/floodway
0
expect = require('chai').expect nconf = require 'nconf' thinky = require '../app/lib/db' logger = require '../app/lib/logger' helpers = require './helpers' User = require '../app/models/user' describe 'User models', -> # beforeEach (done) -> # helpers.clearDatabase done it 'should create a new user', ...
61115
expect = require('chai').expect nconf = require 'nconf' thinky = require '../app/lib/db' logger = require '../app/lib/logger' helpers = require './helpers' User = require '../app/models/user' describe 'User models', -> # beforeEach (done) -> # helpers.clearDatabase done it 'should create a new user', ...
true
expect = require('chai').expect nconf = require 'nconf' thinky = require '../app/lib/db' logger = require '../app/lib/logger' helpers = require './helpers' User = require '../app/models/user' describe 'User models', -> # beforeEach (done) -> # helpers.clearDatabase done it 'should create a new user', ...
[ { "context": " for 'the_modulus' quiz.\n\n :copyright: (c) 2015 Luke Southam <luke@devthe.com>.\n :license: New BSD, see LIC", "end": 223, "score": 0.9998562335968018, "start": 211, "tag": "NAME", "value": "Luke Southam" }, { "context": "us' quiz.\n\n :copyright: (c) 2015 Lu...
complexity/assets/coffee/quizzes/the_modulus.coffee
o4dev/Complexity
1
##!/usr/bin/env coffee # -*- coding: UTF-8 -*- ### Complexity: quizzes/the_modulus.coffee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Client side script for 'the_modulus' quiz. :copyright: (c) 2015 Luke Southam <luke@devthe.com>. :license: New BSD, see LICENSE for more details. ### class QuizPageData ...
173022
##!/usr/bin/env coffee # -*- coding: UTF-8 -*- ### Complexity: quizzes/the_modulus.coffee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Client side script for 'the_modulus' quiz. :copyright: (c) 2015 <NAME> <<EMAIL>>. :license: New BSD, see LICENSE for more details. ### class QuizPageData ### Ma...
true
##!/usr/bin/env coffee # -*- coding: UTF-8 -*- ### Complexity: quizzes/the_modulus.coffee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Client side script for 'the_modulus' quiz. :copyright: (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>. :license: New BSD, see LICENSE for more details. ### clas...
[ { "context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'lsct'\n\n SECTION_DIVIDER_TYPES = [\n 'other'\n 'op", "end": 143, "score": 0.7207823395729065, "start": 139, "tag": "KEY", "value": "lsct" } ]
lib/psd/layer_info/section_divider.coffee
LoginovIlya/psd.js
2,218
LayerInfo = require '../layer_info.coffee' module.exports = class NestedSectionDivider extends LayerInfo @shouldParse: (key) -> key is 'lsct' SECTION_DIVIDER_TYPES = [ 'other' 'open folder' 'closed folder' 'bounding section divider' ] constructor: (layer, length) -> super(layer, length) ...
223486
LayerInfo = require '../layer_info.coffee' module.exports = class NestedSectionDivider extends LayerInfo @shouldParse: (key) -> key is '<KEY>' SECTION_DIVIDER_TYPES = [ 'other' 'open folder' 'closed folder' 'bounding section divider' ] constructor: (layer, length) -> super(layer, length) ...
true
LayerInfo = require '../layer_info.coffee' module.exports = class NestedSectionDivider extends LayerInfo @shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI' SECTION_DIVIDER_TYPES = [ 'other' 'open folder' 'closed folder' 'bounding section divider' ] constructor: (layer, length) -> super(la...
[ { "context": "nd compiled JavaScript for FooBot.\n#\n# Author:\n# JustinMorgan@GitHub\n#\nsae = require \"swiss-army-eval\"\ncoffee =", "end": 729, "score": 0.7549776434898376, "start": 717, "tag": "NAME", "value": "JustinMorgan" }, { "context": "name]? \n throw \"I've already...
src/newbot.coffee
JustinMorgan/hubot-newbot
1
# Description: # Spins up a new, temporary hubot script in memory. # # Dependencies: # coffee-script # swiss-army-eval # # Commands: # hubot newbot FooBot /foo/i (msg) -> msg.send "bar" - Creates a NewBot named FooBot that responds "bar" to the command "hubot foo". # hubot listenbot FooBot /foo/i (msg) -> msg...
199109
# Description: # Spins up a new, temporary hubot script in memory. # # Dependencies: # coffee-script # swiss-army-eval # # Commands: # hubot newbot FooBot /foo/i (msg) -> msg.send "bar" - Creates a NewBot named FooBot that responds "bar" to the command "hubot foo". # hubot listenbot FooBot /foo/i (msg) -> msg...
true
# Description: # Spins up a new, temporary hubot script in memory. # # Dependencies: # coffee-script # swiss-army-eval # # Commands: # hubot newbot FooBot /foo/i (msg) -> msg.send "bar" - Creates a NewBot named FooBot that responds "bar" to the command "hubot foo". # hubot listenbot FooBot /foo/i (msg) -> msg...
[ { "context": "cipient.hashed = true\nassertion.recipient.salt = \"salt\"\nassertion.verify.url = assertion.verify.url.repl", "end": 681, "score": 0.5496225953102112, "start": 677, "tag": "PASSWORD", "value": "salt" } ]
hash-and-sign.coffee
davious/badge101
0
jws = require 'jws' fs = require 'node-fs' crypto = require 'crypto' ARGV = process.argv[1..] if ARGV.length == 2 badgeName = ARGV[1] badgePath = "#{__dirname}/awards/#{badgeName}" if fs.existsSync "#{badgePath}.json" assertion = fs.readFileSync "#{badgePath}.json" else console.log "#{badgeName} not f...
189806
jws = require 'jws' fs = require 'node-fs' crypto = require 'crypto' ARGV = process.argv[1..] if ARGV.length == 2 badgeName = ARGV[1] badgePath = "#{__dirname}/awards/#{badgeName}" if fs.existsSync "#{badgePath}.json" assertion = fs.readFileSync "#{badgePath}.json" else console.log "#{badgeName} not f...
true
jws = require 'jws' fs = require 'node-fs' crypto = require 'crypto' ARGV = process.argv[1..] if ARGV.length == 2 badgeName = ARGV[1] badgePath = "#{__dirname}/awards/#{badgeName}" if fs.existsSync "#{badgePath}.json" assertion = fs.readFileSync "#{badgePath}.json" else console.log "#{badgeName} not f...
[ { "context": "d\"])\n $scope.form.errors[\"password.password2\"] = response[\"password\"]\n\n users.controller 'Log", "end": 2473, "score": 0.8420495986938477, "start": 2464, "tag": "PASSWORD", "value": "password2" }, { "context": "[\"password\"])\n $sc...
modules/users/app/assets/javascripts/users/main.coffee
camilosampedro/atonwebapp
0
'use strict' define(['angular'], (angular) -> users = angular.module('users', ['ngResource', 'ngRoute']) users.config [ '$routeProvider', ($routeProvider) -> $routeProvider.when '/home', templateUrl: 'users/vassets/partials/home.tpl.html' $routeProvider.when '/login', template...
157416
'use strict' define(['angular'], (angular) -> users = angular.module('users', ['ngResource', 'ngRoute']) users.config [ '$routeProvider', ($routeProvider) -> $routeProvider.when '/home', templateUrl: 'users/vassets/partials/home.tpl.html' $routeProvider.when '/login', template...
true
'use strict' define(['angular'], (angular) -> users = angular.module('users', ['ngResource', 'ngRoute']) users.config [ '$routeProvider', ($routeProvider) -> $routeProvider.when '/home', templateUrl: 'users/vassets/partials/home.tpl.html' $routeProvider.when '/login', template...
[ { "context": "@el = opts.el\n @canvas = opts.canvas\n\n key '1,2,3,4,5,6,7,8', (event, handler) =>\n @el.find(\"[data-optio", "end": 302, "score": 0.9533714056015015, "start": 287, "tag": "KEY", "value": "1,2,3,4,5,6,7,8" } ]
source/javascripts/views/options.coffee
vroy/grasp
1
Grasp.Options = Backbone.View.extend events: "click [name=dump-json-to-console]": "dumpToConsole" "click [name=dump-open-as-image]": "openAsImage" "change [name=element-type]": "typeChanged" initialize: (opts={}) -> @el = opts.el @canvas = opts.canvas key '1,2,3,4,5,6,7,8', (event, handler...
80153
Grasp.Options = Backbone.View.extend events: "click [name=dump-json-to-console]": "dumpToConsole" "click [name=dump-open-as-image]": "openAsImage" "change [name=element-type]": "typeChanged" initialize: (opts={}) -> @el = opts.el @canvas = opts.canvas key '<KEY>', (event, handler) => ...
true
Grasp.Options = Backbone.View.extend events: "click [name=dump-json-to-console]": "dumpToConsole" "click [name=dump-open-as-image]": "openAsImage" "change [name=element-type]": "typeChanged" initialize: (opts={}) -> @el = opts.el @canvas = opts.canvas key 'PI:KEY:<KEY>END_PI', (event, hand...
[ { "context": "k', race: 'elf' }\n { type: 'armor', name: 'jerkin', defense: 2 }\n ]\n \n comps = estore.", "end": 1065, "score": 0.9940749406814575, "start": 1059, "tag": "NAME", "value": "jerkin" }, { "context": "k', race: 'elf' }\n { type: 'armor', name: ...
spec/ecs/entity_store_spec.coffee
dcrosby42/metroid-clone
5
_ = require 'lodash' Immutable = require 'immutable' {Map,Set,Seq,List} = Immutable imm = Immutable.fromJS ExpectHelpers = require '../helpers/expect_helpers' expectIs = ExpectHelpers.expectIs chai = require('chai') expect = chai.expect assert = chai.assert EntityStore = require '../../src/javascript/ecs/entity_st...
220419
_ = require 'lodash' Immutable = require 'immutable' {Map,Set,Seq,List} = Immutable imm = Immutable.fromJS ExpectHelpers = require '../helpers/expect_helpers' expectIs = ExpectHelpers.expectIs chai = require('chai') expect = chai.expect assert = chai.assert EntityStore = require '../../src/javascript/ecs/entity_st...
true
_ = require 'lodash' Immutable = require 'immutable' {Map,Set,Seq,List} = Immutable imm = Immutable.fromJS ExpectHelpers = require '../helpers/expect_helpers' expectIs = ExpectHelpers.expectIs chai = require('chai') expect = chai.expect assert = chai.assert EntityStore = require '../../src/javascript/ecs/entity_st...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999107122421265, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/_components/block-button.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 * as React from 'react' import { button, div, i, span } from 'react-dom-factories' import { Spinner } from 'spinner' el = React.createElem...
222063
# 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 * as React from 'react' import { button, div, i, span } from 'react-dom-factories' import { Spinner } from 'spinner' el = React.createElement bn...
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 * as React from 'react' import { button, div, i, span } from 'react-dom-factories' import { Spinner } from 'spinner' el = React.cr...
[ { "context": "# #Angular-Inview\n# - Author: [Nicola Peduzzi](https://github.com/thenikso)\n# - Repository: htt", "end": 45, "score": 0.999872088432312, "start": 31, "tag": "NAME", "value": "Nicola Peduzzi" }, { "context": "w\n# - Author: [Nicola Peduzzi](https://github.com/thenikso)...
angular-inview.coffee
bdo-labs/angular-inview
0
# #Angular-Inview # - Author: [Nicola Peduzzi](https://github.com/thenikso) # - Repository: https://github.com/thenikso/angular-inview # - Install with: `bower install angular-inview` # - Version: **1.3.4** 'use strict' # An [angular.js](https://angularjs.org) directive to evaluate an expression if # a DOM element is...
155238
# #Angular-Inview # - Author: [<NAME>](https://github.com/thenikso) # - Repository: https://github.com/thenikso/angular-inview # - Install with: `bower install angular-inview` # - Version: **1.3.4** 'use strict' # An [angular.js](https://angularjs.org) directive to evaluate an expression if # a DOM element is or not ...
true
# #Angular-Inview # - Author: [PI:NAME:<NAME>END_PI](https://github.com/thenikso) # - Repository: https://github.com/thenikso/angular-inview # - Install with: `bower install angular-inview` # - Version: **1.3.4** 'use strict' # An [angular.js](https://angularjs.org) directive to evaluate an expression if # a DOM elem...
[ { "context": " ->\n [\n {\n actor:\n name: 'John Doe'\n url: '#'\n icon:\n a", "end": 89, "score": 0.9991575479507446, "start": 81, "tag": "NAME", "value": "John Doe" } ]
app/client/views/feed/feed.coffee
CollabSpace/GitSocial
1
Template.feed.helpers events: -> [ { actor: name: 'John Doe' url: '#' icon: action: 'edit' url: '/user.png' date: '1 hour ago' summary: 'posted a status' likes: 32 } ]
191341
Template.feed.helpers events: -> [ { actor: name: '<NAME>' url: '#' icon: action: 'edit' url: '/user.png' date: '1 hour ago' summary: 'posted a status' likes: 32 } ]
true
Template.feed.helpers events: -> [ { actor: name: 'PI:NAME:<NAME>END_PI' url: '#' icon: action: 'edit' url: '/user.png' date: '1 hour ago' summary: 'posted a status' likes: 32 } ]
[ { "context": "te} = window\n\nproductJSON =\n product:\n name: 'test'\n id: 10\n\nrestStorageTestSuite = ->\n asyncTes", "end": 182, "score": 0.999479353427887, "start": 178, "tag": "NAME", "value": "test" }, { "context": "aData: \"foo\"\n products: [\n name: ...
tests/batman/storage_adapter/rest_storage_helper.coffee
nickjs/batman
1
if typeof require isnt 'undefined' {sharedStorageTestSuite} = require('./storage_adapter_helper') else {sharedStorageTestSuite} = window productJSON = product: name: 'test' id: 10 restStorageTestSuite = -> asyncTest 'response metadata should be available in the after read callbacks', 3, -> MockReq...
168417
if typeof require isnt 'undefined' {sharedStorageTestSuite} = require('./storage_adapter_helper') else {sharedStorageTestSuite} = window productJSON = product: name: '<NAME>' id: 10 restStorageTestSuite = -> asyncTest 'response metadata should be available in the after read callbacks', 3, -> MockR...
true
if typeof require isnt 'undefined' {sharedStorageTestSuite} = require('./storage_adapter_helper') else {sharedStorageTestSuite} = window productJSON = product: name: 'PI:NAME:<NAME>END_PI' id: 10 restStorageTestSuite = -> asyncTest 'response metadata should be available in the after read callbacks', 3...
[ { "context": " (x)-> x*x\n\n class User\n constructor: (@name, @age)->\n method: ->\n attribute: \"att", "end": 818, "score": 0.9250138998031616, "start": 814, "tag": "USERNAME", "value": "name" }, { "context": "te: \"test\"\n\n userClz = new joap.object.Cla...
spec/JOAPObjects.spec.coffee
flosse/node-xmpp-joap
0
chai = require 'chai' expect = chai.expect joap = require "../src/node-xmpp-joap" describe "JOAPClass", -> it "is has a constructor", -> obj = new joap.object.Class "component.tld" (expect typeof obj.jid).to.equal "object" (expect typeof obj.creator).to.equal "function" (expect typeof o...
105976
chai = require 'chai' expect = chai.expect joap = require "../src/node-xmpp-joap" describe "JOAPClass", -> it "is has a constructor", -> obj = new joap.object.Class "component.tld" (expect typeof obj.jid).to.equal "object" (expect typeof obj.creator).to.equal "function" (expect typeof o...
true
chai = require 'chai' expect = chai.expect joap = require "../src/node-xmpp-joap" describe "JOAPClass", -> it "is has a constructor", -> obj = new joap.object.Class "component.tld" (expect typeof obj.jid).to.equal "object" (expect typeof obj.creator).to.equal "function" (expect typeof o...
[ { "context": "beforeEach ->\n process.env.HUBOT_AUTH_ADMIN = \"alice\"\n @room = helper.createRoom()\n @room.robot.", "end": 180, "score": 0.5370606184005737, "start": 175, "tag": "NAME", "value": "alice" }, { "context": "per.createRoom()\n @room.robot.brain.userForId \"a...
node_modules/hubot-auth/test/auth-test.coffee
Viper702/riley-reid
0
Helper = require("hubot-test-helper") helper = new Helper("../src") expect = require("chai").expect describe "auth", -> beforeEach -> process.env.HUBOT_AUTH_ADMIN = "alice" @room = helper.createRoom() @room.robot.brain.userForId "alice", name: "alice" @room.robot.brain.userForId "jimmy", ...
60555
Helper = require("hubot-test-helper") helper = new Helper("../src") expect = require("chai").expect describe "auth", -> beforeEach -> process.env.HUBOT_AUTH_ADMIN = "<NAME>" @room = helper.createRoom() @room.robot.brain.userForId "<NAME>", name: "<NAME>" @room.robot.brain.userForId "jimmy", ...
true
Helper = require("hubot-test-helper") helper = new Helper("../src") expect = require("chai").expect describe "auth", -> beforeEach -> process.env.HUBOT_AUTH_ADMIN = "PI:NAME:<NAME>END_PI" @room = helper.createRoom() @room.robot.brain.userForId "PI:NAME:<NAME>END_PI", name: "PI:NAME:<NAME>END_PI" ...
[ { "context": "2key, price.channel.id)\n channelKeyPart = \"##{@channelService.id2key[price.channel.id]}\"\n ", "end": 7402, "score": 0.7829346060752869, "start": 7400, "tag": "KEY", "value": "##" }, { "context": "Part = \"##{@channelService.id2key[price.channel.id]}\"\n ...
src/coffee/exportmapping.coffee
easybi-vv/sphere-node-product-csv-sync-1
0
_ = require 'underscore' _.mixin require('underscore.string').exports() CONS = require './constants' GLOBALS = require './globals' # TODO: # - JSDoc # - no services!!! # - utils only class ExportMapping constructor: (options = {}) -> @typesService = options.typesService @categoryService = options.categorySe...
100819
_ = require 'underscore' _.mixin require('underscore.string').exports() CONS = require './constants' GLOBALS = require './globals' # TODO: # - JSDoc # - no services!!! # - utils only class ExportMapping constructor: (options = {}) -> @typesService = options.typesService @categoryService = options.categorySe...
true
_ = require 'underscore' _.mixin require('underscore.string').exports() CONS = require './constants' GLOBALS = require './globals' # TODO: # - JSDoc # - no services!!! # - utils only class ExportMapping constructor: (options = {}) -> @typesService = options.typesService @categoryService = options.categorySe...
[ { "context": " hubot XXX [<args>] - DESCRIPTION\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nmodule.exports = (robot) ->\n A", "end": 152, "score": 0.9997462034225464, "start": 145, "tag": "USERNAME", "value": "bouzuya" }, { "context": "X [<args>] - DESCRIPTION\n#\n# Author:\n# ...
src/scripts/s3-size.coffee
bouzuya/hubot-s3-size
1
# Description # A Hubot script that DESCRIPTION # # Configuration: # None # # Commands: # hubot XXX [<args>] - DESCRIPTION # # Author: # bouzuya <m@bouzuya.net> # module.exports = (robot) -> AWS = require 'aws-sdk' pretty = require 'pretty-bytes' listObject = (bucket, callback) -> f = (result, params...
61438
# Description # A Hubot script that DESCRIPTION # # Configuration: # None # # Commands: # hubot XXX [<args>] - DESCRIPTION # # Author: # bouzuya <<EMAIL>> # module.exports = (robot) -> AWS = require 'aws-sdk' pretty = require 'pretty-bytes' listObject = (bucket, callback) -> f = (result, params, call...
true
# Description # A Hubot script that DESCRIPTION # # Configuration: # None # # Commands: # hubot XXX [<args>] - DESCRIPTION # # Author: # bouzuya <PI:EMAIL:<EMAIL>END_PI> # module.exports = (robot) -> AWS = require 'aws-sdk' pretty = require 'pretty-bytes' listObject = (bucket, callback) -> f = (resul...
[ { "context": ".very_common_password\n }\n t.deepEqual zxcvbn('devilman').feedback, expected, msg\n\n msg = \"similar_to_co", "end": 825, "score": 0.6368687748908997, "start": 817, "tag": "NAME", "value": "devilman" }, { "context": "ssages.names_are_easy\n }\n t.deepEqual zxc...
test/test-feedback-zxcvbn.coffee
lpavlicek/zxcvbn-czech
3
test = require 'tape' zxcvbn = require '../src/main' feedback = require '../src/feedback' feedback_l10n = require '../src/feedback_l10n' messages = feedback_l10n.en test 'dictionary_warnings', (t) -> msg = "top10_common_password" expected = { suggestions: [ messages.uncommon_words_are_better ], warni...
127785
test = require 'tape' zxcvbn = require '../src/main' feedback = require '../src/feedback' feedback_l10n = require '../src/feedback_l10n' messages = feedback_l10n.en test 'dictionary_warnings', (t) -> msg = "top10_common_password" expected = { suggestions: [ messages.uncommon_words_are_better ], warni...
true
test = require 'tape' zxcvbn = require '../src/main' feedback = require '../src/feedback' feedback_l10n = require '../src/feedback_l10n' messages = feedback_l10n.en test 'dictionary_warnings', (t) -> msg = "top10_common_password" expected = { suggestions: [ messages.uncommon_words_are_better ], warni...
[ { "context": "alFilename = fileName.replace /\\\\/g, '/'\n s3Key = \"#{s3Context.baseLocation}/#{language}/#{canonicalFil", "end": 3443, "score": 0.6112889647483826, "start": 3440, "tag": "KEY", "value": "\"#{" }, { "context": "ileName.replace /\\\\/g, '/'\n s3Key = \"#{s3Context.b...
packages/litexa-deploy-aws/src/utils/s3Utils.coffee
cheruvian/litexa
34
### # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### path = require 'path' fs = require 'f...
171322
### # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### path = require 'path' fs = require 'f...
true
### # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### path = require 'path' fs = require 'f...
[ { "context": "\t@type:\"ModifierTakeDamageWatch\"\n\n\t@modifierName:\"Take Damage Watch\"\n\t@description:\"Whenever this minion", "end": 265, "score": 0.5688323378562927, "start": 261, "tag": "NAME", "value": "Take" } ]
app/sdk/modifiers/modifierTakeDamageWatch.coffee
willroberts/duelyst
5
Modifier = require './modifier' DamageAction = require 'app/sdk/actions/damageAction' CardType = require 'app/sdk/cards/cardType' class ModifierTakeDamageWatch extends Modifier type:"ModifierTakeDamageWatch" @type:"ModifierTakeDamageWatch" @modifierName:"Take Damage Watch" @description:"Whenever this minion take...
110568
Modifier = require './modifier' DamageAction = require 'app/sdk/actions/damageAction' CardType = require 'app/sdk/cards/cardType' class ModifierTakeDamageWatch extends Modifier type:"ModifierTakeDamageWatch" @type:"ModifierTakeDamageWatch" @modifierName:"<NAME> Damage Watch" @description:"Whenever this minion ta...
true
Modifier = require './modifier' DamageAction = require 'app/sdk/actions/damageAction' CardType = require 'app/sdk/cards/cardType' class ModifierTakeDamageWatch extends Modifier type:"ModifierTakeDamageWatch" @type:"ModifierTakeDamageWatch" @modifierName:"PI:NAME:<NAME>END_PI Damage Watch" @description:"Whenever ...
[ { "context": "rmed_d = (d - low) * norm_factor\n key = Math.floor(normed_d / normed_interval)\n if key < 0\n ", "end": 1512, "score": 0.5217104554176331, "start": 1507, "tag": "KEY", "value": "floor" } ]
bokehjs/src/coffee/models/mappers/linear_color_mapper.coffee
azjps/bokeh
1
import * as _ from "underscore" import * as p from "../../core/properties" import {color2hex} from "../../core/util/color" import {ColorMapper} from "./color_mapper" export class LinearColorMapper extends ColorMapper type: "LinearColorMapper" @define { high: [ p.Number ] low: [ p.Number ...
113998
import * as _ from "underscore" import * as p from "../../core/properties" import {color2hex} from "../../core/util/color" import {ColorMapper} from "./color_mapper" export class LinearColorMapper extends ColorMapper type: "LinearColorMapper" @define { high: [ p.Number ] low: [ p.Number ...
true
import * as _ from "underscore" import * as p from "../../core/properties" import {color2hex} from "../../core/util/color" import {ColorMapper} from "./color_mapper" export class LinearColorMapper extends ColorMapper type: "LinearColorMapper" @define { high: [ p.Number ] low: [ p.Number ...
[ { "context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje", "end": 22, "score": 0.991666316986084, "start": 16, "tag": "NAME", "value": "Konode" } ]
src/eventTypeManagerTab.coffee
LogicalOutcomes/KoNote
1
# Copyright (c) Konode. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # Tab layer component for creating/managing event types Async = require 'async' Imm = require 'immutable' Persist = r...
175774
# Copyright (c) <NAME>. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # Tab layer component for creating/managing event types Async = require 'async' Imm = require 'immutable' Persist = r...
true
# Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. # This source code is subject to the terms of the Mozilla Public License, v. 2.0 # that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0 # Tab layer component for creating/managing event types Async = require 'async' Imm = require 'immutable...