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": "g issues with folders.\n#\n# See https://github.com/layervault/psd.rb/issues/38\nmodule.exports = class NestedSec",
"end": 282,
"score": 0.9993666410446167,
"start": 272,
"tag": "USERNAME",
"value": "layervault"
},
{
"context": "xtends LayerInfo\n @shouldParse: (key) -... | lib/psd/layer_info/nested_section_divider.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
# Not 100% sure what the purpose of this key is, but it seems to exist
# whenever the lsct key doesn't. Parsing this like a layer section
# divider seems to solve a lot of parsing issues with folders.
#
# See https://github.com/layervault/psd.rb/issues/38
module.exports = cla... | 94556 | LayerInfo = require '../layer_info.coffee'
# Not 100% sure what the purpose of this key is, but it seems to exist
# whenever the lsct key doesn't. Parsing this like a layer section
# divider seems to solve a lot of parsing issues with folders.
#
# See https://github.com/layervault/psd.rb/issues/38
module.exports = cla... | true | LayerInfo = require '../layer_info.coffee'
# Not 100% sure what the purpose of this key is, but it seems to exist
# whenever the lsct key doesn't. Parsing this like a layer section
# divider seems to solve a lot of parsing issues with folders.
#
# See https://github.com/layervault/psd.rb/issues/38
module.exports = cla... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988697171211243,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-worker-no-exit.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... | 111593 | # 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": "ter : @props.onEnter\n key : \"#{def.type}-#{dataKey}\"\n , @constructFormFromDef(def, base)\n\n\n inpu",
"end": 3303,
"score": 0.9293578267097473,
"start": 3279,
"tag": "KEY",
"value": "\"#{def.type}-#{dataKey}\""
},
{
"context": "Enter ... | src/containers/mixins/Parser.coffee | vedantchoubey098/react-form-builder | 44 | React = require 'react'
Controls = require('../../controls/Controls')
Containers = require('../Containers')
extend = require("lodash/assign")
map = require("lodash/map")
clone = require("lodash/clone")
each = require("lodash/each")
tap = require("lodash/tap")
compact = require("lodash/compact")
ParserMixin =
propTyp... | 117816 | React = require 'react'
Controls = require('../../controls/Controls')
Containers = require('../Containers')
extend = require("lodash/assign")
map = require("lodash/map")
clone = require("lodash/clone")
each = require("lodash/each")
tap = require("lodash/tap")
compact = require("lodash/compact")
ParserMixin =
propTyp... | true | React = require 'react'
Controls = require('../../controls/Controls')
Containers = require('../Containers')
extend = require("lodash/assign")
map = require("lodash/map")
clone = require("lodash/clone")
each = require("lodash/each")
tap = require("lodash/tap")
compact = require("lodash/compact")
ParserMixin =
propTyp... |
[
{
"context": "###\ngrunt-coffee-redux\n\nCopyright (c) 2013 Moritz Heuser, contributors\nLicensed under the MIT license.\n###",
"end": 56,
"score": 0.9998395442962646,
"start": 43,
"tag": "NAME",
"value": "Moritz Heuser"
},
{
"context": "n\"\n\n #concat all cs, see: https://gith... | node_modules/grunt-ember-script/tasks/emberscript.coffee | rtablada/ember-walkthrough | 7 | ###
grunt-coffee-redux
Copyright (c) 2013 Moritz Heuser, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.registerMultiTask 'emberscript', 'Compile EmberScript files',()->
em = require 'ember-script'
path = require 'path'
write = (x)->
grunt.file.write x.fileNam... | 140478 | ###
grunt-coffee-redux
Copyright (c) 2013 <NAME>, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.registerMultiTask 'emberscript', 'Compile EmberScript files',()->
em = require 'ember-script'
path = require 'path'
write = (x)->
grunt.file.write x.fileName, x.co... | true | ###
grunt-coffee-redux
Copyright (c) 2013 PI:NAME:<NAME>END_PI, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.registerMultiTask 'emberscript', 'Compile EmberScript files',()->
em = require 'ember-script'
path = require 'path'
write = (x)->
grunt.file.write x.... |
[
{
"context": "This file contains logging function.\n *\n * @author Charles Bourasseau <charles.bourasseau@gmail.com>\n * @version 0.0.1\n",
"end": 91,
"score": 0.999880313873291,
"start": 73,
"tag": "NAME",
"value": "Charles Bourasseau"
},
{
"context": "gging function.\n *\n * @autho... | examples/fixtures/tags.coffee | cbou/markdox | 90 | ###
* # log.js
*
* This file contains logging function.
*
* @author Charles Bourasseau <charles.bourasseau@gmail.com>
* @version 0.0.1
* @deprecated
###
###!
* Ignored comment
###
###
* This method log a given message to the console.
*
* h3 Examples:
*
* log('It works!');
*
* @param {String} messag... | 218839 | ###
* # log.js
*
* This file contains logging function.
*
* @author <NAME> <<EMAIL>>
* @version 0.0.1
* @deprecated
###
###!
* Ignored comment
###
###
* This method log a given message to the console.
*
* h3 Examples:
*
* log('It works!');
*
* @param {String} message The message to log
* @return {... | true | ###
* # log.js
*
* This file contains logging function.
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @version 0.0.1
* @deprecated
###
###!
* Ignored comment
###
###
* This method log a given message to the console.
*
* h3 Examples:
*
* log('It works!');
*
* @param {String} message Th... |
[
{
"context": "\n#\n# heavyMethod: (arg) ->\n# key = \"heavyMethod-#{arg}\"\n# return @memoFor key if @memoized key\n#\n",
"end": 35715,
"score": 0.9917050004005432,
"start": 35696,
"tag": "KEY",
"value": "heavyMethod-#{arg}\""
},
{
"context": " @memoize key, res... | app/assets/javascripts/awesome_ui/mixins.js.coffee | abe33/awesome_form | 1 | isCommonJS = typeof module isnt "undefined"
if isCommonJS
exports = module.exports or {}
else
exports = window.mixins = {}
mixins = exports
mixins.version = '1.0.1'
mixins.CAMEL_CASE = 'camel'
mixins.SNAKE_CASE = 'snake'
mixins.deprecated = (message) ->
parseLine = (line) ->
if line.indexOf('@') > 0
... | 211961 | isCommonJS = typeof module isnt "undefined"
if isCommonJS
exports = module.exports or {}
else
exports = window.mixins = {}
mixins = exports
mixins.version = '1.0.1'
mixins.CAMEL_CASE = 'camel'
mixins.SNAKE_CASE = 'snake'
mixins.deprecated = (message) ->
parseLine = (line) ->
if line.indexOf('@') > 0
... | true | isCommonJS = typeof module isnt "undefined"
if isCommonJS
exports = module.exports or {}
else
exports = window.mixins = {}
mixins = exports
mixins.version = '1.0.1'
mixins.CAMEL_CASE = 'camel'
mixins.SNAKE_CASE = 'snake'
mixins.deprecated = (message) ->
parseLine = (line) ->
if line.indexOf('@') > 0
... |
[
{
"context": "d, please send us a note at\n <a href='mailto:support@#{globals.config.domains.mail}?subject=#{subject}'>\n",
"end": 2977,
"score": 0.9416900277137756,
"start": 2970,
"tag": "EMAIL",
"value": "support"
},
{
"context": "send us a note at\n <a href='mailto:suppo... | client/app/lib/payment/creditcardmodal.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
globals = require 'globals'
KDCustomHTMLView = kd.CustomHTMLView
KDButtonView = kd.ButtonView
PaymentBaseModal = require './paymentbasemodal'
StripeFormView = require './stripeformview'
PaymentForm = require './paymentform'
showError = require '../util/... | 112751 | kd = require 'kd'
globals = require 'globals'
KDCustomHTMLView = kd.CustomHTMLView
KDButtonView = kd.ButtonView
PaymentBaseModal = require './paymentbasemodal'
StripeFormView = require './stripeformview'
PaymentForm = require './paymentform'
showError = require '../util/... | true | kd = require 'kd'
globals = require 'globals'
KDCustomHTMLView = kd.CustomHTMLView
KDButtonView = kd.ButtonView
PaymentBaseModal = require './paymentbasemodal'
StripeFormView = require './stripeformview'
PaymentForm = require './paymentform'
showError = require '../util/... |
[
{
"context": "LAYER_NAME(p.playerid,'','') = '?'\"\n values: [\"Dan\", \"Tom\", \"JD\", \"Jeran\", \"Guest\", \"Spirk\"]\n }\n {",
"end": 284,
"score": 0.999801754951477,
"start": 281,
"tag": "NAME",
"value": "Dan"
},
{
"context": "AME(p.playerid,'','') = '?'\"\n values: [\"D... | queries/_runner.coffee | tphummel/tetris-latex | 0 | _ = require "underscore"
fs = require "fs"
async = require "async"
mkdirp = require "mkdirp"
db = require "../lib/db"
majors = [
{
name: "all"
values: ["all"]
}
{
name: "player"
sql: "GET_PLAYER_NAME(p.playerid,'','') = '?'"
values: ["Dan", "Tom", "JD", "Jeran", "Guest", "S... | 62050 | _ = require "underscore"
fs = require "fs"
async = require "async"
mkdirp = require "mkdirp"
db = require "../lib/db"
majors = [
{
name: "all"
values: ["all"]
}
{
name: "player"
sql: "GET_PLAYER_NAME(p.playerid,'','') = '?'"
values: ["<NAME>", "<NAME>", "<NAME>", "<NAME>", ... | true | _ = require "underscore"
fs = require "fs"
async = require "async"
mkdirp = require "mkdirp"
db = require "../lib/db"
majors = [
{
name: "all"
values: ["all"]
}
{
name: "player"
sql: "GET_PLAYER_NAME(p.playerid,'','') = '?'"
values: ["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>E... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988110661506653,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "d\n socket.send buf, 0, buf.length, common.PORT, \"127.0.0.1\", afterSend\n return\nITERATIO... | test/disabled/test-dgram-send-error.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... | 188592 | # 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": "perty is optional when using this method.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass UserRolesRpcReq",
"end": 229,
"score": 0.9998353719711304,
"start": 217,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/specification/request/rpc/UserRolesRpcRequest.coffee | qrefdev/qref | 0 | RpcRequest = require('../../../serialization/RpcRequest')
###
Object sent as the body of an HTTP POST request to retrieve the roles of an user.
@note The user property is optional when using this method.
@author Nathan Klick
@copyright QRef 2012
###
class UserRolesRpcRequest extends RpcRequest
###
@property... | 34592 | RpcRequest = require('../../../serialization/RpcRequest')
###
Object sent as the body of an HTTP POST request to retrieve the roles of an user.
@note The user property is optional when using this method.
@author <NAME>
@copyright QRef 2012
###
class UserRolesRpcRequest extends RpcRequest
###
@property [Obje... | true | RpcRequest = require('../../../serialization/RpcRequest')
###
Object sent as the body of an HTTP POST request to retrieve the roles of an user.
@note The user property is optional when using this method.
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
###
class UserRolesRpcRequest extends RpcRequest
###
@... |
[
{
"context": "data.skillsData =\n {\n nodes: [\n {\"name\":\"Konstantin Denerz\", \"group\":0,\"type\":\"root\",\"duration\":1, \"isFavori",
"end": 100,
"score": 0.9998448491096497,
"start": 83,
"tag": "NAME",
"value": "Konstantin Denerz"
}
] | coffee/data/skills.coffee | konstantindenerz/cv.konstantin.denerz.com | 1 | window.data = window.data or {}
data.skillsData =
{
nodes: [
{"name":"Konstantin Denerz", "group":0,"type":"root","duration":1, "isFavorite":false},
{"name":"Project: Dashboard", "group":5000,"type":"project","duration":2, "isFavorite":false},
{"name":"Project: Staffportal", "group":5000,"type"... | 188300 | window.data = window.data or {}
data.skillsData =
{
nodes: [
{"name":"<NAME>", "group":0,"type":"root","duration":1, "isFavorite":false},
{"name":"Project: Dashboard", "group":5000,"type":"project","duration":2, "isFavorite":false},
{"name":"Project: Staffportal", "group":5000,"type":"project",... | true | window.data = window.data or {}
data.skillsData =
{
nodes: [
{"name":"PI:NAME:<NAME>END_PI", "group":0,"type":"root","duration":1, "isFavorite":false},
{"name":"Project: Dashboard", "group":5000,"type":"project","duration":2, "isFavorite":false},
{"name":"Project: Staffportal", "group":5000,"ty... |
[
{
"context": "ntWidget\n\n setting = {}\n setting.key = \"tag-filter\"\n scope.settingsTags = []\n\n\n setting.in",
"end": 425,
"score": 0.9964752197265625,
"start": 415,
"tag": "KEY",
"value": "tag-filter"
}
] | src/components/widgets-settings/tag-filter/tag-filter.directive.coffee | maestrano/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.tag-filter',['ngTagsInput'])
module.directive('settingTagFilter', ($templateCache, $timeout) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
},
template: $templateCache.get('widgets-settings/tag-filter.tmpl.htm... | 71640 | module = angular.module('impac.components.widgets-settings.tag-filter',['ngTagsInput'])
module.directive('settingTagFilter', ($templateCache, $timeout) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
},
template: $templateCache.get('widgets-settings/tag-filter.tmpl.htm... | true | module = angular.module('impac.components.widgets-settings.tag-filter',['ngTagsInput'])
module.directive('settingTagFilter', ($templateCache, $timeout) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
},
template: $templateCache.get('widgets-settings/tag-filter.tmpl.htm... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andrew@gma",
"end": 17,
"score": 0.8640986680984497,
"start": 10,
"tag": "NAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andrew@gmail.com\n\n#= require new_sr... | source/javascripts/new_src/lights/ambient.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author aladjev.andrew@gmail.com
#= require new_src/lights/light
class AmbientLight extends THREE.Light
constructor: (hex) ->
super hex
namespace "THREE", (exports) ->
exports.AmbientLight = AmbientLight | 161355 | # @author <NAME> / http://mrdoob.com/
# @author <EMAIL>
#= require new_src/lights/light
class AmbientLight extends THREE.Light
constructor: (hex) ->
super hex
namespace "THREE", (exports) ->
exports.AmbientLight = AmbientLight | true | # @author PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/lights/light
class AmbientLight extends THREE.Light
constructor: (hex) ->
super hex
namespace "THREE", (exports) ->
exports.AmbientLight = AmbientLight |
[
{
"context": "rCase() if req.body.email?\n user.password = req.body.password if req.body.password\n user.firstName = req",
"end": 1155,
"score": 0.994354248046875,
"start": 1138,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | app/controllers/users.coffee | webzepter/cleveroad_test_task | 2 | module.exports = (app) ->
index: (req, res, next) ->
app.models.user
.find()
.populate('city')
.exec (err, users) ->
if err || !users
next err
else
res.render 'users/index', users: users
new: (req, res, next) ->
app.models.city
.find()
.sort('name')
.exec... | 23170 | module.exports = (app) ->
index: (req, res, next) ->
app.models.user
.find()
.populate('city')
.exec (err, users) ->
if err || !users
next err
else
res.render 'users/index', users: users
new: (req, res, next) ->
app.models.city
.find()
.sort('name')
.exec... | true | module.exports = (app) ->
index: (req, res, next) ->
app.models.user
.find()
.populate('city')
.exec (err, users) ->
if err || !users
next err
else
res.render 'users/index', users: users
new: (req, res, next) ->
app.models.city
.find()
.sort('name')
.exec... |
[
{
"context": "Can be an array or CSV string\n authors: [\"2015+ Chris Newton <chrisohpedia@gmail.com> (http://chrisnewton.me/a",
"end": 925,
"score": 0.9998293519020081,
"start": 913,
"tag": "NAME",
"value": "Chris Newton"
},
{
"context": " or CSV string\n authors: [\"2015+ Chr... | projectz.cson | AssemblerUI/assembler | 0 | {
# Project's human readable name
title: "Assembler"
# Project slug name
name: "assembler"
# Project GitHub repository full name
# If `repository` is set, or if `homepage` is a GitHub URL, we set this automatically
repo: "chrisopedia/assembler"
# Project's homepage URL
# If `repo`... | 222351 | {
# Project's human readable name
title: "Assembler"
# Project slug name
name: "assembler"
# Project GitHub repository full name
# If `repository` is set, or if `homepage` is a GitHub URL, we set this automatically
repo: "chrisopedia/assembler"
# Project's homepage URL
# If `repo`... | true | {
# Project's human readable name
title: "Assembler"
# Project slug name
name: "assembler"
# Project GitHub repository full name
# If `repository` is set, or if `homepage` is a GitHub URL, we set this automatically
repo: "chrisopedia/assembler"
# Project's homepage URL
# If `repo`... |
[
{
"context": "# A generic ui-button class\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Button extends Input\n\n #\n # Basic const",
"end": 70,
"score": 0.9998855590820312,
"start": 53,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/core/src/button.coffee | lovely-io/lovely.io-stl | 2 | #
# A generic ui-button class
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Button extends Input
#
# Basic constructor, can receive some additional HTML options
#
# @param {String} caption
# @param {Object} options
# @return {Button} self
#
constructor: (html, options)->
options = merge_options(... | 72583 | #
# A generic ui-button class
#
# Copyright (C) 2012 <NAME>
#
class Button extends Input
#
# Basic constructor, can receive some additional HTML options
#
# @param {String} caption
# @param {Object} options
# @return {Button} self
#
constructor: (html, options)->
options = merge_options(options, {
... | true | #
# A generic ui-button class
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Button extends Input
#
# Basic constructor, can receive some additional HTML options
#
# @param {String} caption
# @param {Object} options
# @return {Button} self
#
constructor: (html, options)->
options = merge_optio... |
[
{
"context": " super new floyd.Config\n id: 'userbackend'\n\n data:\n ",
"end": 165,
"score": 0.6503102779388428,
"start": 161,
"tag": "USERNAME",
"value": "user"
},
{
"context": "ass && saved?.pass\n data.pass = ... | modules/gui/platforms/node/lib/UserContext.coffee | nero-networks/floyd | 0 |
module.exports =
class UserContext extends floyd.Context
##
configure: (config)->
super new floyd.Config
id: 'userbackend'
data:
list:
fields: ['login', 'name', 'lastlogin', 'roles', 'email', 'active']
... | 21495 |
module.exports =
class UserContext extends floyd.Context
##
configure: (config)->
super new floyd.Config
id: 'userbackend'
data:
list:
fields: ['login', 'name', 'lastlogin', 'roles', 'email', 'active']
... | true |
module.exports =
class UserContext extends floyd.Context
##
configure: (config)->
super new floyd.Config
id: 'userbackend'
data:
list:
fields: ['login', 'name', 'lastlogin', 'roles', 'email', 'active']
... |
[
{
"context": "isspelled word is edited\", ->\n editor.setText('notaword')\n advanceClock(editor.getBuffer().getStoppedC",
"end": 2123,
"score": 0.657463014125824,
"start": 2115,
"tag": "NAME",
"value": "notaword"
},
{
"context": "s all the misspellings\", ->\n editor.setTe... | spec/spell-check-spec.coffee | AGilchrist0/spell-check-uk | 0 | describe "Spell check", ->
[workspaceElement, editor, editorElement, spellCheckModule] = []
textForMarker = (marker) ->
editor.getTextInBufferRange(marker.getRange())
getMisspellingMarkers = ->
spellCheckModule.misspellingMarkersForEditor(editor)
beforeEach ->
workspaceElement = atom.views.getVie... | 224202 | describe "Spell check", ->
[workspaceElement, editor, editorElement, spellCheckModule] = []
textForMarker = (marker) ->
editor.getTextInBufferRange(marker.getRange())
getMisspellingMarkers = ->
spellCheckModule.misspellingMarkersForEditor(editor)
beforeEach ->
workspaceElement = atom.views.getVie... | true | describe "Spell check", ->
[workspaceElement, editor, editorElement, spellCheckModule] = []
textForMarker = (marker) ->
editor.getTextInBufferRange(marker.getRange())
getMisspellingMarkers = ->
spellCheckModule.misspellingMarkersForEditor(editor)
beforeEach ->
workspaceElement = atom.views.getVie... |
[
{
"context": "\n db_options.auth = { username: user, password: pass }\n db_name = uri.pathname.substr(1)\n connection",
"end": 4607,
"score": 0.9911524653434753,
"start": 4603,
"tag": "PASSWORD",
"value": "pass"
}
] | Jakefile.coffee | lackac/omnicat | 1 | {print} = require 'sys'
http = require 'http'
{whilst, forEach} = require 'async'
ProgressBar = require 'progress'
desc "Fetch GitHub repos that have more than 1 watcher"
task 'fetch', (n, page) ->
{db} = getDB()
n = parseInt(n ? 750)
page = parseInt(page ? 1)
progress = new ProgressBar "[:bar] :percent (:elap... | 155568 | {print} = require 'sys'
http = require 'http'
{whilst, forEach} = require 'async'
ProgressBar = require 'progress'
desc "Fetch GitHub repos that have more than 1 watcher"
task 'fetch', (n, page) ->
{db} = getDB()
n = parseInt(n ? 750)
page = parseInt(page ? 1)
progress = new ProgressBar "[:bar] :percent (:elap... | true | {print} = require 'sys'
http = require 'http'
{whilst, forEach} = require 'async'
ProgressBar = require 'progress'
desc "Fetch GitHub repos that have more than 1 watcher"
task 'fetch', (n, page) ->
{db} = getDB()
n = parseInt(n ? 750)
page = parseInt(page ? 1)
progress = new ProgressBar "[:bar] :percent (:elap... |
[
{
"context": "asks = new Meteor.Collection('tasks')\nENTER_KEY = 13\n\nif Meteor.is_client\n\trefreshUI = ->\n\t\tallComplet",
"end": 53,
"score": 0.9834001064300537,
"start": 51,
"tag": "KEY",
"value": "13"
}
] | labs/architecture-examples/meteor/todo.coffee | whegreen/todomvc | 1 | Tasks = new Meteor.Collection('tasks')
ENTER_KEY = 13
if Meteor.is_client
refreshUI = ->
allCompleted = Tasks.find(completed: false).count() == 0
$('#toggle-all').prop 'checked', allCompleted
hasTask = Tasks.find().count() > 0
if hasTask
$('#main, #footer').removeClass('hidden')
else
$('#main, #foote... | 105795 | Tasks = new Meteor.Collection('tasks')
ENTER_KEY = <KEY>
if Meteor.is_client
refreshUI = ->
allCompleted = Tasks.find(completed: false).count() == 0
$('#toggle-all').prop 'checked', allCompleted
hasTask = Tasks.find().count() > 0
if hasTask
$('#main, #footer').removeClass('hidden')
else
$('#main, #fo... | true | Tasks = new Meteor.Collection('tasks')
ENTER_KEY = PI:KEY:<KEY>END_PI
if Meteor.is_client
refreshUI = ->
allCompleted = Tasks.find(completed: false).count() == 0
$('#toggle-all').prop 'checked', allCompleted
hasTask = Tasks.find().count() > 0
if hasTask
$('#main, #footer').removeClass('hidden')
else
... |
[
{
"context": "ectInvite\", ->\n\t\tbeforeEach ->\n\t\t\t@opts =\n\t\t\t\tto:\"bob@bob.com\"\n\t\t\t\tfirst_name:\"bob\"\n\t\t\t\towner:\n\t\t\t\t\temail:\"sall",
"end": 657,
"score": 0.9999028444290161,
"start": 646,
"tag": "EMAIL",
"value": "bob@bob.com"
},
{
"context": ">\n\t\t\t@o... | test/unit/coffee/Email/EmailBuilderTests.coffee | davidmehren/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Email/EmailBuilder"
expect = require("chai").expect
_ = require('underscore')
_.templateSettings =
i... | 196066 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Email/EmailBuilder"
expect = require("chai").expect
_ = require('underscore')
_.templateSettings =
i... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Email/EmailBuilder"
expect = require("chai").expect
_ = require('underscore')
_.templateSettings =
i... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998459815979004,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/materialize-form.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## 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... | 205565 | ############
##
## Copyright 2018 <NAME> & <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 ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & 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... |
[
{
"context": "le.maps.ImageMapType\n maxZoom: 7\n alt: 'Tyria'\n name: 'Tyria'\n tileSize: new google.m",
"end": 1891,
"score": 0.9993448257446289,
"start": 1886,
"tag": "NAME",
"value": "Tyria"
},
{
"context": "\n maxZoom: 7\n alt: 'Tyria'\n name: ... | coffee/app/directives.coffee | berwyn/tyrian-explorer-chrome | 0 | directives = angular.module 'gw2.directives', []
directives
.directive 'sidebar', () ->
restrict: 'E'
replace: true
transclude: true
templateUrl: 'partials/sidebar.html'
controller: ($scope) ->
link: (scope, element, attrs) ->
element.affix
offset:
top: 0
left: 0
bottom: 0... | 82223 | directives = angular.module 'gw2.directives', []
directives
.directive 'sidebar', () ->
restrict: 'E'
replace: true
transclude: true
templateUrl: 'partials/sidebar.html'
controller: ($scope) ->
link: (scope, element, attrs) ->
element.affix
offset:
top: 0
left: 0
bottom: 0... | true | directives = angular.module 'gw2.directives', []
directives
.directive 'sidebar', () ->
restrict: 'E'
replace: true
transclude: true
templateUrl: 'partials/sidebar.html'
controller: ($scope) ->
link: (scope, element, attrs) ->
element.affix
offset:
top: 0
left: 0
bottom: 0... |
[
{
"context": " href: url\n key: \"tab-#{index}\"\n ,\n ",
"end": 1288,
"score": 0.7048619389533997,
"start": 1288,
"tag": "KEY",
"value": ""
},
{
"context": "e rules:\n# If a name is provided => Contact Name <address@co... | client/app/components/basic_components.coffee | gelnior/cozy-emails | 0 | {createClass, createFactory, PropTypes, DOM} = require 'react'
classNames = require 'classnames'
{
div
section
h3
h4
ul
li
a
i
button
span
fieldset
legend
img
form
} = DOM
PropTypes = require '../libs/prop_types'
registry = {}
... | 98800 | {createClass, createFactory, PropTypes, DOM} = require 'react'
classNames = require 'classnames'
{
div
section
h3
h4
ul
li
a
i
button
span
fieldset
legend
img
form
} = DOM
PropTypes = require '../libs/prop_types'
registry = {}
... | true | {createClass, createFactory, PropTypes, DOM} = require 'react'
classNames = require 'classnames'
{
div
section
h3
h4
ul
li
a
i
button
span
fieldset
legend
img
form
} = DOM
PropTypes = require '../libs/prop_types'
registry = {}
... |
[
{
"context": "* grunt-rails-asset-digest\n# * https://github.com/davemo/grunt-rails-asset-digest\n# *\n# * Copyright (c) 20",
"end": 60,
"score": 0.99970543384552,
"start": 54,
"tag": "USERNAME",
"value": "davemo"
},
{
"context": "runt-rails-asset-digest\n# *\n# * Copyright (c) 2013 ... | Gruntfile.coffee | davemo/grunt-rails-asset-digest | 9 | #
# * grunt-rails-asset-digest
# * https://github.com/davemo/grunt-rails-asset-digest
# *
# * Copyright (c) 2013 David Mosher
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-jasmine-bundle"
grunt.initConfig
spec:
e2e:
options:
mi... | 104233 | #
# * grunt-rails-asset-digest
# * https://github.com/davemo/grunt-rails-asset-digest
# *
# * Copyright (c) 2013 <NAME>
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-jasmine-bundle"
grunt.initConfig
spec:
e2e:
options:
minijasm... | true | #
# * grunt-rails-asset-digest
# * https://github.com/davemo/grunt-rails-asset-digest
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-jasmine-bundle"
grunt.initConfig
spec:
e2e:
options:
... |
[
{
"context": "(\n usernameField: 'email',\n passwordField: 'password',\n passReqToCallback: true # allows passing ba",
"end": 2335,
"score": 0.9995152354240417,
"start": 2327,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "email = email\n newUser.local.pa... | src/config/passport.coffee | tonymuu/koalie-backend | 0 | # load all things
LocalStrategy = require('passport-local').Strategy
FacebookStrategy = require('passport-facebook').Strategy
FacebookTokenStrategy = require('passport-facebook-token')
User = require '../app/models/User'
configAuth = require './auth.js'
module.exports = (passport) ->
# passport session setup, for ... | 195353 | # load all things
LocalStrategy = require('passport-local').Strategy
FacebookStrategy = require('passport-facebook').Strategy
FacebookTokenStrategy = require('passport-facebook-token')
User = require '../app/models/User'
configAuth = require './auth.js'
module.exports = (passport) ->
# passport session setup, for ... | true | # load all things
LocalStrategy = require('passport-local').Strategy
FacebookStrategy = require('passport-facebook').Strategy
FacebookTokenStrategy = require('passport-facebook-token')
User = require '../app/models/User'
configAuth = require './auth.js'
module.exports = (passport) ->
# passport session setup, for ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994180798530579,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "unicode/char/2026/index.htm\n\n# https://github.com/joyent/node/issues/2320\n\n# pause and the... | test/simple/test-fs-read-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... | 93327 | # 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": "s uninstalling command\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nlovelyrc = require('../lovelyrc')\n\nuninstall = ",
"end": 79,
"score": 0.9998862743377686,
"start": 62,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/uninstall.coffee | lovely-io/lovely.io-stl | 2 | #
# Packages uninstalling command
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
lovelyrc = require('../lovelyrc')
uninstall = (names)->
if args = names[0].match(/^(.+)\-(\d+\.\d+\.\d+)$/)
args = [args[1], args[2]]
else
args = [names[0], undefined]
names.shift()
location = lovelyrc.base + "package... | 96131 | #
# Packages uninstalling command
#
# Copyright (C) 2011-2012 <NAME>
#
lovelyrc = require('../lovelyrc')
uninstall = (names)->
if args = names[0].match(/^(.+)\-(\d+\.\d+\.\d+)$/)
args = [args[1], args[2]]
else
args = [names[0], undefined]
names.shift()
location = lovelyrc.base + "packages/#{args[0]... | true | #
# Packages uninstalling command
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
lovelyrc = require('../lovelyrc')
uninstall = (names)->
if args = names[0].match(/^(.+)\-(\d+\.\d+\.\d+)$/)
args = [args[1], args[2]]
else
args = [names[0], undefined]
names.shift()
location = lovelyrc.base + "pack... |
[
{
"context": "rmbuilder.registerField 'serialnumber',\n\n name: 'serial number'\n\n order: 40\n\n view: \"\"\"\n <% var initial_val",
"end": 65,
"score": 0.7231223583221436,
"start": 52,
"tag": "NAME",
"value": "serial number"
}
] | src/scripts/fields/serialnumber.coffee | SanjayHarkaj/formbuilder_custom | 0 | Formbuilder.registerField 'serialnumber',
name: 'serial number'
order: 40
view: """
<% var initial_value = rf.get(Formbuilder.options.mappings.INITIAL_VALUE); %>
<input type='text' value='<%= initial_value %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """
"""
... | 52947 | Formbuilder.registerField 'serialnumber',
name: '<NAME>'
order: 40
view: """
<% var initial_value = rf.get(Formbuilder.options.mappings.INITIAL_VALUE); %>
<input type='text' value='<%= initial_value %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """
"""
addBu... | true | Formbuilder.registerField 'serialnumber',
name: 'PI:NAME:<NAME>END_PI'
order: 40
view: """
<% var initial_value = rf.get(Formbuilder.options.mappings.INITIAL_VALUE); %>
<input type='text' value='<%= initial_value %>' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: """... |
[
{
"context": "###\nSGF libarary\n(C) 2013-2014 ICHIKAWA, Yuji (New 3 Rs)\n###\n###\n# jssgf.parse to parse S",
"end": 39,
"score": 0.6975526213645935,
"start": 31,
"tag": "NAME",
"value": "ICHIKAWA"
}
] | extension.coffee | y-ich/jssgf | 0 | ###
SGF libarary
(C) 2013-2014 ICHIKAWA, Yuji (New 3 Rs)
###
###
# jssgf.parse to parse SGF string
# jssgf.isSgf to check if a string is SGF
# jssgf.nthMoveNode to get a node of nth move
###
parser.stringify = (c) ->
###
stringifies collection c
parser is a export variable generated by jison
###
c.... | 123560 | ###
SGF libarary
(C) 2013-2014 <NAME>, Yuji (New 3 Rs)
###
###
# jssgf.parse to parse SGF string
# jssgf.isSgf to check if a string is SGF
# jssgf.nthMoveNode to get a node of nth move
###
parser.stringify = (c) ->
###
stringifies collection c
parser is a export variable generated by jison
###
c.ma... | true | ###
SGF libarary
(C) 2013-2014 PI:NAME:<NAME>END_PI, Yuji (New 3 Rs)
###
###
# jssgf.parse to parse SGF string
# jssgf.isSgf to check if a string is SGF
# jssgf.nthMoveNode to get a node of nth move
###
parser.stringify = (c) ->
###
stringifies collection c
parser is a export variable generated by jison
... |
[
{
"context": "lestone.endDate and !milestone.removed\n key = \"#{milestone.projectId}-#{milestone.band}\"\n (milestoneBands[key] ||=\n key: key\n ",
"end": 6362,
"score": 0.9951803088188171,
"start": 6320,
"tag": "KEY",
"value": "\"#{milestone.projectId}-#{milestone.band}\""... | app/assets/javascripts/houston/roadmap/views/_roadmap_view.coffee | houstonmc/houston-roadmap | 0 | class Roadmap.RoadmapView
today: new Date()
constructor: (@milestones, options={})->
@showToday = options.showToday ? true
@showThumbnail = options.showThumbnail ? true
@showWeekends = options.showWeekends ? false
@linkMilestones = options.linkMilestones ? false
@showProgress = options.showProg... | 206195 | class Roadmap.RoadmapView
today: new Date()
constructor: (@milestones, options={})->
@showToday = options.showToday ? true
@showThumbnail = options.showThumbnail ? true
@showWeekends = options.showWeekends ? false
@linkMilestones = options.linkMilestones ? false
@showProgress = options.showProg... | true | class Roadmap.RoadmapView
today: new Date()
constructor: (@milestones, options={})->
@showToday = options.showToday ? true
@showThumbnail = options.showThumbnail ? true
@showWeekends = options.showWeekends ? false
@linkMilestones = options.linkMilestones ? false
@showProgress = options.showProg... |
[
{
"context": "-10-01 19:53:52,dsa 柚sad, asdsadas,2323,sadasadsa,tetete@tetetete.com,Test overview,sadasdsadsadsadsadsadsa\n\n# サポートをして頂",
"end": 238,
"score": 0.9998551607131958,
"start": 219,
"tag": "EMAIL",
"value": "tetete@tetetete.com"
}
] | node_modules/csv-parse/test.coffee | Balavantaray/CA-FileSystem | 0 |
fs = require 'fs'
parse = require '.'
# parse """
# deal_id,deal_time,staff_name,deal_group,customer_id,customer_name,mail_addr,overview,contents,status
# 2222832,2018-10-01 19:53:52,dsa 柚sad, asdsadas,2323,sadasadsa,tetete@tetetete.com,Test overview,sadasdsadsadsadsadsadsa
# サポートをして頂けるという事で是非お願いしたいと思います。宜しくお願いします。"... | 174831 |
fs = require 'fs'
parse = require '.'
# parse """
# deal_id,deal_time,staff_name,deal_group,customer_id,customer_name,mail_addr,overview,contents,status
# 2222832,2018-10-01 19:53:52,dsa 柚sad, asdsadas,2323,sadasadsa,<EMAIL>,Test overview,sadasdsadsadsadsadsadsa
# サポートをして頂けるという事で是非お願いしたいと思います。宜しくお願いします。",対応中”,
# """... | true |
fs = require 'fs'
parse = require '.'
# parse """
# deal_id,deal_time,staff_name,deal_group,customer_id,customer_name,mail_addr,overview,contents,status
# 2222832,2018-10-01 19:53:52,dsa 柚sad, asdsadas,2323,sadasadsa,PI:EMAIL:<EMAIL>END_PI,Test overview,sadasdsadsadsadsadsadsa
# サポートをして頂けるという事で是非お願いしたいと思います。宜しくお願いしま... |
[
{
"context": " config.get(\"qiniuKeyPrefix\") || \"\"\n key = \"#{keyPrefix}/#{YYYYMMDD}/#{HHmmss}#{rs}#{extname}\"\n key = utils.normalizeFilePath(key)\n return if ",
"end": 1333,
"score": 0.9789752960205078,
"start": 1288,
"tag": "KEY",
"value": "Prefix}/#{YYYYMMDD}/#{HHmmss}#{rs}#{extn... | lib/helpers/qiniu-uploader.coffee | chenghm123/md-writer-qiniu | 1 | utility = require "utility"
qiniu = require "qiniu"
config = require "../config"
utils = require "../utils"
complete = (respErr, respBody, respInfo, callback) ->
if respErr
callback({success: false, message: respErr.message})
else if respInfo.statusCode == 200
domain = config.get("qiniuDomain")
domai... | 97513 | utility = require "utility"
qiniu = require "qiniu"
config = require "../config"
utils = require "../utils"
complete = (respErr, respBody, respInfo, callback) ->
if respErr
callback({success: false, message: respErr.message})
else if respInfo.statusCode == 200
domain = config.get("qiniuDomain")
domai... | true | utility = require "utility"
qiniu = require "qiniu"
config = require "../config"
utils = require "../utils"
complete = (respErr, respBody, respInfo, callback) ->
if respErr
callback({success: false, message: respErr.message})
else if respInfo.statusCode == 200
domain = config.get("qiniuDomain")
domai... |
[
{
"context": "E) (api.coffee)\n#\n# Air Sciences Inc. - 2016\n# Jacob Fielding\n#\n\nwindow.Plotter ||= {}\n\nwindow.Plotter.API = cl",
"end": 152,
"score": 0.9996989369392395,
"start": 138,
"tag": "NAME",
"value": "Jacob Fielding"
}
] | coffee/api.coffee | airsciences/metplotter | 0 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - API XHR (GET/PUT/POST/DELETE) (api.coffee)
#
# Air Sciences Inc. - 2016
# Jacob Fielding
#
window.Plotter ||= {}
window.Plotter.API = class API
constructor: (access, async) ->
@preError = "Plotter.API"
preError = "#{@preError}.constructor()"
... | 69170 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - API XHR (GET/PUT/POST/DELETE) (api.coffee)
#
# Air Sciences Inc. - 2016
# <NAME>
#
window.Plotter ||= {}
window.Plotter.API = class API
constructor: (access, async) ->
@preError = "Plotter.API"
preError = "#{@preError}.constructor()"
# Con... | true | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - API XHR (GET/PUT/POST/DELETE) (api.coffee)
#
# Air Sciences Inc. - 2016
# PI:NAME:<NAME>END_PI
#
window.Plotter ||= {}
window.Plotter.API = class API
constructor: (access, async) ->
@preError = "Plotter.API"
preError = "#{@preError}.constructor... |
[
{
"context": "ar\"\n and: \"y\"\n back: \"atrás\"\n changePassword: \"Cambiar Contraseña\"\n choosePassword: \"Eligir Contraseña\"\n cli",
"end": 144,
"score": 0.7513383030891418,
"start": 131,
"tag": "PASSWORD",
"value": "Cambiar Contr"
},
{
"context": "Password: \"Cambiar Cont... | t9n/es_ES.coffee | tnedich/meteor-accounts-t9n | 0 | #Language: Spanish
#Translators: softwarerero, maomorales
es_ES =
add: "agregar"
and: "y"
back: "atrás"
changePassword: "Cambiar Contraseña"
choosePassword: "Eligir Contraseña"
clickAgree: "Si haces clic en Crear Cuenta estás de acuerdo con la"
configure: "Configurar"
createAccount: "Crear cuenta"
c... | 108445 | #Language: Spanish
#Translators: softwarerero, maomorales
es_ES =
add: "agregar"
and: "y"
back: "atrás"
changePassword: "<PASSWORD>aseña"
choosePassword: "<PASSWORD>"
clickAgree: "Si haces clic en Crear Cuenta estás de acuerdo con la"
configure: "Configurar"
createAccount: "Crear cuenta"
currentPass... | true | #Language: Spanish
#Translators: softwarerero, maomorales
es_ES =
add: "agregar"
and: "y"
back: "atrás"
changePassword: "PI:PASSWORD:<PASSWORD>END_PIaseña"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Si haces clic en Crear Cuenta estás de acuerdo con la"
configure: "Configurar"
createA... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi",
"end": 27,
"score": 0.9998741149902344,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi... | src/env.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
Env = ->
# set const variable
PRODUCTION = 'staging'
DEVELOPMENT = 'development'
STAGING = 'staging'
# default environment
environ... | 208116 | ###
# @author <NAME> <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
Env = ->
# set const variable
PRODUCTION = 'staging'
DEVELOPMENT = 'development'
STAGING = 'staging'
# default environment
environment =... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
Env = ->
# set const variable
PRODUCTION = 'staging'
DEVELOPMENT = 'development'
STAGING = 'staging'
# default environment
... |
[
{
"context": "\n t.infoLink href: 'https://github.com/forrestc', 'Forrest Cao'\n t.infoLine ->\n ",
"end": 4160,
"score": 0.9995738863945007,
"start": 4152,
"tag": "USERNAME",
"value": "forrestc"
},
{
"context": "Link href: 'https://github.com/forrestc', '... | examples/todomvc/coffee/TodoMvc.coffee | forrestc/dry-coffee | 0 | import { every, find, filter, isEmpty, pick, remove } from 'lodash'
import { Component, Store } from '../../../lib/superdry'
import theme from './theme'
import api from './apiDriver'
# Stores
class Entry extends Store
setup: (load = {}) ->
description: load?.description or ''
completed: load?.completed or f... | 191886 | import { every, find, filter, isEmpty, pick, remove } from 'lodash'
import { Component, Store } from '../../../lib/superdry'
import theme from './theme'
import api from './apiDriver'
# Stores
class Entry extends Store
setup: (load = {}) ->
description: load?.description or ''
completed: load?.completed or f... | true | import { every, find, filter, isEmpty, pick, remove } from 'lodash'
import { Component, Store } from '../../../lib/superdry'
import theme from './theme'
import api from './apiDriver'
# Stores
class Entry extends Store
setup: (load = {}) ->
description: load?.description or ''
completed: load?.completed or f... |
[
{
"context": "icons/jinshuju@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readonly: true\n descript",
"end": 1131,
"score": 0.5801993608474731,
"start": 1121,
"tag": "KEY",
"value": "webhookUrl"
}
] | src/services/jinshuju.coffee | jianliaoim/talk-services | 40 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message =
attachments: [
category: 'quote'
data:
text: "#{payload.entry?.creator_name} 添加了新的数据"
redirectUrl: "https://jinshuju.net/forms/#{payload.form}/entries"
]
message
module.exports = ->
@title = ... | 182301 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message =
attachments: [
category: 'quote'
data:
text: "#{payload.entry?.creator_name} 添加了新的数据"
redirectUrl: "https://jinshuju.net/forms/#{payload.form}/entries"
]
message
module.exports = ->
@title = ... | true | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message =
attachments: [
category: 'quote'
data:
text: "#{payload.entry?.creator_name} 添加了新的数据"
redirectUrl: "https://jinshuju.net/forms/#{payload.form}/entries"
]
message
module.exports = ->
@title = ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999079704284668,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/kudosu.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import * as React from 'react'
import { a, div, h3, ul, li, p, span } from 'react-dom-factories'
imp... | 100886 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import * as React from 'react'
import { a, div, h3, ul, li, p, span } from 'react-dom-factories'
import { S... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import * as React from 'react'
import { a, div, h3, ul, li, p, span } from 'react-dom-factor... |
[
{
"context": "\n\n\ndescribe 'groups', () ->\n\n\ttestGroup =\n\t\tkey:\t'abcdefg'\n\t\tlocked:\ttrue\n\n\tit 'should `add` & `get` data c",
"end": 215,
"score": 0.9994128942489624,
"start": 208,
"tag": "KEY",
"value": "abcdefg"
},
{
"context": "\n\ndescribe 'users', () ->\n\n\ttestU... | test.coffee | derhuerst/shout-orm | 0 | mocha = require 'mocha'
assert = require 'assert'
shortid = require 'shortid'
orm = require './src/index'
# todo: start redis first
orm.connect()
describe 'groups', () ->
testGroup =
key: 'abcdefg'
locked: true
it 'should `add` & `get` data correctly', (done) ->
orm.groups.add 'one', testGroup.... | 9867 | mocha = require 'mocha'
assert = require 'assert'
shortid = require 'shortid'
orm = require './src/index'
# todo: start redis first
orm.connect()
describe 'groups', () ->
testGroup =
key: '<KEY>'
locked: true
it 'should `add` & `get` data correctly', (done) ->
orm.groups.add 'one', testGroup.ke... | true | mocha = require 'mocha'
assert = require 'assert'
shortid = require 'shortid'
orm = require './src/index'
# todo: start redis first
orm.connect()
describe 'groups', () ->
testGroup =
key: 'PI:KEY:<KEY>END_PI'
locked: true
it 'should `add` & `get` data correctly', (done) ->
orm.groups.add 'one',... |
[
{
"context": " key_3: 'value 3, {{key_4}}'\n key_4: 'value 4'\n , partial: key_1: true\n context.key_1.sho",
"end": 225,
"score": 0.9148073196411133,
"start": 224,
"tag": "KEY",
"value": "4"
},
{
"context": " key_3: 'value 3, {{key_4}}'\n key_4: 'value 4'\n , p... | test/option.partial.coffee | adaltas/klotho | 0 |
templated = require '../src'
describe 'option.partial', ->
it 'root', ->
context = templated
key_1: 'value 1, {{key_3}}'
key_2: 'value 2, {{key_3}}'
key_3: 'value 3, {{key_4}}'
key_4: 'value 4'
, partial: key_1: true
context.key_1.should.eql 'value 1, value 3, {{key_4}}'
con... | 164307 |
templated = require '../src'
describe 'option.partial', ->
it 'root', ->
context = templated
key_1: 'value 1, {{key_3}}'
key_2: 'value 2, {{key_3}}'
key_3: 'value 3, {{key_4}}'
key_4: 'value <KEY>'
, partial: key_1: true
context.key_1.should.eql 'value 1, value 3, {{key_4}}'
... | true |
templated = require '../src'
describe 'option.partial', ->
it 'root', ->
context = templated
key_1: 'value 1, {{key_3}}'
key_2: 'value 2, {{key_3}}'
key_3: 'value 3, {{key_4}}'
key_4: 'value PI:KEY:<KEY>END_PI'
, partial: key_1: true
context.key_1.should.eql 'value 1, value 3, {... |
[
{
"context": "t \"calls run with key\", ->\n @parse(\"run --key asdf\")\n expect(run.start).to.be.calledWith(undefi",
"end": 1330,
"score": 0.9836292266845703,
"start": 1326,
"tag": "KEY",
"value": "asdf"
},
{
"context": "ect(run.start).to.be.calledWith(undefined, {key: \"a... | test/commands/run_spec.coffee | cypress-io/cypress-cli | 49 | path = require("path")
pkg = require("../../package")
utils = require("../../lib/utils")
install = require("../../lib/commands/install")
run = require("../../lib/commands/run")
describe "run", ->
context "cli interface", ->
beforeEach ->
@sandbox.stub(run, "start")
@parse = (args) ->
... | 73371 | path = require("path")
pkg = require("../../package")
utils = require("../../lib/utils")
install = require("../../lib/commands/install")
run = require("../../lib/commands/run")
describe "run", ->
context "cli interface", ->
beforeEach ->
@sandbox.stub(run, "start")
@parse = (args) ->
... | true | path = require("path")
pkg = require("../../package")
utils = require("../../lib/utils")
install = require("../../lib/commands/install")
run = require("../../lib/commands/run")
describe "run", ->
context "cli interface", ->
beforeEach ->
@sandbox.stub(run, "start")
@parse = (args) ->
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999125599861145,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/stats.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapBasicStats } from 'beatmap-basic-stats'
import * as React from 'react'
import { a, div, span, table, tbody, td, th, tr, i } from ... | 104675 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapBasicStats } from 'beatmap-basic-stats'
import * as React from 'react'
import { a, div, span, table, tbody, td, th, tr, i } from 'react-... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapBasicStats } from 'beatmap-basic-stats'
import * as React from 'react'
import { a, div, span, table, tbody, td, th, tr, i... |
[
{
"context": "e mail directly using mailin\n# https://github.com/Flolagale/mailin\n# mailin can optionally use spamassassin i",
"end": 86,
"score": 0.9997115135192871,
"start": 77,
"tag": "USERNAME",
"value": "Flolagale"
},
{
"context": "l-listener2 or mail-notifier\n# https://github... | server/mail.coffee | leviathanindustries/noddy | 2 |
# add an ability to receive mail directly using mailin
# https://github.com/Flolagale/mailin
# mailin can optionally use spamassassin if present:
# sudo aptitude install spamassassin spamc
# https://www.alibabacloud.com/blog/how-to-setup-spamassassin-with-postfix-on-ubuntu-16-04_594878
# and allow port 25 for smtp
# a... | 138410 |
# add an ability to receive mail directly using mailin
# https://github.com/Flolagale/mailin
# mailin can optionally use spamassassin if present:
# sudo aptitude install spamassassin spamc
# https://www.alibabacloud.com/blog/how-to-setup-spamassassin-with-postfix-on-ubuntu-16-04_594878
# and allow port 25 for smtp
# a... | true |
# add an ability to receive mail directly using mailin
# https://github.com/Flolagale/mailin
# mailin can optionally use spamassassin if present:
# sudo aptitude install spamassassin spamc
# https://www.alibabacloud.com/blog/how-to-setup-spamassassin-with-postfix-on-ubuntu-16-04_594878
# and allow port 25 for smtp
# a... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.8723818063735962,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecMinimapLayer.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (
kin
) ->
"use strict"
view_factory = (attributes) ->
stage = @getView().getSta... | 67297 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (
kin
) ->
"use strict"
view_factory = (attributes) ->
stage = @getView().getSt... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (
kin
) ->
"use strict"
view_factory = (attributes) ->
stage = @g... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998469352722168,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/semantic/flavours.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... | 5221 | ###
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": "es = require 'cookies-js'\n\nclass Inverter\n key: 'is-inverted'\n i: 73\n\n constructor: ->\n $(document).keydo",
"end": 66,
"score": 0.9843763709068298,
"start": 55,
"tag": "KEY",
"value": "is-inverted"
}
] | components/night_mode/index.coffee | 1aurabrown/ervell | 118 | Cookies = require 'cookies-js'
class Inverter
key: 'is-inverted'
i: 73
constructor: ->
$(document).keydown (e) =>
if e.ctrlKey and e.shiftKey and e.which is @i
@toggle()
init: ->
@enable() if @enabled()
enabled: (state) ->
Cookies.get(@key) is '1'
enable: ->
(@$el ?= $('ht... | 127496 | Cookies = require 'cookies-js'
class Inverter
key: '<KEY>'
i: 73
constructor: ->
$(document).keydown (e) =>
if e.ctrlKey and e.shiftKey and e.which is @i
@toggle()
init: ->
@enable() if @enabled()
enabled: (state) ->
Cookies.get(@key) is '1'
enable: ->
(@$el ?= $('html')).... | true | Cookies = require 'cookies-js'
class Inverter
key: 'PI:KEY:<KEY>END_PI'
i: 73
constructor: ->
$(document).keydown (e) =>
if e.ctrlKey and e.shiftKey and e.which is @i
@toggle()
init: ->
@enable() if @enabled()
enabled: (state) ->
Cookies.get(@key) is '1'
enable: ->
(@$el ?... |
[
{
"context": " stdout.should.string(\n '<person>\\n <name>Kenji Doi</name>\\n <age>31</age>\\n</person>'\n )\n ",
"end": 1260,
"score": 0.9996536374092102,
"start": 1251,
"tag": "NAME",
"value": "Kenji Doi"
},
{
"context": " stdout.should.string(\n '<person>\... | test/cli-test.coffee | knjcode/autometa | 0 | chai = require 'chai'
chai.should()
exec = require('child_process').exec
pack = require '../package.json'
cmd = 'node bin/autometa.js '
version = cmd + '-v'
help = cmd + '-h'
output_stdout = cmd + '-o /dev/stdout test/test.xlsx'
output_hyphen = cmd + '-o - test/test.xlsx'
template = cmd + '-o - -t test note-example.xl... | 191897 | chai = require 'chai'
chai.should()
exec = require('child_process').exec
pack = require '../package.json'
cmd = 'node bin/autometa.js '
version = cmd + '-v'
help = cmd + '-h'
output_stdout = cmd + '-o /dev/stdout test/test.xlsx'
output_hyphen = cmd + '-o - test/test.xlsx'
template = cmd + '-o - -t test note-example.xl... | true | chai = require 'chai'
chai.should()
exec = require('child_process').exec
pack = require '../package.json'
cmd = 'node bin/autometa.js '
version = cmd + '-v'
help = cmd + '-h'
output_stdout = cmd + '-o /dev/stdout test/test.xlsx'
output_hyphen = cmd + '-o - test/test.xlsx'
template = cmd + '-o - -t test note-example.xl... |
[
{
"context": "rname: req.body.username\n password: req.body.password\n activities: []\n ti",
"end": 1000,
"score": 0.9990793466567993,
"start": 983,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | src/routes/index.coffee | breeswish/swall-server | 2 | express = require 'express'
router = express.Router()
router.post '/signin', (req, res)->
User.find {'username': req.body.username}, (err, docs)->
if err
return console.log err
if docs.length == 0
res.json
is_exist: false
else if req.body.password !... | 27301 | express = require 'express'
router = express.Router()
router.post '/signin', (req, res)->
User.find {'username': req.body.username}, (err, docs)->
if err
return console.log err
if docs.length == 0
res.json
is_exist: false
else if req.body.password !... | true | express = require 'express'
router = express.Router()
router.post '/signin', (req, res)->
User.find {'username': req.body.username}, (err, docs)->
if err
return console.log err
if docs.length == 0
res.json
is_exist: false
else if req.body.password !... |
[
{
"context": "api = {\n fullname: \"summoner-v1.4\",\n name: \"summoner\",\n version: \"v1.4\"\n}\n\nMAX_SUMMONER_NAMES_",
"end": 121,
"score": 0.9501941800117493,
"start": 118,
"tag": "NAME",
"value": "sum"
},
{
"context": " = {\n fullname: \"summoner-v1.4\",\n name: ... | src/api/summoner.coffee | jwalton/lol-js | 30 | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "summoner-v1.4",
name: "summoner",
version: "v1.4"
}
MAX_SUMMONER_NAMES_PER_REQUEST = 40
MAX_SUMMONER_IDS_PER_REQUEST = 40
toStandardizedSummonerName = (name) -> name.toLowerCase().replace /\ /g, ''
exports.methods = {
... | 96002 | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "summoner-v1.4",
name: "<NAME>mon<NAME>",
version: "v1.4"
}
MAX_SUMMONER_NAMES_PER_REQUEST = 40
MAX_SUMMONER_IDS_PER_REQUEST = 40
toStandardizedSummonerName = (name) -> name.toLowerCase().replace /\ /g, ''
exports.metho... | true | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "summoner-v1.4",
name: "PI:NAME:<NAME>END_PImonPI:NAME:<NAME>END_PI",
version: "v1.4"
}
MAX_SUMMONER_NAMES_PER_REQUEST = 40
MAX_SUMMONER_IDS_PER_REQUEST = 40
toStandardizedSummonerName = (name) -> name.toLowerCase().repl... |
[
{
"context": "on state and reveal content.\n# https://github.com/alextaujenis/jquery-nav-menu\n# Copyright 2015 Alex Taujenis\n# ",
"end": 124,
"score": 0.9995967149734497,
"start": 112,
"tag": "USERNAME",
"value": "alextaujenis"
},
{
"context": ".com/alextaujenis/jquery-nav-menu\n# ... | spec/spec.coffee | alextaujenis/jquery-nav-menu | 0 | # jQuery Nav Menu Plugin Specs v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 Alex Taujenis
# MIT License
jasmine.getFixtures().fixturesPath = 'base/spec';
describe "navMenu", ->
beforeEach ->
loadFixtures("fixtures.html")
retur... | 62192 | # jQuery Nav Menu Plugin Specs v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 <NAME>
# MIT License
jasmine.getFixtures().fixturesPath = 'base/spec';
describe "navMenu", ->
beforeEach ->
loadFixtures("fixtures.html")
return
de... | true | # jQuery Nav Menu Plugin Specs v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 PI:NAME:<NAME>END_PI
# MIT License
jasmine.getFixtures().fixturesPath = 'base/spec';
describe "navMenu", ->
beforeEach ->
loadFixtures("fixtures.html")
... |
[
{
"context": "ams =\n \"shop_id\": @shop_id\n \"shop_pass\": @shop_pass\n params = utils.extend(options, extra_params)\n",
"end": 3121,
"score": 0.9930599331855774,
"start": 3111,
"tag": "PASSWORD",
"value": "@shop_pass"
}
] | src/shop_api.coffee | harakachi/gmo-payment-node | 0 | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパスが必要になるAPIをShop APIと定義しています。 取引登録、決済ステータス変更等、決済に関するAPIが主です。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、APIのホスト名を引数で渡す必要があります。
class ShopAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host = option... | 215640 | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパスが必要になるAPIをShop APIと定義しています。 取引登録、決済ステータス変更等、決済に関するAPIが主です。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、APIのホスト名を引数で渡す必要があります。
class ShopAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host = option... | true | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパスが必要になるAPIをShop APIと定義しています。 取引登録、決済ステータス変更等、決済に関するAPIが主です。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、APIのホスト名を引数で渡す必要があります。
class ShopAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host = option... |
[
{
"context": "re 'views/editor/modal/ConfirmModal'\n\nFORM_KEY = 'request-quote-form'\n\nmodule.exports = class ConvertToTeacherAccountV",
"end": 391,
"score": 0.9775592088699341,
"start": 373,
"tag": "KEY",
"value": "request-quote-form"
},
{
"context": "})\n\nformSchema = {\n type:... | app/views/teachers/ConvertToTeacherAccountView.coffee | differentmatt/codecombat | 0 | RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
storage = require 'core/storage'
errors = require 'core/errors'
User = require 'models/User'
ConfirmModal = re... | 138097 | RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
storage = require 'core/storage'
errors = require 'core/errors'
User = require 'models/User'
ConfirmModal = re... | true | RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
storage = require 'core/storage'
errors = require 'core/errors'
User = require 'models/User'
ConfirmModal = re... |
[
{
"context": " cb err\n else\n user.password = hash\n cb null, user\n",
"end": 728,
"score": 0.9923732280731201,
"start": 724,
"tag": "PASSWORD",
"value": "hash"
}
] | api/models/User.coffee | MackieLoeffel/NachhaltigkeitsChallenge | 0 | # see http://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/
bcrypt = require('bcrypt')
module.exports =
attributes:
name:
type: 'string'
required: true
email:
type: 'string'
# email: true
unique: true
password:
type: 'string'
requi... | 117328 | # see http://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/
bcrypt = require('bcrypt')
module.exports =
attributes:
name:
type: 'string'
required: true
email:
type: 'string'
# email: true
unique: true
password:
type: 'string'
requi... | true | # see http://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/
bcrypt = require('bcrypt')
module.exports =
attributes:
name:
type: 'string'
required: true
email:
type: 'string'
# email: true
unique: true
password:
type: 'string'
requi... |
[
{
"context": ") ->\n database[entry.accountName] =\n password: entry.password\n games: if entry.games then _.map entry.games,",
"end": 283,
"score": 0.9319904446601868,
"start": 269,
"tag": "PASSWORD",
"value": "entry.password"
}
] | converter.coffee | EgO1sT2012/Steamhourboostv2 | 0 | _ = require 'lodash'
jsonfile = require 'jsonfile'
jsonfile.spaces = 2
try
old = jsonfile.readFileSync 'db.json'
catch e
console.log 'No db.json found!'
process.exit 0
database = {}
_.forEach old, (entry) ->
database[entry.accountName] =
password: entry.password
games: if entry.games then _.map... | 123014 | _ = require 'lodash'
jsonfile = require 'jsonfile'
jsonfile.spaces = 2
try
old = jsonfile.readFileSync 'db.json'
catch e
console.log 'No db.json found!'
process.exit 0
database = {}
_.forEach old, (entry) ->
database[entry.accountName] =
password: <PASSWORD>
games: if entry.games then _.map ent... | true | _ = require 'lodash'
jsonfile = require 'jsonfile'
jsonfile.spaces = 2
try
old = jsonfile.readFileSync 'db.json'
catch e
console.log 'No db.json found!'
process.exit 0
database = {}
_.forEach old, (entry) ->
database[entry.accountName] =
password: PI:PASSWORD:<PASSWORD>END_PI
games: if entry.ga... |
[
{
"context": "tRandom(staedte), \"telefon1\": \"123456\", \"email\": \"info@empresa#{i}.com\", \"webseite\": \"http://firma#{i}.com\", \"facebook\":",
"end": 7299,
"score": 0.999786913394928,
"start": 7279,
"tag": "EMAIL",
"value": "info@empresa#{i}.com"
}
] | vendor/scripts/branchenbuch.coffee | softwarerero/paginasamarillas | 0 | $ -> # like document ready
# supportedLanguages =
# es: 'es'
# de: 'de'
# broserLanguage = window.navigator.userLanguage || window.navigator.language
# language = if window.Cookies.readCookie 'language' then broserLanguage else 'de'
language = (window.Cookies.readCookie 'language') || 'de'
# console.log w... | 65872 | $ -> # like document ready
# supportedLanguages =
# es: 'es'
# de: 'de'
# broserLanguage = window.navigator.userLanguage || window.navigator.language
# language = if window.Cookies.readCookie 'language' then broserLanguage else 'de'
language = (window.Cookies.readCookie 'language') || 'de'
# console.log w... | true | $ -> # like document ready
# supportedLanguages =
# es: 'es'
# de: 'de'
# broserLanguage = window.navigator.userLanguage || window.navigator.language
# language = if window.Cookies.readCookie 'language' then broserLanguage else 'de'
language = (window.Cookies.readCookie 'language') || 'de'
# console.log w... |
[
{
"context": ".3.18 Darwin/14.0.0'\n 'Authorization':'oauth 5774b305d2ae4469a2c9258956ea49'\n 'Content-Type':'application/json'\n }\n\n ",
"end": 333,
"score": 0.7419759631156921,
"start": 303,
"tag": "KEY",
"value": "5774b305d2ae4469a2c9258956ea49"
}
] | lib/check.coffee | youqingkui/zhihufav2evernote | 0 | async = require('async')
request = require('request')
Task = require('../models/task')
txErr = require('../lib/txErr')
class Check
constructor:(@url, @noteBook, @recursive) ->
@headers = {
'User-Agent':'osee2unifiedRelease/332 CFNetwork/711.3.18 Darwin/14.0.0'
'Authorization':'oauth 5774b305d2ae4469a... | 225299 | async = require('async')
request = require('request')
Task = require('../models/task')
txErr = require('../lib/txErr')
class Check
constructor:(@url, @noteBook, @recursive) ->
@headers = {
'User-Agent':'osee2unifiedRelease/332 CFNetwork/711.3.18 Darwin/14.0.0'
'Authorization':'oauth <KEY>'
'Con... | true | async = require('async')
request = require('request')
Task = require('../models/task')
txErr = require('../lib/txErr')
class Check
constructor:(@url, @noteBook, @recursive) ->
@headers = {
'User-Agent':'osee2unifiedRelease/332 CFNetwork/711.3.18 Darwin/14.0.0'
'Authorization':'oauth PI:KEY:<KEY>END_P... |
[
{
"context": "'sessionDataUpdated', data\n\n get_cookie_key: -> 'totem-cookie-store'\n get_event_key: -> 'totem-cookie'\n",
"end": 949,
"score": 0.9970402717590332,
"start": 931,
"tag": "KEY",
"value": "totem-cookie-store"
},
{
"context": "ey: -> 'totem-cookie-store'\n get_event_... | src/totem/client/totem-simple-auth/addon/cookie_store.coffee | sixthedge/cellar | 6 | import ember from 'ember'
import objects_are_equal from 'ember-simple-auth/utils/objects-are-equal'
import base from 'ember-simple-auth/session-stores/base'
export default base.extend
init: ->
@bind_cookie_event()
persist: (data) ->
Cookies.set(@get_cookie_key(), data)
@_lastD... | 71361 | import ember from 'ember'
import objects_are_equal from 'ember-simple-auth/utils/objects-are-equal'
import base from 'ember-simple-auth/session-stores/base'
export default base.extend
init: ->
@bind_cookie_event()
persist: (data) ->
Cookies.set(@get_cookie_key(), data)
@_lastD... | true | import ember from 'ember'
import objects_are_equal from 'ember-simple-auth/utils/objects-are-equal'
import base from 'ember-simple-auth/session-stores/base'
export default base.extend
init: ->
@bind_cookie_event()
persist: (data) ->
Cookies.set(@get_cookie_key(), data)
@_lastD... |
[
{
"context": "vert to JSON\", ->\n unit = new BaseModel name: 'Zeratul', items: [new BaseModel(name: 'Psionic blades')]\n",
"end": 1804,
"score": 0.9979212284088135,
"start": 1797,
"tag": "NAME",
"value": "Zeratul"
},
{
"context": "del name: 'Zeratul', items: [new BaseModel(name: ... | old/test/model.coffee | alexeypetrushin/micromodel | 0 | require './helper'
{BaseModel, Model, FullModel} = require '../micromodel'
describe "Model", ->
it "should update attributes", ->
unit = new BaseModel()
expect(unit.attributes()).to.eql {}
unit.set name: 'Probe'
expect(unit.attributes()).to.eql name: 'Probe'
it "should return attributes", ->
... | 150551 | require './helper'
{BaseModel, Model, FullModel} = require '../micromodel'
describe "Model", ->
it "should update attributes", ->
unit = new BaseModel()
expect(unit.attributes()).to.eql {}
unit.set name: 'Probe'
expect(unit.attributes()).to.eql name: 'Probe'
it "should return attributes", ->
... | true | require './helper'
{BaseModel, Model, FullModel} = require '../micromodel'
describe "Model", ->
it "should update attributes", ->
unit = new BaseModel()
expect(unit.attributes()).to.eql {}
unit.set name: 'Probe'
expect(unit.attributes()).to.eql name: 'Probe'
it "should return attributes", ->
... |
[
{
"context": "###\niOS Status Bar 1.03\nCreated by Jonathan Sullivan on July 26th, 2017\nwww.twitter.com/JonSul_LLC\n###",
"end": 52,
"score": 0.9998891949653625,
"start": 35,
"tag": "NAME",
"value": "Jonathan Sullivan"
},
{
"context": "athan Sullivan on July 26th, 2017\nwww.twitter.... | iOS_StatusBar.coffee | JonSul-LLC/iOS-Status-Bar | 1 | ###
iOS Status Bar 1.03
Created by Jonathan Sullivan on July 26th, 2017
www.twitter.com/JonSul_LLC
###
class iOS_StatusBar extends Layer
#Options:
constructor: (@options={}) ->
@options.width = Screen.width
@options.height = 20
@options.statusBarColor ?= "white"
@options.blurColor ?= "black"
@options.blurLe... | 121058 | ###
iOS Status Bar 1.03
Created by <NAME> on July 26th, 2017
www.twitter.com/JonSul_LLC
###
class iOS_StatusBar extends Layer
#Options:
constructor: (@options={}) ->
@options.width = Screen.width
@options.height = 20
@options.statusBarColor ?= "white"
@options.blurColor ?= "black"
@options.blurLevel ?= 0
... | true | ###
iOS Status Bar 1.03
Created by PI:NAME:<NAME>END_PI on July 26th, 2017
www.twitter.com/JonSul_LLC
###
class iOS_StatusBar extends Layer
#Options:
constructor: (@options={}) ->
@options.width = Screen.width
@options.height = 20
@options.statusBarColor ?= "white"
@options.blurColor ?= "black"
@options.blu... |
[
{
"context": "ne-Forms validators PL 1.0.1\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-valid",
"end": 79,
"score": 0.9998752474784851,
"start": 63,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/pl.coffee | tomi77/backbone-forms-validators | 0 | ###
Backbone-Forms validators PL 1.0.1
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
###
istanbul ignore next
###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'b... | 175258 | ###
Backbone-Forms validators PL 1.0.1
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
###
istanbul ignore next
###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone-fo... | true | ###
Backbone-Forms validators PL 1.0.1
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
###
istanbul ignore next
###
switch
when typeof define is 'function' and define.amd
define ['underscore'... |
[
{
"context": "anges its child rule's violation codes\n # @author Daniel Bartholomae\n class ViolationCodeModifierValidatorRule extend",
"end": 371,
"score": 0.9998727440834045,
"start": 353,
"tag": "NAME",
"value": "Daniel Bartholomae"
}
] | src/rules/ViolationCodeModifier.coffee | dbartholomae/node-validation-codes | 0 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule that changes its child ru... | 147390 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule that changes its child ru... | true | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule that changes its child ru... |
[
{
"context": "\nSTAR On-Line\n\t\t\nReturn to Request STAR On-Line\n\t\nRandom Guy\n\t\n \nPREPARED: 02/04/13 - 14:23\nGuy,Random 2\nPROGR",
"end": 209,
"score": 0.8766905665397644,
"start": 199,
"tag": "NAME",
"value": "Random Guy"
},
{
"context": "ll 2013 as of Mar-07-2013 at 12:... | incfailstar.coffee | seiyria/star-report-reader | 0 | @incFailStar = """
Saved
New Window | Help | Customize Page | Click to copy the complete address (URL) of this page to the clipboard.
STAR On-Line
Return to Request STAR On-Line
Random Guy
PREPARED: 02/04/13 - 14:23
Guy,Random 2
PROGRAM CODE: 222234007 CATALOG YEAR: 2009
CA... | 221839 | @incFailStar = """
Saved
New Window | Help | Customize Page | Click to copy the complete address (URL) of this page to the clipboard.
STAR On-Line
Return to Request STAR On-Line
<NAME>
PREPARED: 02/04/13 - 14:23
Guy,Random 2
PROGRAM CODE: 222234007 CATALOG YEAR: 2009
CAMPUS... | true | @incFailStar = """
Saved
New Window | Help | Customize Page | Click to copy the complete address (URL) of this page to the clipboard.
STAR On-Line
Return to Request STAR On-Line
PI:NAME:<NAME>END_PI
PREPARED: 02/04/13 - 14:23
Guy,Random 2
PROGRAM CODE: 222234007 CATALOG YEA... |
[
{
"context": "etHash\": \"bdf8c9bdf076d6aff0292a1c9448691d2ae283f2ce41b045355e2c8cb8e85ef2\",\n \"merkleRoot\": \"51296468ea48ddbcc546abb85b9",
"end": 5146,
"score": 0.9796328544616699,
"start": 5122,
"tag": "KEY",
"value": "ce41b045355e2c8cb8e85ef2"
},
{
"context": "3f2ce41b0453... | test/main.coffee | stampery/js | 0 | chai = require 'chai'
chai.should()
Stampery = require '../src/stampery'
stampery = new Stampery 'd931b968-bcc1-4b18-e732-7fd875bcab96', 'beta'
describe 'Constructor', ->
it 'should be constructed', ->
stampery.should.have.property 'prove'
it 'should set environment', ->
stampery.env.should.equal 'beta... | 77585 | chai = require 'chai'
chai.should()
Stampery = require '../src/stampery'
stampery = new Stampery 'd931b968-bcc1-4b18-e732-7fd875bcab96', 'beta'
describe 'Constructor', ->
it 'should be constructed', ->
stampery.should.have.property 'prove'
it 'should set environment', ->
stampery.env.should.equal 'beta... | true | chai = require 'chai'
chai.should()
Stampery = require '../src/stampery'
stampery = new Stampery 'd931b968-bcc1-4b18-e732-7fd875bcab96', 'beta'
describe 'Constructor', ->
it 'should be constructed', ->
stampery.should.have.property 'prove'
it 'should set environment', ->
stampery.env.should.equal 'beta... |
[
{
"context": ": \"@@testhost\", domain: \"mediaapitest\", accesskey: \"@@testaccesskey\" } )\n\t\n\tclientStd = new MediaApiClient( \"#standar",
"end": 160,
"score": 0.8637614250183105,
"start": 144,
"tag": "PASSWORD",
"value": "\"@@testaccesskey"
}
] | _src/test/test-require.coffee | smrchy/media-api-client | 2 | require [ "../dist/mediaapiclient" ], ( MediaApiClient )->
MediaApiClient.defaults( { host: "@@testhost", domain: "mediaapitest", accesskey: "@@testaccesskey" } )
clientStd = new MediaApiClient( "#standard", "#standard .results", { quality: 20, width: 250 } )
clientCount = new MediaApiClient( "#count", "#count .... | 13642 | require [ "../dist/mediaapiclient" ], ( MediaApiClient )->
MediaApiClient.defaults( { host: "@@testhost", domain: "mediaapitest", accesskey: <PASSWORD>" } )
clientStd = new MediaApiClient( "#standard", "#standard .results", { quality: 20, width: 250 } )
clientCount = new MediaApiClient( "#count", "#count .result... | true | require [ "../dist/mediaapiclient" ], ( MediaApiClient )->
MediaApiClient.defaults( { host: "@@testhost", domain: "mediaapitest", accesskey: PI:PASSWORD:<PASSWORD>END_PI" } )
clientStd = new MediaApiClient( "#standard", "#standard .results", { quality: 20, width: 250 } )
clientCount = new MediaApiClient( "#count... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9965584874153137,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "t\"\n \"-quiet\"\n \"-tls1_1\"\n \"-connect\"\n \"127.0.0.1:\" + common.PORT\n ]\... | test/simple/test-tls-alert.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... | 115511 | # 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": "\"></label>\n <label>Password <input type=\"password\" name=\"password\"></label>\n <button>Sign ",
"end": 2954,
"score": 0.962669312953949,
"start": 2946,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " <label>Password <input type=\"passw... | spec/script-spec.coffee | mikeal/zombie | 1 | 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>window.foo = foo + 1</script>
<script>document.title = this.foo</script>
<script>setTimeout(function() {
document... | 46779 | 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>window.foo = foo + 1</script>
<script>document.title = this.foo</script>
<script>setTimeout(function() {
document... | 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>window.foo = foo + 1</script>
<script>document.title = this.foo</script>
<script>setTimeout(function() {
document... |
[
{
"context": " blog: \"Blog\"\n forum: \"Fórum\"\n account: \"Conta\"\n admin: \"Administrador\"\n home: \"Início\"\n ",
"end": 1076,
"score": 0.5038445591926575,
"start": 1072,
"tag": "NAME",
"value": "Cont"
},
{
"context": "\"\n contact: \"Contate-nos\"\n twitt... | app/locale/pt-BR.coffee | Melondonut/codecombat | 0 | module.exports = nativeDescription: "português do Brasil", englishDescription: "Portuguese (Brazil)", translation:
common:
loading: "Carregando..."
saving: "Salvando..."
sending: "Enviando..."
send: "Enviar"
cancel: "Cancelar"
save: "Salvar"
publish: "Publicar"
create: "Criar"
dela... | 114021 | module.exports = nativeDescription: "português do Brasil", englishDescription: "Portuguese (Brazil)", translation:
common:
loading: "Carregando..."
saving: "Salvando..."
sending: "Enviando..."
send: "Enviar"
cancel: "Cancelar"
save: "Salvar"
publish: "Publicar"
create: "Criar"
dela... | true | module.exports = nativeDescription: "português do Brasil", englishDescription: "Portuguese (Brazil)", translation:
common:
loading: "Carregando..."
saving: "Salvando..."
sending: "Enviando..."
send: "Enviar"
cancel: "Cancelar"
save: "Salvar"
publish: "Publicar"
create: "Criar"
dela... |
[
{
"context": "tr 0, filename.length - extension.length\n\n\nkey = [64, 14, 190, 99, 77, 107, 95, 26, 211, 235, 41, 125, 110, 237, 151, 148]\nencryptPassword = (password) -",
"end": 399,
"score": 0.9813032150268555,
"start": 347,
"tag": "KEY",
"value": "64, 14, 190, 99, 77, 107, 95, 26, 211, ... | src/ext/modules/util.coffee | pingguo1231/h2oai | 131 | aesjs = require('aes-js')
{ map } = require("lodash")
util = require('../../core/modules/util')
validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
util.sanitizeName filename.substr 0, filename.length -... | 111519 | aesjs = require('aes-js')
{ map } = require("lodash")
util = require('../../core/modules/util')
validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
util.sanitizeName filename.substr 0, filename.length -... | true | aesjs = require('aes-js')
{ map } = require("lodash")
util = require('../../core/modules/util')
validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
util.sanitizeName filename.substr 0, filename.length -... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998826384544373,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/HttpKernel/RequestStack.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# RequestStack
# @author Jessym Reziga <jessym@konsserto.com>
class RequestStack
# C... | 211598 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# RequestStack
# @author <NAME> <<EMAIL>>
class RequestStack
# Class Constructor
constructor: (@transl... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# RequestStack
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
class R... |
[
{
"context": "equal: 'enju'\n query.intersect 'name', equal: 'tina'\n query.orderBy 'createTime'\n expect(query.",
"end": 4338,
"score": 0.8956419229507446,
"start": 4334,
"tag": "NAME",
"value": "tina"
},
{
"context": "me', equal: 'enju'\n .union 'name', equal: 'tina... | __tests__/query.coffee | kelp404/enju | 12 | enju = require '../'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@define
name: new enju.StringProperty()
age: new enju.IntegerProperty()
c... | 219305 | enju = require '../'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@define
name: new enju.StringProperty()
age: new enju.IntegerProperty()
c... | true | enju = require '../'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@define
name: new enju.StringProperty()
age: new enju.IntegerProperty()
c... |
[
{
"context": "STRAP.Framework\n * @class Navigation\n *\n * @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n###\n\nCO",
"end": 138,
"score": 0.9998952150344849,
"start": 123,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": " @class Navigation\n *\n * @aut... | coolstrap-core/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Navigation.coffee | cristianferrarig/coolstrap | 0 | ###
* Initialize the events for manage navigation
*
* @namespace COOLSTRAP.Framework
* @class Navigation
*
* @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
###
COOLSTRAP.Framework.Navigation = ((cool, window) ->
ATTRIBUTE = cool.Constants.ATTRIBUTE
CLASS = cool.Constants.CLASS
ELEMENT = ... | 215324 | ###
* Initialize the events for manage navigation
*
* @namespace COOLSTRAP.Framework
* @class Navigation
*
* @author <NAME> <<EMAIL>> || @abraham_barrera
###
COOLSTRAP.Framework.Navigation = ((cool, window) ->
ATTRIBUTE = cool.Constants.ATTRIBUTE
CLASS = cool.Constants.CLASS
ELEMENT = cool.Constants.ELEMEN... | true | ###
* Initialize the events for manage navigation
*
* @namespace COOLSTRAP.Framework
* @class Navigation
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
###
COOLSTRAP.Framework.Navigation = ((cool, window) ->
ATTRIBUTE = cool.Constants.ATTRIBUTE
CLASS = cool.Constants.CLASS
EL... |
[
{
"context": "ELEGRAM_INTERVAL'] || 2000\n @offsetBrainKey = 'telegram-message-offset'\n @api = new telegrambot(@token)\n\n @robot.l",
"end": 417,
"score": 0.9856031537055969,
"start": 394,
"tag": "KEY",
"value": "telegram-message-offset"
}
] | src/telegram.coffee | pawelsamsel/hubot-telegram-adapter | 0 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage, User} = require 'hubot'
telegrambot = require 'telegrambot'
class Telegram extends Adapter
constructor: ->
super
self = @
@token = process.env['TELEGRAM_TOKEN']
@webhook = process.env['TELEGRAM_WEBHOOK']
@i... | 61280 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage, User} = require 'hubot'
telegrambot = require 'telegrambot'
class Telegram extends Adapter
constructor: ->
super
self = @
@token = process.env['TELEGRAM_TOKEN']
@webhook = process.env['TELEGRAM_WEBHOOK']
@i... | true | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage, User} = require 'hubot'
telegrambot = require 'telegrambot'
class Telegram extends Adapter
constructor: ->
super
self = @
@token = process.env['TELEGRAM_TOKEN']
@webhook = process.env['TELEGRAM_WEBHOOK']
@i... |
[
{
"context": "Pub/Sub system for Loosely Coupled logic.\nBased on Peter Higgins' port from Dojo to jQuery\nhttps://github.",
"end": 694,
"score": 0.858159601688385,
"start": 689,
"tag": "NAME",
"value": "Peter"
},
{
"context": "system for Loosely Coupled logic.\nBased on Peter Higgin... | game/lib/game/modules/dispatcher.coffee | towerstorm/game | 11 | ###
*
* The dispatcher is for sending pub/sub events around the game so that external interfaces (like the network manager on both client and server) can be notified when
* game changes occur and update all other clients.
*
* Like the networking stuff no longer sites inside of the engine, instead when say a tower ... | 191505 | ###
*
* The dispatcher is for sending pub/sub events around the game so that external interfaces (like the network manager on both client and server) can be notified when
* game changes occur and update all other clients.
*
* Like the networking stuff no longer sites inside of the engine, instead when say a tower ... | true | ###
*
* The dispatcher is for sending pub/sub events around the game so that external interfaces (like the network manager on both client and server) can be notified when
* game changes occur and update all other clients.
*
* Like the networking stuff no longer sites inside of the engine, instead when say a tower ... |
[
{
"context": " $(\"#map\").length == 0\n\n L.mapbox.accessToken = 'pk.eyJ1IjoiaGFuaWVsZGFuc29uIiwiYSI6IkFocjdTOUUifQ.xyT3gJjivbRhXnxojbrUHg'\n map = L.mapbox.map('map', 'hanieldanson.ldep8j",
"end": 367,
"score": 0.9996335506439209,
"start": 295,
"tag": "KEY",
"value": "pk.eyJ1IjoiaGFuaWVs... | app/assets/javascripts/maps.coffee | chi-squirrels-2015/InSession | 2 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).ready ->
return if $("#map").length == 0
L.mapbox.accessToken = 'pk.eyJ1IjoiaGFuaWVsZGFuc2... | 112391 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).ready ->
return if $("#map").length == 0
L.mapbox.accessToken = '<KEY>'
map = L.mapbox.m... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).ready ->
return if $("#map").length == 0
L.mapbox.accessToken = 'PI:KEY:<KEY>END_PI'
map... |
[
{
"context": "lid document:\", jsck.validate\n user:\n login: \"matthew\"\n email: \"matthew@pandastrike.com\"\n\n{errors} =",
"end": 448,
"score": 0.9993994832038879,
"start": 441,
"tag": "USERNAME",
"value": "matthew"
},
{
"context": "validate\n user:\n login: \"matthew\... | examples/draft4/basic.coffee | pandastrike/jsck | 176 | JSCK = require("../../src/index")
# Construct a validator for a schema lacking an "id" declaration
jsck = new JSCK.draft4
type: "object"
properties:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
ema... | 117736 | JSCK = require("../../src/index")
# Construct a validator for a schema lacking an "id" declaration
jsck = new JSCK.draft4
type: "object"
properties:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
ema... | true | JSCK = require("../../src/index")
# Construct a validator for a schema lacking an "id" declaration
jsck = new JSCK.draft4
type: "object"
properties:
user:
type: "object"
required: ["login"]
properties:
login:
type: "string"
pattern: "^[\\w\\d_]{3,32}$"
ema... |
[
{
"context": "sation = watson.conversation {\n username: config.username,\n password: config.password,\n version: 'v1',\n ",
"end": 245,
"score": 0.5114504098892212,
"start": 237,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rsation {\n username: config.username,\n p... | watson.coffee | androidfanatic/hubot-watson | 0 | watson = require 'watson-developer-cloud'
# Configure parameters for IBM watson conversation service
config = {
username: ''
password: '',
workspace_id: ''
}
context = {}
conversation = watson.conversation {
username: config.username,
password: config.password,
version: 'v1',
version_date: '2017-02-03... | 101275 | watson = require 'watson-developer-cloud'
# Configure parameters for IBM watson conversation service
config = {
username: ''
password: '',
workspace_id: ''
}
context = {}
conversation = watson.conversation {
username: config.username,
password: <PASSWORD>,
version: 'v1',
version_date: '2017-02-03'
}
... | true | watson = require 'watson-developer-cloud'
# Configure parameters for IBM watson conversation service
config = {
username: ''
password: '',
workspace_id: ''
}
context = {}
conversation = watson.conversation {
username: config.username,
password: PI:PASSWORD:<PASSWORD>END_PI,
version: 'v1',
version_date... |
[
{
"context": "{\n\t\"title\": \"Array Multi Sort\",\n\t\"name\": \"@iplatformglobal/array-multi-sort\",\n\t\"homepage\": \"https://www.ipla",
"end": 58,
"score": 0.79481440782547,
"start": 43,
"tag": "USERNAME",
"value": "iplatformglobal"
},
{
"context": ",\n\t\"browsers\": true,\n\t... | projectz.cson | iPlatformGlobal/array-multi-sort | 3 | {
"title": "Array Multi Sort",
"name": "@iplatformglobal/array-multi-sort",
"homepage": "https://www.iplatform.com",
"description": "Array helper for soring array object on multiple key values with ordering",
"license": "MIT",
"browsers": true,
"author": "2017+ iPlatform <software@iplatform.co.za> (https://www.i... | 24027 | {
"title": "Array Multi Sort",
"name": "@iplatformglobal/array-multi-sort",
"homepage": "https://www.iplatform.com",
"description": "Array helper for soring array object on multiple key values with ordering",
"license": "MIT",
"browsers": true,
"author": "2017+ iPlatform <<EMAIL>> (https://www.iplatform.com)",
... | true | {
"title": "Array Multi Sort",
"name": "@iplatformglobal/array-multi-sort",
"homepage": "https://www.iplatform.com",
"description": "Array helper for soring array object on multiple key values with ordering",
"license": "MIT",
"browsers": true,
"author": "2017+ iPlatform <PI:EMAIL:<EMAIL>END_PI> (https://www.ipl... |
[
{
"context": "es\": \"Pagine\"\n \"posts\": \"Post\"\n \"authors\": \"Autori\"\n \"search\": \"Cerca\"\n \"bookmarks\": \"Segnalib",
"end": 401,
"score": 0.9824315309524536,
"start": 395,
"tag": "NAME",
"value": "Autori"
},
{
"context": " \"shared\": \"Condiviso!\"\n\"au... | lib/translations/it.cson | mysticmetal/wordpress-hybrid-client | 2 | "pullToRefresh": "Tira per aggiornare!"
"retry": "Riprova"
"back": "Indietro"
"error": "Qualcosa è andato storto, riprova nuovamente."
"attemptToConnect": "Tentativo di connessione {{attempt}} di {{attemptMax}}."
"yes": "Si"
"no" : "No"
"emptyList" : "Non c'è nulla qui!"
"menu":
"title": "Menu"
"home": "Home"
... | 90975 | "pullToRefresh": "Tira per aggiornare!"
"retry": "Riprova"
"back": "Indietro"
"error": "Qualcosa è andato storto, riprova nuovamente."
"attemptToConnect": "Tentativo di connessione {{attempt}} di {{attemptMax}}."
"yes": "Si"
"no" : "No"
"emptyList" : "Non c'è nulla qui!"
"menu":
"title": "Menu"
"home": "Home"
... | true | "pullToRefresh": "Tira per aggiornare!"
"retry": "Riprova"
"back": "Indietro"
"error": "Qualcosa è andato storto, riprova nuovamente."
"attemptToConnect": "Tentativo di connessione {{attempt}} di {{attemptMax}}."
"yes": "Si"
"no" : "No"
"emptyList" : "Non c'è nulla qui!"
"menu":
"title": "Menu"
"home": "Home"
... |
[
{
"context": "Calendar').fullCalendar\n schedulerLicenseKey: 'GPL-My-Project-Is-Open-Source'\n header:\n left: 'today,prev,next'\n ",
"end": 134,
"score": 0.8829625844955444,
"start": 105,
"tag": "KEY",
"value": "GPL-My-Project-Is-Open-Source"
}
] | app/assets/javascripts/events.js.coffee | sinventor/events_tracker | 0 | currentEvent = null
initializeCalendar = ->
$('#userCalendar').fullCalendar
schedulerLicenseKey: 'GPL-My-Project-Is-Open-Source'
header:
left: 'today,prev,next'
center: 'title'
right: 'month,agendaWeek'
defaultView: 'month'
editable: true
selectable: true
eventLimit: 3
e... | 217551 | currentEvent = null
initializeCalendar = ->
$('#userCalendar').fullCalendar
schedulerLicenseKey: '<KEY>'
header:
left: 'today,prev,next'
center: 'title'
right: 'month,agendaWeek'
defaultView: 'month'
editable: true
selectable: true
eventLimit: 3
events: '/events'
da... | true | currentEvent = null
initializeCalendar = ->
$('#userCalendar').fullCalendar
schedulerLicenseKey: 'PI:KEY:<KEY>END_PI'
header:
left: 'today,prev,next'
center: 'title'
right: 'month,agendaWeek'
defaultView: 'month'
editable: true
selectable: true
eventLimit: 3
events: '/ev... |
[
{
"context": ") ->\n expect(creds.accessKeyId).to.equal(key || 'akid')\n expect(creds.secretAccessKey).to.equal(secret",
"end": 164,
"score": 0.8586276769638062,
"start": 160,
"tag": "KEY",
"value": "akid"
},
{
"context": "expect(creds.secretAccessKey).to.equal(secret || 'secret')\... | test/credentials.spec.coffee | HIVETAXI/hive.taxi.sdk.js | 0 | helpers = require('./helpers')
HiveTaxi = helpers.HiveTaxi
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || 'akid')
expect(creds.secretAccessKey).to.equal(secret || 'secret')
expect(creds.sessionToken).to.equal(session || 'session')
describe 'HiveTaxi.Credentials'... | 8679 | helpers = require('./helpers')
HiveTaxi = helpers.HiveTaxi
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || '<KEY>')
expect(creds.secretAccessKey).to.equal(secret || '<KEY>')
expect(creds.sessionToken).to.equal(session || 'session')
describe 'HiveTaxi.Credentials'... | true | helpers = require('./helpers')
HiveTaxi = helpers.HiveTaxi
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || 'PI:KEY:<KEY>END_PI')
expect(creds.secretAccessKey).to.equal(secret || 'PI:KEY:<KEY>END_PI')
expect(creds.sessionToken).to.equal(session || 'session')
descr... |
[
{
"context": "ynamicDampingFactor = 0.3;\r\n controls.keys = [ 65, 83, 68 ];\r\n\r\n \r\n update()\r\n\r\n\r\n\r\nonWindowResiz",
"end": 13959,
"score": 0.7335553169250488,
"start": 13957,
"tag": "KEY",
"value": "65"
},
{
"context": "icDampingFactor = 0.3;\r\n controls.keys =... | html/coffee/2dca.coffee | undeadinu/t2dca | 7 | # set the scene size
WIDTH = window.innerWidth-10
HEIGHT = window.innerHeight-10
# set some camera attributes
VIEW_ANGLE = 45
ASPECT = WIDTH / HEIGHT
NEAR = 0.1
FAR = 10000
rulePair = [150,60]
simulationTime = 15
maxTime = 40
sceneObjects = null
initialPattern = "#"
animationStop = false
# get t... | 74736 | # set the scene size
WIDTH = window.innerWidth-10
HEIGHT = window.innerHeight-10
# set some camera attributes
VIEW_ANGLE = 45
ASPECT = WIDTH / HEIGHT
NEAR = 0.1
FAR = 10000
rulePair = [150,60]
simulationTime = 15
maxTime = 40
sceneObjects = null
initialPattern = "#"
animationStop = false
# get t... | true | # set the scene size
WIDTH = window.innerWidth-10
HEIGHT = window.innerHeight-10
# set some camera attributes
VIEW_ANGLE = 45
ASPECT = WIDTH / HEIGHT
NEAR = 0.1
FAR = 10000
rulePair = [150,60]
simulationTime = 15
maxTime = 40
sceneObjects = null
initialPattern = "#"
animationStop = false
# get t... |
[
{
"context": "'\nfs = require 'fs'\n\nclass Deploy\n\tconstructor: (@username, @password, @server) ->\n\t\t@server ?= 'rally1.rall",
"end": 108,
"score": 0.9928916692733765,
"start": 100,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ashboardOid}\"\n\t\t\t\tsettings: JSON.s... | node_modules/rabt/lib/deploy.iced | RallyHackathon/Task-Board-Redux | 0 | request = require 'request'
jsdom = require 'jsdom'
fs = require 'fs'
class Deploy
constructor: (@username, @password, @server) ->
@server ?= 'rally1.rallydev.com'
#@cookieJar = request.jar()
createNewPage: (cpoid, name, content, tab, callback) ->
callback ?= () ->
await @_login defer err, res, b
tab ?= ... | 12235 | request = require 'request'
jsdom = require 'jsdom'
fs = require 'fs'
class Deploy
constructor: (@username, @password, @server) ->
@server ?= 'rally1.rallydev.com'
#@cookieJar = request.jar()
createNewPage: (cpoid, name, content, tab, callback) ->
callback ?= () ->
await @_login defer err, res, b
tab ?= ... | true | request = require 'request'
jsdom = require 'jsdom'
fs = require 'fs'
class Deploy
constructor: (@username, @password, @server) ->
@server ?= 'rally1.rallydev.com'
#@cookieJar = request.jar()
createNewPage: (cpoid, name, content, tab, callback) ->
callback ?= () ->
await @_login defer err, res, b
tab ?= ... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998809695243835,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require_tre... | source/javascripts/new_src/loaders/collada.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require_tree ./collada
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/cameras/perspective
class ColladaLoader extends THREE.Loader
... | 26471 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require_tree ./collada
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/cameras/perspective
class ColladaLoader extends THREE.Loader
constructor: ->
... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require_tree ./collada
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/cameras/perspective
class ColladaLoader extends THRE... |
[
{
"context": "'\n\n# JSON to dump in to the DB\nuser_json = name: \"bob\", age: 44, status: \"D\", groups: [ \"money\" ]\n# JSO",
"end": 609,
"score": 0.7664003372192383,
"start": 606,
"tag": "NAME",
"value": "bob"
}
] | mongodb/index.coffee | crueber/mongo-adapter-comparison | 0 | ###
MongoDB Direct Adapter usability "score chart"
* Configuration Required: Mongo URL only.
* Connection Pool Support: No.
* Model Required: No.
* "Class" Methods: No model. Unavailable from library. Would need Backbone.Model or something similar.
* "Instance" Methods: No model. Unavailable from library. ... | 133885 | ###
MongoDB Direct Adapter usability "score chart"
* Configuration Required: Mongo URL only.
* Connection Pool Support: No.
* Model Required: No.
* "Class" Methods: No model. Unavailable from library. Would need Backbone.Model or something similar.
* "Instance" Methods: No model. Unavailable from library. ... | true | ###
MongoDB Direct Adapter usability "score chart"
* Configuration Required: Mongo URL only.
* Connection Pool Support: No.
* Model Required: No.
* "Class" Methods: No model. Unavailable from library. Would need Backbone.Model or something similar.
* "Instance" Methods: No model. Unavailable from library. ... |
[
{
"context": "regData.password\n\t\t\tregData.password = encrypt regData.password\n\t\t\tupsert models.User, { username: regData.userna",
"end": 934,
"score": 0.6720900535583496,
"start": 921,
"tag": "PASSWORD",
"value": "Data.password"
},
{
"context": "dels.User, { username: regData... | coffee_modules/data-api.coffee | scanton/quick-links | 0 | crypto = require 'crypto'
models = require '../coffee_modules/models.coffee'
salt = '-- insert crypto salt here --'
encrypt = (str) ->
crypto.createHash 'md5'
.update str + salt
.digest 'hex'
getAll = (model, query, callback, errorHandler) ->
model.find(
query
(err, data) ->
if err && errorHandler
erro... | 167034 | crypto = require 'crypto'
models = require '../coffee_modules/models.coffee'
salt = '-- insert crypto salt here --'
encrypt = (str) ->
crypto.createHash 'md5'
.update str + salt
.digest 'hex'
getAll = (model, query, callback, errorHandler) ->
model.find(
query
(err, data) ->
if err && errorHandler
erro... | true | crypto = require 'crypto'
models = require '../coffee_modules/models.coffee'
salt = '-- insert crypto salt here --'
encrypt = (str) ->
crypto.createHash 'md5'
.update str + salt
.digest 'hex'
getAll = (model, query, callback, errorHandler) ->
model.find(
query
(err, data) ->
if err && errorHandler
erro... |
[
{
"context": " candidate.i\n j: candidate.j\n token: password[i..j]\n separator: ''\n day: day\n ",
"end": 12628,
"score": 0.9803520441055298,
"start": 12620,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "i\n j: candidate.j\n tok... | matching.coffee | atlassian/zxcvbn | 0 |
empty = (obj) -> (k for k of obj).length == 0
extend = (lst, lst2) -> lst.push.apply lst, lst2
translate = (string, chr_map) -> (chr_map[chr] or chr for chr in string.split('')).join('')
# ------------------------------------------------------------------------------
# omnimatch -- combine everything ----------------... | 71565 |
empty = (obj) -> (k for k of obj).length == 0
extend = (lst, lst2) -> lst.push.apply lst, lst2
translate = (string, chr_map) -> (chr_map[chr] or chr for chr in string.split('')).join('')
# ------------------------------------------------------------------------------
# omnimatch -- combine everything ----------------... | true |
empty = (obj) -> (k for k of obj).length == 0
extend = (lst, lst2) -> lst.push.apply lst, lst2
translate = (string, chr_map) -> (chr_map[chr] or chr for chr in string.split('')).join('')
# ------------------------------------------------------------------------------
# omnimatch -- combine everything ----------------... |
[
{
"context": "###*\n * 单选列表\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{View} = req",
"end": 30,
"score": 0.9996099472045898,
"start": 24,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n * 单选列表\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n... | example/src/cellsRadio.coffee | vfasky/mcore-weui | 0 | ###*
* 单选列表
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{View} = require 'mcoreapp'
class CellsRadio extends View
run: ->
@render require('../tpl/cellsRadio.html'),
list: [
{
title: 'test 0',
value: 0
}
... | 177356 | ###*
* 单选列表
* @author vfasky <<EMAIL>>
###
'use strict'
{View} = require 'mcoreapp'
class CellsRadio extends View
run: ->
@render require('../tpl/cellsRadio.html'),
list: [
{
title: 'test 0',
value: 0
}
... | true | ###*
* 单选列表
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{View} = require 'mcoreapp'
class CellsRadio extends View
run: ->
@render require('../tpl/cellsRadio.html'),
list: [
{
title: 'test 0',
value: 0
}
... |
[
{
"context": " type: 'memory'\n\n data: [\n id: \"413617ecef8623df1391fabc\"\n Name: \"My Roadmap\"\n ref: \"htt",
"end": 505,
"score": 0.8879799246788025,
"start": 481,
"tag": "KEY",
"value": "413617ecef8623df1391fabc"
},
{
"context": "f8623df1391... | test/spec/roadmapplanningboard/mocks/StoreFixtureFactory.coffee | RallyHackathon/app-catalog | 1 | Ext = window.Ext4 || window.Ext
Ext.define 'Rally.test.apps.roadmapplanningboard.mocks.StoreFixtureFactory',
singleton: true
requires: [
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.roadmapplanningboard.AppModelFactory'
]
getRoadmapStoreFixture: ->
@roadmapStoreFixture = Ext.create 'E... | 120497 | Ext = window.Ext4 || window.Ext
Ext.define 'Rally.test.apps.roadmapplanningboard.mocks.StoreFixtureFactory',
singleton: true
requires: [
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.roadmapplanningboard.AppModelFactory'
]
getRoadmapStoreFixture: ->
@roadmapStoreFixture = Ext.create 'E... | true | Ext = window.Ext4 || window.Ext
Ext.define 'Rally.test.apps.roadmapplanningboard.mocks.StoreFixtureFactory',
singleton: true
requires: [
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.roadmapplanningboard.AppModelFactory'
]
getRoadmapStoreFixture: ->
@roadmapStoreFixture = Ext.create 'E... |
[
{
"context": "exp: ///(^|#{bcv_parser::regexps.pre_book})(\n\t\t(?:Dan(?:iel(?:s[\\s\\xa0]*bok)?)?)\n\t\t\t)(?:(?=[\\d\\s\\xa0.:,",
"end": 11809,
"score": 0.6772946715354919,
"start": 11806,
"tag": "NAME",
"value": "Dan"
},
{
"context": "exp: ///(^|#{bcv_parser::regexps.pre_book})(\n... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/sv/regexps.coffee | saiba-mais/bible-lessons | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 127768 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "->\n\t\t\tcaptain.up(api_key: 'api key', api_secret: 'secret', api_version: 'v100')\n\t\t\texpect(captain.api_vers",
"end": 1159,
"score": 0.7723044753074646,
"start": 1153,
"tag": "KEY",
"value": "secret"
},
{
"context": "->\n\t\t\tcaptain.up(api_key: 'api key', api_se... | test/captainup.test.coffee | CaptainUp/captainup-nodejs | 9 | assert = require 'assert'
captain = require '../index'
describe 'Captain Up', ->
it 'has a version number', ->
# Expect the version number to be in the format of `x.x.x`
expect(captain.version).to.match /\d+.\d+\.\d+/
# Configuration specs
# ------------------------------------------------------------------... | 182967 | assert = require 'assert'
captain = require '../index'
describe 'Captain Up', ->
it 'has a version number', ->
# Expect the version number to be in the format of `x.x.x`
expect(captain.version).to.match /\d+.\d+\.\d+/
# Configuration specs
# ------------------------------------------------------------------... | true | assert = require 'assert'
captain = require '../index'
describe 'Captain Up', ->
it 'has a version number', ->
# Expect the version number to be in the format of `x.x.x`
expect(captain.version).to.match /\d+.\d+\.\d+/
# Configuration specs
# ------------------------------------------------------------------... |
[
{
"context": " lines.shift() # tag v0.0.2\n\n # bob <bob@example.com>\n author_line = lines.shift()\n ",
"end": 1086,
"score": 0.999930202960968,
"start": 1071,
"tag": "EMAIL",
"value": "bob@example.com"
}
] | src/tag.coffee | oliverwoodings/gift-promise | 1 | _ = require 'underscore'
Commit = require './commit'
Actor = require './actor'
{Ref} = require './ref'
whn = require 'when'
module.exports = class Tag extends Ref
@find_all: (repo) ->
return Ref.find_all repo, "tag", Tag
# Public: Get the tag message.
#
# Returns String.
message: () ->
ret... | 86017 | _ = require 'underscore'
Commit = require './commit'
Actor = require './actor'
{Ref} = require './ref'
whn = require 'when'
module.exports = class Tag extends Ref
@find_all: (repo) ->
return Ref.find_all repo, "tag", Tag
# Public: Get the tag message.
#
# Returns String.
message: () ->
ret... | true | _ = require 'underscore'
Commit = require './commit'
Actor = require './actor'
{Ref} = require './ref'
whn = require 'when'
module.exports = class Tag extends Ref
@find_all: (repo) ->
return Ref.find_all repo, "tag", Tag
# Public: Get the tag message.
#
# Returns String.
message: () ->
ret... |
[
{
"context": " _ref: 'project/ref'\n Name: 'TestProject'\n workspace:\n ",
"end": 773,
"score": 0.965670645236969,
"start": 769,
"tag": "NAME",
"value": "Test"
}
] | test/spec/roadmapplanningboard/RoadmapPlanningBoardAppSpec.coffee | rdayan1/app-catalog | 0 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
'Rally.apps.roadmapplanningboard.RoadmapPlanningBoardApp'
'Rally.apps.roadmapplanningboard.SplashContainer'
'Rally.test.mock.ModelObjectMother'
'Rally.util.BrowserValidation'
]
describe 'Rally.ap... | 90993 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
'Rally.apps.roadmapplanningboard.RoadmapPlanningBoardApp'
'Rally.apps.roadmapplanningboard.SplashContainer'
'Rally.test.mock.ModelObjectMother'
'Rally.util.BrowserValidation'
]
describe 'Rally.ap... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
'Rally.apps.roadmapplanningboard.RoadmapPlanningBoardApp'
'Rally.apps.roadmapplanningboard.SplashContainer'
'Rally.test.mock.ModelObjectMother'
'Rally.util.BrowserValidation'
]
describe 'Rally.ap... |
[
{
"context": "how the user information of <name>\n#\n# Author:\n# Hideki IGARASHI <hideki.develop@gmail.com>\n\nmodule.exports = (rob",
"end": 210,
"score": 0.9998622536659241,
"start": 195,
"tag": "NAME",
"value": "Hideki IGARASHI"
},
{
"context": "mation of <name>\n#\n# Author:\n... | src/slack-information.coffee | ganta/hubot-slack-information | 0 | # Description
# Show an information of the Slack
#
# Commands:
# hubot whoami - Show the user information of you
# hubot who is <name> - Show the user information of <name>
#
# Author:
# Hideki IGARASHI <hideki.develop@gmail.com>
module.exports = (robot) ->
robot.respond /whoami/, (msg) ->
user = msg.mes... | 132552 | # Description
# Show an information of the Slack
#
# Commands:
# hubot whoami - Show the user information of you
# hubot who is <name> - Show the user information of <name>
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.respond /whoami/, (msg) ->
user = msg.message.user
msg.send "na... | true | # Description
# Show an information of the Slack
#
# Commands:
# hubot whoami - Show the user information of you
# hubot who is <name> - Show the user information of <name>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond /whoami/, (msg) ->
user = msg.... |
[
{
"context": "el.where(where).count()\n\nlevelCount = (db, key = 'cities', start = 'cityid:', end = 'cityid;') ->\n Promis",
"end": 388,
"score": 0.9625231623649597,
"start": 382,
"tag": "KEY",
"value": "cities"
}
] | src/setup/cities.coffee | brianshaler/kerplunk-place | 0 | path = require 'path'
Promise = require 'when'
es = require 'event-stream'
streamCityRecords = require './streamCityRecords'
csvObjectToCity = require './transform/csvObjectToCity'
cityStreamToLevel = require './cityStreamToLevel'
cityStreamToMongo = require './cityStreamToMongo'
mongoCount = (Model, where = {}) ->
... | 51192 | path = require 'path'
Promise = require 'when'
es = require 'event-stream'
streamCityRecords = require './streamCityRecords'
csvObjectToCity = require './transform/csvObjectToCity'
cityStreamToLevel = require './cityStreamToLevel'
cityStreamToMongo = require './cityStreamToMongo'
mongoCount = (Model, where = {}) ->
... | true | path = require 'path'
Promise = require 'when'
es = require 'event-stream'
streamCityRecords = require './streamCityRecords'
csvObjectToCity = require './transform/csvObjectToCity'
cityStreamToLevel = require './cityStreamToLevel'
cityStreamToMongo = require './cityStreamToMongo'
mongoCount = (Model, where = {}) ->
... |
[
{
"context": "thub.com/thrustlabs/contact-parser\n\nCopyright 2014 Jason Doucette, Thrust Labs\n\nPermission is hereby granted, free ",
"end": 132,
"score": 0.9998785853385925,
"start": 118,
"tag": "NAME",
"value": "Jason Doucette"
}
] | src/contact-parser.coffee | markstos/contact-parser | 0 | ###
ContactParser: an address parser class
Version 1.0
https://github.com/thrustlabs/contact-parser
Copyright 2014 Jason Doucette, Thrust Labs
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 wi... | 152718 | ###
ContactParser: an address parser class
Version 1.0
https://github.com/thrustlabs/contact-parser
Copyright 2014 <NAME>, Thrust Labs
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 re... | true | ###
ContactParser: an address parser class
Version 1.0
https://github.com/thrustlabs/contact-parser
Copyright 2014 PI:NAME:<NAME>END_PI, Thrust Labs
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 Softw... |
[
{
"context": " else\n km.unlock_pgp { passphrase: passphrase }, (err) =>\n if err\n PGPK",
"end": 860,
"score": 0.9934973120689392,
"start": 850,
"tag": "PASSWORD",
"value": "passphrase"
},
{
"context": "eyStore.exportKey({identity: identity, p... | packages/client-app/internal_packages/keybase/lib/key-manager.cjsx | cnheider/nylas-mail | 24,369 | {Utils, React, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
KeybaseUser = require './keybase-user'
PassphrasePopover = require './passphrase-popover'
kb = require './keybase'
_ = require 'underscore'
pgp = require 'kbpgp'
fs = require 'fs'
module.exports =
class KeyManager extends React.C... | 35384 | {Utils, React, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
KeybaseUser = require './keybase-user'
PassphrasePopover = require './passphrase-popover'
kb = require './keybase'
_ = require 'underscore'
pgp = require 'kbpgp'
fs = require 'fs'
module.exports =
class KeyManager extends React.C... | true | {Utils, React, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
KeybaseUser = require './keybase-user'
PassphrasePopover = require './passphrase-popover'
kb = require './keybase'
_ = require 'underscore'
pgp = require 'kbpgp'
fs = require 'fs'
module.exports =
class KeyManager extends React.C... |
[
{
"context": "sersStore.createIndex\n\t\t\tstore: 'users'\n\t\t\tname: 'name'\n\t\t\tkeyPath: 'name'\n\t\t\tunique: yes\n\n\t\tusersStore.",
"end": 8339,
"score": 0.758029580116272,
"start": 8335,
"tag": "NAME",
"value": "name"
},
{
"context": "o\n\n\t\t# Add data\n\t\treq = usersSto... | sources/coffee/Experimental/WebDB.coffee | heschel6/Magic_Experiment | 201 |
# WebDB
# Help
# db => IDBDatabase
# Register Events
Event.UpdateNeeded = 'updateneeded'
Event.Complete = 'complete'
Event.Blocked = 'blocked'
Event.VersionChange = 'versionchange'
# Compatibility check
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB
w... | 176066 |
# WebDB
# Help
# db => IDBDatabase
# Register Events
Event.UpdateNeeded = 'updateneeded'
Event.Complete = 'complete'
Event.Blocked = 'blocked'
Event.VersionChange = 'versionchange'
# Compatibility check
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB
w... | true |
# WebDB
# Help
# db => IDBDatabase
# Register Events
Event.UpdateNeeded = 'updateneeded'
Event.Complete = 'complete'
Event.Blocked = 'blocked'
Event.VersionChange = 'versionchange'
# Compatibility check
window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB
w... |
[
{
"context": "Ember.Widgets.BaseNonEditablePill.extend\n name: \"Today's Date\"\n\n result: -> Date()\n\n\nEmber.Widgets.PillSelect ",
"end": 2429,
"score": 0.9242751598358154,
"start": 2417,
"tag": "NAME",
"value": "Today's Date"
}
] | src/text_widget/non_editable_pill.coffee | eflexsystems/ember-widgets | 0 | # Base class for NonEditablePill that can be inserted into the TextEditorWithNonEditableComponent
Ember.Widgets.BaseNonEditablePill = Ember.Controller.extend Ember.Widgets.DomHelper,
textEditor: null
params: Ember.computed -> {}
##############################################################################
# ... | 52185 | # Base class for NonEditablePill that can be inserted into the TextEditorWithNonEditableComponent
Ember.Widgets.BaseNonEditablePill = Ember.Controller.extend Ember.Widgets.DomHelper,
textEditor: null
params: Ember.computed -> {}
##############################################################################
# ... | true | # Base class for NonEditablePill that can be inserted into the TextEditorWithNonEditableComponent
Ember.Widgets.BaseNonEditablePill = Ember.Controller.extend Ember.Widgets.DomHelper,
textEditor: null
params: Ember.computed -> {}
##############################################################################
# ... |
[
{
"context": " type: 'string'\n default: 'https://me6iaton:4e88254dc719d7f4df5b8e759e5c3919cdeca9d0@github.com/me6iaton/docapp-ghpages-test.git'\n ",
"end": 1947,
"score": 0.8101873397827148,
"start": 1909,
"tag": "PASSWORD",
"value": "e88254dc719d7f4df5b8e759e5c3919cdeca9d"
},
{
... | lib/main.coffee | me6iaton/docapp | 0 | {CompositeDisposable} = require 'atom'
git = httpServer = null
generatorFactory = require './generators/generator'
path = require 'path'
fs = require 'fs'
# projectPath
if process.platform == 'darwin'
resolvePath = '../../../project'
else
resolvePath = '../../project'
projectPath = path.resolve(atom.config.resourc... | 208542 | {CompositeDisposable} = require 'atom'
git = httpServer = null
generatorFactory = require './generators/generator'
path = require 'path'
fs = require 'fs'
# projectPath
if process.platform == 'darwin'
resolvePath = '../../../project'
else
resolvePath = '../../project'
projectPath = path.resolve(atom.config.resourc... | true | {CompositeDisposable} = require 'atom'
git = httpServer = null
generatorFactory = require './generators/generator'
path = require 'path'
fs = require 'fs'
# projectPath
if process.platform == 'darwin'
resolvePath = '../../../project'
else
resolvePath = '../../project'
projectPath = path.resolve(atom.config.resourc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.