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": "ord = (password) ->\n bcrypt.compareSync(password, @local.password)\n\n# create the model for users and expose it to o",
"end": 650,
"score": 0.8804866075515747,
"start": 635,
"tag": "PASSWORD",
"value": "@local.password"
}
] | src/app/models/user.coffee | tonymuu/koalie-backend | 0 | # load the libs
mongoose = require 'mongoose'
bcrypt = require 'bcrypt-nodejs'
ObjectId = mongoose.Schema.Types.ObjectId
# define the schema
userSchema = mongoose.Schema(
local:
email: String
password: String
facebook:
id: String
token: String
email: String
name: String
picture: Stri... | 196291 | # load the libs
mongoose = require 'mongoose'
bcrypt = require 'bcrypt-nodejs'
ObjectId = mongoose.Schema.Types.ObjectId
# define the schema
userSchema = mongoose.Schema(
local:
email: String
password: String
facebook:
id: String
token: String
email: String
name: String
picture: Stri... | true | # load the libs
mongoose = require 'mongoose'
bcrypt = require 'bcrypt-nodejs'
ObjectId = mongoose.Schema.Types.ObjectId
# define the schema
userSchema = mongoose.Schema(
local:
email: String
password: String
facebook:
id: String
token: String
email: String
name: String
picture: Stri... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nlQH+BFQiux8BBAC40F2nbvj5jodJPaYHjopzRkbHqxNntDGSrxekul2ztq8TkSqw\ntvkpFKcavAmDwbYfiWcdYKhyx8zTfYv4FVJXywc+ByMNM0w1lCRRJEOb/B7C1a4e\nde61YkKm1HP/CG6lJ6CMFhdor4hBLFe6EJG+VwdVo+1IUSKQvEjvqlDkMQARAQAB\n/gMDAuy40uE2+Ej91nBK33ejNEGCtlRxZVmO2tQs2x7o2N... | test/files/multiples.iced | samkenxstream/kbpgp | 464 |
{PgpKeyRing,box,unbox,KeyManager} = require '../..'
#===============================================================================
kms = {}
unlocked = {}
exports.load_key_managers_1 = (T,cb) ->
for name,key of keys
await KeyManager.import_from_armored_pgp { armored : key }, T.esc(defer(km), cb, "load key #{... | 219164 |
{PgpKeyRing,box,unbox,KeyManager} = require '../..'
#===============================================================================
kms = {}
unlocked = {}
exports.load_key_managers_1 = (T,cb) ->
for name,key of keys
await KeyManager.import_from_armored_pgp { armored : key }, T.esc(defer(km), cb, "load key #{... | true |
{PgpKeyRing,box,unbox,KeyManager} = require '../..'
#===============================================================================
kms = {}
unlocked = {}
exports.load_key_managers_1 = (T,cb) ->
for name,key of keys
await KeyManager.import_from_armored_pgp { armored : key }, T.esc(defer(km), cb, "load key #{... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998562335968018,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Game/Game.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.CheckMove =
From: 0
To: 1
ToBefore: 2
Ko: 3
Ok: 4
cpz.Game = cc.Layer.extend(
_touchListener: null,
_b... | 172946 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.CheckMove =
From: 0
To: 1
ToBefore: 2
Ko: 3
Ok: 4
cpz.Game = cc.Layer.extend(
_touchListener: null,
_board: {... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.CheckMove =
From: 0
To: 1
ToBefore: 2
Ko: 3
Ok: 4
cpz.Game = cc.Layer.extend(
_touchListener: null... |
[
{
"context": "wers for questions with two blanks\n#\n# Author:\n# Jonny Campbell (@jonnycampbell)\n\nquestions = [\n \"____? There's ",
"end": 284,
"score": 0.9998394250869751,
"start": 270,
"tag": "NAME",
"value": "Jonny Campbell"
},
{
"context": "ons with two blanks\n#\n# Author... | src/scripts/hubotagainsthumanity.coffee | thirdwavellc/hubot-scripts | 1 | # Description:
# Play Cards Against Humanity in Hubot
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# q card - Returns a question
# card me - Displays an answer
# card 2 - Displays two answers for questions with two blanks
#
# Author:
# Jonny Campbell (@jonnycampbell)
questions = [
"... | 145102 | # Description:
# Play Cards Against Humanity in Hubot
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# q card - Returns a question
# card me - Displays an answer
# card 2 - Displays two answers for questions with two blanks
#
# Author:
# <NAME> (@jonnycampbell)
questions = [
"____? Th... | true | # Description:
# Play Cards Against Humanity in Hubot
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# q card - Returns a question
# card me - Displays an answer
# card 2 - Displays two answers for questions with two blanks
#
# Author:
# PI:NAME:<NAME>END_PI (@jonnycampbell)
questions =... |
[
{
"context": "0px'\nPLACEHOLDER_URL = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CgogPGc+CiAgPHRpdGxlPmJhY2tncm91bmQ8L3RpdGxlPgogIDxyZWN0IGZpbGw9Im5vbmUiIGlkPSJjYW52YXNfYmFja2dyb3VuZCIgaGVpZ2h0PSI0MDIiIHdpZHRoPSI1ODIiIHk9Ii0xIiB4PSItMSIvPgogPC9... | src/components/avatar/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
_find = require 'lodash/find'
if window?
require './index.styl'
Icon = require '../icon'
config = require '../../config'
colors = require '../../colors'
DEFAULT_SIZE = '40px'
PLACEHOLDER_URL = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMD... | 107792 | z = require 'zorium'
_find = require 'lodash/find'
if window?
require './index.styl'
Icon = require '../icon'
config = require '../../config'
colors = require '../../colors'
DEFAULT_SIZE = '40px'
PLACEHOLDER_URL = 'data:image/svg+xml;base64,<KEY>
module.exports = class Avatar
render: ({size, user, groupUser, sr... | true | z = require 'zorium'
_find = require 'lodash/find'
if window?
require './index.styl'
Icon = require '../icon'
config = require '../../config'
colors = require '../../colors'
DEFAULT_SIZE = '40px'
PLACEHOLDER_URL = 'data:image/svg+xml;base64,PI:KEY:<KEY>END_PI
module.exports = class Avatar
render: ({size, user, ... |
[
{
"context": "preview:toggle-show-title': ->\n keyPath = 'asciidoc-preview.showTitle'\n atom.config.set(keyPath, not atom.config",
"end": 844,
"score": 0.9954699873924255,
"start": 818,
"tag": "KEY",
"value": "asciidoc-preview.showTitle"
},
{
"context": "review:toggle-c... | lib/main.coffee | mojavelinux/asciidoc-preview | 0 | {CompositeDisposable} = require 'atom'
url = require 'url'
path = require 'path'
fs = require 'fs-plus'
pdfconverter = require './pdf-converter'
AsciiDocPreviewView = null
renderer = null # Defer until used
isAsciiDocPreviewView = (object) ->
AsciiDocPreviewView ?= require './asciidoc-preview-view'
object instanc... | 22282 | {CompositeDisposable} = require 'atom'
url = require 'url'
path = require 'path'
fs = require 'fs-plus'
pdfconverter = require './pdf-converter'
AsciiDocPreviewView = null
renderer = null # Defer until used
isAsciiDocPreviewView = (object) ->
AsciiDocPreviewView ?= require './asciidoc-preview-view'
object instanc... | true | {CompositeDisposable} = require 'atom'
url = require 'url'
path = require 'path'
fs = require 'fs-plus'
pdfconverter = require './pdf-converter'
AsciiDocPreviewView = null
renderer = null # Defer until used
isAsciiDocPreviewView = (object) ->
AsciiDocPreviewView ?= require './asciidoc-preview-view'
object instanc... |
[
{
"context": "http://www.invetek.nl/?p=120\n# https://github.com/invetek/jquery-tablenav\n# Copyright (c) 2014 Loran Kloeze",
"end": 99,
"score": 0.9988031387329102,
"start": 92,
"tag": "USERNAME",
"value": "invetek"
},
{
"context": "b.com/invetek/jquery-tablenav\n# Copyright (c) 201... | src/tablenav.coffee | jasondavis/jquery-tablenav | 2 | # jQuery tableNav - v0.1.0 - 2014-02-21
# http://www.invetek.nl/?p=120
# https://github.com/invetek/jquery-tablenav
# Copyright (c) 2014 Loran Kloeze | Invetek
# Licensed MIT
#
(($) ->
$.fn.tableNav = () ->
$tbody = $(this).find 'tbody'
# Delete any previous event handlers
$tbody.find('input:enabled').... | 163909 | # jQuery tableNav - v0.1.0 - 2014-02-21
# http://www.invetek.nl/?p=120
# https://github.com/invetek/jquery-tablenav
# Copyright (c) 2014 <NAME> | Invetek
# Licensed MIT
#
(($) ->
$.fn.tableNav = () ->
$tbody = $(this).find 'tbody'
# Delete any previous event handlers
$tbody.find('input:enabled').off('k... | true | # jQuery tableNav - v0.1.0 - 2014-02-21
# http://www.invetek.nl/?p=120
# https://github.com/invetek/jquery-tablenav
# Copyright (c) 2014 PI:NAME:<NAME>END_PI | Invetek
# Licensed MIT
#
(($) ->
$.fn.tableNav = () ->
$tbody = $(this).find 'tbody'
# Delete any previous event handlers
$tbody.find('input:en... |
[
{
"context": " template\n) ->\n\n ###*\n # @author Raymond de Wit\n # @module App\n # @submodule ",
"end": 417,
"score": 0.9998884201049805,
"start": 403,
"tag": "NAME",
"value": "Raymond de Wit"
}
] | generators/demo/templates/src/views/index.coffee | marviq/generator-bat | 3 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( './index.hbs' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
'./index.hbs'
], factory... | 97053 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( './index.hbs' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
'./index.hbs'
], factory... | true | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( './index.hbs' )
)
else if typeof define is 'function' and define.amd
define( [
'backbone'
'./index.hbs'
], factory... |
[
{
"context": " @getCompileTo(compileTo)\n if compileToKey is 'htmlp'\n # @editor.set('preview-plus.htmlp',true)\n ",
"end": 4002,
"score": 0.960163414478302,
"start": 3997,
"tag": "KEY",
"value": "htmlp"
}
] | home/.atom/packages/preview-plus/lib/status-view.coffee | shadowbq/dot.atom | 28 | {View,SelectListView} = require 'atom-space-pen-views'
exec = require('child_process').exec
$ = require 'jquery'
class CompilerView extends SelectListView
initialize: (items,@statusView,item)->
super
@addClass 'overlay from-top'
@setItems items
atom.workspace.addModalPanel item:@
@focusFilterEdi... | 208252 | {View,SelectListView} = require 'atom-space-pen-views'
exec = require('child_process').exec
$ = require 'jquery'
class CompilerView extends SelectListView
initialize: (items,@statusView,item)->
super
@addClass 'overlay from-top'
@setItems items
atom.workspace.addModalPanel item:@
@focusFilterEdi... | true | {View,SelectListView} = require 'atom-space-pen-views'
exec = require('child_process').exec
$ = require 'jquery'
class CompilerView extends SelectListView
initialize: (items,@statusView,item)->
super
@addClass 'overlay from-top'
@setItems items
atom.workspace.addModalPanel item:@
@focusFilterEdi... |
[
{
"context": "returnValue field of the response object.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ProductCoverRou",
"end": 751,
"score": 0.9997856616973877,
"start": 739,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/aircraft/ProductCoverRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
fs = require('fs-extra')
mime = require('mime')
###
... | 155007 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
fs = require('fs-extra')
mime = require('mime')
###
... | true | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
fs = require('fs-extra')
mime = require('mime')
###
... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998890161514282,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/sale-attachments.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale attachment model
###
class SaleAttachment extends Model
# initia... | 49992 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale attachment model
###
class SaleAttachment extends Model
# initialize model
SaleAttac... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Sale attachment model
###
class SaleAttachment extends Model
... |
[
{
"context": "ox\n if checkbox\n checkboxField =\n key: '_id'\n label: ''\n fn: (value, object, key) -",
"end": 4327,
"score": 0.8916035890579224,
"start": 4325,
"tag": "KEY",
"value": "id"
}
] | packages/meteor-collection-table/src/collectionTable.coffee | thiago-zaidem/appVilaDosBichos | 0 | templateName = 'collectionTable'
TemplateClass = Template[templateName]
selectedClass = 'selected'
domNodeField = 'domNodeField'
selectEventName = 'select'
crudMenuDisableClass = 'no-crud-menu'
getNextId = -> Collections.generateId()
getRow = (id, template) ->
row = _.find template.$('tbody tr'), (tr) ->
data =... | 150426 | templateName = 'collectionTable'
TemplateClass = Template[templateName]
selectedClass = 'selected'
domNodeField = 'domNodeField'
selectEventName = 'select'
crudMenuDisableClass = 'no-crud-menu'
getNextId = -> Collections.generateId()
getRow = (id, template) ->
row = _.find template.$('tbody tr'), (tr) ->
data =... | true | templateName = 'collectionTable'
TemplateClass = Template[templateName]
selectedClass = 'selected'
domNodeField = 'domNodeField'
selectEventName = 'select'
crudMenuDisableClass = 'no-crud-menu'
getNextId = -> Collections.generateId()
getRow = (id, template) ->
row = _.find template.$('tbody tr'), (tr) ->
data =... |
[
{
"context": "(\"[data-#{@dataKey}]\", context)\n @instanceKey = \"#{@dataKey}-instance\"\n\n\n bindAll: ->\n @bind(el) ",
"end": 183,
"score": 0.8364497423171997,
"start": 180,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "ta-#{@dataKey}]\", context)\n @instanceKey = \"#{... | app/assets/utensils/bindable/bindable.coffee | CirrusMD/-deprecated-utensils | 1 | #= require utensils/utensils
class utensils.Bindable
constructor: (context=document, @dataKey='bindable')->
@bindables = $("[data-#{@dataKey}]", context)
@instanceKey = "#{@dataKey}-instance"
bindAll: ->
@bind(el) for el in @bindables
@
getRefs: ->
$(bindable).data(@instanceKey) for binda... | 169543 | #= require utensils/utensils
class utensils.Bindable
constructor: (context=document, @dataKey='bindable')->
@bindables = $("[data-#{@dataKey}]", context)
@instanceKey = <KEY>@<KEY>Key}-<KEY>"
bindAll: ->
@bind(el) for el in @bindables
@
getRefs: ->
$(bindable).data(@instanceKey) for binda... | true | #= require utensils/utensils
class utensils.Bindable
constructor: (context=document, @dataKey='bindable')->
@bindables = $("[data-#{@dataKey}]", context)
@instanceKey = PI:KEY:<KEY>END_PI@PI:KEY:<KEY>END_PIKey}-PI:KEY:<KEY>END_PI"
bindAll: ->
@bind(el) for el in @bindables
@
getRefs: ->
$... |
[
{
"context": "ut\n type: 'text'\n placeholder: 'Your Name'\n name: 'user'\n value: @state.u",
"end": 712,
"score": 0.94553542137146,
"start": 703,
"tag": "NAME",
"value": "Your Name"
}
] | app/assets/javascripts/components/comment_form.js.coffee | rocLv/interview | 0 | @CommentForm = React.createClass
getInitialState: ->
user: ''
body: ''
commentable_type: @props.commentable_type
commentable_id: @props.commentable_id
handleChange: (e) ->
name = e.target.name
@setState "#{ name }": e.target.value
valid: ->
@state.user && @state.body
handleSubmit: (... | 150107 | @CommentForm = React.createClass
getInitialState: ->
user: ''
body: ''
commentable_type: @props.commentable_type
commentable_id: @props.commentable_id
handleChange: (e) ->
name = e.target.name
@setState "#{ name }": e.target.value
valid: ->
@state.user && @state.body
handleSubmit: (... | true | @CommentForm = React.createClass
getInitialState: ->
user: ''
body: ''
commentable_type: @props.commentable_type
commentable_id: @props.commentable_id
handleChange: (e) ->
name = e.target.name
@setState "#{ name }": e.target.value
valid: ->
@state.user && @state.body
handleSubmit: (... |
[
{
"context": "ign port 80 by default', ->\n url = 'http://67.109.86.186/mjpg/video.mjpg'\n paparazzi = new Paparazz",
"end": 296,
"score": 0.960077166557312,
"start": 283,
"tag": "IP_ADDRESS",
"value": "67.109.86.186"
}
] | test/paparazziTest.coffee | nickrobinson/paparazzi | 0 | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzi = require '../src/paparazzi'
paparazzi = null
describe 'Paparazzi constructor', ->
it 'should assign port 80 by default', ->
url = 'http://67.109.86.186/mjpg/video.mjpg'
... | 160840 | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzi = require '../src/paparazzi'
paparazzi = null
describe 'Paparazzi constructor', ->
it 'should assign port 80 by default', ->
url = 'http://192.168.127.12/mjpg/video.mjpg'
... | true | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzi = require '../src/paparazzi'
paparazzi = null
describe 'Paparazzi constructor', ->
it 'should assign port 80 by default', ->
url = 'http://PI:IP_ADDRESS:192.168.127.12END_PI/mj... |
[
{
"context": "###\n# SM.js\n# (c) 2014 Kazuaki Tanida\n# This software can be freely distributed under t",
"end": 37,
"score": 0.9998077750205994,
"start": 23,
"tag": "NAME",
"value": "Kazuaki Tanida"
}
] | sm.coffee | Write48/SM-15 | 144 | ###
# SM.js
# (c) 2014 Kazuaki Tanida
# This software can be freely distributed under the MIT license.
###
class @SM
constructor: ->
@requestedFI = 10
@intervalBase = 3 * 60 * 60 * 1000
@q = [] # items sorted by dueDate
@fi_g = new FI_G @
@forgettingCurves = new ForgettingCurves @
@rfm = ne... | 80149 | ###
# SM.js
# (c) 2014 <NAME>
# This software can be freely distributed under the MIT license.
###
class @SM
constructor: ->
@requestedFI = 10
@intervalBase = 3 * 60 * 60 * 1000
@q = [] # items sorted by dueDate
@fi_g = new FI_G @
@forgettingCurves = new ForgettingCurves @
@rfm = new RFM @
... | true | ###
# SM.js
# (c) 2014 PI:NAME:<NAME>END_PI
# This software can be freely distributed under the MIT license.
###
class @SM
constructor: ->
@requestedFI = 10
@intervalBase = 3 * 60 * 60 * 1000
@q = [] # items sorted by dueDate
@fi_g = new FI_G @
@forgettingCurves = new ForgettingCurves @
@rf... |
[
{
"context": "erse: (callback) ->\n current = {}\n current[@start.id] = @start\n\n next = {}\n visitedStates = {}\n ",
"end": 4002,
"score": 0.5954520106315613,
"start": 3994,
"tag": "USERNAME",
"value": "start.id"
},
{
"context": "arc.id}}\"\n else\n ... | src/legacy/old_fsa.coffee | automatthew/djinn | 4 | Graphviz = require("./graphviz")
class TreeNode
constructor: (parent, @val, @children) ->
if parent
@parent = parent
@parent.children.push(@)
@children ||= []
@final = false
step = (current, val) ->
next = {size: 0}
for own key, thing of current when key != "size"
thing.state.arcs... | 43762 | Graphviz = require("./graphviz")
class TreeNode
constructor: (parent, @val, @children) ->
if parent
@parent = parent
@parent.children.push(@)
@children ||= []
@final = false
step = (current, val) ->
next = {size: 0}
for own key, thing of current when key != "size"
thing.state.arcs... | true | Graphviz = require("./graphviz")
class TreeNode
constructor: (parent, @val, @children) ->
if parent
@parent = parent
@parent.children.push(@)
@children ||= []
@final = false
step = (current, val) ->
next = {size: 0}
for own key, thing of current when key != "size"
thing.state.arcs... |
[
{
"context": "il.send_mail(\"${1:Subject}\", \"${2:Message}\", \"${3:from@example.com}\", ${4:[\"to@example.com\"]}${5:, fail_silently=Tru",
"end": 9664,
"score": 0.9995467066764832,
"start": 9648,
"tag": "EMAIL",
"value": "from@example.com"
},
{
"context": "\", \"${2:Message}\", \"$... | snippets/django-atom.cson | xoelop/django-atom | 16 | ".source.python.django":
# Model fields
"Model AutoField":
prefix: "mauto"
body: "${1:FIELDNAME} = models.AutoField($2)$0"
"Model BigIntegerField":
prefix: "mbigint"
body: "${1:FIELDNAME} = models.BigIntegerField($2)$0"
"Model BooleanField":
prefix: "mbool"
body: "${1:FIELDNAME} = model... | 19671 | ".source.python.django":
# Model fields
"Model AutoField":
prefix: "mauto"
body: "${1:FIELDNAME} = models.AutoField($2)$0"
"Model BigIntegerField":
prefix: "mbigint"
body: "${1:FIELDNAME} = models.BigIntegerField($2)$0"
"Model BooleanField":
prefix: "mbool"
body: "${1:FIELDNAME} = model... | true | ".source.python.django":
# Model fields
"Model AutoField":
prefix: "mauto"
body: "${1:FIELDNAME} = models.AutoField($2)$0"
"Model BigIntegerField":
prefix: "mbigint"
body: "${1:FIELDNAME} = models.BigIntegerField($2)$0"
"Model BooleanField":
prefix: "mbool"
body: "${1:FIELDNAME} = model... |
[
{
"context": "t = {\n # users\n user1: {id: 101, name: \"Tom McTest\"},\n\n # labels\n tea: {id: 201, name: \"Te",
"end": 451,
"score": 0.9995083808898926,
"start": 441,
"tag": "NAME",
"value": "Tom McTest"
},
{
"context": "st\"},\n\n # labels\n tea: {id... | karma/test-services.coffee | lucianomc/casepro | 0 | # Unit tests for our Angular services (services listed A-Z)
describe('services:', () ->
$httpBackend = null
$window = null
$rootScope = null
test = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$httpBackend_, _$window_, _$rootScope_) ->
$httpBackend = _$httpBackend_
... | 50807 | # Unit tests for our Angular services (services listed A-Z)
describe('services:', () ->
$httpBackend = null
$window = null
$rootScope = null
test = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$httpBackend_, _$window_, _$rootScope_) ->
$httpBackend = _$httpBackend_
... | true | # Unit tests for our Angular services (services listed A-Z)
describe('services:', () ->
$httpBackend = null
$window = null
$rootScope = null
test = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$httpBackend_, _$window_, _$rootScope_) ->
$httpBackend = _$httpBackend_
... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998605251312256,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
}
] | tests/test-number.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# 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, publish... | 171067 | #
# Copyright (c) 2012 <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, publish, distribut... | true | #
# Copyright (c) 2012 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, merge, publ... |
[
{
"context": "ledJobManager', ->\n beforeEach ->\n @redisKey = UUID.v1()\n\n pool = new Pool\n max: 1\n min: 0\n",
"end": 319,
"score": 0.9934993982315063,
"start": 312,
"tag": "KEY",
"value": "UUID.v1"
}
] | test/pooled-job-manager-spec.coffee | octoblu/meshblu-core-pooled-job-manager | 0 | _ = require 'lodash'
redis = require 'fakeredis'
UUID = require 'uuid'
{Pool} = require '@octoblu/generic-pool'
PooledJobManager = require '../'
JobManager = require 'meshblu-core-job-manager'
describe 'PooledJobManager', ->
beforeEach ->
@redisKey = UUID.v1(... | 22181 | _ = require 'lodash'
redis = require 'fakeredis'
UUID = require 'uuid'
{Pool} = require '@octoblu/generic-pool'
PooledJobManager = require '../'
JobManager = require 'meshblu-core-job-manager'
describe 'PooledJobManager', ->
beforeEach ->
@redisKey = <KEY>()
... | true | _ = require 'lodash'
redis = require 'fakeredis'
UUID = require 'uuid'
{Pool} = require '@octoblu/generic-pool'
PooledJobManager = require '../'
JobManager = require 'meshblu-core-job-manager'
describe 'PooledJobManager', ->
beforeEach ->
@redisKey = PI:KEY:<... |
[
{
"context": "ee the LICENCE file for details.\n#\n# Copyright (c) Markus Kohlhase, 2011\n\n# File: strophe.caps.js\n# A Strophe plugin",
"end": 141,
"score": 0.9999024868011475,
"start": 126,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "following dependencies:\n#\n# - ... | dist/bower_components/strophejs-plugins/caps/strophe.CAPS.coffee | A-StadLabs/labs-002 | 34 | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) Markus Kohlhase, 2011
# File: strophe.caps.js
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.disco.js (by Fr... | 61843 | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) <NAME>, 2011
# File: strophe.caps.js
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.disco.js (by <NAME>)
# -... | true | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) PI:NAME:<NAME>END_PI, 2011
# File: strophe.caps.js
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.disco.js (... |
[
{
"context": "mEvents(\n -> Bacon.once({ bacon: Bacon.once(\"sir francis\")}).flatMapConcat(\".bacon\")\n [\"sir francis\"]",
"end": 672,
"score": 0.9775744676589966,
"start": 661,
"tag": "NAME",
"value": "sir francis"
},
{
"context": "(\"sir francis\")}).flatMapConcat(\".b... | spec/specs/flatmapconcat.coffee | ArtFacts/bacon.js | 0 | require("../../src/flatmapconcat")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
expectPropertyEvents,
semiunstable,
unstable,
error,
fromArray,
series,
repeat,
once,
t
} = require("../SpecHelper")
describe "EventStream.flatMapConcat", ->
describ... | 55517 | require("../../src/flatmapconcat")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
expectPropertyEvents,
semiunstable,
unstable,
error,
fromArray,
series,
repeat,
once,
t
} = require("../SpecHelper")
describe "EventStream.flatMapConcat", ->
describ... | true | require("../../src/flatmapconcat")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
expectPropertyEvents,
semiunstable,
unstable,
error,
fromArray,
series,
repeat,
once,
t
} = require("../SpecHelper")
describe "EventStream.flatMapConcat", ->
describ... |
[
{
"context": "rogramming style\nlicense: 3-clause BSD\nauthors: ['Michael Ficarra']\nrequires: []\nprovides: [\n\tFunctionalJS, Functio",
"end": 127,
"score": 0.9998546838760376,
"start": 112,
"tag": "NAME",
"value": "Michael Ficarra"
},
{
"context": "nless global._?\n\n\n\tglobal\n)... | Source/FunctionalJS.coffee | michaelficarra/FunctionalJS | 1 | ###
---
description: Extensions that allow a more functional programming style
license: 3-clause BSD
authors: ['Michael Ficarra']
requires: []
provides: [
FunctionalJS, Function._, Function.empty, Function.identity,
Function.context, Function.lambda, Function.pluck, Function.invoke,
Function.sequence, Function.conca... | 46879 | ###
---
description: Extensions that allow a more functional programming style
license: 3-clause BSD
authors: ['<NAME>']
requires: []
provides: [
FunctionalJS, Function._, Function.empty, Function.identity,
Function.context, Function.lambda, Function.pluck, Function.invoke,
Function.sequence, Function.concatenate, F... | true | ###
---
description: Extensions that allow a more functional programming style
license: 3-clause BSD
authors: ['PI:NAME:<NAME>END_PI']
requires: []
provides: [
FunctionalJS, Function._, Function.empty, Function.identity,
Function.context, Function.lambda, Function.pluck, Function.invoke,
Function.sequence, Function.... |
[
{
"context": "toms } } },\n\t\t\t\t#{$project: {\"_id\" : 0, \"key\" : \"$_id\", value: {$multiply : [{ $meta: \"textScore\" }, 10",
"end": 755,
"score": 0.5987454652786255,
"start": 753,
"tag": "KEY",
"value": "id"
}
] | routes.coffee | adelriosantiago/bigdoc | 1 | MongoClient = require('mongodb').MongoClient;
assert = require('assert')
slugg = require('slugg')
_ = require('lodash')
console.log "Started"
mongoDBUrl = 'mongodb://localhost:27017/';
#Routes
module.exports = (app, passport) ->
#Bigdoc hompage
app.get "/", (req, res) ->
res.render "index.jade"
#Bigdoc API ge... | 129373 | MongoClient = require('mongodb').MongoClient;
assert = require('assert')
slugg = require('slugg')
_ = require('lodash')
console.log "Started"
mongoDBUrl = 'mongodb://localhost:27017/';
#Routes
module.exports = (app, passport) ->
#Bigdoc hompage
app.get "/", (req, res) ->
res.render "index.jade"
#Bigdoc API ge... | true | MongoClient = require('mongodb').MongoClient;
assert = require('assert')
slugg = require('slugg')
_ = require('lodash')
console.log "Started"
mongoDBUrl = 'mongodb://localhost:27017/';
#Routes
module.exports = (app, passport) ->
#Bigdoc hompage
app.get "/", (req, res) ->
res.render "index.jade"
#Bigdoc API ge... |
[
{
"context": "ng...\"\n super 45\n\n sam = new Snake \"Sammy the Python\"\n tom = new Horse \"Tommy the Palomino\"\n\n ",
"end": 1443,
"score": 0.9879857301712036,
"start": 1427,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "w Snake \"Sammy the Pyt... | snippets/coffee.cson | dfang/my-atom-snippets | 0 | '.source.coffee, .text.hamlc, .source.litcoffee':
'coffee-version console log':
'prefix': 'log'
'body': 'console.log $1'
'ajax':
'prefix': 'ajax'
'body': """
$.ajax(
url: '${1:/path/to/file}'
type: '${2:default GET (Other values: POST)}'
dataType: '${3:default: Intell... | 98751 | '.source.coffee, .text.hamlc, .source.litcoffee':
'coffee-version console log':
'prefix': 'log'
'body': 'console.log $1'
'ajax':
'prefix': 'ajax'
'body': """
$.ajax(
url: '${1:/path/to/file}'
type: '${2:default GET (Other values: POST)}'
dataType: '${3:default: Intell... | true | '.source.coffee, .text.hamlc, .source.litcoffee':
'coffee-version console log':
'prefix': 'log'
'body': 'console.log $1'
'ajax':
'prefix': 'ajax'
'body': """
$.ajax(
url: '${1:/path/to/file}'
type: '${2:default GET (Other values: POST)}'
dataType: '${3:default: Intell... |
[
{
"context": "[\n {\n name: 'Riceball LEE'\n email: 'snowyu.lee@gmail.com'\n in",
"end": 37,
"score": 0.9998718500137329,
"start": 25,
"tag": "NAME",
"value": "Riceball LEE"
},
{
"context": " {\n name: 'Riceball LEE'\n email: 'snowyu.lee@gmai... | test/fixture/merge-user.cson | snowyu/get-contributors.js | 1 | [
{
name: 'Riceball LEE'
email: 'snowyu.lee@gmail.com'
insertions: 37
commits: 33
deletions: 1
}
{
name: 'zhuangbiaowei'
email: 'zhuangbiaowei@gmail.com'
insertions: 28
commits: 25
deletions: 0
}
{
name... | 114999 | [
{
name: '<NAME>'
email: '<EMAIL>'
insertions: 37
commits: 33
deletions: 1
}
{
name: '<NAME>'
email: '<EMAIL>'
insertions: 28
commits: 25
deletions: 0
}
{
name: '<NAME>'
email: '<EMAIL>'
... | true | [
{
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
insertions: 37
commits: 33
deletions: 1
}
{
name: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
insertions: 28
commits: 25
deletions: 0
}
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999128580093384,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/forum-cover.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 @ForumCover
constructor: ->
@header = document.getElementsByClassName('js-forum-cover--header')
@uploadButton = document.getEleme... | 21626 | # 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 @ForumCover
constructor: ->
@header = document.getElementsByClassName('js-forum-cover--header')
@uploadButton = document.getElementsByCl... | 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 @ForumCover
constructor: ->
@header = document.getElementsByClassName('js-forum-cover--header')
@uploadButton = document.... |
[
{
"context": "ow.prompt(\"Already used! Use another nickname:\", \"default_user1\").replace(\"&\", \"&\").replace(\"<\", \"<\").repl",
"end": 392,
"score": 0.9883536100387573,
"start": 379,
"tag": "USERNAME",
"value": "default_user1"
},
{
"context": " nick = window.prompt... | web/pages/client.coffee | Gustavo6046/SayBale | 0 | nicked = false
nick = null
sendHistory = []
historyPos = -1
nonHistory = ""
cycle = 0
lastTab = ""
origTitle = document.title
selected = true
has = (a, i) ->
for x in a
if x == i
return true
return false
connect = (again) ->
if not again?
again = false
if again
ni... | 124667 | nicked = false
nick = null
sendHistory = []
historyPos = -1
nonHistory = ""
cycle = 0
lastTab = ""
origTitle = document.title
selected = true
has = (a, i) ->
for x in a
if x == i
return true
return false
connect = (again) ->
if not again?
again = false
if again
ni... | true | nicked = false
nick = null
sendHistory = []
historyPos = -1
nonHistory = ""
cycle = 0
lastTab = ""
origTitle = document.title
selected = true
has = (a, i) ->
for x in a
if x == i
return true
return false
connect = (again) ->
if not again?
again = false
if again
ni... |
[
{
"context": "mEvents(\n -> Bacon.once({ bacon: Bacon.once(\"sir francis\")}).flatMapConcat(\".bacon\")\n [\"sir francis\"]",
"end": 398,
"score": 0.964329183101654,
"start": 387,
"tag": "NAME",
"value": "sir francis"
},
{
"context": "(\"sir francis\")}).flatMapConcat(\".ba... | spec/specs/flatmapconcat.coffee | laurilehmijoki/bacon.js | 1 | describe "EventStream.flatMapConcat", ->
describe "is like flatMapWithConcurrencyLimit(1)", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMapConcat((value) ->
series(t(2), [value, error(), value]))
[1, error(), 1, 2, error(), 2], unstable)
describe "Respects function construction rules", -... | 72561 | describe "EventStream.flatMapConcat", ->
describe "is like flatMapWithConcurrencyLimit(1)", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMapConcat((value) ->
series(t(2), [value, error(), value]))
[1, error(), 1, 2, error(), 2], unstable)
describe "Respects function construction rules", -... | true | describe "EventStream.flatMapConcat", ->
describe "is like flatMapWithConcurrencyLimit(1)", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMapConcat((value) ->
series(t(2), [value, error(), value]))
[1, error(), 1, 2, error(), 2], unstable)
describe "Respects function construction rules", -... |
[
{
"context": "wordnet')\nwordnet = new Wordnet()\n\ntestText = \"\"\"\nEmma Woodhouse, handsome, clever, and rich, with a comfortable h",
"end": 149,
"score": 0.9978861808776855,
"start": 135,
"tag": "NAME",
"value": "Emma Woodhouse"
},
{
"context": "short of a mother in affection.\n... | test/wordnet_benchmark.coffee | khanali21/wordnet | 3 | microtime = require('microtime')
async = require('async')
Wordnet = require('../src/wordnet')
wordnet = new Wordnet()
testText = """
Emma Woodhouse, handsome, clever, and rich, with a comfortable home
and happy disposition, seemed to unite some of the best blessings of
existence; and had lived nearly twenty-one years... | 96747 | microtime = require('microtime')
async = require('async')
Wordnet = require('../src/wordnet')
wordnet = new Wordnet()
testText = """
<NAME>, handsome, clever, and rich, with a comfortable home
and happy disposition, seemed to unite some of the best blessings of
existence; and had lived nearly twenty-one years in the ... | true | microtime = require('microtime')
async = require('async')
Wordnet = require('../src/wordnet')
wordnet = new Wordnet()
testText = """
PI:NAME:<NAME>END_PI, handsome, clever, and rich, with a comfortable home
and happy disposition, seemed to unite some of the best blessings of
existence; and had lived nearly twenty-one... |
[
{
"context": "o entries in the table's `data` array.\n#\n# @author Douglas Armstrong\nclass c3.Table extends c3.Base\n @version: 0.1\n",
"end": 1845,
"score": 0.9998772740364075,
"start": 1828,
"tag": "NAME",
"value": "Douglas Armstrong"
}
] | js/c3-table.coffee | jordalgo/chartcollection | 29 | # c3 Visualization Library
# HTML Table Generation
###################################################################
# Table
###################################################################
# A visualization of data using HTML tables.
#
# Like other c3 visualizations, call `redraw()` to update the table when th... | 130836 | # c3 Visualization Library
# HTML Table Generation
###################################################################
# Table
###################################################################
# A visualization of data using HTML tables.
#
# Like other c3 visualizations, call `redraw()` to update the table when th... | true | # c3 Visualization Library
# HTML Table Generation
###################################################################
# Table
###################################################################
# A visualization of data using HTML tables.
#
# Like other c3 visualizations, call `redraw()` to update the table when th... |
[
{
"context": "oxSelectTool\"\n\n evgen_options:\n keyName: \"shiftKey\"\n buttonText: \"Select\"\n buttonIcon: \"da",
"end": 809,
"score": 0.9755852222442627,
"start": 801,
"tag": "KEY",
"value": "shiftKey"
},
{
"context": "Vk6G2bmQfzNVnotZt1h1IHXaiGPMDG/LRqGOyziC6G... | bokehjs/src/coffee/tool/box_select_tool.coffee | csaid/bokeh | 1 |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxSelectToolView extends Tool.View
initialize: (options) ->
super(options)
@select_every_mousemove = @mget('... | 19463 |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxSelectToolView extends Tool.View
initialize: (options) ->
super(options)
@select_every_mousemove = @mget('... | true |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxSelectToolView extends Tool.View
initialize: (options) ->
super(options)
@select_every_mousemove = @mget('... |
[
{
"context": "wer, i in @props.task.answers\n answer._key ?= Math.random()\n <label key={answer._key} className",
"end": 2297,
"score": 0.7337810397148132,
"start": 2293,
"tag": "KEY",
"value": "Math"
}
] | app/classifier/tasks/multiple.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
GenericTask = require './generic'
{Markdown} = (require 'markdownz').default
GenericTaskEditor = require './generic-editor'
NOOP = Function.prototype
Summary = React.createClass
displayName: 'MultipleChoiceSummary'
getDefaultProps: ->
task: null
annotation: null
expanded: fals... | 189012 | React = require 'react'
GenericTask = require './generic'
{Markdown} = (require 'markdownz').default
GenericTaskEditor = require './generic-editor'
NOOP = Function.prototype
Summary = React.createClass
displayName: 'MultipleChoiceSummary'
getDefaultProps: ->
task: null
annotation: null
expanded: fals... | true | React = require 'react'
GenericTask = require './generic'
{Markdown} = (require 'markdownz').default
GenericTaskEditor = require './generic-editor'
NOOP = Function.prototype
Summary = React.createClass
displayName: 'MultipleChoiceSummary'
getDefaultProps: ->
task: null
annotation: null
expanded: fals... |
[
{
"context": "ie', ->\n document = {\n cookie: 'valid-key=dN612300=;other-key=123i12i312'\n }\n cookies = new Coo",
"end": 627,
"score": 0.9935071468353271,
"start": 618,
"tag": "KEY",
"value": "dN612300="
},
{
"context": " = {\n cookie: 'valid-key=dN612300=;other-... | test/featness-cookies-tests.coffee | featness/featness.js | 1 | chai = require 'chai'
sinon = require 'sinon'
{Cookies, CookiesClass} = require '../src/featness.cookies'
chai.should()
expect = chai.expect
document = null
describe 'featness-cookies', ->
it 'should be created with document mock', ->
mock = {}
cookies = new CookiesClass(mock)
expect(cookies.document)... | 18786 | chai = require 'chai'
sinon = require 'sinon'
{Cookies, CookiesClass} = require '../src/featness.cookies'
chai.should()
expect = chai.expect
document = null
describe 'featness-cookies', ->
it 'should be created with document mock', ->
mock = {}
cookies = new CookiesClass(mock)
expect(cookies.document)... | true | chai = require 'chai'
sinon = require 'sinon'
{Cookies, CookiesClass} = require '../src/featness.cookies'
chai.should()
expect = chai.expect
document = null
describe 'featness-cookies', ->
it 'should be created with document mock', ->
mock = {}
cookies = new CookiesClass(mock)
expect(cookies.document)... |
[
{
"context": "\"\n\ticon: \"opportunity\"\n\tfields:\n\t\tname:\n\t\t\tlabel:'姓名'\n\t\t\ttype:'text'\n\t\t\tis_wide:true\n\t\tmobile:\n\t\t\tlabe",
"end": 109,
"score": 0.9916284084320068,
"start": 107,
"tag": "NAME",
"value": "姓名"
}
] | packages/steedos-vip-card/models/vip_card.coffee | zonglu233/fuel-car | 42 | Creator.Objects.vip_card =
name: "vip_card"
label: "会员卡"
icon: "opportunity"
fields:
name:
label:'姓名'
type:'text'
is_wide:true
mobile:
label:'手机'
type:'text'
is_wide:true
card_number:
label:"卡号"
type:'text'
index:true
group:'-'
card_name:
label:'名称'
type:'lookup'
refe... | 124861 | Creator.Objects.vip_card =
name: "vip_card"
label: "会员卡"
icon: "opportunity"
fields:
name:
label:'<NAME>'
type:'text'
is_wide:true
mobile:
label:'手机'
type:'text'
is_wide:true
card_number:
label:"卡号"
type:'text'
index:true
group:'-'
card_name:
label:'名称'
type:'lookup'
... | true | Creator.Objects.vip_card =
name: "vip_card"
label: "会员卡"
icon: "opportunity"
fields:
name:
label:'PI:NAME:<NAME>END_PI'
type:'text'
is_wide:true
mobile:
label:'手机'
type:'text'
is_wide:true
card_number:
label:"卡号"
type:'text'
index:true
group:'-'
card_name:
label:'名称'
typ... |
[
{
"context": "tCurrentUser: -> if loggedIn then { displayName: 'Horrible Monster', username: 'hmonster', hasRole: (ro",
"end": 306,
"score": 0.8711130023002625,
"start": 303,
"tag": "NAME",
"value": "Hor"
},
{
"context": "rrentUser: -> if loggedIn then { displayName: 'Horrible Monste... | ModelCatalogueCorePlugin/test/js/modelcatalogue/util/ui/hideForRole.spec.coffee | tumtumtree/tumtumtree | 1 | describe "mc.util.ui.hideForRole", ->
loggedIn = true
beforeEach module 'mc.util.ui.hideForRole'
beforeEach module (securityProvider) ->
securityProvider.setup ['$log', ($log) ->
security =
isUserLoggedIn: -> loggedIn
getCurrentUser: -> if loggedIn then { displayName: 'Horrible Monster'... | 17107 | describe "mc.util.ui.hideForRole", ->
loggedIn = true
beforeEach module 'mc.util.ui.hideForRole'
beforeEach module (securityProvider) ->
securityProvider.setup ['$log', ($log) ->
security =
isUserLoggedIn: -> loggedIn
getCurrentUser: -> if loggedIn then { displayName: '<NAME>rible Mon<N... | true | describe "mc.util.ui.hideForRole", ->
loggedIn = true
beforeEach module 'mc.util.ui.hideForRole'
beforeEach module (securityProvider) ->
securityProvider.setup ['$log', ($log) ->
security =
isUserLoggedIn: -> loggedIn
getCurrentUser: -> if loggedIn then { displayName: 'PI:NAME:<NAME>END... |
[
{
"context": "'firstName': 'John'\n'lastName': 'Smith'\n'isAlive': true\n'age': 27\n'a",
"end": 18,
"score": 0.9998626708984375,
"start": 14,
"tag": "NAME",
"value": "John"
},
{
"context": "'firstName': 'John'\n'lastName': 'Smith'\n'isAlive': true\n'age': 27\n'address':\n 'streetAd"... | test/fixtures/valid.cson | idleberg/node-is-cson | 0 | 'firstName': 'John'
'lastName': 'Smith'
'isAlive': true
'age': 27
'address':
'streetAddress': '21 2nd Street'
'city': 'New York'
'state': 'NY'
'postalCode': '10021-3100'
'phoneNumbers': [
{
'type': 'home'
'number': '212 555-1234'
}
{
'type': 'office'
'number': '646 555-4567'
}
{
't... | 60511 | 'firstName': '<NAME>'
'lastName': '<NAME>'
'isAlive': true
'age': 27
'address':
'streetAddress': '21 2nd Street'
'city': 'New York'
'state': 'NY'
'postalCode': '10021-3100'
'phoneNumbers': [
{
'type': 'home'
'number': '212 555-1234'
}
{
'type': 'office'
'number': '646 555-4567'
}
{
... | true | 'firstName': 'PI:NAME:<NAME>END_PI'
'lastName': 'PI:NAME:<NAME>END_PI'
'isAlive': true
'age': 27
'address':
'streetAddress': '21 2nd Street'
'city': 'New York'
'state': 'NY'
'postalCode': '10021-3100'
'phoneNumbers': [
{
'type': 'home'
'number': '212 555-1234'
}
{
'type': 'office'
'number'... |
[
{
"context": "ariemas/</option>\n <option value='http://192.168.16.101:5984/coconut-central-sijariemas-rep-live/'>192.16",
"end": 454,
"score": 0.9996768236160278,
"start": 440,
"tag": "IP_ADDRESS",
"value": "192.168.16.101"
},
{
"context": "16.101:5984/coconut-central-sijar... | _attachments/views/LocalConfigView.coffee | cmink-alone/sijariemas-webapp | 0 | class LocalConfigView extends Backbone.View
el: '#content'
render: ->
@$el.html "
<form id='local-config'>
<h1>Configure your Coconut system</h1>
<label for='coconut-cloud' >Coconut Cloud URL</label>
<select name='coconut-cloud'>
<option value='https://kiwicentral.org/co... | 79376 | class LocalConfigView extends Backbone.View
el: '#content'
render: ->
@$el.html "
<form id='local-config'>
<h1>Configure your Coconut system</h1>
<label for='coconut-cloud' >Coconut Cloud URL</label>
<select name='coconut-cloud'>
<option value='https://kiwicentral.org/co... | true | class LocalConfigView extends Backbone.View
el: '#content'
render: ->
@$el.html "
<form id='local-config'>
<h1>Configure your Coconut system</h1>
<label for='coconut-cloud' >Coconut Cloud URL</label>
<select name='coconut-cloud'>
<option value='https://kiwicentral.org/co... |
[
{
"context": "ert \"Galloping...\"\n super 45\n\nsam = new Snake \"Sammy the Python\"\ntom = new Horse \"Tommy the Palomino\"\n\nsam.move()",
"end": 1353,
"score": 0.9129371047019958,
"start": 1337,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "m = new Snake \"Sammy ... | test_files/test.coffee | machine23/cobalt2-vim-theme | 42 | # todo
###
todo
###
class Testclass
testmethod: (value, val) ->
test = """
string
"""
test = "string #{ test }"
return test
types: ->
regex = /^\b1?[-.\s]?(\d{3})|([A-z])[-.\s]?\d{3}[-.\s]?\d{4}\b$/img
classVar: (e) ->
@element = e
collections: (number) ->
ar... | 47899 | # todo
###
todo
###
class Testclass
testmethod: (value, val) ->
test = """
string
"""
test = "string #{ test }"
return test
types: ->
regex = /^\b1?[-.\s]?(\d{3})|([A-z])[-.\s]?\d{3}[-.\s]?\d{4}\b$/img
classVar: (e) ->
@element = e
collections: (number) ->
ar... | true | # todo
###
todo
###
class Testclass
testmethod: (value, val) ->
test = """
string
"""
test = "string #{ test }"
return test
types: ->
regex = /^\b1?[-.\s]?(\d{3})|([A-z])[-.\s]?\d{3}[-.\s]?\d{4}\b$/img
classVar: (e) ->
@element = e
collections: (number) ->
ar... |
[
{
"context": "sionid = auth.sessionid\n else\n @username = auth.username\n @password = auth.password\n\n @_lastTransa",
"end": 891,
"score": 0.9962920546531677,
"start": 878,
"tag": "USERNAME",
"value": "auth.username"
},
{
"context": "\n @username = auth.usernam... | index.coffee | mvgrimes/workflowy | 0 | _ = require 'lodash'
Q = require 'q'
debug = require('debug')('workflowy')
request = require 'request'
utils = require './lib/utils'
util = require 'util'
# request.use require('reqrap/debug'), name: 'workflowy-request'
# request.use require('reqrap/throttle'), millis: 1000
makeUrls = (workflowy) ->
{
login: 'h... | 133181 | _ = require 'lodash'
Q = require 'q'
debug = require('debug')('workflowy')
request = require 'request'
utils = require './lib/utils'
util = require 'util'
# request.use require('reqrap/debug'), name: 'workflowy-request'
# request.use require('reqrap/throttle'), millis: 1000
makeUrls = (workflowy) ->
{
login: 'h... | true | _ = require 'lodash'
Q = require 'q'
debug = require('debug')('workflowy')
request = require 'request'
utils = require './lib/utils'
util = require 'util'
# request.use require('reqrap/debug'), name: 'workflowy-request'
# request.use require('reqrap/throttle'), millis: 1000
makeUrls = (workflowy) ->
{
login: 'h... |
[
{
"context": "lidId'\n callback null, { _id: id, password: 'aHashedPassword'}\n else\n callback 'invalid id'\n else\n ",
"end": 594,
"score": 0.9993968605995178,
"start": 579,
"tag": "PASSWORD",
"value": "aHashedPassword"
},
{
"context": "x >0\n result = ({some: 't... | test/unit/server/mocha/mocks/crud.coffee | valueflowquality/gi-security-update | 0 | expect = require('chai').expect
exports.create = (body, callback) ->
if body
callback null, body
else
callback 'no body', null
exports.update = (id, json, callback) ->
if id is 'InvalidId'
callback 'Fail'
else
json._id = id
callback null, json
exports.destroy = (id, callback) ->
if id
... | 208012 | expect = require('chai').expect
exports.create = (body, callback) ->
if body
callback null, body
else
callback 'no body', null
exports.update = (id, json, callback) ->
if id is 'InvalidId'
callback 'Fail'
else
json._id = id
callback null, json
exports.destroy = (id, callback) ->
if id
... | true | expect = require('chai').expect
exports.create = (body, callback) ->
if body
callback null, body
else
callback 'no body', null
exports.update = (id, json, callback) ->
if id is 'InvalidId'
callback 'Fail'
else
json._id = id
callback null, json
exports.destroy = (id, callback) ->
if id
... |
[
{
"context": "ss user.isModified(\"password\")\n user.password = nthash(user.password)\n next()\n\n# validate password\nus",
"end": 1292,
"score": 0.9963235855102539,
"start": 1286,
"tag": "PASSWORD",
"value": "nthash"
},
{
"context": "dified(\"password\")\n user.password = ... | src/server/models/user.coffee | phnz/vpnht-frontend | 1 | mongoose = require("mongoose")
password = require("mongoose")
nthash = require('smbhash').nthash
bcrypt = require("bcrypt-nodejs")
crypto = require("crypto")
stripeCustomer = require("./plugins/stripe-customer")
secrets = require("../config/secrets")
timestamps = require("mongoose-timestamp")
userSchema = new mongoose.... | 112526 | mongoose = require("mongoose")
password = require("mongoose")
nthash = require('smbhash').nthash
bcrypt = require("bcrypt-nodejs")
crypto = require("crypto")
stripeCustomer = require("./plugins/stripe-customer")
secrets = require("../config/secrets")
timestamps = require("mongoose-timestamp")
userSchema = new mongoose.... | true | mongoose = require("mongoose")
password = require("mongoose")
nthash = require('smbhash').nthash
bcrypt = require("bcrypt-nodejs")
crypto = require("crypto")
stripeCustomer = require("./plugins/stripe-customer")
secrets = require("../config/secrets")
timestamps = require("mongoose-timestamp")
userSchema = new mongoose.... |
[
{
"context": " s.server.authdb = { 'ooShei0queigeeke': 'reeva9aijo1Ooj9w' }\n\n HTTP[method] u, (res) ->\n ",
"end": 3401,
"score": 0.9508271217346191,
"start": 3385,
"tag": "PASSWORD",
"value": "reeva9aijo1Ooj9w"
},
{
"context": " s.server.authdb = ... | spec/server.coffee | automata/imgflo-server | 0 | # imgflo-server - Image-processing server
# (c) 2014 The Grid
# imgflo-server may be freely distributed under the MIT license
# TODO: add more tests
# processing new (200 or 301 to image/ ? )
# works - with remote HTTP URL
# w - remote HTTP with .PNG
# w - remote HTTP with .JPG
# w - remote HTTP wi... | 179593 | # imgflo-server - Image-processing server
# (c) 2014 The Grid
# imgflo-server may be freely distributed under the MIT license
# TODO: add more tests
# processing new (200 or 301 to image/ ? )
# works - with remote HTTP URL
# w - remote HTTP with .PNG
# w - remote HTTP with .JPG
# w - remote HTTP wi... | true | # imgflo-server - Image-processing server
# (c) 2014 The Grid
# imgflo-server may be freely distributed under the MIT license
# TODO: add more tests
# processing new (200 or 301 to image/ ? )
# works - with remote HTTP URL
# w - remote HTTP with .PNG
# w - remote HTTP with .JPG
# w - remote HTTP wi... |
[
{
"context": "est.params =\n Config:\n Name: 'foo'\n Type: 'bar'\n defop input:\n ",
"end": 4512,
"score": 0.9552417993545532,
"start": 4509,
"tag": "NAME",
"value": "foo"
}
] | test/protocol/rest_json.spec.coffee | HIVETAXI/hive.taxi.sdk.js | 0 | helpers = require('../helpers'); HiveTaxi = helpers.HiveTaxi
Operation = HiveTaxi.Model.Operation
Buffer = helpers.util.Buffer
svc = HiveTaxi.Protocol.RestJson
describe 'HiveTaxi.Protocol.RestJson', ->
MockJSONRESTService = helpers.util.inherit HiveTaxi.Service,
endpointPrefix: 'mockservice'
operation = null... | 8132 | helpers = require('../helpers'); HiveTaxi = helpers.HiveTaxi
Operation = HiveTaxi.Model.Operation
Buffer = helpers.util.Buffer
svc = HiveTaxi.Protocol.RestJson
describe 'HiveTaxi.Protocol.RestJson', ->
MockJSONRESTService = helpers.util.inherit HiveTaxi.Service,
endpointPrefix: 'mockservice'
operation = null... | true | helpers = require('../helpers'); HiveTaxi = helpers.HiveTaxi
Operation = HiveTaxi.Model.Operation
Buffer = helpers.util.Buffer
svc = HiveTaxi.Protocol.RestJson
describe 'HiveTaxi.Protocol.RestJson', ->
MockJSONRESTService = helpers.util.inherit HiveTaxi.Service,
endpointPrefix: 'mockservice'
operation = null... |
[
{
"context": "splay()\n\n enableLoadVsac: ->\n username = @$('#vsacUser')\n password = @$('#vsacPassword')\n if (user",
"end": 1823,
"score": 0.8002328276634216,
"start": 1815,
"tag": "USERNAME",
"value": "vsacUser"
},
{
"context": " username = @$('#vsacUser')\n passwo... | app/assets/javascripts/views/admin/import_measure_view.js.coffee | siddiqus/popHealth | 41 | class Thorax.Views.ImportMeasure extends Thorax.View
template: JST['import/import_measure']
context: ->
currentRoute = Backbone.history.fragment
_(super).extend
titleSize: 3
dataSize: 9
token: $("meta[name='csrf-token']").attr('content')
dialogTitle: "New Measure"
isUpdate: @... | 65201 | class Thorax.Views.ImportMeasure extends Thorax.View
template: JST['import/import_measure']
context: ->
currentRoute = Backbone.history.fragment
_(super).extend
titleSize: 3
dataSize: 9
token: $("meta[name='csrf-token']").attr('content')
dialogTitle: "New Measure"
isUpdate: @... | true | class Thorax.Views.ImportMeasure extends Thorax.View
template: JST['import/import_measure']
context: ->
currentRoute = Backbone.history.fragment
_(super).extend
titleSize: 3
dataSize: 9
token: $("meta[name='csrf-token']").attr('content')
dialogTitle: "New Measure"
isUpdate: @... |
[
{
"context": "\" : \"enter login here\"\n \"add_bank_password\" : \"Password\"\n \"add_bank_password_placeholder\" : \"enter pas",
"end": 454,
"score": 0.9981144666671753,
"start": 446,
"tag": "PASSWORD",
"value": "Password"
}
] | client/app/locales/en.coffee | einSelbst/cozy-pfm | 0 | module.exports =
#
# Menu - topbar
#
"menu_accounts" : "Accounts"
"menu_balance" : "Balance"
"menu_search" : "Search"
"menu_add_bank": "Add a new bank access"
"overall_balance": "overall balance:"
#
# Add a new bank dialog
#
"add_bank_bank" : "Bank"
"add_bank_credentials" : ... | 86644 | module.exports =
#
# Menu - topbar
#
"menu_accounts" : "Accounts"
"menu_balance" : "Balance"
"menu_search" : "Search"
"menu_add_bank": "Add a new bank access"
"overall_balance": "overall balance:"
#
# Add a new bank dialog
#
"add_bank_bank" : "Bank"
"add_bank_credentials" : ... | true | module.exports =
#
# Menu - topbar
#
"menu_accounts" : "Accounts"
"menu_balance" : "Balance"
"menu_search" : "Search"
"menu_add_bank": "Add a new bank access"
"overall_balance": "overall balance:"
#
# Add a new bank dialog
#
"add_bank_bank" : "Bank"
"add_bank_credentials" : ... |
[
{
"context": "rng} = require 'crypto'\n\nspecs = [\n { password : 8, salt : 8 , num : 4 },\n { password : 16, salt :",
"end": 54,
"score": 0.9954305291175842,
"start": 53,
"tag": "PASSWORD",
"value": "8"
},
{
"context": "ssword : 8, salt : 8 , num : 4 },\n { password : 16, salt ... | test/gen/gen_input.iced | 4eadd52d/warpwalletosk | 157 |
{prng} = require 'crypto'
specs = [
{ password : 8, salt : 8 , num : 4 },
{ password : 16, salt : 16, num : 4 },
{ password : 24, salt : 16, num : 4 }
]
gen_randos = (n) ->
prng(n).toString('base64').replace(///=+$///, '')
out = []
for spec in specs
for i in [0...spec.num]
out.push {
passphras... | 150537 |
{prng} = require 'crypto'
specs = [
{ password : <PASSWORD>, salt : 8 , num : 4 },
{ password : <PASSWORD>, salt : 16, num : 4 },
{ password : <PASSWORD>, salt : 16, num : 4 }
]
gen_randos = (n) ->
prng(n).toString('base64').replace(///=+$///, '')
out = []
for spec in specs
for i in [0...spec.num]
o... | true |
{prng} = require 'crypto'
specs = [
{ password : PI:PASSWORD:<PASSWORD>END_PI, salt : 8 , num : 4 },
{ password : PI:PASSWORD:<PASSWORD>END_PI, salt : 16, num : 4 },
{ password : PI:PASSWORD:<PASSWORD>END_PI, salt : 16, num : 4 }
]
gen_randos = (n) ->
prng(n).toString('base64').replace(///=+$///, '')
out =... |
[
{
"context": "ce' not in res.meta.what\n\n if snak.key is 'CBDB ID' or (snak.key is 'instance of' and snak.qid is 'Q",
"end": 16550,
"score": 0.9715571403503418,
"start": 16543,
"tag": "KEY",
"value": "CBDB ID"
}
] | server/use/wikidata.coffee | leviathanindustries/noddy | 2 |
import crypto from 'crypto'
# can build a local wikidata from dumps
# https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.json.gz
# https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON
# it is about 80gb compressed. Each line is a json object so can uncompress and read line by line then load into an index
... | 112610 |
import crypto from 'crypto'
# can build a local wikidata from dumps
# https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.json.gz
# https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON
# it is about 80gb compressed. Each line is a json object so can uncompress and read line by line then load into an index
... | true |
import crypto from 'crypto'
# can build a local wikidata from dumps
# https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.json.gz
# https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON
# it is about 80gb compressed. Each line is a json object so can uncompress and read line by line then load into an index
... |
[
{
"context": "ACCESS_TOKEN')\n\n mockResponse = user: username: 'Joe', email: 'joe@example.com'\n\n it 'should JSON par",
"end": 2604,
"score": 0.9954009652137756,
"start": 2601,
"tag": "USERNAME",
"value": "Joe"
},
{
"context": "\n\n mockResponse = user: username: 'Joe', email: '... | test/tests.coffee | danjenkins/node-freeagent2 | 0 | should = require('should')
_ = require('underscore')
nock = require('nock')
FreeAgent = require('../lib')
Authentication = FreeAgent.AuthenticationStrategy
Api = FreeAgent.Api
describe 'when constructing an authenticated get request to the production API', ->
freeagentApi = new Api 'ACCESS_TOKEN'
request = freeage... | 8011 | should = require('should')
_ = require('underscore')
nock = require('nock')
FreeAgent = require('../lib')
Authentication = FreeAgent.AuthenticationStrategy
Api = FreeAgent.Api
describe 'when constructing an authenticated get request to the production API', ->
freeagentApi = new Api 'ACCESS_TOKEN'
request = freeage... | true | should = require('should')
_ = require('underscore')
nock = require('nock')
FreeAgent = require('../lib')
Authentication = FreeAgent.AuthenticationStrategy
Api = FreeAgent.Api
describe 'when constructing an authenticated get request to the production API', ->
freeagentApi = new Api 'ACCESS_TOKEN'
request = freeage... |
[
{
"context": "Inserting user admin'.red\n\t\t# \tconsole.log 'email: admin@admin.com | password: admin'.red\n\n\t\t# \tid = Meteor.users.in",
"end": 321,
"score": 0.9999201893806458,
"start": 306,
"tag": "EMAIL",
"value": "admin@admin.com"
},
{
"context": "# \tconsole.log 'email: adm... | server/startup/initialData.coffee | jaypanares/Partitioned-Rocket.Chat | 0 | Meteor.startup ->
Meteor.defer ->
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
usernames: []
ts: new Date()
t: 'c'
name: 'general'
msgs: 0
# if not Meteor.users.findOne()?
# console.log 'Inserting user admin'.red
# console.log 'email: admin@admin.co... | 78210 | Meteor.startup ->
Meteor.defer ->
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
usernames: []
ts: new Date()
t: 'c'
name: 'general'
msgs: 0
# if not Meteor.users.findOne()?
# console.log 'Inserting user admin'.red
# console.log 'email: <EMAIL> | pass... | true | Meteor.startup ->
Meteor.defer ->
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
usernames: []
ts: new Date()
t: 'c'
name: 'general'
msgs: 0
# if not Meteor.users.findOne()?
# console.log 'Inserting user admin'.red
# console.log 'email: PI:EMAIL:<EMAI... |
[
{
"context": "onstructor : ->\n\n\t\t@host = 'localhost'\n\t\t@user = 'ccol'\n\t\t@pass = 'ccol'\n\t\t@databaseName = 'choregraphie",
"end": 373,
"score": 0.9836392402648926,
"start": 369,
"tag": "USERNAME",
"value": "ccol"
},
{
"context": "\t\t@host = 'localhost'\n\t\t@user = 'ccol'... | modules/postgresConnector/config.coffee | ggeoffrey/Choregraphie | 1 | # @nodoc
class Connector
#
# Database configuration for the current Connector module
#
#
class Connector.Config
# @property host [String] Server hostname
#
# @property user [String] Database login user
#
# @property pass [String] Database login password
#
# @property databaseName [String] Database name
co... | 109154 | # @nodoc
class Connector
#
# Database configuration for the current Connector module
#
#
class Connector.Config
# @property host [String] Server hostname
#
# @property user [String] Database login user
#
# @property pass [String] Database login password
#
# @property databaseName [String] Database name
co... | true | # @nodoc
class Connector
#
# Database configuration for the current Connector module
#
#
class Connector.Config
# @property host [String] Server hostname
#
# @property user [String] Database login user
#
# @property pass [String] Database login password
#
# @property databaseName [String] Database name
co... |
[
{
"context": "')\n owner = store.createRecord \"owner\", name: \"Fredreich Elmsworth IV\", id: 1998\n relation.associate owner\n seria",
"end": 634,
"score": 0.9998604655265808,
"start": 612,
"tag": "NAME",
"value": "Fredreich Elmsworth IV"
},
{
"context": "e\", \"applesauce... | tests/unit/serializers/relationship-test.coffee | foxnewsnetwork/autox | 0 | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
moduleForModel 'shop', 'Unit | Serializer | relationship',
# Specify the other units that are required for this test.
needs: ['serializer:relationship',
'model:relationship',
'model:owner',
'model:salsa',
'model:tac... | 170158 | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
moduleForModel 'shop', 'Unit | Serializer | relationship',
# Specify the other units that are required for this test.
needs: ['serializer:relationship',
'model:relationship',
'model:owner',
'model:salsa',
'model:tac... | true | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
moduleForModel 'shop', 'Unit | Serializer | relationship',
# Specify the other units that are required for this test.
needs: ['serializer:relationship',
'model:relationship',
'model:owner',
'model:salsa',
'model:tac... |
[
{
"context": "out the need of a backbone.\n# [https://github.com/heavysixer/spineless](https://github.com/heavysixer/spineles",
"end": 106,
"score": 0.9997042417526245,
"start": 96,
"tag": "USERNAME",
"value": "heavysixer"
},
{
"context": "thub.com/heavysixer/spineless](https://githu... | coffee/spineless.coffee | heavysixer/spineless | 1 | #
# Version 0.3.2
#
# A simple MVC stack without the need of a backbone.
# [https://github.com/heavysixer/spineless](https://github.com/heavysixer/spineless)
#
# The goal of Spineless is to provide "just enough framework" to succeed. If we have done
# our job you should be able to write your first Spineless app in l... | 63669 | #
# Version 0.3.2
#
# A simple MVC stack without the need of a backbone.
# [https://github.com/heavysixer/spineless](https://github.com/heavysixer/spineless)
#
# The goal of Spineless is to provide "just enough framework" to succeed. If we have done
# our job you should be able to write your first Spineless app in l... | true | #
# Version 0.3.2
#
# A simple MVC stack without the need of a backbone.
# [https://github.com/heavysixer/spineless](https://github.com/heavysixer/spineless)
#
# The goal of Spineless is to provide "just enough framework" to succeed. If we have done
# our job you should be able to write your first Spineless app in l... |
[
{
"context": "e}\n )\n\n # target = [\n # {no: 1, name: 'User1', age: 18, canDrink: false}\n # {no: 2, name:",
"end": 459,
"score": 0.9730842709541321,
"start": 454,
"tag": "NAME",
"value": "User1"
},
{
"context": " age: 18, canDrink: false}\n # {no: 2, name: 'Us... | demo/karma-jasmine-parameterized-test/spec/userSpec.coffee | tanakaworld/google-spreadsheets-parser | 4 | describe "User", ->
describe "#canDrink", ->
assertCanDrink = (name, age, canDrink) ->
it "Age:#{age}, CanDrink:#{canDrink}", ->
user = new User(name, age)
expect(user.canDrink()).toBe(canDrink)
gss = new GoogleSpreadsheetsParser(
'https://docs.google.com/spreadsheets/d/1LjDMRm8j_... | 54067 | describe "User", ->
describe "#canDrink", ->
assertCanDrink = (name, age, canDrink) ->
it "Age:#{age}, CanDrink:#{canDrink}", ->
user = new User(name, age)
expect(user.canDrink()).toBe(canDrink)
gss = new GoogleSpreadsheetsParser(
'https://docs.google.com/spreadsheets/d/1LjDMRm8j_... | true | describe "User", ->
describe "#canDrink", ->
assertCanDrink = (name, age, canDrink) ->
it "Age:#{age}, CanDrink:#{canDrink}", ->
user = new User(name, age)
expect(user.canDrink()).toBe(canDrink)
gss = new GoogleSpreadsheetsParser(
'https://docs.google.com/spreadsheets/d/1LjDMRm8j_... |
[
{
"context": "$c = Greet.create()\n equal $c.$name().html(), \"Ann\"\n equal $c.referencedElement( \"name\" )[0], $c.",
"end": 1499,
"score": 0.9182665944099426,
"start": 1496,
"tag": "NAME",
"value": "Ann"
},
{
"context": " )[0], $c.find( \".name\" )[0]\n $c.$name().html \"... | test/utilities.coffee | fengshow12345/quickui | 1 | ###
Utilities unit tests
###
$ ->
test "Utilities: cast: control() on plain jQuery reference returns null", ->
$element = $( "<div/>" )
equal $element.control(), null
test "Utilities: cast: two control classes derive from same superclass", ->
A = Control.sub className: "A"
B = A.sub className... | 28481 | ###
Utilities unit tests
###
$ ->
test "Utilities: cast: control() on plain jQuery reference returns null", ->
$element = $( "<div/>" )
equal $element.control(), null
test "Utilities: cast: two control classes derive from same superclass", ->
A = Control.sub className: "A"
B = A.sub className... | true | ###
Utilities unit tests
###
$ ->
test "Utilities: cast: control() on plain jQuery reference returns null", ->
$element = $( "<div/>" )
equal $element.control(), null
test "Utilities: cast: two control classes derive from same superclass", ->
A = Control.sub className: "A"
B = A.sub className... |
[
{
"context": "{\n tags: \"nightly,staging\",\n name: \"my tests\",\n unused: \"some other value\"\n }\n ",
"end": 3964,
"score": 0.7554962635040283,
"start": 3956,
"tag": "NAME",
"value": "my tests"
}
] | packages/server/test/unit/errors_spec.coffee | rwwiv/cypress | 1 | require("../spec_helper")
style = require("ansi-styles")
chalk = require("chalk")
errors = require("#{root}lib/errors")
logger = require("#{root}lib/logger")
snapshot = require("snap-shot-it")
describe "lib/errors", ->
beforeEach ->
sinon.spy(console, "log")
context ".log", ->
it "uses red by default", ... | 64838 | require("../spec_helper")
style = require("ansi-styles")
chalk = require("chalk")
errors = require("#{root}lib/errors")
logger = require("#{root}lib/logger")
snapshot = require("snap-shot-it")
describe "lib/errors", ->
beforeEach ->
sinon.spy(console, "log")
context ".log", ->
it "uses red by default", ... | true | require("../spec_helper")
style = require("ansi-styles")
chalk = require("chalk")
errors = require("#{root}lib/errors")
logger = require("#{root}lib/logger")
snapshot = require("snap-shot-it")
describe "lib/errors", ->
beforeEach ->
sinon.spy(console, "log")
context ".log", ->
it "uses red by default", ... |
[
{
"context": "ures().fixturesPath = 'test/fixtures'\n\ndataKey = 'cropit'\nimageUrl = 'http://example.com/image.jpg'\nimageD",
"end": 71,
"score": 0.9988650679588318,
"start": 65,
"tag": "KEY",
"value": "cropit"
}
] | frontend/web/assets/cropit/test/cropit_view.spec.coffee | udamuri/app_muribudiman | 1 | jasmine.getFixtures().fixturesPath = 'test/fixtures'
dataKey = 'cropit'
imageUrl = 'http://example.com/image.jpg'
imageData = 'data:image/png;base64,image-data...'
describe 'Cropit View', ->
$el = null
cropit = null
describe 'basic', ->
beforeEach ->
loadFixtures 'basic.html'
$el = $ '.image-... | 160875 | jasmine.getFixtures().fixturesPath = 'test/fixtures'
dataKey = '<KEY>'
imageUrl = 'http://example.com/image.jpg'
imageData = 'data:image/png;base64,image-data...'
describe 'Cropit View', ->
$el = null
cropit = null
describe 'basic', ->
beforeEach ->
loadFixtures 'basic.html'
$el = $ '.image-e... | true | jasmine.getFixtures().fixturesPath = 'test/fixtures'
dataKey = 'PI:KEY:<KEY>END_PI'
imageUrl = 'http://example.com/image.jpg'
imageData = 'data:image/png;base64,image-data...'
describe 'Cropit View', ->
$el = null
cropit = null
describe 'basic', ->
beforeEach ->
loadFixtures 'basic.html'
$el ... |
[
{
"context": "\n if !area?\n area = new Types.Area\n name: name\n music: \"brinstar\"\n rowColBounds: {}\n ",
"end": 1628,
"score": 0.9377809166908264,
"start": 1624,
"tag": "NAME",
"value": "name"
}
] | src/javascript/game/map/world_map.coffee | dcrosby42/metroid-clone | 5 | TileSearch = require('./tile_search')
MathUtils = require('../../utils/math_utils')
FnUtils = require('../../utils/fn_utils')
Config = require './config'
Utils = require './utils'
emptyGrid = Utils.emptyGrid
RoomDefs = require './room_defs'
Types = require './types'
instanceRoom = (roomDef,area,r,c) ->
if roomDef?... | 152169 | TileSearch = require('./tile_search')
MathUtils = require('../../utils/math_utils')
FnUtils = require('../../utils/fn_utils')
Config = require './config'
Utils = require './utils'
emptyGrid = Utils.emptyGrid
RoomDefs = require './room_defs'
Types = require './types'
instanceRoom = (roomDef,area,r,c) ->
if roomDef?... | true | TileSearch = require('./tile_search')
MathUtils = require('../../utils/math_utils')
FnUtils = require('../../utils/fn_utils')
Config = require './config'
Utils = require './utils'
emptyGrid = Utils.emptyGrid
RoomDefs = require './room_defs'
Types = require './types'
instanceRoom = (roomDef,area,r,c) ->
if roomDef?... |
[
{
"context": "ations\n# under the License.\n#\n\n#\n# Author: Saken Kenzhegulov,\n# URL: https://github.com/skenzhegulov\n#\n\n# ",
"end": 718,
"score": 0.9998745322227478,
"start": 701,
"tag": "NAME",
"value": "Saken Kenzhegulov"
},
{
"context": " Saken Kenzhegulov,\n# ... | app/assets/javascripts/clusters.coffee | icclab/disco-dashboard | 0 | #
# Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften
# 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.o... | 117995 | #
# Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften
# 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.o... | true | #
# Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften
# 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.o... |
[
{
"context": "---------------------------------------\n# Authors: Maksym Melnyk <maxim@slatestudio.com>,\n# Alexander Kra",
"end": 104,
"score": 0.9998669028282166,
"start": 91,
"tag": "NAME",
"value": "Maksym Melnyk"
},
{
"context": "-----------------------\n# Authors: Maks... | app/assets/javascripts/inputs/chart_line.coffee | slate-studio/insights | 0 | # -----------------------------------------------------------------------------
# Authors: Maksym Melnyk <maxim@slatestudio.com>,
# Alexander Kravets <alex@slatestudio.com>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# IN... | 12999 | # -----------------------------------------------------------------------------
# Authors: <NAME> <<EMAIL>>,
# <NAME> <<EMAIL>>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INPUT CHART
# ---------------------------------... | true | # -----------------------------------------------------------------------------
# Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# Slate Studio (http://www.slatestudio.com)
# ---------------------------------------------------------------------... |
[
{
"context": "arch-results'\n .tapir\n 'token': '543475ab3493cda4d1000001'\n 'query_param': 'q'\n 'summary_limit",
"end": 486,
"score": 0.869106113910675,
"start": 462,
"tag": "KEY",
"value": "543475ab3493cda4d1000001"
}
] | .metalsmith/client/search.coffee | leeola/kdlearn | 0 | #
# # Search
#
# Search related coffee.
#
setupSearch = ->
pathname = jQuery location # Get the browser location
.attr 'pathname' # Extract the pathname from that
.replace /\//g, '' # Remove path ambiguity, /search/ vs /search
# If we're not on the search page, we don't run.
if pathname isnt 'search' ... | 118898 | #
# # Search
#
# Search related coffee.
#
setupSearch = ->
pathname = jQuery location # Get the browser location
.attr 'pathname' # Extract the pathname from that
.replace /\//g, '' # Remove path ambiguity, /search/ vs /search
# If we're not on the search page, we don't run.
if pathname isnt 'search' ... | true | #
# # Search
#
# Search related coffee.
#
setupSearch = ->
pathname = jQuery location # Get the browser location
.attr 'pathname' # Extract the pathname from that
.replace /\//g, '' # Remove path ambiguity, /search/ vs /search
# If we're not on the search page, we don't run.
if pathname isnt 'search' ... |
[
{
"context": "body: JSON.stringify({ email: \"akhil\", password: \"godknows\" })\n\t\t\t\t},\n\t\t\t\t(jqXHR) -> storeToken(jqXHR.respon",
"end": 2708,
"score": 0.9991520047187805,
"start": 2700,
"tag": "PASSWORD",
"value": "godknows"
}
] | app/assets/javascripts/app.coffee | digikrit/krishakanam-appserver | 0 | define ['jquery', 'bootstrap', 'requests'], ($, bootstrap, requests) ->
makeRequest = () ->
withApiUrl (apiUrl) ->
request = $('#request').val().replace(/^\//, '')
if isEmpty(request)
alert 'The Request is required'
else
$('.response-empty, .response').addClass('hidden')
$('.response-loadin... | 101495 | define ['jquery', 'bootstrap', 'requests'], ($, bootstrap, requests) ->
makeRequest = () ->
withApiUrl (apiUrl) ->
request = $('#request').val().replace(/^\//, '')
if isEmpty(request)
alert 'The Request is required'
else
$('.response-empty, .response').addClass('hidden')
$('.response-loadin... | true | define ['jquery', 'bootstrap', 'requests'], ($, bootstrap, requests) ->
makeRequest = () ->
withApiUrl (apiUrl) ->
request = $('#request').val().replace(/^\//, '')
if isEmpty(request)
alert 'The Request is required'
else
$('.response-empty, .response').addClass('hidden')
$('.response-loadin... |
[
{
"context": " \"identifier\": { \"value\": \"1\" },\n \"name\": \"Bob Jones\",\n \"gender\": \"M\",\n \"birthDate\" : \"1974-",
"end": 3209,
"score": 0.999811589717865,
"start": 3200,
"tag": "NAME",
"value": "Bob Jones"
},
{
"context": ".should.equal '1'\n @patie... | test/cql-patient-test.coffee | luis1van/cql-execution-1 | 0 | should = require 'should'
{ Patient } = require '../lib/cql-patient'
DT = require '../lib/datatypes/datatypes'
describe 'Record', ->
@beforeEach ->
patient = new Patient {
"records": [{
"identifier": { "value": "http://cqframework.org/1/1", "system": "http://cqframework.org" },
"profile": "... | 180024 | should = require 'should'
{ Patient } = require '../lib/cql-patient'
DT = require '../lib/datatypes/datatypes'
describe 'Record', ->
@beforeEach ->
patient = new Patient {
"records": [{
"identifier": { "value": "http://cqframework.org/1/1", "system": "http://cqframework.org" },
"profile": "... | true | should = require 'should'
{ Patient } = require '../lib/cql-patient'
DT = require '../lib/datatypes/datatypes'
describe 'Record', ->
@beforeEach ->
patient = new Patient {
"records": [{
"identifier": { "value": "http://cqframework.org/1/1", "system": "http://cqframework.org" },
"profile": "... |
[
{
"context": "pt date arithmetic extension.\n# Copyright (c) 2015 Melvin Sembrano (melvinsembrano@gmail.com)\n# License: MIT\n###\n\nDa",
"end": 108,
"score": 0.9998836517333984,
"start": 93,
"tag": "NAME",
"value": "Melvin Sembrano"
},
{
"context": " extension.\n# Copyright (c) 2015... | node_modules/date-diff/src/date-diff.coffee | ismartkorea/nFrameWork | 2 | ###
# DateDiff
# is a minimalized Javascript date arithmetic extension.
# Copyright (c) 2015 Melvin Sembrano (melvinsembrano@gmail.com)
# License: MIT
###
DateDiff = (date1, date2) ->
@date1 = date1
@date2 = date2
@difference = Math.floor(date1 - date2)
return
divisors =
days: 1000*60*60*24
hours: 1000*60... | 55717 | ###
# DateDiff
# is a minimalized Javascript date arithmetic extension.
# Copyright (c) 2015 <NAME> (<EMAIL>)
# License: MIT
###
DateDiff = (date1, date2) ->
@date1 = date1
@date2 = date2
@difference = Math.floor(date1 - date2)
return
divisors =
days: 1000*60*60*24
hours: 1000*60*60
minutes: 1000*60
s... | true | ###
# DateDiff
# is a minimalized Javascript date arithmetic extension.
# Copyright (c) 2015 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# License: MIT
###
DateDiff = (date1, date2) ->
@date1 = date1
@date2 = date2
@difference = Math.floor(date1 - date2)
return
divisors =
days: 1000*60*60*24
hours: 1000... |
[
{
"context": "mail.indexOf('joe@') is -1 and rec.email.indexOf('natalianorori') is -1 and rec.email.indexOf('n/a') is -1)\n ",
"end": 1988,
"score": 0.8216010928153992,
"start": 1975,
"tag": "USERNAME",
"value": "natalianorori"
},
{
"context": "tringify updates\n API.mail.se... | noddy/service/oabutton/scripts/blog_issue_reload.coffee | jibe-b/website | 0 |
import fs from 'fs'
import moment from 'moment'
import { Random } from 'meteor/random'
import Future from 'fibers/future'
###API.add 'service/oab/scripts/blog_issue_rebuild',
get:
roleRequired: 'root'
action: () ->
urls = []
updates = []
recs = JSON.parse(fs.readFileSync('/home/cloo/backu... | 19651 |
import fs from 'fs'
import moment from 'moment'
import { Random } from 'meteor/random'
import Future from 'fibers/future'
###API.add 'service/oab/scripts/blog_issue_rebuild',
get:
roleRequired: 'root'
action: () ->
urls = []
updates = []
recs = JSON.parse(fs.readFileSync('/home/cloo/backu... | true |
import fs from 'fs'
import moment from 'moment'
import { Random } from 'meteor/random'
import Future from 'fibers/future'
###API.add 'service/oab/scripts/blog_issue_rebuild',
get:
roleRequired: 'root'
action: () ->
urls = []
updates = []
recs = JSON.parse(fs.readFileSync('/home/cloo/backu... |
[
{
"context": " true, # Optional, default : false\n key: 'touch/key.pem',\n certificate: 'touch/cert.pem'\n\nmodul",
"end": 496,
"score": 0.6272074580192566,
"start": 496,
"tag": "KEY",
"value": ""
},
{
"context": ", # Optional, default : false\n key: 'touch/key.pem',\n ce... | app/config/security.coffee | konsserto/konsserto | 2 | security =
xssProtection: true, # Optional, default : true
headers_allowed: [ # Optional, no default value
{
name: 'Access-Control-Allow-Origin',
value: '*'
},
{
name: 'Access-Control-Allow-Methods',
value: 'PUT, GET, POST, DELETE, OPTIONS, HEAD, PATCH'
},
{
name: '... | 118354 | security =
xssProtection: true, # Optional, default : true
headers_allowed: [ # Optional, no default value
{
name: 'Access-Control-Allow-Origin',
value: '*'
},
{
name: 'Access-Control-Allow-Methods',
value: 'PUT, GET, POST, DELETE, OPTIONS, HEAD, PATCH'
},
{
name: '... | true | security =
xssProtection: true, # Optional, default : true
headers_allowed: [ # Optional, no default value
{
name: 'Access-Control-Allow-Origin',
value: '*'
},
{
name: 'Access-Control-Allow-Methods',
value: 'PUT, GET, POST, DELETE, OPTIONS, HEAD, PATCH'
},
{
name: '... |
[
{
"context": "text onto HTML canvas elements\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 106,
"score": 0.9998887777328491,
"start": 95,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": " canvas elements\n\nWritten in 2013 by Kar... | src/content/coffee/handywriteOnCanvas/grapheme.coffee | karlorg/phonetify | 1 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed wit... | 16271 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warra... | true | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is ... |
[
{
"context": "lse,\n is_preview: true,\n name: 'Phillips Prints'\n live_start_at: \"2017-08-10T16:00:00+00",
"end": 633,
"score": 0.9993879795074463,
"start": 618,
"tag": "NAME",
"value": "Phillips Prints"
}
] | src/desktop/apps/artwork/components/auction_artworks/test/index.coffee | streamich/force | 0 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
jade = require 'jade'
moment = require 'moment'
helpers = require '../helpers'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filen... | 4572 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
jade = require 'jade'
moment = require 'moment'
helpers = require '../helpers'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filen... | true | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
jade = require 'jade'
moment = require 'moment'
helpers = require '../helpers'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filen... |
[
{
"context": "ystem http://glawn.org\n#\n# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights\n# reserved. This program and the accom",
"end": 109,
"score": 0.9998930096626282,
"start": 88,
"tag": "NAME",
"value": "Eamonn O'Brien-Strain"
},
{
"context": "ipse.org/legal/epl-v10.... | coffee/rotimg.coffee | eobrain/glan | 0 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www... | 142310 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 <NAME> All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/le... | true | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 PI:NAME:<NAME>END_PI All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.874530553817749,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": "\n\t\t\t\t\t\t\t\tcb new LockInUseError {userName: session.userName}\n\t\t\t\t\t\t\t\treturn... | src/persist/lock.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module's API is documented on the wiki.
Async = require 'async'
Fs = require 'fs'
Imm = require 'immutable'
Mo... | 40076 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module's API is documented on the wiki.
Async = require 'async'
Fs = require 'fs'
Imm = require 'immutable'
Mo... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module's API is documented on the wiki.
Async = require 'async'
Fs = require 'fs'
Imm = require ... |
[
{
"context": "runt.template.today(\"yyyy\") %>\\n' +\n ' * Jason Chen, Salesforce.com\\n' +\n ' * Byron Milliga",
"end": 2037,
"score": 0.9997808337211609,
"start": 2027,
"tag": "NAME",
"value": "Jason Chen"
},
{
"context": " * Jason Chen, Salesforce.com\\n' +\n ... | Gruntfile.coffee | thomsbg/tandem | 0 | pkgJson = require('./package.json')
module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-browserify')
grunt.loadNpmTasks('grunt-contrib-clean')
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.initConfig(
meta:
... | 111681 | pkgJson = require('./package.json')
module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-browserify')
grunt.loadNpmTasks('grunt-contrib-clean')
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.initConfig(
meta:
... | true | pkgJson = require('./package.json')
module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-browserify')
grunt.loadNpmTasks('grunt-contrib-clean')
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.initConfig(
meta:
... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\nclass Table extends Element\n\n #\n # Basic cons",
"end": 64,
"score": 0.9998824000358582,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/table/src/table.coffee | lovely-io/lovely.io-stl | 2 | #
# Project's main unit
#
# Copyright (C) 2013 Nikolay Nemshilov
#
class Table extends Element
#
# Basic constructor
#
constructor: (options)->
if options and options.nodeType is 1
element = options
options = {}
else
element = 'table'
super element, options
Table.include = Ele... | 7301 | #
# Project's main unit
#
# Copyright (C) 2013 <NAME>
#
class Table extends Element
#
# Basic constructor
#
constructor: (options)->
if options and options.nodeType is 1
element = options
options = {}
else
element = 'table'
super element, options
Table.include = Element.includ... | true | #
# Project's main unit
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
class Table extends Element
#
# Basic constructor
#
constructor: (options)->
if options and options.nodeType is 1
element = options
options = {}
else
element = 'table'
super element, options
Table.include = ... |
[
{
"context": "i/authz\n@requires joukou-api/persona/Model\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n_ =",
"end": 798,
"score": 0.9998904466629028,
"start": 784,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": " joukou-api/persona/Model\n@author... | src/persona/routes.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 204444 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": " headers: {\"Authorization\": \"Token token=\\\"#{gon.rm_id_api_token}\\\"\"}\n success: (data) ->\n ",
"end": 2253,
"score": 0.6902077794075012,
"start": 2251,
"tag": "KEY",
"value": "rm"
},
{
"context": "eaders: {\"Authorization\": \"Token token=\\\"#{gon.r... | app/assets/javascripts/protocol_form.js.coffee | bmic-development/sparc-request | 0 | # Copyright © 2011-2016 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list... | 181325 | # Copyright © 2011-2016 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list... | true | # Copyright © 2011-2016 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\n\nInventoryEdit = requi",
"end": 19,
"score": 0.999879777431488,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/inventory/CreateInventory.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_inventory: false, name: "", type: "", acquire_location: "", acquire_date: Moment(), \
cost: ... | 146910 | # Author: <NAME>
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_inventory: false, name: "", type: "", acquire_location: "", acquire_date: Moment(), \
cost: "0.... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_inventory: false, name: "", type: "", acquire_location: "", acquire_date: Moment(), \
... |
[
{
"context": "nstagram extends EventEmitter\n\n _ACCESS_TOKEN = '3060080.899ffd6.6bb01cbe1a284a8097983a1a443a3ec1'\n\n constructor: (@search, @button, @opts) ->\n ",
"end": 269,
"score": 0.8800287842750549,
"start": 221,
"tag": "PASSWORD",
"value": "3060080.899ffd6.6bb01cbe1a284a8097983a... | src/coffee/instagram.coffee | sugarshin/kaleidoscope | 1 | "use strict"
{ EventEmitter } = require 'events'
{ Promise } = require 'es6-promise'
jsonp = require 'jsonp'
{ addListener } = require './util'
module.exports =
class Instagram extends EventEmitter
_ACCESS_TOKEN = '3060080.899ffd6.6bb01cbe1a284a8097983a1a443a3ec1'
constructor: (@search, @button, @opts) ->
... | 58790 | "use strict"
{ EventEmitter } = require 'events'
{ Promise } = require 'es6-promise'
jsonp = require 'jsonp'
{ addListener } = require './util'
module.exports =
class Instagram extends EventEmitter
_ACCESS_TOKEN = '<PASSWORD>'
constructor: (@search, @button, @opts) ->
super()
@events()
_getRandomInt... | true | "use strict"
{ EventEmitter } = require 'events'
{ Promise } = require 'es6-promise'
jsonp = require 'jsonp'
{ addListener } = require './util'
module.exports =
class Instagram extends EventEmitter
_ACCESS_TOKEN = 'PI:PASSWORD:<PASSWORD>END_PI'
constructor: (@search, @button, @opts) ->
super()
@events(... |
[
{
"context": "null\n\n beforeEach ->\n models = [ { name: 'foo', age: 32 }, { name: 'bar', age: 99 } ]\n col",
"end": 914,
"score": 0.9104443788528442,
"start": 911,
"tag": "NAME",
"value": "foo"
},
{
"context": " models = [ { name: 'foo', age: 32 }, { name: 'bar', ag... | specs/coffee/collection_spec.js.coffee | coroutine/crom | 0 | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
# --------------------------------------------------------------------... | 25354 | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
# --------------------------------------------------------------------... | true | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
# --------------------------------------------------------------------... |
[
{
"context": "'name': 'George Highlighting'\n'scopeName': 'source.grg'\n'fileType",
"end": 15,
"score": 0.5604069828987122,
"start": 9,
"tag": "NAME",
"value": "George"
}
] | grammars/grg.cson | ethan-hardy/george-atom | 2 | 'name': 'George Highlighting'
'scopeName': 'source.grg'
'fileTypes': ['grg']
'patterns': [
{
'match': '#check (PROP|ND|PC|Z|TP|ST|PRED|NONE)\\s'
'name': 'markup.heading.grg'
'comment': '#check PROP, etc'
}
{
'begin': '#q|#u|#a'
'end': '\\n'
'name': 'variable.language.source.grg'
'comme... | 155656 | 'name': '<NAME> Highlighting'
'scopeName': 'source.grg'
'fileTypes': ['grg']
'patterns': [
{
'match': '#check (PROP|ND|PC|Z|TP|ST|PRED|NONE)\\s'
'name': 'markup.heading.grg'
'comment': '#check PROP, etc'
}
{
'begin': '#q|#u|#a'
'end': '\\n'
'name': 'variable.language.source.grg'
'comme... | true | 'name': 'PI:NAME:<NAME>END_PI Highlighting'
'scopeName': 'source.grg'
'fileTypes': ['grg']
'patterns': [
{
'match': '#check (PROP|ND|PC|Z|TP|ST|PRED|NONE)\\s'
'name': 'markup.heading.grg'
'comment': '#check PROP, etc'
}
{
'begin': '#q|#u|#a'
'end': '\\n'
'name': 'variable.language.source.g... |
[
{
"context": "define ()->\n #\n # requirejs version of Paul Irish's RequestAnimationFrame\n # http://paulirish.c",
"end": 48,
"score": 0.6744221448898315,
"start": 41,
"tag": "NAME",
"value": "Paul Ir"
}
] | src/app/core/utils/anim.coffee | kaosat-dev/CoffeeSCad | 110 | define ()->
#
# requirejs version of Paul Irish's RequestAnimationFrame
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
#
return window.webkitRequestAnimationFrame or
window.mozRequestAnimationFrame or
window.oRequestAnimationFrame or
window.msRequestAnimationFrame or
... | 114925 | define ()->
#
# requirejs version of <NAME>ish's RequestAnimationFrame
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
#
return window.webkitRequestAnimationFrame or
window.mozRequestAnimationFrame or
window.oRequestAnimationFrame or
window.msRequestAnimationFrame or
... | true | define ()->
#
# requirejs version of PI:NAME:<NAME>END_PIish's RequestAnimationFrame
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
#
return window.webkitRequestAnimationFrame or
window.mozRequestAnimationFrame or
window.oRequestAnimationFrame or
window.msRequestAnima... |
[
{
"context": " data: {\n user_name: '',\n password: ''\n }\n methods: {\n submit: ->\n ",
"end": 83,
"score": 0.8007639050483704,
"start": 83,
"tag": "PASSWORD",
"value": ""
}
] | static/coffee/admin/login.coffee | tonghuashuai/51xuehuahua | 0 | new Vue(
el: '#login-form'
data: {
user_name: '',
password: ''
}
methods: {
submit: ->
if this.user_name and this.password
$._ajax(
url: '/j/login'
method: 'POST'
data: this.$data
... | 55084 | new Vue(
el: '#login-form'
data: {
user_name: '',
password:<PASSWORD> ''
}
methods: {
submit: ->
if this.user_name and this.password
$._ajax(
url: '/j/login'
method: 'POST'
data: this.$data
... | true | new Vue(
el: '#login-form'
data: {
user_name: '',
password:PI:PASSWORD:<PASSWORD>END_PI ''
}
methods: {
submit: ->
if this.user_name and this.password
$._ajax(
url: '/j/login'
method: 'POST'
d... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config} = require '../test'\nthey",
"end": 28,
"score": 0.6845483779907227,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "t:\n 'Interface':\n 'Address': '10.10.11.1/24'\n ... | packages/file/test/types/wireguard_conf.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config} = require '../test'
they = require('mocha-they')(config)
return unless tags.posix
describe 'file.types.wireguard_conf', ->
they 'simple values', ({ssh}) ->
nikita
$ssh: ssh
$tmpdir: true
, ({metadata: {tmpdir}}) ->
{$status} = await @f... | 86453 |
nikita = require '@nikitajs/core/lib'
{tags, config} = require '../test'
they = require('mocha-they')(config)
return unless tags.posix
describe 'file.types.wireguard_conf', ->
they 'simple values', ({ssh}) ->
nikita
$ssh: ssh
$tmpdir: true
, ({metadata: {tmpdir}}) ->
{$status} = await @f... | true |
nikita = require '@nikitajs/core/lib'
{tags, config} = require '../test'
they = require('mocha-they')(config)
return unless tags.posix
describe 'file.types.wireguard_conf', ->
they 'simple values', ({ssh}) ->
nikita
$ssh: ssh
$tmpdir: true
, ({metadata: {tmpdir}}) ->
{$status} = await @f... |
[
{
"context": "whether or not this field is required. \r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass RpcR",
"end": 243,
"score": 0.9998425245285034,
"start": 231,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/serialization/RpcRequest.coffee | qrefdev/qref | 0 | ###
Base class for all Remote Procedure Call (RPC) requests. The token field is optional by default.
The token field is required by certain methods and each method will dictate whether or not this field is required.
@author Nathan Klick
@copyright QRef 2012
@abstract
###
class RpcRequest
###
@property [S... | 104107 | ###
Base class for all Remote Procedure Call (RPC) requests. The token field is optional by default.
The token field is required by certain methods and each method will dictate whether or not this field is required.
@author <NAME>
@copyright QRef 2012
@abstract
###
class RpcRequest
###
@property [String]... | true | ###
Base class for all Remote Procedure Call (RPC) requests. The token field is optional by default.
The token field is required by certain methods and each method will dictate whether or not this field is required.
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
@abstract
###
class RpcRequest
###
@pro... |
[
{
"context": "game, @game_state, frame, x=0, y=0) ->\n key = 'atlas'\n frame = String frame\n super @game, x, y, ",
"end": 168,
"score": 0.9589440822601318,
"start": 163,
"tag": "KEY",
"value": "atlas"
}
] | src/coffeescripts/game/sprites/Text.coffee | rongierlach/gunfight-game | 0 | # DRAW, GAME, GET_READY, GOT_ME, GUN_FIGHT, INSERT_COIN, OVER
class Text extends Phaser.Sprite
constructor: (@game, @game_state, frame, x=0, y=0) ->
key = 'atlas'
frame = String frame
super @game, x, y, key, "text/#{frame.replace(' ','_').toUpperCase()}"
# clean up
@game.add.existing @
@hide... | 183078 | # DRAW, GAME, GET_READY, GOT_ME, GUN_FIGHT, INSERT_COIN, OVER
class Text extends Phaser.Sprite
constructor: (@game, @game_state, frame, x=0, y=0) ->
key = '<KEY>'
frame = String frame
super @game, x, y, key, "text/#{frame.replace(' ','_').toUpperCase()}"
# clean up
@game.add.existing @
@hide... | true | # DRAW, GAME, GET_READY, GOT_ME, GUN_FIGHT, INSERT_COIN, OVER
class Text extends Phaser.Sprite
constructor: (@game, @game_state, frame, x=0, y=0) ->
key = 'PI:KEY:<KEY>END_PI'
frame = String frame
super @game, x, y, key, "text/#{frame.replace(' ','_').toUpperCase()}"
# clean up
@game.add.existin... |
[
{
"context": "rverPort}\"\n auth:\n username: 'receiver-uuid'\n password: 'receiver-token'\n ",
"end": 1629,
"score": 0.9985623359680176,
"start": 1616,
"tag": "USERNAME",
"value": "receiver-uuid"
},
{
"context": " username: 'receiver-uuid'\n ... | test/integration/meshblu-rpc-controller-spec.coffee | octoblu/meshblu-custom-whitelist-service-controller | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../server'
describe 'MeshbluRpcController', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@service =
actionYo: sinon.stub()
checkTemp: sinon.stub().yields null, '98.6'
spendMoney:... | 29002 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../server'
describe 'MeshbluRpcController', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@service =
actionYo: sinon.stub()
checkTemp: sinon.stub().yields null, '98.6'
spendMoney:... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../server'
describe 'MeshbluRpcController', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@service =
actionYo: sinon.stub()
checkTemp: sinon.stub().yields null, '98.6'
spendMoney:... |
[
{
"context": "# flickr-robot\n# https://github.com/cw/flickr\n#\n# Copyright (c) 2012 Christian Wilcox\n# ",
"end": 38,
"score": 0.9819929003715515,
"start": 36,
"tag": "USERNAME",
"value": "cw"
},
{
"context": "ttps://github.com/cw/flickr\n#\n# Copyright (c) 2012 Christian Wilcox\n#... | lib/flickr-robot.coffee | cw/flickr-robot | 1 | # flickr-robot
# https://github.com/cw/flickr
#
# Copyright (c) 2012 Christian Wilcox
# Licensed under the MIT license.
fs = require('fs')
path = require('path')
_ = require('underscore')
Flickr = require('flickr-with-uploads').Flickr
# internal helper functions
readOptions = (callback) ->
pth = path.join(__dirname... | 203953 | # flickr-robot
# https://github.com/cw/flickr
#
# Copyright (c) 2012 <NAME>
# Licensed under the MIT license.
fs = require('fs')
path = require('path')
_ = require('underscore')
Flickr = require('flickr-with-uploads').Flickr
# internal helper functions
readOptions = (callback) ->
pth = path.join(__dirname, "../.env... | true | # flickr-robot
# https://github.com/cw/flickr
#
# Copyright (c) 2012 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
fs = require('fs')
path = require('path')
_ = require('underscore')
Flickr = require('flickr-with-uploads').Flickr
# internal helper functions
readOptions = (callback) ->
pth = path.join(__dir... |
[
{
"context": "card.id = Cards.Spell.SummonHusks\n\t\t\tcard.name = \"Malice\"\n\t\t\tcard.setDescription(\"Destroy a friendly minio",
"end": 8379,
"score": 0.9974225163459778,
"start": 8373,
"tag": "NAME",
"value": "Malice"
}
] | app/sdk/cards/factory/bloodstorm/faction4.coffee | willroberts/duelyst | 5 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | 207555 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | true | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... |
[
{
"context": " Talk Frontend (Feb 2014 - Apr 2016)\n# written by 陈涌,卢泰安,王艺霖,姚天宇, 陈博深,黄品章\n#\n###\n\nrequire './main.less'",
"end": 65,
"score": 0.9998084902763367,
"start": 63,
"tag": "NAME",
"value": "陈涌"
},
{
"context": "lk Frontend (Feb 2014 - Apr 2016)\n# written by 陈涌,卢泰安,王艺霖,姚天... | talk-web/client/main.coffee | jianwo/jianwo | 0 | ###
#
# 席地前端, Talk Frontend (Feb 2014 - Apr 2016)
# written by 陈涌,卢泰安,王艺霖,姚天宇, 陈博深,黄品章
#
###
require './main.less'
parse = require 'url-parse'
React = require 'react'
ReactDOM = require 'react-dom'
pathUtil = require 'router-view/lib/path'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
TALK = ... | 122396 | ###
#
# 席地前端, Talk Frontend (Feb 2014 - Apr 2016)
# written by <NAME>,<NAME>,<NAME>,<NAME>, <NAME>,<NAME>
#
###
require './main.less'
parse = require 'url-parse'
React = require 'react'
ReactDOM = require 'react-dom'
pathUtil = require 'router-view/lib/path'
recorder = require 'actions-recorder'
Immutable = require '... | true | ###
#
# 席地前端, Talk Frontend (Feb 2014 - Apr 2016)
# written by PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI
#
###
require './main.less'
parse = require 'url-parse'
React = require 'react'
ReactDOM = require 'react-dom'
pathUtil = requir... |
[
{
"context": "pi\n# A NodeJS interface for the Public Bitly API\n# Nathaniel Kirby <nate@projectspong.com\n# https://github.com/nkirb",
"end": 132,
"score": 0.9998803734779358,
"start": 117,
"tag": "NAME",
"value": "Nathaniel Kirby"
},
{
"context": "rface for the Public Bitly API\n# ... | src/BitlyLink.coffee | nkirby/node-bitlyapi | 30 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# Nathaniel Kirby <nate@projectspong.com
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyLink
constructor: (@link, @bitly) ->
#################... | 116059 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# <NAME> <<EMAIL>
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyLink
constructor: (@link, @bitly) ->
########################################... | true | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI
# https://github.com/nkirby/node-bitlyapi
####################################################
class BitlyLink
constructor: (@link, @bitly) ->
###########... |
[
{
"context": "ted and maintained by <a href=\"http://thibaut.me\">Thibaut Courouble</a>\n <li>Supported by <a href=\"http://devdocs.",
"end": 555,
"score": 0.9997879266738892,
"start": 538,
"tag": "NAME",
"value": "Thibaut Courouble"
},
{
"context": "</a>\n <li>Free and <a href... | devdocs/assets/javascripts/templates/pages/about_tmpl.coffee | xgenOsama/laravel5Test | 0 | app.templates.aboutPage = -> """
<div class="_toc">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
</ul>
</div>
<h1 cla... | 156039 | app.templates.aboutPage = -> """
<div class="_toc">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
</ul>
</div>
<h1 cla... | true | app.templates.aboutPage = -> """
<div class="_toc">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
</ul>
</div>
<h1 cla... |
[
{
"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.9998563528060913,
"start": 46,
"tag": "NAME",
"value": "Tim Düsterhus"
}
] | validator.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... | 99335 | ###
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": "cm (or 23 inches) long.\n '''\n\n scientificName: 'Tragelaphus scriptus'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 418,
"score": 0.826820969581604,
"start": 398,
"tag": "NAME",
"value": "Tragelaphus scriptus"
}
] | app/lib/field-guide-content/bushbuck.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
description: '''
Bushbucks are solitary antelopes that are yellowish or reddish-tan in color with a white underside and thin, white vertical stripes running from shoulder to rump. They have bushy tails and geometrically shaped white patches on their ears, chin, tail, legs, and necks. Males have h... | 220647 | module.exports =
description: '''
Bushbucks are solitary antelopes that are yellowish or reddish-tan in color with a white underside and thin, white vertical stripes running from shoulder to rump. They have bushy tails and geometrically shaped white patches on their ears, chin, tail, legs, and necks. Males have h... | true | module.exports =
description: '''
Bushbucks are solitary antelopes that are yellowish or reddish-tan in color with a white underside and thin, white vertical stripes running from shoulder to rump. They have bushy tails and geometrically shaped white patches on their ears, chin, tail, legs, and necks. Males have h... |
[
{
"context": "e, [@props.component])\n\n <DevSidebar key={\"dev-#{component.uniqueKey}\"} editor={@props.editor}>\n ",
"end": 4902,
"score": 0.9818885922431946,
"start": 4896,
"tag": "KEY",
"value": "dev-#{"
},
{
"context": "nent])\n\n <DevSidebar key={\"dev-#{compone... | src/editor/developer-sidebar.cjsx | caffed/pagedraw | 3,213 | React = require 'react'
ReactDOM = require 'react-dom'
createReactClass = require 'create-react-class'
{PdIndexDropdown, PdPopupMenu} = require './component-lib'
{StringPropControl, PropSpec, controlTypes} = require '../props'
{ColorControl, SelectControl, DynamicableControl, DebouncedTextControl, CheckboxControl, Left... | 49083 | React = require 'react'
ReactDOM = require 'react-dom'
createReactClass = require 'create-react-class'
{PdIndexDropdown, PdPopupMenu} = require './component-lib'
{StringPropControl, PropSpec, controlTypes} = require '../props'
{ColorControl, SelectControl, DynamicableControl, DebouncedTextControl, CheckboxControl, Left... | true | React = require 'react'
ReactDOM = require 'react-dom'
createReactClass = require 'create-react-class'
{PdIndexDropdown, PdPopupMenu} = require './component-lib'
{StringPropControl, PropSpec, controlTypes} = require '../props'
{ColorControl, SelectControl, DynamicableControl, DebouncedTextControl, CheckboxControl, Left... |
[
{
"context": "{},auth:{user:process.env.HUBOT_JENKINS_USER,pass:process.env.HUBOT_JENKINS_PASSWORD}};\n\t\t\tif crumbvalue!=''\n\t\t\t",
"end": 1923,
"score": 0.8121556043624878,
"start": 1912,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "rocess.env.HUBOT_JENKINS_USER,p... | scripts/jenkins/scripts-mattermost/statuscheck.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 49706 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": "er for Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 1459,
"score": 0.9998824000358582,
"start": 1438,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright... | example /hqz/queue-runner.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# Queue runner: This is a daemon that sits on any machine with
# CPU power and a connection to the internet. It waits on render
# jobs to arrive on an Amazon SQS message queue.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ... | 108057 | #!/usr/bin/env coffee
#
# Queue runner: This is a daemon that sits on any machine with
# CPU power and a connection to the internet. It waits on render
# jobs to arrive on an Amazon SQS message queue.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ... | true | #!/usr/bin/env coffee
#
# Queue runner: This is a daemon that sits on any machine with
# CPU power and a connection to the internet. It waits on render
# jobs to arrive on an Amazon SQS message queue.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# ... |
[
{
"context": "# Copyright (c) 2011 Andrew Grieser, Tyler Wymer\n# MIT license\n# https://github.com/a",
"end": 35,
"score": 0.9998430013656616,
"start": 21,
"tag": "NAME",
"value": "Andrew Grieser"
},
{
"context": "# Copyright (c) 2011 Andrew Grieser, Tyler Wymer\n# MIT license\n# ht... | data/coffeescript/5f3e181a47efe4e419eda7a54be541ff_fft.coffee | maxim5/code-inspector | 5 | # Copyright (c) 2011 Andrew Grieser, Tyler Wymer
# MIT license
# https://github.com/agrieser/fft_coffee
class Fft
# Fft computes the the Fast Fourier Transform of data, using the Cooley–Tukey
# FFT algorithm. The Cooley-Turkey algorithm requires the fft_data's length
# to be a power of 2, however... | 180271 | # Copyright (c) 2011 <NAME>, <NAME>
# MIT license
# https://github.com/agrieser/fft_coffee
class Fft
# Fft computes the the Fast Fourier Transform of data, using the Cooley–Tukey
# FFT algorithm. The Cooley-Turkey algorithm requires the fft_data's length
# to be a power of 2, however this is hand... | true | # Copyright (c) 2011 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# MIT license
# https://github.com/agrieser/fft_coffee
class Fft
# Fft computes the the Fast Fourier Transform of data, using the Cooley–Tukey
# FFT algorithm. The Cooley-Turkey algorithm requires the fft_data's length
# to be a powe... |
[
{
"context": "###\n# G.R.I.D : affix.js v2.1.0\n# *****************************",
"end": 13,
"score": 0.9992395639419556,
"start": 6,
"tag": "NAME",
"value": "G.R.I.D"
},
{
"context": "trap Team\n# Licensed under MIT https://github.com/twbs/bootstrap/blob/master/LICENSE\n###\n\n(($) ... | src/js/coffee/affix.coffee | na2axl/G.R.I.D | 1 | ###
# G.R.I.D : affix.js v2.1.0
# **************************************************
# Copyright 2015-2016 Centers Technologies
# Licensed under MIT http://opensource.org/licenses/MIT
# **************************************************
# Inspired by Affix 3.3.5
# Developed by the Bootstrap Team
# Licensed under MIT ht... | 175486 | ###
# <NAME> : affix.js v2.1.0
# **************************************************
# Copyright 2015-2016 Centers Technologies
# Licensed under MIT http://opensource.org/licenses/MIT
# **************************************************
# Inspired by Affix 3.3.5
# Developed by the Bootstrap Team
# Licensed under MIT htt... | true | ###
# PI:NAME:<NAME>END_PI : affix.js v2.1.0
# **************************************************
# Copyright 2015-2016 Centers Technologies
# Licensed under MIT http://opensource.org/licenses/MIT
# **************************************************
# Inspired by Affix 3.3.5
# Developed by the Bootstrap Team
# Licensed... |
[
{
"context": ".data ?= {}\n _.extend(options.data, { username: usernameOrEmail, password })\n @fetch(options)\n\n confir",
"end": 18275,
"score": 0.8703596591949463,
"start": 18267,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n _.extend(options.data, { username... | app/models/User.coffee | webyom/codecombat | 0 | cache = {}
CocoModel = require './CocoModel'
ThangTypeConstants = require 'lib/ThangTypeConstants'
LevelConstants = require 'lib/LevelConstants'
utils = require 'core/utils'
api = require 'core/api'
co = require 'co'
# Pure functions for use in Vue
# First argument is always a raw User.attributes
# Accessible via eg. ... | 3449 | cache = {}
CocoModel = require './CocoModel'
ThangTypeConstants = require 'lib/ThangTypeConstants'
LevelConstants = require 'lib/LevelConstants'
utils = require 'core/utils'
api = require 'core/api'
co = require 'co'
# Pure functions for use in Vue
# First argument is always a raw User.attributes
# Accessible via eg. ... | true | cache = {}
CocoModel = require './CocoModel'
ThangTypeConstants = require 'lib/ThangTypeConstants'
LevelConstants = require 'lib/LevelConstants'
utils = require 'core/utils'
api = require 'core/api'
co = require 'co'
# Pure functions for use in Vue
# First argument is always a raw User.attributes
# Accessible via eg. ... |
[
{
"context": "ified ticket\n#\n# Author:\n# Symphony Integration by Vinay Mistry\nEntities = require('html-entities').XmlEntities\ne",
"end": 1667,
"score": 0.9998822808265686,
"start": 1655,
"tag": "NAME",
"value": "Vinay Mistry"
},
{
"context": ".env.HUBOT_ZENDESK_USER}\"\n zendes... | src/scripts/zendesk.coffee | mcleo-d/bot-butler | 3 | #
# Copyright 2016 The Symphony Software Foundation
#
# 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... | 218741 | #
# Copyright 2016 The Symphony Software Foundation
#
# 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... | true | #
# Copyright 2016 The Symphony Software Foundation
#
# 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... |
[
{
"context": "PI\n host: @get('host')\n username: @get('username')\n password: @get('password')\n @_api.conn",
"end": 652,
"score": 0.9955637454986572,
"start": 644,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: @get('username')\n pass... | lib/adapters/isy/IsyAdapter.coffee | monitron/jarvis-ha | 1 | _ = require('underscore')
Adapter = require('../../Adapter')
IsyAPI = require('./IsyAPI')
ISY_DEVICE_CLASSES = [
require('./IsyInsteonDimmerNode'),
require('./IsyInsteonSwitchNode'),
require('./IsyInsteonOpenCloseSensorNode'),
require('./IsyInsteonFanMotorNode'),
require('./IsyInsteonMotionSensorNode')
]
mo... | 80086 | _ = require('underscore')
Adapter = require('../../Adapter')
IsyAPI = require('./IsyAPI')
ISY_DEVICE_CLASSES = [
require('./IsyInsteonDimmerNode'),
require('./IsyInsteonSwitchNode'),
require('./IsyInsteonOpenCloseSensorNode'),
require('./IsyInsteonFanMotorNode'),
require('./IsyInsteonMotionSensorNode')
]
mo... | true | _ = require('underscore')
Adapter = require('../../Adapter')
IsyAPI = require('./IsyAPI')
ISY_DEVICE_CLASSES = [
require('./IsyInsteonDimmerNode'),
require('./IsyInsteonSwitchNode'),
require('./IsyInsteonOpenCloseSensorNode'),
require('./IsyInsteonFanMotorNode'),
require('./IsyInsteonMotionSensorNode')
]
mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.