entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": " '}')\n\n\t\t# Props\n\t\t# =====\n\t\t$scope.data = [\n\t\t\t['batman', 'superman', 'wolverine']\n\t\t\t[\n\t\t\t\t{ id: 1, name",
"end": 2323,
"score": 0.9886162281036377,
"start": 2317,
"tag": "NAME",
"value": "batman"
},
{
"context": " Props\n\t\t# =====\n\t\t$scope... | src/client/scripts/controllers/components/radios.coffee | rapid-build-ui/rapid-build-ui.io | 2 | angular.module('rapid-build').controller 'rbRadiosController', ['$scope', '$element', 'typeService',
($scope, $element, type) ->
# Builder
# =======
createMarkup = ->
attrs = ''; content = '';
s = ' '; t = '\t'; n = '\n'; nt = '\n\t';
attrs += "#{nt}dark" if $scope.a.dark # TODO
attrs += "#{nt}right... | 213960 | angular.module('rapid-build').controller 'rbRadiosController', ['$scope', '$element', 'typeService',
($scope, $element, type) ->
# Builder
# =======
createMarkup = ->
attrs = ''; content = '';
s = ' '; t = '\t'; n = '\n'; nt = '\n\t';
attrs += "#{nt}dark" if $scope.a.dark # TODO
attrs += "#{nt}right... | true | angular.module('rapid-build').controller 'rbRadiosController', ['$scope', '$element', 'typeService',
($scope, $element, type) ->
# Builder
# =======
createMarkup = ->
attrs = ''; content = '';
s = ' '; t = '\t'; n = '\n'; nt = '\n\t';
attrs += "#{nt}dark" if $scope.a.dark # TODO
attrs += "#{nt}right... |
[
{
"context": "(e) ->\n e.type = 'navigate'\n e.token = 'user/1'\n history.dispatchEvent e\n setup ->\n ",
"end": 3268,
"score": 0.6299818158149719,
"start": 3264,
"tag": "PASSWORD",
"value": "user"
},
{
"context": ">\n e.type = 'navigate'\n e.token = 'us... | este/router/router_test.coffee | Jollor/mmjd-este-library | 0 | goog.require 'goog.events.EventTarget'
goog.require 'goog.Promise'
suite 'este.Router', ->
Router = este.Router
history = null
routingClickHandler = null
router = null
setup ->
arrangeHistory()
arrangeRoutingClickHandler()
router = new Router history, routingClickHandler
arrangeHistory = ->
... | 35054 | goog.require 'goog.events.EventTarget'
goog.require 'goog.Promise'
suite 'este.Router', ->
Router = este.Router
history = null
routingClickHandler = null
router = null
setup ->
arrangeHistory()
arrangeRoutingClickHandler()
router = new Router history, routingClickHandler
arrangeHistory = ->
... | true | goog.require 'goog.events.EventTarget'
goog.require 'goog.Promise'
suite 'este.Router', ->
Router = este.Router
history = null
routingClickHandler = null
router = null
setup ->
arrangeHistory()
arrangeRoutingClickHandler()
router = new Router history, routingClickHandler
arrangeHistory = ->
... |
[
{
"context": ".end \"hello from: #{Meteor.release}\"\n\nWX_TOKEN = 'livingwxtest'\nWX_DEVELOPER = 'gh_1e71365b146b'\n\nWebApp.connect",
"end": 209,
"score": 0.9925041198730469,
"start": 197,
"tag": "PASSWORD",
"value": "livingwxtest"
},
{
"context": "ease}\"\n\nWX_TOKEN = 'livingwxte... | meteor/server/main.coffee | livingyang/WeChatTest | 0 | Meteor.startup ->
console.log 'startup'
WebApp.connectHandlers.use '/hello', (req, res, next) ->
console.log 'hello'
res.writeHead 200
res.end "hello from: #{Meteor.release}"
WX_TOKEN = 'livingwxtest'
WX_DEVELOPER = 'gh_1e71365b146b'
WebApp.connectHandlers.use '/wxtest', (req, res, next) ->
if req.method i... | 164856 | Meteor.startup ->
console.log 'startup'
WebApp.connectHandlers.use '/hello', (req, res, next) ->
console.log 'hello'
res.writeHead 200
res.end "hello from: #{Meteor.release}"
WX_TOKEN = '<PASSWORD>'
WX_DEVELOPER = 'gh_1e71365b146b'
WebApp.connectHandlers.use '/wxtest', (req, res, next) ->
if req.method is ... | true | Meteor.startup ->
console.log 'startup'
WebApp.connectHandlers.use '/hello', (req, res, next) ->
console.log 'hello'
res.writeHead 200
res.end "hello from: #{Meteor.release}"
WX_TOKEN = 'PI:PASSWORD:<PASSWORD>END_PI'
WX_DEVELOPER = 'gh_1e71365b146b'
WebApp.connectHandlers.use '/wxtest', (req, res, next) ->
... |
[
{
"context": "extend({model: Contact})\n\n ## https://github.com/kmalakoff/knockback/issues/124\n it 'fixes memory managemen",
"end": 694,
"score": 0.9997414350509644,
"start": 685,
"tag": "USERNAME",
"value": "kmalakoff"
},
{
"context": " # turn on stats\n\n model = new Contact... | test/spec/core/monkey-patches.tests.coffee | metacommunications/knockback | 160 | assert = assert or require?('chai').assert
describe 'money-patches @quick @monkey', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mode... | 202825 | assert = assert or require?('chai').assert
describe 'money-patches @quick @monkey', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mode... | true | assert = assert or require?('chai').assert
describe 'money-patches @quick @monkey', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mode... |
[
{
"context": " number: '•••• •••• •••• ••••'\n name: 'NOM COMPLET'\n expiry: '••/••'\n cvc: '•••'\n # T",
"end": 1089,
"score": 0.9475747346878052,
"start": 1078,
"tag": "NAME",
"value": "NOM COMPLET"
},
{
"context": "lues\n # number: '378282246310005'\n ... | app/160_payment/payment.coffee | PEM--/asv-la-soiree | 1 | class @PaymentController extends RouteController
appLog.info 'Adding payment page'
Router.route '/payment',
controller: PaymentController
action: -> @render 'payment'
if Meteor.isClient
Template.payment.onCreated ->
appLog.info 'Creating payment screen'
# Check if pre-subscription has been done
unle... | 78766 | class @PaymentController extends RouteController
appLog.info 'Adding payment page'
Router.route '/payment',
controller: PaymentController
action: -> @render 'payment'
if Meteor.isClient
Template.payment.onCreated ->
appLog.info 'Creating payment screen'
# Check if pre-subscription has been done
unle... | true | class @PaymentController extends RouteController
appLog.info 'Adding payment page'
Router.route '/payment',
controller: PaymentController
action: -> @render 'payment'
if Meteor.isClient
Template.payment.onCreated ->
appLog.info 'Creating payment screen'
# Check if pre-subscription has been done
unle... |
[
{
"context": "# Thanks to Jackson Gariety (https://github.com/jacksongariety/) for \n# contr",
"end": 27,
"score": 0.9998960494995117,
"start": 12,
"tag": "NAME",
"value": "Jackson Gariety"
},
{
"context": "# Thanks to Jackson Gariety (https://github.com/jacksongariety/) for \n# cont... | Gruntfile.coffee | resim/skeuocard | 1 | # Thanks to Jackson Gariety (https://github.com/jacksongariety/) for
# contributing the initial version of this Gruntfile.
module.exports = (grunt) ->
# Configure plugins
grunt.initConfig
express:
all:
options:
port: 8000
hostname: "0.0.0.0"
bases: ['.']
o... | 74738 | # Thanks to <NAME> (https://github.com/jacksongariety/) for
# contributing the initial version of this Gruntfile.
module.exports = (grunt) ->
# Configure plugins
grunt.initConfig
express:
all:
options:
port: 8000
hostname: "0.0.0.0"
bases: ['.']
open:
... | true | # Thanks to PI:NAME:<NAME>END_PI (https://github.com/jacksongariety/) for
# contributing the initial version of this Gruntfile.
module.exports = (grunt) ->
# Configure plugins
grunt.initConfig
express:
all:
options:
port: 8000
hostname: "0.0.0.0"
bases: ['.']
... |
[
{
"context": "# Copyright (c) 2012, Mark Cavage. All rights reserved.\n\n#/--- Globals\n\n#/--- Messa",
"end": 33,
"score": 0.9998598694801331,
"start": 22,
"tag": "NAME",
"value": "Mark Cavage"
}
] | deps/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.coffee | lxe/io.coffee | 0 | # Copyright (c) 2012, Mark Cavage. All rights reserved.
#/--- Globals
#/--- Messages
#/--- Internal
capitalize = (str) ->
str.charAt(0).toUpperCase() + str.slice(1)
uncapitalize = (str) ->
str.charAt(0).toLowerCase() + str.slice(1)
_ = ->
util.format.apply util, arguments
_assert = (arg, type, name, stackFunc)... | 66493 | # Copyright (c) 2012, <NAME>. All rights reserved.
#/--- Globals
#/--- Messages
#/--- Internal
capitalize = (str) ->
str.charAt(0).toUpperCase() + str.slice(1)
uncapitalize = (str) ->
str.charAt(0).toLowerCase() + str.slice(1)
_ = ->
util.format.apply util, arguments
_assert = (arg, type, name, stackFunc) ->
... | true | # Copyright (c) 2012, PI:NAME:<NAME>END_PI. All rights reserved.
#/--- Globals
#/--- Messages
#/--- Internal
capitalize = (str) ->
str.charAt(0).toUpperCase() + str.slice(1)
uncapitalize = (str) ->
str.charAt(0).toLowerCase() + str.slice(1)
_ = ->
util.format.apply util, arguments
_assert = (arg, type, name, s... |
[
{
"context": "s.env.JXM_ADAPTER_USERNAME\n password: \"********\"\n host: process.env.JXM_ADAPTER_HOST\n ",
"end": 340,
"score": 0.999238133430481,
"start": 340,
"tag": "PASSWORD",
"value": ""
},
{
"context": "ns,@externOpts)\n @options.password = '\"... | core/adapters/jxm.coffee | homepagea/mewbot | 0 | Mew = require 'mew'
Extend = require 'extend'
util = require 'util'
Jxm = require 'jxm'
class JXMAdapter extends Mew.Adapter.MultiAdapter
constructor : (@mew,@profileName,@externOpts)->
@connected = false
run : ->
@options =
username: process.env.JXM_ADAPTER_USERNAME
... | 59377 | Mew = require 'mew'
Extend = require 'extend'
util = require 'util'
Jxm = require 'jxm'
class JXMAdapter extends Mew.Adapter.MultiAdapter
constructor : (@mew,@profileName,@externOpts)->
@connected = false
run : ->
@options =
username: process.env.JXM_ADAPTER_USERNAME
... | true | Mew = require 'mew'
Extend = require 'extend'
util = require 'util'
Jxm = require 'jxm'
class JXMAdapter extends Mew.Adapter.MultiAdapter
constructor : (@mew,@profileName,@externOpts)->
@connected = false
run : ->
@options =
username: process.env.JXM_ADAPTER_USERNAME
... |
[
{
"context": "\t\t\t\t\"Content-Type\": \"application/xml\"\n\t\t\tusername: @userData.user\n\t\t\tpassword: @userData.password\n\t\t\tdataType: \"xml",
"end": 2769,
"score": 0.9989733695983887,
"start": 2755,
"tag": "USERNAME",
"value": "@userData.user"
},
{
"context": "tion/xml\"\n... | index.coffee | dev-rke/CalDav-Web-Client | 8 | class DateUtility
@convertICalTimeToISOTime: (time) =>
matches = time.match(/(\d{4})(\d{2})(\d{2})T?(\d{2})?(\d{2})?(\d{2})?(Z?)/i)
matches.shift()
day = matches.slice(0, 3).join('-')
time = matches.slice(3, 6).join(':')
time = '' if time is '::'
gmt = if matches.slice(6) is [undefined] then 'Z' else match... | 173857 | class DateUtility
@convertICalTimeToISOTime: (time) =>
matches = time.match(/(\d{4})(\d{2})(\d{2})T?(\d{2})?(\d{2})?(\d{2})?(Z?)/i)
matches.shift()
day = matches.slice(0, 3).join('-')
time = matches.slice(3, 6).join(':')
time = '' if time is '::'
gmt = if matches.slice(6) is [undefined] then 'Z' else match... | true | class DateUtility
@convertICalTimeToISOTime: (time) =>
matches = time.match(/(\d{4})(\d{2})(\d{2})T?(\d{2})?(\d{2})?(\d{2})?(Z?)/i)
matches.shift()
day = matches.slice(0, 3).join('-')
time = matches.slice(3, 6).join(':')
time = '' if time is '::'
gmt = if matches.slice(6) is [undefined] then 'Z' else match... |
[
{
"context": "(=>\n TT.native.accessToken.should.equal('abc123')\n TT.native.storeId.should.equal('fooba",
"end": 560,
"score": 0.998713493347168,
"start": 554,
"tag": "KEY",
"value": "abc123"
},
{
"context": "access\", eventData: {\n accessToken: \"abc... | test/native.coffee | tictail/tt.js | 7 | describe 'tt-native', ->
beforeEach ->
TT.native.PARENT_ORIGIN = 'http://127.0.0.1:9000'
sinon.stub(TT.api, 'ajax')
sinon.spy(window.parent, 'postMessage')
afterEach ->
window.parent.postMessage.restore()
TT.api.ajax.restore()
it 'should define the native namespace in the TT object', ->
... | 17434 | describe 'tt-native', ->
beforeEach ->
TT.native.PARENT_ORIGIN = 'http://127.0.0.1:9000'
sinon.stub(TT.api, 'ajax')
sinon.spy(window.parent, 'postMessage')
afterEach ->
window.parent.postMessage.restore()
TT.api.ajax.restore()
it 'should define the native namespace in the TT object', ->
... | true | describe 'tt-native', ->
beforeEach ->
TT.native.PARENT_ORIGIN = 'http://127.0.0.1:9000'
sinon.stub(TT.api, 'ajax')
sinon.spy(window.parent, 'postMessage')
afterEach ->
window.parent.postMessage.restore()
TT.api.ajax.restore()
it 'should define the native namespace in the TT object', ->
... |
[
{
"context": " id = Accounts.createUser\n username: user.username\n email: user.username\n password",
"end": 433,
"score": 0.9983882904052734,
"start": 420,
"tag": "USERNAME",
"value": "user.username"
},
{
"context": " email: user.username\n ... | server/app.coffee | uisautomation/lecture-capture-peakaboo | 0 | Meteor.startup ->
if 'accounts' of Meteor.settings
for user in Meteor.settings.accounts
existing = Accounts.findUserByUsername user.username
if existing
console.log('Setting password for ', user.username, existing._id)
Accounts.setPassword existing._id, user.password
else
... | 26977 | Meteor.startup ->
if 'accounts' of Meteor.settings
for user in Meteor.settings.accounts
existing = Accounts.findUserByUsername user.username
if existing
console.log('Setting password for ', user.username, existing._id)
Accounts.setPassword existing._id, user.password
else
... | true | Meteor.startup ->
if 'accounts' of Meteor.settings
for user in Meteor.settings.accounts
existing = Accounts.findUserByUsername user.username
if existing
console.log('Setting password for ', user.username, existing._id)
Accounts.setPassword existing._id, user.password
else
... |
[
{
"context": "#\n# Scroll top CoffeeScript file.\n#\n# @author Matthew Casey\n#\n# (c) University of Surrey 2019\n#\n\nVMV.ScrollTo",
"end": 59,
"score": 0.999860405921936,
"start": 46,
"tag": "NAME",
"value": "Matthew Casey"
}
] | app/assets/javascripts/shared/scroll_top.coffee | saschneider/VMVLedger | 0 | #
# Scroll top CoffeeScript file.
#
# @author Matthew Casey
#
# (c) University of Surrey 2019
#
VMV.ScrollTop ||= {}
#
# Initialise whenever the page is loaded.
#
VMV.ScrollTop.scrollTop = (target) ->
$(window).on('scroll', ->
VMV.ScrollTop.scroll(target)
)
$(target).on('click', ->
document.body.scroll... | 2287 | #
# Scroll top CoffeeScript file.
#
# @author <NAME>
#
# (c) University of Surrey 2019
#
VMV.ScrollTop ||= {}
#
# Initialise whenever the page is loaded.
#
VMV.ScrollTop.scrollTop = (target) ->
$(window).on('scroll', ->
VMV.ScrollTop.scroll(target)
)
$(target).on('click', ->
document.body.scrollTop = 0... | true | #
# Scroll top CoffeeScript file.
#
# @author PI:NAME:<NAME>END_PI
#
# (c) University of Surrey 2019
#
VMV.ScrollTop ||= {}
#
# Initialise whenever the page is loaded.
#
VMV.ScrollTop.scrollTop = (target) ->
$(window).on('scroll', ->
VMV.ScrollTop.scroll(target)
)
$(target).on('click', ->
document.body... |
[
{
"context": "#\n# Slideshow main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 64,
"score": 0.9998877644538879,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/slideshow/main.coffee | lovely-io/lovely.io-stl | 2 | #
# Slideshow main file
#
# Copyright (C) 2012 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
$ = require('dom')
UI = require('ui')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
Icon = UI.Icon
# glue in your files
include 'src/slideshow'... | 105192 | #
# Slideshow main file
#
# Copyright (C) 2012 <NAME>
#
# hook up dependencies
core = require('core')
$ = require('dom')
UI = require('ui')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
Icon = UI.Icon
# glue in your files
include 'src/slideshow'
include 's... | true | #
# Slideshow 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
Class = core.Class
Element = $.Element
Icon = UI.Icon
# glue in your files
include 'src/slidesh... |
[
{
"context": " cfg:\n silent: true\n name: \"test\"\n main: \"main\"\n folder: \"cwd\"\n ",
"end": 2041,
"score": 0.9983525276184082,
"start": 2037,
"tag": "NAME",
"value": "test"
},
{
"context": " cfg:\n silent: true\n na... | test/test.coffee | paulpflug/slnn-stack | 1 | chai = require "chai"
should = chai.should()
#{run} = require "../src/helper"
slnn = require "../src/slnn"
genCfg = require "../src/genCfg"
uncache = require "recursive-uncache"
fs = require "fs-extra"
which = require "which"
{resolve} = require "path"
read = (name) -> fs.readFileSync(name,"utf8")
p = resolve.bind null... | 117119 | chai = require "chai"
should = chai.should()
#{run} = require "../src/helper"
slnn = require "../src/slnn"
genCfg = require "../src/genCfg"
uncache = require "recursive-uncache"
fs = require "fs-extra"
which = require "which"
{resolve} = require "path"
read = (name) -> fs.readFileSync(name,"utf8")
p = resolve.bind null... | true | chai = require "chai"
should = chai.should()
#{run} = require "../src/helper"
slnn = require "../src/slnn"
genCfg = require "../src/genCfg"
uncache = require "recursive-uncache"
fs = require "fs-extra"
which = require "which"
{resolve} = require "path"
read = (name) -> fs.readFileSync(name,"utf8")
p = resolve.bind null... |
[
{
"context": " # valid inputs\n queryVariables = { email: 'test@email.com', israelId: '...' }\n expect(new IsraelSignup",
"end": 1040,
"score": 0.9999021291732788,
"start": 1026,
"tag": "EMAIL",
"value": "test@email.com"
}
] | test/app/views/account/IsraelSignupView.spec.coffee | cihatislamdede/codecombat | 4,858 | IsraelSignupView = require('views/account/IsraelSignupView')
utils = require 'core/utils'
describe 'IsraelSignupView', ->
describe 'initialize()', ->
it 'sets state.fatalError to "signed-in" if the user is not anonymous', ->
spyOn(me, 'isAnonymous').and.returnValue(false)
view = new IsraelSignupView(... | 176944 | IsraelSignupView = require('views/account/IsraelSignupView')
utils = require 'core/utils'
describe 'IsraelSignupView', ->
describe 'initialize()', ->
it 'sets state.fatalError to "signed-in" if the user is not anonymous', ->
spyOn(me, 'isAnonymous').and.returnValue(false)
view = new IsraelSignupView(... | true | IsraelSignupView = require('views/account/IsraelSignupView')
utils = require 'core/utils'
describe 'IsraelSignupView', ->
describe 'initialize()', ->
it 'sets state.fatalError to "signed-in" if the user is not anonymous', ->
spyOn(me, 'isAnonymous').and.returnValue(false)
view = new IsraelSignupView(... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991926550865173,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " drop out of the event loop.\n# https://github.com/joyent/node/issues/892\n# In this test we s... | test/pummel/test-regress-GH-892.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... | 29455 | # 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": "EqualTo\n\n set = new Set([\n newObject('Jark')\n newObject('Mumfy')\n newObject('J",
"end": 1003,
"score": 0.9970159530639648,
"start": 999,
"tag": "NAME",
"value": "Jark"
},
{
"context": "et([\n newObject('Jark')\n newObject('Mu... | public/js/plugins/onionjs-master/test/set_spec.coffee | kemiedon/android_project | 6 | Set = requirejs('onion/set')
describe "Set", ->
describe "duplicates", ->
it "ignores duplicates on add", ->
set = new Set([4, 27])
set.add(4)
expect( set.toArray() ).to.eql([4, 27])
it "ignores duplicates on initialize", ->
set = new Set([4, 27, 4])
expect( set.toArray() ).to... | 70033 | Set = requirejs('onion/set')
describe "Set", ->
describe "duplicates", ->
it "ignores duplicates on add", ->
set = new Set([4, 27])
set.add(4)
expect( set.toArray() ).to.eql([4, 27])
it "ignores duplicates on initialize", ->
set = new Set([4, 27, 4])
expect( set.toArray() ).to... | true | Set = requirejs('onion/set')
describe "Set", ->
describe "duplicates", ->
it "ignores duplicates on add", ->
set = new Set([4, 27])
set.add(4)
expect( set.toArray() ).to.eql([4, 27])
it "ignores duplicates on initialize", ->
set = new Set([4, 27, 4])
expect( set.toArray() ).to... |
[
{
"context": "e (a lot) on http://startupidea.me\n#\n# Author:\n# Andrew King\n\nmodule.exports = (robot) ->\n robot.respond /sta",
"end": 284,
"score": 0.999791145324707,
"start": 273,
"tag": "NAME",
"value": "Andrew King"
}
] | src/startupidea.coffee | an0nym0use/hubot-startupidea | 1 | # Description:
# Suggests an idea for a hot new startup!
#
# Dependencies
# None
#
# Configuration:
# None
#
# Commands:
# hubot startup idea me - Gives you a great idea for a startup.
#
# Notes:
# Relies a little (a lot) on http://startupidea.me
#
# Author:
# Andrew King
module.exports = (robot) ->
robo... | 38819 | # Description:
# Suggests an idea for a hot new startup!
#
# Dependencies
# None
#
# Configuration:
# None
#
# Commands:
# hubot startup idea me - Gives you a great idea for a startup.
#
# Notes:
# Relies a little (a lot) on http://startupidea.me
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.res... | true | # Description:
# Suggests an idea for a hot new startup!
#
# Dependencies
# None
#
# Configuration:
# None
#
# Commands:
# hubot startup idea me - Gives you a great idea for a startup.
#
# Notes:
# Relies a little (a lot) on http://startupidea.me
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ... |
[
{
"context": " constructor: ->\n @name = ko.observable('Bob')\n afterRender: ->\n @was_called = tru",
"end": 662,
"score": 0.9996195435523987,
"start": 659,
"tag": "NAME",
"value": "Bob"
},
{
"context": " counter_ignore = 0\n\n name = ko.observable('Bob')\n... | test/spec/core/core.tests.coffee | kmalakoff/knockback | 160 | assert = assert or require?('chai').assert
describe 'knockback_core utils @quick @core', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... | 168557 | assert = assert or require?('chai').assert
describe 'knockback_core utils @quick @core', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... | true | assert = assert or require?('chai').assert
describe 'knockback_core utils @quick @core', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... |
[
{
"context": "f92db2b2'\n },\n 'code': 'Ny_oLuy1Z',\n 'email': 'gokhan123@koding.com',\n 'hash': 'aa27bd3af8de9e18cce43e0743c9e42c',\n ",
"end": 202,
"score": 0.9999197125434875,
"start": 182,
"tag": "EMAIL",
"value": "gokhan123@koding.com"
}
] | client/mocks/mock.jinvitation.coffee | ezgikaysi/koding | 1 | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JInvitation',
'instanceId': 'a3767ec0b5c5c7841750a54cf92db2b2'
},
'code': 'Ny_oLuy1Z',
'email': 'gokhan123@koding.com',
'hash': 'aa27bd3af8de9e18cce43e0743c9e42c',
'groupName': 'lol',
'status': 'pending',
'createdAt': '2016-04-... | 54308 | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JInvitation',
'instanceId': 'a3767ec0b5c5c7841750a54cf92db2b2'
},
'code': 'Ny_oLuy1Z',
'email': '<EMAIL>',
'hash': 'aa27bd3af8de9e18cce43e0743c9e42c',
'groupName': 'lol',
'status': 'pending',
'createdAt': '2016-04-07T16:15:03.9... | true | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JInvitation',
'instanceId': 'a3767ec0b5c5c7841750a54cf92db2b2'
},
'code': 'Ny_oLuy1Z',
'email': 'PI:EMAIL:<EMAIL>END_PI',
'hash': 'aa27bd3af8de9e18cce43e0743c9e42c',
'groupName': 'lol',
'status': 'pending',
'createdAt': '2016-0... |
[
{
"context": "garding this ban, please write to <a href='mailto:ban@koding.com?subject=Username: #{whoami().profile.nickname}'>b",
"end": 5100,
"score": 0.9999243021011353,
"start": 5086,
"tag": "EMAIL",
"value": "ban@koding.com"
},
{
"context": "m?subject=Username: #{whoami().profil... | client/app/lib/notificationcontroller.coffee | ezgikaysi/koding | 1 | kookies = require 'kookies'
getGroup = require 'app/util/getGroup'
whoami = require 'app/util/whoami'
envDataProvider = require 'app/userenvironmentdataprovider'
kd = require 'kd'
articlize = require 'indefinite-article'
KDModalView = kd.ModalView
KDNo... | 198071 | kookies = require 'kookies'
getGroup = require 'app/util/getGroup'
whoami = require 'app/util/whoami'
envDataProvider = require 'app/userenvironmentdataprovider'
kd = require 'kd'
articlize = require 'indefinite-article'
KDModalView = kd.ModalView
KDNo... | true | kookies = require 'kookies'
getGroup = require 'app/util/getGroup'
whoami = require 'app/util/whoami'
envDataProvider = require 'app/userenvironmentdataprovider'
kd = require 'kd'
articlize = require 'indefinite-article'
KDModalView = kd.ModalView
KDNo... |
[
{
"context": "upplements = _index: true, _prefix: false, _key: 'DOI'\nP.svc.oaworks.report.check = (ror, reload) ->\n ",
"end": 194,
"score": 0.9975464344024658,
"start": 191,
"tag": "KEY",
"value": "DOI"
},
{
"context": "LowerCase().includes 'gates')\n f.name = 'Bill and M... | worker/src/svc/oaworks/report.coffee | oaworks/paradigm | 1 |
P.svc.oaworks.report = () ->
@format = 'html'
return '<script src="/client/svc/oaworks/report.min.js"></script>'
P.svc.oaworks.report.supplements = _index: true, _prefix: false, _key: 'DOI'
P.svc.oaworks.report.check = (ror, reload) ->
reload ?= @params.check ? @params.reload ? @params.sheet
started = awai... | 73012 |
P.svc.oaworks.report = () ->
@format = 'html'
return '<script src="/client/svc/oaworks/report.min.js"></script>'
P.svc.oaworks.report.supplements = _index: true, _prefix: false, _key: '<KEY>'
P.svc.oaworks.report.check = (ror, reload) ->
reload ?= @params.check ? @params.reload ? @params.sheet
started = aw... | true |
P.svc.oaworks.report = () ->
@format = 'html'
return '<script src="/client/svc/oaworks/report.min.js"></script>'
P.svc.oaworks.report.supplements = _index: true, _prefix: false, _key: 'PI:KEY:<KEY>END_PI'
P.svc.oaworks.report.check = (ror, reload) ->
reload ?= @params.check ? @params.reload ? @params.sheet
... |
[
{
"context": "\n APPID: 'wx2744e355f1816d95',\n APPSecret: '41a601d93fc3795d964d08f369ce5b11'\n keen_project_id: '54b764da3bc696052874322b'\n",
"end": 111,
"score": 0.9996239542961121,
"start": 79,
"tag": "KEY",
"value": "41a601d93fc3795d964d08f369ce5b11"
},
{
"context": "d:... | src/config.coffee | mt5225/plmisc | 0 | #完美生活服务号
module.exports =
{
APPID: 'wx2744e355f1816d95',
APPSecret: '41a601d93fc3795d964d08f369ce5b11'
keen_project_id: '54b764da3bc696052874322b'
keen_writekey: "0da20dd7f9e95f9d4e695f4244fbf8a62f9c3e3475d8baed0600e5f55321883660bd4582af3815546b8949d17fa9438bd88c5a6fc3907ce9b071cbe6f66be12acfcc4ac03fa... | 81905 | #完美生活服务号
module.exports =
{
APPID: 'wx2744e355f1816d95',
APPSecret: '<KEY>'
keen_project_id: '54b764da3bc696052874322b'
keen_writekey: "<KEY>"
keen_readkey: "<KEY>9"
}
| true | #完美生活服务号
module.exports =
{
APPID: 'wx2744e355f1816d95',
APPSecret: 'PI:KEY:<KEY>END_PI'
keen_project_id: '54b764da3bc696052874322b'
keen_writekey: "PI:KEY:<KEY>END_PI"
keen_readkey: "PI:KEY:<KEY>END_PI9"
}
|
[
{
"context": " req.body[\"lastName\"]\n \"username\" : req.body[\"username\"]\n \"email\" : req.body[\"email\"]\n \"timeZo",
"end": 8267,
"score": 0.999153733253479,
"start": 8259,
"tag": "USERNAME",
"value": "username"
},
{
"context": "Name\"]\n \"username\" ... | index.coffee | knayamlohani/tvserieswebapplication | 0 | tvdbWebService = require 'tvdbwebservice'
#tvdbWebService = require './js/tvdbwebservice.js'
express = require 'express'
app = express()
fs = require "fs"
path = require 'path'
http = require 'http'
handlebars = require "handlebars"
crypto = require 'crypto'
mailer = require('./mailer.js')
jobs = require './jobs.js'
... | 155850 | tvdbWebService = require 'tvdbwebservice'
#tvdbWebService = require './js/tvdbwebservice.js'
express = require 'express'
app = express()
fs = require "fs"
path = require 'path'
http = require 'http'
handlebars = require "handlebars"
crypto = require 'crypto'
mailer = require('./mailer.js')
jobs = require './jobs.js'
... | true | tvdbWebService = require 'tvdbwebservice'
#tvdbWebService = require './js/tvdbwebservice.js'
express = require 'express'
app = express()
fs = require "fs"
path = require 'path'
http = require 'http'
handlebars = require "handlebars"
crypto = require 'crypto'
mailer = require('./mailer.js')
jobs = require './jobs.js'
... |
[
{
"context": "#user_email\").val()\n \"user[password]\": $(\"#user_password\").val()\n \"user[password_confirmation]\": $(",
"end": 848,
"score": 0.7483832240104675,
"start": 835,
"tag": "PASSWORD",
"value": "user_password"
},
{
"context": "ion\").val()\n \"user[... | app/assets/javascripts/main.coffee | IlyaKopt/chat | 0 | $ ->
$("#myModal").on "click", "#modal-submit", ->
$("#myModal").modal "hide"
return
getUrlVars = ->
vars = {}
parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/g, (m, key, value) ->
vars[key] = value
return
)
vars
if parseInt(getUrlVars()["page"])>0
$("a[href='... | 69847 | $ ->
$("#myModal").on "click", "#modal-submit", ->
$("#myModal").modal "hide"
return
getUrlVars = ->
vars = {}
parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/g, (m, key, value) ->
vars[key] = value
return
)
vars
if parseInt(getUrlVars()["page"])>0
$("a[href='... | true | $ ->
$("#myModal").on "click", "#modal-submit", ->
$("#myModal").modal "hide"
return
getUrlVars = ->
vars = {}
parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/g, (m, key, value) ->
vars[key] = value
return
)
vars
if parseInt(getUrlVars()["page"])>0
$("a[href='... |
[
{
"context": "okie'])\n email:\n name: 'personal'\n val: 'shamalamadingdong@gmail.co",
"end": 758,
"score": 0.921574056148529,
"start": 750,
"tag": "NAME",
"value": "personal"
},
{
"context": " name: 'personal'\n val: ... | bases/control/spec/spec.coffee | signonsridhar/sridhar_hbs | 0 | define(['bases/control',
'bases/model',
'_',
'tests/mocks'], (BaseControl, BaseModel, _ )->
describe "control's normal operation", ()->
inputs = {
text:
name: 'name'
val: _.uniqueId('text_')
textarea:
name: 'com... | 16695 | define(['bases/control',
'bases/model',
'_',
'tests/mocks'], (BaseControl, BaseModel, _ )->
describe "control's normal operation", ()->
inputs = {
text:
name: 'name'
val: _.uniqueId('text_')
textarea:
name: 'com... | true | define(['bases/control',
'bases/model',
'_',
'tests/mocks'], (BaseControl, BaseModel, _ )->
describe "control's normal operation", ()->
inputs = {
text:
name: 'name'
val: _.uniqueId('text_')
textarea:
name: 'com... |
[
{
"context": "e'\n (scope)->\n scope.myData = [\n {name: \"Moroni\", age: 50},\n {name: \"Tiancum\", age: 43},\n ",
"end": 144,
"score": 0.9996787309646606,
"start": 138,
"tag": "NAME",
"value": "Moroni"
},
{
"context": " [\n {name: \"Moroni\", age: 50},\n {... | app/scripts/grid.coffee | SOCR/test-project-seed | 1 | grid = angular.module 'gridDemo', ['ngGrid']
grid.controller "gridDemoCtrl", [
'$scope'
(scope)->
scope.myData = [
{name: "Moroni", age: 50},
{name: "Tiancum", age: 43},
{name: "Jacob", age: 27},
{name: "Nephi", age: 29},
{name: "Enos", age: 34}
]
scope.gridOptions =
... | 177639 | grid = angular.module 'gridDemo', ['ngGrid']
grid.controller "gridDemoCtrl", [
'$scope'
(scope)->
scope.myData = [
{name: "<NAME>", age: 50},
{name: "<NAME>", age: 43},
{name: "<NAME>", age: 27},
{name: "<NAME>", age: 29},
{name: "<NAME>", age: 34}
]
scope.gridOptions =
... | true | grid = angular.module 'gridDemo', ['ngGrid']
grid.controller "gridDemoCtrl", [
'$scope'
(scope)->
scope.myData = [
{name: "PI:NAME:<NAME>END_PI", age: 50},
{name: "PI:NAME:<NAME>END_PI", age: 43},
{name: "PI:NAME:<NAME>END_PI", age: 27},
{name: "PI:NAME:<NAME>END_PI", age: 29},
{n... |
[
{
"context": "projectToken\", ->\n expect(Routes.projectToken(\"123-foo\")).to.eq \"http://localhost:1234/projects/123-foo/",
"end": 1164,
"score": 0.5204667448997498,
"start": 1157,
"tag": "PASSWORD",
"value": "123-foo"
}
] | packages/server/test/unit/routes_util_spec.coffee | intrepion/cypress | 1 | require("../spec_helper")
Routes = require("#{root}/lib/util/routes")
describe "lib/util/routes", ->
it "api", ->
expect(Routes.api()).to.eq "http://localhost:1234/"
it "auth", ->
expect(Routes.auth()).to.eq "http://localhost:1234/auth"
it "ping", ->
expect(Routes.ping()).to.eq("http://localhost:1... | 116658 | require("../spec_helper")
Routes = require("#{root}/lib/util/routes")
describe "lib/util/routes", ->
it "api", ->
expect(Routes.api()).to.eq "http://localhost:1234/"
it "auth", ->
expect(Routes.auth()).to.eq "http://localhost:1234/auth"
it "ping", ->
expect(Routes.ping()).to.eq("http://localhost:1... | true | require("../spec_helper")
Routes = require("#{root}/lib/util/routes")
describe "lib/util/routes", ->
it "api", ->
expect(Routes.api()).to.eq "http://localhost:1234/"
it "auth", ->
expect(Routes.auth()).to.eq "http://localhost:1234/auth"
it "ping", ->
expect(Routes.ping()).to.eq("http://localhost:1... |
[
{
"context": "ual \"Your todos\"\n message.to.should.equal \"user@company.tld\"\n message.from.should.equal \"root@localhos",
"end": 623,
"score": 0.9999192357063293,
"start": 607,
"tag": "EMAIL",
"value": "user@company.tld"
}
] | test/mailers/mailerTest.coffee | komola/salad | 2 | mailer = null
describe "Salad.Mailer", ->
before ->
mailer = new App.WelcomeMailer
describe "#render", ->
it "should render templates", ->
content = mailer.render "rendering/test"
content.should.equal "<h1>Hello World!</h1>"
return null
describe "#mail", ->
todo = null
befo... | 143806 | mailer = null
describe "Salad.Mailer", ->
before ->
mailer = new App.WelcomeMailer
describe "#render", ->
it "should render templates", ->
content = mailer.render "rendering/test"
content.should.equal "<h1>Hello World!</h1>"
return null
describe "#mail", ->
todo = null
befo... | true | mailer = null
describe "Salad.Mailer", ->
before ->
mailer = new App.WelcomeMailer
describe "#render", ->
it "should render templates", ->
content = mailer.render "rendering/test"
content.should.equal "<h1>Hello World!</h1>"
return null
describe "#mail", ->
todo = null
befo... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.8027211427688599,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | src/vi/spec.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser = require("../../js/vi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 93022 | bcv_parser = require("../../js/vi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/vi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989314675331116,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-transform-split-objectmode.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... | 65026 | # 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": " (id) ->\n about =\n Version: 0.01\n Author: 'Kevin Ferm'\n Created: 'March 2016'\n Updated: '31/3-16'",
"end": 1928,
"score": 0.9998763203620911,
"start": 1918,
"tag": "NAME",
"value": "Kevin Ferm"
}
] | resources/assets/coffee/app.coffee | Netzone/LaravelForum | 0 | loadCats = ->
$.get '/forum/getcats',
(data) ->
$('.categories_show').empty()
$('.categories_show').append(data)
console.log("Appended data")
$ ->
###############################
########FOR ADMIN PAGE#########
###############################
$("#summernote").summernote({
height: 300
wi... | 161199 | loadCats = ->
$.get '/forum/getcats',
(data) ->
$('.categories_show').empty()
$('.categories_show').append(data)
console.log("Appended data")
$ ->
###############################
########FOR ADMIN PAGE#########
###############################
$("#summernote").summernote({
height: 300
wi... | true | loadCats = ->
$.get '/forum/getcats',
(data) ->
$('.categories_show').empty()
$('.categories_show').append(data)
console.log("Appended data")
$ ->
###############################
########FOR ADMIN PAGE#########
###############################
$("#summernote").summernote({
height: 300
wi... |
[
{
"context": "rom which this CoffeeScript version was derived by Ben Tilly <btilly@gmail.com>\nwhich was derived from the Per",
"end": 84,
"score": 0.9998834729194641,
"start": 75,
"tag": "NAME",
"value": "Ben Tilly"
},
{
"context": "is CoffeeScript version was derived by Ben Tilly <... | src/distributions.coffee | lmaccherone/analize | 2 | ###
JavaScript version from which this CoffeeScript version was derived by Ben Tilly <btilly@gmail.com>
which was derived from the Perl version by Michael Kospach <mike.perl@gmx.at>
both of which are licensed under the Perl Artistic License which allows linking from MIT licensed code.
Note: these are approximations go... | 154566 | ###
JavaScript version from which this CoffeeScript version was derived by <NAME> <<EMAIL>>
which was derived from the Perl version by <NAME> <<EMAIL>>
both of which are licensed under the Perl Artistic License which allows linking from MIT licensed code.
Note: these are approximations good to 5 digits (which is good ... | true | ###
JavaScript version from which this CoffeeScript version was derived by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
which was derived from the Perl version by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
both of which are licensed under the Perl Artistic License which allows linking from MIT licensed code.
Note:... |
[
{
"context": "ngs]\n\n @redraw()\n\n isSpecialKey: (key) -> /^__\\w+__$/i.test key\n\n preprocessDrawing: (drawing) ->\n h",
"end": 7199,
"score": 0.7461693286895752,
"start": 7192,
"tag": "KEY",
"value": "w+__$/i"
}
] | gui.coffee | diomidov/svgtiler-gui | 0 | sidebarScale = 2
defaultMapping = '''
- <symbol viewBox="0 0 20 10"><rect width="20" height="10" fill="purple"/></symbol>
| <symbol viewBox="0 0 10 20"><rect width="10" height="20" fill="purple"/></symbol>
+ <symbol viewBox="0 0 10 10"><rect width="10" height="10" fill="green"/></symbol>
X <symbol viewBox="-10 -10 20 ... | 63153 | sidebarScale = 2
defaultMapping = '''
- <symbol viewBox="0 0 20 10"><rect width="20" height="10" fill="purple"/></symbol>
| <symbol viewBox="0 0 10 20"><rect width="10" height="20" fill="purple"/></symbol>
+ <symbol viewBox="0 0 10 10"><rect width="10" height="10" fill="green"/></symbol>
X <symbol viewBox="-10 -10 20 ... | true | sidebarScale = 2
defaultMapping = '''
- <symbol viewBox="0 0 20 10"><rect width="20" height="10" fill="purple"/></symbol>
| <symbol viewBox="0 0 10 20"><rect width="10" height="20" fill="purple"/></symbol>
+ <symbol viewBox="0 0 10 10"><rect width="10" height="10" fill="green"/></symbol>
X <symbol viewBox="-10 -10 20 ... |
[
{
"context": "te by Lawrence\n#\n# Notes:\n# None\n#\n# Author:\n# carmstrong\n\nquotes = [\n \"Fuckin' A, man!\",\n \"[from the nex",
"end": 225,
"score": 0.9995999336242676,
"start": 215,
"tag": "USERNAME",
"value": "carmstrong"
},
{
"context": "ook at my cousin: he's broke, ... | src/scripts/lawrence.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Quotes by Lawrence from Office Space
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hey lawrence - Display a random quote by Lawrence
#
# Notes:
# None
#
# Author:
# carmstrong
quotes = [
"Fuckin' A, man!",
"[from the next apartment through the wall] Don't worry, ma... | 45021 | # Description:
# Quotes by Lawrence from Office Space
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hey lawrence - Display a random quote by Lawrence
#
# Notes:
# None
#
# Author:
# carmstrong
quotes = [
"Fuckin' A, man!",
"[from the next apartment through the wall] Don't worry, ma... | true | # Description:
# Quotes by Lawrence from Office Space
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hey lawrence - Display a random quote by Lawrence
#
# Notes:
# None
#
# Author:
# carmstrong
quotes = [
"Fuckin' A, man!",
"[from the next apartment through the wall] Don't worry, ma... |
[
{
"context": " that corresponds\n # to an elicitor string like 'Joel Dunham'.\n #\n # Other features:\n #\n # - preview of to",
"end": 1394,
"score": 0.9997046589851379,
"start": 1383,
"tag": "NAME",
"value": "Joel Dunham"
},
{
"context": "resentations. E.g., objects that map th... | app/scripts/views/importer-dialog.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./base'
'./form'
'./exporter-collection-csv'
'./../models/form'
'./../collections/forms'
'./../utils/globals'
'./../templates/importer-dialog'
], (BaseView, FormView, ExporterCollectionCSVView, FormModel, FormsCollection,
globals, importerDialogTemplate) ->
# TODO: move the locus of this vi... | 188636 | define [
'./base'
'./form'
'./exporter-collection-csv'
'./../models/form'
'./../collections/forms'
'./../utils/globals'
'./../templates/importer-dialog'
], (BaseView, FormView, ExporterCollectionCSVView, FormModel, FormsCollection,
globals, importerDialogTemplate) ->
# TODO: move the locus of this vi... | true | define [
'./base'
'./form'
'./exporter-collection-csv'
'./../models/form'
'./../collections/forms'
'./../utils/globals'
'./../templates/importer-dialog'
], (BaseView, FormView, ExporterCollectionCSVView, FormModel, FormsCollection,
globals, importerDialogTemplate) ->
# TODO: move the locus of this vi... |
[
{
"context": " own Twitter account, <a href=\"http://twitter.com/oracleof8\">@OracleOf8</a>.'\n keywords : [\n ",
"end": 3141,
"score": 0.9991768002510071,
"start": 3132,
"tag": "USERNAME",
"value": "oracleof8"
},
{
"context": "ter account, <a href=\"http://twitter.co... | assets/coffee/component/modelBuildr.coffee | briznad/bmdotcom | 0 | bmdotcom = bmdotcom or {}
bmdotcom.modelBuildr = do ->
'use strict'
init = (callback) ->
# create model
bmdotcom.model = {}
# create model pages & settings
bmdotcom.model.pages = {}
bmdotcom.model.settings =
currentPage :
title : 'root'
# add each model
bmdotcom.model.p... | 162884 | bmdotcom = bmdotcom or {}
bmdotcom.modelBuildr = do ->
'use strict'
init = (callback) ->
# create model
bmdotcom.model = {}
# create model pages & settings
bmdotcom.model.pages = {}
bmdotcom.model.settings =
currentPage :
title : 'root'
# add each model
bmdotcom.model.p... | true | bmdotcom = bmdotcom or {}
bmdotcom.modelBuildr = do ->
'use strict'
init = (callback) ->
# create model
bmdotcom.model = {}
# create model pages & settings
bmdotcom.model.pages = {}
bmdotcom.model.settings =
currentPage :
title : 'root'
# add each model
bmdotcom.model.p... |
[
{
"context": "teamAccount extends EventEmitter\n constructor: (@name, @password, @sentry, @secret, @games, @indent=0) ",
"end": 281,
"score": 0.9950464963912964,
"start": 277,
"tag": "USERNAME",
"value": "name"
},
{
"context": "err, code) =>\n @client.logOn accountName: @na... | steamaccount.coffee | XeonProduction/Boost | 0 | S = require 'string'
SteamUser = require 'steam-user'
SteamTotp = require 'steam-totp'
Promise = require 'bluebird'
moment = require 'moment'
EventEmitter = require 'events'
module.exports = class SteamAccount extends EventEmitter
constructor: (@name, @password, @sentry, @secret, @games, ... | 120901 | S = require 'string'
SteamUser = require 'steam-user'
SteamTotp = require 'steam-totp'
Promise = require 'bluebird'
moment = require 'moment'
EventEmitter = require 'events'
module.exports = class SteamAccount extends EventEmitter
constructor: (@name, @password, @sentry, @secret, @games, ... | true | S = require 'string'
SteamUser = require 'steam-user'
SteamTotp = require 'steam-totp'
Promise = require 'bluebird'
moment = require 'moment'
EventEmitter = require 'events'
module.exports = class SteamAccount extends EventEmitter
constructor: (@name, @password, @sentry, @secret, @games, ... |
[
{
"context": "ee --- Smart paging for Knockout.js\n#\n# Authors:\n# Jason Milkins jason@opsmanager.com\n# Lincoln Lee lincoln@opsm",
"end": 79,
"score": 0.9998170733451843,
"start": 66,
"tag": "NAME",
"value": "Jason Milkins"
},
{
"context": "aging for Knockout.js\n#\n# Authors:\n#... | ko-pager.coffee | opsmanager/ko-pager | 0 | # ko-pager.coffee --- Smart paging for Knockout.js
#
# Authors:
# Jason Milkins jason@opsmanager.com
# Lincoln Lee lincoln@opsmanager.com
#
# # Knockout Pager
#
# Provide pagination features for an observableArray. Getting data
# from a server via Ajax.
#
# @myCollection = ko.observableArray().pager {options}
#
#... | 44984 | # ko-pager.coffee --- Smart paging for Knockout.js
#
# Authors:
# <NAME> <EMAIL>
# <NAME> <EMAIL>
#
# # Knockout Pager
#
# Provide pagination features for an observableArray. Getting data
# from a server via Ajax.
#
# @myCollection = ko.observableArray().pager {options}
#
# ## Options
#
# | Parameters | D... | true | # ko-pager.coffee --- Smart paging for Knockout.js
#
# Authors:
# PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI
# PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI
#
# # Knockout Pager
#
# Provide pagination features for an observableArray. Getting data
# from a server via Ajax.
#
# @myCollection = ko.observableArray().p... |
[
{
"context": "# Framer Impressionist\n# \tTony Jing\n# A rebound of Henrique Gusso's Framer Pixelation",
"end": 35,
"score": 0.999852180480957,
"start": 26,
"tag": "NAME",
"value": "Tony Jing"
},
{
"context": "# Framer Impressionist\n# \tTony Jing\n# A rebound of Henrique Gusso's Fra... | 47pixelate2.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Framer Impressionist
# Tony Jing
# A rebound of Henrique Gusso's Framer Pixelation Project
# http://dribbble.com/shots/2721050-Framer-Pixelation
# Setup image
image = "images/#{Utils.randomChoice([3,4])}.jpg"
# Create some fancy colors for button
buttonColorPairs = []
delayTime = 5
gradientsJSON = JSON.parse Uti... | 39775 | # Framer Impressionist
# <NAME>
# A rebound of <NAME>'s Framer Pixelation Project
# http://dribbble.com/shots/2721050-Framer-Pixelation
# Setup image
image = "images/#{Utils.randomChoice([3,4])}.jpg"
# Create some fancy colors for button
buttonColorPairs = []
delayTime = 5
gradientsJSON = JSON.parse Utils.domLoadD... | true | # Framer Impressionist
# PI:NAME:<NAME>END_PI
# A rebound of PI:NAME:<NAME>END_PI's Framer Pixelation Project
# http://dribbble.com/shots/2721050-Framer-Pixelation
# Setup image
image = "images/#{Utils.randomChoice([3,4])}.jpg"
# Create some fancy colors for button
buttonColorPairs = []
delayTime = 5
gradientsJSON... |
[
{
"context": "=\"ID-JB\" />\n <meta name=\"geo.placename\" content=\"Bandung\" />\n <meta name=\"geo.position\" content=\"-6.92927",
"end": 3312,
"score": 0.9252123832702637,
"start": 3305,
"tag": "NAME",
"value": "Bandung"
}
] | snippets/layout.cson | drosanda/SemeFrameworkAtom | 0 | '.php':
'Seme Layout':
'prefix': 'semelayout'
'body': '''
<!DOCTYPE html>
<html lang="${1:en}">
<?php \$this->getThemeElement("page/html/head",\$__forward); ?>
<?php \$this->getBodyBefore(); ?>
<body class="">
<?php \$this->getThemeElement("page/html/topbar",\$__forward);?>
<?php \$this->getThemeElement("... | 79399 | '.php':
'Seme Layout':
'prefix': 'semelayout'
'body': '''
<!DOCTYPE html>
<html lang="${1:en}">
<?php \$this->getThemeElement("page/html/head",\$__forward); ?>
<?php \$this->getBodyBefore(); ?>
<body class="">
<?php \$this->getThemeElement("page/html/topbar",\$__forward);?>
<?php \$this->getThemeElement("... | true | '.php':
'Seme Layout':
'prefix': 'semelayout'
'body': '''
<!DOCTYPE html>
<html lang="${1:en}">
<?php \$this->getThemeElement("page/html/head",\$__forward); ?>
<?php \$this->getBodyBefore(); ?>
<body class="">
<?php \$this->getThemeElement("page/html/topbar",\$__forward);?>
<?php \$this->getThemeElement("... |
[
{
"context": "element = $(e.target)\n key = element.attr('data-field')\n value = element.val()\n @model.data()[key",
"end": 7250,
"score": 0.6705560684204102,
"start": 7245,
"tag": "KEY",
"value": "field"
}
] | app/assets/javascripts/views/content/form.js.coffee | tanordheim/adapt-cms | 0 | class App.Views.Content.Form extends App.Backbone.ContentView
# Defines the ID of the template to render with. This must be specified by any
# inheriting view.
templateId: ''
# Defines the label of the "new" element in the breadcrumb when creating a new
# node.
newBreadcrumbLabel: 'New'
# Defines a fun... | 30697 | class App.Views.Content.Form extends App.Backbone.ContentView
# Defines the ID of the template to render with. This must be specified by any
# inheriting view.
templateId: ''
# Defines the label of the "new" element in the breadcrumb when creating a new
# node.
newBreadcrumbLabel: 'New'
# Defines a fun... | true | class App.Views.Content.Form extends App.Backbone.ContentView
# Defines the ID of the template to render with. This must be specified by any
# inheriting view.
templateId: ''
# Defines the label of the "new" element in the breadcrumb when creating a new
# node.
newBreadcrumbLabel: 'New'
# Defines a fun... |
[
{
"context": "art of vue-styled-jss\n# Copyright (C) 2018-present Dario Giovannetti <dev@dariogiovannetti.net>\n# Licensed under MIT\n#",
"end": 84,
"score": 0.9998725652694702,
"start": 67,
"tag": "NAME",
"value": "Dario Giovannetti"
},
{
"context": "s\n# Copyright (C) 2018-present ... | index.coffee | kynikos/vue-styled-jss | 1 | # This file is part of vue-styled-jss
# Copyright (C) 2018-present Dario Giovannetti <dev@dariogiovannetti.net>
# Licensed under MIT
# https://github.com/kynikos/vue-styled-jss/blob/master/LICENSE
# TODO: Verify the tag names against html-tag-names in tests like in
# hyperscript-helpers
# Also include the ... | 118919 | # This file is part of vue-styled-jss
# Copyright (C) 2018-present <NAME> <<EMAIL>>
# Licensed under MIT
# https://github.com/kynikos/vue-styled-jss/blob/master/LICENSE
# TODO: Verify the tag names against html-tag-names in tests like in
# hyperscript-helpers
# Also include the SVG tags?
# See https://gith... | true | # This file is part of vue-styled-jss
# Copyright (C) 2018-present PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Licensed under MIT
# https://github.com/kynikos/vue-styled-jss/blob/master/LICENSE
# TODO: Verify the tag names against html-tag-names in tests like in
# hyperscript-helpers
# Also include the... |
[
{
"context": "te()\n count = 0\n _keys = _keywords.split(/\\s+/)\n $(\".phantom\").each ->\n keywords = $(",
"end": 336,
"score": 0.8959159851074219,
"start": 332,
"tag": "KEY",
"value": "s+/)"
}
] | app/assets/coffeescripts/phantom.coffee | jay16/xiao6say | 0 | window.Phantom=
# search tea with keywords
search: (input) ->
_keywords = $(input).val().trim()
# when keyword is empty then show normal
if !_keywords
$(".tr-row").removeClass("hidden")
$(".search-result").text("")
else
date_begin = new Date()
count = 0
_keys = _keywo... | 65807 | window.Phantom=
# search tea with keywords
search: (input) ->
_keywords = $(input).val().trim()
# when keyword is empty then show normal
if !_keywords
$(".tr-row").removeClass("hidden")
$(".search-result").text("")
else
date_begin = new Date()
count = 0
_keys = _keywo... | true | window.Phantom=
# search tea with keywords
search: (input) ->
_keywords = $(input).val().trim()
# when keyword is empty then show normal
if !_keywords
$(".tr-row").removeClass("hidden")
$(".search-result").text("")
else
date_begin = new Date()
count = 0
_keys = _keywo... |
[
{
"context": "piCallPromise = SaltApiSrvc.act $scope, [{'name':'John'}]\n $scope.saltApiCallPromise.success (data, s",
"end": 233,
"score": 0.9971259236335754,
"start": 229,
"tag": "NAME",
"value": "John"
},
{
"context": ".saltApiLoginPromise = SaltApiSrvc.login $scope, 'usernames... | halite/lattice/app/util/saltApiSrvc.coffee | CARFAX/halite | 212 | ###
usage:
mainApp = angular.module("MainApp", [... 'saltApiSrvc'])
mainApp.controller 'MyCtlr', ['$scope', ...,'SaltApiSrvc',
($scope,...,SaltApiSrvc) ->
$scope.saltApiCallPromise = SaltApiSrvc.act $scope, [{'name':'John'}]
$scope.saltApiCallPromise.success (data, status, headers, config) ->
co... | 25597 | ###
usage:
mainApp = angular.module("MainApp", [... 'saltApiSrvc'])
mainApp.controller 'MyCtlr', ['$scope', ...,'SaltApiSrvc',
($scope,...,SaltApiSrvc) ->
$scope.saltApiCallPromise = SaltApiSrvc.act $scope, [{'name':'<NAME>'}]
$scope.saltApiCallPromise.success (data, status, headers, config) ->
... | true | ###
usage:
mainApp = angular.module("MainApp", [... 'saltApiSrvc'])
mainApp.controller 'MyCtlr', ['$scope', ...,'SaltApiSrvc',
($scope,...,SaltApiSrvc) ->
$scope.saltApiCallPromise = SaltApiSrvc.act $scope, [{'name':'PI:NAME:<NAME>END_PI'}]
$scope.saltApiCallPromise.success (data, status, headers, confi... |
[
{
"context": "######################\n# Copyright (C) 2015 by Vaughn Iverson\n# git2gridfs is free software released under ",
"end": 119,
"score": 0.9998342394828796,
"start": 105,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | src/index.coffee | vsivsi/git2gridfs | 0 | ############################################################################
# Copyright (C) 2015 by Vaughn Iverson
# git2gridfs is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
require... | 135656 | ############################################################################
# Copyright (C) 2015 by <NAME>
# git2gridfs is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
require 'shellj... | true | ############################################################################
# Copyright (C) 2015 by PI:NAME:<NAME>END_PI
# git2gridfs is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
r... |
[
{
"context": "= (callback) ->\n user = new UserModel\n name: \"路人丙\"\n accountId: \"55f7d989c71fd9ffec845f8b\"\n un",
"end": 350,
"score": 0.9958620667457581,
"start": 347,
"tag": "NAME",
"value": "路人丙"
},
{
"context": "r = new UserModel\n name: \"路人丙\"\n accountId: \... | talk-api2x/test/controllers/team.coffee | ikingye/talk-os | 3,084 | should = require 'should'
Promise = require 'bluebird'
async = require 'async'
Err = require 'err1st'
db = require('limbo').use 'talk'
app = require '../app'
{prepare, clear, cleanup, request, requestAsync} = app
{
UserModel
MemberModel
TeamModel
InvitationModel
} = db
_createUnionUser = (callback) ->
user ... | 73834 | should = require 'should'
Promise = require 'bluebird'
async = require 'async'
Err = require 'err1st'
db = require('limbo').use 'talk'
app = require '../app'
{prepare, clear, cleanup, request, requestAsync} = app
{
UserModel
MemberModel
TeamModel
InvitationModel
} = db
_createUnionUser = (callback) ->
user ... | true | should = require 'should'
Promise = require 'bluebird'
async = require 'async'
Err = require 'err1st'
db = require('limbo').use 'talk'
app = require '../app'
{prepare, clear, cleanup, request, requestAsync} = app
{
UserModel
MemberModel
TeamModel
InvitationModel
} = db
_createUnionUser = (callback) ->
user ... |
[
{
"context": ".unsplash.com/photo-1440227537815-f4476b789291\", \"Marat Gilyadzinov\", \"Пекин, Beijing, China\"]\n\t\n\t[ \"https://images.u",
"end": 461,
"score": 0.9998524188995361,
"start": 444,
"tag": "NAME",
"value": "Marat Gilyadzinov"
},
{
"context": ".unsplash.com/photo-1460... | sticker-example.framer/app.coffee | Collect3/framer-sticker | 17 | {StickerScrollComponent, StickerSection} = require 'Sticker'
images = [
["https://images.unsplash.com/photo-1440589473619-3cde28941638", "Roksolana Zasiadko", ""],
[ "https://images.unsplash.com/photo-1460400355256-e87506dcec4f", "veeterzy", ""],
["https://images.unsplash.com/photo-1460750860062-82a52139a0d6","Swee... | 11233 | {StickerScrollComponent, StickerSection} = require 'Sticker'
images = [
["https://images.unsplash.com/photo-1440589473619-3cde28941638", "Roksolana Zasiadko", ""],
[ "https://images.unsplash.com/photo-1460400355256-e87506dcec4f", "veeterzy", ""],
["https://images.unsplash.com/photo-1460750860062-82a52139a0d6","Swee... | true | {StickerScrollComponent, StickerSection} = require 'Sticker'
images = [
["https://images.unsplash.com/photo-1440589473619-3cde28941638", "Roksolana Zasiadko", ""],
[ "https://images.unsplash.com/photo-1460400355256-e87506dcec4f", "veeterzy", ""],
["https://images.unsplash.com/photo-1460750860062-82a52139a0d6","Swee... |
[
{
"context": "at: \"2015-02-19T12:46:13.196Z\"\n ip_address: \"127.0.0.1\"\n username: \"Kim Miller\"\n\n saved_proposal",
"end": 1207,
"score": 0.9997246861457825,
"start": 1198,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "Z\"\n ip_address: \"127.0.0... | test/spec/controllers/votes_controller_spec.coffee | Spokenvote/spokenvote | 21 |
describe 'Proposal Votes Controllers Tests', ->
beforeEach module 'spokenvote'
# beforeEach module 'spokenvoteMocks'
describe 'Votes Controllers should perform a Controller tasks', ->
$rootScope = undefined
$controller = undefined
$httpBackend = undefined
$location = undefined
$scope = undefi... | 68662 |
describe 'Proposal Votes Controllers Tests', ->
beforeEach module 'spokenvote'
# beforeEach module 'spokenvoteMocks'
describe 'Votes Controllers should perform a Controller tasks', ->
$rootScope = undefined
$controller = undefined
$httpBackend = undefined
$location = undefined
$scope = undefi... | true |
describe 'Proposal Votes Controllers Tests', ->
beforeEach module 'spokenvote'
# beforeEach module 'spokenvoteMocks'
describe 'Votes Controllers should perform a Controller tasks', ->
$rootScope = undefined
$controller = undefined
$httpBackend = undefined
$location = undefined
$scope = undefi... |
[
{
"context": "nt.twitter).to.exist\n\n profile =\n id: 'profile_id'\n screen_name: 'user_example'\n profile_im",
"end": 593,
"score": 0.505452036857605,
"start": 593,
"tag": "USERNAME",
"value": ""
},
{
"context": " profile =\n id: 'profile_id'\n screen_name: 'user_ex... | test/twitter.coffee | moooink/loopback-satellizer | 0 | expect = require('chai').expect
loopback = require 'loopback'
nock = require 'nock'
request = require 'supertest'
component = require '../lib/index.js'
describe 'Twitter module', ->
app = null
agent = null
Account = null
first = null
second = null
third = null
beforeEach ->
... | 55116 | expect = require('chai').expect
loopback = require 'loopback'
nock = require 'nock'
request = require 'supertest'
component = require '../lib/index.js'
describe 'Twitter module', ->
app = null
agent = null
Account = null
first = null
second = null
third = null
beforeEach ->
... | true | expect = require('chai').expect
loopback = require 'loopback'
nock = require 'nock'
request = require 'supertest'
component = require '../lib/index.js'
describe 'Twitter module', ->
app = null
agent = null
Account = null
first = null
second = null
third = null
beforeEach ->
... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9945940971374512,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/client/controllers/receiver.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... | 160464 | ###
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": "ommitted only for\n signup call\n\n @param {String} user Username\n @param {String} password User password",
"end": 334,
"score": 0.9165371060371399,
"start": 330,
"tag": "USERNAME",
"value": "user"
},
{
"context": "ted only for\n signup call\n\n @param {String} us... | test/assets/pocket.coffee | adamchester/gistblog-express | 1 |
request = require "request"
###
Class for interacting with getpocket.com api
All callback functions accept 2 params:
1) error, must be null,
2) resulting object in json/javascript format.
###
class Pocket
###
Class constructor, `user` and `password` params may be ommitted only for
signup call
@param... | 107975 |
request = require "request"
###
Class for interacting with getpocket.com api
All callback functions accept 2 params:
1) error, must be null,
2) resulting object in json/javascript format.
###
class Pocket
###
Class constructor, `user` and `password` params may be ommitted only for
signup call
@param... | true |
request = require "request"
###
Class for interacting with getpocket.com api
All callback functions accept 2 params:
1) error, must be null,
2) resulting object in json/javascript format.
###
class Pocket
###
Class constructor, `user` and `password` params may be ommitted only for
signup call
@param... |
[
{
"context": "###\nGulp task uglify\n@create 2014-12-15\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 60,
"score": 0.9998937249183655,
"start": 48,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "k uglify\n@create 2014-12-15\n@author Kout... | tasks/config/uglify.coffee | moorvin/Sea-Fight | 1 | ###
Gulp task uglify
@create 2014-12-15
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins)->
gulp.task "uglify:js", ->
if plugins.config.env isnt "development"
gulp.src ["www/min/bundle.min.js"]
.pipe plugins.uglify()
.pipe gulp.dest "www/min"
gulp.task "uglify:css", -... | 61269 | ###
Gulp task uglify
@create 2014-12-15
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins)->
gulp.task "uglify:js", ->
if plugins.config.env isnt "development"
gulp.src ["www/min/bundle.min.js"]
.pipe plugins.uglify()
.pipe gulp.dest "www/min"
gulp.task "uglify:css", ->
if plu... | true | ###
Gulp task uglify
@create 2014-12-15
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins)->
gulp.task "uglify:js", ->
if plugins.config.env isnt "development"
gulp.src ["www/min/bundle.min.js"]
.pipe plugins.uglify()
.pipe gulp.dest "www/min"
gulp.tas... |
[
{
"context": "\n m 'div', [\n NavComponent\n 'Hello, Mithril!'\n ]\n\nmodule.exports =\n controller: ->\n ne",
"end": 160,
"score": 0.6431567668914795,
"start": 154,
"tag": "NAME",
"value": "ithril"
}
] | src/components/home-app-component.coffee | bouzuya/exercise-in-mithril | 0 | m = require 'mithril'
NavComponent = require '../components/nav-component'
class Component
render: ->
m 'div', [
NavComponent
'Hello, Mithril!'
]
module.exports =
controller: ->
new Component()
view: (c) ->
c.render()
| 28080 | m = require 'mithril'
NavComponent = require '../components/nav-component'
class Component
render: ->
m 'div', [
NavComponent
'Hello, M<NAME>!'
]
module.exports =
controller: ->
new Component()
view: (c) ->
c.render()
| true | m = require 'mithril'
NavComponent = require '../components/nav-component'
class Component
render: ->
m 'div', [
NavComponent
'Hello, MPI:NAME:<NAME>END_PI!'
]
module.exports =
controller: ->
new Component()
view: (c) ->
c.render()
|
[
{
"context": "control.coffee)\n#\n# Air Sciences Inc. - 2016\n# Jacob Fielding\n#\n\nwindow.Plotter ||= {}\n\nwindow.Plotter.Controls",
"end": 140,
"score": 0.9998175501823425,
"start": 126,
"tag": "NAME",
"value": "Jacob Fielding"
}
] | coffee/control.coffee | airsciences/metplotter | 0 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Plot Controls (control.coffee)
#
# Air Sciences Inc. - 2016
# Jacob Fielding
#
window.Plotter ||= {}
window.Plotter.Controls = class Controls
constructor: (plotter) ->
@preError = "Plotter.Dropdown"
@plotter = plotter
@api = @plotter.i.api
... | 35186 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Plot Controls (control.coffee)
#
# Air Sciences Inc. - 2016
# <NAME>
#
window.Plotter ||= {}
window.Plotter.Controls = class Controls
constructor: (plotter) ->
@preError = "Plotter.Dropdown"
@plotter = plotter
@api = @plotter.i.api
# S... | true | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Plot Controls (control.coffee)
#
# Air Sciences Inc. - 2016
# PI:NAME:<NAME>END_PI
#
window.Plotter ||= {}
window.Plotter.Controls = class Controls
constructor: (plotter) ->
@preError = "Plotter.Dropdown"
@plotter = plotter
@api = @plotter.... |
[
{
"context": "function($scope) {\n $scope.name = 'World';\n });\n \"\"\"\n \"starter-",
"end": 7298,
"score": 0.9992546439170837,
"start": 7293,
"tag": "NAME",
"value": "World"
},
{
"context": "Ctrl', ($scope) ->\n $scope.name ... | servers/www/assets/js/services/catalogue.coffee | sitedata/plunker | 340 | module = angular.module("plunker.catalogue", [])
module.service "catalogue", [ ->
catalogue =
"starter":
"category": "Starter Templates"
"tags": []
"description": """
Basic starter template with a javascript and css file
"""
"versions":
"0.0.1":
"dependenci... | 13256 | module = angular.module("plunker.catalogue", [])
module.service "catalogue", [ ->
catalogue =
"starter":
"category": "Starter Templates"
"tags": []
"description": """
Basic starter template with a javascript and css file
"""
"versions":
"0.0.1":
"dependenci... | true | module = angular.module("plunker.catalogue", [])
module.service "catalogue", [ ->
catalogue =
"starter":
"category": "Starter Templates"
"tags": []
"description": """
Basic starter template with a javascript and css file
"""
"versions":
"0.0.1":
"dependenci... |
[
{
"context": "!@ignoreClause(clauseResult)\n key = libraryName.concat('_',localId)\n # Initialize allClauses list to a",
"end": 1194,
"score": 0.9845045804977417,
"start": 1163,
"tag": "KEY",
"value": "libraryName.concat('_',localId)"
}
] | app/assets/javascripts/models/coverage.js.coffee | projectcypress/bonnie | 33 | class Thorax.Model.Coverage extends Thorax.Model
initialize: (attrs, options) ->
@population = options.population
@differences = @population.differencesFromExpected()
@measureCriteria = @population.dataCriteriaKeys()
@listenTo @differences, 'change add reset destroy remove', @update
@update()
... | 178279 | class Thorax.Model.Coverage extends Thorax.Model
initialize: (attrs, options) ->
@population = options.population
@differences = @population.differencesFromExpected()
@measureCriteria = @population.dataCriteriaKeys()
@listenTo @differences, 'change add reset destroy remove', @update
@update()
... | true | class Thorax.Model.Coverage extends Thorax.Model
initialize: (attrs, options) ->
@population = options.population
@differences = @population.differencesFromExpected()
@measureCriteria = @population.dataCriteriaKeys()
@listenTo @differences, 'change add reset destroy remove', @update
@update()
... |
[
{
"context": "lock();\n\n PrettyEmail.send 'basic',\n to: 'contato@grupoallconnect.com.br'\n subject: 'Mensagem enviada pelo site'\n ",
"end": 619,
"score": 0.9999332427978516,
"start": 589,
"tag": "EMAIL",
"value": "contato@grupoallconnect.com.br"
}
] | server/methods/methods.coffee | thiago-zaidem/appVilaDosBichos | 0 | Meteor.methods
validaInscricao: (items)->
if Roles.userIsInRole this.userId, ['Organização']
this.unblock()
itens = {}
selected = template.findAll( "input[type=checkbox]:checked");
itens = _.map selected, (item)->
return item.defaultValue
_.map items, (item)->
if item != ... | 116218 | Meteor.methods
validaInscricao: (items)->
if Roles.userIsInRole this.userId, ['Organização']
this.unblock()
itens = {}
selected = template.findAll( "input[type=checkbox]:checked");
itens = _.map selected, (item)->
return item.defaultValue
_.map items, (item)->
if item != ... | true | Meteor.methods
validaInscricao: (items)->
if Roles.userIsInRole this.userId, ['Organização']
this.unblock()
itens = {}
selected = template.findAll( "input[type=checkbox]:checked");
itens = _.map selected, (item)->
return item.defaultValue
_.map items, (item)->
if item != ... |
[
{
"context": "TWITTER_CLIENT_SECRET\n access_token_key: @encrypted.secrets.credentials.token\n access_token_secr",
"end": 633,
"score": 0.542415976524353,
"start": 624,
"tag": "KEY",
"value": "encrypted"
},
{
"context": "IENT_SECRET\n access_token_key: @encrypted... | src/configurations/public-filtered-stream/job.coffee | octoblu/slurry-twitter | 0 | http = require 'http'
_ = require 'lodash'
Twitter = require 'twitter'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
SlurryStream = require 'slurry-core/slurry-stream'
class PublicFilteredStream
constructor: ({@encrypted, @auth, @userDeviceUuid}) ->
m... | 99414 | http = require 'http'
_ = require 'lodash'
Twitter = require 'twitter'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
SlurryStream = require 'slurry-core/slurry-stream'
class PublicFilteredStream
constructor: ({@encrypted, @auth, @userDeviceUuid}) ->
m... | true | http = require 'http'
_ = require 'lodash'
Twitter = require 'twitter'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
SlurryStream = require 'slurry-core/slurry-stream'
class PublicFilteredStream
constructor: ({@encrypted, @auth, @userDeviceUuid}) ->
m... |
[
{
"context": "shbooks_account_url').val()\n api_token = $('#freshbooks_api_token').val()\n flag = true\n\n i",
"end": 596,
"score": 0.3034280836582184,
"start": 591,
"tag": "PASSWORD",
"value": "fresh"
},
{
"context": "ks_account_url').val()\n api_token = $('#fres... | vteams-open-source-billing-7978d62/app/javascript/packs/import.js.coffee | Ayan-devops/web-app | 0 | class @Import
applyPopover = (elem,position,corner,message) ->
console.log message
elem.qtip
content:
text: message
show:
event: false
hide:
event: false
position:
at: position
style:
tip:
corner: corner
elem.qtip().show()
... | 80283 | class @Import
applyPopover = (elem,position,corner,message) ->
console.log message
elem.qtip
content:
text: message
show:
event: false
hide:
event: false
position:
at: position
style:
tip:
corner: corner
elem.qtip().show()
... | true | class @Import
applyPopover = (elem,position,corner,message) ->
console.log message
elem.qtip
content:
text: message
show:
event: false
hide:
event: false
position:
at: position
style:
tip:
corner: corner
elem.qtip().show()
... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# John Wiebalk <jwiebalk@github.com>\n\nhost = process.env.GHE_URL",
"end": 344,
"score": 0.9998596906661987,
"start": 332,
"tag": "NAME",
"value": "John Wiebalk"
},
{
"context": "red for the script>\n#\n# Author:\n# ... | src/github-enterprise-unsuspend.coffee | jwiebalk/hubot-github-enterprise-unsuspend | 1 | # Description
# Unsuspend users in GitHub Enterprise via Hubot
#
# Configuration:
# export GHE_URL='https://<hostname>'
# export GHE_TOKEN='<Site admin token>'
#
# Commands:
# hubot gheunsuspend <user> -- Unsuspends user specified in GitHub Enterprise
#
# Notes:
# <optional notes required for the script>
#
# ... | 83662 | # Description
# Unsuspend users in GitHub Enterprise via Hubot
#
# Configuration:
# export GHE_URL='https://<hostname>'
# export GHE_TOKEN='<Site admin token>'
#
# Commands:
# hubot gheunsuspend <user> -- Unsuspends user specified in GitHub Enterprise
#
# Notes:
# <optional notes required for the script>
#
# ... | true | # Description
# Unsuspend users in GitHub Enterprise via Hubot
#
# Configuration:
# export GHE_URL='https://<hostname>'
# export GHE_TOKEN='<Site admin token>'
#
# Commands:
# hubot gheunsuspend <user> -- Unsuspends user specified in GitHub Enterprise
#
# Notes:
# <optional notes required for the script>
#
# ... |
[
{
"context": " - else\n - Bust\n###\nconsole.log \"Welcome to Blackjack!\"\nconsole.log \"=====================\\n\"\n\n# De",
"end": 1047,
"score": 0.5983858108520508,
"start": 1042,
"tag": "NAME",
"value": "Black"
}
] | blackjack.coffee | duffbuster/Coffee-Blackjack | 0 | # Card class
Card = (suit, number) ->
_suit = suit
_number = number
# Getters for number and suit
@getNumber = -> _number
@getSuit = -> _suit
@getValue = ->
switch _number
when 11, 12, 13 then 10
when 1 then 11
else _number
# Get ASCII values of suits
@getSuitAscii = ->
{ ... | 213447 | # Card class
Card = (suit, number) ->
_suit = suit
_number = number
# Getters for number and suit
@getNumber = -> _number
@getSuit = -> _suit
@getValue = ->
switch _number
when 11, 12, 13 then 10
when 1 then 11
else _number
# Get ASCII values of suits
@getSuitAscii = ->
{ ... | true | # Card class
Card = (suit, number) ->
_suit = suit
_number = number
# Getters for number and suit
@getNumber = -> _number
@getSuit = -> _suit
@getValue = ->
switch _number
when 11, 12, 13 then 10
when 1 then 11
else _number
# Get ASCII values of suits
@getSuitAscii = ->
{ ... |
[
{
"context": "ata } = restrictions.custom\n\n allowedKeys = [ 'tags', 'instance_type', 'ami', 'root_block_device' ]\n ",
"end": 2981,
"score": 0.6997828483581543,
"start": 2977,
"tag": "KEY",
"value": "tags"
},
{
"context": "ami', 'root_block_device' ]\n allowedKeys.push 'user_... | workers/social/lib/social/models/computeproviders/teamutils.coffee | lionheart1022/koding | 0 | KodingError = require '../../error'
TEAMLIMITS = require './teamlimits'
_ = require 'underscore'
JGroupLimit = require '../group/grouplimit'
shareCredentials = (options, callback) ->
{ account, group } = options
return callback null unless group.config?.limit?
JCredential = require './credential... | 28768 | KodingError = require '../../error'
TEAMLIMITS = require './teamlimits'
_ = require 'underscore'
JGroupLimit = require '../group/grouplimit'
shareCredentials = (options, callback) ->
{ account, group } = options
return callback null unless group.config?.limit?
JCredential = require './credential... | true | KodingError = require '../../error'
TEAMLIMITS = require './teamlimits'
_ = require 'underscore'
JGroupLimit = require '../group/grouplimit'
shareCredentials = (options, callback) ->
{ account, group } = options
return callback null unless group.config?.limit?
JCredential = require './credential... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998894929885864,
"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.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
... | 34085 | ###
# 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": "64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx",
"end": 640,
"score": 0.5836025476455688,
"start": 638,
"tag": "KEY",
"value": "AB"
},
{
"context": "AAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz... | oldsite/python_viz/bokeh/bokehjs/src/coffee/tool/object_explorer_tool.coffee | amrosado/riskars | 2 | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"./tool",
"./event_generators",
"./object_explorer_tool_template",
"widget/object_explorer",
], (_, $, $$1, Collection, Tool, EventGenerators, object_explorer_tool_template, ObjectExplorer) ->
ButtonEventGenerator = EventGenerat... | 149270 | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"./tool",
"./event_generators",
"./object_explorer_tool_template",
"widget/object_explorer",
], (_, $, $$1, Collection, Tool, EventGenerators, object_explorer_tool_template, ObjectExplorer) ->
ButtonEventGenerator = EventGenerat... | true | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"./tool",
"./event_generators",
"./object_explorer_tool_template",
"widget/object_explorer",
], (_, $, $$1, Collection, Tool, EventGenerators, object_explorer_tool_template, ObjectExplorer) ->
ButtonEventGenerator = EventGenerat... |
[
{
"context": "le\n# testWith '/users.json', {user: firstName: 'John'}, (params, done) ->\n# post '/users.json', pa",
"end": 189,
"score": 0.9988282322883606,
"start": 185,
"tag": "NAME",
"value": "John"
},
{
"context": "params, ->\n# assert.equal @body.firstName, 'John'\n... | node_modules/tower/packages/tower-controller/shared/testHelper.coffee | MagicPower2/Power | 1 | _ = Tower._
# @todo Add method to mocha so you can both pass
# args to the test description and use those args in the test.
# @example
# testWith '/users.json', {user: firstName: 'John'}, (params, done) ->
# post '/users.json', params, ->
# assert.equal @body.firstName, 'John'
#
# done()
global.te... | 103416 | _ = Tower._
# @todo Add method to mocha so you can both pass
# args to the test description and use those args in the test.
# @example
# testWith '/users.json', {user: firstName: '<NAME>'}, (params, done) ->
# post '/users.json', params, ->
# assert.equal @body.firstName, '<NAME>'
#
# done()
globa... | true | _ = Tower._
# @todo Add method to mocha so you can both pass
# args to the test description and use those args in the test.
# @example
# testWith '/users.json', {user: firstName: 'PI:NAME:<NAME>END_PI'}, (params, done) ->
# post '/users.json', params, ->
# assert.equal @body.firstName, 'PI:NAME:<NAME>END... |
[
{
"context": "tring = \"70fa4a33c12271aa61863380a1b09704d6b15b12a268273d15f1b53fb18eebd7654b20540e394540\"\n bufs = f",
"end": 276,
"score": 0.5070900917053223,
"start": 275,
"tag": "KEY",
"value": "2"
},
{
"context": "ng = \"70fa4a33c12271aa61863380a1b09704d6b15b12a268273d15f1b53fb... | test/files/buffer_shift_right.iced | thinq4yourself/kbpgp | 1 |
{nbi,bn_from_left_n_bits,buffer_shift_right} = require '../../lib/bn'
{bufeq_fast} = require '../../lib/util'
#==========================================================
exports.test_buffer_shift_right = (T,cb) ->
byte_string = "70fa4a33c12271aa61863380a1b09704d6b15b12a268273d15f1b53fb18eebd7654b20540e394540"
bu... | 155251 |
{nbi,bn_from_left_n_bits,buffer_shift_right} = require '../../lib/bn'
{bufeq_fast} = require '../../lib/util'
#==========================================================
exports.test_buffer_shift_right = (T,cb) ->
byte_string = "70fa4a33c12271aa61863380a1b09704d6b15b12a<KEY>68<KEY>d<KEY>b<KEY>eeb<KEY>e<KEY>0"
bu... | true |
{nbi,bn_from_left_n_bits,buffer_shift_right} = require '../../lib/bn'
{bufeq_fast} = require '../../lib/util'
#==========================================================
exports.test_buffer_shift_right = (T,cb) ->
byte_string = "70fa4a33c12271aa61863380a1b09704d6b15b12aPI:KEY:<KEY>END_PI68PI:KEY:<KEY>END_PIdPI:KEY... |
[
{
"context": "oth children and dangerouslySetInnerHTML\n# @author David Petersen\n###\n'use strict'\n\nvariableUtil = require '../util",
"end": 122,
"score": 0.999836266040802,
"start": 108,
"tag": "NAME",
"value": "David Petersen"
}
] | src/rules/no-danger-with-children.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview Report when a DOM element is using both children and dangerouslySetInnerHTML
# @author David Petersen
###
'use strict'
variableUtil = require '../util/react/variable'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# ---------------... | 160517 | ###*
# @fileoverview Report when a DOM element is using both children and dangerouslySetInnerHTML
# @author <NAME>
###
'use strict'
variableUtil = require '../util/react/variable'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# -----------------------... | true | ###*
# @fileoverview Report when a DOM element is using both children and dangerouslySetInnerHTML
# @author PI:NAME:<NAME>END_PI
###
'use strict'
variableUtil = require '../util/react/variable'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# ---------... |
[
{
"context": " 'mongodb://localhost/hubot-brain'\n#\n# Author:\n# Sho Hashimoto <hashimoto@shokai.org>\n\n'use strict'\n\n_ ",
"end": 271,
"score": 0.9998558163642883,
"start": 258,
"tag": "NAME",
"value": "Sho Hashimoto"
},
{
"context": "lhost/hubot-brain'\n#\n# Author:\n... | node_modules/hubot-mongodb-brain/scripts/hubot-mongodb-brain.coffee | ketchalegend/hubot-Mattermost | 0 | # Description:
# hubot-mongodb-brain
# support MongoLab and MongoHQ on heroku.
#
# Dependencies:
# "mongodb": "*"
# "lodash" : "*"
#
# Configuration:
# MONGODB_URL or MONGOLAB_URI or MONGOHQ_URL or 'mongodb://localhost/hubot-brain'
#
# Author:
# Sho Hashimoto <hashimoto@shokai.org>
'use strict'
_ ... | 104714 | # Description:
# hubot-mongodb-brain
# support MongoLab and MongoHQ on heroku.
#
# Dependencies:
# "mongodb": "*"
# "lodash" : "*"
#
# Configuration:
# MONGODB_URL or MONGOLAB_URI or MONGOHQ_URL or 'mongodb://localhost/hubot-brain'
#
# Author:
# <NAME> <<EMAIL>>
'use strict'
_ = require 'lodash'... | true | # Description:
# hubot-mongodb-brain
# support MongoLab and MongoHQ on heroku.
#
# Dependencies:
# "mongodb": "*"
# "lodash" : "*"
#
# Configuration:
# MONGODB_URL or MONGOLAB_URI or MONGOHQ_URL or 'mongodb://localhost/hubot-brain'
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
'use strict'
_... |
[
{
"context": "odule.exports =\nclass LinterConfig\n @ROOT_KEY = 'atom-lint'\n\n constructor: (@linterKey) ->\n\n getKeyPathFor",
"end": 93,
"score": 0.9960520267486572,
"start": 84,
"tag": "KEY",
"value": "atom-lint"
}
] | lib/linter-config.coffee | rochefort/atom-lint | 0 | minimatch = require 'minimatch'
module.exports =
class LinterConfig
@ROOT_KEY = 'atom-lint'
constructor: (@linterKey) ->
getKeyPathForSubKeys: (keys...) ->
keys.unshift(LinterConfig.ROOT_KEY)
keys.join('.')
getLinterSetting: (key) ->
keyPath = @getKeyPathForSubKeys(@linterKey, key)
atom.conf... | 141163 | minimatch = require 'minimatch'
module.exports =
class LinterConfig
@ROOT_KEY = '<KEY>'
constructor: (@linterKey) ->
getKeyPathForSubKeys: (keys...) ->
keys.unshift(LinterConfig.ROOT_KEY)
keys.join('.')
getLinterSetting: (key) ->
keyPath = @getKeyPathForSubKeys(@linterKey, key)
atom.config.g... | true | minimatch = require 'minimatch'
module.exports =
class LinterConfig
@ROOT_KEY = 'PI:KEY:<KEY>END_PI'
constructor: (@linterKey) ->
getKeyPathForSubKeys: (keys...) ->
keys.unshift(LinterConfig.ROOT_KEY)
keys.join('.')
getLinterSetting: (key) ->
keyPath = @getKeyPathForSubKeys(@linterKey, key)
... |
[
{
"context": "e.validationErrors = []\n $scope.profile =\n firstName: ''\n lastName: ''\n email: ''\n phon",
"end": 251,
"score": 0.7216482758522034,
"start": 242,
"tag": "NAME",
"value": "firstName"
},
{
"context": " []\n $scope.profile =\n firstName: ... | src/Vifeed/FrontendBundle/Resources/assets/js/partnership/controllers/partnership-ctrl.coffee | bzis/zomba | 0 | angular.module('partnership').controller 'PartnershipCtrl', [
'$scope', 'Utility', 'Partnerships',
($scope, Utility, Partnerships) ->
'use strict'
$scope.isSent = false
$scope.validationErrors = []
$scope.profile =
firstName: ''
lastName: ''
email: ''
phone: ''
$scope.s... | 107191 | angular.module('partnership').controller 'PartnershipCtrl', [
'$scope', 'Utility', 'Partnerships',
($scope, Utility, Partnerships) ->
'use strict'
$scope.isSent = false
$scope.validationErrors = []
$scope.profile =
<NAME>: ''
<NAME>: ''
email: ''
phone: ''
$scope.sendPa... | true | angular.module('partnership').controller 'PartnershipCtrl', [
'$scope', 'Utility', 'Partnerships',
($scope, Utility, Partnerships) ->
'use strict'
$scope.isSent = false
$scope.validationErrors = []
$scope.profile =
PI:NAME:<NAME>END_PI: ''
PI:NAME:<NAME>END_PI: ''
email: ''
... |
[
{
"context": "1\",\n name: \"mocha\"\n email: \"mocha@example.com\"\n room: \"#mocha\"\n robot.brain.u",
"end": 1172,
"score": 0.9999223947525024,
"start": 1155,
"tag": "EMAIL",
"value": "mocha@example.com"
},
{
"context": " robot.brain.user... | test/command_spec.coffee | ben/hubot-tangocard-highfive | 14 | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
moment = require 'moment'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment var... | 10830 | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
moment = require 'moment'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment var... | true | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
moment = require 'moment'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment var... |
[
{
"context": "rs.reason = reason if reason?\n attrs.password = password if password?\n invitation = $msg(\n from: @",
"end": 6659,
"score": 0.993980884552002,
"start": 6651,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " error_cb) ->\n item = $build(\"item\"\n... | muc/strophe.muc.coffee | calendar42/strophejs-plugins | 0 | ###
*Plugin to implement the MUC extension.
http://xmpp.org/extensions/xep-0045.html
*jslint configuration:
*global document, window, setTimeout, clearTimeout, console,
XMLHttpRequest, ActiveXObject,
Base64, MD5,
Strophe, $build, $msg, $iq, $pres
###
Strophe.addConnectionPlugin 'muc'
_connection: null... | 148721 | ###
*Plugin to implement the MUC extension.
http://xmpp.org/extensions/xep-0045.html
*jslint configuration:
*global document, window, setTimeout, clearTimeout, console,
XMLHttpRequest, ActiveXObject,
Base64, MD5,
Strophe, $build, $msg, $iq, $pres
###
Strophe.addConnectionPlugin 'muc'
_connection: null... | true | ###
*Plugin to implement the MUC extension.
http://xmpp.org/extensions/xep-0045.html
*jslint configuration:
*global document, window, setTimeout, clearTimeout, console,
XMLHttpRequest, ActiveXObject,
Base64, MD5,
Strophe, $build, $msg, $iq, $pres
###
Strophe.addConnectionPlugin 'muc'
_connection: null... |
[
{
"context": "the user's domain name, strip it out\n # team@inboxapp.com => team\n if (parts[1] == meParts[1])\n ",
"end": 1434,
"score": 0.9997636675834656,
"start": 1417,
"tag": "EMAIL",
"value": "team@inboxapp.com"
},
{
"context": " If the name contains paren... | public/js/baobab.filter.coffee | PriviPK/privipk-webapp | 47 |
define ["angular", "underscore", "moment"], (angular, _, moment) ->
angular.module("baobab.filter", [])
.filter('shorten', () ->
(input) ->
if typeof input == 'string' && input.length > 64
input.substring(0, 60) + ' ...'
else
input
)
.filter('tag_expand', () ->
(input) ->
... | 223325 |
define ["angular", "underscore", "moment"], (angular, _, moment) ->
angular.module("baobab.filter", [])
.filter('shorten', () ->
(input) ->
if typeof input == 'string' && input.length > 64
input.substring(0, 60) + ' ...'
else
input
)
.filter('tag_expand', () ->
(input) ->
... | true |
define ["angular", "underscore", "moment"], (angular, _, moment) ->
angular.module("baobab.filter", [])
.filter('shorten', () ->
(input) ->
if typeof input == 'string' && input.length > 64
input.substring(0, 60) + ' ...'
else
input
)
.filter('tag_expand', () ->
(input) ->
... |
[
{
"context": "efore: 'Follow'\n link: 'http://twitter.com/mail_gun'\n action: '@Mail_Gun'\n after: 'on T",
"end": 666,
"score": 0.9978962540626526,
"start": 658,
"tag": "USERNAME",
"value": "mail_gun"
},
{
"context": "ink: 'http://twitter.com/mail_gun'\n a... | test/template.test.coffee | jysperm/pomo-mailer | 1 | fs = require 'fs'
{Mailer} = pomoMailer
renderedHtml = (name) ->
return fs.readFileSync("#{__dirname}/rendered/#{name}.html").toString()
describe 'templates', ->
mailer = new Mailer
server: {}
it 'action', ->
mailer.render 'action',
title: 'Please confirm your email address by clicking the link ... | 52465 | fs = require 'fs'
{Mailer} = pomoMailer
renderedHtml = (name) ->
return fs.readFileSync("#{__dirname}/rendered/#{name}.html").toString()
describe 'templates', ->
mailer = new Mailer
server: {}
it 'action', ->
mailer.render 'action',
title: 'Please confirm your email address by clicking the link ... | true | fs = require 'fs'
{Mailer} = pomoMailer
renderedHtml = (name) ->
return fs.readFileSync("#{__dirname}/rendered/#{name}.html").toString()
describe 'templates', ->
mailer = new Mailer
server: {}
it 'action', ->
mailer.render 'action',
title: 'Please confirm your email address by clicking the link ... |
[
{
"context": "sts = {\n ## expressions\n # literals\n \"({name: 'thiago', 'age': 28, 1: 2})\": [{name: 'thiago', age: 28, ",
"end": 712,
"score": 0.9993164539337158,
"start": 706,
"tag": "NAME",
"value": "thiago"
},
{
"context": " \"({name: 'thiago', 'age': 28, 1: 2})\": [{name: ... | test/vm.coffee | breakpad/vm.js | 79 | Vm = require '../src/vm'
# flag to enable/disable running the tests from a self-hosted vm
selftest = 0
# flag to enable/disable running the tests from a native vm
nativetest = 1
# what follows is a bunch of test cases to be run in a Vm instance.
# the key is the string to be eval'ed and the value is an array where:
#... | 166204 | Vm = require '../src/vm'
# flag to enable/disable running the tests from a self-hosted vm
selftest = 0
# flag to enable/disable running the tests from a native vm
nativetest = 1
# what follows is a bunch of test cases to be run in a Vm instance.
# the key is the string to be eval'ed and the value is an array where:
#... | true | Vm = require '../src/vm'
# flag to enable/disable running the tests from a self-hosted vm
selftest = 0
# flag to enable/disable running the tests from a native vm
nativetest = 1
# what follows is a bunch of test cases to be run in a Vm instance.
# the key is the string to be eval'ed and the value is an array where:
#... |
[
{
"context": ", DRY, transparent worker threads for your app\n * Dan Motzenbecker\n * http://oxism.com\n * MIT License\n###\n\ncommune",
"end": 138,
"score": 0.9998812675476074,
"start": 122,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | commune.coffee | dmotz/commune.js | 4 | ###
* Commune.js
* Web workers lose their chains
* 0.2.2
* Easy, DRY, transparent worker threads for your app
* Dan Motzenbecker
* http://oxism.com
* MIT License
###
communes = {}
makeBlob = null
mime = 'application\/javascript'
class Commune
constructor: (fnString) ->
if fnString.match /\bt... | 16346 | ###
* Commune.js
* Web workers lose their chains
* 0.2.2
* Easy, DRY, transparent worker threads for your app
* <NAME>
* http://oxism.com
* MIT License
###
communes = {}
makeBlob = null
mime = 'application\/javascript'
class Commune
constructor: (fnString) ->
if fnString.match /\bthis\b/
... | true | ###
* Commune.js
* Web workers lose their chains
* 0.2.2
* Easy, DRY, transparent worker threads for your app
* PI:NAME:<NAME>END_PI
* http://oxism.com
* MIT License
###
communes = {}
makeBlob = null
mime = 'application\/javascript'
class Commune
constructor: (fnString) ->
if fnString.match ... |
[
{
"context": "t\n expect(result).to.equal \"\"\"\n No one test@example.com\n\n 1 file changed, 0 insertions(+), 0 dele",
"end": 657,
"score": 0.9999145269393921,
"start": 641,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "ertions(+), 0 deletions(-)\... | test/git-log-test.coffee | snowyu/git-commiters.js | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
fs = require('fs')
gitLog = require('../src/git-log')
gitDir = __dirname + ... | 100179 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
fs = require('fs')
gitLog = require('../src/git-log')
gitDir = __dirname + ... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
fs = require('fs')
gitLog = require('../src/git-log')
gitDir = __dirname + ... |
[
{
"context": " collection: new Backbone.Collection [{name: \"one\"}, {name: \"two\"}]\n\n @view2 = new TestView\n ",
"end": 881,
"score": 0.6283441781997681,
"start": 878,
"tag": "NAME",
"value": "one"
},
{
"context": ": new Backbone.Collection [{name: \"one\"}, {name: \"tw... | test/testList.coffee | freakypie/backbone_views | 0 | bv = require "../src/index.coffee"
jQuery = require "jquery"
Backbone = require "backbone"
jsdom = require "jsdom"
_ = require "underscore"
chai = require "chai"
spies = require "chai-spies"
require "./testBase"
chai.use spies
assert = chai.assert
expect = chai.expect
describe "ListMixin", ->
beforeEach ->
B... | 150799 | bv = require "../src/index.coffee"
jQuery = require "jquery"
Backbone = require "backbone"
jsdom = require "jsdom"
_ = require "underscore"
chai = require "chai"
spies = require "chai-spies"
require "./testBase"
chai.use spies
assert = chai.assert
expect = chai.expect
describe "ListMixin", ->
beforeEach ->
B... | true | bv = require "../src/index.coffee"
jQuery = require "jquery"
Backbone = require "backbone"
jsdom = require "jsdom"
_ = require "underscore"
chai = require "chai"
spies = require "chai-spies"
require "./testBase"
chai.use spies
assert = chai.assert
expect = chai.expect
describe "ListMixin", ->
beforeEach ->
B... |
[
{
"context": "usr/bin/env coffee\n#\n# Animation script for HQZ.\n# Micah Elizabeth Scott <micah@scanlime.org>\n# Creative Commons BY-SA lic",
"end": 75,
"score": 0.9998743534088135,
"start": 54,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": "nimation script for HQZ... | example /hqz/examples/branches.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# Animation script for HQZ.
# Micah Elizabeth Scott <micah@scanlime.org>
# Creative Commons BY-SA license:
# http://creativecommons.org/licenses/by-sa/3.0/
#
RAYS = 10000000
arc4rand = require 'arc4rand'
TAU = Math.PI * 2
deg = (degrees) -> degrees * TAU / 360
childBranch = (frame, seed, x0,... | 15722 | #!/usr/bin/env coffee
#
# Animation script for HQZ.
# <NAME> <<EMAIL>>
# Creative Commons BY-SA license:
# http://creativecommons.org/licenses/by-sa/3.0/
#
RAYS = 10000000
arc4rand = require 'arc4rand'
TAU = Math.PI * 2
deg = (degrees) -> degrees * TAU / 360
childBranch = (frame, seed, x0, y0, dx, dy, offset, angle... | true | #!/usr/bin/env coffee
#
# Animation script for HQZ.
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Creative Commons BY-SA license:
# http://creativecommons.org/licenses/by-sa/3.0/
#
RAYS = 10000000
arc4rand = require 'arc4rand'
TAU = Math.PI * 2
deg = (degrees) -> degrees * TAU / 360
childBranch = (frame, seed, ... |
[
{
"context": " secret: serverConfig._sessionSecret\n key: 'connect.sid'\n #store: _redisStore\n app.use passport.initi",
"end": 2922,
"score": 0.9971132874488831,
"start": 2911,
"tag": "KEY",
"value": "connect.sid"
}
] | backend/server.coffee | chiehwen/ResShoPos | 1 | ### Config Run App ###
{ serverConfig } = require './config/init'
console.log serverConfig._apiServerPath
###
Requires
###
fs = require 'fs'
uuid = require 'node-uuid'
express = require 'express'
path = require 'path'
http = require 'http'
###
Disable Redis for running in Windows
redis = require("redis").... | 188508 | ### Config Run App ###
{ serverConfig } = require './config/init'
console.log serverConfig._apiServerPath
###
Requires
###
fs = require 'fs'
uuid = require 'node-uuid'
express = require 'express'
path = require 'path'
http = require 'http'
###
Disable Redis for running in Windows
redis = require("redis").... | true | ### Config Run App ###
{ serverConfig } = require './config/init'
console.log serverConfig._apiServerPath
###
Requires
###
fs = require 'fs'
uuid = require 'node-uuid'
express = require 'express'
path = require 'path'
http = require 'http'
###
Disable Redis for running in Windows
redis = require("redis").... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999098777770996,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmaps/search-panel.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { SearchFilter } from './search-filter'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as React from... | 22015 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { SearchFilter } from './search-filter'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as React from 'react... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { SearchFilter } from './search-filter'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as Re... |
[
{
"context": " id : parseInt(_.uniqueId())\n name: 'Holmes'\n img : 'img/main/img/mocks/holmes.jpg'\n",
"end": 544,
"score": 0.9743433594703674,
"start": 538,
"tag": "NAME",
"value": "Holmes"
}
] | client/web/src/main/scripts/runners/mock-teams-runner.coffee | TimeoutZero/ProjectTrail | 0 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# ToolController
# =============================================
.run [ '$rootScope',
($rootScope) ->
... | 91194 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# ToolController
# =============================================
.run [ '$rootScope',
($rootScope) ->
... | true | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# ToolController
# =============================================
.run [ '$rootScope',
($rootScope) ->
... |
[
{
"context": "ommand data.setPassword\", {identifier, password: \"*******\"}\n @gameInstance.playerManager.storePasswo",
"end": 5436,
"score": 0.5065252184867859,
"start": 5436,
"tag": "PASSWORD",
"value": ""
}
] | src/system/accessibility/API.coffee | jawsome/IdleLands | 3 |
Q = require "q"
class API
@gameInstance: null
@logger: null
@validateIdentifier: (identifier) ->
return Q {isSuccess: no, code: 19199191, message: "The game is currently loading, please try again soon."} unless @gameInstance
defer = Q.defer()
@gameInstance.loading.then =>
player = @gameIns... | 89174 |
Q = require "q"
class API
@gameInstance: null
@logger: null
@validateIdentifier: (identifier) ->
return Q {isSuccess: no, code: 19199191, message: "The game is currently loading, please try again soon."} unless @gameInstance
defer = Q.defer()
@gameInstance.loading.then =>
player = @gameIns... | true |
Q = require "q"
class API
@gameInstance: null
@logger: null
@validateIdentifier: (identifier) ->
return Q {isSuccess: no, code: 19199191, message: "The game is currently loading, please try again soon."} unless @gameInstance
defer = Q.defer()
@gameInstance.loading.then =>
player = @gameIns... |
[
{
"context": "'\n\ndescribe('菜品相关', ->\n\n postData = {\n name: \"老坛酸菜\"\n price: 100\n discount: 0.9\n is_recommen",
"end": 158,
"score": 0.9997613430023193,
"start": 154,
"tag": "NAME",
"value": "老坛酸菜"
}
] | test/food.test.coffee | leftjs/simple_uphall_api | 0 | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe('菜品相关', ->
postData = {
name: "老坛酸菜"
price: 100
discount: 0.9
is_recommended: true
is_hot: true
is_breakfast: true
is_lunch: true
is_dinner: true
address: "东区食堂"
... | 212260 | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe('菜品相关', ->
postData = {
name: "<NAME>"
price: 100
discount: 0.9
is_recommended: true
is_hot: true
is_breakfast: true
is_lunch: true
is_dinner: true
address: "东区食堂"
... | true | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe('菜品相关', ->
postData = {
name: "PI:NAME:<NAME>END_PI"
price: 100
discount: 0.9
is_recommended: true
is_hot: true
is_breakfast: true
is_lunch: true
is_dinner: true
add... |
[
{
"context": "p and change for added security)'\n default: 'd41a439c438a100756f5'\n pusher_app_secret:\n type: 'string'\n ",
"end": 660,
"score": 0.9943176507949829,
"start": 640,
"tag": "KEY",
"value": "d41a439c438a100756f5"
},
{
"context": " description: 'Pusher App... | lib/atom_pair.coffee | pusher/AtomPair | 1,675 | {CompositeDisposable} = require 'atom'
Invitation = null
HipChatInvitation = null
SlackInvitation = null
Session = null
_ = null
module.exports = AtomPair =
AtomPairView: null
modalPanel: null
subscriptions: null
config:
hipchat_token:
type: 'string'
description: 'HipChat admin token (option... | 161899 | {CompositeDisposable} = require 'atom'
Invitation = null
HipChatInvitation = null
SlackInvitation = null
Session = null
_ = null
module.exports = AtomPair =
AtomPairView: null
modalPanel: null
subscriptions: null
config:
hipchat_token:
type: 'string'
description: 'HipChat admin token (option... | true | {CompositeDisposable} = require 'atom'
Invitation = null
HipChatInvitation = null
SlackInvitation = null
Session = null
_ = null
module.exports = AtomPair =
AtomPairView: null
modalPanel: null
subscriptions: null
config:
hipchat_token:
type: 'string'
description: 'HipChat admin token (option... |
[
{
"context": " params = searchParameters\n searchValue: 'Hello'\n currentPage: 10\n itemsPerPage: 25\n\n ",
"end": 226,
"score": 0.9687698483467102,
"start": 221,
"tag": "NAME",
"value": "Hello"
},
{
"context": " params = searchParameters\n searchValue: 'He... | spec/dash-autocomplete/search_parameters.coffee | samaritanministries/dash-autocomplete.js | 0 | describe 'DashAutocomplete.SearchParameters', ->
searchParameters = (options) ->
new DashAutocomplete.SearchParameters(options)
it 'parameterizes the query', ->
params = searchParameters
searchValue: 'Hello'
currentPage: 10
itemsPerPage: 25
expect(JSON.parse(params.toJSON()).items_p... | 139713 | describe 'DashAutocomplete.SearchParameters', ->
searchParameters = (options) ->
new DashAutocomplete.SearchParameters(options)
it 'parameterizes the query', ->
params = searchParameters
searchValue: '<NAME>'
currentPage: 10
itemsPerPage: 25
expect(JSON.parse(params.toJSON()).items_... | true | describe 'DashAutocomplete.SearchParameters', ->
searchParameters = (options) ->
new DashAutocomplete.SearchParameters(options)
it 'parameterizes the query', ->
params = searchParameters
searchValue: 'PI:NAME:<NAME>END_PI'
currentPage: 10
itemsPerPage: 25
expect(JSON.parse(params.to... |
[
{
"context": "ched purchase is found', ->\n user = fabricate 'user'\n user.isAdmin = sinon.stub()\n html = rende",
"end": 2277,
"score": 0.5689786076545715,
"start": 2273,
"tag": "USERNAME",
"value": "user"
},
{
"context": "er('address_form')\n purchase:\n name: ... | src/desktop/apps/artwork_purchase/test/templates.coffee | streamich/force | 1 | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
artworkJSON = require './artwork_json.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
$ = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
... | 190047 | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
artworkJSON = require './artwork_json.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
$ = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
... | true | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
artworkJSON = require './artwork_json.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
$ = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
... |
[
{
"context": "shing custom event to ZADATA MQTT service\n\n@author Zvi Avraham <zvi-AT-zadata-DOT-com>\n@copyright 2014 ZADATA Lt",
"end": 97,
"score": 0.9998483657836914,
"start": 86,
"tag": "NAME",
"value": "Zvi Avraham"
}
] | index_test.coffee | zadata/mqtt-client-lambda | 4 | ###
Test AWS Lambda function publishing custom event to ZADATA MQTT service
@author Zvi Avraham <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
handler = require('./index').handler
context = {
done: (cb, result) ->
console.log "DONE: ", result
process.exit 0
return
}
eve... | 29274 | ###
Test AWS Lambda function publishing custom event to ZADATA MQTT service
@author <NAME> <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
handler = require('./index').handler
context = {
done: (cb, result) ->
console.log "DONE: ", result
process.exit 0
return
}
event = ... | true | ###
Test AWS Lambda function publishing custom event to ZADATA MQTT service
@author PI:NAME:<NAME>END_PI <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
handler = require('./index').handler
context = {
done: (cb, result) ->
console.log "DONE: ", result
process.exit 0
retur... |
[
{
"context": "../index'\n\n# 请替换成自己的KEY\noptions =\n AccessKeyId: 'xxxxxxxxxxxx'\n AccessKeySecret: 'xxxxxxxxxxxxxxx'\n\necs = new ",
"end": 80,
"score": 0.9981859922409058,
"start": 68,
"tag": "KEY",
"value": "xxxxxxxxxxxx"
},
{
"context": " AccessKeyId: 'xxxxxxxxxxxx'\n AccessK... | src/test/index.coffee | lln7777/aliyun-sdk-promise | 5 | AliSdk = require '../index'
# 请替换成自己的KEY
options =
AccessKeyId: 'xxxxxxxxxxxx'
AccessKeySecret: 'xxxxxxxxxxxxxxx'
ecs = new AliSdk.Client 'ECS', options
rds = new AliSdk.Client 'RDS', options
slb = new AliSdk.Client 'SLB', options
ess = new AliSdk.Client 'ESS', options
cms = new AliSdk.Client 'CMS', options
ram =... | 189834 | AliSdk = require '../index'
# 请替换成自己的KEY
options =
AccessKeyId: '<KEY>'
AccessKeySecret: '<KEY>'
ecs = new AliSdk.Client 'ECS', options
rds = new AliSdk.Client 'RDS', options
slb = new AliSdk.Client 'SLB', options
ess = new AliSdk.Client 'ESS', options
cms = new AliSdk.Client 'CMS', options
ram = new AliSdk.Clien... | true | AliSdk = require '../index'
# 请替换成自己的KEY
options =
AccessKeyId: 'PI:KEY:<KEY>END_PI'
AccessKeySecret: 'PI:KEY:<KEY>END_PI'
ecs = new AliSdk.Client 'ECS', options
rds = new AliSdk.Client 'RDS', options
slb = new AliSdk.Client 'SLB', options
ess = new AliSdk.Client 'ESS', options
cms = new AliSdk.Client 'CMS', opti... |
[
{
"context": "\n if result\n q.password=result\n pf = ()=>\n ss.",
"end": 1038,
"score": 0.9971581697463989,
"start": 1032,
"tag": "PASSWORD",
"value": "result"
},
{
"context": " win:merge {\n n... | client/code/pages/user/profile.coffee | Yukimir/jinrou | 0 | #page module?
app=require '/app'
util=require '/util'
name_length_max=20
exports.start=(user)->
seticon=(url)->
$("#myicon").attr "src",url
$("#changeprofile").get(0).elements["icon"].value=url
if user?.icon?
seticon user.icon
$("section.profile p.edit").click (je)->
t... | 174497 | #page module?
app=require '/app'
util=require '/util'
name_length_max=20
exports.start=(user)->
seticon=(url)->
$("#myicon").attr "src",url
$("#changeprofile").get(0).elements["icon"].value=url
if user?.icon?
seticon user.icon
$("section.profile p.edit").click (je)->
t... | true | #page module?
app=require '/app'
util=require '/util'
name_length_max=20
exports.start=(user)->
seticon=(url)->
$("#myicon").attr "src",url
$("#changeprofile").get(0).elements["icon"].value=url
if user?.icon?
seticon user.icon
$("section.profile p.edit").click (je)->
t... |
[
{
"context": "ptimized version of Big Money + Bazaar\n{\n name: 'OBM Bazaar'\n author: 'WanderingWinder'\n requires: ['Bazaar",
"end": 63,
"score": 0.8757532238960266,
"start": 53,
"tag": "NAME",
"value": "OBM Bazaar"
},
{
"context": " Money + Bazaar\n{\n name: 'OBM Bazaar'\n au... | strategies/OBM_Bazaar.coffee | rspeer/dominiate | 65 | # Optimized version of Big Money + Bazaar
{
name: 'OBM Bazaar'
author: 'WanderingWinder'
requires: ['Bazaar']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Duchy" if state.gainsTo... | 164401 | # Optimized version of Big Money + Bazaar
{
name: '<NAME>'
author: '<NAME>'
requires: ['Bazaar']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Duchy" if state.gainsToEndGame() <= ... | true | # Optimized version of Big Money + Bazaar
{
name: 'PI:NAME:<NAME>END_PI'
author: 'PI:NAME:<NAME>END_PI'
requires: ['Bazaar']
gainPriority: (state, my) -> [
"Province" if my.countInDeck("Gold") > 0
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Duchy" i... |
[
{
"context": " 'type':'PASSWORD'\n 'password':new_password,\n 'passwordMD5':hash,\n }\n ",
"end": 601,
"score": 0.9990442395210266,
"start": 589,
"tag": "PASSWORD",
"value": "new_password"
},
{
"context": " 'password':new_password,\n ... | scripts/ums-user-bridge.coffee | manzke/sample-hubot | 0 | require "./ums-commands"
UMS = require "./ums-bridge"
crypto = require "crypto"
module.exports = class UMSUserBridge extends UMS
users: (success, error) ->
@get 'users', success, error
user: (item_id, success, error) ->
@get 'users/'+item_id, success, error
groups: (item_id, success, erro... | 98505 | require "./ums-commands"
UMS = require "./ums-bridge"
crypto = require "crypto"
module.exports = class UMSUserBridge extends UMS
users: (success, error) ->
@get 'users', success, error
user: (item_id, success, error) ->
@get 'users/'+item_id, success, error
groups: (item_id, success, erro... | true | require "./ums-commands"
UMS = require "./ums-bridge"
crypto = require "crypto"
module.exports = class UMSUserBridge extends UMS
users: (success, error) ->
@get 'users', success, error
user: (item_id, success, error) ->
@get 'users/'+item_id, success, error
groups: (item_id, success, erro... |
[
{
"context": "al.com/nvp\"\n\t\tuserid: \"REPLACE-THIS\"\n\t\tpassword: \"REPLACE-THIS\"\n\t\tsignature: \"REPLACE-THIS\"\n\t\tapplication_id: \"A",
"end": 843,
"score": 0.9970061182975769,
"start": 831,
"tag": "PASSWORD",
"value": "REPLACE-THIS"
},
{
"context": " \"\"\n\t\tclient_id... | _src/lib/config.coffee | mpneuried/node-payments | 20 | DEFAULT =
# this is the basic route the module will add it's required routes
baseroute: "/payment/"
# the prefix to generate the redirect link e.g. `http://localhost:8888/`
redirprefix: null
# In production mode a external message ( ipn/mms/... ) will only answerd with HTTP:200 if everything succeeded.
# In an ... | 87737 | DEFAULT =
# this is the basic route the module will add it's required routes
baseroute: "/payment/"
# the prefix to generate the redirect link e.g. `http://localhost:8888/`
redirprefix: null
# In production mode a external message ( ipn/mms/... ) will only answerd with HTTP:200 if everything succeeded.
# In an ... | true | DEFAULT =
# this is the basic route the module will add it's required routes
baseroute: "/payment/"
# the prefix to generate the redirect link e.g. `http://localhost:8888/`
redirprefix: null
# In production mode a external message ( ipn/mms/... ) will only answerd with HTTP:200 if everything succeeded.
# In an ... |
[
{
"context": "sary double negation in Boolean contexts\n# @author Brandon Mills\n###\n\n'use strict'\n\n#-----------------------------",
"end": 105,
"score": 0.9994310736656189,
"start": 92,
"tag": "NAME",
"value": "Brandon Mills"
}
] | src/rules/no-extra-boolean-cast.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag unnecessary double negation in Boolean contexts
# @author Brandon Mills
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# astUtils = requir... | 214489 | ###*
# @fileoverview Rule to flag unnecessary double negation in Boolean contexts
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# astUtils = require '../e... | true | ###*
# @fileoverview Rule to flag unnecessary double negation in Boolean contexts
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# astUtils =... |
[
{
"context": "ginState = \"notloggedin\"\n AppVars.authToken = \"0xoxox\"\n saveButton.classList.remove 'present'\n di",
"end": 2698,
"score": 0.9986452460289001,
"start": 2692,
"tag": "PASSWORD",
"value": "0xoxox"
}
] | source/pageheadermodule/pageheadermodule.coffee | JhonnyJason/program-editor-frontend-sources | 0 | pageheadermodule = {name: "pageheadermodule", uimodule: true}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["pageheadermodule"]? then console.log "[pageheadermodule]: " + arg
return
############################################################
#region internalVariables
loginButton = nu... | 84234 | pageheadermodule = {name: "pageheadermodule", uimodule: true}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["pageheadermodule"]? then console.log "[pageheadermodule]: " + arg
return
############################################################
#region internalVariables
loginButton = nu... | true | pageheadermodule = {name: "pageheadermodule", uimodule: true}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["pageheadermodule"]? then console.log "[pageheadermodule]: " + arg
return
############################################################
#region internalVariables
loginButton = nu... |
[
{
"context": "ly lasts for 3 days, so idle wisely.\n *\n * @name Beginners Luck\n * @prerequisite None\n * @reward +50 LUCK\n * @",
"end": 239,
"score": 0.9995884895324707,
"start": 225,
"tag": "NAME",
"value": "Beginners Luck"
},
{
"context": " get this for 3 days\n\n item... | src/character/achievements/BeginnersLuck.coffee | sadbear-/IdleLands | 3 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is obtained when creating a character. It only lasts for 3 days, so idle wisely.
*
* @name Beginners Luck
* @prerequisite None
* @reward +50 LUCK
* @category Achievements
* @pack... | 174792 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is obtained when creating a character. It only lasts for 3 days, so idle wisely.
*
* @name <NAME>
* @prerequisite None
* @reward +50 LUCK
* @category Achievements
* @package Play... | true |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is obtained when creating a character. It only lasts for 3 days, so idle wisely.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite None
* @reward +50 LUCK
* @category Achievements
*... |
[
{
"context": "\\\\)|\\\\s|\\\\.)*$\")\n\n setting = {}\n setting.key = \"formula\"\n setting.isInitialized = false\n\n setting.initi",
"end": 370,
"score": 0.9897565245628357,
"start": 363,
"tag": "KEY",
"value": "formula"
}
] | src/components/widgets-settings/formula/formula.directive.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.formula',[])
module.controller('SettingFormulaCtrl', ($scope, $filter, $timeout, $translate) ->
w = $scope.parentWidget
w.formula = ''
# # Only authorize mathematical expressions
AUTHORIZED_REGEXP = new RegExp("^(\\{|\\d|\\}|\\/|\\+|-|\\*|\\(|\\)|\\s... | 16934 | module = angular.module('impac.components.widgets-settings.formula',[])
module.controller('SettingFormulaCtrl', ($scope, $filter, $timeout, $translate) ->
w = $scope.parentWidget
w.formula = ''
# # Only authorize mathematical expressions
AUTHORIZED_REGEXP = new RegExp("^(\\{|\\d|\\}|\\/|\\+|-|\\*|\\(|\\)|\\s... | true | module = angular.module('impac.components.widgets-settings.formula',[])
module.controller('SettingFormulaCtrl', ($scope, $filter, $timeout, $translate) ->
w = $scope.parentWidget
w.formula = ''
# # Only authorize mathematical expressions
AUTHORIZED_REGEXP = new RegExp("^(\\{|\\d|\\}|\\/|\\+|-|\\*|\\(|\\)|\\s... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under",
"end": 23,
"score": 0.9350083470344543,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | src/storage.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 ... | 46653 | # 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": "et System - Dev'\n basicAuth:\n username : \"dev\"\n password : \"123\"\n\n test:\n db: 'mongodb",
"end": 180,
"score": 0.9917914271354675,
"start": 177,
"tag": "USERNAME",
"value": "dev"
},
{
"context": "sicAuth:\n username : \"dev\"\n passwo... | src/config/config.coffee | thelucyclub/ticketman-tests | 81 |
path = require('path')
module.exports =
development:
db: 'mongodb://localhost/ticketman_dev'
app:
name: 'Ticket System - Dev'
basicAuth:
username : "dev"
password : "123"
test:
db: 'mongodb://localhost/ticketman_test'
app:
name: 'Ticket System - Test'
basicAuth:
... | 40890 |
path = require('path')
module.exports =
development:
db: 'mongodb://localhost/ticketman_dev'
app:
name: 'Ticket System - Dev'
basicAuth:
username : "dev"
password : "<PASSWORD>"
test:
db: 'mongodb://localhost/ticketman_test'
app:
name: 'Ticket System - Test'
basicA... | true |
path = require('path')
module.exports =
development:
db: 'mongodb://localhost/ticketman_dev'
app:
name: 'Ticket System - Dev'
basicAuth:
username : "dev"
password : "PI:PASSWORD:<PASSWORD>END_PI"
test:
db: 'mongodb://localhost/ticketman_test'
app:
name: 'Ticket System ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.