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": "s.googleapis.com/maps/api/js?libraries=places&key=AIzaSyAZOysega_DA0M9e-vElE11GsW8o65AF3g&v=3.exp&signed_in=true&callback=googleMapsLoaded'",
"end": 1297,
"score": 0.9995893836021423,
"start": 1258,
"tag": "KEY",
"value": "AIzaSyAZOysega_DA0M9e-vElE11GsW8o65AF3g"
}
] | app/assets/javascripts/ajeh_admin/master.js.coffee | pixelcabin/wscs_admin | 0 | window.ajaxBusy = false
$(document).on 'keyup', (e) ->
return unless e.ctrlKey and e.keyCode == 70
e.preventDefault()
$('body').toggleClass('fullpage')
$(document).on 'click', '[data-action]', (e) ->
nodeName = e.target.nodeName
return if nodeName is 'BUTTON' or nodeName is 'A'
destination = $(this).data... | 219300 | window.ajaxBusy = false
$(document).on 'keyup', (e) ->
return unless e.ctrlKey and e.keyCode == 70
e.preventDefault()
$('body').toggleClass('fullpage')
$(document).on 'click', '[data-action]', (e) ->
nodeName = e.target.nodeName
return if nodeName is 'BUTTON' or nodeName is 'A'
destination = $(this).data... | true | window.ajaxBusy = false
$(document).on 'keyup', (e) ->
return unless e.ctrlKey and e.keyCode == 70
e.preventDefault()
$('body').toggleClass('fullpage')
$(document).on 'click', '[data-action]', (e) ->
nodeName = e.target.nodeName
return if nodeName is 'BUTTON' or nodeName is 'A'
destination = $(this).data... |
[
{
"context": "_isCombModule\n driven_list.push({key:lhs.getElId(),checkPoint:false,inst:lhs,driven:rhsInfo.dr",
"end": 15559,
"score": 0.5992090702056885,
"start": 15556,
"tag": "KEY",
"value": "get"
},
{
"context": "mbModule\n driven_list.push({key:lhs.getElId(),ch... | src/chdl_base.coffee | wujun51227/coffee-hdl | 14 | _ = require 'lodash'
log = require 'fancy-log'
colors = require 'colors'
fs = require 'fs'
Expr = require('chdl_expr')
Reg = require('chdl_reg')
Vec = require('chdl_vec')
Wire = require('chdl_wire')
Port = require('chdl_port')
Channel = require('chdl_channel')
Module = require('chdl_modul... | 132574 | _ = require 'lodash'
log = require 'fancy-log'
colors = require 'colors'
fs = require 'fs'
Expr = require('chdl_expr')
Reg = require('chdl_reg')
Vec = require('chdl_vec')
Wire = require('chdl_wire')
Port = require('chdl_port')
Channel = require('chdl_channel')
Module = require('chdl_modul... | true | _ = require 'lodash'
log = require 'fancy-log'
colors = require 'colors'
fs = require 'fs'
Expr = require('chdl_expr')
Reg = require('chdl_reg')
Vec = require('chdl_vec')
Wire = require('chdl_wire')
Port = require('chdl_port')
Channel = require('chdl_channel')
Module = require('chdl_modul... |
[
{
"context": "e folder of the document\n// Copyright (c) 2013\n// Fabian \"fabiantheblind\" Morón Zirfas\n// Permission is he",
"end": 71,
"score": 0.999826192855835,
"start": 65,
"tag": "NAME",
"value": "Fabian"
},
{
"context": "of the document\n// Copyright (c) 2013\n// Fabian \"... | _dev/coffee/Open-Active-Document-Folder.coffee | fabianmoronzirfas/mpo-id-tools | 2 | ###
//opens the folder of the document
// Copyright (c) 2013
// Fabian "fabiantheblind" Morón Zirfas
// 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 with... | 192509 | ###
//opens the folder of the document
// Copyright (c) 2013
// <NAME> "fabiantheblind" <NAME>
// Permission is hereby granted, free of charge, to any
// person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software
// without restriction, including without li... | true | ###
//opens the folder of the document
// Copyright (c) 2013
// PI:NAME:<NAME>END_PI "fabiantheblind" PI:NAME:<NAME>END_PI
// Permission is hereby granted, free of charge, to any
// person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software
// without restr... |
[
{
"context": "= password.agent(pwa.cache)\n\n pwa.setPassword('hello')\n assert.equal pwa.cache.get(), 'hello'\n a",
"end": 195,
"score": 0.9960940480232239,
"start": 190,
"tag": "PASSWORD",
"value": "hello"
},
{
"context": "ert.equal err, null\n assert.equal(password, ... | test/password.coffee | dvidelabs/poly.shell | 1 | assert = require('assert')
password = require('..').password
module.exports = {
'password agent': ->
pwa = password.agent()
pwa2 = password.agent(pwa.cache)
pwa.setPassword('hello')
assert.equal pwa.cache.get(), 'hello'
assert.equal pwa2.cache.get(), 'hello'
pwa.getPassword (err, password) ... | 56196 | assert = require('assert')
password = require('..').password
module.exports = {
'password agent': ->
pwa = password.agent()
pwa2 = password.agent(pwa.cache)
pwa.setPassword('<PASSWORD>')
assert.equal pwa.cache.get(), 'hello'
assert.equal pwa2.cache.get(), 'hello'
pwa.getPassword (err, passw... | true | assert = require('assert')
password = require('..').password
module.exports = {
'password agent': ->
pwa = password.agent()
pwa2 = password.agent(pwa.cache)
pwa.setPassword('PI:PASSWORD:<PASSWORD>END_PI')
assert.equal pwa.cache.get(), 'hello'
assert.equal pwa2.cache.get(), 'hello'
pwa.getPa... |
[
{
"context": "cle}\n \\\\\\\\title{${1:title}}\n \\\\\\\\author{Yudai NAKATA}\n \\\\\\\\date{\\\\\\\\today}\n %\n \\\\\\\\begi",
"end": 461,
"score": 0.9927010536193848,
"start": 449,
"tag": "NAME",
"value": "Yudai NAKATA"
}
] | .atom/snippets.cson | yudai-nkt/dotfiles | 0 | # LaTeX
".text.tex.latex":
"jpn doc w/ uplatex":
"prefix": "jsarticle"
"body": """
\\\\documentclass[dvipdfmx,uplatex]{jsarticle}
\\\\title{${1:タイトル}}
\\\\author{中田雄大}
\\\\date{\\\\today}
%
\\\\begin{document}
$2
\\\\end{document}
"""
"eng doc w/ pdflatex"... | 76277 | # LaTeX
".text.tex.latex":
"jpn doc w/ uplatex":
"prefix": "jsarticle"
"body": """
\\\\documentclass[dvipdfmx,uplatex]{jsarticle}
\\\\title{${1:タイトル}}
\\\\author{中田雄大}
\\\\date{\\\\today}
%
\\\\begin{document}
$2
\\\\end{document}
"""
"eng doc w/ pdflatex"... | true | # LaTeX
".text.tex.latex":
"jpn doc w/ uplatex":
"prefix": "jsarticle"
"body": """
\\\\documentclass[dvipdfmx,uplatex]{jsarticle}
\\\\title{${1:タイトル}}
\\\\author{中田雄大}
\\\\date{\\\\today}
%
\\\\begin{document}
$2
\\\\end{document}
"""
"eng doc w/ pdflatex"... |
[
{
"context": "# Copyright (c) 2014 Anthony Bau (dab1998@gmail.com)\n# MIT License\n#\n# Minimalisti",
"end": 32,
"score": 0.9998823404312134,
"start": 21,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "# Copyright (c) 2014 Anthony Bau (dab1998@gmail.com)\n# MIT License\n#\n# ... | src/draw.coffee | sanyaade-teachings/spresensedroplet | 3 | # Copyright (c) 2014 Anthony Bau (dab1998@gmail.com)
# MIT License
#
# Minimalistic HTML5 canvas wrapper. Mainly used as conveneince tools in Droplet.
## Private (convenience) functions
BEVEL_SIZE = 1.5
EPSILON = 0.00001
helper = require './helper.coffee'
SVG_STANDARD = helper.SVG_STANDARD
# ## _area ##
# Signed are... | 119687 | # Copyright (c) 2014 <NAME> (<EMAIL>)
# MIT License
#
# Minimalistic HTML5 canvas wrapper. Mainly used as conveneince tools in Droplet.
## Private (convenience) functions
BEVEL_SIZE = 1.5
EPSILON = 0.00001
helper = require './helper.coffee'
SVG_STANDARD = helper.SVG_STANDARD
# ## _area ##
# Signed area of the triang... | true | # Copyright (c) 2014 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT License
#
# Minimalistic HTML5 canvas wrapper. Mainly used as conveneince tools in Droplet.
## Private (convenience) functions
BEVEL_SIZE = 1.5
EPSILON = 0.00001
helper = require './helper.coffee'
SVG_STANDARD = helper.SVG_STANDARD
# ## _area #... |
[
{
"context": "API and on-render callback for MD Image.\n @author Derek Gransaull <derek@dgtlife.com>\n @copyright DGTLife, LLC 201",
"end": 78,
"score": 0.9998705983161926,
"start": 63,
"tag": "NAME",
"value": "Derek Gransaull"
},
{
"context": "callback for MD Image.\n @author Der... | client/imports/ui/md-image/md-image.coffee | dgtlife/material-for-meteor | 12 | ###
@file API and on-render callback for MD Image.
@author Derek Gransaull <derek@dgtlife.com>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
{ _ } = require 'meteor/underscore'
eqS = require('../../api/md-utils.js').eqS
reserveImageSpace = require('../../api/md-image-api.js').reserve... | 198739 | ###
@file API and on-render callback for MD Image.
@author <NAME> <<EMAIL>>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
{ _ } = require 'meteor/underscore'
eqS = require('../../api/md-utils.js').eqS
reserveImageSpace = require('../../api/md-image-api.js').reserveImageSpace
setPlace... | true | ###
@file API and on-render callback for MD Image.
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
{ _ } = require 'meteor/underscore'
eqS = require('../../api/md-utils.js').eqS
reserveImageSpace = require('../../api/md-image-api.js... |
[
{
"context": "-mail addresses can be plain e-mail addresses\n\n name@mymailserver.com\n\nor with formatted name (includes unicode support",
"end": 5246,
"score": 0.9999156594276428,
"start": 5225,
"tag": "EMAIL",
"value": "name@mymailserver.com"
},
{
"context": "h formatted name (... | src/configSchema.coffee | alinex/node-mail | 0 | ###
Configuration
===================================================
The configuration consists of two parts:
- Email Template
- Collection of Templates
###
###
Email Template
------------------------------------------------------
{@schema #email}
###
exports.email = email =
title: "Email Action"
description: "... | 157681 | ###
Configuration
===================================================
The configuration consists of two parts:
- Email Template
- Collection of Templates
###
###
Email Template
------------------------------------------------------
{@schema #email}
###
exports.email = email =
title: "Email Action"
description: "... | true | ###
Configuration
===================================================
The configuration consists of two parts:
- Email Template
- Collection of Templates
###
###
Email Template
------------------------------------------------------
{@schema #email}
###
exports.email = email =
title: "Email Action"
description: "... |
[
{
"context": "#\n# server.coffee\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\nconnect = require 'c",
"end": 55,
"score": 0.9996589422225952,
"start": 45,
"tag": "NAME",
"value": "Nick Small"
},
{
"context": "t: ['h', \"Host to run HTTP server on\", \"stri... | src/tools/server.coffee | Shipow/batman | 1 | #
# server.coffee
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
utils = require './utils'
Batman = require '../lib/dist/batman.node.js'
# Creates a connect server. This file is required by the ... | 33127 | #
# server.coffee
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
utils = require './utils'
Batman = require '../lib/dist/batman.node.js'
# Creates a connect server. This file is required by the main... | true | #
# server.coffee
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
utils = require './utils'
Batman = require '../lib/dist/batman.node.js'
# Creates a connect server. This file is requir... |
[
{
"context": "remote'\n ssh:\n host: 'target', username: 'nikita',\n # private_key_path: '~/.ssh/id_rsa'\n ",
"end": 284,
"score": 0.9996335506439209,
"start": 278,
"tag": "USERNAME",
"value": "nikita"
},
{
"context": "rivate_key_path: '~/.ssh/id_rsa'\n password... | packages/system/env/info_centos6/test.coffee | wdavidw/node-mecano | 0 |
module.exports =
tags:
system_info_disks: false
system_info_os: true
expect:
os:
arch: 'x86_64'
distribution: 'centos'
linux_version: /5\.10\.\d+/
version: '6.10'
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
# private_key_path: '~/.ssh... | 190062 |
module.exports =
tags:
system_info_disks: false
system_info_os: true
expect:
os:
arch: 'x86_64'
distribution: 'centos'
linux_version: /5\.10\.\d+/
version: '6.10'
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
# private_key_path: '~/.ssh... | true |
module.exports =
tags:
system_info_disks: false
system_info_os: true
expect:
os:
arch: 'x86_64'
distribution: 'centos'
linux_version: /5\.10\.\d+/
version: '6.10'
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
# private_key_path: '~/.ssh... |
[
{
"context": "\"></label>\n <label>Password <input type=\"password\" name=\"password\"></label>\n <button>Sign ",
"end": 2115,
"score": 0.9888935685157776,
"start": 2107,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " <label>Password <input type=\"pass... | spec/script-spec.coffee | djanowski/zombie | 0 | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
brains.get "/script/context", (req, res)-> res.send """
<script>var foo = 1;</script>
<script>foo = foo + 1;</script>
<script>document.title = foo;</script>
"""
brains.get "/script/order", (req, res)-> res.sen... | 216194 | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
brains.get "/script/context", (req, res)-> res.send """
<script>var foo = 1;</script>
<script>foo = foo + 1;</script>
<script>document.title = foo;</script>
"""
brains.get "/script/order", (req, res)-> res.sen... | true | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
brains.get "/script/context", (req, res)-> res.send """
<script>var foo = 1;</script>
<script>foo = foo + 1;</script>
<script>document.title = foo;</script>
"""
brains.get "/script/order", (req, res)-> res.sen... |
[
{
"context": "-outline\"\n ,\n \"Atom.Heading\": value: \"Bookmard added!\"\n ]\n ,\n \"Molecule.Navigation\": styl",
"end": 263,
"score": 0.9321402907371521,
"start": 249,
"tag": "NAME",
"value": "Bookmard added"
}
] | source/organisms/dialog.form.coffee | tapquo/atoms-app-kitchensink | 0 | "use strict"
class Form extends Atoms.Organism.Dialog
constructor: (attributes = {}) ->
attributes.children = [
"Organism.Header": children: [
"Atom.Icon": icon: "ios7-checkmark-outline"
,
"Atom.Heading": value: "Bookmard added!"
]
,
"Molecule.Navigation": style: "rig... | 152356 | "use strict"
class Form extends Atoms.Organism.Dialog
constructor: (attributes = {}) ->
attributes.children = [
"Organism.Header": children: [
"Atom.Icon": icon: "ios7-checkmark-outline"
,
"Atom.Heading": value: "<NAME>!"
]
,
"Molecule.Navigation": style: "right", chi... | true | "use strict"
class Form extends Atoms.Organism.Dialog
constructor: (attributes = {}) ->
attributes.children = [
"Organism.Header": children: [
"Atom.Icon": icon: "ios7-checkmark-outline"
,
"Atom.Heading": value: "PI:NAME:<NAME>END_PI!"
]
,
"Molecule.Navigation": style... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998429417610168,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/core/app.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 68720 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993367791175842,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/stream.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... | 58137 | # 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": ".user\n check password, String\n\n username = 'sprohaska'\n email = 'sprohaska@gmail.com'\n ldapUserna",
"end": 991,
"score": 0.9996997714042664,
"start": 982,
"tag": "USERNAME",
"value": "sprohaska"
},
{
"context": ", String\n\n username = 'sprohaska'\n ... | apps/nog-app/meteor/testinguser.coffee | nogproject/nog | 0 | if not Meteor.settings?.public?.optTestingUsers
console.log '[app] Testing users are disabled.'
return
reassignRepos = (username) ->
# Update repos in case the testing user got lost.
if (user = Meteor.users.findOne {username})?
NogContent.repos.find({
owner: username, ownerId: {$ne: user._id}
})... | 37239 | if not Meteor.settings?.public?.optTestingUsers
console.log '[app] Testing users are disabled.'
return
reassignRepos = (username) ->
# Update repos in case the testing user got lost.
if (user = Meteor.users.findOne {username})?
NogContent.repos.find({
owner: username, ownerId: {$ne: user._id}
})... | true | if not Meteor.settings?.public?.optTestingUsers
console.log '[app] Testing users are disabled.'
return
reassignRepos = (username) ->
# Update repos in case the testing user got lost.
if (user = Meteor.users.findOne {username})?
NogContent.repos.find({
owner: username, ownerId: {$ne: user._id}
})... |
[
{
"context": "on', ->\n it 'should authenticate with password \\'hunter2\\''\n it 'should fail authentication with password",
"end": 237,
"score": 0.9572219252586365,
"start": 230,
"tag": "PASSWORD",
"value": "hunter2"
},
{
"context": "\n it 'should fail authentication with passwo... | test/users.coffee | kvchen/mizzen | 1 | expect = require('chai').expect
mongoose = require 'mongoose'
nconf = require 'nconf'
app = require '../app'
User = require '../app/models/user'
describe 'User authentication', ->
it 'should authenticate with password \'hunter2\''
it 'should fail authentication with password \'foobar\''
| 188192 | expect = require('chai').expect
mongoose = require 'mongoose'
nconf = require 'nconf'
app = require '../app'
User = require '../app/models/user'
describe 'User authentication', ->
it 'should authenticate with password \'<PASSWORD>\''
it 'should fail authentication with password \'<PASSWORD>\''
| true | expect = require('chai').expect
mongoose = require 'mongoose'
nconf = require 'nconf'
app = require '../app'
User = require '../app/models/user'
describe 'User authentication', ->
it 'should authenticate with password \'PI:PASSWORD:<PASSWORD>END_PI\''
it 'should fail authentication with password \'PI:PASSWO... |
[
{
"context": "der.\n#\n# The [source for Docco](http://github.com/jashkenas/docco) is available on GitHub,\n# and released und",
"end": 678,
"score": 0.7852544188499451,
"start": 669,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "), a port for the **POSIX shell**.\n# Both ... | dev/node_modules/docco/src/docco.coffee | stevenyvr987/evergreen-mobile-opac | 6 | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Pygments](http://pygm... | 55361 | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Pygments](http://pygm... | true | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Pygments](http://pygm... |
[
{
"context": "host\"\r\nusername = process.env.AMQP_USERNAME ? \"guest\"\r\npassword = process.env.AMQP_PASSWORD ? \"gues",
"end": 328,
"score": 0.9612051844596863,
"start": 323,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "uest\"\r\npassword = process.env.AMQP_PASSW... | src/HoSApi.coffee | HoS0/HoSApi | 0 | contract = require('./serviceContract')
url = require('url')
HoSCom = require('hos-com')
swaggerTools = require('swagger-tools')
Promise = require 'bluebird'
HoSController= require 'hos-controller'
amqpurl = process.env.AMQP_URL ? "localhost"
username = process.env.AMQP_USERNAME ... | 160109 | contract = require('./serviceContract')
url = require('url')
HoSCom = require('hos-com')
swaggerTools = require('swagger-tools')
Promise = require 'bluebird'
HoSController= require 'hos-controller'
amqpurl = process.env.AMQP_URL ? "localhost"
username = process.env.AMQP_USERNAME ... | true | contract = require('./serviceContract')
url = require('url')
HoSCom = require('hos-com')
swaggerTools = require('swagger-tools')
Promise = require 'bluebird'
HoSController= require 'hos-controller'
amqpurl = process.env.AMQP_URL ? "localhost"
username = process.env.AMQP_USERNAME ... |
[
{
"context": "->\n MailBox.new('Alice_mbx').then (ret)->\n Alice = ret\n MailBox.new('Bob_mbx').then (ret)->\n ",
"end": 698,
"score": 0.9033698439598083,
"start": 693,
"tag": "NAME",
"value": "Alice"
},
{
"context": "\n MailBox.new('Bob_mbx').then (ret)->\n ... | tests/specs/04.mailbox.coffee | vault12/glow | 14 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
Utils = require 'utils'
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Config = require 'con... | 215566 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
Utils = require 'utils'
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Config = require 'con... | true | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
Utils = require 'utils'
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Config = require 'con... |
[
{
"context": "ve {}\n\n @view.$('input[name=\"name\"]').val 'Damon'\n @view.$('input[name=\"email\"]').val 'damo",
"end": 9057,
"score": 0.997597336769104,
"start": 9052,
"tag": "NAME",
"value": "Damon"
},
{
"context": "amon'\n @view.$('input[name=\"email\"]').va... | src/desktop/apps/artwork/components/commercial/test/view.coffee | kierangillen/force | 0 | { defer, extend } = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation']
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../../../models/current_... | 65903 | { defer, extend } = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation']
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../../../models/current_... | true | { defer, extend } = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
ArtworkCommercialView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template', 'confirmation']
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../../../models/current_... |
[
{
"context": " {\n \"type\": \"switch\",\n \"name\": \"Switch\",\n \"state\": {\n \"online\": true",
"end": 324,
"score": 0.5302637815475464,
"start": 318,
"tag": "NAME",
"value": "Switch"
}
] | adapters/switch.coffee | bertreb/pimatic-assistant | 1 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
class SwitchAdapter extends events.EventEmitter
constructor: (adapterConfig) ->
###
syncDevices: {
"42474293.441c2c": {
"type": "switch",
"name": "Sw... | 140437 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
class SwitchAdapter extends events.EventEmitter
constructor: (adapterConfig) ->
###
syncDevices: {
"42474293.441c2c": {
"type": "switch",
"name": "<N... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
class SwitchAdapter extends events.EventEmitter
constructor: (adapterConfig) ->
###
syncDevices: {
"42474293.441c2c": {
"type": "switch",
"name": "PI... |
[
{
"context": "###! jquery-fillimg 2.2.2 http://github.com/Se7enSky/jquery-fillimg###\n###\n@name jquery-fillimg\n@descr",
"end": 52,
"score": 0.9994165897369385,
"start": 44,
"tag": "USERNAME",
"value": "Se7enSky"
},
{
"context": "escription div > img filler\n@version 2.2.2\n@author ... | jquery-fillimg.coffee | SE7ENSKY/jquery-fillimg | 0 | ###! jquery-fillimg 2.2.2 http://github.com/Se7enSky/jquery-fillimg###
###
@name jquery-fillimg
@description div > img filler
@version 2.2.2
@author Se7enSky studio <info@se7ensky.com>
###
plugin = ($) ->
createPositionImageFn = ($img, $container) ->
->
if not $img.data 'ratio'
ratio = $img.width() / $img.he... | 30452 | ###! jquery-fillimg 2.2.2 http://github.com/Se7enSky/jquery-fillimg###
###
@name jquery-fillimg
@description div > img filler
@version 2.2.2
@author Se7enSky studio <<EMAIL>>
###
plugin = ($) ->
createPositionImageFn = ($img, $container) ->
->
if not $img.data 'ratio'
ratio = $img.width() / $img.height()
... | true | ###! jquery-fillimg 2.2.2 http://github.com/Se7enSky/jquery-fillimg###
###
@name jquery-fillimg
@description div > img filler
@version 2.2.2
@author Se7enSky studio <PI:EMAIL:<EMAIL>END_PI>
###
plugin = ($) ->
createPositionImageFn = ($img, $container) ->
->
if not $img.data 'ratio'
ratio = $img.width() / $i... |
[
{
"context": "e = sinon.spy()\n Device::generateToken = => 'charizard'\n Device::storeToken = sinon.stub().yields n",
"end": 305,
"score": 0.9632601737976074,
"start": 296,
"tag": "PASSWORD",
"value": "charizard"
},
{
"context": "lt', ->\n expect(@result.token).to.equa... | test/lib/generateAndStoreToken-spec.coffee | CESARBR/knot-cloud-source | 4 | generateAndStoreToken = require '../../lib/generateAndStoreToken'
describe 'generateAndStoreToken', ->
beforeEach ->
@sut = generateAndStoreToken
describe 'when called with a uuid and a callback', ->
beforeEach (done) ->
Device = sinon.spy()
Device::generateToken = => 'charizard'
Device:... | 196852 | generateAndStoreToken = require '../../lib/generateAndStoreToken'
describe 'generateAndStoreToken', ->
beforeEach ->
@sut = generateAndStoreToken
describe 'when called with a uuid and a callback', ->
beforeEach (done) ->
Device = sinon.spy()
Device::generateToken = => '<PASSWORD>'
Device... | true | generateAndStoreToken = require '../../lib/generateAndStoreToken'
describe 'generateAndStoreToken', ->
beforeEach ->
@sut = generateAndStoreToken
describe 'when called with a uuid and a callback', ->
beforeEach (done) ->
Device = sinon.spy()
Device::generateToken = => 'PI:PASSWORD:<PASSWORD>EN... |
[
{
"context": "eql 0\n\n it '.set', ->\n list.set [ {name: 'blue'}, {name: 'yellow'} ]\n expect(list.length).e",
"end": 339,
"score": 0.952790379524231,
"start": 335,
"tag": "NAME",
"value": "blue"
},
{
"context": "set', ->\n list.set [ {name: 'blue'}, {name: 'yellow... | test/collection_test.coffee | rstacruz/ento | 11 | require './setup'
Items = null
list = null
describe 'collections', ->
beforeEach 'create class', ->
Items = Ento()
.use(Ento.collection)
describe 'empty list', ->
beforeEach 'instanciate', ->
list = new Items()
it 'length', ->
expect(list.length).eql 0
it '.set', ->
list... | 224646 | require './setup'
Items = null
list = null
describe 'collections', ->
beforeEach 'create class', ->
Items = Ento()
.use(Ento.collection)
describe 'empty list', ->
beforeEach 'instanciate', ->
list = new Items()
it 'length', ->
expect(list.length).eql 0
it '.set', ->
list... | true | require './setup'
Items = null
list = null
describe 'collections', ->
beforeEach 'create class', ->
Items = Ento()
.use(Ento.collection)
describe 'empty list', ->
beforeEach 'instanciate', ->
list = new Items()
it 'length', ->
expect(list.length).eql 0
it '.set', ->
list... |
[
{
"context": "uctively modifies original Vector\n\n hero = {id: 'He-Man', pos: {x: 5, y: 10, z: 20}, original: true, log:",
"end": 693,
"score": 0.9116077423095703,
"start": 687,
"tag": "NAME",
"value": "He-Man"
},
{
"context": "original: true, log: console.log}\n enemy = {id: 'Ske... | test/protect_api_spec.coffee | deepak1556/aether | 1 | Aether = require '../aether'
describe "API Protection Test Suite", ->
class Vector
@className: "Vector"
@add: (a, b) -> a.copy().add b
@subtract: (a, b) -> a.copy().subtract b
constructor: (@x=0, @y=0, @z=0) ->
copy: -> new Vector(@x, @y, @z)
equals: (other) -> other and @x is other.x and @y ... | 215280 | Aether = require '../aether'
describe "API Protection Test Suite", ->
class Vector
@className: "Vector"
@add: (a, b) -> a.copy().add b
@subtract: (a, b) -> a.copy().subtract b
constructor: (@x=0, @y=0, @z=0) ->
copy: -> new Vector(@x, @y, @z)
equals: (other) -> other and @x is other.x and @y ... | true | Aether = require '../aether'
describe "API Protection Test Suite", ->
class Vector
@className: "Vector"
@add: (a, b) -> a.copy().add b
@subtract: (a, b) -> a.copy().subtract b
constructor: (@x=0, @y=0, @z=0) ->
copy: -> new Vector(@x, @y, @z)
equals: (other) -> other and @x is other.x and @y ... |
[
{
"context": "lue)\n\n typeSelector = \"[#{type}]\"\n key = color.rgbaString()\n\n @colors[key] ||=\n color: color\n ",
"end": 4546,
"score": 0.9917704463005066,
"start": 4528,
"tag": "KEY",
"value": "color.rgbaString()"
}
] | lib/svg_image.coffee | taunoha/postcss-simple-svg | 0 | Color = require('color')
xmldom = require('xmldom')
doT = require 'dot'
fs = require('fs')
_ = require('lodash')
SVGO = require('svgo')
class SVGImage
constructor: (filePath, options = {}) ->
@path = filePath
@options = options
@xml = options.content
@sprite = options.sprite || {}
@defaults = if... | 97541 | Color = require('color')
xmldom = require('xmldom')
doT = require 'dot'
fs = require('fs')
_ = require('lodash')
SVGO = require('svgo')
class SVGImage
constructor: (filePath, options = {}) ->
@path = filePath
@options = options
@xml = options.content
@sprite = options.sprite || {}
@defaults = if... | true | Color = require('color')
xmldom = require('xmldom')
doT = require 'dot'
fs = require('fs')
_ = require('lodash')
SVGO = require('svgo')
class SVGImage
constructor: (filePath, options = {}) ->
@path = filePath
@options = options
@xml = options.content
@sprite = options.sprite || {}
@defaults = if... |
[
{
"context": "_BUCKET = 'octoblu-channels'\nCHANNEL_S3_KEY = 'channels.json'\n\nclass ChannelDownloader\n constructor: ->\n @",
"end": 143,
"score": 0.9649226665496826,
"start": 130,
"tag": "KEY",
"value": "channels.json"
}
] | src/channel-downloader.coffee | octoblu/nanocyte-configuration-generator | 0 | _ = require 'lodash'
s3 = require 's3'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = 'channels.json'
class ChannelDownloader
constructor: ->
@cached = false
@etag = null
@data = null
@_checkEtag = _.throttle @_checkEtagImmediately, 60*1000*5, leading: true,... | 91960 | _ = require 'lodash'
s3 = require 's3'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = '<KEY>'
class ChannelDownloader
constructor: ->
@cached = false
@etag = null
@data = null
@_checkEtag = _.throttle @_checkEtagImmediately, 60*1000*5, leading: true, trailin... | true | _ = require 'lodash'
s3 = require 's3'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = 'PI:KEY:<KEY>END_PI'
class ChannelDownloader
constructor: ->
@cached = false
@etag = null
@data = null
@_checkEtag = _.throttle @_checkEtagImmediately, 60*1000*5, leading: ... |
[
{
"context": "# @author Gianluigi Mango\n# Query Image Collection\nImage = require './../..",
"end": 25,
"score": 0.9998626112937927,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/api/model/imageModel.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Query Image Collection
Image = require './../../models/imageModel'
module.exports = class ImageModel
# Find one image in collection
# @params id[String], cb[Function]
# @return callback
getProfileImage: (id, cb) ->
Image.find profileId: id, (err, body) ->
cb err, body | 95469 | # @author <NAME>
# Query Image Collection
Image = require './../../models/imageModel'
module.exports = class ImageModel
# Find one image in collection
# @params id[String], cb[Function]
# @return callback
getProfileImage: (id, cb) ->
Image.find profileId: id, (err, body) ->
cb err, body | true | # @author PI:NAME:<NAME>END_PI
# Query Image Collection
Image = require './../../models/imageModel'
module.exports = class ImageModel
# Find one image in collection
# @params id[String], cb[Function]
# @return callback
getProfileImage: (id, cb) ->
Image.find profileId: id, (err, body) ->
cb err, body |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999130368232727,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": "tDefault(filters, key)\n\n ret\n\n\n @keys: [\n 'genera... | resources/assets/coffee/_classes/beatmapset-filter.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
parseInt10 = (string) ->
int = parseInt string, 10
if _.isFinite(int) then int else null
class @BeatmapsetFilter
@castFromString:
mo... | 34824 | # 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.
parseInt10 = (string) ->
int = parseInt string, 10
if _.isFinite(int) then int else null
class @BeatmapsetFilter
@castFromString:
mode: par... | 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.
parseInt10 = (string) ->
int = parseInt string, 10
if _.isFinite(int) then int else null
class @BeatmapsetFilter
@castFromString... |
[
{
"context": "': [\n {type: 'separator'}\n\n {\n label: 'Juno',\n submenu: [\n {label: 'Run Block', c",
"end": 177,
"score": 0.8452895879745483,
"start": 173,
"tag": "NAME",
"value": "Juno"
}
] | menus/language-weave.cson | aminya/language-weave | 14 | 'context-menu':
'atom-text-editor[data-grammar="source weave md"],
atom-text-editor[data-grammar="source weave latex"]': [
{type: 'separator'}
{
label: 'Juno',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:sele... | 103980 | 'context-menu':
'atom-text-editor[data-grammar="source weave md"],
atom-text-editor[data-grammar="source weave latex"]': [
{type: 'separator'}
{
label: '<NAME>',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:se... | true | 'context-menu':
'atom-text-editor[data-grammar="source weave md"],
atom-text-editor[data-grammar="source weave latex"]': [
{type: 'separator'}
{
label: 'PI:NAME:<NAME>END_PI',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'j... |
[
{
"context": "uth:\n uuid: 'masseuse'\n token: 'assassin'\n",
"end": 926,
"score": 0.9984177947044373,
"start": 918,
"tag": "PASSWORD",
"value": "assassin"
}
] | test/authenticate-spec.coffee | octoblu/meshblu-server-websocket | 0 | _ = require 'lodash'
UUID = require 'uuid'
Connect = require './connect'
Server = require '../src/server'
MeshbluWebsocket = require 'meshblu-websocket'
{JobManagerResponder} = require 'meshblu-core-job-manager'
describe 'sendFrame: authenticate', ->
beforeEach 'connect'... | 222189 | _ = require 'lodash'
UUID = require 'uuid'
Connect = require './connect'
Server = require '../src/server'
MeshbluWebsocket = require 'meshblu-websocket'
{JobManagerResponder} = require 'meshblu-core-job-manager'
describe 'sendFrame: authenticate', ->
beforeEach 'connect'... | true | _ = require 'lodash'
UUID = require 'uuid'
Connect = require './connect'
Server = require '../src/server'
MeshbluWebsocket = require 'meshblu-websocket'
{JobManagerResponder} = require 'meshblu-core-job-manager'
describe 'sendFrame: authenticate', ->
beforeEach 'connect'... |
[
{
"context": " DocPad application.\n# Extends https://github.com/bevry/event-emitter-grouped\n#\n# You can use it like so:",
"end": 1778,
"score": 0.9854370951652527,
"start": 1773,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": ", replacement instructions at: https://github.com... | source/lib/docpad.coffee | samkenxstream/docpad | 969 | ##*
# The central module for DocPad
# @module DocPad
##
# =====================================
# Requires
# Standard
util = require('util')
pathUtil = require('path')
# External
{ Logger, Human, Filter } = require('caterpillar')
fsUtil = require('fs')
Errlop = require('errlop').default
queryEngine = require('query-... | 133839 | ##*
# The central module for DocPad
# @module DocPad
##
# =====================================
# Requires
# Standard
util = require('util')
pathUtil = require('path')
# External
{ Logger, Human, Filter } = require('caterpillar')
fsUtil = require('fs')
Errlop = require('errlop').default
queryEngine = require('query-... | true | ##*
# The central module for DocPad
# @module DocPad
##
# =====================================
# Requires
# Standard
util = require('util')
pathUtil = require('path')
# External
{ Logger, Human, Filter } = require('caterpillar')
fsUtil = require('fs')
Errlop = require('errlop').default
queryEngine = require('query-... |
[
{
"context": "###\n Copyright (c) 2016, Mollie B.V.\n All rights reserved.\n\n Redistribution and use",
"end": 36,
"score": 0.9481950998306274,
"start": 26,
"tag": "NAME",
"value": "Mollie B.V"
},
{
"context": "source.org/licenses/bsd-license.php\n @author Mollie B.V. <info@... | src/lib/mollie/api/client.coffee | veselinoskih/mollie-test | 0 | ###
Copyright (c) 2016, Mollie B.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the... | 81997 | ###
Copyright (c) 2016, <NAME>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the fol... | true | ###
Copyright (c) 2016, PI:NAME:<NAME>END_PI.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditio... |
[
{
"context": "rt '/rpc'\n\n# Set the application title\napp.title 'Ask Craig'\n\n# Hide the footer\nhide app.footer\n\n# This",
"end": 845,
"score": 0.649749755859375,
"start": 842,
"tag": "NAME",
"value": "Ask"
},
{
"context": "rpc'\n\n# Set the application title\napp.title 'Ask Cra... | 07-final-app/app-ask-craig-master/web/app.coffee | h2oai/qcon2015 | 20 | #
# This is the source code for the user interface.
#
# The HTML, stylesheet and necessary javascript files are automatically added
# by the fluid compiler.
#
# You can install the fluid compiler using:
# npm install fluid-lang -g
#
# The `fluid` compiler command looks something like this:
# fluid --compile ap... | 48594 | #
# This is the source code for the user interface.
#
# The HTML, stylesheet and necessary javascript files are automatically added
# by the fluid compiler.
#
# You can install the fluid compiler using:
# npm install fluid-lang -g
#
# The `fluid` compiler command looks something like this:
# fluid --compile ap... | true | #
# This is the source code for the user interface.
#
# The HTML, stylesheet and necessary javascript files are automatically added
# by the fluid compiler.
#
# You can install the fluid compiler using:
# npm install fluid-lang -g
#
# The `fluid` compiler command looks something like this:
# fluid --compile ap... |
[
{
"context": " jid: config.thing\n password: config.password\n host: config.host\n port: c",
"end": 875,
"score": 0.9988792538642883,
"start": 860,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": " jid: config.owner\n ... | test/004-search-ranges.coffee | TNO-IoT/testing-xep-0347 | 0 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... | 97000 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... | true | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... |
[
{
"context": "t.com/projects/javascript-sprintf\n\n# Copyright (c) Alexandru Marasteanu <alexaholic [at) gmail (dot] com>\n# All rights re",
"end": 513,
"score": 0.999866783618927,
"start": 493,
"tag": "NAME",
"value": "Alexandru Marasteanu"
},
{
"context": "ICULAR PURPOSE ARE\n# DIS... | src/utils.coffee | pyrocat101/LogoScript | 4 | mixinKeywords = ['extended', 'included']
class @Mixins
@extends: (obj) ->
for key, value of obj when key not in mixinKeywords
@[key] = value
obj.extended?.apply this
this
@include: (obj) ->
for key, value of obj when key not in mixinKeywords
# Assign properties to the prototype
@... | 223467 | mixinKeywords = ['extended', 'included']
class @Mixins
@extends: (obj) ->
for key, value of obj when key not in mixinKeywords
@[key] = value
obj.extended?.apply this
this
@include: (obj) ->
for key, value of obj when key not in mixinKeywords
# Assign properties to the prototype
@... | true | mixinKeywords = ['extended', 'included']
class @Mixins
@extends: (obj) ->
for key, value of obj when key not in mixinKeywords
@[key] = value
obj.extended?.apply this
this
@include: (obj) ->
for key, value of obj when key not in mixinKeywords
# Assign properties to the prototype
@... |
[
{
"context": "user.status = 'ACTIVE'\n user.password = req.body.password\n user.save ( err ) ->\n if err",
"end": 494,
"score": 0.9987166523933411,
"start": 477,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | src/routes/system/passwd.coffee | rabrux/api-boilerplate | 0 | module.exports = ( router, schemas ) ->
router.put '/passwd', ( req, res ) ->
if !req.body or !req.body.key or !req.body.password
return res.status( 400 ).send 'INVALID_DATA'
schemas.User.findOne { key: req.body.key }, ( err, user ) ->
if err then throw err
if !user
return res.stat... | 12790 | module.exports = ( router, schemas ) ->
router.put '/passwd', ( req, res ) ->
if !req.body or !req.body.key or !req.body.password
return res.status( 400 ).send 'INVALID_DATA'
schemas.User.findOne { key: req.body.key }, ( err, user ) ->
if err then throw err
if !user
return res.stat... | true | module.exports = ( router, schemas ) ->
router.put '/passwd', ( req, res ) ->
if !req.body or !req.body.key or !req.body.password
return res.status( 400 ).send 'INVALID_DATA'
schemas.User.findOne { key: req.body.key }, ( err, user ) ->
if err then throw err
if !user
return res.stat... |
[
{
"context": ".stringEndsWith(key, 'Notify')\n key = Util.sliceStringBefore(key, \"Notify\")\n type = MztObje",
"end": 5345,
"score": 0.5607743263244629,
"start": 5340,
"tag": "KEY",
"value": "slice"
}
] | src/mozart/object.coffee | creativeprogramming/mozart | 1 | Util = require './util'
{Events} = require './events'
exports.MztObject = class MztObject
# Internal Constants
MODULEKEYWORDS = ['extended', 'included']
# Class Constants
@NOTIFY: 2
@OBSERVE: 1
@SYNC: 0
# Class Methods
@include: (obj) ->
for key, value of obj when key not in MODULEKEYWORDS
... | 211971 | Util = require './util'
{Events} = require './events'
exports.MztObject = class MztObject
# Internal Constants
MODULEKEYWORDS = ['extended', 'included']
# Class Constants
@NOTIFY: 2
@OBSERVE: 1
@SYNC: 0
# Class Methods
@include: (obj) ->
for key, value of obj when key not in MODULEKEYWORDS
... | true | Util = require './util'
{Events} = require './events'
exports.MztObject = class MztObject
# Internal Constants
MODULEKEYWORDS = ['extended', 'included']
# Class Constants
@NOTIFY: 2
@OBSERVE: 1
@SYNC: 0
# Class Methods
@include: (obj) ->
for key, value of obj when key not in MODULEKEYWORDS
... |
[
{
"context": "view Custom reporters for gulp-scsslint\n * @author J-Sek\n###\n\n###\n * Emit error formatted for Visual Studi",
"end": 72,
"score": 0.9849093556404114,
"start": 67,
"tag": "NAME",
"value": "J-Sek"
}
] | index.coffee | jsek/gulp-scss-lint-visualstudio | 1 | ###
* @fileoverview Custom reporters for gulp-scsslint
* @author J-Sek
###
###
* Emit error formatted for Visual Studio on first error
* Note: Intentially ignore warnings
* Usage: Inline - intended for 'customReportField'
###
extend = require('util')._extend
getReporter = (opts = {}) ->
opts = extend opts... | 33828 | ###
* @fileoverview Custom reporters for gulp-scsslint
* @author <NAME>
###
###
* Emit error formatted for Visual Studio on first error
* Note: Intentially ignore warnings
* Usage: Inline - intended for 'customReportField'
###
extend = require('util')._extend
getReporter = (opts = {}) ->
opts = extend opt... | true | ###
* @fileoverview Custom reporters for gulp-scsslint
* @author PI:NAME:<NAME>END_PI
###
###
* Emit error formatted for Visual Studio on first error
* Note: Intentially ignore warnings
* Usage: Inline - intended for 'customReportField'
###
extend = require('util')._extend
getReporter = (opts = {}) ->
opt... |
[
{
"context": "length.should.equal 1\n h1.text().should.equal 'Pablo Picasso, MADONNA PAINTING — Auction Result'\n\n it 'has a ",
"end": 1652,
"score": 0.9991316795349121,
"start": 1639,
"tag": "NAME",
"value": "Pablo Picasso"
},
{
"context": "h2').text().should.equal 'More auctio... | src/desktop/components/auction_lots/test/templates/detail.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ fabricate } = require '@artsy/antigravity'
{ resolve } = require 'path'
Artist = require '../../../../models/artist'
AuctionLot = require '../../../../models/auction_lot'
Auction... | 161630 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ fabricate } = require '@artsy/antigravity'
{ resolve } = require 'path'
Artist = require '../../../../models/artist'
AuctionLot = require '../../../../models/auction_lot'
Auction... | true | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ fabricate } = require '@artsy/antigravity'
{ resolve } = require 'path'
Artist = require '../../../../models/artist'
AuctionLot = require '../../../../models/auction_lot'
Auction... |
[
{
"context": ": (name) -> @internal = name\n obj = new Cls 'Felix'\n (-> obj.setName '1234567890').should.not.t",
"end": 2098,
"score": 0.9994363188743591,
"start": 2093,
"tag": "NAME",
"value": "Felix"
},
{
"context": "ame: -> @new.name() == @name\n obj = new Cls 'Fel... | test/coffee-dbc.coffee | felixrabe/coffee-dbc | 1 | should = require('chai').should()
dbc = require '../src/coffee-dbc'
describe 'Design By Contract', ->
describe '#class', ->
it 'should return a class', ->
Cls = dbc.class ->
new Cls
it 'should allow for a constructor', ->
Cls = dbc.class ->
constructor: (@x) ->
obj = new ... | 149564 | should = require('chai').should()
dbc = require '../src/coffee-dbc'
describe 'Design By Contract', ->
describe '#class', ->
it 'should return a class', ->
Cls = dbc.class ->
new Cls
it 'should allow for a constructor', ->
Cls = dbc.class ->
constructor: (@x) ->
obj = new ... | true | should = require('chai').should()
dbc = require '../src/coffee-dbc'
describe 'Design By Contract', ->
describe '#class', ->
it 'should return a class', ->
Cls = dbc.class ->
new Cls
it 'should allow for a constructor', ->
Cls = dbc.class ->
constructor: (@x) ->
obj = new ... |
[
{
"context": " {{{/}}}\n '''\n model.set 'myMessage', 'Heyo'\n expect(view.get 'test').to.equal 'say \"<!--$",
"end": 2582,
"score": 0.7444685101509094,
"start": 2578,
"tag": "NAME",
"value": "Heyo"
},
{
"context": "age}}}></div>\n '''\n model.set 'myMessage', 'He... | test/View.components.mocha.coffee | rajiv20/derby | 0 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... | 129180 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... | true | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... |
[
{
"context": "nt Twitter/Weibo @ mentions\n\n Copyright (c) 2012 chord.luo@gmail.com\n\n Permission is hereby granted, free of charge,",
"end": 84,
"score": 0.9999133348464966,
"start": 65,
"tag": "EMAIL",
"value": "chord.luo@gmail.com"
}
] | coffee/jquery.caret.coffee | NARKOZ/At.js | 3 | ###
Implement Twitter/Weibo @ mentions
Copyright (c) 2012 chord.luo@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation t... | 84991 | ###
Implement Twitter/Weibo @ mentions
Copyright (c) 2012 <EMAIL>
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... | true | ###
Implement Twitter/Weibo @ mentions
Copyright (c) 2012 PI:EMAIL:<EMAIL>END_PI
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitatio... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998359084129333,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | METEOR-OLD/private/build/gen.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 20909 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": "oqueen'\n 'Nidoran?'\n 'Nidorino'\n 'Nidoking'\n 'Clefairy'\n 'Clefable'\n 'Vulpix'\n 'Ninetales'\n 'Jigglyp",
"end": 6930,
"score": 0.6961014270782471,
"start": 6922,
"tag": "NAME",
"value": "Clefairy"
},
{
"context": "aras'\n 'Parasect'\n 'Venonat'\n 'Venom... | lib/Pokemon.coffee | alvaro-cuesta/pokedit3 | 1 | util = undefined
PokemonString = require "#{__dirname}/String"
Items = require "#{__dirname}/Items"
{UInt8, UInt16LE, UInt32LE, Obj, ArrayOf, Slice, Filter, Wrap, Transform, Pass} = require "#{__dirname}/byte-spec"
checksum = (buffer) ->
sum = 0
(sum += buffer.readUInt16LE i) for i in [0...buffer.length] by 2
su... | 224005 | util = undefined
PokemonString = require "#{__dirname}/String"
Items = require "#{__dirname}/Items"
{UInt8, UInt16LE, UInt32LE, Obj, ArrayOf, Slice, Filter, Wrap, Transform, Pass} = require "#{__dirname}/byte-spec"
checksum = (buffer) ->
sum = 0
(sum += buffer.readUInt16LE i) for i in [0...buffer.length] by 2
su... | true | util = undefined
PokemonString = require "#{__dirname}/String"
Items = require "#{__dirname}/Items"
{UInt8, UInt16LE, UInt32LE, Obj, ArrayOf, Slice, Filter, Wrap, Transform, Pass} = require "#{__dirname}/byte-spec"
checksum = (buffer) ->
sum = 0
(sum += buffer.readUInt16LE i) for i in [0...buffer.length] by 2
su... |
[
{
"context": " fakeText = helpers.getFakeText()\n\n email = \"kodingtestuser+#{username}@koding.com\"\n\n users.push { name, ",
"end": 687,
"score": 0.77383953332901,
"start": 673,
"tag": "EMAIL",
"value": "kodingtestuser"
},
{
"context": "rs.getFakeText()\n\n email = ... | client/test/lib/utils/utils.coffee | lionheart1022/koding | 0 | fs = require 'fs'
faker = require 'faker'
tempDir = require 'os-tmpdir'
formatter = require 'json-format'
_ = require 'lodash'
async = require 'async'
module.exports =
generateUsers: ->
users = []
for [1..10]
name = faker.Name.findName()
username = faker.Helpers.slugify(fake... | 82925 | fs = require 'fs'
faker = require 'faker'
tempDir = require 'os-tmpdir'
formatter = require 'json-format'
_ = require 'lodash'
async = require 'async'
module.exports =
generateUsers: ->
users = []
for [1..10]
name = faker.Name.findName()
username = faker.Helpers.slugify(fake... | true | fs = require 'fs'
faker = require 'faker'
tempDir = require 'os-tmpdir'
formatter = require 'json-format'
_ = require 'lodash'
async = require 'async'
module.exports =
generateUsers: ->
users = []
for [1..10]
name = faker.Name.findName()
username = faker.Helpers.slugify(fake... |
[
{
"context": "# Wi-Fi Widget\n# Vidur Murali, 2017\n# \n\n# ------------------------------ CONFIG",
"end": 29,
"score": 0.9998757243156433,
"start": 17,
"tag": "NAME",
"value": "Vidur Murali"
}
] | wifi.widget/index.coffee | vyder/uebersicht-widgets | 0 | # Wi-Fi Widget
# Vidur Murali, 2017
#
# ------------------------------ CONFIG ------------------------------
# milliseconds
refreshFrequency: 3 * 1000
# icon
icon_img: "wifi.widget/glyphicons-74-wifi.svg"
# ---------------------------- END CONFIG ----------------------------
command: "wifi.widget/wifi_status"
re... | 114958 | # Wi-Fi Widget
# <NAME>, 2017
#
# ------------------------------ CONFIG ------------------------------
# milliseconds
refreshFrequency: 3 * 1000
# icon
icon_img: "wifi.widget/glyphicons-74-wifi.svg"
# ---------------------------- END CONFIG ----------------------------
command: "wifi.widget/wifi_status"
render: ... | true | # Wi-Fi Widget
# PI:NAME:<NAME>END_PI, 2017
#
# ------------------------------ CONFIG ------------------------------
# milliseconds
refreshFrequency: 3 * 1000
# icon
icon_img: "wifi.widget/glyphicons-74-wifi.svg"
# ---------------------------- END CONFIG ----------------------------
command: "wifi.widget/wifi_sta... |
[
{
"context": "Pending = Number.POSITIVE_INFINITY\n currentName = initialName\n for migration, i in @Meta.migrations\n if",
"end": 11370,
"score": 0.7900030016899109,
"start": 11363,
"tag": "NAME",
"value": "initial"
},
{
"context": "hema = '1.0.0'\n currentSerial = 0\n current... | server.coffee | peerlibrary/meteor-peerdb-migrations | 4 | import semver from 'semver'
import util from 'util'
globals = @
allMigrationDescriptors = []
try
# Migration of migrations collection.
new DirectCollection('migrations').renameCollection 'peerdb.migrations'
catch error
throw error unless /source namespace does not exist|Source collection .* does not exist/.tes... | 203499 | import semver from 'semver'
import util from 'util'
globals = @
allMigrationDescriptors = []
try
# Migration of migrations collection.
new DirectCollection('migrations').renameCollection 'peerdb.migrations'
catch error
throw error unless /source namespace does not exist|Source collection .* does not exist/.tes... | true | import semver from 'semver'
import util from 'util'
globals = @
allMigrationDescriptors = []
try
# Migration of migrations collection.
new DirectCollection('migrations').renameCollection 'peerdb.migrations'
catch error
throw error unless /source namespace does not exist|Source collection .* does not exist/.tes... |
[
{
"context": "###\n# \n# countUp.js\n# by @inorganik\n# v 0.0.5\n#\n# Example:\n# numAnim = new countUp \"S",
"end": 35,
"score": 0.9996728897094727,
"start": 25,
"tag": "USERNAME",
"value": "@inorganik"
},
{
"context": "wsers without native support\n # by Opera engineer Erik Möller... | countUp.coffee | masonicboom/countUp.js | 1 | ###
#
# countUp.js
# by @inorganik
# v 0.0.5
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
window.requestAnimationFrame =
window.requestAnimationFrame or
window.mozRequestAnimationFrame or
window.webkitRequestAnimationFrame or
window.msRequestAnima... | 215144 | ###
#
# countUp.js
# by @inorganik
# v 0.0.5
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
window.requestAnimationFrame =
window.requestAnimationFrame or
window.mozRequestAnimationFrame or
window.webkitRequestAnimationFrame or
window.msRequestAnima... | true | ###
#
# countUp.js
# by @inorganik
# v 0.0.5
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
window.requestAnimationFrame =
window.requestAnimationFrame or
window.mozRequestAnimationFrame or
window.webkitRequestAnimationFrame or
window.msRequestAnima... |
[
{
"context": "id: null,\n error_id: \"Error\",\n pass: null,\n error_pass: \"Error\",\n complete: f",
"end": 1784,
"score": 0.9314895272254944,
"start": 1780,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "\"Error\",\n pass: null,\n erro... | view/Login.cjsx | m-mitsuhide/amatelus | 0 | React = require "react"
Redux = require 'redux'
MUI = require 'material-ui'
Style = require "./Style.cjsx"
request = require "superagent"
apiPath = require "../config.js"
Loading = require "./Loading.cjsx"
action = require "../action/Login_action.cjsx"
Background = require '../view/Background.cjsx'
TextField = MUI.Tex... | 84098 | React = require "react"
Redux = require 'redux'
MUI = require 'material-ui'
Style = require "./Style.cjsx"
request = require "superagent"
apiPath = require "../config.js"
Loading = require "./Loading.cjsx"
action = require "../action/Login_action.cjsx"
Background = require '../view/Background.cjsx'
TextField = MUI.Tex... | true | React = require "react"
Redux = require 'redux'
MUI = require 'material-ui'
Style = require "./Style.cjsx"
request = require "superagent"
apiPath = require "../config.js"
Loading = require "./Loading.cjsx"
action = require "../action/Login_action.cjsx"
Background = require '../view/Background.cjsx'
TextField = MUI.Tex... |
[
{
"context": "403c-6b43-46be-9357-728d476f84c7'\n token: '1979780f49d488f41293f70ff1baec9be910cf9b'\n server: 'localhost'\n port: '6000'",
"end": 4910,
"score": 0.9748842716217041,
"start": 4870,
"tag": "KEY",
"value": "1979780f49d488f41293f70ff1baec9be910cf9b"
},
{
... | command-message-blast.coffee | octoblu/meshblu-benchmark | 0 | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
uuid = require 'uuid'
colors = require 'colors'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
debug = require('debug')('meshblu-benchmark:message-blast')
MeshbluWebsocket = require 'meshblu-websocket... | 111849 | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
uuid = require 'uuid'
colors = require 'colors'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
debug = require('debug')('meshblu-benchmark:message-blast')
MeshbluWebsocket = require 'meshblu-websocket... | true | _ = require 'lodash'
commander = require 'commander'
async = require 'async'
uuid = require 'uuid'
colors = require 'colors'
MeshbluHttp = require 'meshblu-http'
MeshbluConfig = require 'meshblu-config'
debug = require('debug')('meshblu-benchmark:message-blast')
MeshbluWebsocket = require 'meshblu-websocket... |
[
{
"context": "ib/jquery.js'\nMove = require './../move.coffee'\n\n# Tim Huminski's favorite move. Does base damage of 0.5,\n# Never",
"end": 77,
"score": 0.9972984194755554,
"start": 65,
"tag": "NAME",
"value": "Tim Huminski"
}
] | src/js/moves/sandal.coffee | Huntrr/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
# Tim Huminski's favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 1
use: (cb) ->
super()
Thrown = require 'effe... | 155344 | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
# <NAME>'s favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 1
use: (cb) ->
super()
Thrown = require 'effects/th... | true | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
# PI:NAME:<NAME>END_PI's favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 1
use: (cb) ->
super()
Thrown = requi... |
[
{
"context": "cheCode: 'GC12345'\n Finder: UserName: 'Foobar'\n LogType: WptLogTypeId: 2\n ",
"end": 644,
"score": 0.9994658827781677,
"start": 638,
"tag": "USERNAME",
"value": "Foobar"
},
{
"context": "ess.env.DB_USER ? 'postgres'\n passwor... | storage/test/integration-geolog.coffee | foobert/gc | 1 | {expect} = require 'chai'
Promise = require 'bluebird'
request = require 'superagent-as-promised'
access = require '../lib/access'
geologService = require '../lib/geolog'
describe 'REST routes for logs', ->
@timeout 15000
db = null
token = null
url = null
setupTestData = Promise.coroutine (geolo... | 126353 | {expect} = require 'chai'
Promise = require 'bluebird'
request = require 'superagent-as-promised'
access = require '../lib/access'
geologService = require '../lib/geolog'
describe 'REST routes for logs', ->
@timeout 15000
db = null
token = null
url = null
setupTestData = Promise.coroutine (geolo... | true | {expect} = require 'chai'
Promise = require 'bluebird'
request = require 'superagent-as-promised'
access = require '../lib/access'
geologService = require '../lib/geolog'
describe 'REST routes for logs', ->
@timeout 15000
db = null
token = null
url = null
setupTestData = Promise.coroutine (geolo... |
[
{
"context": "#\n# Created by Simba on 9/29/15.\n#\n\npostFontStyleDefault='font-size:la",
"end": 20,
"score": 0.9948605298995972,
"start": 15,
"tag": "NAME",
"value": "Simba"
}
] | hotShareWeb/client/posts/0_showPostsStyle.coffee | fay1986/mobile_app_server | 4 | #
# Created by Simba on 9/29/15.
#
postFontStyleDefault='font-size:large;';
postFontStyleNormal='font-size:large;';
postFontStyleQuota='font-size:15px;background:#F5F5F5;padding-left:3%;padding-right:3%;color:grey;';
@calcTextItemStyle = (layoutObj)->
fontStyle = postFontStyleDefault
alignStyle = 'text-align:left... | 66432 | #
# Created by <NAME> on 9/29/15.
#
postFontStyleDefault='font-size:large;';
postFontStyleNormal='font-size:large;';
postFontStyleQuota='font-size:15px;background:#F5F5F5;padding-left:3%;padding-right:3%;color:grey;';
@calcTextItemStyle = (layoutObj)->
fontStyle = postFontStyleDefault
alignStyle = 'text-align:lef... | true | #
# Created by PI:NAME:<NAME>END_PI on 9/29/15.
#
postFontStyleDefault='font-size:large;';
postFontStyleNormal='font-size:large;';
postFontStyleQuota='font-size:15px;background:#F5F5F5;padding-left:3%;padding-right:3%;color:grey;';
@calcTextItemStyle = (layoutObj)->
fontStyle = postFontStyleDefault
alignStyle = '... |
[
{
"context": "key: 'name'\n schema.keyed_params('2123123', 'fred').should.eql Key: {identifier: '2123123', name: '",
"end": 1759,
"score": 0.9909106492996216,
"start": 1755,
"tag": "NAME",
"value": "fred"
},
{
"context": "').should.eql Key: {identifier: '2123123', name: 'fred'}\... | test/key_schema_tests.coffee | JohnnyDevMode/fireball | 0 | KeySchema = require '../src/key_schema'
keygen = require 'keygen'
describe 'Key Schema Tests', ->
describe '@constructor', ->
it 'should default hash_key and size', ->
schema = new KeySchema()
schema.hash.should.eql 'identifier'
schema.size.should.eql keygen.large
it 'should take hash_k... | 186014 | KeySchema = require '../src/key_schema'
keygen = require 'keygen'
describe 'Key Schema Tests', ->
describe '@constructor', ->
it 'should default hash_key and size', ->
schema = new KeySchema()
schema.hash.should.eql 'identifier'
schema.size.should.eql keygen.large
it 'should take hash_k... | true | KeySchema = require '../src/key_schema'
keygen = require 'keygen'
describe 'Key Schema Tests', ->
describe '@constructor', ->
it 'should default hash_key and size', ->
schema = new KeySchema()
schema.hash.should.eql 'identifier'
schema.size.should.eql keygen.large
it 'should take hash_k... |
[
{
"context": " context =\n user:\n name: 'bouzuya'\n email: 'm@bouzuya.net'\n expec",
"end": 1737,
"score": 0.9366351962089539,
"start": 1730,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": ":\n name: 'bouzuya'\n ... | test/index-test.coffee | b-html/mithril-b-html-plus | 1 | assert = require 'power-assert'
sinon = require 'sinon'
bHtml = require './'
describe 'index', ->
beforeEach ->
@sinon = sinon.sandbox.create()
afterEach ->
@sinon.restore()
context 'comment', ->
context 'simple', ->
it 'works', ->
source = '''
<!-- hoge
'''
... | 215284 | assert = require 'power-assert'
sinon = require 'sinon'
bHtml = require './'
describe 'index', ->
beforeEach ->
@sinon = sinon.sandbox.create()
afterEach ->
@sinon.restore()
context 'comment', ->
context 'simple', ->
it 'works', ->
source = '''
<!-- hoge
'''
... | true | assert = require 'power-assert'
sinon = require 'sinon'
bHtml = require './'
describe 'index', ->
beforeEach ->
@sinon = sinon.sandbox.create()
afterEach ->
@sinon.restore()
context 'comment', ->
context 'simple', ->
it 'works', ->
source = '''
<!-- hoge
'''
... |
[
{
"context": "character classes in regular expressions\n# @author Ian Christian Myers\n###\n\n'use strict'\n\n#-----------------------------",
"end": 121,
"score": 0.9997583627700806,
"start": 102,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/rules/no-empty-character-class.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag the use of empty character classes in regular expressions
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###
# pl... | 203058 | ###*
# @fileoverview Rule to flag the use of empty character classes in regular expressions
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###
# plain-English d... | true | ###*
# @fileoverview Rule to flag the use of empty character classes in regular expressions
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###
# p... |
[
{
"context": " more'\n buttonAction: 'https://medium.com/@skitzysandcastle/in-the-beginning-was-the-end-88c928e7d3aa'\n ",
"end": 7702,
"score": 0.992554783821106,
"start": 7686,
"tag": "USERNAME",
"value": "skitzysandcastle"
},
{
"context": "y join?'\n buttonActio... | app/components/Bopz/Mangina.coffee | samerce/flitandland | 0 | import React, {useRef, useEffect, useState, useLayoutEffect, useMemo, useCallback} from 'react'
import MailingList from '../MailingList/it.coffee'
import Player from 'react-player'
import l from './styled'
import * as c from '../../constants'
import {useSprings} from 'react-spring'
import {useDrag} from 'react-use-ge... | 195611 | import React, {useRef, useEffect, useState, useLayoutEffect, useMemo, useCallback} from 'react'
import MailingList from '../MailingList/it.coffee'
import Player from 'react-player'
import l from './styled'
import * as c from '../../constants'
import {useSprings} from 'react-spring'
import {useDrag} from 'react-use-ge... | true | import React, {useRef, useEffect, useState, useLayoutEffect, useMemo, useCallback} from 'react'
import MailingList from '../MailingList/it.coffee'
import Player from 'react-player'
import l from './styled'
import * as c from '../../constants'
import {useSprings} from 'react-spring'
import {useDrag} from 'react-use-ge... |
[
{
"context": "value='some value'/><input type='password' value='some value'/>\n <textarea>some text</textarea><label f",
"end": 8306,
"score": 0.7597037553787231,
"start": 8296,
"tag": "PASSWORD",
"value": "some value"
},
{
"context": "/>\n <input type='password' id='thir... | tests/dom_tests/dom_tests.coffee | nightwing/vimium | 3 |
# Install frontend event handlers.
installListeners()
installListener = (element, event, callback) ->
element.addEventListener event, (-> callback.apply(this, arguments)), true
# A count of the number of keyboard events received by the page (for the most recently-sent keystroke). E.g.,
# we expect 3 if the keystr... | 7000 |
# Install frontend event handlers.
installListeners()
installListener = (element, event, callback) ->
element.addEventListener event, (-> callback.apply(this, arguments)), true
# A count of the number of keyboard events received by the page (for the most recently-sent keystroke). E.g.,
# we expect 3 if the keystr... | true |
# Install frontend event handlers.
installListeners()
installListener = (element, event, callback) ->
element.addEventListener event, (-> callback.apply(this, arguments)), true
# A count of the number of keyboard events received by the page (for the most recently-sent keystroke). E.g.,
# we expect 3 if the keystr... |
[
{
"context": "icons/magnumci@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readonly: true\n descript",
"end": 927,
"score": 0.90056312084198,
"start": 917,
"tag": "KEY",
"value": "webhookUrl"
}
] | src/services/magnumci.coffee | jianliaoim/talk-services | 40 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body?.payload
try
if toString.call(payload) is '[object String]'
payload = JSON.parse payload
return false unless toString.call(payload) is '[object Object]'
catch err
return false
throw new Error('Params missing') unless payl... | 91711 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body?.payload
try
if toString.call(payload) is '[object String]'
payload = JSON.parse payload
return false unless toString.call(payload) is '[object Object]'
catch err
return false
throw new Error('Params missing') unless payl... | true | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body?.payload
try
if toString.call(payload) is '[object String]'
payload = JSON.parse payload
return false unless toString.call(payload) is '[object Object]'
catch err
return false
throw new Error('Params missing') unless payl... |
[
{
"context": " list of hosts for a specific host\n#\n# Author:\n# pstack\n\nmodule.exports = (robot) ->\n\n password = \"0pent",
"end": 553,
"score": 0.9996460676193237,
"start": 547,
"tag": "USERNAME",
"value": "pstack"
},
{
"context": "stack\n\nmodule.exports = (robot) ->\n\n p... | src/scripts/foreman.coffee | ryantomlinson/hubot-scripts | 0 | # Description:
# Script to interact with foreman
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_FOREMAN_URL
# HUBOT_FOREMAN_USER
# HUBOT_FOREMAN_PASSWORD
#
# Commands:
# hubot foreman hosts - gets a list of hosts from foreman
# hubot foreman environments - gets a lot of environments from forem... | 172079 | # Description:
# Script to interact with foreman
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_FOREMAN_URL
# HUBOT_FOREMAN_USER
# HUBOT_FOREMAN_PASSWORD
#
# Commands:
# hubot foreman hosts - gets a list of hosts from foreman
# hubot foreman environments - gets a lot of environments from forem... | true | # Description:
# Script to interact with foreman
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_FOREMAN_URL
# HUBOT_FOREMAN_USER
# HUBOT_FOREMAN_PASSWORD
#
# Commands:
# hubot foreman hosts - gets a list of hosts from foreman
# hubot foreman environments - gets a lot of environments from forem... |
[
{
"context": "ader: loader\n wrapped\n greeting: 'Hei'\n name: 'Maailma'\n , (err, res) -",
"end": 4769,
"score": 0.9461231231689453,
"start": 4766,
"tag": "NAME",
"value": "Hei"
},
{
"context": "rapped\n greeting: 'Hei'\n name: 'Maai... | spec/AsComponent.coffee | rrothenb/noflo | 0 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
path = require 'path'
root = path.resolve __dirname, '../'
urlPrefix = './'
isBrowser = false
else
noflo = require 'noflo'
root = 'no... | 115938 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
path = require 'path'
root = path.resolve __dirname, '../'
urlPrefix = './'
isBrowser = false
else
noflo = require 'noflo'
root = 'no... | true | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
path = require 'path'
root = path.resolve __dirname, '../'
urlPrefix = './'
isBrowser = false
else
noflo = require 'noflo'
root = 'no... |
[
{
"context": "ist - Show the watched repositories\n#\n# Author:\n# nounoursheureux\n\nrequest = require('request')\n\nmodule.exports = (",
"end": 346,
"score": 0.9994174838066101,
"start": 331,
"tag": "USERNAME",
"value": "nounoursheureux"
},
{
"context": "ser: process.env.HUBOT_WAT... | lib/hubot-watch.coffee | nounoursheureux/hubot-watch | 1 | # Description:
# Watch Github repositories with Hubot
#
# Dependencies:
# "request": "*"
#
# Configuration:
# HUBOT_WATCH_USERNAME
# HUBOT_WATCH_PASSWORD
# HUBOT_WATCH_IGNORED
#
# Commands:
# hubot watch <repository> - Add the repository to the watchlist
# hubot watch list - Show the watched repositories
#
# ... | 125244 | # Description:
# Watch Github repositories with Hubot
#
# Dependencies:
# "request": "*"
#
# Configuration:
# HUBOT_WATCH_USERNAME
# HUBOT_WATCH_PASSWORD
# HUBOT_WATCH_IGNORED
#
# Commands:
# hubot watch <repository> - Add the repository to the watchlist
# hubot watch list - Show the watched repositories
#
# ... | true | # Description:
# Watch Github repositories with Hubot
#
# Dependencies:
# "request": "*"
#
# Configuration:
# HUBOT_WATCH_USERNAME
# HUBOT_WATCH_PASSWORD
# HUBOT_WATCH_IGNORED
#
# Commands:
# hubot watch <repository> - Add the repository to the watchlist
# hubot watch list - Show the watched repositories
#
# ... |
[
{
"context": "\"Myśliwiec TIE\"\n name: \"Pilot Eskadry Czarnych\"\n '\"Winged Gundark\"':\n name: \"S",
"end": 8103,
"score": 0.7276742458343506,
"start": 8096,
"tag": "NAME",
"value": "zarnych"
},
{
"context": " name: \"Pilot Eskadry Czarnych\"\... | coffeescripts/cards-pl.coffee | idavidka/xwing | 100 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.pl = 'Polski'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Polski'] =
action :
"Barrel Roll": "Beczka"
"Boost": "Dopalacz"
"Evade": "Unik"
... | 41314 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.pl = 'Polski'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Polski'] =
action :
"Barrel Roll": "Beczka"
"Boost": "Dopalacz"
"Evade": "Unik"
... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.pl = 'Polski'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Polski'] =
action :
"Barrel Roll": "Beczka"
"Boost": "Dopalacz"
"Evade": "Unik"
... |
[
{
"context": "m_utf8 'this be the top secret key! shit yeah! sdf3 234 092i34 092i34 0923i'\ninput = WordArray.from_u",
"end": 471,
"score": 0.8340457677841187,
"start": 470,
"tag": "KEY",
"value": "3"
},
{
"context": "utf8 'this be the top secret key! shit yeah! sdf3 234 092i34 092i3... | dev/hmax.iced | CyberFlameGO/triplesec | 274 |
{HMAX} = require '../src/hmax'
{WordArray} = require '../src/wordarray'
{SHA512} = require '../src/sha512'
{HMAC} = require '../src/hmac'
#--------
class NullHash
constructor : ->
@output_size : SHA512.output_size
output_size : NullHash.output_size
@blockSize : SHA512.blockSize
blockSize : NullHash.blockS... | 98786 |
{HMAX} = require '../src/hmax'
{WordArray} = require '../src/wordarray'
{SHA512} = require '../src/sha512'
{HMAC} = require '../src/hmac'
#--------
class NullHash
constructor : ->
@output_size : SHA512.output_size
output_size : NullHash.output_size
@blockSize : SHA512.blockSize
blockSize : NullHash.blockS... | true |
{HMAX} = require '../src/hmax'
{WordArray} = require '../src/wordarray'
{SHA512} = require '../src/sha512'
{HMAC} = require '../src/hmac'
#--------
class NullHash
constructor : ->
@output_size : SHA512.output_size
output_size : NullHash.output_size
@blockSize : SHA512.blockSize
blockSize : NullHash.blockS... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998409748077393,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/semantic/icontrols.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 209673 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "================\n#\n# Generic Utilities\n#\n# @author Matthew Wagerfield @mwagerfield\n#\n#=================================",
"end": 118,
"score": 0.9998693466186523,
"start": 100,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": "# Generic Utilities\n#\n#... | development/production/source/assets/scripts/coffee/core/Utils.coffee | wagerfield/cinnamon | 2 | ###
#============================================================
#
# Generic Utilities
#
# @author Matthew Wagerfield @mwagerfield
#
#============================================================
###
class Utils
###
# Browser vendor prefixes.
###
@VENDORS = ['O','ms','Moz','webkit',null]
###
# Generates ... | 144853 | ###
#============================================================
#
# Generic Utilities
#
# @author <NAME> @mwagerfield
#
#============================================================
###
class Utils
###
# Browser vendor prefixes.
###
@VENDORS = ['O','ms','Moz','webkit',null]
###
# Generates a GUID.
# ... | true | ###
#============================================================
#
# Generic Utilities
#
# @author PI:NAME:<NAME>END_PI @mwagerfield
#
#============================================================
###
class Utils
###
# Browser vendor prefixes.
###
@VENDORS = ['O','ms','Moz','webkit',null]
###
# Generate... |
[
{
"context": " , done\n\n beforeEach (done) ->\n auth = new Buffer('some-user:some-pass').toString('base64')\n e",
"end": 1518,
"score": 0.645983874797821,
"start": 1512,
"tag": "KEY",
"value": "Buffer"
},
{
"context": " beforeEach (done) ->\n auth = new Buffer('... | test/worker-spec.coffee | octoblu/queue-length-verifier | 0 | async = require 'async'
UUID = require 'uuid'
shmock = require '@octoblu/shmock'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
enableDestroy = require 'server-destroy'
Worker = require '../src/worker'
Env = require... | 208783 | async = require 'async'
UUID = require 'uuid'
shmock = require '@octoblu/shmock'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
enableDestroy = require 'server-destroy'
Worker = require '../src/worker'
Env = require... | true | async = require 'async'
UUID = require 'uuid'
shmock = require '@octoblu/shmock'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
enableDestroy = require 'server-destroy'
Worker = require '../src/worker'
Env = require... |
[
{
"context": "#\n# longdouble.js, https://github.com/ofmlabs/longdouble.js\n# \n# By Jens Nockert of OFMLabs\n#\n#",
"end": 45,
"score": 0.9980672001838684,
"start": 38,
"tag": "USERNAME",
"value": "ofmlabs"
},
{
"context": ", https://github.com/ofmlabs/longdouble.js\n# \n# By Jens N... | src/longdouble.coffee | audiocogs/longdouble.js | 12 | #
# longdouble.js, https://github.com/ofmlabs/longdouble.js
#
# By Jens Nockert of OFMLabs
#
# Lemma 1. Let a and b be two p-bit floating point numbers such that |a| ≥ |b|.
# Then |err(a + b)| ≤ |b| ≤ |a|.
# Lemma 2. Let a and b be two p-bit floating point numbers.
# Then err(a + b) = (a + b) − fl(a ... | 112078 | #
# longdouble.js, https://github.com/ofmlabs/longdouble.js
#
# By <NAME> of OFMLabs
#
# Lemma 1. Let a and b be two p-bit floating point numbers such that |a| ≥ |b|.
# Then |err(a + b)| ≤ |b| ≤ |a|.
# Lemma 2. Let a and b be two p-bit floating point numbers.
# Then err(a + b) = (a + b) − fl(a + b) i... | true | #
# longdouble.js, https://github.com/ofmlabs/longdouble.js
#
# By PI:NAME:<NAME>END_PI of OFMLabs
#
# Lemma 1. Let a and b be two p-bit floating point numbers such that |a| ≥ |b|.
# Then |err(a + b)| ≤ |b| ≤ |a|.
# Lemma 2. Let a and b be two p-bit floating point numbers.
# Then err(a + b) = (a + b)... |
[
{
"context": "l.service\n user: config.mail.username\n pass: config.mail.password\n authMethod: \"LOGIN\"\n smtpTransport\n",
"end": 4122,
"score": 0.9976469278335571,
"start": 4102,
"tag": "PASSWORD",
"value": "config.mail.password"
}
] | server/auth.coffee | flauta/codecombat | 0 | passport = require('passport')
winston = require('winston')
LocalStrategy = require('passport-local').Strategy
User = require('./models/User')
UserHandler = require('./handlers/user')
config = require '../server_config'
nodemailer = require 'nodemailer'
errors = require './errors'
module.exports.setupRoutes = (app) ->... | 49929 | passport = require('passport')
winston = require('winston')
LocalStrategy = require('passport-local').Strategy
User = require('./models/User')
UserHandler = require('./handlers/user')
config = require '../server_config'
nodemailer = require 'nodemailer'
errors = require './errors'
module.exports.setupRoutes = (app) ->... | true | passport = require('passport')
winston = require('winston')
LocalStrategy = require('passport-local').Strategy
User = require('./models/User')
UserHandler = require('./handlers/user')
config = require '../server_config'
nodemailer = require 'nodemailer'
errors = require './errors'
module.exports.setupRoutes = (app) ->... |
[
{
"context": "#\n# Document level hooks\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n$ ->\n $('.lui-tabs').forEach (element)->\n u",
"end": 65,
"score": 0.9998852610588074,
"start": 48,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/tabs/src/document.coffee | lovely-io/lovely.io-stl | 2 | #
# Document level hooks
#
# Copyright (C) 2012 Nikolay Nemshilov
#
$ ->
$('.lui-tabs').forEach (element)->
unless element instanceof Tabs
new Tabs(element._) | 43322 | #
# Document level hooks
#
# Copyright (C) 2012 <NAME>
#
$ ->
$('.lui-tabs').forEach (element)->
unless element instanceof Tabs
new Tabs(element._) | true | #
# Document level hooks
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
$ ->
$('.lui-tabs').forEach (element)->
unless element instanceof Tabs
new Tabs(element._) |
[
{
"context": "'.remove', @el).hide() if @model.get('email') is 'admin@voxe.org'\n\n @\n\n removeAdmin: ->\n @model.removeAdmin",
"end": 366,
"score": 0.999911367893219,
"start": 352,
"tag": "EMAIL",
"value": "admin@voxe.org"
}
] | app/assets/javascripts/admin/views/admins/admin_view.js.coffee | JulienGuizot/voxe | 5 | class Admin.Views.Admins.AdminView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/admins/admin']
events:
'click .remove': 'removeAdmin'
initialize: ->
@model.bind 'change', => @trigger 'adminChanged'
render: ->
$(@el).html @template(@model.toJSON())
$('.remove', @el).hi... | 106991 | class Admin.Views.Admins.AdminView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/admins/admin']
events:
'click .remove': 'removeAdmin'
initialize: ->
@model.bind 'change', => @trigger 'adminChanged'
render: ->
$(@el).html @template(@model.toJSON())
$('.remove', @el).hi... | true | class Admin.Views.Admins.AdminView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/admins/admin']
events:
'click .remove': 'removeAdmin'
initialize: ->
@model.bind 'change', => @trigger 'adminChanged'
render: ->
$(@el).html @template(@model.toJSON())
$('.remove', @el).hi... |
[
{
"context": "###\n X-Wing Squad Builder 2.0\n Stephen Kim <raithos@gmail.com>\n https://raithos.github.io",
"end": 48,
"score": 0.9996595978736877,
"start": 37,
"tag": "NAME",
"value": "Stephen Kim"
},
{
"context": "###\n X-Wing Squad Builder 2.0\n Stephen Kim <raitho... | coffeescripts/system/backend.coffee | danrs/xwing | 0 | ###
X-Wing Squad Builder 2.0
Stephen Kim <raithos@gmail.com>
https://raithos.github.io
###
exportObj = exports ? this
class exportObj.SquadBuilderBackend
###
Usage:
rebel_builder = new SquadBuilder
faction: 'Rebel Alliance'
...
empire_bu... | 122005 | ###
X-Wing Squad Builder 2.0
<NAME> <<EMAIL>>
https://raithos.github.io
###
exportObj = exports ? this
class exportObj.SquadBuilderBackend
###
Usage:
rebel_builder = new SquadBuilder
faction: 'Rebel Alliance'
...
empire_builder = new Squ... | true | ###
X-Wing Squad Builder 2.0
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://raithos.github.io
###
exportObj = exports ? this
class exportObj.SquadBuilderBackend
###
Usage:
rebel_builder = new SquadBuilder
faction: 'Rebel Alliance'
...
... |
[
{
"context": "ent handler for the\n MD Snackbar.\n @author Derek Gransaull <derek@dgtlife.com>\n @copyright DGTLife, LLC 201",
"end": 128,
"score": 0.9998872876167297,
"start": 113,
"tag": "NAME",
"value": "Derek Gransaull"
},
{
"context": "e\n MD Snackbar.\n @author... | client/imports/ui/md-snackbar/md-snackbar.coffee | dgtlife/material-for-meteor | 12 | ###
@file Defines the helper, the on-render callback, and event handler for the
MD Snackbar.
@author Derek Gransaull <derek@dgtlife.com>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
getCurrentSnackbarElement =
require('../../api/md-snackbar-api.js').getCurrentSnackbarElem... | 9168 | ###
@file Defines the helper, the on-render callback, and event handler for the
MD Snackbar.
@author <NAME> <<EMAIL>>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
getCurrentSnackbarElement =
require('../../api/md-snackbar-api.js').getCurrentSnackbarElement
displayCurrentS... | true | ###
@file Defines the helper, the on-render callback, and event handler for the
MD Snackbar.
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@copyright DGTLife, LLC 2015
###
{ Template } = require 'meteor/templating'
getCurrentSnackbarElement =
require('../../api/md-snackbar-api.js').getCurrentSn... |
[
{
"context": ".equals result,\n _id: 0xff\n _name: 'test'\n done()\n ,\n _id: 0xff\n foo: 'f",
"end": 1389,
"score": 0.9623197317123413,
"start": 1385,
"tag": "NAME",
"value": "test"
},
{
"context": "f\n foo: 'foo'\n bar: 'bar'\n _name: ... | test/filter-test.coffee | chrhsmt/pp.js | 1 | if typeof require is 'function'
buster = require 'buster'
pp = require '../lib/pp'
buster.testCase 'pp.filter',
'when receiver isnt function, throw error': (done) ->
try
pp.filter (next, v) ->
next null, yes
, 'not function', [1..9]
catch error
assert error instanceof TypeError
... | 12626 | if typeof require is 'function'
buster = require 'buster'
pp = require '../lib/pp'
buster.testCase 'pp.filter',
'when receiver isnt function, throw error': (done) ->
try
pp.filter (next, v) ->
next null, yes
, 'not function', [1..9]
catch error
assert error instanceof TypeError
... | true | if typeof require is 'function'
buster = require 'buster'
pp = require '../lib/pp'
buster.testCase 'pp.filter',
'when receiver isnt function, throw error': (done) ->
try
pp.filter (next, v) ->
next null, yes
, 'not function', [1..9]
catch error
assert error instanceof TypeError
... |
[
{
"context": "name: 'Freemarker',\nscopeName: 'source.freemarker',\ntype: 'tree-sit",
"end": 17,
"score": 0.8624306917190552,
"start": 7,
"tag": "NAME",
"value": "Freemarker"
}
] | grammars/tree-sitter-fmkr.cson | Jake-Nolder/tsl-freemarker | 0 | name: 'Freemarker',
scopeName: 'source.freemarker',
type: 'tree-sitter',
parser: 'tree-sitter-freemarker',
limitLineLength: false,
fileTypes: [
'ftl'
],
injectionSelector: 'text.html.basic',
scopes: {
'source_file': 'entity.name.source',
'directive': 'entity.name.directive',
'expression': 'entity.type.expres... | 83255 | name: '<NAME>',
scopeName: 'source.freemarker',
type: 'tree-sitter',
parser: 'tree-sitter-freemarker',
limitLineLength: false,
fileTypes: [
'ftl'
],
injectionSelector: 'text.html.basic',
scopes: {
'source_file': 'entity.name.source',
'directive': 'entity.name.directive',
'expression': 'entity.type.expression... | true | name: 'PI:NAME:<NAME>END_PI',
scopeName: 'source.freemarker',
type: 'tree-sitter',
parser: 'tree-sitter-freemarker',
limitLineLength: false,
fileTypes: [
'ftl'
],
injectionSelector: 'text.html.basic',
scopes: {
'source_file': 'entity.name.source',
'directive': 'entity.name.directive',
'expression': 'entity.t... |
[
{
"context": "oGLib\n# Module | Stat methods\n# Author | Sherif Emabrak\n# Description | Standard Error\n# ----------------",
"end": 163,
"score": 0.9998802542686462,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/summary/se.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat methods
# Author | Sherif Emabrak
# Description | Standard Error
# ------------------------------------------------------------------------------
se = () -> | 219277 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat methods
# Author | <NAME>
# Description | Standard Error
# ------------------------------------------------------------------------------
se = () -> | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat methods
# Author | PI:NAME:<NAME>END_PI
# Description | Standard Error
# ------------------------------------------------------------------------------
se = () -> |
[
{
"context": " # for debugging only\n# employee.email = \"jk@websector.de\"\n# employee.firstName = \"j\"\n# emplo",
"end": 566,
"score": 0.9999297261238098,
"start": 551,
"tag": "EMAIL",
"value": "jk@websector.de"
},
{
"context": " \"jk@websector.de\"\n# ... | app/assets/javascripts/controllers/createEmployeeController.coffee | sectore/CafeTownsend-Angular-Rails | 70 | angular.module('cafeTownsend.employee')
.controller 'CreateEmployeeController', [
'$log'
'$location'
'SessionService'
'EmployeesService'
'SelectedEmployee'
'ViewState'
($log, $location, SessionService, EmployeesService, SelectedEmployee, ViewState) ->
self = this
# init
# ------------------... | 10394 | angular.module('cafeTownsend.employee')
.controller 'CreateEmployeeController', [
'$log'
'$location'
'SessionService'
'EmployeesService'
'SelectedEmployee'
'ViewState'
($log, $location, SessionService, EmployeesService, SelectedEmployee, ViewState) ->
self = this
# init
# ------------------... | true | angular.module('cafeTownsend.employee')
.controller 'CreateEmployeeController', [
'$log'
'$location'
'SessionService'
'EmployeesService'
'SelectedEmployee'
'ViewState'
($log, $location, SessionService, EmployeesService, SelectedEmployee, ViewState) ->
self = this
# init
# ------------------... |
[
{
"context": ".eql(\n\t\t\t\t'allow[]': ['on', 'on']\n\t\t\t\tfirstName: 'John'\n\t\t\t\tlastName: 'Doe'\n\t\t\t)\n\t\t\tdone()\n\n\t\t$('#tests ",
"end": 563,
"score": 0.9998215436935425,
"start": 559,
"tag": "NAME",
"value": "John"
},
{
"context": "['on', 'on']\n\t\t\t\tfirstName: ... | test/tests/Extensions.Forms.coffee | sakren/node-browser-http | 3 | Http = null
Forms = null
describe 'Extensions.Forms', ->
beforeEach( ->
Http = new http.Mocks.Http
Forms = new http.Extensions.Forms($)
Http.addExtension('forms', Forms)
)
afterEach( ->
Forms.detach()
)
it 'should send form', (done) ->
Http.receiveDataFromRequestAndSendBack({'content-type': 'applic... | 56702 | Http = null
Forms = null
describe 'Extensions.Forms', ->
beforeEach( ->
Http = new http.Mocks.Http
Forms = new http.Extensions.Forms($)
Http.addExtension('forms', Forms)
)
afterEach( ->
Forms.detach()
)
it 'should send form', (done) ->
Http.receiveDataFromRequestAndSendBack({'content-type': 'applic... | true | Http = null
Forms = null
describe 'Extensions.Forms', ->
beforeEach( ->
Http = new http.Mocks.Http
Forms = new http.Extensions.Forms($)
Http.addExtension('forms', Forms)
)
afterEach( ->
Forms.detach()
)
it 'should send form', (done) ->
Http.receiveDataFromRequestAndSendBack({'content-type': 'applic... |
[
{
"context": "default = OrgC\n \n emailAddress = email@domain.com\n emailAddress_default = email@domain.com\n",
"end": 1552,
"score": 0.9995423555374146,
"start": 1536,
"tag": "EMAIL",
"value": "email@domain.com"
},
{
"context": "= email@domain.com\n emailA... | notes/956e2275-4208-4980-bd7c-0c2390d4f19b.cson | cwocwo/boostnote | 0 | createdAt: "2018-07-10T01:40:37.448Z"
updatedAt: "2018-09-22T03:34:45.784Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "openssl 生成 p10请求"
content: '''
# openssl 生成 p10请求
## 生成私钥
openssl genrsa -des3 -out private_key.pem 1024\\2048
## 生成p10
openssl req -new -out cert.csr -key private_key... | 123585 | createdAt: "2018-07-10T01:40:37.448Z"
updatedAt: "2018-09-22T03:34:45.784Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "openssl 生成 p10请求"
content: '''
# openssl 生成 p10请求
## 生成私钥
openssl genrsa -des3 -out private_key.pem 1024\\2048
## 生成p10
openssl req -new -out cert.csr -key private_key... | true | createdAt: "2018-07-10T01:40:37.448Z"
updatedAt: "2018-09-22T03:34:45.784Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "openssl 生成 p10请求"
content: '''
# openssl 生成 p10请求
## 生成私钥
openssl genrsa -des3 -out private_key.pem 1024\\2048
## 生成p10
openssl req -new -out cert.csr -key private_key... |
[
{
"context": "er\", (done) ->\n user = new User(\n email: \"test@gmail.com\"\n password: \"password\"\n )\n user.save (",
"end": 736,
"score": 0.9999265670776367,
"start": 722,
"tag": "EMAIL",
"value": "test@gmail.com"
},
{
"context": "r(\n email: \"test@gmail... | development/server/test/models.coffee | SwingDev/MEAN-starter | 0 | chai = require("chai")
should = chai.should()
User = require("../models/User")
process.env.NODE_ENV = "test"
config = require("../config/config")
mongoose = require("mongoose")
before (done) ->
clearDB = ->
for i of mongoose.connection.collections
mongoose.connection.collections[i].remove((err, numberOfR... | 109925 | chai = require("chai")
should = chai.should()
User = require("../models/User")
process.env.NODE_ENV = "test"
config = require("../config/config")
mongoose = require("mongoose")
before (done) ->
clearDB = ->
for i of mongoose.connection.collections
mongoose.connection.collections[i].remove((err, numberOfR... | true | chai = require("chai")
should = chai.should()
User = require("../models/User")
process.env.NODE_ENV = "test"
config = require("../config/config")
mongoose = require("mongoose")
before (done) ->
clearDB = ->
for i of mongoose.connection.collections
mongoose.connection.collections[i].remove((err, numberOfR... |
[
{
"context": "p.Data.maps.create {dateCreated: new Date(), name: newMapName}\n\n @hide()\n\n # Chang",
"end": 2936,
"score": 0.8723249435424805,
"start": 2933,
"tag": "NAME",
"value": "new"
}
] | assets/js/view/createMapView.coffee | dmahlow/system | 0 | # CREATE MAP VIEW
# --------------------------------------------------------------------------
# Represents the "Create new map" overlay what shows up when user
# clicks a "Create new..." option on the top menu.
class SystemApp.CreateMapView extends SystemApp.OverlayView
$txtName: null # the text field to en... | 215288 | # CREATE MAP VIEW
# --------------------------------------------------------------------------
# Represents the "Create new map" overlay what shows up when user
# clicks a "Create new..." option on the top menu.
class SystemApp.CreateMapView extends SystemApp.OverlayView
$txtName: null # the text field to en... | true | # CREATE MAP VIEW
# --------------------------------------------------------------------------
# Represents the "Create new map" overlay what shows up when user
# clicks a "Create new..." option on the top menu.
class SystemApp.CreateMapView extends SystemApp.OverlayView
$txtName: null # the text field to en... |
[
{
"context": "and play with the commandline utility parameters\n# Dominique Da Silva / Nov 2014\n\n# 2018 Dec - Added support for Youtub",
"end": 188,
"score": 0.9998670220375061,
"start": 170,
"tag": "NAME",
"value": "Dominique Da Silva"
},
{
"context": "\n\n{\n\ncommand: \"\"\"/pat... | Youtube.widget/index.coffee | atika/Ubersicht-Youtube | 3 | # Ubersicht Youtube widget
# Display public statistics of a Youtube User Channel
# Change the path to the script below and play with the commandline utility parameters
# Dominique Da Silva / Nov 2014
# 2018 Dec - Added support for Youtube API v3 (cli app written in Go lang)
# 2014 Nov - A NodeJS app get the stats from... | 124557 | # Ubersicht Youtube widget
# Display public statistics of a Youtube User Channel
# Change the path to the script below and play with the commandline utility parameters
# <NAME> / Nov 2014
# 2018 Dec - Added support for Youtube API v3 (cli app written in Go lang)
# 2014 Nov - A NodeJS app get the stats from a public Yo... | true | # Ubersicht Youtube widget
# Display public statistics of a Youtube User Channel
# Change the path to the script below and play with the commandline utility parameters
# PI:NAME:<NAME>END_PI / Nov 2014
# 2018 Dec - Added support for Youtube API v3 (cli app written in Go lang)
# 2014 Nov - A NodeJS app get the stats fr... |
[
{
"context": "/utils/lookup'`\n\n\napplication = null\n\nTESTPASS = 'Pa$$w0rd'\n\nmodule('Integration: enroll',\n\n setup: (assert",
"end": 288,
"score": 0.9994516372680664,
"start": 280,
"tag": "PASSWORD",
"value": "Pa$$w0rd"
}
] | tests/acceptance/wallet/enroll-test.coffee | melis-wallet/melis-cm-client | 1 | `import { module, test, skip, moduleFor } from 'qunit'`
`import Ember from 'ember'`
`import config from '../../../config/environment'`
`import startApp from '../../helpers/start-app'`
`import { lookupService } from '../../helpers/utils/lookup'`
application = null
TESTPASS = 'Pa$$w0rd'
module('Integration: enroll',... | 154065 | `import { module, test, skip, moduleFor } from 'qunit'`
`import Ember from 'ember'`
`import config from '../../../config/environment'`
`import startApp from '../../helpers/start-app'`
`import { lookupService } from '../../helpers/utils/lookup'`
application = null
TESTPASS = '<PASSWORD>'
module('Integration: enroll... | true | `import { module, test, skip, moduleFor } from 'qunit'`
`import Ember from 'ember'`
`import config from '../../../config/environment'`
`import startApp from '../../helpers/start-app'`
`import { lookupService } from '../../helpers/utils/lookup'`
application = null
TESTPASS = 'PI:PASSWORD:<PASSWORD>END_PI'
module('I... |
[
{
"context": "isplay: 'Artist page', model: 'artist', display: 'zoe leonard' }\n { display: 'Partner Show Page', model:",
"end": 366,
"score": 0.9976785778999329,
"start": 355,
"tag": "NAME",
"value": "zoe leonard"
}
] | src/desktop/apps/search/test/collections/global_search_results.coffee | streamich/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: 'Artist... | 214804 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: 'Artist... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: 'Artist... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999192476272583,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-readdouble.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... | 142704 | # 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": "ge in backend\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Original page design :\n# IonizeCMS ",
"end": 86,
"score": 0.9994423389434814,
"start": 80,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": " IonizeCMS (http://www.ionizecms.com), \n# (c) P... | modules/backend/inline_views/view_users.coffee | nodize/nodizecms | 32 | # Users / groups management page in backend
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Original page design :
# IonizeCMS (http://www.ionizecms.com),
# (c) Partikule (http://www.partikule.net)
#
# CoffeeKup conversion & adaptation :
# Hypee (http://hypee.com)
#
# Licensed under the MIT license:
# http://... | 10460 | # Users / groups management page in backend
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Original page design :
# IonizeCMS (http://www.ionizecms.com),
# (c) Part<NAME>ule (http://www.partikule.net)
#
# CoffeeKup conversion & adaptation :
# Hypee (http://hypee.com)
#
# Licensed under the MIT license:
# htt... | true | # Users / groups management page in backend
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Original page design :
# IonizeCMS (http://www.ionizecms.com),
# (c) PartPI:NAME:<NAME>END_PIule (http://www.partikule.net)
#
# CoffeeKup conversion & adaptation :
# Hypee (http://hypee.com)
#
# Licensed under the MIT ... |
[
{
"context": "'''\nwatchOS : Device\n\n@auther Jungho song (threeword.com)\n@since 2016.11.23\n'''\nclass expor",
"end": 41,
"score": 0.9998555183410645,
"start": 30,
"tag": "NAME",
"value": "Jungho song"
}
] | modules/watchos-kit-device.coffee | framer-modules/watchos | 2 | '''
watchOS : Device
@auther Jungho song (threeword.com)
@since 2016.11.23
'''
class exports.Device extends Framer.BaseClass
# Events defined
Events.DigitalCrown = 'digitalCrown'
Events.Side = 'side'
# Haptic type
HapticType =
Notification: "haptics-notification"
DirectionUp: "haptics-directionUp"
Direct... | 207024 | '''
watchOS : Device
@auther <NAME> (threeword.com)
@since 2016.11.23
'''
class exports.Device extends Framer.BaseClass
# Events defined
Events.DigitalCrown = 'digitalCrown'
Events.Side = 'side'
# Haptic type
HapticType =
Notification: "haptics-notification"
DirectionUp: "haptics-directionUp"
DirectionDo... | true | '''
watchOS : Device
@auther PI:NAME:<NAME>END_PI (threeword.com)
@since 2016.11.23
'''
class exports.Device extends Framer.BaseClass
# Events defined
Events.DigitalCrown = 'digitalCrown'
Events.Side = 'side'
# Haptic type
HapticType =
Notification: "haptics-notification"
DirectionUp: "haptics-directionUp"... |
[
{
"context": "ets.js\n# =========\n\n# > version: 0.5.2\n# > author: Michael Richards\n# > license: MIT\n# >\n# > http://rivetsjs.com/\n\n# ",
"end": 72,
"score": 0.9997547268867493,
"start": 56,
"tag": "NAME",
"value": "Michael Richards"
}
] | src/rivets.coffee | dobtco/rivets | 0 | # Rivets.js
# =========
# > version: 0.5.2
# > author: Michael Richards
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ''
# Rivets.Binding
# --------------
# A single binding b... | 125452 | # Rivets.js
# =========
# > version: 0.5.2
# > author: <NAME>
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ''
# Rivets.Binding
# --------------
# A single binding between a m... | true | # Rivets.js
# =========
# > version: 0.5.2
# > author: PI:NAME:<NAME>END_PI
# > license: MIT
# >
# > http://rivetsjs.com/
# ---
# The Rivets namespace.
Rivets = {}
# Polyfill For `String::trim`.
unless String::trim then String::trim = -> @replace /^\s+|\s+$/g, ''
# Rivets.Binding
# --------------
# A single bindi... |
[
{
"context": "mail: $info.data('email')\n buyer_name: name\n buyer_tel: $info.data('phone')\n ",
"end": 1531,
"score": 0.978598952293396,
"start": 1527,
"tag": "NAME",
"value": "name"
}
] | public/assets/coffee/order-id-payment.coffee | ejang/OpenCloset-Share-Web | 2 | $ ->
IMP = window.IMP
IMP.init(CONFIG.iamport.id)
STATUS =
choose_address: 49 # 주소선택
payment_done: 50 # 결제완료
waiting_deposit: 56 # 입금대기
$('#btn-payment').click (e) ->
e.preventDefault()
$this = $(@)
$this.addClass('disabled')
# card: 신용카드
# trans: 실시간계좌이체
# vbank: 가상계좌... | 87064 | $ ->
IMP = window.IMP
IMP.init(CONFIG.iamport.id)
STATUS =
choose_address: 49 # 주소선택
payment_done: 50 # 결제완료
waiting_deposit: 56 # 입금대기
$('#btn-payment').click (e) ->
e.preventDefault()
$this = $(@)
$this.addClass('disabled')
# card: 신용카드
# trans: 실시간계좌이체
# vbank: 가상계좌... | true | $ ->
IMP = window.IMP
IMP.init(CONFIG.iamport.id)
STATUS =
choose_address: 49 # 주소선택
payment_done: 50 # 결제완료
waiting_deposit: 56 # 입금대기
$('#btn-payment').click (e) ->
e.preventDefault()
$this = $(@)
$this.addClass('disabled')
# card: 신용카드
# trans: 실시간계좌이체
# vbank: 가상계좌... |
[
{
"context": "er streams\n#\n# Author:\n# Based on tweetstream by Christophe Hamerling\n# Rewritten in coffeescript and transformed int",
"end": 92,
"score": 0.9998788833618164,
"start": 72,
"tag": "NAME",
"value": "Christophe Hamerling"
},
{
"context": "rmed into a class with au... | lib/twitter-tweetstream.coffee | inovadeveloper/zfbot | 11 | # Interact with twitter streams
#
# Author:
# Based on tweetstream by Christophe Hamerling
# Rewritten in coffeescript and transformed into a class with authorization # guards by Matthew Weier O'Phinney
_ = require('lodash')
Stream = require './twitter-stream'
TYPES = require './twitter-types'
class TweetStream... | 52734 | # Interact with twitter streams
#
# Author:
# Based on tweetstream by <NAME>
# Rewritten in coffeescript and transformed into a class with authorization # guards by <NAME>
_ = require('lodash')
Stream = require './twitter-stream'
TYPES = require './twitter-types'
class TweetStream
constructor: (@robot, @twit,... | true | # Interact with twitter streams
#
# Author:
# Based on tweetstream by PI:NAME:<NAME>END_PI
# Rewritten in coffeescript and transformed into a class with authorization # guards by PI:NAME:<NAME>END_PI
_ = require('lodash')
Stream = require './twitter-stream'
TYPES = require './twitter-types'
class TweetStream
... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998712539672852,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/bullet_chart_options.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 48083 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": " has_policy: 'yes'\n meta:\n creator: 'joe+doaj@oa.works'\n contributors: ['joe+doaj@oa.works']\n ",
"end": 10230,
"score": 0.9999215602874756,
"start": 10213,
"tag": "EMAIL",
"value": "joe+doaj@oa.works"
},
{
"context": "reator: 'joe+doaj@oa.work... | worker/src/permissions.coffee | oaworks/api | 0 |
P.permissions = (meta, ror, getmeta, oadoi, crossref) -> # oadoi and crossref are just ways for other functions to pass in oadoi or crossref record objects to save looking them up again
overall_policy_restriction = false
haddoi = false
_format = (rec) ->
if haddoi and rec.embargo_months and (meta.publish... | 85085 |
P.permissions = (meta, ror, getmeta, oadoi, crossref) -> # oadoi and crossref are just ways for other functions to pass in oadoi or crossref record objects to save looking them up again
overall_policy_restriction = false
haddoi = false
_format = (rec) ->
if haddoi and rec.embargo_months and (meta.publish... | true |
P.permissions = (meta, ror, getmeta, oadoi, crossref) -> # oadoi and crossref are just ways for other functions to pass in oadoi or crossref record objects to save looking them up again
overall_policy_restriction = false
haddoi = false
_format = (rec) ->
if haddoi and rec.embargo_months and (meta.publish... |
[
{
"context": "iew Tests for no-use-before-define rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 80,
"score": 0.999819815158844,
"start": 68,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-use-before-define.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-use-before-define rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-use-before-de... | 126953 | ###*
# @fileoverview Tests for no-use-before-define rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-use-before-define'
... | true | ###*
# @fileoverview Tests for no-use-before-define rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-use-b... |
[
{
"context": "om/articulate/grunt-release\n#\n# Copyright (c) 2013 Andrew Nordman\n# Licensed under the MIT license.\n#\n\nmodule.expor",
"end": 101,
"score": 0.9998000264167786,
"start": 87,
"tag": "NAME",
"value": "Andrew Nordman"
}
] | Gruntfile.coffee | articulate/grunt-release | 0 | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 Andrew Nordman
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'tasks/*.js'
'<%= nodeunit.tests %>'
]
options:
jshintrc: '.jshintrc'
... | 40622 | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'tasks/*.js'
'<%= nodeunit.tests %>'
]
options:
jshintrc: '.jshintrc'
clean... | true | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'tasks/*.js'
'<%= nodeunit.tests %>'
]
options:
jshintrc: '.jshint... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998487234115601,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/directives/char-picker.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 198035 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Yoanm <yoanm@users.noreply.github.com>\n\nforwardToRobotF",
"end": 481,
"score": 0.9408101439476013,
"start": 476,
"tag": "USERNAME",
"value": "Yoanm"
},
{
"context": "s required for the script>\n#\n# Author:\n# Yo... | src/hubot-slack-command-forwarder.coffee | yoanm/node-hubot-slack-command-forwarder | 0 | # Description
# Hubot script to manage slack command forwarding to hubot
#
# Configuration:
# SLACK_APP_TOKEN in case you want to use another token than the one used for hubot-slack adapter
#
# Commands:
# /hubot => hubot
# /hubot test2 => hubot test2
# /hubot test3 arg1 arg2 => hubot test3 arg1 arg2
# /sub... | 43085 | # Description
# Hubot script to manage slack command forwarding to hubot
#
# Configuration:
# SLACK_APP_TOKEN in case you want to use another token than the one used for hubot-slack adapter
#
# Commands:
# /hubot => hubot
# /hubot test2 => hubot test2
# /hubot test3 arg1 arg2 => hubot test3 arg1 arg2
# /sub... | true | # Description
# Hubot script to manage slack command forwarding to hubot
#
# Configuration:
# SLACK_APP_TOKEN in case you want to use another token than the one used for hubot-slack adapter
#
# Commands:
# /hubot => hubot
# /hubot test2 => hubot test2
# /hubot test3 arg1 arg2 => hubot test3 arg1 arg2
# /sub... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'iOpa'\n\n parse: ->\n @value = @file.readByte()",
"end": 134,
"score": 0.9742894172668457,
"start": 130,
"tag": "KEY",
"value": "iOpa"
}
] | lib/psd/layer_info/fill_opacity.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'iOpa'
parse: ->
@value = @file.readByte() | 120594 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
@value = @file.readByte() | true | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
@value = @file.readByte() |
[
{
"context": "ente mais tarde ou envie um email diretamente para guilherme.defreitas@gmail.com.</p><p>Obrigado!</p></div>\")\n\t\t\t\t\t$('#contact-mes",
"end": 1409,
"score": 0.9999241232872009,
"start": 1380,
"tag": "EMAIL",
"value": "guilherme.defreitas@gmail.com"
}
] | themes/default/assets/js/app.coffee | nextorigin/flat-white | 0 | class CanvasImage
constructor: (element, image) ->
this.image = image
this.element = element
this.element.width = this.image.width
this.element.height = this.image.height
this.context = this.element.getContext("2d")
this.context.drawImage(this.image, 0, 0)
blur: (passes) ->
this.context.globalAlpha ... | 181989 | class CanvasImage
constructor: (element, image) ->
this.image = image
this.element = element
this.element.width = this.image.width
this.element.height = this.image.height
this.context = this.element.getContext("2d")
this.context.drawImage(this.image, 0, 0)
blur: (passes) ->
this.context.globalAlpha ... | true | class CanvasImage
constructor: (element, image) ->
this.image = image
this.element = element
this.element.width = this.image.width
this.element.height = this.image.height
this.context = this.element.getContext("2d")
this.context.drawImage(this.image, 0, 0)
blur: (passes) ->
this.context.globalAlpha ... |
[
{
"context": "name: \"SyON\"\nscopeName: \"source.sy\"\nfileTypes: [\"sy\"]\npattern",
"end": 11,
"score": 0.8766459822654724,
"start": 7,
"tag": "USERNAME",
"value": "SyON"
},
{
"context": "ion\n\t\t\t\t(?<![-.,?:\\\\#;])\n\t\t\t\"\"\"\n\t\t},{\n\t\t\t# mailto:this@guy\n\t\t\tname: ... | grammars/syon.cson | Alhadis/language-regexp | 5 | name: "SyON"
scopeName: "source.sy"
fileTypes: ["sy"]
patterns: [include: "#blockInnards"]
repository:
main:
patterns: [
{include: "#signature"}
{include: "#comment"}
{include: "#regexp"}
{include: "#fieldQuotedEarly"}
{include: "#heredoc"}
{include: "#string"}
{include: "#stringJunk"}
{incl... | 52499 | name: "SyON"
scopeName: "source.sy"
fileTypes: ["sy"]
patterns: [include: "#blockInnards"]
repository:
main:
patterns: [
{include: "#signature"}
{include: "#comment"}
{include: "#regexp"}
{include: "#fieldQuotedEarly"}
{include: "#heredoc"}
{include: "#string"}
{include: "#stringJunk"}
{incl... | true | name: "SyON"
scopeName: "source.sy"
fileTypes: ["sy"]
patterns: [include: "#blockInnards"]
repository:
main:
patterns: [
{include: "#signature"}
{include: "#comment"}
{include: "#regexp"}
{include: "#fieldQuotedEarly"}
{include: "#heredoc"}
{include: "#string"}
{include: "#stringJunk"}
{incl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.