entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "###\n @author Gilles Gerlinger\n Copyright 2016. All rights reserved.\n###\n\nmodul",
"end": 30,
"score": 0.9998674392700195,
"start": 14,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | src/log.coffee | gigerlin/easyRPC | 1 | ###
@author Gilles Gerlinger
Copyright 2016. All rights reserved.
###
module.exports = (text...) -> console.log new Date().toLocaleString(), '|', text...
| 106458 | ###
@author <NAME>
Copyright 2016. All rights reserved.
###
module.exports = (text...) -> console.log new Date().toLocaleString(), '|', text...
| true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2016. All rights reserved.
###
module.exports = (text...) -> console.log new Date().toLocaleString(), '|', text...
|
[
{
"context": "\t\t\t)\n\t\t\t)\n\t\n\tshowCountDrawer: =>\n\t\t@showPassword(@config.password, @showCountDrawerAuthed)\n\t\n\tshowCountDrawerAuthed",
"end": 5515,
"score": 0.6675645709037781,
"start": 5500,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": "$(\"#countdraw... | lib/quickpos/js/quickpos.coffee | wkylep/QuickPOS | 1 | class Quickpos
constructor: (@path) ->
@active = ""
@invoice_items = []
@container = "#main_container"
getConfig: ->
$.getJSON("#{@path}/config")
.done((data) =>
@config = data.content
@setupNav()
)
closeActive: =>
if @["close#{@active}"]?
return @["close#{@active}"]()
else
return @... | 140522 | class Quickpos
constructor: (@path) ->
@active = ""
@invoice_items = []
@container = "#main_container"
getConfig: ->
$.getJSON("#{@path}/config")
.done((data) =>
@config = data.content
@setupNav()
)
closeActive: =>
if @["close#{@active}"]?
return @["close#{@active}"]()
else
return @... | true | class Quickpos
constructor: (@path) ->
@active = ""
@invoice_items = []
@container = "#main_container"
getConfig: ->
$.getJSON("#{@path}/config")
.done((data) =>
@config = data.content
@setupNav()
)
closeActive: =>
if @["close#{@active}"]?
return @["close#{@active}"]()
else
return @... |
[
{
"context": "r = null\nadminUser = null\npassword = \"P4thw0rd\"\nuserAccessToken = null\nadminAccessToken = null\n",
"end": 788,
"score": 0.9992889761924744,
"start": 780,
"tag": "PASSWORD",
"value": "P4thw0rd"
},
{
"context": " user: (done) ->\n user =\n ... | test/working-tests/user-api.test.coffee | mattstone/StarterApp-Server | 0 | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
async = require 'async'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.pr... | 181253 | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
async = require 'async'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.pr... | true | should = require('chai').should()
config = require '../config/config.test.coffee'
request = require 'request'
async = require 'async'
# Start Setup App
app = {}
app.config = require '../config/config.test.coffee'
app.helpers = require '../lib/helpers.coffee'
app.mongoose = require 'mongoose'
app.mongoose.pr... |
[
{
"context": "=========\n # Battery System by Hyakka Studio\n # By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]\n # HRM_Batt",
"end": 141,
"score": 0.9998867511749268,
"start": 126,
"tag": "NAME",
"value": "Geoffrey Chueng"
},
{
"context": "ry System by Hyakka Studio\n # By ... | src/HRM_BatterySystem.coffee | HyakkaStudio/RPG-Maker-MV-Plugins | 2 | ###
# =============================================================================
# Battery System by Hyakka Studio
# By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]
# HRM_BatterySystem.js
# Version: 0.1.1
# Released under MIT
# Keep this section when you are using this plugin without any editing
# =... | 208565 | ###
# =============================================================================
# Battery System by Hyakka Studio
# By <NAME> <<EMAIL>> [Hyakka Studio]
# HRM_BatterySystem.js
# Version: 0.1.1
# Released under MIT
# Keep this section when you are using this plugin without any editing
# ======================... | true | ###
# =============================================================================
# Battery System by Hyakka Studio
# By PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> [Hyakka Studio]
# HRM_BatterySystem.js
# Version: 0.1.1
# Released under MIT
# Keep this section when you are using this plugin without any edit... |
[
{
"context": " console.log arguments\n\n###\nCopyright (C) 2011 by Pasion Mura <pmura@pmura.com>\n\nPermission is hereby granted, ",
"end": 215,
"score": 0.9998911023139954,
"start": 204,
"tag": "NAME",
"value": "Pasion Mura"
},
{
"context": "arguments\n\n###\nCopyright (C) 2011 by ... | scripts/blurry.coffee | pmura/blurry.js | 3 | # root = this
# Functions with underscore (_) before the fn name, are utility fn,
# they don't control flow of library
# root.pmwc =
# debug: ()->
# console.log arguments
###
Copyright (C) 2011 by Pasion Mura <pmura@pmura.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this ... | 104195 | # root = this
# Functions with underscore (_) before the fn name, are utility fn,
# they don't control flow of library
# root.pmwc =
# debug: ()->
# console.log arguments
###
Copyright (C) 2011 by <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and ... | true | # root = this
# Functions with underscore (_) before the fn name, are utility fn,
# they don't control flow of library
# root.pmwc =
# debug: ()->
# console.log arguments
###
Copyright (C) 2011 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Permission is hereby granted, free of charge, to any person obtaining... |
[
{
"context": ":#{PORT}\")\n .get(\"/book?$filter=author eq 'Ralls, Kim'\")\n .expect(200)\n .end (err, res) -",
"end": 1093,
"score": 0.9991493821144104,
"start": 1083,
"tag": "NAME",
"value": "Ralls, Kim"
}
] | node_modules/node-odata/test/odata.query.filter.coffee | hurzelpurzel/bookstoreajs | 0 | should = require('should')
request = require('supertest')
odata = require('../.')
support = require('./support')
PORT = 0
bookSchema =
author: String
description: String
genre: String
price: Number
publish_date: Date
title: String
books = undefined
describe 'odata.query.filter', ->
before (done) ->
... | 70783 | should = require('should')
request = require('supertest')
odata = require('../.')
support = require('./support')
PORT = 0
bookSchema =
author: String
description: String
genre: String
price: Number
publish_date: Date
title: String
books = undefined
describe 'odata.query.filter', ->
before (done) ->
... | true | should = require('should')
request = require('supertest')
odata = require('../.')
support = require('./support')
PORT = 0
bookSchema =
author: String
description: String
genre: String
price: Number
publish_date: Date
title: String
books = undefined
describe 'odata.query.filter', ->
before (done) ->
... |
[
{
"context": "sonapi.users.user.permissions%22%2C%22key%22%3A%22e1c3bab67cd33d4e6aa2df0c69a9c0b80b2020b25ac74a55677482385cbd5c76%22%2C%22username%22%3A%22admin%22%2C%",
"end": 370,
"score": 0.7387557029724121,
"start": 318,
"tag": "KEY",
"value": "e1c3bab67cd33d4e6aa2df0c69a9c0b80b2020b25ac7... | sdk/test_stream.coffee | NationsGlory/ngjsonapi | 109 | net = require 'net'
readline = require 'readline'
s = new net.Socket
keepAlive = ->
setTimeout ->
console.log "writing keep alive"
s.write "GSA\n"
keepAlive()
, 15000
s.setTimeout 0
s.on 'connect', ->
# s.write "GS /api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.users.user.permissions%22%2C%22key%22%3A%22e1... | 66517 | net = require 'net'
readline = require 'readline'
s = new net.Socket
keepAlive = ->
setTimeout ->
console.log "writing keep alive"
s.write "GSA\n"
keepAlive()
, 15000
s.setTimeout 0
s.on 'connect', ->
# s.write "GS /api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.users.user.permissions%22%2C%22key%22%3A%22<K... | true | net = require 'net'
readline = require 'readline'
s = new net.Socket
keepAlive = ->
setTimeout ->
console.log "writing keep alive"
s.write "GSA\n"
keepAlive()
, 15000
s.setTimeout 0
s.on 'connect', ->
# s.write "GS /api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.users.user.permissions%22%2C%22key%22%3A%22PI... |
[
{
"context": "\n {\n id: 1\n name: \"brian\"\n },{\n id: 2\n name",
"end": 2401,
"score": 0.9995433688163757,
"start": 2396,
"tag": "NAME",
"value": "brian"
},
{
"context": " },{\n id: 2\n nam... | packages/server/test/unit/files_spec.coffee | smartmanru/cypress | 0 | require("../spec_helper")
Promise = require("bluebird")
human = require("human-interval")
path = require("path")
R = require("ramda")
api = require("#{root}lib/api")
config = require("#{root}lib/config")
user = require("#{root}lib/user")
files ... | 98881 | require("../spec_helper")
Promise = require("bluebird")
human = require("human-interval")
path = require("path")
R = require("ramda")
api = require("#{root}lib/api")
config = require("#{root}lib/config")
user = require("#{root}lib/user")
files ... | true | require("../spec_helper")
Promise = require("bluebird")
human = require("human-interval")
path = require("path")
R = require("ramda")
api = require("#{root}lib/api")
config = require("#{root}lib/config")
user = require("#{root}lib/user")
files ... |
[
{
"context": "class $z.Ship # designed for Gameprez by Thomas Birdsey, http://twitter.com/Tbirdsey\n @viper: -> {path: ",
"end": 55,
"score": 0.9998810887336731,
"start": 41,
"tag": "NAME",
"value": "Thomas Birdsey"
},
{
"context": "or Gameprez by Thomas Birdsey, http://twitter.com/... | games/dronewar/src/modules/ship.coffee | dannyko/gpdk | 1 | class $z.Ship # designed for Gameprez by Thomas Birdsey, http://twitter.com/Tbirdsey
@viper: -> {path: [
{pathSegTypeAsLetter: 'M', x: 0, y: -24, react: true},
{pathSegTypeAsLetter: 'L', x: 24, y: 38, react: true},
{pathSegTypeAsLetter: 'L', x: 9, y: 58, react: true},
... | 38851 | class $z.Ship # designed for Gameprez by <NAME>, http://twitter.com/Tbirdsey
@viper: -> {path: [
{pathSegTypeAsLetter: 'M', x: 0, y: -24, react: true},
{pathSegTypeAsLetter: 'L', x: 24, y: 38, react: true},
{pathSegTypeAsLetter: 'L', x: 9, y: 58, react: true},
{p... | true | class $z.Ship # designed for Gameprez by PI:NAME:<NAME>END_PI, http://twitter.com/Tbirdsey
@viper: -> {path: [
{pathSegTypeAsLetter: 'M', x: 0, y: -24, react: true},
{pathSegTypeAsLetter: 'L', x: 24, y: 38, react: true},
{pathSegTypeAsLetter: 'L', x: 9, y: 58, react: true},
... |
[
{
"context": " ported to CoffeeScript\n# debouncing function from John Hann\n# http://unscriptable.com/index.php/2009/03/20/de",
"end": 97,
"score": 0.9996747374534607,
"start": 88,
"tag": "NAME",
"value": "John Hann"
}
] | app/assets/javascripts/debounce.coffee | pschumi/stellar | 0 | # Debounce and smartkeyup (in jQuery) ported to CoffeeScript
# debouncing function from John Hann
# http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
@debounce = (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
args = arguments
delayed = ->
... | 61394 | # Debounce and smartkeyup (in jQuery) ported to CoffeeScript
# debouncing function from <NAME>
# http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
@debounce = (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
args = arguments
delayed = ->
... | true | # Debounce and smartkeyup (in jQuery) ported to CoffeeScript
# debouncing function from PI:NAME:<NAME>END_PI
# http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
@debounce = (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
args = arguments
delay... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha\n#\n# Permission to use, copy, modify, and/or distr",
"end": 39,
"score": 0.9998711943626404,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
}
] | src/app/http/controllers/home.coffee | Riemannn/ast_lab | 0 | # Copyright (C) 2017 Alexandre Pielucha
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ... | 142205 | # Copyright (C) 2017 <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTI... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIM... |
[
{
"context": "e.openstreetmap.org/{z}/{x}/{y}.png',\n key: '1234'\n layerName: 'OpenStreetMap'\n styleId: ",
"end": 594,
"score": 0.9980229139328003,
"start": 590,
"tag": "KEY",
"value": "1234"
}
] | app/packages/grits-net-mapper/src/grits_map.coffee | billdmcconnell/fliightData | 4 | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... | 141989 | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... | true | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... |
[
{
"context": "# Responsive prototying on Framer\n# Alex Tsai\n# http://alextsai.me\n\n# Units for using percentag",
"end": 45,
"score": 0.9998059868812561,
"start": 36,
"tag": "NAME",
"value": "Alex Tsai"
}
] | responsive-template.framer/app.coffee | alex-tsai/responsive-framer | 0 | # Responsive prototying on Framer
# Alex Tsai
# http://alextsai.me
# Units for using percentages with dimensions
scrW = Screen.width/100
scrH = Screen.height/100
############################################
# Determining the Device
############################################
isPortrait = Screen.width < Screen.height... | 61613 | # Responsive prototying on Framer
# <NAME>
# http://alextsai.me
# Units for using percentages with dimensions
scrW = Screen.width/100
scrH = Screen.height/100
############################################
# Determining the Device
############################################
isPortrait = Screen.width < Screen.height
#... | true | # Responsive prototying on Framer
# PI:NAME:<NAME>END_PI
# http://alextsai.me
# Units for using percentages with dimensions
scrW = Screen.width/100
scrH = Screen.height/100
############################################
# Determining the Device
############################################
isPortrait = Screen.width < Sc... |
[
{
"context": "\n ContactItem\n key: contact.get('_id')\n contact: contact\n _teamId: @",
"end": 2796,
"score": 0.7963054776191711,
"start": 2794,
"tag": "KEY",
"value": "id"
},
{
"context": ">\n ContactItem\n key: invitation.get('_id')\n ... | talk-web/client/app/member-board.coffee | ikingye/talk-os | 3,084 | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
assign = require 'object-assign'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search ... | 176456 | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
assign = require 'object-assign'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search ... | true | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
assign = require 'object-assign'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search ... |
[
{
"context": "b.Form\n fid:\t\t\t'password'\n clear_fields:\t\t['password1', 'password2']\n handlers:\n h200:\t\t\t(respo",
"end": 866,
"score": 0.990963339805603,
"start": 857,
"tag": "PASSWORD",
"value": "password1"
},
{
"context": "d:\t\t\t'password'\n clear_field... | static/script/pages/settings.coffee | happz/settlers | 1 | window.settlers.setup_datepickers = () ->
options =
dateFormat: 'dd.mm.yy'
buttonImage: '/static/images/calendar.gif'
buttonText: window.hlib._g 'Choose'
changeMonth: true
closeText: window.hlib._g 'Set'
nextText: window.hlib._g 'Next'
prevText: window.hlib._g 'Previo... | 6087 | window.settlers.setup_datepickers = () ->
options =
dateFormat: 'dd.mm.yy'
buttonImage: '/static/images/calendar.gif'
buttonText: window.hlib._g 'Choose'
changeMonth: true
closeText: window.hlib._g 'Set'
nextText: window.hlib._g 'Next'
prevText: window.hlib._g 'Previo... | true | window.settlers.setup_datepickers = () ->
options =
dateFormat: 'dd.mm.yy'
buttonImage: '/static/images/calendar.gif'
buttonText: window.hlib._g 'Choose'
changeMonth: true
closeText: window.hlib._g 'Set'
nextText: window.hlib._g 'Next'
prevText: window.hlib._g 'Previo... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\npreviousNode = (node) ->\n ",
"end": 35,
"score": 0.9997022747993469,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/core/dom.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
previousNode = (node) ->
previousSibling = node.previousSibling
if previousSibling
lastDescendantNodeOrSelf(previousSibling)
else
node.parentNode or null
nextNode = (node) ->
firstChild = node.firstChild
if firstChild
firstChild
else
... | 136936 | # Copyright (c) 2015 <NAME>. All rights reserved.
previousNode = (node) ->
previousSibling = node.previousSibling
if previousSibling
lastDescendantNodeOrSelf(previousSibling)
else
node.parentNode or null
nextNode = (node) ->
firstChild = node.firstChild
if firstChild
firstChild
else
nextSi... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
previousNode = (node) ->
previousSibling = node.previousSibling
if previousSibling
lastDescendantNodeOrSelf(previousSibling)
else
node.parentNode or null
nextNode = (node) ->
firstChild = node.firstChild
if firstChild
firstChild
e... |
[
{
"context": ",id,callback) ->\n @nodeDetails ||= {}\n key = \"#{type}_#{id}\"\n return callback(@nodeDetails[key].content,@no",
"end": 6439,
"score": 0.9990670084953308,
"start": 6424,
"tag": "KEY",
"value": "\"#{type}_#{id}\""
}
] | plugins/networking/app/assets/javascripts/networking/plugin/topology.coffee | DoNnMyTh/elektra | 1 | class Topology
defaults =
nominalBaseNodeSize: 18
nominalTextSize: 12
maxTextSize: 24
nominalStroke: 1.5
maxStroke: 4.5
maxBaseNodeSize: 36
minZoom: 0.1
maxZoom: 7
# container is a DOM element, data is a json
constructor: (container, data, options={}) ->
console.log(options)
... | 78779 | class Topology
defaults =
nominalBaseNodeSize: 18
nominalTextSize: 12
maxTextSize: 24
nominalStroke: 1.5
maxStroke: 4.5
maxBaseNodeSize: 36
minZoom: 0.1
maxZoom: 7
# container is a DOM element, data is a json
constructor: (container, data, options={}) ->
console.log(options)
... | true | class Topology
defaults =
nominalBaseNodeSize: 18
nominalTextSize: 12
maxTextSize: 24
nominalStroke: 1.5
maxStroke: 4.5
maxBaseNodeSize: 36
minZoom: 0.1
maxZoom: 7
# container is a DOM element, data is a json
constructor: (container, data, options={}) ->
console.log(options)
... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.6025891900062561,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/components/graphGeometry.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2017 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 94058 | ###!
Copyright (c) 2002-2017 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... | true | ###!
Copyright (c) 2002-2017 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# Permission to use, copy, modify",
"end": 39,
"score": 0.9998951554298401,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
},
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# P... | tests/test.coffee | Riemannn/AST_Final_Project | 0 | # Copyright (C) 2017 Alexandre Pielucha & Marie Perin
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 193776 | # Copyright (C) 2017 <NAME> & <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" ... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde",
"end": 23,
"score": 0.9995885491371155,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | test/test_fm_index.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 127140 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... |
[
{
"context": "Site alternatif pour les ardoises\"\n author: \"Damien Reimert\"\n db:\n pg: \"postgres://localhost/dbname\"\n co",
"end": 155,
"score": 0.9998877048492432,
"start": 141,
"tag": "NAME",
"value": "Damien Reimert"
},
{
"context": "ame\"\n cookie:\n maxAge: 3... | conf.default.coffee | dreimert/foyer | 2 | module.exports =
jade:
site:
title: "Ardoise alternative"
descriptiont: "Site alternatif pour les ardoises"
author: "Damien Reimert"
db:
pg: "postgres://localhost/dbname"
cookie:
maxAge: 300000
secretKey: "keyboardCat"
| 117287 | module.exports =
jade:
site:
title: "Ardoise alternative"
descriptiont: "Site alternatif pour les ardoises"
author: "<NAME>"
db:
pg: "postgres://localhost/dbname"
cookie:
maxAge: 300000
secretKey: "<KEY>"
| true | module.exports =
jade:
site:
title: "Ardoise alternative"
descriptiont: "Site alternatif pour les ardoises"
author: "PI:NAME:<NAME>END_PI"
db:
pg: "postgres://localhost/dbname"
cookie:
maxAge: 300000
secretKey: "PI:KEY:<KEY>END_PI"
|
[
{
"context": "深度嵌套的数组跟对象上, 取出深度嵌套的属性.\n\nfuturists =\n sculptor: \"Umberto Boccioni\"\n painter: \"Vladimir Burliuk\"\n poet:\n name:",
"end": 538,
"score": 0.9998754262924194,
"start": 522,
"tag": "NAME",
"value": "Umberto Boccioni"
},
{
"context": "sts =\n sculptor: \"Umber... | src/coffee/deconstruction.coffee | Caraxiong/CoffeeScript_demo | 0 | # 解构赋值
# CoffeeScript 实现 ECMAScript Harmony 的提议 解构赋值 语法, 这样从复杂的数组和对象展开数据会更方便一些. 当你把数组或者对象的字面量赋值到一个变量时, CoffeeScript 把等式两边都解开配对, 把右边的值赋值给左边的变量. 最简单的例子, 可以用来并行赋值:
theBait = 1000
theSwitch = 0
[theBait, theSwitch] = [theSwitch, theBait]
# 用来处理函数多返回值也很方便.
weatherReport = (location) ->
# 发起一个 Ajax 请求获取天气...
[locat... | 151692 | # 解构赋值
# CoffeeScript 实现 ECMAScript Harmony 的提议 解构赋值 语法, 这样从复杂的数组和对象展开数据会更方便一些. 当你把数组或者对象的字面量赋值到一个变量时, CoffeeScript 把等式两边都解开配对, 把右边的值赋值给左边的变量. 最简单的例子, 可以用来并行赋值:
theBait = 1000
theSwitch = 0
[theBait, theSwitch] = [theSwitch, theBait]
# 用来处理函数多返回值也很方便.
weatherReport = (location) ->
# 发起一个 Ajax 请求获取天气...
[locat... | true | # 解构赋值
# CoffeeScript 实现 ECMAScript Harmony 的提议 解构赋值 语法, 这样从复杂的数组和对象展开数据会更方便一些. 当你把数组或者对象的字面量赋值到一个变量时, CoffeeScript 把等式两边都解开配对, 把右边的值赋值给左边的变量. 最简单的例子, 可以用来并行赋值:
theBait = 1000
theSwitch = 0
[theBait, theSwitch] = [theSwitch, theBait]
# 用来处理函数多返回值也很方便.
weatherReport = (location) ->
# 发起一个 Ajax 请求获取天气...
[locat... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999136924743652,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/countdown-timer.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
bn = 'countdown-timer'
export class Countdown... | 73429 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
bn = 'countdown-timer'
export class CountdownTimer e... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
bn = 'countdown-timer'
export class C... |
[
{
"context": "tatic\n ####\n @labels:\n username : -> i18n.t 'username'\n password : -> i18n.t 'password'\n\n\n ###\n Sa",
"end": 1415,
"score": 0.9974428415298462,
"start": 1407,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username : -> i18n.t 'username'\n ... | src/app/modules/user/entities/UserLogin.coffee | josepramon/tfm-adminApp | 0 | # Dependencies
# -------------------------
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Libs/generic stuff:
i18n = require 'i18next-client'
###
UserLogin model
================
Used on the login view
@class
@augments Model
###
module.exports = clas... | 223618 | # Dependencies
# -------------------------
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Libs/generic stuff:
i18n = require 'i18next-client'
###
UserLogin model
================
Used on the login view
@class
@augments Model
###
module.exports = clas... | true | # Dependencies
# -------------------------
# Base class (extends Backbone.Model)
Model = require 'msq-appbase/lib/appBaseComponents/entities/Model'
# Libs/generic stuff:
i18n = require 'i18next-client'
###
UserLogin model
================
Used on the login view
@class
@augments Model
###
module.exports = clas... |
[
{
"context": "server = require '../../src/server'\n\nuser_name = 'user1'\nuser =\n id: process.env.SPRINTLY_USER_ID\n emai",
"end": 119,
"score": 0.9988316297531128,
"start": 114,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "er.email} #{user.key}\"\n server.inject \"/?to... | test/functional/item-spec.coffee | Starefossen/slackly | 1 | assert = require 'assert'
redis = require '../../src/db/redis'
server = require '../../src/server'
user_name = 'user1'
user =
id: process.env.SPRINTLY_USER_ID
email: process.env.SPRINTLY_USER
key: process.env.SPRINTLY_KEY
before (done) ->
redis.flushall done
describe 'Register', ->
it 'registers user', (d... | 201997 | assert = require 'assert'
redis = require '../../src/db/redis'
server = require '../../src/server'
user_name = 'user1'
user =
id: process.env.SPRINTLY_USER_ID
email: process.env.SPRINTLY_USER
key: process.env.SPRINTLY_KEY
before (done) ->
redis.flushall done
describe 'Register', ->
it 'registers user', (d... | true | assert = require 'assert'
redis = require '../../src/db/redis'
server = require '../../src/server'
user_name = 'user1'
user =
id: process.env.SPRINTLY_USER_ID
email: process.env.SPRINTLY_USER
key: process.env.SPRINTLY_KEY
before (done) ->
redis.flushall done
describe 'Register', ->
it 'registers user', (d... |
[
{
"context": " configs: [\n name: 'user.name'\n value: 'bouzuya'\n ,\n name: 'user.email'\n value: 'm@b",
"end": 5512,
"score": 0.8872698545455933,
"start": 5505,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "uya'\n ,\n name: 'user.email'\n ... | gulpfile.coffee | bouzuya/bbn-react | 1 | {Promise} = require 'es6-promise'
borage = require 'borage'
browserify = require 'browserify'
browserSync = require 'browser-sync'
buffer = require 'vinyl-buffer'
coffee = require 'gulp-coffee'
concat = require 'gulp-concat'
del = require 'del'
espower = require 'gulp-espower'
gulp = require 'gulp'
gutil = require 'gul... | 190003 | {Promise} = require 'es6-promise'
borage = require 'borage'
browserify = require 'browserify'
browserSync = require 'browser-sync'
buffer = require 'vinyl-buffer'
coffee = require 'gulp-coffee'
concat = require 'gulp-concat'
del = require 'del'
espower = require 'gulp-espower'
gulp = require 'gulp'
gutil = require 'gul... | true | {Promise} = require 'es6-promise'
borage = require 'borage'
browserify = require 'browserify'
browserSync = require 'browser-sync'
buffer = require 'vinyl-buffer'
coffee = require 'gulp-coffee'
concat = require 'gulp-concat'
del = require 'del'
espower = require 'gulp-espower'
gulp = require 'gulp'
gutil = require 'gul... |
[
{
"context": ".js, a JavaScript game library\n\thttp://github.com/EvanHahn/Fiesta.js/\n\tCopyright (c) 2011 Evan Hahn\n\n\tFiesta",
"end": 70,
"score": 0.998681902885437,
"start": 62,
"tag": "USERNAME",
"value": "EvanHahn"
},
{
"context": "github.com/EvanHahn/Fiesta.js/\n\tCopyright ... | src/namespace.coffee | EvanHahn/Fiesta.js | 0 | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 Evan Hahn
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)
| 210945 | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 <NAME>
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)
| true | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 PI:NAME:<NAME>END_PI
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)... |
[
{
"context": " # customerId: '111'\n # customerEmail: 'john@doe.com'\n # lineItems: [\n # {\n # pro",
"end": 1492,
"score": 0.9999040365219116,
"start": 1480,
"tag": "EMAIL",
"value": "john@doe.com"
},
{
"context": "00\n # shippingAddress:\n # ... | src/coffee/services/orders.coffee | commercetools/sphere-node-sdk | 13 | BaseService = require './base'
# Public: Define a `OrderService` to interact with the HTTP [`orders`](http://dev.sphere.io/http-api-projects-orders.html) endpoint.
#
# _An order is the final state of a cart, usually created after a checkout process has been completed._
#
# Examples
#
# service = client.orders
# se... | 6277 | BaseService = require './base'
# Public: Define a `OrderService` to interact with the HTTP [`orders`](http://dev.sphere.io/http-api-projects-orders.html) endpoint.
#
# _An order is the final state of a cart, usually created after a checkout process has been completed._
#
# Examples
#
# service = client.orders
# se... | true | BaseService = require './base'
# Public: Define a `OrderService` to interact with the HTTP [`orders`](http://dev.sphere.io/http-api-projects-orders.html) endpoint.
#
# _An order is the final state of a cart, usually created after a checkout process has been completed._
#
# Examples
#
# service = client.orders
# se... |
[
{
"context": " sinon.stub(user, \"get\").resolves({authToken: \"auth-token-123\"})\n\n exception.getAuthToken().then (authToke",
"end": 665,
"score": 0.9939613938331604,
"start": 651,
"tag": "PASSWORD",
"value": "auth-token-123"
},
{
"context": "n (authToken) ->\n expe... | packages/server/test/unit/exceptions_spec.coffee | christophehurpeau/cypress | 3 | require("../spec_helper")
delete global.fs
winston = require("winston")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
logger = require("#{root}lib/logger")
cache = require("#{root}lib/cache")
exception = require("#{root}lib/exception")
Routes = re... | 10577 | require("../spec_helper")
delete global.fs
winston = require("winston")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
logger = require("#{root}lib/logger")
cache = require("#{root}lib/cache")
exception = require("#{root}lib/exception")
Routes = re... | true | require("../spec_helper")
delete global.fs
winston = require("winston")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
logger = require("#{root}lib/logger")
cache = require("#{root}lib/cache")
exception = require("#{root}lib/exception")
Routes = re... |
[
{
"context": " 60 # seconds\n\t\t\tOneTimeTokenHandler.getNewToken 'password', user._id, { expiresIn: ONE_WEEK }, (err, token)",
"end": 2812,
"score": 0.9722798466682434,
"start": 2804,
"tag": "PASSWORD",
"value": "password"
}
] | app/coffee/Features/User/UserRegistrationHandler.coffee | shyoshyo/web-sharelatex | 1 | User = require("../../models/User").User
UserCreator = require("./UserCreator")
UserGetter = require("./UserGetter")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
cr... | 222588 | User = require("../../models/User").User
UserCreator = require("./UserCreator")
UserGetter = require("./UserGetter")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
cr... | true | User = require("../../models/User").User
UserCreator = require("./UserCreator")
UserGetter = require("./UserGetter")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
cr... |
[
{
"context": "umber: cc.number,\n cvc: cc.cvv , # key is 'cvc' in stripe, but we use cvv in view\n exp_mo",
"end": 2570,
"score": 0.8114566802978516,
"start": 2567,
"tag": "KEY",
"value": "cvc"
}
] | vendor/assets/javascripts/keybridge/stripe.js.coffee | eduvo/bootstrap-sass | 0 | define (require) ->
require 'stripe-v2'
class StripCreditCard
constructor: ( @dom ) ->
@number = @dom.find('[data-stripe=number]').val()
@cvv = @dom.find('[data-stripe=cvv]').val()
@exp_month = @dom.find('[data-stripe=exp-month]').val()
@exp_year = @dom.find('[data-stripe=exp-year]').val... | 205485 | define (require) ->
require 'stripe-v2'
class StripCreditCard
constructor: ( @dom ) ->
@number = @dom.find('[data-stripe=number]').val()
@cvv = @dom.find('[data-stripe=cvv]').val()
@exp_month = @dom.find('[data-stripe=exp-month]').val()
@exp_year = @dom.find('[data-stripe=exp-year]').val... | true | define (require) ->
require 'stripe-v2'
class StripCreditCard
constructor: ( @dom ) ->
@number = @dom.find('[data-stripe=number]').val()
@cvv = @dom.find('[data-stripe=cvv]').val()
@exp_month = @dom.find('[data-stripe=exp-month]').val()
@exp_year = @dom.find('[data-stripe=exp-year]').val... |
[
{
"context": " is validated directly in your views\n#\n# @author \tOlivier Bossel <olivier.bossel@gmail.com>\n# @created \t19.06.14\n#",
"end": 179,
"score": 0.9998691082000732,
"start": 165,
"tag": "NAME",
"value": "Olivier Bossel"
},
{
"context": "rectly in your views\n#\n# @author... | coffee/ng-when.coffee | esleducation/ng-when | 0 | ###
# ng-when
#
# This angular module provide some usefull directives to execute code only then a certain condition is validated directly in your views
#
# @author Olivier Bossel <olivier.bossel@gmail.com>
# @created 19.06.14
# @updated 13.05.15
# @version 1.0.3
###
do ->
ngWhen = angular.module 'ngWhen', []
##... | 173327 | ###
# ng-when
#
# This angular module provide some usefull directives to execute code only then a certain condition is validated directly in your views
#
# @author <NAME> <<EMAIL>>
# @created 19.06.14
# @updated 13.05.15
# @version 1.0.3
###
do ->
ngWhen = angular.module 'ngWhen', []
###
# When directive that ... | true | ###
# ng-when
#
# This angular module provide some usefull directives to execute code only then a certain condition is validated directly in your views
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @created 19.06.14
# @updated 13.05.15
# @version 1.0.3
###
do ->
ngWhen = angular.module 'ngWhen', []
... |
[
{
"context": "teHash 'sha1'\n sha1pass.update params.password, 'utf-8'\n\n user_params =\n personal:\n name: param",
"end": 2413,
"score": 0.9887151718139648,
"start": 2408,
"tag": "PASSWORD",
"value": "utf-8"
},
{
"context": "ms.photo || ''\n link: params.link\n pass... | runexto/routes/me.coffee | wearen1/sandbox | 0 | lib = require '../lib'
db = require '../db'
_ = lib.get '_'
log = lib.log()
fs = lib.get 'fs'
crypto = lib.get 'crypto'
path = lib.get 'path'
validate = lib.get 'validate'
Promise = lib.get 'bluebird'
Q = lib.get 'q'
validate.validators.exists = (value)->
validate.Promise (resolve, reject)->
db.models.User.coun... | 3429 | lib = require '../lib'
db = require '../db'
_ = lib.get '_'
log = lib.log()
fs = lib.get 'fs'
crypto = lib.get 'crypto'
path = lib.get 'path'
validate = lib.get 'validate'
Promise = lib.get 'bluebird'
Q = lib.get 'q'
validate.validators.exists = (value)->
validate.Promise (resolve, reject)->
db.models.User.coun... | true | lib = require '../lib'
db = require '../db'
_ = lib.get '_'
log = lib.log()
fs = lib.get 'fs'
crypto = lib.get 'crypto'
path = lib.get 'path'
validate = lib.get 'validate'
Promise = lib.get 'bluebird'
Q = lib.get 'q'
validate.validators.exists = (value)->
validate.Promise (resolve, reject)->
db.models.User.coun... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nowEBSgG1/pANAwAJAZgKPw0B/gTfAcsaYgBTS9bpdGhpcyBpcyB3aXRoIFNIQTM4\nNAqJARwEAAEJAAYFAlNL1ukACgkQmAo/DQH+BN+31Qf/Wz3ZNNmA8ptd6uSxb38K\nF7dwO3Blt/GJ46bOm7kDZc1+kv3/lkJg1Gl7NDfEySfXAAIJXbPiZxALwMkuR5jj\nWgif9qJgKfwSeMdjTBKKLtlRprwee6unSgTQ8zL2Q1BUGl... | test/files/sig_various_hashes.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
key = require('../data/keys.iced').keys.mk
#================================================================================
sigs = [
{
sig : """
-... | 105963 | {KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
key = require('../data/keys.iced').keys.mk
#================================================================================
sigs = [
{
sig : """
-... | true | {KeyManager} = require '../../'
{do_message,Processor} = require '../../lib/openpgp/processor'
#==================================================================
key = require('../data/keys.iced').keys.mk
#================================================================================
sigs = [
{
sig : """
-... |
[
{
"context": "he value as passed in', ->\n aObj = {name: 'a'}\n bObj = {name: 'b'}\n cObj = {name",
"end": 14548,
"score": 0.6965610384941101,
"start": 14547,
"tag": "NAME",
"value": "a"
}
] | src/components/autocomplete-picker/spec.coffee | p-koscielniak/hexagonjs | 61 | import chai from 'chai'
import { select, div, button, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import logger from 'utils/logger'
import { autocompletePicker, AutocompletePickerBase as AutocompletePicker } from 'components/autocomplete-picker'
import { MenuBase as Menu... | 19210 | import chai from 'chai'
import { select, div, button, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import logger from 'utils/logger'
import { autocompletePicker, AutocompletePickerBase as AutocompletePicker } from 'components/autocomplete-picker'
import { MenuBase as Menu... | true | import chai from 'chai'
import { select, div, button, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import logger from 'utils/logger'
import { autocompletePicker, AutocompletePickerBase as AutocompletePicker } from 'components/autocomplete-picker'
import { MenuBase as Menu... |
[
{
"context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# fileCollection is free software released un",
"end": 124,
"score": 0.9997783899307251,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
},
{
"context": "=@\"universe.png\";type=image/png' -H... | src/http_access_server.coffee | swiftcourt/meteor-file-collection | 0 | ############################################################################
# Copyright (C) 2014-2017 by Vaughn Iverson
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################... | 200368 | ############################################################################
# Copyright (C) 2014-2017 by <NAME>
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
import... | true | ############################################################################
# Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
######################################################################... |
[
{
"context": "sePart1 = () ->\n text = \"close\\ntoken: testfile.txt\\n\"\n conn.write text\n setTimeout closePart2,",
"end": 402,
"score": 0.6697585582733154,
"start": 399,
"tag": "PASSWORD",
"value": "txt"
},
{
"context": " setTimeout closePart1, 500\n\nserver.listen port,... | test/testEditor.coffee | jrnewell/jmate | 48 | net = require("net")
port = 52699
server = net.createServer (conn) ->
console.log "connection opened"
conn.on "data", (data) ->
console.log data.toString("utf8")
conn.on "error", (err) ->
console.error err
conn.on "end", () ->
console.log "connenction ended"
closePart2 = () ->
text = "\n... | 120014 | net = require("net")
port = 52699
server = net.createServer (conn) ->
console.log "connection opened"
conn.on "data", (data) ->
console.log data.toString("utf8")
conn.on "error", (err) ->
console.error err
conn.on "end", () ->
console.log "connenction ended"
closePart2 = () ->
text = "\n... | true | net = require("net")
port = 52699
server = net.createServer (conn) ->
console.log "connection opened"
conn.on "data", (data) ->
console.log data.toString("utf8")
conn.on "error", (err) ->
console.error err
conn.on "end", () ->
console.log "connenction ended"
closePart2 = () ->
text = "\n... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/8/15 1",
"end": 16,
"score": 0.9995580911636353,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/8/15 11:43 AM\n# Description: redi... | src/redis/connect.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/8/15 11:43 AM
# Description: redis的基础类
_redis = require 'redis'
_common = require '../common'
_config = _common.config
_client = null
(->
cfg = _common.config.redis
exports.redis = _client = _redis.createClient(cfg.port, cfg.server)
)() | 35411 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/8/15 11:43 AM
# Description: redis的基础类
_redis = require 'redis'
_common = require '../common'
_config = _common.config
_client = null
(->
cfg = _common.config.redis
exports.redis = _client = _redis.createClient(cfg.port, cfg.server)
)() | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/8/15 11:43 AM
# Description: redis的基础类
_redis = require 'redis'
_common = require '../common'
_config = _common.config
_client = null
(->
cfg = _common.config.redis
exports.redis = _client = _redis.createClient(cfg.port, cfg.ser... |
[
{
"context": "entemitter3\"\nUtils = require \"./Utils\"\n\nEventKey = \"_events\"\n\nclass exports.EventEmitter extends EventEmitter",
"end": 86,
"score": 0.9759408235549927,
"start": 78,
"tag": "KEY",
"value": "\"_events"
}
] | src/EventEmitter.coffee | etiennepinchon/hologram | 89 | EventEmitter3 = require "eventemitter3"
Utils = require "./Utils"
EventKey = "_events"
class exports.EventEmitter extends EventEmitter3
listenerEvents: ->
return [] if @[EventKey] is undefined
return Utils.keys(@[EventKey])
removeAllListeners: (eventName) ->
# We override this method to make the eventName ... | 13924 | EventEmitter3 = require "eventemitter3"
Utils = require "./Utils"
EventKey = <KEY>"
class exports.EventEmitter extends EventEmitter3
listenerEvents: ->
return [] if @[EventKey] is undefined
return Utils.keys(@[EventKey])
removeAllListeners: (eventName) ->
# We override this method to make the eventName opt... | true | EventEmitter3 = require "eventemitter3"
Utils = require "./Utils"
EventKey = PI:KEY:<KEY>END_PI"
class exports.EventEmitter extends EventEmitter3
listenerEvents: ->
return [] if @[EventKey] is undefined
return Utils.keys(@[EventKey])
removeAllListeners: (eventName) ->
# We override this method to make the ... |
[
{
"context": "GOOGLE_MAPS = google:\n maps:\n api_key: 'AIzaSyCmfR2XMO4sljkBUtkxrE3aizEn9AL39zw'\n \nmodule.exports = GOOGLE_MAPS;",
"end": 83,
"score": 0.999733030796051,
"start": 44,
"tag": "KEY",
"value": "AIzaSyCmfR2XMO4sljkBUtkxrE3aizEn9AL39zw"
}
] | config/google_maps.coffee | jsilland/delta | 0 | GOOGLE_MAPS = google:
maps:
api_key: 'AIzaSyCmfR2XMO4sljkBUtkxrE3aizEn9AL39zw'
module.exports = GOOGLE_MAPS; | 64132 | GOOGLE_MAPS = google:
maps:
api_key: '<KEY>'
module.exports = GOOGLE_MAPS; | true | GOOGLE_MAPS = google:
maps:
api_key: 'PI:KEY:<KEY>END_PI'
module.exports = GOOGLE_MAPS; |
[
{
"context": " @fileoverview Tests for jsx-tag-spacing\n# @author Diogo Franco (Kovensky)\n###\n\n'use strict'\n\n# -----------------",
"end": 69,
"score": 0.9998412132263184,
"start": 57,
"tag": "NAME",
"value": "Diogo Franco"
},
{
"context": "Tests for jsx-tag-spacing\n# @author Di... | src/tests/rules/jsx-tag-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for jsx-tag-spacing
# @author Diogo Franco (Kovensky)
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-tag-spacing'... | 209637 | ###*
# @fileoverview Tests for jsx-tag-spacing
# @author <NAME> (Kovensky)
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-tag-spacing'
{Rule... | true | ###*
# @fileoverview Tests for jsx-tag-spacing
# @author PI:NAME:<NAME>END_PI (Kovensky)
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require '../../rules/jsx-tag-... |
[
{
"context": "gramming.com/adventure.pdf\n# Copyright (C) 1998 by Don Woods and Don Knuth; all rights reserved\n#\n# This illus",
"end": 172,
"score": 0.9998517036437988,
"start": 163,
"tag": "NAME",
"value": "Don Woods"
},
{
"context": "dventure.pdf\n# Copyright (C) 1998 by Don Wood... | data/coffeescript/a0552646226644a63ec2e7464d7b4e47_game.coffee | maxim5/code-inspector | 5 | #
# This version of Adventure is based on the literate programming version available at
# http://www.literateprogramming.com/adventure.pdf
# Copyright (C) 1998 by Don Woods and Don Knuth; all rights reserved
#
# This illustrates the use of data views providing different filtered versions of the core
# data store.
#
((... | 118734 | #
# This version of Adventure is based on the literate programming version available at
# http://www.literateprogramming.com/adventure.pdf
# Copyright (C) 1998 by <NAME> and <NAME>; all rights reserved
#
# This illustrates the use of data views providing different filtered versions of the core
# data store.
#
(($, MIT... | true | #
# This version of Adventure is based on the literate programming version available at
# http://www.literateprogramming.com/adventure.pdf
# Copyright (C) 1998 by PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI; all rights reserved
#
# This illustrates the use of data views providing different filtered versions of the co... |
[
{
"context": "\n I hope it has some ammo.\n \"\"\"\n search: \"Ask Christine to search for a cartridge\"\n clips_not_found: [\n ",
"end": 1912,
"score": 0.9492557048797607,
"start": 1903,
"tag": "NAME",
"value": "Christine"
},
{
"context": "e fall.\n \"\"\",\n ]\n start: (... | game/translations/en.coffee | Oreolek/shooter | 1 | module.exports.language =
emptyclip: "I get rid of empty cartridge."
player_hit: [
"""
The bullet pierces the creature's head, and it becomes water, spilling on the soil.
But the next one is already coming out of the portal.
""",
"""
Robot tries to dodge but comes square under the bull... | 57930 | module.exports.language =
emptyclip: "I get rid of empty cartridge."
player_hit: [
"""
The bullet pierces the creature's head, and it becomes water, spilling on the soil.
But the next one is already coming out of the portal.
""",
"""
Robot tries to dodge but comes square under the bull... | true | module.exports.language =
emptyclip: "I get rid of empty cartridge."
player_hit: [
"""
The bullet pierces the creature's head, and it becomes water, spilling on the soil.
But the next one is already coming out of the portal.
""",
"""
Robot tries to dodge but comes square under the bull... |
[
{
"context": "key: 'block-attribute'\n\npatterns: [\n\n # Matches block attribu",
"end": 11,
"score": 0.6287057399749756,
"start": 11,
"tag": "KEY",
"value": ""
}
] | grammars/repositories/partials/block-attribute-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'block-attribute'
patterns: [
# Matches block attribute.
# [<blockname>,<positional attributes>,<explicit attributes>]
#
# Examples:
#
# [ditaa,diagram-name,format=png]
# [literal#output.console%nowrap]
#
match: '^\\[(|\\p{Blank}*[\\p{Word}\\{,.#"\'%].*)\\]$'
name: 'markup.heading.block-a... | 62305 | key: 'block<KEY>-attribute'
patterns: [
# Matches block attribute.
# [<blockname>,<positional attributes>,<explicit attributes>]
#
# Examples:
#
# [ditaa,diagram-name,format=png]
# [literal#output.console%nowrap]
#
match: '^\\[(|\\p{Blank}*[\\p{Word}\\{,.#"\'%].*)\\]$'
name: 'markup.heading.bl... | true | key: 'blockPI:KEY:<KEY>END_PI-attribute'
patterns: [
# Matches block attribute.
# [<blockname>,<positional attributes>,<explicit attributes>]
#
# Examples:
#
# [ditaa,diagram-name,format=png]
# [literal#output.console%nowrap]
#
match: '^\\[(|\\p{Blank}*[\\p{Word}\\{,.#"\'%].*)\\]$'
name: 'mark... |
[
{
"context": "cMethod: sinon.stub()\n\n\t\t@stubbedUser = \n\t\t\tname:\"bob\"\n\t\t\temail:\"hello@world.com\"\n\t\t@user_id = \"3131231",
"end": 717,
"score": 0.8414008617401123,
"start": 714,
"tag": "USERNAME",
"value": "bob"
},
{
"context": "stub()\n\n\t\t@stubbedUser = \n\t\t\tn... | test/unit/coffee/User/UserUpdaterTests.coffee | dtu-compute/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/User/UserUpdater"
expect = require("chai").expect
describe "UserUpdater", ->
beforeEach ->
@sett... | 102112 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserUpdater"
expect = require("chai").expect
describe "UserUpdater", ->
beforeEach ->
@sett... | 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/User/UserUpdater"
expect = require("chai").expect
describe "UserUpdater", ->
beforeEach ->
@sett... |
[
{
"context": "ETA WHERE key = $key LIMIT 1',\n $key: 'LAST_SCREENID'\n , (err, data) =>\n if data? an",
"end": 1088,
"score": 0.9667065143585205,
"start": 1075,
"tag": "KEY",
"value": "LAST_SCREENID"
},
{
"context": "value) VALUES ($key, $value)',\n ... | src/lib/screen.coffee | SummerWish/swall-client | 2 | events = require 'events'
io = require 'socket.io-client'
async = require 'async'
fs = require 'fs'
url = require 'url'
Assets = require './assets.js'
class ScreenManager extends events.EventEmitter
constructor: (host) ->
@host = host
@_reset()
@_connectLast()
# bind i... | 67710 | events = require 'events'
io = require 'socket.io-client'
async = require 'async'
fs = require 'fs'
url = require 'url'
Assets = require './assets.js'
class ScreenManager extends events.EventEmitter
constructor: (host) ->
@host = host
@_reset()
@_connectLast()
# bind i... | true | events = require 'events'
io = require 'socket.io-client'
async = require 'async'
fs = require 'fs'
url = require 'url'
Assets = require './assets.js'
class ScreenManager extends events.EventEmitter
constructor: (host) ->
@host = host
@_reset()
@_connectLast()
# bind i... |
[
{
"context": "WithSnippetsDisabled: []\n projectHome: \"/Users/jfriesen/git\"\n telemetryConsent: \"limited\"\n themes: ",
"end": 4250,
"score": 0.998049259185791,
"start": 4242,
"tag": "USERNAME",
"value": "jfriesen"
},
{
"context": "st-it\":\n openAfterCreate: true\n ... | config.cson | jeremyf/dotatom | 0 | "*":
Zen:
gutter: true
showWordCount: "Right"
softWrap: true
typewriter: true
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "be29c347-... | 79267 | "*":
Zen:
gutter: true
showWordCount: "Right"
softWrap: true
typewriter: true
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "be29c347-... | true | "*":
Zen:
gutter: true
showWordCount: "Right"
softWrap: true
typewriter: true
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "be29c347-... |
[
{
"context": " are declared and non-required propTypes\n# @author Vitor Balocco\n# @author Roy Sutton\n###\n'use strict'\n\n# --------",
"end": 109,
"score": 0.9996892213821411,
"start": 96,
"tag": "NAME",
"value": "Vitor Balocco"
},
{
"context": "quired propTypes\n# @author Vitor Ba... | src/tests/rules/default-props-match-prop-types.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce all defaultProps are declared and non-required propTypes
# @author Vitor Balocco
# @author Roy Sutton
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# -------------------------------------------------------------------------... | 182937 | ###*
# @fileoverview Enforce all defaultProps are declared and non-required propTypes
# @author <NAME>
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule... | true | ###*
# @fileoverview Enforce all defaultProps are declared and non-required propTypes
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# --------------------------------------------------------... |
[
{
"context": "\n \"git config --global user.email 'huxley@#{app.name}.cluster' && \" +\n \"git config --global user",
"end": 3085,
"score": 0.9967856407165527,
"start": 3059,
"tag": "EMAIL",
"value": "huxley@#{app.name}.cluster"
},
{
"context": "+\n ... | src/scripts/githooks/coreos_restart/githook.coffee | pandastrike/PandaHook | 2 | #=================================================================================
# Huxley Cluster Githook - CoreOS Restart
#=================================================================================
# Algorithm:
# (1) Perform a clone of the "bare" repo we just pushed to, creating a regular repo.
# (2) Use the ... | 65172 | #=================================================================================
# Huxley Cluster Githook - CoreOS Restart
#=================================================================================
# Algorithm:
# (1) Perform a clone of the "bare" repo we just pushed to, creating a regular repo.
# (2) Use the ... | true | #=================================================================================
# Huxley Cluster Githook - CoreOS Restart
#=================================================================================
# Algorithm:
# (1) Perform a clone of the "bare" repo we just pushed to, creating a regular repo.
# (2) Use the ... |
[
{
"context": "angular: [\n { key: \"data.example\" }\n]\n",
"end": 33,
"score": 0.9092537760734558,
"start": 21,
"tag": "KEY",
"value": "data.example"
}
] | jobs/do-something/form.cson | ratokeshi/meshblu-connector-nutanix | 6 | angular: [
{ key: "data.example" }
]
| 86369 | angular: [
{ key: "<KEY>" }
]
| true | angular: [
{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": "reateUser({\n email: email\n password: password\n }, (err) ->\n\n if not err\n r",
"end": 3094,
"score": 0.9860343337059021,
"start": 3086,
"tag": "PASSWORD",
"value": "password"
}
] | _source/client/templates/objects/signin/signin.coffee | jbaxleyiii/laurencraig.com | 0 | isEmail = (email) ->
regex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
regex.test email
Template.signin.onCreated ->
self = @
self.subscribe "users"
self.hasAccount = new ReactiveVar(true)
... | 55143 | isEmail = (email) ->
regex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
regex.test email
Template.signin.onCreated ->
self = @
self.subscribe "users"
self.hasAccount = new ReactiveVar(true)
... | true | isEmail = (email) ->
regex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
regex.test email
Template.signin.onCreated ->
self = @
self.subscribe "users"
self.hasAccount = new ReactiveVar(true)
... |
[
{
"context": "secret\n\t\tredirectUrl = app.url\n\telse\n\t\tsecret = \"-8762-fcb369b2e8\"\n\t\tredirectUrl = req.params.redirectUrl\n\n\tif !red",
"end": 285,
"score": 0.9728902578353882,
"start": 270,
"tag": "KEY",
"value": "8762-fcb369b2e8"
}
] | creator/packages/steedos-base/routes/sso.coffee | yicone/steedos-platform | 42 | crypto = require('crypto')
Cookies = require("cookies")
express = require("express")
JsonRoutes.add "get", "/api/setup/sso/:app_id", (req, res, next) ->
app = db.apps.findOne(req.params.app_id)
if app
secret = app.secret
redirectUrl = app.url
else
secret = "-8762-fcb369b2e8"
redirectUrl = req.params.redire... | 193834 | crypto = require('crypto')
Cookies = require("cookies")
express = require("express")
JsonRoutes.add "get", "/api/setup/sso/:app_id", (req, res, next) ->
app = db.apps.findOne(req.params.app_id)
if app
secret = app.secret
redirectUrl = app.url
else
secret = "-<KEY>"
redirectUrl = req.params.redirectUrl
if... | true | crypto = require('crypto')
Cookies = require("cookies")
express = require("express")
JsonRoutes.add "get", "/api/setup/sso/:app_id", (req, res, next) ->
app = db.apps.findOne(req.params.app_id)
if app
secret = app.secret
redirectUrl = app.url
else
secret = "-PI:KEY:<KEY>END_PI"
redirectUrl = req.params.red... |
[
{
"context": "eys(settings.config).forEach (k) ->\r\n keyPath = 'atom-entanglement.' + k\r\n settings[k] = ->\r\n atom.config.get(keyP",
"end": 724,
"score": 0.8870382308959961,
"start": 705,
"tag": "KEY",
"value": "atom-entanglement.'"
}
] | lib/settings.coffee | akfish/atom-entanglement | 0 | settings =
config:
port: # http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
type: 'integer'
default: 2333
min: 1024
max: 49151
auth:
type: 'string'
default: 'None'
enum: ['None', 'One click']
title: "Authoriza... | 162903 | settings =
config:
port: # http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
type: 'integer'
default: 2333
min: 1024
max: 49151
auth:
type: 'string'
default: 'None'
enum: ['None', 'One click']
title: "Authoriza... | true | settings =
config:
port: # http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
type: 'integer'
default: 2333
min: 1024
max: 49151
auth:
type: 'string'
default: 'None'
enum: ['None', 'One click']
title: "Authoriza... |
[
{
"context": "s) ->\n eq err, null\n eq cards[0].name, 'Ajani Goldmane'\n\n it 'extracts mana costs',\n set 'Lorwyn', (",
"end": 3359,
"score": 0.9998713731765747,
"start": 3345,
"tag": "NAME",
"value": "Ajani Goldmane"
},
{
"context": "i Goldmane'\n\n it 'extracts man... | test/tutor.coffee | davidchambers/tutor | 45 | assert = require 'assert'
{exec} = require 'child_process'
fs = require 'fs'
url = require 'url'
nock = require 'nock'
Q = require 'q'
_ = require 'underscore'
gatherer = require '../lib/gatherer'
tutor = require '..'
card_url = (args...) ->
gatherer.card.url(args...).... | 160868 | assert = require 'assert'
{exec} = require 'child_process'
fs = require 'fs'
url = require 'url'
nock = require 'nock'
Q = require 'q'
_ = require 'underscore'
gatherer = require '../lib/gatherer'
tutor = require '..'
card_url = (args...) ->
gatherer.card.url(args...).... | true | assert = require 'assert'
{exec} = require 'child_process'
fs = require 'fs'
url = require 'url'
nock = require 'nock'
Q = require 'q'
_ = require 'underscore'
gatherer = require '../lib/gatherer'
tutor = require '..'
card_url = (args...) ->
gatherer.card.url(args...).... |
[
{
"context": "NO_PERIODS - Message of no periods\n#\n# Author:\n# moqada <moqada@gmail.com>\n{Readable} = require 'stream'\n",
"end": 968,
"score": 0.9996994137763977,
"start": 962,
"tag": "USERNAME",
"value": "moqada"
},
{
"context": "S - Message of no periods\n#\n# Author:\n# m... | src/scripts/hatena-counting.coffee | moqada/hubot-hatena-counting | 2 | # Description
# Notify and Respond Count Up/Down images from Hatena Counting
#
# Commands:
# hubot counting - List registered counter images
# hubot counting list - List registered counter urls
# hubot counting [add|register] <url> - Register counter
# hubot counting [del|delete] <url> - Delete registered cou... | 153347 | # Description
# Notify and Respond Count Up/Down images from Hatena Counting
#
# Commands:
# hubot counting - List registered counter images
# hubot counting list - List registered counter urls
# hubot counting [add|register] <url> - Register counter
# hubot counting [del|delete] <url> - Delete registered cou... | true | # Description
# Notify and Respond Count Up/Down images from Hatena Counting
#
# Commands:
# hubot counting - List registered counter images
# hubot counting list - List registered counter urls
# hubot counting [add|register] <url> - Register counter
# hubot counting [del|delete] <url> - Delete registered cou... |
[
{
"context": "\n swatchDuo = new SwatchDuo(elem)\n key = swatchDuo.toString()\n @swatches.push(swatchDuo)",
"end": 1111,
"score": 0.5273489356040955,
"start": 1109,
"tag": "KEY",
"value": "sw"
},
{
"context": "swatchDuo = new SwatchDuo(elem)\n key = swatchDuo.toSt... | src/coffee/utilities/current-swatches.coffee | agiza/mondrian | 226 |
ui.utilities.currentSwatches = new Utility
setup: ->
@$rep = $("#current-swatches-ut")
@rep = @$rep[0]
ui.selection.elements.on 'change', =>
@generateSwatches()
if ui.selection.elements.empty()
@clear()
else if ui.selection.elements.all.length == 1
ui.utilities.color.s... | 34421 |
ui.utilities.currentSwatches = new Utility
setup: ->
@$rep = $("#current-swatches-ut")
@rep = @$rep[0]
ui.selection.elements.on 'change', =>
@generateSwatches()
if ui.selection.elements.empty()
@clear()
else if ui.selection.elements.all.length == 1
ui.utilities.color.s... | true |
ui.utilities.currentSwatches = new Utility
setup: ->
@$rep = $("#current-swatches-ut")
@rep = @$rep[0]
ui.selection.elements.on 'change', =>
@generateSwatches()
if ui.selection.elements.empty()
@clear()
else if ui.selection.elements.all.length == 1
ui.utilities.color.s... |
[
{
"context": "first\n\n extend: (consumer, provider) ->\n key = undefined\n for key of provider\n consumer[key] = pro",
"end": 315,
"score": 0.815787136554718,
"start": 306,
"tag": "KEY",
"value": "undefined"
},
{
"context": "umer\n\n include: (consumer, provider) ->\n ... | src/monkjs.coffee | olivmonnier/MonkJS | 4 | Class = undefined
Decorator = undefined
Policies = undefined
fn = undefined
root = undefined
fn =
flip: (fn) ->
(first, second) ->
if arguments.length is 2
fn.call second, first
else
(second) ->
fn.call second, first
extend: (consumer, provider) ->
key = undefined
... | 20800 | Class = undefined
Decorator = undefined
Policies = undefined
fn = undefined
root = undefined
fn =
flip: (fn) ->
(first, second) ->
if arguments.length is 2
fn.call second, first
else
(second) ->
fn.call second, first
extend: (consumer, provider) ->
key = <KEY>
for ... | true | Class = undefined
Decorator = undefined
Policies = undefined
fn = undefined
root = undefined
fn =
flip: (fn) ->
(first, second) ->
if arguments.length is 2
fn.call second, first
else
(second) ->
fn.call second, first
extend: (consumer, provider) ->
key = PI:KEY:<KEY>EN... |
[
{
"context": "ileoverview Tests for no-multi-str rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 72,
"score": 0.9997790455818176,
"start": 60,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-multi-str.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-multi-str rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi-str'
{Rule... | 215897 | ###*
# @fileoverview Tests for no-multi-str rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi-str'
{RuleTester... | true | ###*
# @fileoverview Tests for no-multi-str rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi-st... |
[
{
"context": " headline: 'Get updates on new shows and works by Roni Horn.'\n name: 'artist_cta'\n email: 'kana",
"end": 522,
"score": 0.9994826912879944,
"start": 513,
"tag": "NAME",
"value": "Roni Horn"
},
{
"context": "Horn.'\n name: 'artist_cta'\n ema... | components/cta_bar/test/view.coffee | xtina-starr/microgravity | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require 'jquery'
... | 224414 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require 'jquery'
... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require 'jquery'
... |
[
{
"context": "s of newTotalRewards\n updateKey = \"earned.#{rewardType}\"\n if rewardType is 'gems'\n ",
"end": 11960,
"score": 0.7897505760192871,
"start": 11941,
"tag": "KEY",
"value": "earned.#{rewardType"
}
] | server/achievements/earned_achievement_handler.coffee | ThatOtherPerson/codecombat | 0 | log = require 'winston'
mongoose = require 'mongoose'
async = require 'async'
Achievement = require './Achievement'
EarnedAchievement = require './EarnedAchievement'
User = require '../users/User'
Handler = require '../commons/Handler'
LocalMongo = require '../../app/lib/LocalMongo'
util = require '../../app/core/utils... | 77928 | log = require 'winston'
mongoose = require 'mongoose'
async = require 'async'
Achievement = require './Achievement'
EarnedAchievement = require './EarnedAchievement'
User = require '../users/User'
Handler = require '../commons/Handler'
LocalMongo = require '../../app/lib/LocalMongo'
util = require '../../app/core/utils... | true | log = require 'winston'
mongoose = require 'mongoose'
async = require 'async'
Achievement = require './Achievement'
EarnedAchievement = require './EarnedAchievement'
User = require '../users/User'
Handler = require '../commons/Handler'
LocalMongo = require '../../app/lib/LocalMongo'
util = require '../../app/core/utils... |
[
{
"context": "###\nThe MIT License (MIT)\n\nCopyright (c) 2013 Tim Düsterhus\n\nPermission is hereby granted, free of charge, to",
"end": 59,
"score": 0.9998642206192017,
"start": 46,
"tag": "NAME",
"value": "Tim Düsterhus"
}
] | index.coffee | taylor987jack/qmail-aliasfilter-js | 1 | ###
The MIT License (MIT)
Copyright (c) 2013 Tim Düsterhus
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, merge... | 211170 | ###
The MIT License (MIT)
Copyright (c) 2013 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publi... | true | ###
The MIT License (MIT)
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify... |
[
{
"context": "s', (next) ->\n parse \"\"\"\n name,last name\n Boudreau,Jonathan\n \"\"\", raw: true, columns: ['FIELD_1',",
"end": 1119,
"score": 0.9997671842575073,
"start": 1111,
"tag": "NAME",
"value": "Boudreau"
},
{
"context": " ->\n parse \"\"\"\n name,last na... | test/option.raw.coffee | dhull/node-csv-parse | 0 |
parse = require '../lib'
describe 'Option `raw`', ->
it 'validation', ->
parse '', raw: undefined, (->)
parse '', raw: null, (->)
parse '', raw: false, (->)
(->
parse '', raw: '', (->)
).should.throw 'Invalid Option: raw must be true, got ""'
(->
parse '', raw: 2, (->)
).s... | 27333 |
parse = require '../lib'
describe 'Option `raw`', ->
it 'validation', ->
parse '', raw: undefined, (->)
parse '', raw: null, (->)
parse '', raw: false, (->)
(->
parse '', raw: '', (->)
).should.throw 'Invalid Option: raw must be true, got ""'
(->
parse '', raw: 2, (->)
).s... | true |
parse = require '../lib'
describe 'Option `raw`', ->
it 'validation', ->
parse '', raw: undefined, (->)
parse '', raw: null, (->)
parse '', raw: false, (->)
(->
parse '', raw: '', (->)
).should.throw 'Invalid Option: raw must be true, got ""'
(->
parse '', raw: 2, (->)
).s... |
[
{
"context": "nNode = typeof(Window) == \"undefined\"\n\nkey = \"to-be-calculated\"\ncounter = 0\n\nif inNode\n expect = require \"expe",
"end": 129,
"score": 0.8030267953872681,
"start": 113,
"tag": "KEY",
"value": "to-be-calculated"
},
{
"context": "-----------------\n befor... | tests/test-basic-server.coffee | ragents/ragents-test | 0 | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "to-be-calculated"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
p... | 140497 | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "<KEY>"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
port = por... | true | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "PI:KEY:<KEY>END_PI"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
... |
[
{
"context": "ipt.\n So make your changes in the .coffee file.\n Thatcher Peskens\n _\n ,_(')<\n \\___)\n\n###\n\ndo @myT",
"end": 139,
"score": 0.9998138546943665,
"start": 123,
"tag": "NAME",
"value": "Thatcher Peskens"
},
{
"context": "sage: Docker [OPTIONS] CO... | docker_tutorial/static/js/terminal.coffee | mneyapo/docker-docker-tutorial | 77 | ###
Please note the javascript is being fully generated from coffeescript.
So make your changes in the .coffee file.
Thatcher Peskens
_
,_(')<
\___)
###
do @myTerminal = ->
# Which terminal emulator version are we
EMULATOR_VERSION = "0.1.3"
@basesettings = {
prompt: 'you@tutori... | 133062 | ###
Please note the javascript is being fully generated from coffeescript.
So make your changes in the .coffee file.
<NAME>
_
,_(')<
\___)
###
do @myTerminal = ->
# Which terminal emulator version are we
EMULATOR_VERSION = "0.1.3"
@basesettings = {
prompt: 'you@tutorial:~$ ',
... | true | ###
Please note the javascript is being fully generated from coffeescript.
So make your changes in the .coffee file.
PI:NAME:<NAME>END_PI
_
,_(')<
\___)
###
do @myTerminal = ->
# Which terminal emulator version are we
EMULATOR_VERSION = "0.1.3"
@basesettings = {
prompt: 'you@tu... |
[
{
"context": "../index') robot\n\n userInfo =\n name: 'ys'\n room: '#zf-promo'\n\n user = robot.br",
"end": 431,
"score": 0.5691301822662354,
"start": 429,
"tag": "NAME",
"value": "ys"
}
] | test/scripts/dnsimple_test.coffee | ys/hubot-dnsimple | 0 | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'DNSimple commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env... | 21666 | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'DNSimple commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env... | true | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'DNSimple commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env... |
[
{
"context": "c/bumble-strings')\n\ndebugger\n\nMY_DOG = \" My dog, Tommy, is a really smart dog. \"\nMY_DOG_TRIM = \"My ",
"end": 79,
"score": 0.9992799162864685,
"start": 74,
"tag": "NAME",
"value": "Tommy"
},
{
"context": " a really smart dog. \"\nMY_DOG_TRIM = \"My dog... | test/trim.coffee | littlebee/bumble-strings | 0 |
BStr = require('../src/bumble-strings')
debugger
MY_DOG = " My dog, Tommy, is a really smart dog. "
MY_DOG_TRIM = "My dog, Tommy, is a really smart dog."
MY_DOG_TRIM_ALL = "My dog, Tommy, is a really smart dog."
describe "trim()", ->
it "should not remove inner spaces unless asked", ->
BStr.tr... | 103412 |
BStr = require('../src/bumble-strings')
debugger
MY_DOG = " My dog, <NAME>, is a really smart dog. "
MY_DOG_TRIM = "My dog, <NAME>, is a really smart dog."
MY_DOG_TRIM_ALL = "My dog, <NAME>, is a really smart dog."
describe "trim()", ->
it "should not remove inner spaces unless asked", ->
BStr... | true |
BStr = require('../src/bumble-strings')
debugger
MY_DOG = " My dog, PI:NAME:<NAME>END_PI, is a really smart dog. "
MY_DOG_TRIM = "My dog, PI:NAME:<NAME>END_PI, is a really smart dog."
MY_DOG_TRIM_ALL = "My dog, PI:NAME:<NAME>END_PI, is a really smart dog."
describe "trim()", ->
it "should not remo... |
[
{
"context": "ure/878'\n FormattedID: 'F1'\n Name: 'Name of first PI'\n Owner:\n _ref: '/use",
"end": 1218,
"score": 0.9399243593215942,
"start": 1214,
"tag": "NAME",
"value": "Name"
},
{
"context": "'\n FormattedID: 'F1'\n Name: 'Name of f... | test/spec/portfoliokanban/PortfolioKanbanAppSpec.coffee | kkale/app-catalog | 0 | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.data.util.PortfolioItemHelper']
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (config, isFullPageApp = false) ->
@app = Ext.create 'Rally.apps.portfoliokanban.PortfolioKanbanApp', Ext.merge
context: Ext.create 'R... | 102769 | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.data.util.PortfolioItemHelper']
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (config, isFullPageApp = false) ->
@app = Ext.create 'Rally.apps.portfoliokanban.PortfolioKanbanApp', Ext.merge
context: Ext.create 'R... | true | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.data.util.PortfolioItemHelper']
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (config, isFullPageApp = false) ->
@app = Ext.create 'Rally.apps.portfoliokanban.PortfolioKanbanApp', Ext.merge
context: Ext.create 'R... |
[
{
"context": "###\ngrunt-ember-script\n\nCopyright (c) 2013 Gordon L. Hempton, contributors\nLicensed under the MIT license.\n###",
"end": 60,
"score": 0.9998562335968018,
"start": 43,
"tag": "NAME",
"value": "Gordon L. Hempton"
}
] | node_modules/grunt-ember-script/Gruntfile.coffee | rtablada/ember-walkthrough | 7 | ###
grunt-ember-script
Copyright (c) 2013 Gordon L. Hempton, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.initConfig
clean:
tests: [
'tmp'
]
emberscript:
options:
bare: false
sourceMap: true
compile:
files:
... | 214370 | ###
grunt-ember-script
Copyright (c) 2013 <NAME>, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.initConfig
clean:
tests: [
'tmp'
]
emberscript:
options:
bare: false
sourceMap: true
compile:
files:
'tmp/hel... | true | ###
grunt-ember-script
Copyright (c) 2013 PI:NAME:<NAME>END_PI, contributors
Licensed under the MIT license.
###
module.exports = (grunt)->
grunt.initConfig
clean:
tests: [
'tmp'
]
emberscript:
options:
bare: false
sourceMap: true
compile:
files:
... |
[
{
"context": "(done) ->\n user = App.User.build(firstName: 'Lance')\n record.set('user', user)\n associatio",
"end": 3294,
"score": 0.9998144507408142,
"start": 3289,
"tag": "NAME",
"value": "Lance"
}
] | test/cases/model/shared/relation/autosaveAssociationTest.coffee | jivagoalves/tower | 1 | describe 'Tower.ModelAutosaveAssociation', ->
class App.AutosaveAssociationTest extends Tower.Model
@hasMany 'posts', autosave: true
@hasOne 'address', autosave: true
@belongsTo 'user', autosave: true
record = null
test 'callbacks', ->
callbacks = App.AutosaveAssociationTest.callbacks()
meth... | 24447 | describe 'Tower.ModelAutosaveAssociation', ->
class App.AutosaveAssociationTest extends Tower.Model
@hasMany 'posts', autosave: true
@hasOne 'address', autosave: true
@belongsTo 'user', autosave: true
record = null
test 'callbacks', ->
callbacks = App.AutosaveAssociationTest.callbacks()
meth... | true | describe 'Tower.ModelAutosaveAssociation', ->
class App.AutosaveAssociationTest extends Tower.Model
@hasMany 'posts', autosave: true
@hasOne 'address', autosave: true
@belongsTo 'user', autosave: true
record = null
test 'callbacks', ->
callbacks = App.AutosaveAssociationTest.callbacks()
meth... |
[
{
"context": ": \"somepath\"\n url: \"url:1234/to/db\"\n username: \"username\"\n password: \"password\"\n changeLogFile: \"changel",
"end": 227,
"score": 0.998935878276825,
"start": 219,
"tag": "USERNAME",
"value": "username"
},
{
"context": "l:1234/to/db\"\n username: \"userna... | src/test.coffee | assignittous/knodeo_liquibase | 0 | console.log "TEST"
liquibase = require("./index").Liquibase
# note the parameters are case matched to the liquibase docs
options =
driver: "driver.name"
classpath: "somepath"
url: "url:1234/to/db"
username: "username"
password: "password"
changeLogFile: "changelogfile/path"
diffOptions =
referenceUse... | 156044 | console.log "TEST"
liquibase = require("./index").Liquibase
# note the parameters are case matched to the liquibase docs
options =
driver: "driver.name"
classpath: "somepath"
url: "url:1234/to/db"
username: "username"
password: "<PASSWORD>"
changeLogFile: "changelogfile/path"
diffOptions =
referenceU... | true | console.log "TEST"
liquibase = require("./index").Liquibase
# note the parameters are case matched to the liquibase docs
options =
driver: "driver.name"
classpath: "somepath"
url: "url:1234/to/db"
username: "username"
password: "PI:PASSWORD:<PASSWORD>END_PI"
changeLogFile: "changelogfile/path"
diffOptio... |
[
{
"context": " </br>\n <div class='example-csv'>\n micheal@example.com, Micheal R., Crawley, Member </br>\n clor",
"end": 1202,
"score": 0.9999204277992249,
"start": 1183,
"tag": "EMAIL",
"value": "micheal@example.com"
},
{
"context": "lass='example-csv'>\n ... | client/home/lib/myteam/components/hometeamsendinvites/uploadcsvmodal.coffee | lionheart1022/koding | 0 | _ = require 'lodash'
$ = require 'jquery'
kd = require 'kd'
ContentModal = require 'app/components/contentModal'
module.exports = class UploadCSVModal extends ContentModal
constructor: (options = {}, data) ->
# { input: @input } = options
options = _.assign {}, options,
cssClass: 'content-modal cs... | 100896 | _ = require 'lodash'
$ = require 'jquery'
kd = require 'kd'
ContentModal = require 'app/components/contentModal'
module.exports = class UploadCSVModal extends ContentModal
constructor: (options = {}, data) ->
# { input: @input } = options
options = _.assign {}, options,
cssClass: 'content-modal cs... | true | _ = require 'lodash'
$ = require 'jquery'
kd = require 'kd'
ContentModal = require 'app/components/contentModal'
module.exports = class UploadCSVModal extends ContentModal
constructor: (options = {}, data) ->
# { input: @input } = options
options = _.assign {}, options,
cssClass: 'content-modal cs... |
[
{
"context": "ip'\n\npayload = {\n \"headers\": {\n \"x-real-ip\": \"54.91.114.69\",\n \"x-forwarded-for\": \"54.91.114.69\",\n \"hos",
"end": 216,
"score": 0.9995660185813904,
"start": 204,
"tag": "IP_ADDRESS",
"value": "54.91.114.69"
},
{
"context": "real-ip\": \"54.91.11... | test/services/codeship.coffee | jianliaoim/talk-services | 40 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$codeship = loader.load 'codeship'
payload = {
"headers": {
"x-real-ip": "54.91.114.69",
"x-forwarded-for": "54.91.114.69",
"host": "talk.ai",
"x-nginx-proxy": "true",
"conne... | 83960 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$codeship = loader.load 'codeship'
payload = {
"headers": {
"x-real-ip": "192.168.127.12",
"x-forwarded-for": "192.168.127.12",
"host": "talk.ai",
"x-nginx-proxy": "true",
"c... | true | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$codeship = loader.load 'codeship'
payload = {
"headers": {
"x-real-ip": "PI:IP_ADDRESS:192.168.127.12END_PI",
"x-forwarded-for": "PI:IP_ADDRESS:192.168.127.12END_PI",
"host": "talk.... |
[
{
"context": "')(@robot)\n @user = @robot.adapter.createUser('#mocha', 'test_user')\n\n @adapter = @robot.adapter\n ",
"end": 511,
"score": 0.7803905010223389,
"start": 505,
"tag": "USERNAME",
"value": "#mocha"
},
{
"context": " @user = @robot.adapter.createUser('#mocha... | test/animebytes.test.coffee | WeebHoarder/kana | 0 | {expect} = require 'chai'
sinon = require 'sinon'
{TextMessage, loadBot} = require 'hubot'
request = require 'request'
MockIrc = require './mock/Irc'
sandbox = sinon.createSandbox()
describe 'AnimeBytes script', ->
mock = null
beforeEach ->
port = process.env.HUBOT_IRC_PORT
mock = MockIrc port, 'utf-8',... | 54882 | {expect} = require 'chai'
sinon = require 'sinon'
{TextMessage, loadBot} = require 'hubot'
request = require 'request'
MockIrc = require './mock/Irc'
sandbox = sinon.createSandbox()
describe 'AnimeBytes script', ->
mock = null
beforeEach ->
port = process.env.HUBOT_IRC_PORT
mock = MockIrc port, 'utf-8',... | true | {expect} = require 'chai'
sinon = require 'sinon'
{TextMessage, loadBot} = require 'hubot'
request = require 'request'
MockIrc = require './mock/Irc'
sandbox = sinon.createSandbox()
describe 'AnimeBytes script', ->
mock = null
beforeEach ->
port = process.env.HUBOT_IRC_PORT
mock = MockIrc port, 'utf-8',... |
[
{
"context": "ub\n# hubot twitter follow nodejs\n#\n# Author:\n# Matthew Weier O'Phinney\n\nTweeter = require '../lib/twitter-tweeter'\nTweet",
"end": 1239,
"score": 0.9998769760131836,
"start": 1216,
"tag": "NAME",
"value": "Matthew Weier O'Phinney"
}
] | scripts/tweetstream.coffee | inovadeveloper/zfbot | 11 | # Description:
# Subscribe to tweets matching keywords
#
# Commands:
# hubot twitter track <keyword> - Start watching a keyword
# hubot twitter untrack <keyword> - Stop watching a keyword
# hubot twitter follow <screen_name> - Start following tweets from @screen_name
# hubot twitter unfollow <screen_name> - St... | 33448 | # Description:
# Subscribe to tweets matching keywords
#
# Commands:
# hubot twitter track <keyword> - Start watching a keyword
# hubot twitter untrack <keyword> - Stop watching a keyword
# hubot twitter follow <screen_name> - Start following tweets from @screen_name
# hubot twitter unfollow <screen_name> - St... | true | # Description:
# Subscribe to tweets matching keywords
#
# Commands:
# hubot twitter track <keyword> - Start watching a keyword
# hubot twitter untrack <keyword> - Stop watching a keyword
# hubot twitter follow <screen_name> - Start following tweets from @screen_name
# hubot twitter unfollow <screen_name> - St... |
[
{
"context": "###\n@author Martin Wawrusch (martin@wawrusch.com)\n###\n\nHoek = require 'hoek'\n",
"end": 27,
"score": 0.9998714327812195,
"start": 12,
"tag": "NAME",
"value": "Martin Wawrusch"
},
{
"context": "###\n@author Martin Wawrusch (martin@wawrusch.com)\n###\n\nHoek = require... | src/index.coffee | codedoctor/hapi-routes-roles | 1 | ###
@author Martin Wawrusch (martin@wawrusch.com)
###
Hoek = require 'hoek'
i18n = require './i18n'
routesToExpose = [
require './routes-roles-get'
require './routes-roles-post'
require './routes-roles-roleid-get'
require './routes-roles-roleid-patch'
require './routes-roles-roleid-delete'
]
###
Main entry... | 19107 | ###
@author <NAME> (<EMAIL>)
###
Hoek = require 'hoek'
i18n = require './i18n'
routesToExpose = [
require './routes-roles-get'
require './routes-roles-post'
require './routes-roles-roleid-get'
require './routes-roles-roleid-patch'
require './routes-roles-roleid-delete'
]
###
Main entry point for the plugin... | true | ###
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
Hoek = require 'hoek'
i18n = require './i18n'
routesToExpose = [
require './routes-roles-get'
require './routes-roles-post'
require './routes-roles-roleid-get'
require './routes-roles-roleid-patch'
require './routes-roles-roleid-delete'
]
###
Ma... |
[
{
"context": " password) ->\n FannyPack.BasicAuth.username = username\n FannyPack.BasicAuth.password = password\n ",
"end": 177,
"score": 0.9990484118461609,
"start": 169,
"tag": "USERNAME",
"value": "username"
},
{
"context": "me = username\n FannyPack.BasicAuth.pas... | lib/assets/javascripts/fanny_pack/ajax.js.coffee | polleverywhere/fannypack | 1 | #= require ppx
FannyPack.namespace "FannyPack", (FannyPack) ->
FannyPack.BasicAuth =
setCredentials: (username, password) ->
FannyPack.BasicAuth.username = username
FannyPack.BasicAuth.password = password
FannyPack.AJAX_DEFAULTS.headers['Authorization'] = "Basic #{btoa(FannyPack.BasicAuth.usern... | 84514 | #= require ppx
FannyPack.namespace "FannyPack", (FannyPack) ->
FannyPack.BasicAuth =
setCredentials: (username, password) ->
FannyPack.BasicAuth.username = username
FannyPack.BasicAuth.password = <PASSWORD>
FannyPack.AJAX_DEFAULTS.headers['Authorization'] = "Basic #{btoa(FannyPack.BasicAuth.use... | true | #= require ppx
FannyPack.namespace "FannyPack", (FannyPack) ->
FannyPack.BasicAuth =
setCredentials: (username, password) ->
FannyPack.BasicAuth.username = username
FannyPack.BasicAuth.password = PI:PASSWORD:<PASSWORD>END_PI
FannyPack.AJAX_DEFAULTS.headers['Authorization'] = "Basic #{btoa(Fanny... |
[
{
"context": " every prop that is not a required prop.\n# @author Vitor Balocco\n###\n'use strict'\n\nComponents = require '../util/r",
"end": 122,
"score": 0.9997391700744629,
"start": 109,
"tag": "NAME",
"value": "Vitor Balocco"
},
{
"context": "ltProps() {\n # return {\n ... | src/rules/require-default-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileOverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author Vitor Balocco
###
'use strict'
Components = require '../util/react/Components'
variableUtil = require '../util/react/variable'
annotations = require 'eslint-plugin-react/lib/util/annotations'
astUtil = require ... | 75590 | ###*
# @fileOverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author <NAME>
###
'use strict'
Components = require '../util/react/Components'
variableUtil = require '../util/react/variable'
annotations = require 'eslint-plugin-react/lib/util/annotations'
astUtil = require '../uti... | true | ###*
# @fileOverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
Components = require '../util/react/Components'
variableUtil = require '../util/react/variable'
annotations = require 'eslint-plugin-react/lib/util/annotations'
astUtil = r... |
[
{
"context": "ted for growing their multicolored corn.\",\n \"Barry Goldwater, a famous public official, senator, and president",
"end": 1081,
"score": 0.9997067451477051,
"start": 1066,
"tag": "NAME",
"value": "Barry Goldwater"
},
{
"context": "te was born in Phoenix.\",\n ... | scripts/arizona.coffee | adewinter/hubot-ralph | 4 | # Description:
# Arizona memes
# Commands:
# hubot arizona - Retuns an arizona fact
module.exports = (robot) ->
robot.hear /arizona/i, (msg) ->
quotes = [
"The Arizona ridge-nosed rattlesnake is perhaps the most beautiful of all eleven species of rattlesnakes found in Arizona.",
"Blue and gold are... | 73159 | # Description:
# Arizona memes
# Commands:
# hubot arizona - Retuns an arizona fact
module.exports = (robot) ->
robot.hear /arizona/i, (msg) ->
quotes = [
"The Arizona ridge-nosed rattlesnake is perhaps the most beautiful of all eleven species of rattlesnakes found in Arizona.",
"Blue and gold are... | true | # Description:
# Arizona memes
# Commands:
# hubot arizona - Retuns an arizona fact
module.exports = (robot) ->
robot.hear /arizona/i, (msg) ->
quotes = [
"The Arizona ridge-nosed rattlesnake is perhaps the most beautiful of all eleven species of rattlesnakes found in Arizona.",
"Blue and gold are... |
[
{
"context": "] - show the bottom n (default: 5)\n#\n# Author:\n# D. Stuart Freeman (@stuartf) https://github.com/stuartf\n# Andy Be",
"end": 483,
"score": 0.9998705983161926,
"start": 466,
"tag": "NAME",
"value": "D. Stuart Freeman"
},
{
"context": "m n (default: 5)\n#\n# Author... | src/karma-classic.coffee | dmfenton/hubot-karma-classic | 0 | # Description:
# Track arbitrary karma
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# <thing>++ - give thing some karma
# <thing>-- - take away some of thing's karma
# hubot karma <thing> - check thing's karma (if <thing> is omitted, show the top 5)
# hubot karma empty <thing> - empty ... | 145674 | # Description:
# Track arbitrary karma
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# <thing>++ - give thing some karma
# <thing>-- - take away some of thing's karma
# hubot karma <thing> - check thing's karma (if <thing> is omitted, show the top 5)
# hubot karma empty <thing> - empty ... | true | # Description:
# Track arbitrary karma
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# <thing>++ - give thing some karma
# <thing>-- - take away some of thing's karma
# hubot karma <thing> - check thing's karma (if <thing> is omitted, show the top 5)
# hubot karma empty <thing> - empty ... |
[
{
"context": "lf.ddpclient.call \"setPresence\", [\n nick: \"codexbot\"\n room_name: \"general/0\"\n present: ",
"end": 466,
"score": 0.9986515045166016,
"start": 458,
"tag": "USERNAME",
"value": "codexbot"
},
{
"context": " self.ddpclient.call \"deleteNick\... | src/adapters/blackboard.coffee | cjb/hubot | 1 | Robot = require '../robot'
Adapter = require '../adapter'
{TextMessage,EnterMessage,LeaveMessage} = require '../message'
DDPClient = require("/home/codex/node-ddp-client/lib/ddp-client")
class Blackboardbot extends Adapter
run: ->
self = @
@r... | 91164 | Robot = require '../robot'
Adapter = require '../adapter'
{TextMessage,EnterMessage,LeaveMessage} = require '../message'
DDPClient = require("/home/codex/node-ddp-client/lib/ddp-client")
class Blackboardbot extends Adapter
run: ->
self = @
@r... | true | Robot = require '../robot'
Adapter = require '../adapter'
{TextMessage,EnterMessage,LeaveMessage} = require '../message'
DDPClient = require("/home/codex/node-ddp-client/lib/ddp-client")
class Blackboardbot extends Adapter
run: ->
self = @
@r... |
[
{
"context": " Views...\n) ->\n\n ###*\n # @author Raymond de Wit\n # @module App\n # @submodule ",
"end": 811,
"score": 0.999869704246521,
"start": 797,
"tag": "NAME",
"value": "Raymond de Wit"
}
] | generators/app/templates/src/router.coffee | marviq/generator-bat | 3 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'jquery' )<% if ( i18n ) { %>
require( 'madlib-locale' )<% } %>
require( 'madlib-settings' )
require( 'underscore' )
... | 6175 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'jquery' )<% if ( i18n ) { %>
require( 'madlib-locale' )<% } %>
require( 'madlib-settings' )
require( 'underscore' )
... | true | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'jquery' )<% if ( i18n ) { %>
require( 'madlib-locale' )<% } %>
require( 'madlib-settings' )
require( 'underscore' )
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999910831451416,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": "pty path segments are ''\n mode: if _.includes(@MODES, mod... | resources/assets/coffee/_classes/beatmap-discussion-helper.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.
class @BeatmapDiscussionHelper
@DEFAULT_BEATMAP_ID: '-'
@DEFAULT_MODE: 'timeline'
@DEFAULT_FILTER: 'total'
@MAX_MESSAGE_PREVIEW_LENGTH: 1... | 190585 | # 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.
class @BeatmapDiscussionHelper
@DEFAULT_BEATMAP_ID: '-'
@DEFAULT_MODE: 'timeline'
@DEFAULT_FILTER: 'total'
@MAX_MESSAGE_PREVIEW_LENGTH: 100
@M... | 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.
class @BeatmapDiscussionHelper
@DEFAULT_BEATMAP_ID: '-'
@DEFAULT_MODE: 'timeline'
@DEFAULT_FILTER: 'total'
@MAX_MESSAGE_PREVIEW_L... |
[
{
"context": "\n\n provideLinter: ->\n provider =\n name: 'stanza'\n grammarScopes: ['source.stanza']\n s",
"end": 241,
"score": 0.9668797254562378,
"start": 237,
"tag": "NAME",
"value": "stan"
},
{
"context": "provideLinter: ->\n provider =\n name: 'stanza... | lib/main.coffee | stanza-tools/linter-stanza | 0 | helpers = null
module.exports =
config:
stanzaExecutablePath:
type: 'string'
default: 'stanza'
activate: ->
require('atom-package-deps').install('linter-stanza')
provideLinter: ->
provider =
name: 'stanza'
grammarScopes: ['source.stanza']
scope: 'file'
lintOnFly:... | 182571 | helpers = null
module.exports =
config:
stanzaExecutablePath:
type: 'string'
default: 'stanza'
activate: ->
require('atom-package-deps').install('linter-stanza')
provideLinter: ->
provider =
name: '<NAME> <NAME>'
grammarScopes: ['source.stanza']
scope: 'file'
lin... | true | helpers = null
module.exports =
config:
stanzaExecutablePath:
type: 'string'
default: 'stanza'
activate: ->
require('atom-package-deps').install('linter-stanza')
provideLinter: ->
provider =
name: 'PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI'
grammarScopes: ['source.stanza']
... |
[
{
"context": "t load the (signer) key section key\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n}\n\nteams: {\n \"cabal\": {\n l",
"end": 72,
"score": 0.9988375902175903,
"start": 68,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "igner) key section key\"\n\nusers: {\n \"... | teamchains/inputs/cant_load_key.iced | keybase/keybase-test-vectors | 4 | description: "can't load the (signer) key section key"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
members: owner: ["herb"]
,
type: "change_membership"
members: writer: ["basil"]
corruptors:
payload: (payload) ->
payload.bod... | 85789 | description: "can't load the (signer) key section key"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
members: owner: ["herb"]
,
type: "change_membership"
members: writer: ["basil"]
corruptors:
payload: (payload) ->
payload.bod... | true | description: "can't load the (signer) key section key"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
members: owner: ["herb"]
,
type: "change_membership"
members: writer: ["basil"]
corruptors:
payload: (payload) ->
payload.bod... |
[
{
"context": "pre'\ndescription: 'ui-router-auth-demo'\nauthor: ':FooTearth <footearth@gmail.com>'\n#main: ''\nlicense: 'MIT'\nr",
"end": 119,
"score": 0.9806296229362488,
"start": 110,
"tag": "USERNAME",
"value": "FooTearth"
},
{
"context": "ption: 'ui-router-auth-demo'\nauthor: ':F... | npb.cson | Mooxe000/ui-router-auth-demo | 0 | # PUBLIC CONFIG
name: 'ui-router-auth-demo'
version: '0.0.0-pre'
description: 'ui-router-auth-demo'
author: ':FooTearth <footearth@gmail.com>'
#main: ''
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/Mooxe000/ui-router-auth-demo.git'
bugs:
url: 'https://github.com/Mooxe000/ui-router-auth-demo/iss... | 186954 | # PUBLIC CONFIG
name: 'ui-router-auth-demo'
version: '0.0.0-pre'
description: 'ui-router-auth-demo'
author: ':FooTearth <<EMAIL>>'
#main: ''
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/Mooxe000/ui-router-auth-demo.git'
bugs:
url: 'https://github.com/Mooxe000/ui-router-auth-demo/issues'
homepag... | true | # PUBLIC CONFIG
name: 'ui-router-auth-demo'
version: '0.0.0-pre'
description: 'ui-router-auth-demo'
author: ':FooTearth <PI:EMAIL:<EMAIL>END_PI>'
#main: ''
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/Mooxe000/ui-router-auth-demo.git'
bugs:
url: 'https://github.com/Mooxe000/ui-router-auth-demo/... |
[
{
"context": "\n fontFamily: \"Courier\",\n text : \"© BEN♥FENG\",\n fill : \"#fff\"\n }))\n\n init_player",
"end": 5352,
"score": 0.9687947034835815,
"start": 5344,
"tag": "NAME",
"value": "BEN♥FENG"
}
] | src/views/welcome_view.coffee | WuShaoling/tank | 0 | class WelcomeView extends View
init_view: () ->
@static_group = new Kinetic.Group()
@layer.add(@static_group)
@init_score_label()
@init_tank_90_logo()
@init_player_mode_selection_text()
@init_player_mode_selection_tank()
@init_copy_right_text()
update_scores: (p1_score, p2_score, hi_sco... | 31250 | class WelcomeView extends View
init_view: () ->
@static_group = new Kinetic.Group()
@layer.add(@static_group)
@init_score_label()
@init_tank_90_logo()
@init_player_mode_selection_text()
@init_player_mode_selection_tank()
@init_copy_right_text()
update_scores: (p1_score, p2_score, hi_sco... | true | class WelcomeView extends View
init_view: () ->
@static_group = new Kinetic.Group()
@layer.add(@static_group)
@init_score_label()
@init_tank_90_logo()
@init_player_mode_selection_text()
@init_player_mode_selection_tank()
@init_copy_right_text()
update_scores: (p1_score, p2_score, hi_sco... |
[
{
"context": " 'div',\n key: 'details_' + i\n style:\n",
"end": 7688,
"score": 0.6770521402359009,
"start": 7681,
"tag": "KEY",
"value": "details"
}
] | src/UI/report.coffee | myou-engine/myou-log | 1 | {react_utils, theme, mixins, components, sounds, markdown} = require './common'
{format_time, moment} = require './time'
{React, ReactDOM} = react_utils
e = (t, args...) ->
if not t.prototype?.render? and not t.toLocaleUpperCase?
debugger
React.createElement t, args...
{Log} = require '../log'
electron... | 47568 | {react_utils, theme, mixins, components, sounds, markdown} = require './common'
{format_time, moment} = require './time'
{React, ReactDOM} = react_utils
e = (t, args...) ->
if not t.prototype?.render? and not t.toLocaleUpperCase?
debugger
React.createElement t, args...
{Log} = require '../log'
electron... | true | {react_utils, theme, mixins, components, sounds, markdown} = require './common'
{format_time, moment} = require './time'
{React, ReactDOM} = react_utils
e = (t, args...) ->
if not t.prototype?.render? and not t.toLocaleUpperCase?
debugger
React.createElement t, args...
{Log} = require '../log'
electron... |
[
{
"context": "\n branch: 'jacke-ci.branch'\n user: 'jacke-ci.user'\n pass: 'jacke-ci.pass'\n\n # init at tar",
"end": 387,
"score": 0.9974737763404846,
"start": 374,
"tag": "USERNAME",
"value": "jacke-ci.user"
},
{
"context": "nch'\n user: 'jacke-ci.use... | src/git.coffee | Gioyik/jacke-ci | 3 | # git executor
exec = require('child_process').exec
# cli colors
colors = require 'colors'
# callback to be used once git it good to go
readyCallback = null
# export so we can... `require '../git'`
git = module.exports =
runner: ''
branch: ''
user: ''
pass: ''
config:
runner: 'jacke-ci.run... | 198247 | # git executor
exec = require('child_process').exec
# cli colors
colors = require 'colors'
# callback to be used once git it good to go
readyCallback = null
# export so we can... `require '../git'`
git = module.exports =
runner: ''
branch: ''
user: ''
pass: ''
config:
runner: 'jacke-ci.run... | true | # git executor
exec = require('child_process').exec
# cli colors
colors = require 'colors'
# callback to be used once git it good to go
readyCallback = null
# export so we can... `require '../git'`
git = module.exports =
runner: ''
branch: ''
user: ''
pass: ''
config:
runner: 'jacke-ci.run... |
[
{
"context": "eor.Mailgun.config(\n username: ''\n password: ''\n )\n)\n\nMeteor.methods(\n sendEmail: (field) ->\n ",
"end": 75,
"score": 0.9750716686248779,
"start": 75,
"tag": "PASSWORD",
"value": ""
}
] | server/smtp.coffee | MptySquare/single-page-meteor | 0 | Meteor.startup ( ->
Meteor.Mailgun.config(
username: ''
password: ''
)
)
Meteor.methods(
sendEmail: (field) ->
check([field.to, field.from, field.subject, field.text, field.html], [String])
this.unblock()
Meteor.Mailgun.send({
to: field.to
from: field.from
subject: field.s... | 103237 | Meteor.startup ( ->
Meteor.Mailgun.config(
username: ''
password:<PASSWORD> ''
)
)
Meteor.methods(
sendEmail: (field) ->
check([field.to, field.from, field.subject, field.text, field.html], [String])
this.unblock()
Meteor.Mailgun.send({
to: field.to
from: field.from
subjec... | true | Meteor.startup ( ->
Meteor.Mailgun.config(
username: ''
password:PI:PASSWORD:<PASSWORD>END_PI ''
)
)
Meteor.methods(
sendEmail: (field) ->
check([field.to, field.from, field.subject, field.text, field.html], [String])
this.unblock()
Meteor.Mailgun.send({
to: field.to
from: field... |
[
{
"context": "// \"语音风暴\"\n private String studentName; // \"老师3\"\n private int userType; // 1030410\n ",
"end": 647,
"score": 0.5746550559997559,
"start": 644,
"tag": "NAME",
"value": "老师3"
}
] | lib/gen-code/filed-java-db-xutils.coffee | yuanliwei/generate | 0 | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
Fileds 转 Java model
使用:
Fileds2Java = require './filed-java-db-xutils'
fileds2Java = new Fileds2Java()
opts = {
packageName: 'com.ylw.g... | 80188 | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
Fileds 转 Java model
使用:
Fileds2Java = require './filed-java-db-xutils'
fileds2Java = new Fileds2Java()
opts = {
packageName: 'com.ylw.g... | true | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
Fileds 转 Java model
使用:
Fileds2Java = require './filed-java-db-xutils'
fileds2Java = new Fileds2Java()
opts = {
packageName: 'com.ylw.g... |
[
{
"context": "ileImports = (appOrRb, _path) ->\n\t\tkey = pathHelp.format _path\n\t\timports = @[appOrRb].client.css.imports\n",
"end": 482,
"score": 0.9125902056694031,
"start": 471,
"tag": "KEY",
"value": "Help.format"
}
] | src/config/configs/config-internal.coffee | rapid-build/rapid-build | 5 | module.exports = (config) ->
path = require 'path'
log = require "#{config.req.helpers}/log"
pathHelp = require "#{config.req.helpers}/path"
test = require("#{config.req.helpers}/test")()
# init internal
# =============
internal =
rb:
client:
css:
imports: {} # populated via task
ap... | 27742 | module.exports = (config) ->
path = require 'path'
log = require "#{config.req.helpers}/log"
pathHelp = require "#{config.req.helpers}/path"
test = require("#{config.req.helpers}/test")()
# init internal
# =============
internal =
rb:
client:
css:
imports: {} # populated via task
ap... | true | module.exports = (config) ->
path = require 'path'
log = require "#{config.req.helpers}/log"
pathHelp = require "#{config.req.helpers}/path"
test = require("#{config.req.helpers}/test")()
# init internal
# =============
internal =
rb:
client:
css:
imports: {} # populated via task
ap... |
[
{
"context": "r.length\n data = [\n {\n key: I18n.t('comparison.show.chart.time_entries')\n ",
"end": 150,
"score": 0.7021518349647522,
"start": 149,
"tag": "KEY",
"value": "1"
},
{
"context": "length\n data = [\n {\n key: I18n.t('compa... | app/assets/javascripts/reports/activity/comparison.js.coffee | ninech/uberze | 19 | do ($ = jQuery) ->
$ ->
chartContainer = $('.content-comparison #chart')
if chartContainer.length
data = [
{
key: I18n.t('comparison.show.chart.time_entries')
color: '#0096e0'
values: chartContainer.data('time-entries')
},
{
key: I18n.t('co... | 103326 | do ($ = jQuery) ->
$ ->
chartContainer = $('.content-comparison #chart')
if chartContainer.length
data = [
{
key: I<KEY>8<KEY>('comparison.show.chart.time_entries')
color: '#0096e0'
values: chartContainer.data('time-entries')
},
{
key: I<KE... | true | do ($ = jQuery) ->
$ ->
chartContainer = $('.content-comparison #chart')
if chartContainer.length
data = [
{
key: IPI:KEY:<KEY>END_PI8PI:KEY:<KEY>END_PI('comparison.show.chart.time_entries')
color: '#0096e0'
values: chartContainer.data('time-entries')
},
... |
[
{
"context": "lloping...\"\n super @movement\n\nsam = new Snake \"Sammy the Python\"\ntom = new Horse \"Tommy the Palomino\", movement: ",
"end": 384,
"score": 0.9959694147109985,
"start": 368,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "m = new Snake \"Sammy the P... | fixtures/example.coffee | lydell/source-map-visualize | 43 | class Animal
constructor: (@name) ->
@moved = 0
move: (distance) ->
@moved += distance
alert "#{@name} moved #{distance}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
constructor: ({@movement = 30}) ->
super
move: ->
alert "Gall... | 86172 | class Animal
constructor: (@name) ->
@moved = 0
move: (distance) ->
@moved += distance
alert "#{@name} moved #{distance}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
constructor: ({@movement = 30}) ->
super
move: ->
alert "Gall... | true | class Animal
constructor: (@name) ->
@moved = 0
move: (distance) ->
@moved += distance
alert "#{@name} moved #{distance}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
constructor: ({@movement = 30}) ->
super
move: ->
alert "Gall... |
[
{
"context": "verview Tests for no-restricted-imports.\n# @author Guy Ellis\n###\n\n'use strict'\n\n#-----------------------------",
"end": 73,
"score": 0.9997076988220215,
"start": 64,
"tag": "NAME",
"value": "Guy Ellis"
}
] | src/tests/rules/no-restricted-imports.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-restricted-imports.
# @author Guy Ellis
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-restricted-impo... | 75863 | ###*
# @fileoverview Tests for no-restricted-imports.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-restricted-imports... | true | ###*
# @fileoverview Tests for no-restricted-imports.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-rest... |
[
{
"context": "Algorithm API for JavaScript\n# https://github.com/kzokm/ga.js\n#\n# Copyright (c) 2014 OKAMURA, Kazuhide\n#\n",
"end": 69,
"score": 0.9996542930603027,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 201... | lib/crossover_operator.coffee | kzokm/ga.js | 4 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 OKAMURA, Kazuhide
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
utils = require './utils'
class CrossoverOperator
randomLocusOf = (c)-> utils.randomInt c.len... | 108005 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 <NAME>, <NAME>
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
utils = require './utils'
class CrossoverOperator
randomLocusOf = (c)-> utils.randomInt c.length... | true | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
utils = require './utils'
class CrossoverOperator
randomLocusOf = (c... |
[
{
"context": "meta:\n name: \"shiptag\"\n version: \"2019/09/04/01\"\n\ndata:\n mapname: [\n ",
"end": 22,
"score": 0.5411622524261475,
"start": 20,
"tag": "NAME",
"value": "ag"
}
] | fcd/shiptag.cson | FuhaoSun/poi | 1 | meta:
name: "shiptag"
version: "2019/09/04/01"
data:
mapname: [
"E1"
"E2"
"E3"
]
color: [
"#03A9F4"
"#8BC34A"
"#FF9800"
]
fleetname:
"zh-CN": [
"欧洲防卫舰队"
"联合舰队"
"地中海舰队"
]
"zh-TW": [
"歐洲防衛艦隊"
"聯合艦隊"
"地中海艦隊"
]
"ja-JP": [
"... | 199949 | meta:
name: "shipt<NAME>"
version: "2019/09/04/01"
data:
mapname: [
"E1"
"E2"
"E3"
]
color: [
"#03A9F4"
"#8BC34A"
"#FF9800"
]
fleetname:
"zh-CN": [
"欧洲防卫舰队"
"联合舰队"
"地中海舰队"
]
"zh-TW": [
"歐洲防衛艦隊"
"聯合艦隊"
"地中海艦隊"
]
"ja-JP": [
... | true | meta:
name: "shiptPI:NAME:<NAME>END_PI"
version: "2019/09/04/01"
data:
mapname: [
"E1"
"E2"
"E3"
]
color: [
"#03A9F4"
"#8BC34A"
"#FF9800"
]
fleetname:
"zh-CN": [
"欧洲防卫舰队"
"联合舰队"
"地中海舰队"
]
"zh-TW": [
"歐洲防衛艦隊"
"聯合艦隊"
"地中海艦隊"
]
... |
[
{
"context": "ttp://plunderjs.com\"\n author:\n name: \"Matt Greer\"\n\n connect:\n options:\n port: 9000\n",
"end": 363,
"score": 0.9998153448104858,
"start": 353,
"tag": "NAME",
"value": "Matt Greer"
},
{
"context": " options:\n port: 9000\n ... | Gruntfile.coffee | city41/plunder | 1 | "use strict"
LIVERELOAD_PORT = 35729
lrSnippet = require("connect-livereload")(port: LIVERELOAD_PORT)
mountFolder = (connect, dir) ->
connect.static require("path").resolve(dir)
module.exports = (grunt) ->
grunt.initConfig
pkg:
name: "plunder"
version: "0.1.0"
homepage: "http://plunderjs.c... | 90469 | "use strict"
LIVERELOAD_PORT = 35729
lrSnippet = require("connect-livereload")(port: LIVERELOAD_PORT)
mountFolder = (connect, dir) ->
connect.static require("path").resolve(dir)
module.exports = (grunt) ->
grunt.initConfig
pkg:
name: "plunder"
version: "0.1.0"
homepage: "http://plunderjs.c... | true | "use strict"
LIVERELOAD_PORT = 35729
lrSnippet = require("connect-livereload")(port: LIVERELOAD_PORT)
mountFolder = (connect, dir) ->
connect.static require("path").resolve(dir)
module.exports = (grunt) ->
grunt.initConfig
pkg:
name: "plunder"
version: "0.1.0"
homepage: "http://plunderjs.c... |
[
{
"context": " '$q'\n , ($log, $http, $q) ->\n\n apiKey = 'AIzaSyDJSX08GtPqiQwddpvJ65diuhu0S8upK0U'\n url = 'https://www.googleapis.com/youtube/",
"end": 261,
"score": 0.9997566938400269,
"start": 222,
"tag": "KEY",
"value": "AIzaSyDJSX08GtPqiQwddpvJ65diuhu0S8upK0U"
}
] | app/js/services/youtube-search.coffee | fqueiruga/tubelists | 1 | 'use strict'
#
# Create the module and add the components
#
angular.module('tubelistsApp.services.youTubeSearch', [])
.factory('youTubeSearchService', ['$log', '$http', '$q'
, ($log, $http, $q) ->
apiKey = 'AIzaSyDJSX08GtPqiQwddpvJ65diuhu0S8upK0U'
url = 'https://www.googleapis.com/youtube/v3/search... | 138081 | 'use strict'
#
# Create the module and add the components
#
angular.module('tubelistsApp.services.youTubeSearch', [])
.factory('youTubeSearchService', ['$log', '$http', '$q'
, ($log, $http, $q) ->
apiKey = '<KEY>'
url = 'https://www.googleapis.com/youtube/v3/search'
return service =
... | true | 'use strict'
#
# Create the module and add the components
#
angular.module('tubelistsApp.services.youTubeSearch', [])
.factory('youTubeSearchService', ['$log', '$http', '$q'
, ($log, $http, $q) ->
apiKey = 'PI:KEY:<KEY>END_PI'
url = 'https://www.googleapis.com/youtube/v3/search'
return servi... |
[
{
"context": "\n * @namespace KINOUT\n * @class View\n *\n * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\nKINOUT.View = ",
"end": 111,
"score": 0.9998831152915955,
"start": 90,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " @class View\n *\n ... | src/Kinout/src/Kinout.View.coffee | biojazzard/kirbout | 2 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (horizont... | 88940 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author <NAME> <<EMAIL>> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (horizontal, vertical, next_step... | true | ###
* Description or Responsability
*
* @namespace KINOUT
* @class View
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
KINOUT.View = ((knt, $$, undefined_) ->
SELECTOR = knt.Constants.SELECTOR
STYLE = knt.Constants.STYLE
_index = knt.index
_steps = []
slide = (ho... |
[
{
"context": " travelorder: null\n deanSignature: 'prof. dr. sc. Mislav Grgić'\n",
"end": 131,
"score": 0.9998080134391785,
"start": 119,
"tag": "NAME",
"value": "Mislav Grgić"
}
] | backend/api/services/current.coffee | stepanic/fer-travel-orders-prototype | 0 | module.exports =
user: null
budgetsource: null
country: null
travelorder: null
deanSignature: 'prof. dr. sc. Mislav Grgić'
| 212572 | module.exports =
user: null
budgetsource: null
country: null
travelorder: null
deanSignature: 'prof. dr. sc. <NAME>'
| true | module.exports =
user: null
budgetsource: null
country: null
travelorder: null
deanSignature: 'prof. dr. sc. PI:NAME:<NAME>END_PI'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.