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": "ks([ artwork2 ]),\n title: 'Other Works by Fela Kuti',\n typeName: 'artist',\n isArtis", "end": 1407, "score": 0.9994755387306213, "start": 1398, "tag": "NAME", "value": "Fela Kuti" }, { "context": " title: 'Dale'\n artist:\n ...
src/mobile/apps/artwork/components/related_artworks/test/display_related_works.coffee
kanaabe/force
0
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require 'antigravity' Artworks = require '../../../../../collections/artworks' describe 'Render Related Artworks', -> describe 'displayRelatedWorks', -> beforeEach (d...
19711
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require 'antigravity' Artworks = require '../../../../../collections/artworks' describe 'Render Related Artworks', -> describe 'displayRelatedWorks', -> beforeEach (d...
true
_ = require 'underscore' benv = require 'benv' sinon = require 'sinon' Backbone = require 'backbone' { resolve } = require 'path' { fabricate } = require 'antigravity' Artworks = require '../../../../../collections/artworks' describe 'Render Related Artworks', -> describe 'displayRelatedWorks', -> beforeEach (d...
[ { "context": "it 'should register', (done)->\n User.register('ethan', 'testing').then (user)->\n user.username.sh", "end": 442, "score": 0.9989627599716187, "start": 437, "tag": "USERNAME", "value": "ethan" }, { "context": ").then (user)->\n user.username.should.equal 'e...
test/integration/user.coffee
ethanmick/mustached-octo-dubstep
0
should = require('chai').should() mongoose = require('mongoose-q')() User = require '../../lib/models/user' MongoClient = require('mongodb').MongoClient db = null describe 'user', -> before (done)-> mongoose.connect('mongodb://localhost:27017/stupid_game'); db = mongoose.connection User.removeQ({}).then...
108699
should = require('chai').should() mongoose = require('mongoose-q')() User = require '../../lib/models/user' MongoClient = require('mongodb').MongoClient db = null describe 'user', -> before (done)-> mongoose.connect('mongodb://localhost:27017/stupid_game'); db = mongoose.connection User.removeQ({}).then...
true
should = require('chai').should() mongoose = require('mongoose-q')() User = require '../../lib/models/user' MongoClient = require('mongodb').MongoClient db = null describe 'user', -> before (done)-> mongoose.connect('mongodb://localhost:27017/stupid_game'); db = mongoose.connection User.removeQ({}).then...
[ { "context": "corporates code from [markmon](https://github.com/yyjhao/markmon)\n# covered by the following terms:\n#\n# Co", "end": 70, "score": 0.9993725419044495, "start": 64, "tag": "USERNAME", "value": "yyjhao" }, { "context": "ed by the following terms:\n#\n# Copyright (c) 2014...
packages/markdown-preview-plus/lib/update-preview.coffee
jarednipper/atom-config
0
# This file incorporates code from [markmon](https://github.com/yyjhao/markmon) # covered by the following terms: # # Copyright (c) 2014, Yao Yujian, http://yjyao.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), ...
36451
# This file incorporates code from [markmon](https://github.com/yyjhao/markmon) # covered by the following terms: # # Copyright (c) 2014, <NAME>, http://yjyao.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to d...
true
# This file incorporates code from [markmon](https://github.com/yyjhao/markmon) # covered by the following terms: # # Copyright (c) 2014, PI:NAME:<NAME>END_PI, http://yjyao.com # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "So...
[ { "context": "undle&bundle=' + bundle + '&keys=' + keys.newKeys.join(',')\n requiresAuth: true\n ", "end": 3248, "score": 0.735759973526001, "start": 3244, "tag": "KEY", "value": "join" } ]
src/coffee/service/luminate-message-catalog.coffee
noahcooper/angular-luminate-utils
4
angular.module 'ngLuminateUtils' .factory '$luminateMessageCatalog', [ '$q' '$luminateUtilsConfig' '$luminateRequestHandler' '$luminateRest' ($q, $luminateUtilsConfig, $luminateRequestHandler, $luminateRest) -> get: (messageCatalogEntries) -> _this = this currentLocale = $lum...
10001
angular.module 'ngLuminateUtils' .factory '$luminateMessageCatalog', [ '$q' '$luminateUtilsConfig' '$luminateRequestHandler' '$luminateRest' ($q, $luminateUtilsConfig, $luminateRequestHandler, $luminateRest) -> get: (messageCatalogEntries) -> _this = this currentLocale = $lum...
true
angular.module 'ngLuminateUtils' .factory '$luminateMessageCatalog', [ '$q' '$luminateUtilsConfig' '$luminateRequestHandler' '$luminateRest' ($q, $luminateUtilsConfig, $luminateRequestHandler, $luminateRest) -> get: (messageCatalogEntries) -> _this = this currentLocale = $lum...
[ { "context": ": \"ٹیگز\"\nPAGES: \"صفحات\"\nPOSTS: \"پوسٹیں\"\nAUTHORS: \"مصنف\"\nSEARCH: \"تلاش کریں\"\nSOCIAL_NETWORKS: \"سماجی ن", "end": 440, "score": 0.8640258312225342, "start": 439, "tag": "USERNAME", "value": "م" }, { "context": " \"ٹیگز\"\nPAGES: \"صفحات\"\nPOSTS: \"پوسٹیں\"...
src/i18n/ur.cson
Intraktio/hybrid
2
PULL_TO_REFRESH: "کھینچیں نئ چیزوں لوڈ کریں" RETRY: "پھر کوشش کریں" CANCEL: "Cancel" SUBMIT: "Submit" BACK: "واپس جائیں" ERROR: "کوی مسلا ھو گیا :) برائے مھربانی دوبارا کوشش کریں، شکریا!۔" ATTEMPT_TO_CONNECT: " رابتا کیا جا رھا ھے {{attemptMax}} کو {{attempt}}.پھر سے " OK: "Ok" YES: "جی ھاں" NO: "جی نھیں" EMPTY_LIST: ...
151416
PULL_TO_REFRESH: "کھینچیں نئ چیزوں لوڈ کریں" RETRY: "پھر کوشش کریں" CANCEL: "Cancel" SUBMIT: "Submit" BACK: "واپس جائیں" ERROR: "کوی مسلا ھو گیا :) برائے مھربانی دوبارا کوشش کریں، شکریا!۔" ATTEMPT_TO_CONNECT: " رابتا کیا جا رھا ھے {{attemptMax}} کو {{attempt}}.پھر سے " OK: "Ok" YES: "جی ھاں" NO: "جی نھیں" EMPTY_LIST: ...
true
PULL_TO_REFRESH: "کھینچیں نئ چیزوں لوڈ کریں" RETRY: "پھر کوشش کریں" CANCEL: "Cancel" SUBMIT: "Submit" BACK: "واپس جائیں" ERROR: "کوی مسلا ھو گیا :) برائے مھربانی دوبارا کوشش کریں، شکریا!۔" ATTEMPT_TO_CONNECT: " رابتا کیا جا رھا ھے {{attemptMax}} کو {{attempt}}.پھر سے " OK: "Ok" YES: "جی ھاں" NO: "جی نھیں" EMPTY_LIST: ...
[ { "context": "->\n result = store.findBy(\"mock_model\", name: \"Two\")\n expect(result instanceof MockModel).toBeTru", "end": 4050, "score": 0.9687117338180542, "start": 4047, "tag": "NAME", "value": "Two" }, { "context": "->\n result = store.findBy(\"mock_model\", name: \"...
test/spec_coffee/model_store_spec.coffee
kirkbowers/mvcoffee
0
MVCoffee = require("../lib/mvcoffee") # I for one, am not a big fan of mock objects. # I'm much more concerned that Models and the ModelStore interact correctly. # One of the big things that matters is that when the ModelStore instantiates a Model # from a vanilla object, the Model assumes the properties of that obj...
153367
MVCoffee = require("../lib/mvcoffee") # I for one, am not a big fan of mock objects. # I'm much more concerned that Models and the ModelStore interact correctly. # One of the big things that matters is that when the ModelStore instantiates a Model # from a vanilla object, the Model assumes the properties of that obj...
true
MVCoffee = require("../lib/mvcoffee") # I for one, am not a big fan of mock objects. # I'm much more concerned that Models and the ModelStore interact correctly. # One of the big things that matters is that when the ModelStore instantiates a Model # from a vanilla object, the Model assumes the properties of that obj...
[ { "context": "ord, params) ->\n params.my_key.should.eql 'my value'\n , parallel: 10, consume: true, params: my_ke", "end": 285, "score": 0.6381196975708008, "start": 280, "tag": "KEY", "value": "value" } ]
test/option.params.coffee
dnjstrom/node-stream-transform
0
generate = require 'csv-generate' transform = require '../src' describe 'option params', -> it 'sync', (next) -> generator = generate length: 100, objectMode: true, seed: 1 transformer = generator.pipe transform (record, params) -> params.my_key.should.eql 'my value' , parallel: 10, consume: true...
190546
generate = require 'csv-generate' transform = require '../src' describe 'option params', -> it 'sync', (next) -> generator = generate length: 100, objectMode: true, seed: 1 transformer = generator.pipe transform (record, params) -> params.my_key.should.eql 'my <KEY>' , parallel: 10, consume: true...
true
generate = require 'csv-generate' transform = require '../src' describe 'option params', -> it 'sync', (next) -> generator = generate length: 100, objectMode: true, seed: 1 transformer = generator.pipe transform (record, params) -> params.my_key.should.eql 'my PI:KEY:<KEY>END_PI' , parallel: 10, ...
[ { "context": ".readYAML(\"site_variables.yaml\")\n\n\tproject_name: \"Kristinita’s Search\"\n\n\tpaths:\n\t\tcoffee: \"<%= templa", "end": 426, "score": 0.643068253993988, "start": 425, "tag": "NAME", "value": "K" } ]
grunt/templates.coffee
Kristinita/---
0
##################### ## Grunt templates ## ##################### # https://quickleft.com/blog/grunt-js-tips-tricks/ module.exports = (grunt) -> # [INFO] Frequent paths in plugins configuration. # Grunt parsing YAML configuration file: # https://stackoverflow.com/a/49901700/5951529 # [INFO] Using variables: “<%= te...
1179
##################### ## Grunt templates ## ##################### # https://quickleft.com/blog/grunt-js-tips-tricks/ module.exports = (grunt) -> # [INFO] Frequent paths in plugins configuration. # Grunt parsing YAML configuration file: # https://stackoverflow.com/a/49901700/5951529 # [INFO] Using variables: “<%= te...
true
##################### ## Grunt templates ## ##################### # https://quickleft.com/blog/grunt-js-tips-tricks/ module.exports = (grunt) -> # [INFO] Frequent paths in plugins configuration. # Grunt parsing YAML configuration file: # https://stackoverflow.com/a/49901700/5951529 # [INFO] Using variables: “<%= te...
[ { "context": "/graylog.example.com)\n# GRAYLOG_API_TOKEN (e.g. 098f6bcd4621d373cade4e832627b4f6)\n# GRAYLOG_SEPARATOR (e.g. ','. Default: \"\\n\")\n", "end": 210, "score": 0.9677335023880005, "start": 178, "tag": "KEY", "value": "098f6bcd4621d373cade4e832627b4f6" }, { "context": ...
src/scripts/graylog.coffee
turnitin/hubot-scripts
2
# Description: # Fetches graylog messages via Hubot # # Dependencies: # None # # Configuration # GRAYLOG_URL (e.g. https://graylog.example.com) # GRAYLOG_API_TOKEN (e.g. 098f6bcd4621d373cade4e832627b4f6) # GRAYLOG_SEPARATOR (e.g. ','. Default: "\n") # # Commands: # hubot graylog - output last 5 graylog mess...
124326
# Description: # Fetches graylog messages via Hubot # # Dependencies: # None # # Configuration # GRAYLOG_URL (e.g. https://graylog.example.com) # GRAYLOG_API_TOKEN (e.g. <KEY>) # GRAYLOG_SEPARATOR (e.g. ','. Default: "\n") # # Commands: # hubot graylog - output last 5 graylog messages # hubot graylog <cou...
true
# Description: # Fetches graylog messages via Hubot # # Dependencies: # None # # Configuration # GRAYLOG_URL (e.g. https://graylog.example.com) # GRAYLOG_API_TOKEN (e.g. PI:KEY:<KEY>END_PI) # GRAYLOG_SEPARATOR (e.g. ','. Default: "\n") # # Commands: # hubot graylog - output last 5 graylog messages # hubot...
[ { "context": "nput\n type=\"text\"\n placeholder=\"Your name\"\n value={this.state.author}\n on", "end": 2199, "score": 0.9623489379882812, "start": 2190, "tag": "NAME", "value": "Your name" } ]
main.cjsx
uehara1414/ReactTutor-Koa
0
React = require('react') ReactDOM = require('react-dom') CommentBox = React.createClass { loadCommentsFromServer: -> $.ajax { url: this.props.url, dataType: 'json', cache: false, success: (data) => this.setState {data: data} error: (xhr, status, err) => console.error ...
17069
React = require('react') ReactDOM = require('react-dom') CommentBox = React.createClass { loadCommentsFromServer: -> $.ajax { url: this.props.url, dataType: 'json', cache: false, success: (data) => this.setState {data: data} error: (xhr, status, err) => console.error ...
true
React = require('react') ReactDOM = require('react-dom') CommentBox = React.createClass { loadCommentsFromServer: -> $.ajax { url: this.props.url, dataType: 'json', cache: false, success: (data) => this.setState {data: data} error: (xhr, status, err) => console.error ...
[ { "context": "iew._id\n#\t\t\t\tif listview.is_default\n#\t\t\t\t\t_key = \"all\"\n\t\t\t\tlist_views[_key] = _list_view\n\t\t\t\tlist_views", "end": 1547, "score": 0.7580129504203796, "start": 1544, "tag": "KEY", "value": "all" } ]
packages/steedos-creator/client/subscribe.coffee
zonglu233/fuel-car
0
Creator.subs["Creator"] = new SubsManager() Creator.subs["CreatorListViews"] = new SubsManager() Creator.subs["TabularSetting"] = new SubsManager() Creator.subs["CreatorRecord"] = new SubsManager() Creator.subs["CreatorActionRecord"] = new SubsManager() Creator.subs["objectRecentViewed"] = new SubsManager() Meteor.sta...
194800
Creator.subs["Creator"] = new SubsManager() Creator.subs["CreatorListViews"] = new SubsManager() Creator.subs["TabularSetting"] = new SubsManager() Creator.subs["CreatorRecord"] = new SubsManager() Creator.subs["CreatorActionRecord"] = new SubsManager() Creator.subs["objectRecentViewed"] = new SubsManager() Meteor.sta...
true
Creator.subs["Creator"] = new SubsManager() Creator.subs["CreatorListViews"] = new SubsManager() Creator.subs["TabularSetting"] = new SubsManager() Creator.subs["CreatorRecord"] = new SubsManager() Creator.subs["CreatorActionRecord"] = new SubsManager() Creator.subs["objectRecentViewed"] = new SubsManager() Meteor.sta...
[ { "context": " @sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222\n @sut.co", "end": 626, "score": 0.81302410364151, "start": 621, "tag": "KEY", "value": "token" } ]
test/update-spec.coffee
octoblu/node-meshblu-xmpp
1
_ = require 'lodash' ltx = require 'ltx' xmpp = require 'node-xmpp-server' xml2js = require('xml2js').parseString MeshbluXMPP = require '../' describe 'Update', -> beforeEach (done) -> @server = new xmpp.C2S.TCPServer port: 5222 domain: 'localhost' @server.on 'conne...
212004
_ = require 'lodash' ltx = require 'ltx' xmpp = require 'node-xmpp-server' xml2js = require('xml2js').parseString MeshbluXMPP = require '../' describe 'Update', -> beforeEach (done) -> @server = new xmpp.C2S.TCPServer port: 5222 domain: 'localhost' @server.on 'conne...
true
_ = require 'lodash' ltx = require 'ltx' xmpp = require 'node-xmpp-server' xml2js = require('xml2js').parseString MeshbluXMPP = require '../' describe 'Update', -> beforeEach (done) -> @server = new xmpp.C2S.TCPServer port: 5222 domain: 'localhost' @server.on 'conne...
[ { "context": "id\":\"createuser\",name:name,usrname:usrname,passwd:passwd}\n\t\t\t\t\t#To send Approval request to the chat room#", "end": 3360, "score": 0.9986392855644226, "start": 3354, "tag": "PASSWORD", "value": "passwd" } ]
scripts/teamcity/scripts-slack/teamcity.coffee
CognizantOneDevOps/OnBot
4
#Description: # This script listens to commands handled by Teamcity bot, # passes them to the appropriate js files for execution, # Returns the result of execution back to user # #Configuration: # HUBOT_NAME # HUBOT_TEAMCITY_URL # HUBOT_TEAMCITY_USERNAME # HUBOT_TEAMCITY_PWD # #Dependencies: # "request": "2.81.0" index...
47637
#Description: # This script listens to commands handled by Teamcity bot, # passes them to the appropriate js files for execution, # Returns the result of execution back to user # #Configuration: # HUBOT_NAME # HUBOT_TEAMCITY_URL # HUBOT_TEAMCITY_USERNAME # HUBOT_TEAMCITY_PWD # #Dependencies: # "request": "2.81.0" index...
true
#Description: # This script listens to commands handled by Teamcity bot, # passes them to the appropriate js files for execution, # Returns the result of execution back to user # #Configuration: # HUBOT_NAME # HUBOT_TEAMCITY_URL # HUBOT_TEAMCITY_USERNAME # HUBOT_TEAMCITY_PWD # #Dependencies: # "request": "2.81.0" index...
[ { "context": " '1px', drawDots: true, dotSize: 5}\n {id: 'id_1', y: 'foo', color: 'red', type: 'area', thickness", "end": 660, "score": 0.978588879108429, "start": 656, "tag": "USERNAME", "value": "id_1" }, { "context": "e\n dotSize: 5\n }\n {\n id: 'id...
test/unit/misc.mocha.coffee
hellsan631/line-chart
1
describe 'misc', -> beforeEach module 'n3-line-chart' beforeEach module 'testUtils' n3utils = undefined beforeEach inject (_n3utils_) -> n3utils = _n3utils_ describe 'getBestColumnWidth', -> it 'should handle no data', -> expect(n3utils.getBestColumnWidth({}, [])).to.equal(10) it 'should c...
57203
describe 'misc', -> beforeEach module 'n3-line-chart' beforeEach module 'testUtils' n3utils = undefined beforeEach inject (_n3utils_) -> n3utils = _n3utils_ describe 'getBestColumnWidth', -> it 'should handle no data', -> expect(n3utils.getBestColumnWidth({}, [])).to.equal(10) it 'should c...
true
describe 'misc', -> beforeEach module 'n3-line-chart' beforeEach module 'testUtils' n3utils = undefined beforeEach inject (_n3utils_) -> n3utils = _n3utils_ describe 'getBestColumnWidth', -> it 'should handle no data', -> expect(n3utils.getBestColumnWidth({}, [])).to.equal(10) it 'should c...
[ { "context": "ack)=>\n @.session = Express_Session({ secret: '1234567890', key: 'tm-session'\n ", "end": 1583, "score": 0.9991782307624817, "start": 1573, "tag": "KEY", "value": "1234567890" }, { "context": "n = Express_Session({ secret: '1234567890', k...
src/services/Session-Service.coffee
TeamMentor/TM_Site
0
Nedb = null Express_Session = null request = null async = null config = null class Session_Service DEFAULT_SEARCHES: [{ id :'search-prevent-sql-injection' , title: 'prevent sql injection' , results:10}, { id :'search-xss' , title:...
185704
Nedb = null Express_Session = null request = null async = null config = null class Session_Service DEFAULT_SEARCHES: [{ id :'search-prevent-sql-injection' , title: 'prevent sql injection' , results:10}, { id :'search-xss' , title:...
true
Nedb = null Express_Session = null request = null async = null config = null class Session_Service DEFAULT_SEARCHES: [{ id :'search-prevent-sql-injection' , title: 'prevent sql injection' , results:10}, { id :'search-xss' , title:...
[ { "context": " []\n for item in items\n dupKey = item.kind + '||' + item.label\n continue if prevItems", "end": 6471, "score": 0.7254121899604797, "start": 6467, "tag": "KEY", "value": "kind" }, { "context": " for item in items\n dupKey = item.kind + '||'...
lib/nav-view.coffee
diramos1/atom-nav-panel
20
$ = require 'jquery' ResizableWidthView = require './resizable-width-view' module.exports = class NavView extends ResizableWidthView panel: null filePanel: null # main elem for current file bottomGroups: [] enabled: true settings: {} parser: null # parser supplied by client code state: {} view: null ...
180735
$ = require 'jquery' ResizableWidthView = require './resizable-width-view' module.exports = class NavView extends ResizableWidthView panel: null filePanel: null # main elem for current file bottomGroups: [] enabled: true settings: {} parser: null # parser supplied by client code state: {} view: null ...
true
$ = require 'jquery' ResizableWidthView = require './resizable-width-view' module.exports = class NavView extends ResizableWidthView panel: null filePanel: null # main elem for current file bottomGroups: [] enabled: true settings: {} parser: null # parser supplied by client code state: {} view: null ...
[ { "context": " @settings = new Settings.AppletSettings(this, \"Cin7Menu@darkoverlordofdata.com\", instance_id)\n @settings.bindProperty Setti", "end": 539, "score": 0.9999114871025085, "start": 508, "tag": "EMAIL", "value": "Cin7Menu@darkoverlordofdata.com" }, { "context": "\n...
lib/src/MyApplet.coffee
darkoverlordofdata/Cin7Menu
1
class MyApplet __proto__: Applet.TextIconApplet:: constructor: (orientation, panel_height, instance_id) -> Applet.TextIconApplet::_init.call this, orientation, panel_height, instance_id try @set_applet_tooltip _("Start") @menuManager = new PopupMenu.PopupMenuManager(this) @menu = new...
142940
class MyApplet __proto__: Applet.TextIconApplet:: constructor: (orientation, panel_height, instance_id) -> Applet.TextIconApplet::_init.call this, orientation, panel_height, instance_id try @set_applet_tooltip _("Start") @menuManager = new PopupMenu.PopupMenuManager(this) @menu = new...
true
class MyApplet __proto__: Applet.TextIconApplet:: constructor: (orientation, panel_height, instance_id) -> Applet.TextIconApplet::_init.call this, orientation, panel_height, instance_id try @set_applet_tooltip _("Start") @menuManager = new PopupMenu.PopupMenuManager(this) @menu = new...
[ { "context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s", "end": 31, "score": 0.9883790016174316, "start": 24, "tag": "NAME", "value": "Groupon" } ]
src/client/controllers/channel-form.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...
185285
### 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": " with no count specified', ->\n item = name: 'Foo Bar', id: 'some-id'\n el = render 'suggestion', i", "end": 931, "score": 0.9798333048820496, "start": 924, "tag": "NAME", "value": "Foo Bar" }, { "context": "tem with a count of zero', ->\n item = name: 'F...
src/desktop/apps/galleries_institutions/components/dropdown/test/templates.coffee
kanaabe/force
1
path = require 'path' jade = require 'jade' fs = require 'fs' describe 'templates', -> render = (template, options) -> file = path.resolve __dirname, "../#{template}.jade" jade.render fs.readFileSync(file).toString(), options describe 'pre-rendered template', -> before -> facet = facetName: 'som...
52578
path = require 'path' jade = require 'jade' fs = require 'fs' describe 'templates', -> render = (template, options) -> file = path.resolve __dirname, "../#{template}.jade" jade.render fs.readFileSync(file).toString(), options describe 'pre-rendered template', -> before -> facet = facetName: 'som...
true
path = require 'path' jade = require 'jade' fs = require 'fs' describe 'templates', -> render = (template, options) -> file = path.resolve __dirname, "../#{template}.jade" jade.render fs.readFileSync(file).toString(), options describe 'pre-rendered template', -> before -> facet = facetName: 'som...
[ { "context": "opyright 2013 Canopy Canopy Canopy, Inc.\n# Authors Adam Florin & Anthony Tran\n#\nclass Alongslide::Layout\n\n # Fo", "end": 260, "score": 0.9998105764389038, "start": 249, "tag": "NAME", "value": "Adam Florin" }, { "context": "Canopy Canopy Canopy, Inc.\n# Authors Ad...
app/assets/javascripts/alongslide/layout.coffee
triplecanopy/alongslide
33
# # alongslide.coffee: Re-format HTML into horizontally-scrolling elements # which scroll at different rates. # # Use CSS Regions polyfill for text flowing, and skrollr for scroll positioning. # # Copyright 2013 Canopy Canopy Canopy, Inc. # Authors Adam Florin & Anthony Tran # class Alongslide::Layout # For parsing ...
104809
# # alongslide.coffee: Re-format HTML into horizontally-scrolling elements # which scroll at different rates. # # Use CSS Regions polyfill for text flowing, and skrollr for scroll positioning. # # Copyright 2013 Canopy Canopy Canopy, Inc. # Authors <NAME> & <NAME> # class Alongslide::Layout # For parsing pinned pane...
true
# # alongslide.coffee: Re-format HTML into horizontally-scrolling elements # which scroll at different rates. # # Use CSS Regions polyfill for text flowing, and skrollr for scroll positioning. # # Copyright 2013 Canopy Canopy Canopy, Inc. # Authors PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI # class Alongslide::Layout ...
[ { "context": " @itemCount++\n @itemIdCount++\n key = \"Level_Item_#{@itemIdCount}\"\n itemTypeIndex = Math.round(Math.random() * ", "end": 568, "score": 0.9919196367263794, "start": 541, "tag": "KEY", "value": "Level_Item_#{@itemIdCount}\"" } ]
js/coffee/item-spawner.coffee
wjagodfrey/spaceJoust
0
class Item_Spawner constructor: (@destination, @itemTypes, @width, @height, @itemLimit = 10) -> @setSpawnTimer() itemCount: 0 itemIdCount: 0 setSpawnTimer: -> minTime = 100 maxTime = 5000 # # TODO dev # devTime = 0 # @itemLimit = 10 time = if devTime? then devTime else Math.round(...
153112
class Item_Spawner constructor: (@destination, @itemTypes, @width, @height, @itemLimit = 10) -> @setSpawnTimer() itemCount: 0 itemIdCount: 0 setSpawnTimer: -> minTime = 100 maxTime = 5000 # # TODO dev # devTime = 0 # @itemLimit = 10 time = if devTime? then devTime else Math.round(...
true
class Item_Spawner constructor: (@destination, @itemTypes, @width, @height, @itemLimit = 10) -> @setSpawnTimer() itemCount: 0 itemIdCount: 0 setSpawnTimer: -> minTime = 100 maxTime = 5000 # # TODO dev # devTime = 0 # @itemLimit = 10 time = if devTime? then devTime else Math.round(...
[ { "context": " \n user = new User(\n email : \"user@user.com\"\n firstName: \"Full Name\"\n lastName ", "end": 331, "score": 0.9999090433120728, "start": 318, "tag": "EMAIL", "value": "user@user.com" }, { "context": " lastName : \"Last Name\"\n...
test/user/model.coffee
gertu/gertu
1
should = require "should" app = require "../../server" mongoose = require "mongoose" User = mongoose.model "User" user = undefined user2 = undefined describe "<Unit Test>", -> describe "Model User:", -> before (done) -> User.remove().exec() user = new User( email : "us...
171083
should = require "should" app = require "../../server" mongoose = require "mongoose" User = mongoose.model "User" user = undefined user2 = undefined describe "<Unit Test>", -> describe "Model User:", -> before (done) -> User.remove().exec() user = new User( email : "<E...
true
should = require "should" app = require "../../server" mongoose = require "mongoose" User = mongoose.model "User" user = undefined user2 = undefined describe "<Unit Test>", -> describe "Model User:", -> before (done) -> User.remove().exec() user = new User( email : "PI...
[ { "context": "swarm'\n v: API_VERSION\n oauth_token: token\n\nwindow.Hours = Hours\n", "end": 2301, "score": 0.6764967441558838, "start": 2296, "tag": "PASSWORD", "value": "token" } ]
app/assets/javascripts/search/Hours.js.coffee
Gavin-X/4sweep
12
class Hours @parse: (text) -> result = fourSq.util.HoursParser.parse(text) if result new Hours(result.timeframes) else null constructor: (@timeframes = []) -> asProposedEdit: () -> # The hours for the venue, as a semi-colon separated list of open segments and named segments # (e....
14892
class Hours @parse: (text) -> result = fourSq.util.HoursParser.parse(text) if result new Hours(result.timeframes) else null constructor: (@timeframes = []) -> asProposedEdit: () -> # The hours for the venue, as a semi-colon separated list of open segments and named segments # (e....
true
class Hours @parse: (text) -> result = fourSq.util.HoursParser.parse(text) if result new Hours(result.timeframes) else null constructor: (@timeframes = []) -> asProposedEdit: () -> # The hours for the venue, as a semi-colon separated list of open segments and named segments # (e....
[ { "context": " # valid\n expect(validator(\"some@valid-email.com\")).toBe(true)\n # invalid\n e", "end": 342, "score": 0.9995940923690796, "start": 322, "tag": "EMAIL", "value": "some@valid-email.com" }, { "context": "_at\"\n })\...
spec/test_validators.coffee
jneuendorf/FormValidator
0
include_validator_tests = () -> describe "validators", () -> log "validators" validators = FormValidator.validators # for type, validator of validators it "email", () -> log "email" validator = validators.email # valid expect(validator...
37646
include_validator_tests = () -> describe "validators", () -> log "validators" validators = FormValidator.validators # for type, validator of validators it "email", () -> log "email" validator = validators.email # valid expect(validator...
true
include_validator_tests = () -> describe "validators", () -> log "validators" validators = FormValidator.validators # for type, validator of validators it "email", () -> log "email" validator = validators.email # valid expect(validator...
[ { "context": "escribe 'where', ->\n\n arr = [\n {id: 1, name: 'John', role: 'author'}\n {id: 2, name: 'Steve', role", "end": 95, "score": 0.9996567368507385, "start": 91, "tag": "NAME", "value": "John" }, { "context": " name: 'John', role: 'author'}\n {id: 2, name: 'Steve',...
spec/where_spec.coffee
craigerm/jeep-cli
0
processor = require '../src/processor' describe 'where', -> arr = [ {id: 1, name: 'John', role: 'author'} {id: 2, name: 'Steve', role: 'admin'} {id: 3, name: 'Mike', role: 'author'} ] it 'filters based on property value', -> results = processor.where arr, {role: 'author'} expect(results.len...
153208
processor = require '../src/processor' describe 'where', -> arr = [ {id: 1, name: '<NAME>', role: 'author'} {id: 2, name: '<NAME>', role: 'admin'} {id: 3, name: '<NAME>', role: 'author'} ] it 'filters based on property value', -> results = processor.where arr, {role: 'author'} expect(result...
true
processor = require '../src/processor' describe 'where', -> arr = [ {id: 1, name: 'PI:NAME:<NAME>END_PI', role: 'author'} {id: 2, name: 'PI:NAME:<NAME>END_PI', role: 'admin'} {id: 3, name: 'PI:NAME:<NAME>END_PI', role: 'author'} ] it 'filters based on property value', -> results = processor.whe...
[ { "context": "e.log \"toFrame\"\n #console.log object\n keyCount = _.size(object)\n if keyCount > 254\n throw new Error \"", "end": 1984, "score": 0.8502204418182373, "start": 1978, "tag": "KEY", "value": "_.size" } ]
src/nsof.coffee
txomin-jimenez/newton-sync
10
_ = require 'lodash' Utils = require './utils' # (NSOF) Newton Streamed Object encoding / decoding toSymbol = (key) => symbolHeader = new Buffer(2) if key.length > 254 throw new Error "not implemented yet" symbolHeader.writeUInt8(7,0) # kSymbol=7 symbolHeader.writeUInt8(key.len...
58684
_ = require 'lodash' Utils = require './utils' # (NSOF) Newton Streamed Object encoding / decoding toSymbol = (key) => symbolHeader = new Buffer(2) if key.length > 254 throw new Error "not implemented yet" symbolHeader.writeUInt8(7,0) # kSymbol=7 symbolHeader.writeUInt8(key.len...
true
_ = require 'lodash' Utils = require './utils' # (NSOF) Newton Streamed Object encoding / decoding toSymbol = (key) => symbolHeader = new Buffer(2) if key.length > 254 throw new Error "not implemented yet" symbolHeader.writeUInt8(7,0) # kSymbol=7 symbolHeader.writeUInt8(key.len...
[ { "context": " options.callback(null, null, {access_token: '12345'})\n\n testUntil (done) ->\n p = Nylas.e", "end": 3172, "score": 0.6368559002876282, "start": 3168, "tag": "PASSWORD", "value": "2345" }, { "context": " options.callback(null, null, {access_token: '1...
spec/nylas-api-spec.coffee
lever/nylas-nodejs
0
Nylas = require '../nylas' NylasConnection = require '../nylas-connection' Promise = require 'bluebird' request = require 'request' testUntil = (fn) -> finished = false runs -> fn (callback) -> finished = true waitsFor -> finished describe "Nylas", -> beforeEach -> Nylas.appId = undefined Ny...
204017
Nylas = require '../nylas' NylasConnection = require '../nylas-connection' Promise = require 'bluebird' request = require 'request' testUntil = (fn) -> finished = false runs -> fn (callback) -> finished = true waitsFor -> finished describe "Nylas", -> beforeEach -> Nylas.appId = undefined Ny...
true
Nylas = require '../nylas' NylasConnection = require '../nylas-connection' Promise = require 'bluebird' request = require 'request' testUntil = (fn) -> finished = false runs -> fn (callback) -> finished = true waitsFor -> finished describe "Nylas", -> beforeEach -> Nylas.appId = undefined Ny...
[ { "context": "ame\n candidate = new CandidateModel(first_name: firstName, last_name: lastName, namespace: namespace)\n e", "end": 1916, "score": 0.9680867791175842, "start": 1907, "tag": "NAME", "value": "firstName" }, { "context": "w CandidateModel(first_name: firstName, last_...
app/assets/javascripts/admin/views/election/candidacies_view.js.coffee
JulienGuizot/voxe
5
class Admin.Views.Election.CandidaciesView extends Backbone.View template: JST['admin/templates/election/candidacies'] initialize: -> @flash = {} @election = @model @candidacies = @election.candidacies @render() $('.add-candidate').submit (event) => event.preventDefault() @addCandid...
210923
class Admin.Views.Election.CandidaciesView extends Backbone.View template: JST['admin/templates/election/candidacies'] initialize: -> @flash = {} @election = @model @candidacies = @election.candidacies @render() $('.add-candidate').submit (event) => event.preventDefault() @addCandid...
true
class Admin.Views.Election.CandidaciesView extends Backbone.View template: JST['admin/templates/election/candidacies'] initialize: -> @flash = {} @election = @model @candidacies = @election.candidacies @render() $('.add-candidate').submit (event) => event.preventDefault() @addCandid...
[ { "context": "\n\ndnschain\nhttp://dnschain.net\n\nCopyright (c) 2013 Greg Slepak\nLicensed under the BSD 3-Clause license.\n\n###\n\nmo", "end": 65, "score": 0.9998577833175659, "start": 54, "tag": "NAME", "value": "Greg Slepak" } ]
Gruntfile.coffee
wartron/dnschain
1
### dnschain http://dnschain.net Copyright (c) 2013 Greg Slepak Licensed under the BSD 3-Clause license. ### module.exports = (grunt)-> # load all grunt tasks require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks _ = grunt.util._ path = require 'path' util = require 'util' chi...
26100
### dnschain http://dnschain.net Copyright (c) 2013 <NAME> Licensed under the BSD 3-Clause license. ### module.exports = (grunt)-> # load all grunt tasks require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks _ = grunt.util._ path = require 'path' util = require 'util' child_pr...
true
### dnschain http://dnschain.net Copyright (c) 2013 PI:NAME:<NAME>END_PI Licensed under the BSD 3-Clause license. ### module.exports = (grunt)-> # load all grunt tasks require('matchdep').filterDev('grunt-*').forEach grunt.loadNpmTasks _ = grunt.util._ path = require 'path' util = require 'util...
[ { "context": " that corresponds\n # to an elicitor string like 'Joel Dunham'.\n #\n # **Note:** the import progresses row-by-", "end": 1025, "score": 0.9998716115951538, "start": 1014, "tag": "NAME", "value": "Joel Dunham" }, { "context": "resentations. E.g., objects that map thin...
app/scripts/views/csv-import.coffee
OpenSourceFieldlinguistics/dative
7
define [ './base' './csv-import-row' './csv-import-header' './exporter-collection-csv' './../models/form' './../models/file' './../models/tag' './../models/elicitation-method' './../models/user-old' './../models/source' './../models/speaker' './../models/syntactic-category' './../collections/f...
61886
define [ './base' './csv-import-row' './csv-import-header' './exporter-collection-csv' './../models/form' './../models/file' './../models/tag' './../models/elicitation-method' './../models/user-old' './../models/source' './../models/speaker' './../models/syntactic-category' './../collections/f...
true
define [ './base' './csv-import-row' './csv-import-header' './exporter-collection-csv' './../models/form' './../models/file' './../models/tag' './../models/elicitation-method' './../models/user-old' './../models/source' './../models/speaker' './../models/syntactic-category' './../collections/f...
[ { "context": "t @message.body?\n Backend = engine.accounts[@account.address].backends['ACTION_CLIENT']\n yield Backend.ge", "end": 907, "score": 0.625484049320221, "start": 892, "tag": "EMAIL", "value": "account.address" }, { "context": " draft.to = draft.cc = draft.bc...
src/api/sendmail.coffee
marcus433/dropmail
0
realm = require './realm' window.Promise = Promise = require 'bluebird' Promise.coroutine.addYieldHandler (yielded) -> Promise.all(yielded) if Array.isArray(yielded) { wrap } = require 'async-class' nodemailer = require 'nodemailer' TimeNotation = require '../utils/time-notation' juice = require 'juice' Lazy = requir...
26830
realm = require './realm' window.Promise = Promise = require 'bluebird' Promise.coroutine.addYieldHandler (yielded) -> Promise.all(yielded) if Array.isArray(yielded) { wrap } = require 'async-class' nodemailer = require 'nodemailer' TimeNotation = require '../utils/time-notation' juice = require 'juice' Lazy = requir...
true
realm = require './realm' window.Promise = Promise = require 'bluebird' Promise.coroutine.addYieldHandler (yielded) -> Promise.all(yielded) if Array.isArray(yielded) { wrap } = require 'async-class' nodemailer = require 'nodemailer' TimeNotation = require '../utils/time-notation' juice = require 'juice' Lazy = requir...
[ { "context": " user_id: 1,\n access_token: 'some_token'\n }\n\n stubAjax 'GET', '/api/users", "end": 659, "score": 0.9279053807258606, "start": 649, "tag": "PASSWORD", "value": "some_token" }, { "context": " andThen ->\n fillIn('input[typ...
spec/javascripts/integration/sessions_spec.coffee
FromUte/dune-dashboard
0
describe 'Integration: Sessions', -> before -> invalidateSession() after -> $.mockjaxClear() Dashboard.reset() it 'redirects to new session page', -> expect(1) visit '/' andThen -> equal(currentRouteName(), 'sessionsNew') it 'has page title in the header', -> expect(1) v...
107005
describe 'Integration: Sessions', -> before -> invalidateSession() after -> $.mockjaxClear() Dashboard.reset() it 'redirects to new session page', -> expect(1) visit '/' andThen -> equal(currentRouteName(), 'sessionsNew') it 'has page title in the header', -> expect(1) v...
true
describe 'Integration: Sessions', -> before -> invalidateSession() after -> $.mockjaxClear() Dashboard.reset() it 'redirects to new session page', -> expect(1) visit '/' andThen -> equal(currentRouteName(), 'sessionsNew') it 'has page title in the header', -> expect(1) v...
[ { "context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\nFrame = require('./Fra", "end": 33, "score": 0.9998592138290405, "start": 23, "tag": "NAME", "value": "Magnus Leo" } ]
src/classes/Animation.coffee
magnusleo/Leo-Engine
1
### Copyright (c) 2015 Magnus Leo. All rights reserved. ### Frame = require('./Frame') util = require('../modules/util') module.exports = class Animation constructor: (sprite, options) -> # Animation::constructor defaultOptions = isLooping: false @options = util.merge(defaultOptions, ...
80729
### Copyright (c) 2015 <NAME>. All rights reserved. ### Frame = require('./Frame') util = require('../modules/util') module.exports = class Animation constructor: (sprite, options) -> # Animation::constructor defaultOptions = isLooping: false @options = util.merge(defaultOptions, opti...
true
### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ### Frame = require('./Frame') util = require('../modules/util') module.exports = class Animation constructor: (sprite, options) -> # Animation::constructor defaultOptions = isLooping: false @options = util.merge(defaul...
[ { "context": "thod: 'POST'\n data:\n username: $scope.username\n password: $scope.password\n .success (r", "end": 264, "score": 0.5686950087547302, "start": 256, "tag": "USERNAME", "value": "username" }, { "context": " username: $scope.username\n pass...
app/assets/javascripts/angularjs/admin_sessions.js.coffee
frank0123/my_blog
0
@app.controller 'AdminSessionsController', [ '$scope', '$http', '$timeout', '$cookies', ($scope, $http, $timeout, $cookies)-> url = '/admin/sessions' $scope.login = -> $http url: url method: 'POST' data: username: $scope.username password: $scope.password .success (res)-> ...
59532
@app.controller 'AdminSessionsController', [ '$scope', '$http', '$timeout', '$cookies', ($scope, $http, $timeout, $cookies)-> url = '/admin/sessions' $scope.login = -> $http url: url method: 'POST' data: username: $scope.username password: $<PASSWORD> .success (res)-> ...
true
@app.controller 'AdminSessionsController', [ '$scope', '$http', '$timeout', '$cookies', ($scope, $http, $timeout, $cookies)-> url = '/admin/sessions' $scope.login = -> $http url: url method: 'POST' data: username: $scope.username password: $PI:PASSWORD:<PASSWORD>END_PI .su...
[ { "context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und", "end": 129, "score": 0.999838650226593, "start": 116, "tag": "NAME", "value": "Henri Bergius" }, { "context": "(Rituwall Inc.)\n# (c) 2011-2012 Hen...
src/lib/NoFlo.coffee
jonnor/noflo
1
# NoFlo - Flow-Based Programming for JavaScript # (c) 2013-2014 TheGrid (Rituwall Inc.) # (c) 2011-2012 Henri Bergius, Nemein # NoFlo may be freely distributed under the MIT license # # NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the # main entry point to the NoFlo n...
47772
# NoFlo - Flow-Based Programming for JavaScript # (c) 2013-2014 TheGrid (Rituwall Inc.) # (c) 2011-2012 <NAME>, <NAME> # NoFlo may be freely distributed under the MIT license # # NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the # main entry point to the NoFlo network....
true
# NoFlo - Flow-Based Programming for JavaScript # (c) 2013-2014 TheGrid (Rituwall Inc.) # (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI # NoFlo may be freely distributed under the MIT license # # NoFlo is a Flow-Based Programming environment for JavaScript. This file provides the # main entry...
[ { "context": "#\n# Osom-Area main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('cor", "end": 64, "score": 0.9998897910118103, "start": 47, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
main.coffee
MadRabbit/osom-area
1
# # Osom-Area main file # # Copyright (C) 2012 Nikolay Nemshilov # # hook up dependencies core = require('core') $ = require('dom') UI = require('ui') # local variables assignments ext = core.ext isString = core.isString isNumber = core.isNumber isArray = core.isArray Class = core.Class Elem...
103775
# # Osom-Area main file # # Copyright (C) 2012 <NAME> # # hook up dependencies core = require('core') $ = require('dom') UI = require('ui') # local variables assignments ext = core.ext isString = core.isString isNumber = core.isNumber isArray = core.isArray Class = core.Class Element = $.El...
true
# # Osom-Area main file # # Copyright (C) 2012 PI:NAME:<NAME>END_PI # # hook up dependencies core = require('core') $ = require('dom') UI = require('ui') # local variables assignments ext = core.ext isString = core.isString isNumber = core.isNumber isArray = core.isArray Class = core.Class E...
[ { "context": "assword) ->\n new ParseUser(\n username: username\n password: password\n ).save().then (u", "end": 2872, "score": 0.9941025376319885, "start": 2864, "tag": "USERNAME", "value": "username" }, { "context": "User(\n username: username\n ...
src/angular-parse.coffee
farwayer/angular-parse
1
module = angular.module 'Parse', [] CONFIG = {} module.factory 'persist', ($q, $window) -> store = $window.localStorage persist = get: (keys) -> keys = [keys] unless angular.isArray keys result = {} for key in keys if item = store.getItem key result[key] = item els...
189163
module = angular.module 'Parse', [] CONFIG = {} module.factory 'persist', ($q, $window) -> store = $window.localStorage persist = get: (keys) -> keys = [keys] unless angular.isArray keys result = {} for key in keys if item = store.getItem key result[key] = item els...
true
module = angular.module 'Parse', [] CONFIG = {} module.factory 'persist', ($q, $window) -> store = $window.localStorage persist = get: (keys) -> keys = [keys] unless angular.isArray keys result = {} for key in keys if item = store.getItem key result[key] = item els...
[ { "context": " single property', ->\n array = [\n {name: 'Michael'}\n {name: 'Ben'}\n {name: 'Danny'}\n ", "end": 175, "score": 0.9998575448989868, "start": 168, "tag": "NAME", "value": "Michael" }, { "context": " array = [\n {name: 'Michael'}\n {name...
test/orderby.test.coffee
goodeggs/orderby
5
require 'mocha-sinon' expect = require('chai').expect orderBy = require '..' describe 'orderBy', -> it 'sorts by a single property', -> array = [ {name: 'Michael'} {name: 'Ben'} {name: 'Danny'} {name: 'Max'} ] sorted = orderBy array, ['name'] expect(sorted).to.deep.equal [ ...
196413
require 'mocha-sinon' expect = require('chai').expect orderBy = require '..' describe 'orderBy', -> it 'sorts by a single property', -> array = [ {name: '<NAME>'} {name: '<NAME>'} {name: '<NAME>'} {name: '<NAME>'} ] sorted = orderBy array, ['name'] expect(sorted).to.deep.equ...
true
require 'mocha-sinon' expect = require('chai').expect orderBy = require '..' describe 'orderBy', -> it 'sorts by a single property', -> array = [ {name: 'PI:NAME:<NAME>END_PI'} {name: 'PI:NAME:<NAME>END_PI'} {name: 'PI:NAME:<NAME>END_PI'} {name: 'PI:NAME:<NAME>END_PI'} ] sorted ...
[ { "context": "llie = new Mollie.API.Client();\nmollie.setApiKey(\"test_b93kfaAsnngIAT3NysojhYvKEJ5YbP\");\n\nmodule.exports = mollie;\n", "end": 240, "score": 0.9997434020042419, "start": 205, "tag": "KEY", "value": "test_b93kfaAsnngIAT3NysojhYvKEJ5YbP" } ]
src/examples/mollie.coffee
veselinoskih/mollie-test
0
Mollie = require("../lib/mollie"); ### Initialize the Mollie API library with your API key. See: https://www.mollie.com/beheer/account/profielen/ ### mollie = new Mollie.API.Client(); mollie.setApiKey("test_b93kfaAsnngIAT3NysojhYvKEJ5YbP"); module.exports = mollie;
204825
Mollie = require("../lib/mollie"); ### Initialize the Mollie API library with your API key. See: https://www.mollie.com/beheer/account/profielen/ ### mollie = new Mollie.API.Client(); mollie.setApiKey("<KEY>"); module.exports = mollie;
true
Mollie = require("../lib/mollie"); ### Initialize the Mollie API library with your API key. See: https://www.mollie.com/beheer/account/profielen/ ### mollie = new Mollie.API.Client(); mollie.setApiKey("PI:KEY:<KEY>END_PI"); module.exports = mollie;
[ { "context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.", "end": 22, "score": 0.7636288404464722, "start": 19, "tag": "NAME", "value": "Bal" } ]
lib/models/index.coffee
josecoelho/balena-sdk
0
### Copyright 2016 Balena 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, software distribu...
46970
### Copyright 2016 <NAME>ena 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, software distr...
true
### Copyright 2016 PI:NAME:<NAME>END_PIena 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": "# seldom.js\n# Copyright (c) 2015 David Tai\n#\n#Permission to use, copy, modify, and/or distri", "end": 42, "score": 0.9998098015785217, "start": 33, "tag": "NAME", "value": "David Tai" } ]
src/seldom.coffee
davidtai/domino
0
# seldom.js # Copyright (c) 2015 David Tai # #Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIM...
205548
# seldom.js # Copyright (c) 2015 <NAME> # #Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A...
true
# seldom.js # Copyright (c) 2015 PI:NAME:<NAME>END_PI # #Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH...
[ { "context": "/localhost/enTalavera',\n options:\n user: 'enTalaUser',\n pass: 'prueba',\n messageOpen: 'conecta", "end": 150, "score": 0.9995274543762207, "start": 140, "tag": "USERNAME", "value": "enTalaUser" }, { "context": " options:\n user: 'enTalaUser',\n ...
config/db.coffee
develvad/NodeCMS
1
module.exports = db: connect: 'mongodb://localhost/enTalavera', uri: 'mongodb://localhost/enTalavera', options: user: 'enTalaUser', pass: 'prueba', messageOpen: 'conectado con la bbdd'
94419
module.exports = db: connect: 'mongodb://localhost/enTalavera', uri: 'mongodb://localhost/enTalavera', options: user: 'enTalaUser', pass: '<PASSWORD>', messageOpen: 'conectado con la bbdd'
true
module.exports = db: connect: 'mongodb://localhost/enTalavera', uri: 'mongodb://localhost/enTalavera', options: user: 'enTalaUser', pass: 'PI:PASSWORD:<PASSWORD>END_PI', messageOpen: 'conectado con la bbdd'
[ { "context": "date that a value has a maximum length\n # @author Daniel Bartholomae\n class MaxLengthValidatorRule extends ValidatorR", "end": 371, "score": 0.9998825192451477, "start": 353, "tag": "NAME", "value": "Daniel Bartholomae" } ]
src/rules/MaxLength.coffee
dbartholomae/node-validation-codes
0
((modules, factory) -> # Use define if amd compatible define function is defined if typeof define is 'function' && define.amd define modules, factory # Use node require if not else module.exports = factory (require m for m in modules)... )( ['./Rule'], (ValidatorRule) -> # A rule to validate that a value ...
52062
((modules, factory) -> # Use define if amd compatible define function is defined if typeof define is 'function' && define.amd define modules, factory # Use node require if not else module.exports = factory (require m for m in modules)... )( ['./Rule'], (ValidatorRule) -> # A rule to validate that a value ...
true
((modules, factory) -> # Use define if amd compatible define function is defined if typeof define is 'function' && define.amd define modules, factory # Use node require if not else module.exports = factory (require m for m in modules)... )( ['./Rule'], (ValidatorRule) -> # A rule to validate that a value ...
[ { "context": "# tinytest-fixture-account\n# MIT License ben@latenightsketches.com\n# lib/fixtureAccount.coffee\n# Create a fixture ac", "end": 66, "score": 0.99992436170578, "start": 41, "tag": "EMAIL", "value": "ben@latenightsketches.com" }, { "context": "->\n data = _.defaults dat...
lib/fixtureAccount.coffee
numtel/tinytest-fixture-account
2
# tinytest-fixture-account # MIT License ben@latenightsketches.com # lib/fixtureAccount.coffee # Create a fixture account and remove it when done # @param {func} done - pass through tinytest's onComplete callback # @param {obj} data - Specify data for user beyond default # @param {func} callback(error, cleanup) - # ...
23734
# tinytest-fixture-account # MIT License <EMAIL> # lib/fixtureAccount.coffee # Create a fixture account and remove it when done # @param {func} done - pass through tinytest's onComplete callback # @param {obj} data - Specify data for user beyond default # @param {func} callback(error, cleanup) - # Perfo...
true
# tinytest-fixture-account # MIT License PI:EMAIL:<EMAIL>END_PI # lib/fixtureAccount.coffee # Create a fixture account and remove it when done # @param {func} done - pass through tinytest's onComplete callback # @param {obj} data - Specify data for user beyond default # @param {func} callback(error, cleanup) - # ...
[ { "context": " plugin = new KerplunkPlugin\n name: name\n displayName: latest?.displayName\n ", "end": 3045, "score": 0.6060109734535217, "start": 3041, "tag": "NAME", "value": "name" } ]
src/index.coffee
brianshaler/kerplunk-npm
0
_ = require 'lodash' Promise = require 'when' request = require 'request' KerplunkPluginSchema = require './models/KerplunkPlugin' module.exports = (System) -> KerplunkPlugin = System.registerModel 'KerplunkPlugin', KerplunkPluginSchema routes: admin: '/admin/plugins/moderate': 'moderate' '/admi...
98915
_ = require 'lodash' Promise = require 'when' request = require 'request' KerplunkPluginSchema = require './models/KerplunkPlugin' module.exports = (System) -> KerplunkPlugin = System.registerModel 'KerplunkPlugin', KerplunkPluginSchema routes: admin: '/admin/plugins/moderate': 'moderate' '/admi...
true
_ = require 'lodash' Promise = require 'when' request = require 'request' KerplunkPluginSchema = require './models/KerplunkPlugin' module.exports = (System) -> KerplunkPlugin = System.registerModel 'KerplunkPlugin', KerplunkPluginSchema routes: admin: '/admin/plugins/moderate': 'moderate' '/admi...
[ { "context": "maximum of props on a single line in JSX\n# @author Yannick Croissant\n###\n\n'use strict'\n\ndocsUrl = require 'eslint-plug", "end": 95, "score": 0.9998324513435364, "start": 78, "tag": "NAME", "value": "Yannick Croissant" } ]
src/rules/jsx-max-props-per-line.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Limit maximum of props on a single line in JSX # @author Yannick Croissant ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' # ------------------------------------------------------------------------------ # Rule Definition # ----------------------------------------------...
177502
###* # @fileoverview Limit maximum of props on a single line in JSX # @author <NAME> ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' # ------------------------------------------------------------------------------ # Rule Definition # ---------------------------------------------------------...
true
###* # @fileoverview Limit maximum of props on a single line in JSX # @author PI:NAME:<NAME>END_PI ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' # ------------------------------------------------------------------------------ # Rule Definition # -------------------------------------------...
[ { "context": " y: y + dy / 2\n }\n {\n name: moduleName\n identifier: moduleIdentifier\n type", "end": 4310, "score": 0.5133025646209717, "start": 4300, "tag": "NAME", "value": "moduleName" }, { "context": "mponents: moduleComponents(type: moduleT...
app/js/modules/modules.coffee
osteele/ffmachine
2
ModuleLocationMap = [ ['clk1', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'clk2'], ['ff', 'ff', 'ff', 'ff', 'ff', 'dg', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'pa', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff'] ] ModuleTypeNumbers = { dg: 110 ff: 201 clk1: 5401 clk...
195573
ModuleLocationMap = [ ['clk1', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'clk2'], ['ff', 'ff', 'ff', 'ff', 'ff', 'dg', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'pa', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff'] ] ModuleTypeNumbers = { dg: 110 ff: 201 clk1: 5401 clk...
true
ModuleLocationMap = [ ['clk1', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'clk2'], ['ff', 'ff', 'ff', 'ff', 'ff', 'dg', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'pa', 'ff', 'ff', 'ff'], ['ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff', 'ff'] ] ModuleTypeNumbers = { dg: 110 ff: 201 clk1: 5401 clk...
[ { "context": "ime Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena", "end": 115, "score": 0.7406275868415833, "start": 106, "tag": "USERNAME", "value": "Southclaw" }, { "context": "hclaw/pawn-sublime-language\n# Converter crea...
snippets/SIF.ItemList.pwn.cson
Wuzi/language-pawn
4
# SIF.ItemList.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language # Converter created by Renato "Hii" Garcia # Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets '.source.pwn, .source.inc': 'ITM_LST_OF_ITEMS(%0)': 'pr...
183117
# SIF.ItemList.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language # Converter created by <NAME> "<NAME> # Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets '.source.pwn, .source.inc': 'ITM_LST_OF_ITEMS(%0)': 'prefix'...
true
# SIF.ItemList.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language # Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI # Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets '.source.pwn, .source.inc': 'ITM_LST...
[ { "context": "root = exports ? this\n\nclass Menu\n KEYS = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\"\n\n constructor: (@title, options, @cb) ->\n @m", "end": 96, "score": 0.9995130896568298, "start": 44, "tag": "KEY", "value": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR...
js/components/menus/menu.coffee
ktchernov/7drl-lion.github.io
27
root = exports ? this class Menu KEYS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" constructor: (@title, options, @cb) -> @make_choices options make_choices: (options) -> @choices = [] @choice_map = {} $.each options, (i, v) => @choices.push [KEYS[i], v] @choice_map[KEY...
799
root = exports ? this class Menu KEYS = "<KEY>" constructor: (@title, options, @cb) -> @make_choices options make_choices: (options) -> @choices = [] @choice_map = {} $.each options, (i, v) => @choices.push [KEYS[i], v] @choice_map[KEYS[i]] = v on_key: (key, mods) -> key = k...
true
root = exports ? this class Menu KEYS = "PI:KEY:<KEY>END_PI" constructor: (@title, options, @cb) -> @make_choices options make_choices: (options) -> @choices = [] @choice_map = {} $.each options, (i, v) => @choices.push [KEYS[i], v] @choice_map[KEYS[i]] = v on_key: (key, mods) -...
[ { "context": "@data = {story_type: 'foo', id: 123456789, name: 'bar'}\n spyOn(atom.notifications, 'addSuccess')\n ", "end": 2241, "score": 0.5124334096908569, "start": 2238, "tag": "NAME", "value": "bar" } ]
spec/views/story-view-spec.coffee
textbook/atom-tracker
0
StoryView = require '../../lib/views/story-view' TrackerUtils = require '../../lib/services/tracker-utils' describe 'StoryView', -> view = null beforeEach -> @view = new StoryView describe 'validateStory method', -> beforeEach -> spyOn(atom.notifications, 'addWarning') it 'should return tr...
100885
StoryView = require '../../lib/views/story-view' TrackerUtils = require '../../lib/services/tracker-utils' describe 'StoryView', -> view = null beforeEach -> @view = new StoryView describe 'validateStory method', -> beforeEach -> spyOn(atom.notifications, 'addWarning') it 'should return tr...
true
StoryView = require '../../lib/views/story-view' TrackerUtils = require '../../lib/services/tracker-utils' describe 'StoryView', -> view = null beforeEach -> @view = new StoryView describe 'validateStory method', -> beforeEach -> spyOn(atom.notifications, 'addWarning') it 'should return tr...
[ { "context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see", "end": 49, "score": 0.9998667240142822, "start": 36, "tag": "NAME", "value": "Andrew Lawson" }, { "context": "right Andrew Lawson 2012\n# @see http://github.com/...
src/ref.coffee
adlawson/coffee-key
1
'use strict' # Key # # @copyright Andrew Lawson 2012 # @see http://github.com/adlawson/key # @see http://npmjs.org/package/key # @see http://opensource.org/licenses/mit-license.php MIT License # Key reference class Reference # Setup the reference # # @param [String] name # @param [Number|Array] code con...
117847
'use strict' # Key # # @copyright <NAME> 2012 # @see http://github.com/adlawson/key # @see http://npmjs.org/package/key # @see http://opensource.org/licenses/mit-license.php MIT License # Key reference class Reference # Setup the reference # # @param [String] name # @param [Number|Array] code constructo...
true
'use strict' # Key # # @copyright PI:NAME:<NAME>END_PI 2012 # @see http://github.com/adlawson/key # @see http://npmjs.org/package/key # @see http://opensource.org/licenses/mit-license.php MIT License # Key reference class Reference # Setup the reference # # @param [String] name # @param [Number|Array] cod...
[ { "context": "}\"\n\n getUsername = (data) ->\n data.username || robot.name\n\n attachment = (data) ->\n payload = data.cont", "end": 626, "score": 0.636463463306427, "start": 616, "tag": "USERNAME", "value": "robot.name" }, { "context": " = data.icon_emoji\n else if paylo...
src/slack-attachment.coffee
inkel/hubot-slack-attachment
17
# Description: # Enable again the 'slack-attachment' event # # Environment: # HUBOT_SLACK_INCOMING_WEBHOOK slack = require 'hubot-slack' module.exports = (robot) -> options = webhook: process.env.HUBOT_SLACK_INCOMING_WEBHOOK return robot.logger.error "Missing configuration HUBOT_SLACK_INCOMING_WEBHOOK" u...
109160
# Description: # Enable again the 'slack-attachment' event # # Environment: # HUBOT_SLACK_INCOMING_WEBHOOK slack = require 'hubot-slack' module.exports = (robot) -> options = webhook: process.env.HUBOT_SLACK_INCOMING_WEBHOOK return robot.logger.error "Missing configuration HUBOT_SLACK_INCOMING_WEBHOOK" u...
true
# Description: # Enable again the 'slack-attachment' event # # Environment: # HUBOT_SLACK_INCOMING_WEBHOOK slack = require 'hubot-slack' module.exports = (robot) -> options = webhook: process.env.HUBOT_SLACK_INCOMING_WEBHOOK return robot.logger.error "Missing configuration HUBOT_SLACK_INCOMING_WEBHOOK" u...
[ { "context": "{\n service: 'openaccessbutton',\n from: 'requests@openaccessbutton.org',\n to: ['mark@cottagelabs.com','joe@righttor", "end": 2572, "score": 0.9999286532402039, "start": 2543, "tag": "EMAIL", "value": "requests@openaccessbutton.org" }, { "context": "rom:...
noddy/service/oabutton/ill.coffee
jibe-b/website
0
# ill development is on hold - keep this as is for now oab_ill = new API.collection {index:"oab",type:"oab_ill"} API.service.oab.library = (opts) -> library = {institution:opts.library,primo:{}} meta = {} if opts.url.indexOf('TITLE:') is 0 and opts.url.indexOf('CITATION:') is 0 check = API.use.crossref.re...
122472
# ill development is on hold - keep this as is for now oab_ill = new API.collection {index:"oab",type:"oab_ill"} API.service.oab.library = (opts) -> library = {institution:opts.library,primo:{}} meta = {} if opts.url.indexOf('TITLE:') is 0 and opts.url.indexOf('CITATION:') is 0 check = API.use.crossref.re...
true
# ill development is on hold - keep this as is for now oab_ill = new API.collection {index:"oab",type:"oab_ill"} API.service.oab.library = (opts) -> library = {institution:opts.library,primo:{}} meta = {} if opts.url.indexOf('TITLE:') is 0 and opts.url.indexOf('CITATION:') is 0 check = API.use.crossref.re...
[ { "context": "###\nweb.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t", "end": 42, "score": 0.9996281266212463, "start": 34, "tag": "NAME", "value": "ender xu" }, { "context": "###\nweb.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n...
src/web/web.coffee
xuender/mindfulness
0
### web.coffee Copyright (C) 2014 ender xu <xuender@gmail.com> Distributed under terms of the MIT license. ### app = angular.module('web', [ 'ui.router' 'ui.bootstrap' 'LocalStorageModule' 'ngTable' 'highcharts-ng' ])
43545
### web.coffee Copyright (C) 2014 <NAME> <<EMAIL>> Distributed under terms of the MIT license. ### app = angular.module('web', [ 'ui.router' 'ui.bootstrap' 'LocalStorageModule' 'ngTable' 'highcharts-ng' ])
true
### web.coffee Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> Distributed under terms of the MIT license. ### app = angular.module('web', [ 'ui.router' 'ui.bootstrap' 'LocalStorageModule' 'ngTable' 'highcharts-ng' ])
[ { "context": " 'Scenario-outline:'\n 'Primjeri:'\n 'Dato '\n 'Kada '\n 'Zatim '\n 'Ali '\n ", "end": 237, "score": 0.9964847564697266, "start": 233, "tag": "NAME", "value": "Dato" }, { "context": "-outline:'\n 'Primjeri:'\n 'Dato '\n 'K...
settings/language-gherkin_bs.cson
mackoj/language-gherkin-i18n
17
'.text.gherkin.feature.bs': 'editor': 'completions': [ 'Karakteristika:' 'Pozadina:' 'Primjer:' 'Scenariju:' 'Scenario:' 'Scenariju-obris:' 'Scenario-outline:' 'Primjeri:' 'Dato ' 'Kada ' 'Zatim ' 'Ali ' 'I ' 'A ' ] 'incre...
151401
'.text.gherkin.feature.bs': 'editor': 'completions': [ 'Karakteristika:' 'Pozadina:' 'Primjer:' 'Scenariju:' 'Scenario:' 'Scenariju-obris:' 'Scenario-outline:' 'Primjeri:' '<NAME> ' '<NAME> ' '<NAME> ' '<NAME> ' 'I ' 'A ' ] ...
true
'.text.gherkin.feature.bs': 'editor': 'completions': [ 'Karakteristika:' 'Pozadina:' 'Primjer:' 'Scenariju:' 'Scenario:' 'Scenariju-obris:' 'Scenario-outline:' 'Primjeri:' 'PI:NAME:<NAME>END_PI ' 'PI:NAME:<NAME>END_PI ' 'PI:NAME:<NAME>END_PI ' ...
[ { "context": "#\t> File Name: register-test.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W", "end": 50, "score": 0.9991773366928101, "start": 48, "tag": "USERNAME", "value": "LY" }, { "context": "ame: register-test.coffee\n#\t> Author: LY\n#\t> Mail: ly...
server/test/register-test.coffee
wiiliamking/miac-website
0
# > File Name: register-test.coffee # > Author: LY # > Mail: ly.franky@gmail.com # > Created Time: Wednesday, November 19, 2014 PM03:10:09 CST chai = require 'chai' chai.should() app = require '../app.coffee' request = (require 'supertest')(app) UserModel = require '../db/models/user.coffee' describe 'regist a new us...
221492
# > File Name: register-test.coffee # > Author: LY # > Mail: <EMAIL> # > Created Time: Wednesday, November 19, 2014 PM03:10:09 CST chai = require 'chai' chai.should() app = require '../app.coffee' request = (require 'supertest')(app) UserModel = require '../db/models/user.coffee' describe 'regist a new user', -> ...
true
# > File Name: register-test.coffee # > Author: LY # > Mail: PI:EMAIL:<EMAIL>END_PI # > Created Time: Wednesday, November 19, 2014 PM03:10:09 CST chai = require 'chai' chai.should() app = require '../app.coffee' request = (require 'supertest')(app) UserModel = require '../db/models/user.coffee' describe 'regist a new...
[ { "context": " a few potential codenames for you\n#\n# Author:\n# Scott J Roberts - @sroberts\n\napi_url = \"https://gist.githubuserco", "end": 215, "score": 0.9998812675476074, "start": 200, "tag": "NAME", "value": "Scott J Roberts" }, { "context": "odenames for you\n#\n# Author:\...
src/scripts/code-name-generator.coffee
snipe/hubot-vtr-scripts
1
# Description: # Generate code names for things # # Dependencies: # None # # Configuration: # None # # Commands: # hubot codename - Generates a few potential codenames for you # # Author: # Scott J Roberts - @sroberts api_url = "https://gist.githubusercontent.com" request_url = api_url + "/sroberts/6529712/r...
198872
# Description: # Generate code names for things # # Dependencies: # None # # Configuration: # None # # Commands: # hubot codename - Generates a few potential codenames for you # # Author: # <NAME> - @sroberts api_url = "https://gist.githubusercontent.com" request_url = api_url + "/sroberts/6529712/raw/1e9790...
true
# Description: # Generate code names for things # # Dependencies: # None # # Configuration: # None # # Commands: # hubot codename - Generates a few potential codenames for you # # Author: # PI:NAME:<NAME>END_PI - @sroberts api_url = "https://gist.githubusercontent.com" request_url = api_url + "/sroberts/6529...
[ { "context": " events delegation API\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nEvents_delegation =\n #\n # Attaches a delegati", "end": 95, "score": 0.9998893141746521, "start": 78, "tag": "NAME", "value": "Nikolay Nemshilov" } ]
stl/dom/src/event/delegation.coffee
lovely-io/lovely.io-stl
2
# # This module handles the events delegation API # # Copyright (C) 2011-2012 Nikolay Nemshilov # Events_delegation = # # Attaches a delegative event listener to the element/document # # :js # $(element).delegate('#css.rule', 'click', function() {...}); # $(element).delegate('#css.rule', 'click'...
104517
# # This module handles the events delegation API # # Copyright (C) 2011-2012 <NAME> # Events_delegation = # # Attaches a delegative event listener to the element/document # # :js # $(element).delegate('#css.rule', 'click', function() {...}); # $(element).delegate('#css.rule', 'click', 'addClass...
true
# # This module handles the events delegation API # # Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI # Events_delegation = # # Attaches a delegative event listener to the element/document # # :js # $(element).delegate('#css.rule', 'click', function() {...}); # $(element).delegate('#css.rule', 'cli...
[ { "context": "re\nhttp://jeremybanks.github.com/shore/\n\nCopyright Jeremy Banks <jeremy@jeremybanks.com>\nReleased under the MIT L", "end": 70, "score": 0.9998583197593689, "start": 58, "tag": "NAME", "value": "Jeremy Banks" }, { "context": "ybanks.github.com/shore/\n\nCopyright Jer...
shore-1-base.coffee
jeremyBanks-archive/shore
0
### Shore http://jeremybanks.github.com/shore/ Copyright Jeremy Banks <jeremy@jeremybanks.com> Released under the MIT License ### # This module exports a single function under the names S and shore, with a # single submodule defined as .utility and .U. In most cases you will only # need to call the module function a...
141018
### Shore http://jeremybanks.github.com/shore/ Copyright <NAME> <<EMAIL>> Released under the MIT License ### # This module exports a single function under the names S and shore, with a # single submodule defined as .utility and .U. In most cases you will only # need to call the module function and not use any of the...
true
### Shore http://jeremybanks.github.com/shore/ Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> Released under the MIT License ### # This module exports a single function under the names S and shore, with a # single submodule defined as .utility and .U. In most cases you will only # need to call the module fu...
[ { "context": "ons[i - 1]}#{htmlFragment}\"\n\n state =\n name: 'Greg'\n adjective: 'awesome'\n\n eq \"\"\"\n <p>\n ", "end": 981, "score": 0.9955678582191467, "start": 977, "tag": "NAME", "value": "Greg" }, { "context": "djective: 'awesome'\n\n eq \"\"\"\n <p>\n ...
test/tagged_template_literals.coffee
dmh43/better-coffeescript-repl
2
# Tagged template literals # ------------------------ # NOTES: # A tagged template literal is a string that is passed to a prefixing function for # post-processing. There's a bunch of different angles that need testing: # - Prefixing function, which can be any form of function call: # - function: func'Hello' # - o...
87456
# Tagged template literals # ------------------------ # NOTES: # A tagged template literal is a string that is passed to a prefixing function for # post-processing. There's a bunch of different angles that need testing: # - Prefixing function, which can be any form of function call: # - function: func'Hello' # - o...
true
# Tagged template literals # ------------------------ # NOTES: # A tagged template literal is a string that is passed to a prefixing function for # post-processing. There's a bunch of different angles that need testing: # - Prefixing function, which can be any form of function call: # - function: func'Hello' # - o...
[ { "context": "SecondUse\",'true');\n #讯动训练营\n groupid = 'd2bc4601dfc593888618e98f' \n type = 'FACE'\n joinTestGroup(groupid", "end": 4227, "score": 0.9700228571891785, "start": 4203, "tag": "KEY", "value": "d2bc4601dfc593888618e98f" }, { "context": "SecondUse\",'t...
hotShareMobile/client/introductoryPage/introductoryPage.coffee
fay1986/mobile_app_server
7
if Meteor.isClient # Template.introductoryPage.rendered=-> # $('.content').css 'min-height',$(window).height() joinTestGroup2 = (groupid, type)-> Meteor.call 'add-group-urser', groupid, [ Meteor.userId() ], (err, result)-> if err console.log err return PUB.toast('添加失败,请重试~') goto...
39275
if Meteor.isClient # Template.introductoryPage.rendered=-> # $('.content').css 'min-height',$(window).height() joinTestGroup2 = (groupid, type)-> Meteor.call 'add-group-urser', groupid, [ Meteor.userId() ], (err, result)-> if err console.log err return PUB.toast('添加失败,请重试~') goto...
true
if Meteor.isClient # Template.introductoryPage.rendered=-> # $('.content').css 'min-height',$(window).height() joinTestGroup2 = (groupid, type)-> Meteor.call 'add-group-urser', groupid, [ Meteor.userId() ], (err, result)-> if err console.log err return PUB.toast('添加失败,请重试~') goto...
[ { "context": "ERSION\n else\n localStorage.id\n\n set_name: (@name) ->\n localStorage.name = @name\n @locate()\n\n", "end": 614, "score": 0.9348351359367371, "start": 608, "tag": "USERNAME", "value": "(@name" }, { "context": "id\n\n set_name: (@name) ->\n localStor...
src/user.coffee
Synook/keen-gather
0
MAX_AGE = 60 * 10 # seconds VERSION = 2 DEFAULT_NAME = '???' class User constructor: (room, @map, @socket, @render) -> @have_listed = false @name = localStorage.name || DEFAULT_NAME @set_room room @users = {} @timeouts = {} @socket.on 'located', (data) => @located data @socket.on 'liste...
161708
MAX_AGE = 60 * 10 # seconds VERSION = 2 DEFAULT_NAME = '???' class User constructor: (room, @map, @socket, @render) -> @have_listed = false @name = localStorage.name || DEFAULT_NAME @set_room room @users = {} @timeouts = {} @socket.on 'located', (data) => @located data @socket.on 'liste...
true
MAX_AGE = 60 * 10 # seconds VERSION = 2 DEFAULT_NAME = '???' class User constructor: (room, @map, @socket, @render) -> @have_listed = false @name = localStorage.name || DEFAULT_NAME @set_room room @users = {} @timeouts = {} @socket.on 'located', (data) => @located data @socket.on 'liste...
[ { "context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\n{Disposable, CompositeDisp", "end": 35, "score": 0.9996742010116577, "start": 21, "tag": "NAME", "value": "Jesse Grosjean" } ]
atom/packages/foldingtext-for-atom/lib/foldingtext-service.coffee
prookie/dotfiles-1
0
# Copyright (c) 2015 Jesse Grosjean. All rights reserved. {Disposable, CompositeDisposable} = require 'atom' # Public: This is the object vended by the `foldingtext-service` and the entry # point to FoldingText's API. # # ## Example # # To get an instance of {FoldingTextService} you subscribe to FoldingText using # A...
220176
# Copyright (c) 2015 <NAME>. All rights reserved. {Disposable, CompositeDisposable} = require 'atom' # Public: This is the object vended by the `foldingtext-service` and the entry # point to FoldingText's API. # # ## Example # # To get an instance of {FoldingTextService} you subscribe to FoldingText using # Atom's [s...
true
# Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. {Disposable, CompositeDisposable} = require 'atom' # Public: This is the object vended by the `foldingtext-service` and the entry # point to FoldingText's API. # # ## Example # # To get an instance of {FoldingTextService} you subscribe to FoldingText usi...
[ { "context": "ct: 'EA'\n scope: {\n key: '@'\n token: '=?'\n }\n ", "end": 249, "score": 0.9608898758888245, "start": 247, "tag": "KEY", "value": "'@" } ]
web/app/scripts/directives/referenceToken.coffee
ExpediaGroup/parsec
1
# # This directive generates a language reference token by name # Parsec.Directives.directive 'referenceToken', ($compile, parsecService, documentationService) -> { restrict: 'EA' scope: { key: '@' token: '=?' } templateUrl: '/...
180521
# # This directive generates a language reference token by name # Parsec.Directives.directive 'referenceToken', ($compile, parsecService, documentationService) -> { restrict: 'EA' scope: { key: <KEY>' token: '=?' } templateUrl:...
true
# # This directive generates a language reference token by name # Parsec.Directives.directive 'referenceToken', ($compile, parsecService, documentationService) -> { restrict: 'EA' scope: { key: PI:KEY:<KEY>END_PI' token: '=?' } ...
[ { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under", "end": 23, "score": 0.9548671841621399, "start": 17, "tag": "NAME", "value": "SASAKI" }, { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac", ...
app.coffee
erukiti/cerebrums
7
# Copyright 2015 SASAKI, Shunsuke. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
180861
# Copyright 2015 <NAME>, <NAME>. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
true
# Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ { "context": "###\n backbone-modelref.js 0.1.5\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-modelref/\n", "end": 64, "score": 0.9997936487197876, "start": 50, "tag": "NAME", "value": "Kevin Malakoff" }, { "context": "js 0.1.5\n (c) 2011, 2012 Kevin Malako...
src/backbone-modelref.coffee
kmalakoff/backbone-modelref
2
### backbone-modelref.js 0.1.5 (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-modelref/ License: MIT (http://www.opensource.org/licenses/mit-license.php) Dependencies: Backbone.js, and Underscore.js. ### # helpers isFunction = (obj) -> return typeof(obj) is 'function' bind = (obj, fn_name...
65795
### backbone-modelref.js 0.1.5 (c) 2011, 2012 <NAME> - http://kmalakoff.github.com/backbone-modelref/ License: MIT (http://www.opensource.org/licenses/mit-license.php) Dependencies: Backbone.js, and Underscore.js. ### # helpers isFunction = (obj) -> return typeof(obj) is 'function' bind = (obj, fn_name) -> fn ...
true
### backbone-modelref.js 0.1.5 (c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/backbone-modelref/ License: MIT (http://www.opensource.org/licenses/mit-license.php) Dependencies: Backbone.js, and Underscore.js. ### # helpers isFunction = (obj) -> return typeof(obj) is 'function' bind = (obj, f...
[ { "context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ", "end": 38, "score": 0.9998876452445984, "start": 25, "tag": "NAME", "value": "Andrey Antukh" }, { "context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright...
public/taiga-front/app/coffee/modules/common/estimation.coffee
mabotech/maboss
0
### # Copyright (C) 2014 Andrey Antukh <niwi@niwi.be> # Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com> # Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as ...
167427
### # Copyright (C) 2014 <NAME> <<EMAIL>> # Copyright (C) 2014 <NAME> <<EMAIL>> # Copyright (C) 2014 <NAME> <<EMAIL>> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of...
true
### # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gen...
[ { "context": " \"Even Britney wouldn't attempt it\"\n \"What would Justin Beiber do?\"\n]\n\nconsole.log 'here'\n\n$(\"#kittyball\").on 'c", "end": 229, "score": 0.9998506307601929, "start": 216, "tag": "NAME", "value": "Justin Beiber" } ]
js/kittyball.coffee
imvantastic/CPSC473_gradProj
0
responses = [ "Yes" "No" "Maybe" "Ask your mom" "Who knows?" "You have a slight chance" "I would go with what that voice in your head tells you to do" "Even Britney wouldn't attempt it" "What would Justin Beiber do?" ] console.log 'here' $("#kittyball").on 'click', -> $(".shake").effect "shake", {...
172715
responses = [ "Yes" "No" "Maybe" "Ask your mom" "Who knows?" "You have a slight chance" "I would go with what that voice in your head tells you to do" "Even Britney wouldn't attempt it" "What would <NAME> do?" ] console.log 'here' $("#kittyball").on 'click', -> $(".shake").effect "shake", { ti...
true
responses = [ "Yes" "No" "Maybe" "Ask your mom" "Who knows?" "You have a slight chance" "I would go with what that voice in your head tells you to do" "Even Britney wouldn't attempt it" "What would PI:NAME:<NAME>END_PI do?" ] console.log 'here' $("#kittyball").on 'click', -> $(".shake").effect "sh...
[ { "context": "#\n# Copyright (c) 2014 by Maximilian Schüßler. See LICENSE for details.\n#\n\nCoffeeDocs = require", "end": 45, "score": 0.9998548030853271, "start": 26, "tag": "NAME", "value": "Maximilian Schüßler" } ]
lib/main.coffee
chrisb1510/mycoffeedocs
0
# # Copyright (c) 2014 by Maximilian Schüßler. See LICENSE for details. # CoffeeDocs = require('./coffeedocs') module.exports = configDefaults: addReturns: true, ReturnsDefaultType: '`undefined`', ReturnsTemplate: 'Returns the %desc% as %type%.' SearchLineBelowInstead: false # Public: Package get...
147510
# # Copyright (c) 2014 by <NAME>. See LICENSE for details. # CoffeeDocs = require('./coffeedocs') module.exports = configDefaults: addReturns: true, ReturnsDefaultType: '`undefined`', ReturnsTemplate: 'Returns the %desc% as %type%.' SearchLineBelowInstead: false # Public: Package gets activated. ...
true
# # Copyright (c) 2014 by PI:NAME:<NAME>END_PI. See LICENSE for details. # CoffeeDocs = require('./coffeedocs') module.exports = configDefaults: addReturns: true, ReturnsDefaultType: '`undefined`', ReturnsTemplate: 'Returns the %desc% as %type%.' SearchLineBelowInstead: false # Public: Package ge...
[ { "context": "rd item texts for CO2 reduction.\n for key in ['co2_reduction', 'local_co2_reduction']\n if item = dashboard.", "end": 716, "score": 0.9422391653060913, "start": 701, "tag": "KEY", "value": "co2_reduction'," }, { "context": " CO2 reduction.\n for key in ['co2...
app/assets/javascripts/lib/models/setting.coffee
sfp-kemp/etmodel
0
class @Setting extends Backbone.Model constructor: -> super @on 'change:use_fce', @on_fce_status_change url: -> '/settings' # Always use PUT requests isNew : -> false get_scaling: => @get('scaling') || @get('area_scaling') toggle_fce: (event) => @set(use_fce: !! $(event.target).is(':chec...
145263
class @Setting extends Backbone.Model constructor: -> super @on 'change:use_fce', @on_fce_status_change url: -> '/settings' # Always use PUT requests isNew : -> false get_scaling: => @get('scaling') || @get('area_scaling') toggle_fce: (event) => @set(use_fce: !! $(event.target).is(':chec...
true
class @Setting extends Backbone.Model constructor: -> super @on 'change:use_fce', @on_fce_status_change url: -> '/settings' # Always use PUT requests isNew : -> false get_scaling: => @get('scaling') || @get('area_scaling') toggle_fce: (event) => @set(use_fce: !! $(event.target).is(':chec...
[ { "context": ": (job) =>\n return false if !job?\n \n id = job[@columns.id]\n jid = job[@columns.jid]\n clas", "end": 2667, "score": 0.7484697699546814, "start": 2664, "tag": "EMAIL", "value": "job" }, { "context": "ob) =>\n return false if !job?\n \n id = job...
app/assets/javascripts/sidekiq/monitor/abstract_jobs_table.js.coffee
TriompheMarketing/sidekiq_monitor
112
class SidekiqMonitor.AbstractJobsTable constructor: -> @api_params = {} @initialize() initialize_with_options: (options) => @options = options @table = $(@options.table_selector) @columns = @options.columns @status_filter = null $.getJSON SidekiqMonitor.settings.api_url('jobs/clean')...
74943
class SidekiqMonitor.AbstractJobsTable constructor: -> @api_params = {} @initialize() initialize_with_options: (options) => @options = options @table = $(@options.table_selector) @columns = @options.columns @status_filter = null $.getJSON SidekiqMonitor.settings.api_url('jobs/clean')...
true
class SidekiqMonitor.AbstractJobsTable constructor: -> @api_params = {} @initialize() initialize_with_options: (options) => @options = options @table = $(@options.table_selector) @columns = @options.columns @status_filter = null $.getJSON SidekiqMonitor.settings.api_url('jobs/clean')...
[ { "context": " {type:'animation',params:[{\n key: 'anime001'\n src:\n x: 100\n ", "end": 522, "score": 0.996392011642456, "start": 514, "tag": "KEY", "value": "anime001" } ]
src/test/client/InterpreterAnimationTest.coffee
fukuyama/tmlib-rpg
0
# InterpreterAnimationTest # 価値は何か,誰にとっての価値か,実際の機能は何か describe 'rpg.Interpreter(Animation)', () -> interpreter = null @timeout(10000) describe 'アニメーションの操作1', -> describe 'アニメーションの実行', -> it 'wait', (done) -> setTimeout(done,1000) it 'マップシーンへ移動', (done) -> reloadTestMap(done) ...
97020
# InterpreterAnimationTest # 価値は何か,誰にとっての価値か,実際の機能は何か describe 'rpg.Interpreter(Animation)', () -> interpreter = null @timeout(10000) describe 'アニメーションの操作1', -> describe 'アニメーションの実行', -> it 'wait', (done) -> setTimeout(done,1000) it 'マップシーンへ移動', (done) -> reloadTestMap(done) ...
true
# InterpreterAnimationTest # 価値は何か,誰にとっての価値か,実際の機能は何か describe 'rpg.Interpreter(Animation)', () -> interpreter = null @timeout(10000) describe 'アニメーションの操作1', -> describe 'アニメーションの実行', -> it 'wait', (done) -> setTimeout(done,1000) it 'マップシーンへ移動', (done) -> reloadTestMap(done) ...
[ { "context": "key: 'menu-macro'\n\npatterns: [\n\n # Matches a menu inline macro.\n ", "end": 16, "score": 0.9592337608337402, "start": 6, "tag": "KEY", "value": "menu-macro" } ]
grammars/repositories/inlines/menu-macro-grammar.cson
andrewcarver/atom-language-asciidoc
45
key: 'menu-macro' patterns: [ # Matches a menu inline macro. # # Examples # # menu:File[New...] # menu:View[Page Style > No Style] # menu:View[Page Style, No Style] # name: 'markup.other.menu.asciidoc' match: '(?<!\\\\)(menu):(\\p{Word}|\\p{Word}.*?\\S)\\[\\p{Blank}*(.+?)?\\]' captures: ...
117867
key: '<KEY>' patterns: [ # Matches a menu inline macro. # # Examples # # menu:File[New...] # menu:View[Page Style > No Style] # menu:View[Page Style, No Style] # name: 'markup.other.menu.asciidoc' match: '(?<!\\\\)(menu):(\\p{Word}|\\p{Word}.*?\\S)\\[\\p{Blank}*(.+?)?\\]' captures: 1: ...
true
key: 'PI:KEY:<KEY>END_PI' patterns: [ # Matches a menu inline macro. # # Examples # # menu:File[New...] # menu:View[Page Style > No Style] # menu:View[Page Style, No Style] # name: 'markup.other.menu.asciidoc' match: '(?<!\\\\)(menu):(\\p{Word}|\\p{Word}.*?\\S)\\[\\p{Blank}*(.+?)?\\]' capt...
[ { "context": "configurable: true\n\t\"taz\":\n\t\tget: ->\n\t\t\treturn \"tazmanian devil\"\n}\n\nt2 = O5.defineProperties {}, {\n\t\"far\":\n\t\twrit", "end": 362, "score": 0.9722281694412231, "start": 349, "tag": "NAME", "value": "zmanian devil" } ]
src/test.coffee
AndersDJohnson/O5
1
O5 = require "./O5" t1 = O5.defineProperty {}, "foo", { writable: true configurable: false set: (value) -> return "[" + value + "-SETTED]" } O5.defineProperty t1, "bar", { writable: false configurable: true } O5.defineProperties t1, { "bing": writable: false value: "write blocked!" configurable: true "...
169398
O5 = require "./O5" t1 = O5.defineProperty {}, "foo", { writable: true configurable: false set: (value) -> return "[" + value + "-SETTED]" } O5.defineProperty t1, "bar", { writable: false configurable: true } O5.defineProperties t1, { "bing": writable: false value: "write blocked!" configurable: true "...
true
O5 = require "./O5" t1 = O5.defineProperty {}, "foo", { writable: true configurable: false set: (value) -> return "[" + value + "-SETTED]" } O5.defineProperty t1, "bar", { writable: false configurable: true } O5.defineProperties t1, { "bing": writable: false value: "write blocked!" configurable: true "...
[ { "context": "r()\n\n $http.post(api.login,\n username: username\n password: password\n ).success (data,", "end": 1947, "score": 0.9983938932418823, "start": 1939, "tag": "USERNAME", "value": "username" }, { "context": "ogin,\n username: username\n ...
public/assets/vendor/noToolbox/example/assets/vendor/noToolbox/lib/services/bxSession/lib/bxSession.coffee
phuoctien/chatbox
8
angular.module('bxSession.session', []) .service 'bxSession', [ '$rootScope', '$http', '$q' ($rootScope, $http, $q)-> session = null authenticated = false scope = $rootScope # TODO: emit error object onError = () -> session = null authenticated = false api = login: '/api...
19735
angular.module('bxSession.session', []) .service 'bxSession', [ '$rootScope', '$http', '$q' ($rootScope, $http, $q)-> session = null authenticated = false scope = $rootScope # TODO: emit error object onError = () -> session = null authenticated = false api = login: '/api...
true
angular.module('bxSession.session', []) .service 'bxSession', [ '$rootScope', '$http', '$q' ($rootScope, $http, $q)-> session = null authenticated = false scope = $rootScope # TODO: emit error object onError = () -> session = null authenticated = false api = login: '/api...
[ { "context": "), false\n\nlink = (collection, selector) ->\n key = _.keys(selector)[0]\n items = _.filter collection, (item", "end": 971, "score": 0.819757342338562, "start": 965, "tag": "KEY", "value": "_.keys" }, { "context": " (collection, selector) ->\n key = _.keys(selector)[...
coffee-markdown/doc-as-code.coffee
ICTU/document-as-code
2
fs = require 'fs' marked = require 'marked' markedast = require 'marked-ast' markdown = require 'marked-ast-markdown' coffeescript = require 'coffee-script' _ = require 'lodash' Model = (schema) -> (params...) -> obj = {}; keys = _.keys schema obj[key] = params[i] for i, key of keys obj genTableRow = (key...
70293
fs = require 'fs' marked = require 'marked' markedast = require 'marked-ast' markdown = require 'marked-ast-markdown' coffeescript = require 'coffee-script' _ = require 'lodash' Model = (schema) -> (params...) -> obj = {}; keys = _.keys schema obj[key] = params[i] for i, key of keys obj genTableRow = (key...
true
fs = require 'fs' marked = require 'marked' markedast = require 'marked-ast' markdown = require 'marked-ast-markdown' coffeescript = require 'coffee-script' _ = require 'lodash' Model = (schema) -> (params...) -> obj = {}; keys = _.keys schema obj[key] = params[i] for i, key of keys obj genTableRow = (key...
[ { "context": "93f15da40b3326ae35832fecb6173f7ea?alt=media&token=c2e9fedd-20cc-4fc7-9d39-77d24e7c64f9\"\n\nmodule.exports = (self) ->\n previousRoom = nul", "end": 1298, "score": 0.9937630891799927, "start": 1262, "tag": "PASSWORD", "value": "c2e9fedd-20cc-4fc7-9d39-77d24e7c64f9" } ]
presenters/chateau.coffee
You-App/chateau
2
AvatarTemplate = require "../templates/avatar" ChateauTemplate = require "../templates/chateau" PropTemplate = require "../templates/prop" RoomTemplate = require "../templates/room" FriendsPresenter = require "./friends" AvatarPresenter = (avatar, self) -> stats.increment "presenter.avatar" AvatarTemplate Object...
211492
AvatarTemplate = require "../templates/avatar" ChateauTemplate = require "../templates/chateau" PropTemplate = require "../templates/prop" RoomTemplate = require "../templates/room" FriendsPresenter = require "./friends" AvatarPresenter = (avatar, self) -> stats.increment "presenter.avatar" AvatarTemplate Object...
true
AvatarTemplate = require "../templates/avatar" ChateauTemplate = require "../templates/chateau" PropTemplate = require "../templates/prop" RoomTemplate = require "../templates/room" FriendsPresenter = require "./friends" AvatarPresenter = (avatar, self) -> stats.increment "presenter.avatar" AvatarTemplate Object...
[ { "context": "'\n 'Burned by a tower of flame.'\n 'Killed by Ms. Sipaliwini, the shopkeeper.'\n 'Fell onto a sink.'\n 'Killed", "end": 716, "score": 0.9990211725234985, "start": 706, "tag": "NAME", "value": "Sipaliwini" }, { "context": "d by kicking a sink.'\n 'Killed by a kitte...
multicore.coffee
JurianLock/codecombat
1
cluster = require 'cluster' numCPUs = require('os').cpus().length deaths = [ 'Killed by a soldier ant.' 'Ascended.' 'Killed by an invisible gnome lord.' 'Died of starvation.' 'Petrified by a cockatrice corpse.' 'Poisoned by a rotted kobold corpse.' 'Fell into a pit.' 'Killed by brainlessness.' 'Slipp...
139222
cluster = require 'cluster' numCPUs = require('os').cpus().length deaths = [ 'Killed by a soldier ant.' 'Ascended.' 'Killed by an invisible gnome lord.' 'Died of starvation.' 'Petrified by a cockatrice corpse.' 'Poisoned by a rotted kobold corpse.' 'Fell into a pit.' 'Killed by brainlessness.' 'Slipp...
true
cluster = require 'cluster' numCPUs = require('os').cpus().length deaths = [ 'Killed by a soldier ant.' 'Ascended.' 'Killed by an invisible gnome lord.' 'Died of starvation.' 'Petrified by a cockatrice corpse.' 'Poisoned by a rotted kobold corpse.' 'Fell into a pit.' 'Killed by brainlessness.' 'Slipp...
[ { "context": "\r\n* sequential-guid\r\n*\r\n* Copyright (c) 2013 Pawel Nowosielski\r\n* MIT License - http://opensource.org/license", "end": 71, "score": 0.9997343420982361, "start": 54, "tag": "NAME", "value": "Pawel Nowosielski" }, { "context": "id library, [thank you Broo...
frontend/node_modules/sequential-guid/sequid.coffee
tiennesdm/Fashion
0
### * sequential-guid * * Copyright (c) 2013 Pawel Nowosielski * MIT License - http://opensource.org/licenses/mit-license.php * * More info and usage, please refer to README.md file * Generation guids version 1 and 4 cannot be done without node-uuid library, [thank you Broofa](https://github.com/b...
134577
### * sequential-guid * * Copyright (c) 2013 <NAME> * MIT License - http://opensource.org/licenses/mit-license.php * * More info and usage, please refer to README.md file * Generation guids version 1 and 4 cannot be done without node-uuid library, [thank you Broofa](https://github.com/broofa/node-...
true
### * sequential-guid * * Copyright (c) 2013 PI:NAME:<NAME>END_PI * MIT License - http://opensource.org/licenses/mit-license.php * * More info and usage, please refer to README.md file * Generation guids version 1 and 4 cannot be done without node-uuid library, [thank you Broofa](https://github.co...
[ { "context": "members').addClass('show').attr(\"data-team-name\",\"Daltons\")\n\n App.TeamMembers.onLoad()\n\n expect(App.C", "end": 353, "score": 0.9993196725845337, "start": 346, "tag": "NAME", "value": "Daltons" }, { "context": "pp.Channels.Team.subscribe).toHaveBeenCalledWi...
spec/javascripts/team_members_spec.coffee
RayNovarina/planning-poker-03-15-17
0
describe "Team Members", -> beforeEach -> $('body').removeClass('team_members').removeClass('show').removeAttr("data-team-name") spyOn(App.Channels.Team, 'subscribe').and.callThrough() it "subscribes to the team channel named from the body's data", -> $('body').addClass('team_members').addClass('show...
85417
describe "Team Members", -> beforeEach -> $('body').removeClass('team_members').removeClass('show').removeAttr("data-team-name") spyOn(App.Channels.Team, 'subscribe').and.callThrough() it "subscribes to the team channel named from the body's data", -> $('body').addClass('team_members').addClass('show...
true
describe "Team Members", -> beforeEach -> $('body').removeClass('team_members').removeClass('show').removeAttr("data-team-name") spyOn(App.Channels.Team, 'subscribe').and.callThrough() it "subscribes to the team channel named from the body's data", -> $('body').addClass('team_members').addClass('show...
[ { "context": "\t\" <state>active</state>\" +\n\t\t\" <username nil=\\\"nil\\\"></username>\" +\n\t\t\" <email>verena@example.com</", "end": 4752, "score": 0.9678027033805847, "start": 4749, "tag": "USERNAME", "value": "nil" }, { "context": " <username nil=\\\"nil\\\"></username>\"...
test/unit/coffee/Subscription/RecurlyWrapperTests.coffee
davidmehren/web-sharelatex
1
should = require('chai').should() expect = require('chai').expect sinon = require 'sinon' crypto = require 'crypto' querystring = require 'querystring' modulePath = "../../../../app/js/Features/Subscription/RecurlyWrapper" SandboxedModule = require('sandboxed-module') tk = require("timekeeper") fixtures = "subscripti...
110594
should = require('chai').should() expect = require('chai').expect sinon = require 'sinon' crypto = require 'crypto' querystring = require 'querystring' modulePath = "../../../../app/js/Features/Subscription/RecurlyWrapper" SandboxedModule = require('sandboxed-module') tk = require("timekeeper") fixtures = "subscripti...
true
should = require('chai').should() expect = require('chai').expect sinon = require 'sinon' crypto = require 'crypto' querystring = require 'querystring' modulePath = "../../../../app/js/Features/Subscription/RecurlyWrapper" SandboxedModule = require('sandboxed-module') tk = require("timekeeper") fixtures = "subscripti...
[ { "context": "l\n constructor: (h={}) ->\n @name = h.name || 'Jolly'\n @legs = 2\n move: (meters) ->\n console.lo", "end": 66, "score": 0.9997010827064514, "start": 61, "tag": "NAME", "value": "Jolly" }, { "context": "()\n\n## main\nsam = new Snake\ntom = new Horse name:\"...
javascript/coffee-script-20120430/class.coffee
iandeth/trials
0
class Animal constructor: (h={}) -> @name = h.name || 'Jolly' @legs = 2 move: (meters) -> console.log "#{@name} moved #{meters}m." walk: () -> console.log "walk with #{@legs} legs." ## static method bark: (voice="anima---l") -> console.log voice ## static properties @group: 'mammals' ...
45177
class Animal constructor: (h={}) -> @name = h.name || '<NAME>' @legs = 2 move: (meters) -> console.log "#{@name} moved #{meters}m." walk: () -> console.log "walk with #{@legs} legs." ## static method bark: (voice="anima---l") -> console.log voice ## static properties @group: 'mammals' ...
true
class Animal constructor: (h={}) -> @name = h.name || 'PI:NAME:<NAME>END_PI' @legs = 2 move: (meters) -> console.log "#{@name} moved #{meters}m." walk: () -> console.log "walk with #{@legs} legs." ## static method bark: (voice="anima---l") -> console.log voice ## static properties @gro...
[ { "context": "upName: 'test-group'\n\nsampleChannel =\n key: 'test-channel'\n\nensureResource = (service, predicate, sa", "end": 2685, "score": 0.5148545503616333, "start": 2685, "tag": "KEY", "value": "" }, { "context": " typeId: 'product-type'\n id: @productTyp...
test/integration/product-import.spec.coffee
sphereio/sphere-product-import
5
os = require 'os' path = require 'path' sinon = require 'sinon' debug = require('debug')('spec:it:sphere-product-import') _ = require 'underscore' _.mixin require 'underscore-mixins' Promise = require 'bluebird' { ExtendedLogger } = require 'sphere-node-utils' { ProductImport } = require '../../lib' ClientConfig = requ...
183322
os = require 'os' path = require 'path' sinon = require 'sinon' debug = require('debug')('spec:it:sphere-product-import') _ = require 'underscore' _.mixin require 'underscore-mixins' Promise = require 'bluebird' { ExtendedLogger } = require 'sphere-node-utils' { ProductImport } = require '../../lib' ClientConfig = requ...
true
os = require 'os' path = require 'path' sinon = require 'sinon' debug = require('debug')('spec:it:sphere-product-import') _ = require 'underscore' _.mixin require 'underscore-mixins' Promise = require 'bluebird' { ExtendedLogger } = require 'sphere-node-utils' { ProductImport } = require '../../lib' ClientConfig = requ...
[ { "context": "rbot\n# A NodeJS module for creating Twitter Bots\n# Nathaniel Kirby <nate@projectspong.com\n# https://github.com/nkirb", "end": 132, "score": 0.9998688101768494, "start": 117, "tag": "NAME", "value": "Nathaniel Kirby" }, { "context": "dule for creating Twitter Bots\n# ...
src/twitterbot_action.coffee
nkirby/node-twitterbot
75
#################################################### # node-twitterbot # A NodeJS module for creating Twitter Bots # Nathaniel Kirby <nate@projectspong.com # https://github.com/nkirby/node-twitterbot #################################################### eventEmitter = require('events').EventEmitter class TwitterBotAct...
179358
#################################################### # node-twitterbot # A NodeJS module for creating Twitter Bots # <NAME> <<EMAIL> # https://github.com/nkirby/node-twitterbot #################################################### eventEmitter = require('events').EventEmitter class TwitterBotAction extends eventEmitte...
true
#################################################### # node-twitterbot # A NodeJS module for creating Twitter Bots # PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI # https://github.com/nkirby/node-twitterbot #################################################### eventEmitter = require('events').EventEmitter class Twitter...
[ { "context": "lass CommonState\n @shouldParse: (key) -> key is 'cmnS'\n\n constructor: (file,size) ->\n #super(size)\n", "end": 172, "score": 0.821158230304718, "start": 168, "tag": "KEY", "value": "cmnS" } ]
lib/psd/layer_info/effect_info/common_state.coffee
fzx-design/Trims-psd-resolving
0
Descriptor = require '../../descriptor.coffee' EffectLayer = require '../effect_layer_info.coffee' module.exports = class CommonState @shouldParse: (key) -> key is 'cmnS' constructor: (file,size) -> #super(size) @file = file @version = null #4 @visible = null #1 parse: -> @version = @file....
142170
Descriptor = require '../../descriptor.coffee' EffectLayer = require '../effect_layer_info.coffee' module.exports = class CommonState @shouldParse: (key) -> key is '<KEY>' constructor: (file,size) -> #super(size) @file = file @version = null #4 @visible = null #1 parse: -> @version = @file...
true
Descriptor = require '../../descriptor.coffee' EffectLayer = require '../effect_layer_info.coffee' module.exports = class CommonState @shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI' constructor: (file,size) -> #super(size) @file = file @version = null #4 @visible = null #1 parse: -> @ve...
[ { "context": "authenticate(\"localhost:3003\").basic(\"username\", \"wrong\")\n @browser.visit(\"http://localhost:3003/a", "end": 943, "score": 0.8380624651908875, "start": 938, "tag": "USERNAME", "value": "wrong" }, { "context": "authenticate(\"localhost:3003\").basic(\"usern...
test/authentication_test.coffee
krasimir/zombie
1
{ assert, brains, Browser } = require("./helpers") describe "Authentication", -> describe "basic", -> before (done)-> brains.get "/auth/basic", (req, res) -> if auth = req.headers.authorization if auth == "Basic dXNlcm5hbWU6cGFzczEyMw==" res.send "<html><body>#{req.headers["...
177000
{ assert, brains, Browser } = require("./helpers") describe "Authentication", -> describe "basic", -> before (done)-> brains.get "/auth/basic", (req, res) -> if auth = req.headers.authorization if auth == "Basic dXNlcm5hbWU6cGFzczEyMw==" res.send "<html><body>#{req.headers["...
true
{ assert, brains, Browser } = require("./helpers") describe "Authentication", -> describe "basic", -> before (done)-> brains.get "/auth/basic", (req, res) -> if auth = req.headers.authorization if auth == "Basic dXNlcm5hbWU6cGFzczEyMw==" res.send "<html><body>#{req.headers["...
[ { "context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission", "end": 18, "score": 0.9970172047615051, "start": 12, "tag": "NAME", "value": "Joyent" } ]
test/message/2100bytes.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...
140888
# 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": ": false })\n\n # We only ever want to show three. Ben...Kevin... Marty\n # But we want the *right* th", "end": 3078, "score": 0.9998316168785095, "start": 3075, "tag": "NAME", "value": "Ben" }, { "context": " })\n\n # We only ever want to show three. Ben...Kevi...
app/internal_packages/thread-list/lib/thread-list-participants.cjsx
immershy/nodemail
0
React = require 'react' {Utils} = require 'nylas-exports' _ = require 'underscore' class ThreadListParticipants extends React.Component @displayName: 'ThreadListParticipants' @propTypes: thread: React.PropTypes.object.isRequired shouldComponentUpdate: (nextProps) => return false if nextProps.thread is ...
111950
React = require 'react' {Utils} = require 'nylas-exports' _ = require 'underscore' class ThreadListParticipants extends React.Component @displayName: 'ThreadListParticipants' @propTypes: thread: React.PropTypes.object.isRequired shouldComponentUpdate: (nextProps) => return false if nextProps.thread is ...
true
React = require 'react' {Utils} = require 'nylas-exports' _ = require 'underscore' class ThreadListParticipants extends React.Component @displayName: 'ThreadListParticipants' @propTypes: thread: React.PropTypes.object.isRequired shouldComponentUpdate: (nextProps) => return false if nextProps.thread is ...
[ { "context": "# #\n# @author: Nino P. Cocchiarella #\n# Copyright (C) 2015 #\n# ple", "end": 109, "score": 0.9998629689216614, "start": 89, "tag": "NAME", "value": "Nino P. Cocchiarella" } ]
src/static/site/coffeescript/coffeescript/class.FractalTree.coffee
nino-c/plerp.org
0
##################################### # # # @author: Nino P. Cocchiarella # # Copyright (C) 2015 # # plerp.org # # # ##################################### pi = Math.PI abs = Math.abs sin = Math.sin cos = Math...
203742
##################################### # # # @author: <NAME> # # Copyright (C) 2015 # # plerp.org # # # ##################################### pi = Math.PI abs = Math.abs sin = Math.sin cos = Math.cos arcsin = ...
true
##################################### # # # @author: PI:NAME:<NAME>END_PI # # Copyright (C) 2015 # # plerp.org # # # ##################################### pi = Math.PI abs = Math.abs sin = Math.sin cos = Math...
[ { "context": "iv>\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"username\" />\n\t\t\t\t\t\t\t<span class=\"placeholder\">Username</sp", "end": 5147, "score": 0.9989848732948303, "start": 5139, "tag": "USERNAME", "value": "username" }, { "context": "me=\"username\" /...
zooniverse-bar/ZooniverseBar.coffee
zooniverse/Front-End-Assets
0
define = window.define or (factory) -> getGlobal = (module) -> window[module] window.ZooniverseBar = factory getGlobal, null define (require, exports) -> $ = require 'jQuery' delay = (duration, callback) -> setTimeout callback, duration translate = (raw) -> if raw.constructor is String "<span>#{raw}</s...
161204
define = window.define or (factory) -> getGlobal = (module) -> window[module] window.ZooniverseBar = factory getGlobal, null define (require, exports) -> $ = require 'jQuery' delay = (duration, callback) -> setTimeout callback, duration translate = (raw) -> if raw.constructor is String "<span>#{raw}</s...
true
define = window.define or (factory) -> getGlobal = (module) -> window[module] window.ZooniverseBar = factory getGlobal, null define (require, exports) -> $ = require 'jQuery' delay = (duration, callback) -> setTimeout callback, duration translate = (raw) -> if raw.constructor is String "<span>#{raw}</s...
[ { "context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n Example by iDigitalFlame <", "end": 61, "score": 0.9998747706413269, "start": 41, "tag": "NAME", "value": "Michael Strassburger" }, { "context": " Go(c) MITM node proxy\n by Michae...
example.showPokeStopTime.coffee
noobcakes4603/tinkering
393
### Pokemon Go(c) MITM node proxy by Michael Strassburger <codepoet@cpan.org> Example by iDigitalFlame <idf@idfla.me> This example just shows the timeouts for PokeStops in the description of the stop ### PokemonGoMITM = require './lib/pokemon-go-mitm' changeCase = require 'change-case' moment = require 'mo...
86775
### Pokemon Go(c) MITM node proxy by <NAME> <<EMAIL>> Example by iDigitalFlame <<EMAIL>> This example just shows the timeouts for PokeStops in the description of the stop ### PokemonGoMITM = require './lib/pokemon-go-mitm' changeCase = require 'change-case' moment = require 'moment' LatLon = require('geode...
true
### Pokemon Go(c) MITM node proxy by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> Example by iDigitalFlame <PI:EMAIL:<EMAIL>END_PI> This example just shows the timeouts for PokeStops in the description of the stop ### PokemonGoMITM = require './lib/pokemon-go-mitm' changeCase = require 'change-case' momen...
[ { "context": "l\n username: null\n password: null\n\n instanceElement = caller.servicenowSyn", "end": 6633, "score": 0.9809821844100952, "start": 6629, "tag": "PASSWORD", "value": "null" }, { "context": "\n for definition of envVars\n ke...
lib/modules/servicenow-sync-utils.coffee
KumoTech/atom-servicenow-sync
8
{CompositeDisposable} = require 'atom' module.exports = utils = views: settingsPanel: show: (caller) -> if !caller.settingsPanel.isVisible() caller.servicenowSyncSettingsPanel.urlInputModel.setText '' caller.servicenowSyncSettingsPanel.instanceInputModel.setText '' cal...
59475
{CompositeDisposable} = require 'atom' module.exports = utils = views: settingsPanel: show: (caller) -> if !caller.settingsPanel.isVisible() caller.servicenowSyncSettingsPanel.urlInputModel.setText '' caller.servicenowSyncSettingsPanel.instanceInputModel.setText '' cal...
true
{CompositeDisposable} = require 'atom' module.exports = utils = views: settingsPanel: show: (caller) -> if !caller.settingsPanel.isVisible() caller.servicenowSyncSettingsPanel.urlInputModel.setText '' caller.servicenowSyncSettingsPanel.instanceInputModel.setText '' cal...
[ { "context": "bsite\n# https://docs.google.com/spreadsheets/d/e/2PACX-1vQ4frfBvvPOKKFhArpV7cRUG0aAbfGRy214y-xlDG_CsW7kNbL-e8tuRvh8y37F4xc8", "end": 132, "score": 0.7233660221099854, "start": 109, "tag": "KEY", "value": "PACX-1vQ4frfBvvPOKKFhAr" }, { "context": "le.com/spreadsheets/d/...
noddy/service/bigdeal.coffee
oaworks/API
2
# get the big deal data from a sheet and expose it in a website # https://docs.google.com/spreadsheets/d/e/2PACX-1vQ4frfBvvPOKKFhArpV7cRUG0aAbfGRy214y-xlDG_CsW7kNbL-e8tuRvh8y37F4xc8wjO6FK8SD6UT/pubhtml # https://docs.google.com/spreadsheets/d/1dPG7Xxvk4qnPajTu9jG_uNuz2R5jvjfeaKI-ylX4NXs/edit # there are about 6500 rec...
8336
# get the big deal data from a sheet and expose it in a website # https://docs.google.com/spreadsheets/d/e/2<KEY>pV<KEY>Cs<KEY>wj<KEY>/pubhtml # https://docs.google.com/spreadsheets/d/<KEY>edit # there are about 6500 records API.service ?= {} API.service.bigdeal ?= {} bigdeal_record = new API.collection {index:"bigd...
true
# get the big deal data from a sheet and expose it in a website # https://docs.google.com/spreadsheets/d/e/2PI:KEY:<KEY>END_PIpVPI:KEY:<KEY>END_PICsPI:KEY:<KEY>END_PIwjPI:KEY:<KEY>END_PI/pubhtml # https://docs.google.com/spreadsheets/d/PI:KEY:<KEY>END_PIedit # there are about 6500 records API.service ?= {} API.servic...
[ { "context": "ns.domain}/#{@options.username}\"\n password: @options.password\n\n @request.get url, options, (error, response,", "end": 803, "score": 0.8902267217636108, "start": 786, "tag": "PASSWORD", "value": "@options.password" } ]
src/index.coffee
octoblu/meshblu-connector-xen-director
0
{EventEmitter} = require 'events' debug = require('debug')('meshblu-connector-xen-director:index') URL = require 'url' request = require 'request' class Connector extends EventEmitter constructor: -> # hook for testing @request = request isOnline: (callback) => callback ...
49584
{EventEmitter} = require 'events' debug = require('debug')('meshblu-connector-xen-director:index') URL = require 'url' request = require 'request' class Connector extends EventEmitter constructor: -> # hook for testing @request = request isOnline: (callback) => callback ...
true
{EventEmitter} = require 'events' debug = require('debug')('meshblu-connector-xen-director:index') URL = require 'url' request = require 'request' class Connector extends EventEmitter constructor: -> # hook for testing @request = request isOnline: (callback) => callback ...
[ { "context": "es.fieldList.view\n\n addOne: (model) =>\n\n key = \"#{model.get 'key'}\"\n\n # console.log @options.fiel", "end": 275, "score": 0.7915332317352295, "start": 272, "tag": "KEY", "value": "\"#{" }, { "context": " addOne: (model) =>\n\n key = \"#{model.get 'key'...
src_old/views/ui/form/field_list.coffee
vcu/titanium-backbone
1
styles = require('styles').ui.form FieldFactory = require 'views/ui/form/editors/factory' CollectionView = require 'views/base/collection' module.exports = class FieldListView extends CollectionView attributes: styles.fieldList.view addOne: (model) => key = "#{model.get 'key'}" # console.log @options...
123367
styles = require('styles').ui.form FieldFactory = require 'views/ui/form/editors/factory' CollectionView = require 'views/base/collection' module.exports = class FieldListView extends CollectionView attributes: styles.fieldList.view addOne: (model) => key = <KEY>model.get 'key'<KEY>}" # console.log @...
true
styles = require('styles').ui.form FieldFactory = require 'views/ui/form/editors/factory' CollectionView = require 'views/base/collection' module.exports = class FieldListView extends CollectionView attributes: styles.fieldList.view addOne: (model) => key = PI:KEY:<KEY>END_PImodel.get 'key'PI:KEY:<KEY>END...
[ { "context": "/>/g, '&gt')\n keyid = key.primaryKey.getKeyId().toHex()\n option = \"<option value=#{keyid}>", "end": 2780, "score": 0.7133289575576782, "start": 2764, "tag": "KEY", "value": "getKeyId().toHex" } ]
lib/git-gui-config-view.coffee
Chefsp3ncer1971/atom-git-gui
21
path = require 'path' fs = require 'fs' openpgp = require 'openpgp' Git = require 'nodegit' {$, View} = require 'space-pen' {TextEditorView} = require 'atom-space-pen-views' {CompositeDisposable} = require 'atom' class GitGuiConfigView extends View @content: -> @div class: 'git-gui-settings-subview', id: 'config...
192250
path = require 'path' fs = require 'fs' openpgp = require 'openpgp' Git = require 'nodegit' {$, View} = require 'space-pen' {TextEditorView} = require 'atom-space-pen-views' {CompositeDisposable} = require 'atom' class GitGuiConfigView extends View @content: -> @div class: 'git-gui-settings-subview', id: 'config...
true
path = require 'path' fs = require 'fs' openpgp = require 'openpgp' Git = require 'nodegit' {$, View} = require 'space-pen' {TextEditorView} = require 'atom-space-pen-views' {CompositeDisposable} = require 'atom' class GitGuiConfigView extends View @content: -> @div class: 'git-gui-settings-subview', id: 'config...
[ { "context": "iew Validate closing tag location in JSX\n# @author Ross Solomon\n###\n'use strict'\n\n# -----------------------------", "end": 80, "score": 0.9998549222946167, "start": 68, "tag": "NAME", "value": "Ross Solomon" } ]
src/tests/rules/jsx-closing-tag-location.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Validate closing tag location in JSX # @author Ross Solomon ### 'use strict' # ------------------------------------------------------------------------------ # Requirements # ------------------------------------------------------------------------------ rule = require 'eslint-plugin-react/lib/rul...
215671
###* # @fileoverview Validate closing tag location in JSX # @author <NAME> ### 'use strict' # ------------------------------------------------------------------------------ # Requirements # ------------------------------------------------------------------------------ rule = require 'eslint-plugin-react/lib/rules/jsx...
true
###* # @fileoverview Validate closing tag location in JSX # @author PI:NAME:<NAME>END_PI ### 'use strict' # ------------------------------------------------------------------------------ # Requirements # ------------------------------------------------------------------------------ rule = require 'eslint-plugin-react...
[ { "context": "###\n * vibox\n * https://github.com/leny/vibox\n *\n * Copyright (c) 2013 Leny\n * Licensed u", "end": 39, "score": 0.9995776414871216, "start": 35, "tag": "USERNAME", "value": "leny" }, { "context": "s://github.com/leny/vibox\n *\n * Copyright (c) 2013 Leny\n * Licens...
src/vibox.coffee
leny/vibox
0
### * vibox * https://github.com/leny/vibox * * Copyright (c) 2013 Leny * Licensed under the MIT license. ### "use strict" path = require 'path' program = require 'commander' vibox_pkg = require '../package.json' word = ( val ) -> return val program .version( vibox_pkg.version ) .option( '--initpat...
149109
### * vibox * https://github.com/leny/vibox * * Copyright (c) 2013 <NAME> * Licensed under the MIT license. ### "use strict" path = require 'path' program = require 'commander' vibox_pkg = require '../package.json' word = ( val ) -> return val program .version( vibox_pkg.version ) .option( '--initp...
true
### * vibox * https://github.com/leny/vibox * * Copyright (c) 2013 PI:NAME:<NAME>END_PI * Licensed under the MIT license. ### "use strict" path = require 'path' program = require 'commander' vibox_pkg = require '../package.json' word = ( val ) -> return val program .version( vibox_pkg.version ) .op...
[ { "context": "#\n# Keeps track of the Recipe model\n#\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nangular.module('Mi", "end": 62, "score": 0.999870777130127, "start": 48, "tag": "NAME", "value": "Torstein Thune" } ]
app/recipe/RecipeController.coffee
Microbrewit/microbrewit-recipe-calculator
0
# # Keeps track of the Recipe model # # @author Torstein Thune # @copyright 2016 Microbrew.it angular.module('Microbrewit').controller('RecipeController', [ 'mbit/api/Beer' 'mbit/api/Ingredient' 'mbit/api/Beerstyles' '$scope' 'mbit/recipe/utility' 'mbit/recipe/BaseModel' 'mbit/services/RecipeUtilityService' '$s...
116677
# # Keeps track of the Recipe model # # @author <NAME> # @copyright 2016 Microbrew.it angular.module('Microbrewit').controller('RecipeController', [ 'mbit/api/Beer' 'mbit/api/Ingredient' 'mbit/api/Beerstyles' '$scope' 'mbit/recipe/utility' 'mbit/recipe/BaseModel' 'mbit/services/RecipeUtilityService' '$statePara...
true
# # Keeps track of the Recipe model # # @author PI:NAME:<NAME>END_PI # @copyright 2016 Microbrew.it angular.module('Microbrewit').controller('RecipeController', [ 'mbit/api/Beer' 'mbit/api/Ingredient' 'mbit/api/Beerstyles' '$scope' 'mbit/recipe/utility' 'mbit/recipe/BaseModel' 'mbit/services/RecipeUtilityService...
[ { "context": "credentials\n\t\t\t$ resin login --credentials --email johndoe@gmail.com --password secret\n\t'''\n\toptions: [\n\t\t{\n\t\t\tsignatu", "end": 1182, "score": 0.999905526638031, "start": 1165, "tag": "EMAIL", "value": "johndoe@gmail.com" }, { "context": "--credentials --...
lib/actions/auth.coffee
vtmf/resion
0
### Copyright 2016-2017 Resin.io 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, software d...
87159
### Copyright 2016-2017 Resin.io 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, software d...
true
### Copyright 2016-2017 Resin.io 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, software d...