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": ".last_name\n\t\t\t\temail: req.body.email\n\t\t\t\tpassword: req.body.password\n\t\t\t\tlocationName: req.body.location_name\n\t\t\t\tusin",
"end": 2439,
"score": 0.9991428256034851,
"start": 2422,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | app/controllers/public.coffee | VTHacksCrowdBox/crowdblare-web | 1 | Edison = require('../models/edison')
# Any public page
module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'public/index',
title: 'Home'
@search = (req, res) ->
#Pass all names and edison
app.kaiseki.getUsers (err,rese,body,success)->
eds = for u in body
... | 150070 | Edison = require('../models/edison')
# Any public page
module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'public/index',
title: 'Home'
@search = (req, res) ->
#Pass all names and edison
app.kaiseki.getUsers (err,rese,body,success)->
eds = for u in body
... | true | Edison = require('../models/edison')
# Any public page
module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'public/index',
title: 'Home'
@search = (req, res) ->
#Pass all names and edison
app.kaiseki.getUsers (err,rese,body,success)->
eds = for u in body
... |
[
{
"context": "acked attribude', ->\n item = new Book(author: \"Lindsay\")\n expect(item.is.fresh).be.true\n\n it 'fresh:",
"end": 411,
"score": 0.9998555779457092,
"start": 404,
"tag": "NAME",
"value": "Lindsay"
},
{
"context": "ute', ->\n item = new Book()\n item.author... | test/states_test.coffee | rstacruz/ento | 11 | require './setup'
Book = null
describe 'states', ->
beforeEach ->
Book = ento()
.attr('title')
it 'fresh: true', ->
item = new Book()
expect(item.is.fresh).be.true
it 'fresh: true with ctor options', ->
item = new Book(title: "Darkly Dreaming")
expect(item.is.fresh).be.true
it 'fre... | 132899 | require './setup'
Book = null
describe 'states', ->
beforeEach ->
Book = ento()
.attr('title')
it 'fresh: true', ->
item = new Book()
expect(item.is.fresh).be.true
it 'fresh: true with ctor options', ->
item = new Book(title: "Darkly Dreaming")
expect(item.is.fresh).be.true
it 'fre... | true | require './setup'
Book = null
describe 'states', ->
beforeEach ->
Book = ento()
.attr('title')
it 'fresh: true', ->
item = new Book()
expect(item.is.fresh).be.true
it 'fresh: true with ctor options', ->
item = new Book(title: "Darkly Dreaming")
expect(item.is.fresh).be.true
it 'fre... |
[
{
"context": " notifData.from = { _id: userId, name: userName }\n req.io.to(socketUser).emi",
"end": 4242,
"score": 0.7164427638053894,
"start": 4234,
"tag": "NAME",
"value": "userName"
}
] | src/controllers/post/editArticle.coffee | damaera/framesia-code | 1 | # gm = require 'gm'
# jimp = require 'jimp'
base64Image = require '../../util/base64Image'
# slugify = require '../../util/slugify'
purifyHtml = require '../../util/purifyHtml'
jsondiffpatch = require 'jsondiffpatch'
CONFIG = require '../../config'
Post = require '../../models/post'
Notif = require '../../models/n... | 91941 | # gm = require 'gm'
# jimp = require 'jimp'
base64Image = require '../../util/base64Image'
# slugify = require '../../util/slugify'
purifyHtml = require '../../util/purifyHtml'
jsondiffpatch = require 'jsondiffpatch'
CONFIG = require '../../config'
Post = require '../../models/post'
Notif = require '../../models/n... | true | # gm = require 'gm'
# jimp = require 'jimp'
base64Image = require '../../util/base64Image'
# slugify = require '../../util/slugify'
purifyHtml = require '../../util/purifyHtml'
jsondiffpatch = require 'jsondiffpatch'
CONFIG = require '../../config'
Post = require '../../models/post'
Notif = require '../../models/n... |
[
{
"context": "message: \"Incorrect Username\" unless username is \"admin\"\n return callback null, false, message: \"Incorre",
"end": 1225,
"score": 0.999240517616272,
"start": 1220,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "message: \"Incorrect Password\" unless username... | src/app.coffee | rrohrer/mini-breakpad-server | 11 | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
#local requirements
reader = require './... | 62181 | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
#local requirements
reader = require './... | true | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
#local requirements
reader = require './... |
[
{
"context": "X_HTTP_SERVER_FILE)s\n\n [inet_http_server]\n port=0.0.0.0:9001\n username=koding\n password=1q2w3e4r\n\n '''",
"end": 1165,
"score": 0.9987339973449707,
"start": 1158,
"tag": "IP_ADDRESS",
"value": "0.0.0.0"
},
{
"context": "[inet_http_server]\n port=0.0.0.0:9001... | deployment/supervisord.coffee | lionheart1022/koding | 0 | fs = require 'fs'
{ isAllowed } = require './grouptoenvmapping'
generateMainConf = ->
'''
[supervisord]
pidfile=%(ENV_KONFIG_SUPERVISORD_RUNDIR)s/supervisord.pid
logfile=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/supervisord.log
childlogdir=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/
; number of startup file de... | 104244 | fs = require 'fs'
{ isAllowed } = require './grouptoenvmapping'
generateMainConf = ->
'''
[supervisord]
pidfile=%(ENV_KONFIG_SUPERVISORD_RUNDIR)s/supervisord.pid
logfile=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/supervisord.log
childlogdir=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/
; number of startup file de... | true | fs = require 'fs'
{ isAllowed } = require './grouptoenvmapping'
generateMainConf = ->
'''
[supervisord]
pidfile=%(ENV_KONFIG_SUPERVISORD_RUNDIR)s/supervisord.pid
logfile=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/supervisord.log
childlogdir=%(ENV_KONFIG_SUPERVISORD_LOGDIR)s/
; number of startup file de... |
[
{
"context": ">\n\t\t\t\t\tcollection.add({\n\t\t\t\t\t\tid: 0,\n\t\t\t\t\t\tname: 'User Name',\n\t\t\t\t\t\temail: 'email@email.com'\n\t\t\t\t\t})\n\t\t\t\t</pr",
"end": 11857,
"score": 0.9939876794815063,
"start": 11848,
"tag": "NAME",
"value": "User Name"
},
{
"context": "\t\t\t\t... | src/ng-bundle-collection.coffee | steelkiwi/ng-bundle-collection | 0 | do ->
###*
# @ngdoc object
# @name ng-bundle-collection
# @description
# Main module which contains {@link ng-bundle-collection.Collection Collection} factory
###
module = angular.module 'ng-bundle-collection', [
'restangular'
]
###*
# @ngdoc service
# @name ng-bundle-collection.Collection
# @description... | 207732 | do ->
###*
# @ngdoc object
# @name ng-bundle-collection
# @description
# Main module which contains {@link ng-bundle-collection.Collection Collection} factory
###
module = angular.module 'ng-bundle-collection', [
'restangular'
]
###*
# @ngdoc service
# @name ng-bundle-collection.Collection
# @description... | true | do ->
###*
# @ngdoc object
# @name ng-bundle-collection
# @description
# Main module which contains {@link ng-bundle-collection.Collection Collection} factory
###
module = angular.module 'ng-bundle-collection', [
'restangular'
]
###*
# @ngdoc service
# @name ng-bundle-collection.Collection
# @description... |
[
{
"context": "ates mixins into CoffeeScript classes.\n#\n# @author Matthew Wagerfield @mwagerfield\n# @example\n#\n# # Object that proper",
"end": 165,
"score": 0.9998860359191895,
"start": 147,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": "ffeeScript classes.\n#\n# ... | development/production/source/assets/scripts/coffee/core/Class.coffee | wagerfield/cinnamon | 2 | ###
#============================================================
#
# Abstract Class
#
# Intergrates mixins into CoffeeScript classes.
#
# @author Matthew Wagerfield @mwagerfield
# @example
#
# # Object that properties will be added to the User class
# classProperties =
# find: (id) ->
# create: (attrs) ->
#
# ... | 119938 | ###
#============================================================
#
# Abstract Class
#
# Intergrates mixins into CoffeeScript classes.
#
# @author <NAME> @mwagerfield
# @example
#
# # Object that properties will be added to the User class
# classProperties =
# find: (id) ->
# create: (attrs) ->
#
# # Object th... | true | ###
#============================================================
#
# Abstract Class
#
# Intergrates mixins into CoffeeScript classes.
#
# @author PI:NAME:<NAME>END_PI @mwagerfield
# @example
#
# # Object that properties will be added to the User class
# classProperties =
# find: (id) ->
# create: (attrs) ->
#
... |
[
{
"context": "##*\n# @fileoverview Tests for yoda rule.\n# @author Raphael Pigulla\n###\n\n'use strict'\n\n#-----------------------------",
"end": 67,
"score": 0.9998713135719299,
"start": 52,
"tag": "NAME",
"value": "Raphael Pigulla"
},
{
"context": "aryExpression'\n ]\n ,\n ... | src/tests/rules/yoda.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for yoda rule.
# @author Raphael Pigulla
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/yoda'
{RuleTester} = require '... | 162186 | ###*
# @fileoverview Tests for yoda rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/yoda'
{RuleTester} = require 'eslint'
p... | true | ###*
# @fileoverview Tests for yoda rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/yoda'
{RuleTester} = requ... |
[
{
"context": "'application/x-www-form-urlencoded'\n\t\t\tusername:\t\tclient.id\n\t\t\tpassword:\t\tclient.secret\n\t\t_.extend opts, opti",
"end": 2704,
"score": 0.9986495971679688,
"start": 2695,
"tag": "USERNAME",
"value": "client.id"
},
{
"context": "urlencoded'\n\t\t\tusername:\... | api/services/rest.coffee | twhtanghk/server.dns | 1 | http = require 'needle'
fs = require 'fs'
util = require 'util'
dir = '/etc/ssl/certs'
files = fs.readdirSync(dir).filter (file) -> /.*\.pem/i.test(file)
files = files.map (file) -> "#{dir}/#{file}"
ca = files.map (file) -> fs.readFileSync file
###
options =
timeout: 10000
agent: new agent('http://proxy1.scig.gov... | 196569 | http = require 'needle'
fs = require 'fs'
util = require 'util'
dir = '/etc/ssl/certs'
files = fs.readdirSync(dir).filter (file) -> /.*\.pem/i.test(file)
files = files.map (file) -> "#{dir}/#{file}"
ca = files.map (file) -> fs.readFileSync file
###
options =
timeout: 10000
agent: new agent('http://proxy1.scig.gov... | true | http = require 'needle'
fs = require 'fs'
util = require 'util'
dir = '/etc/ssl/certs'
files = fs.readdirSync(dir).filter (file) -> /.*\.pem/i.test(file)
files = files.map (file) -> "#{dir}/#{file}"
ca = files.map (file) -> fs.readFileSync file
###
options =
timeout: 10000
agent: new agent('http://proxy1.scig.gov... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.9999281764030457,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/components/tags/tag-dropdown/tag-dropdown.directive.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
... | 149586 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": "Country:\n CountryID: \"9\"\n CountryName: \"Norge\"\n CurrencyName: \"Kroner\"\n CurrencyRate:",
"end": 1578,
"score": 0.9981046319007874,
"start": 1573,
"tag": "NAME",
"value": "Norge"
},
{
"context": "\"\n CountryName: \"Norge\"\n Curren... | coffee/league_details.coffee | tagliala/WageWizard | 0 | "use strict"
window.WageWizard = window.WageWizard || {}
WageWizard = window.WageWizard
WageWizard.LEAGUE_DETAILS =
1:
Country:
CountryID: "1"
CountryName: "Sverige"
CurrencyName: "kr"
CurrencyRate: "1"
DateFormat: "YYYY-MM-DD"
TimeFormat: "hh:mm"
2:
Country:
Countr... | 76115 | "use strict"
window.WageWizard = window.WageWizard || {}
WageWizard = window.WageWizard
WageWizard.LEAGUE_DETAILS =
1:
Country:
CountryID: "1"
CountryName: "Sverige"
CurrencyName: "kr"
CurrencyRate: "1"
DateFormat: "YYYY-MM-DD"
TimeFormat: "hh:mm"
2:
Country:
Countr... | true | "use strict"
window.WageWizard = window.WageWizard || {}
WageWizard = window.WageWizard
WageWizard.LEAGUE_DETAILS =
1:
Country:
CountryID: "1"
CountryName: "Sverige"
CurrencyName: "kr"
CurrencyRate: "1"
DateFormat: "YYYY-MM-DD"
TimeFormat: "hh:mm"
2:
Country:
Countr... |
[
{
"context": "###\njQuery Modal\nCopyright 2014 Kevin Sylvestre\n1.1.9\n###\n\n\"use strict\"\n\n$ = jQuery\n\nclass Animat",
"end": 47,
"score": 0.9998440742492676,
"start": 32,
"tag": "NAME",
"value": "Kevin Sylvestre"
}
] | javascripts/jquery.modal.coffee | ksylvest/jquery-modal | 4 | ###
jQuery Modal
Copyright 2014 Kevin Sylvestre
1.1.9
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
re... | 29521 | ###
jQuery Modal
Copyright 2014 <NAME>
1.1.9
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
return resu... | true | ###
jQuery Modal
Copyright 2014 PI:NAME:<NAME>END_PI
1.1.9
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
... |
[
{
"context": " list = undefined\n #CHEMBL2296002\n inchiKey = 'JJBCTCGUOQYZHK-ZSCHJXSPSA-N'\n parentDataToParse = undefined\n\n beforeEach ->",
"end": 119,
"score": 0.999713122844696,
"start": 92,
"tag": "KEY",
"value": "JJBCTCGUOQYZHK-ZSCHJXSPSA-N"
}
] | src/glados/static/coffee/tests/Compound/UnichemConnectivityTest.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | describe 'Unichem Connectivity List', ->
list = undefined
#CHEMBL2296002
inchiKey = 'JJBCTCGUOQYZHK-ZSCHJXSPSA-N'
parentDataToParse = undefined
beforeEach ->
list = glados.models.paginatedCollections.PaginatedCollectionFactory.getNewUnichemConnectivityList()
# this will be done directly from the in... | 138340 | describe 'Unichem Connectivity List', ->
list = undefined
#CHEMBL2296002
inchiKey = '<KEY>'
parentDataToParse = undefined
beforeEach ->
list = glados.models.paginatedCollections.PaginatedCollectionFactory.getNewUnichemConnectivityList()
# this will be done directly from the info in the compounds
... | true | describe 'Unichem Connectivity List', ->
list = undefined
#CHEMBL2296002
inchiKey = 'PI:KEY:<KEY>END_PI'
parentDataToParse = undefined
beforeEach ->
list = glados.models.paginatedCollections.PaginatedCollectionFactory.getNewUnichemConnectivityList()
# this will be done directly from the info in the... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999113082885742,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmap-discussions/new-discussion.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
import { bu... | 114039 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
import { button, d... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
imp... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.9999280571937561,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/projects/project/project-router.controller.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
... | 187184 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": "rypto')\n algorithm = 'aes-256-ctr'\n password = 'd6F3Efeqd6F3Efeqd6F3Efeqd6F3Efeq'\n iv = '1234567890123456'\n cipher = crypto.crea",
"end": 258,
"score": 0.999432384967804,
"start": 226,
"tag": "PASSWORD",
"value": "d6F3Efeqd6F3Efeqd6F3Efeqd6F3Efeq"
}
] | server/methods/encryptParams.coffee | usmanasif/Rocket.chat | 0 | Meteor.methods encryptParams: (text) ->
algorithm = undefined
cipher = undefined
crypto = undefined
password = undefined
crypted = undefined
crypto = Npm.require('crypto')
algorithm = 'aes-256-ctr'
password = 'd6F3Efeqd6F3Efeqd6F3Efeqd6F3Efeq'
iv = '1234567890123456'
cipher = crypto.createCipheriv(a... | 152178 | Meteor.methods encryptParams: (text) ->
algorithm = undefined
cipher = undefined
crypto = undefined
password = undefined
crypted = undefined
crypto = Npm.require('crypto')
algorithm = 'aes-256-ctr'
password = '<PASSWORD>'
iv = '1234567890123456'
cipher = crypto.createCipheriv(algorithm, password, iv... | true | Meteor.methods encryptParams: (text) ->
algorithm = undefined
cipher = undefined
crypto = undefined
password = undefined
crypted = undefined
crypto = Npm.require('crypto')
algorithm = 'aes-256-ctr'
password = 'PI:PASSWORD:<PASSWORD>END_PI'
iv = '1234567890123456'
cipher = crypto.createCipheriv(algor... |
[
{
"context": "t was cleared', ->\n ss.init chat\n password = ss.password\n chrome.storage.update { password: { n",
"end": 1467,
"score": 0.552873969078064,
"start": 1465,
"tag": "PASSWORD",
"value": "ss"
},
{
"context": "he stored password', ->\n sync.set { password: 'som... | test/storage_test.coffee | nornagon/ircv | 20 | describe 'IRC sync storage', ->
ss = chat = undefined
sync = chrome.storage.sync
beforeEach ->
chat = jasmine.createSpyObj 'chat', ['connect', 'join', 'updateStatus',
'setNick', 'setPassword']
chat.remoteConnectionHandler = jasmine.createSpyObj 'remoteConnectionHandler',
['determineConnec... | 108806 | describe 'IRC sync storage', ->
ss = chat = undefined
sync = chrome.storage.sync
beforeEach ->
chat = jasmine.createSpyObj 'chat', ['connect', 'join', 'updateStatus',
'setNick', 'setPassword']
chat.remoteConnectionHandler = jasmine.createSpyObj 'remoteConnectionHandler',
['determineConnec... | true | describe 'IRC sync storage', ->
ss = chat = undefined
sync = chrome.storage.sync
beforeEach ->
chat = jasmine.createSpyObj 'chat', ['connect', 'join', 'updateStatus',
'setNick', 'setPassword']
chat.remoteConnectionHandler = jasmine.createSpyObj 'remoteConnectionHandler',
['determineConnec... |
[
{
"context": "> \n console.log \"Servant\"\n\ndata = \n name : \"Eric Caleb\"\n numbers : [0,4,4]\n links: \n twitte",
"end": 166,
"score": 0.9999028444290161,
"start": 156,
"tag": "NAME",
"value": "Eric Caleb"
},
{
"context": " links: \n twitter: \"https... | coffeescript/components/coffee/script.coffee | iamcaleberic/servant | 0 | $ ->
$('h1').append("Order")
add = (a ,b) ->
d = 4
a + b
# Anonymous or namless func
do ->
console.log "Servant"
data =
name : "Eric Caleb"
numbers : [0,4,4]
links:
twitter: "https://twitter.com/eric_caleb"
github: "https://iamcaleberic.github.io"
occupation: "ha... | 35610 | $ ->
$('h1').append("Order")
add = (a ,b) ->
d = 4
a + b
# Anonymous or namless func
do ->
console.log "Servant"
data =
name : "<NAME>"
numbers : [0,4,4]
links:
twitter: "https://twitter.com/eric_caleb"
github: "https://iamcaleberic.github.io"
occupation: "hacker... | true | $ ->
$('h1').append("Order")
add = (a ,b) ->
d = 4
a + b
# Anonymous or namless func
do ->
console.log "Servant"
data =
name : "PI:NAME:<NAME>END_PI"
numbers : [0,4,4]
links:
twitter: "https://twitter.com/eric_caleb"
github: "https://iamcaleberic.github.io"
occup... |
[
{
"context": "ormation, please see the LICENSE file\n\n@author Yoav Luft <yoav.luft@gmail.com>\n@copyright 2015 Yoav Luft\n",
"end": 149,
"score": 0.999902606010437,
"start": 140,
"tag": "NAME",
"value": "Yoav Luft"
},
{
"context": "ease see the LICENSE file\n\n@author Yoav ... | index.coffee | Luftzig/jspatterns | 0 | ###
luftzug\jspatterns
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author Yoav Luft <yoav.luft@gmail.com>
@copyright 2015 Yoav Luft
@link
@license http://choosealicense.com/licenses/MIT MIT License
###
# Application's initialisation and star... | 61677 | ###
luftzug\jspatterns
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author <NAME> <<EMAIL>>
@copyright 2015 <NAME>
@link
@license http://choosealicense.com/licenses/MIT MIT License
###
# Application's initialisation and startup script
| true | ###
luftzug\jspatterns
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@copyright 2015 PI:NAME:<NAME>END_PI
@link
@license http://choosealicense.com/licenses/MIT MIT License
###
# Application'... |
[
{
"context": "# This is a litecoin address\n c = \"LdoZadzUUFoazyDLEm3G73b9XKAd8hu8oc\"\n [err,ret] = address.check c\n ",
"end": 1092,
"score": 0.5074363946914673,
"start": 1089,
"tag": "KEY",
"value": "DLE"
},
{
"context": "check_btc_or_zcash = (T,cb) ->\n tests = [\n [ \"zcC... | test/files/0_address_check.iced | keybase/node-bitcoyne | 6 |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
T.equal ret.pkhash, Buffer.from([246,150,244,21,139,4,46,186,33,169,194,102,0,58,161,38,243,1,195,54], "hex")
cb()
exports.check... | 123799 |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
T.equal ret.pkhash, Buffer.from([246,150,244,21,139,4,46,186,33,169,194,102,0,58,161,38,243,1,195,54], "hex")
cb()
exports.check... | true |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
T.equal ret.pkhash, Buffer.from([246,150,244,21,139,4,46,186,33,169,194,102,0,58,161,38,243,1,195,54], "hex")
cb()
exports.check... |
[
{
"context": "\n [3, 'three']\n]\nrecordList = [\n {ID: 1, Name: 'one'}\n {ID: 2, Name: 'two'}\n {ID: 3, Name: 'three'}",
"end": 218,
"score": 0.5576256513595581,
"start": 215,
"tag": "NAME",
"value": "one"
}
] | test/mocha/convert.coffee | alinex/node-table | 1 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
recordList = [
{ID: 1, Name: 'one'}
{ID: 2, Name: 'two'}
{ID: 3, Name: 'three'}
]
recordObject =
'1': {Name: 'one'}
'2': {Name:... | 17945 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
recordList = [
{ID: 1, Name: '<NAME>'}
{ID: 2, Name: 'two'}
{ID: 3, Name: 'three'}
]
recordObject =
'1': {Name: 'one'}
'2': {Na... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
recordList = [
{ID: 1, Name: 'PI:NAME:<NAME>END_PI'}
{ID: 2, Name: 'two'}
{ID: 3, Name: 'three'}
]
recordObject =
'1': {Name: 'on... |
[
{
"context": "-----------------------------\n# Copyright (C) 2008 Jay Salvat\n# http://markitup.jaysalvat.com/\n# --------------",
"end": 201,
"score": 0.9997515082359314,
"start": 191,
"tag": "NAME",
"value": "Jay Salvat"
}
] | app/assets/javascripts/neighborly/modules/markdown-settings.js.coffee | hansome92/C_Ruby | 1 | # ----------------------------------------------------------------------------
# markItUp!
# ----------------------------------------------------------------------------
# Copyright (C) 2008 Jay Salvat
# http://markitup.jaysalvat.com/
# ----------------------------------------------------------------------------
Neighb... | 133725 | # ----------------------------------------------------------------------------
# markItUp!
# ----------------------------------------------------------------------------
# Copyright (C) 2008 <NAME>
# http://markitup.jaysalvat.com/
# ----------------------------------------------------------------------------
Neighborly... | true | # ----------------------------------------------------------------------------
# markItUp!
# ----------------------------------------------------------------------------
# Copyright (C) 2008 PI:NAME:<NAME>END_PI
# http://markitup.jaysalvat.com/
# -------------------------------------------------------------------------... |
[
{
"context": "sql.host\n user: config.mysql.user\n password: config.mysql.password\n database: config.mysql.database\n }\n async.w",
"end": 511,
"score": 0.9976847767829895,
"start": 490,
"tag": "PASSWORD",
"value": "config.mysql.password"
}
] | src/index.coffee | lifelink1987/forms | 0 | port = process.env.PORT
port ?= 8080
config = require(__dirname + '/../package.json').config
_ = require 'lodash'
express = require 'express'
bodyParser = require 'body-parser'
mysql = require 'mysql'
app = express()
app.use express.static "#{__dirname}/../public"
app.use bodyParser.urlencoded extended: true
app.use ... | 17657 | port = process.env.PORT
port ?= 8080
config = require(__dirname + '/../package.json').config
_ = require 'lodash'
express = require 'express'
bodyParser = require 'body-parser'
mysql = require 'mysql'
app = express()
app.use express.static "#{__dirname}/../public"
app.use bodyParser.urlencoded extended: true
app.use ... | true | port = process.env.PORT
port ?= 8080
config = require(__dirname + '/../package.json').config
_ = require 'lodash'
express = require 'express'
bodyParser = require 'body-parser'
mysql = require 'mysql'
app = express()
app.use express.static "#{__dirname}/../public"
app.use bodyParser.urlencoded extended: true
app.use ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992321133613586,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-end-throw-socket-handling.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 185581 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "apiary.io\"\n process.env['DREDD_REST_TOKEN'] = \"aff888af9993db9ef70edf3c878ab521\"\n process.env['DREDD_REST_SUITE'] = \"jakubtest",
"end": 663,
"score": 0.7549808621406555,
"start": 631,
"tag": "PASSWORD",
"value": "aff888af9993db9ef70edf3c878ab521"
},
{
"conte... | test/unit/reporters/apiary-reporter-test.coffee | HBOCodeLabs/dredd | 0 | {assert} = require 'chai'
{EventEmitter} = require 'events'
ApiaryReporter = require '../../../src/reporters/apiary-reporter'
nock = require 'nock'
describe 'ApiaryReporter', () ->
stats = {}
tests = []
test = {}
emitter = {}
baseReporter = {}
beforeEach (done) ->
stats =
tests: 0
failur... | 89086 | {assert} = require 'chai'
{EventEmitter} = require 'events'
ApiaryReporter = require '../../../src/reporters/apiary-reporter'
nock = require 'nock'
describe 'ApiaryReporter', () ->
stats = {}
tests = []
test = {}
emitter = {}
baseReporter = {}
beforeEach (done) ->
stats =
tests: 0
failur... | true | {assert} = require 'chai'
{EventEmitter} = require 'events'
ApiaryReporter = require '../../../src/reporters/apiary-reporter'
nock = require 'nock'
describe 'ApiaryReporter', () ->
stats = {}
tests = []
test = {}
emitter = {}
baseReporter = {}
beforeEach (done) ->
stats =
tests: 0
failur... |
[
{
"context": " renderParse view,\n context: name: 'Max'\n assert.is view.element.stringify(), 'Hel",
"end": 319,
"score": 0.9716845750808716,
"start": 316,
"tag": "NAME",
"value": "Max"
},
{
"context": " assert.is view.element.stringify(), 'Hello Max!'\n\n... | __tests__/document/input.coffee | Neft-io/neftio | 23 | 'use strict'
{Struct, ObservableArray} = require '@neft/core'
{createView, renderParse} = require './utils'
describe 'Document string interpolation', ->
it 'works in a text', ->
view = createView '''
Hello {$context.name}!
'''
renderParse view,
context: name: 'Max'... | 83141 | 'use strict'
{Struct, ObservableArray} = require '@neft/core'
{createView, renderParse} = require './utils'
describe 'Document string interpolation', ->
it 'works in a text', ->
view = createView '''
Hello {$context.name}!
'''
renderParse view,
context: name: '<NAM... | true | 'use strict'
{Struct, ObservableArray} = require '@neft/core'
{createView, renderParse} = require './utils'
describe 'Document string interpolation', ->
it 'works in a text', ->
view = createView '''
Hello {$context.name}!
'''
renderParse view,
context: name: 'PI:N... |
[
{
"context": "#\n NyaruDB CoffeeScript Query Prefix Script\n Kelp http://github.com/kelp404\n \n Created by Kel",
"end": 57,
"score": 0.8912761211395264,
"start": 53,
"tag": "NAME",
"value": "Kelp"
},
{
"context": "pt Query Prefix Script\n Kelp http://github.com/kelp40... | NyaruDBControl/NyaruDBControl/Resources/QueryPrefix.coffee | kelp404/NyaruDB-Control | 3 | ###
NyaruDB CoffeeScript Query Prefix Script
Kelp http://github.com/kelp404
Created by Kelp on 2013/04/08.
###
# Objective-C code
window.nyaru = window.nyaru || {}
class NyaruDB
###
Objective-C -> NyaruDB
###
collection: (name) ->
###
Get or create a collection.
... | 99173 | ###
NyaruDB CoffeeScript Query Prefix Script
<NAME> http://github.com/kelp404
Created by <NAME> on 2013/04/08.
###
# Objective-C code
window.nyaru = window.nyaru || {}
class NyaruDB
###
Objective-C -> NyaruDB
###
collection: (name) ->
###
Get or create a collection.
... | true | ###
NyaruDB CoffeeScript Query Prefix Script
PI:NAME:<NAME>END_PI http://github.com/kelp404
Created by PI:NAME:<NAME>END_PI on 2013/04/08.
###
# Objective-C code
window.nyaru = window.nyaru || {}
class NyaruDB
###
Objective-C -> NyaruDB
###
collection: (name) ->
###
G... |
[
{
"context": "ub().yields(null, body: { id: 'an-artist', name: 'An Artist', _id: '123'})\n Autocomplete.__set__ ",
"end": 1431,
"score": 0.6981809735298157,
"start": 1429,
"tag": "NAME",
"value": "An"
},
{
"context": "tsy.net/email_image.jpg'\n email_author: 'Artsy Edit... | src/client/apps/settings/client/curations/venice/test/venice_section.test.coffee | craigspaeth/positron | 76 | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
r =
find: ReactTestUtils.scryRenderedDOMComponentsWithClass
simulate: ReactTestUtils.Simulate
describe 'VeniceS... | 191061 | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
r =
find: ReactTestUtils.scryRenderedDOMComponentsWithClass
simulate: ReactTestUtils.Simulate
describe 'VeniceS... | true | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
r =
find: ReactTestUtils.scryRenderedDOMComponentsWithClass
simulate: ReactTestUtils.Simulate
describe 'VeniceS... |
[
{
"context": "hart\"\n\ttjson = []\n\tappendNode @treeEncoded,tjson,\"Huffman Baum \"\n\tjson = tjson[0]\n\n\tw = 780\n\th = 780\n\n\ttree ",
"end": 714,
"score": 0.9998189210891724,
"start": 702,
"tag": "NAME",
"value": "Huffman Baum"
}
] | src/Huffman.coffee | mgje/Codierung | 0 | #DOM Help Functions
wout = (eid,output)->
e = clearAllChilds eid
t = document.createTextNode output
e.appendChild t
false
clearAllChilds = (id)->
e = document.getElementById id
while e.hasChildNodes()
e.removeChild e.lastChild
e
# Rekursive update of two trees
appendNode = (inode, onode, name) ->
if typeof ... | 175939 | #DOM Help Functions
wout = (eid,output)->
e = clearAllChilds eid
t = document.createTextNode output
e.appendChild t
false
clearAllChilds = (id)->
e = document.getElementById id
while e.hasChildNodes()
e.removeChild e.lastChild
e
# Rekursive update of two trees
appendNode = (inode, onode, name) ->
if typeof ... | true | #DOM Help Functions
wout = (eid,output)->
e = clearAllChilds eid
t = document.createTextNode output
e.appendChild t
false
clearAllChilds = (id)->
e = document.getElementById id
while e.hasChildNodes()
e.removeChild e.lastChild
e
# Rekursive update of two trees
appendNode = (inode, onode, name) ->
if typeof ... |
[
{
"context": " KDObject\n\n {history} = window\n\n listenerKey = 'ಠ_ಠ'\n\n @registerStaticEmitter()\n\n createObjectRef =",
"end": 308,
"score": 0.9909893870353699,
"start": 305,
"tag": "KEY",
"value": "ಠ_ಠ"
}
] | lib/core/router.coffee | awsapps/kd | 62 | debug = require('debug') 'kd:router'
KD = require './kd'
KDObject = require './object'
KDNotificationView = require '../components/notifications/notificationview'
Encoder = require 'htmlencode'
module.exports = class KDRouter extends KDObject
{history} = window
listenerKey = 'ಠ_ಠ'
@regist... | 29999 | debug = require('debug') 'kd:router'
KD = require './kd'
KDObject = require './object'
KDNotificationView = require '../components/notifications/notificationview'
Encoder = require 'htmlencode'
module.exports = class KDRouter extends KDObject
{history} = window
listenerKey = '<KEY>'
@regi... | true | debug = require('debug') 'kd:router'
KD = require './kd'
KDObject = require './object'
KDNotificationView = require '../components/notifications/notificationview'
Encoder = require 'htmlencode'
module.exports = class KDRouter extends KDObject
{history} = window
listenerKey = 'PI:KEY:<KEY>END... |
[
{
"context": " test.ok not utils.verify \"plainWrongPassword\", \"plainPassword\"\n test.done()\n\n # Test for verify with correc",
"end": 1665,
"score": 0.6784067153930664,
"start": 1652,
"tag": "PASSWORD",
"value": "plainPassword"
}
] | node_modules/http-auth/node_modules/htpasswd/tests/test-utils.coffee | cylinderStudio/status-board | 0 | # Importing module.
utils = require '../lib/utils'
# Importing apache-md5 module.
md5 = require 'apache-md5'
module.exports =
# Test for SHA1 function.
testSHA1: (test) ->
test.equal (utils.sha1 "devochka"), "deWaCTR7rOMysgZN3EgtgAaTzPs=", "SHA1 is wrong!"
test.done()
# Test for encode with delete... | 176915 | # Importing module.
utils = require '../lib/utils'
# Importing apache-md5 module.
md5 = require 'apache-md5'
module.exports =
# Test for SHA1 function.
testSHA1: (test) ->
test.equal (utils.sha1 "devochka"), "deWaCTR7rOMysgZN3EgtgAaTzPs=", "SHA1 is wrong!"
test.done()
# Test for encode with delete... | true | # Importing module.
utils = require '../lib/utils'
# Importing apache-md5 module.
md5 = require 'apache-md5'
module.exports =
# Test for SHA1 function.
testSHA1: (test) ->
test.equal (utils.sha1 "devochka"), "deWaCTR7rOMysgZN3EgtgAaTzPs=", "SHA1 is wrong!"
test.done()
# Test for encode with delete... |
[
{
"context": " ->\n expect(creds.accessKeyId).toEqual(key || 'akid')\n expect(creds.secretAccessKey).toEqual(secret ",
"end": 704,
"score": 0.8620606064796448,
"start": 702,
"tag": "KEY",
"value": "id"
},
{
"context": " expect(creds.secretAccessKey).toEqual(secret || 'secret')\n e... | node_modules/aws-sdk/test/credentials.spec.coffee | ellennewellevans/newsScraper | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 138788 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "sion number of the CLI util\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\nexports.init = (args)->\n file = \"#{__dirname}",
"end": 90,
"score": 0.9998884797096252,
"start": 73,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/version.coffee | lovely-io/lovely.io-stl | 2 | #
# Prints out the version number of the CLI util
#
# Copyright (C) 2011 Nikolay Nemshilov
#
exports.init = (args)->
file = "#{__dirname}/../../package.json"
file = require('fs').readFileSync(file)
print JSON.parse(file.toString()).version
exports.help = (args)->
"""
Prints out the current lovely CLI vers... | 22089 | #
# Prints out the version number of the CLI util
#
# Copyright (C) 2011 <NAME>
#
exports.init = (args)->
file = "#{__dirname}/../../package.json"
file = require('fs').readFileSync(file)
print JSON.parse(file.toString()).version
exports.help = (args)->
"""
Prints out the current lovely CLI version
Usag... | true | #
# Prints out the version number of the CLI util
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
exports.init = (args)->
file = "#{__dirname}/../../package.json"
file = require('fs').readFileSync(file)
print JSON.parse(file.toString()).version
exports.help = (args)->
"""
Prints out the current lovely CLI v... |
[
{
"context": "ength).to.equal(0)\n $('input[type=text]').val('asdf@asdf.com') # fill in name *and* email\n $('button:contai",
"end": 4099,
"score": 0.9998779296875,
"start": 4086,
"tag": "EMAIL",
"value": "asdf@asdf.com"
},
{
"context": " id: 'xxx'\n responses:\n ... | test/main_test.coffee | dobtco/formrenderer-base | 79 | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... | 44408 | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... | true | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... |
[
{
"context": "el = Backbone.Model.extend\n defaults:\n name: 'World'\n\n# Even more simple view\nMyView = Backbone.View.",
"end": 135,
"score": 0.9987683892250061,
"start": 130,
"tag": "NAME",
"value": "World"
},
{
"context": "t).ready () ->\n myModel = new MyModel\n name: 'S... | src/app.coffee | juhamust/gulp-browserify-example | 1 | $ = require 'jquery'
Backbone = require 'backbone'
# Simple model example
MyModel = Backbone.Model.extend
defaults:
name: 'World'
# Even more simple view
MyView = Backbone.View.extend
el: '#main'
render: () ->
return @.$el.html('Hello, ' + @.model.get('name') + '!')
# Combine model with view and render... | 78791 | $ = require 'jquery'
Backbone = require 'backbone'
# Simple model example
MyModel = Backbone.Model.extend
defaults:
name: '<NAME>'
# Even more simple view
MyView = Backbone.View.extend
el: '#main'
render: () ->
return @.$el.html('Hello, ' + @.model.get('name') + '!')
# Combine model with view and rende... | true | $ = require 'jquery'
Backbone = require 'backbone'
# Simple model example
MyModel = Backbone.Model.extend
defaults:
name: 'PI:NAME:<NAME>END_PI'
# Even more simple view
MyView = Backbone.View.extend
el: '#main'
render: () ->
return @.$el.html('Hello, ' + @.model.get('name') + '!')
# Combine model with ... |
[
{
"context": "ht = 1.2\n\t\t\n\t\t\n\t\t## Get the recognizer working thx Silvia for the Help <3\n\t\t\n\t\t# speech part\n\t\tSpeechRecogn",
"end": 3457,
"score": 0.8307023644447327,
"start": 3451,
"tag": "NAME",
"value": "Silvia"
}
] | materials/sayitwithframer-fallback.framer/app.coffee | MarieSchweiz/ixd-documentation | 1 | Roboto = Utils.loadWebFont("Roboto", 300)
# Variable used to determin is the prototype listening or not.
prototislistening = false
result = false
# create a scroll view
scroll = new ScrollComponent
height: Screen.height
width: Screen.width
y: 731
backgroundColor: "#fff"
# configure the scroll view
scroll.scr... | 106276 | Roboto = Utils.loadWebFont("Roboto", 300)
# Variable used to determin is the prototype listening or not.
prototislistening = false
result = false
# create a scroll view
scroll = new ScrollComponent
height: Screen.height
width: Screen.width
y: 731
backgroundColor: "#fff"
# configure the scroll view
scroll.scr... | true | Roboto = Utils.loadWebFont("Roboto", 300)
# Variable used to determin is the prototype listening or not.
prototislistening = false
result = false
# create a scroll view
scroll = new ScrollComponent
height: Screen.height
width: Screen.width
y: 731
backgroundColor: "#fff"
# configure the scroll view
scroll.scr... |
[
{
"context": "************\n# JSRect - Rectangle Class\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 95,
"score": 0.9998988509178162,
"start": 81,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/03_JSRect.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSRect - Rectangle Class
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSRect extends JSObject
constructor:->
super()
@origin = new JSPoint()
@size = new JSSize()
| 11054 | #*****************************************
# JSRect - Rectangle Class
# Coded by <NAME> 2013.03.25
#*****************************************
class JSRect extends JSObject
constructor:->
super()
@origin = new JSPoint()
@size = new JSSize()
| true | #*****************************************
# JSRect - Rectangle Class
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSRect extends JSObject
constructor:->
super()
@origin = new JSPoint()
@size = new JSSize()
|
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, db} = require './test'\nt",
"end": 28,
"score": 0.9284343719482422,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "sts} = await @db.user.exists\n username: 'test_user_exists_1_user'\n ... | packages/db/test/user.exists.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'user not created', ({ssh}) ->
nikita
$ssh: ssh
db: db[engine]
, ->
@db.u... | 144485 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'user not created', ({ssh}) ->
nikita
$ssh: ssh
db: db[engine]
, ->
@db.u... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'user not created', ({ssh}) ->
nikita
$ssh: ssh
db: db[engine]
, ->
@db.u... |
[
{
"context": "ment(By.css(\".jumbotron h3\")).getText()).toMatch(\"Adam Albrecht\")\n",
"end": 278,
"score": 0.9998957514762878,
"start": 265,
"tag": "NAME",
"value": "Adam Albrecht"
}
] | spec/e2e/homepage_spec.coffee | larssondaniel/angular-boiler | 0 | describe "homepage", ->
beforeEach ->
browser.get('/#')
it "has the correct browser title", ->
expect(browser.getTitle()).toBe('Angular Starter Kit')
it "has my name in the subtitle", ->
expect(element(By.css(".jumbotron h3")).getText()).toMatch("Adam Albrecht")
| 114942 | describe "homepage", ->
beforeEach ->
browser.get('/#')
it "has the correct browser title", ->
expect(browser.getTitle()).toBe('Angular Starter Kit')
it "has my name in the subtitle", ->
expect(element(By.css(".jumbotron h3")).getText()).toMatch("<NAME>")
| true | describe "homepage", ->
beforeEach ->
browser.get('/#')
it "has the correct browser title", ->
expect(browser.getTitle()).toBe('Angular Starter Kit')
it "has my name in the subtitle", ->
expect(element(By.css(".jumbotron h3")).getText()).toMatch("PI:NAME:<NAME>END_PI")
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990670680999756,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-debug-cluster.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 44314 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "equire indexed collections.\n#\n# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)\n# ------------------------------",
"end": 170,
"score": 0.9998839497566223,
"start": 147,
"tag": "NAME",
"value": "Olaf Delgado-Friedrichs"
},
{
"context": ".\n#\n# Copyright ... | lib/sequence_extras.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# Sequence methods that require indexed collections.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('s... | 99676 | # --------------------------------------------------------------------
# Sequence methods that require indexed collections.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence')
{ HashSet } ... | true | # --------------------------------------------------------------------
# Sequence methods that require indexed collections.
#
# Copyright (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = requi... |
[
{
"context": "ubject: 'Invitation to Stitch',\n\t\t\t\t\tfrom_email: 'support@teamstitch.com',\n\t\t\t\t\tfrom_name: 'Stitch',\n\t\t\t\t\t\"global_merge_va",
"end": 338,
"score": 0.999925971031189,
"start": 316,
"tag": "EMAIL",
"value": "support@teamstitch.com"
},
{
"context": "email... | server/methods/sendConfirmationEmail.coffee | akio46/Stitch | 0 | Meteor.methods
sendConfirmationEmail: (email) ->
user = RocketChat.models.Users.findOneByEmailAddress email
if user?
Mandrill.messages.sendTemplate({
"template_name": "meteor-sign-up-1-authenticate",
"template_content": [{}],
"message": {
subject: 'Invitation to Stitch',
from_email: 'supp... | 80518 | Meteor.methods
sendConfirmationEmail: (email) ->
user = RocketChat.models.Users.findOneByEmailAddress email
if user?
Mandrill.messages.sendTemplate({
"template_name": "meteor-sign-up-1-authenticate",
"template_content": [{}],
"message": {
subject: 'Invitation to Stitch',
from_email: '<EMA... | true | Meteor.methods
sendConfirmationEmail: (email) ->
user = RocketChat.models.Users.findOneByEmailAddress email
if user?
Mandrill.messages.sendTemplate({
"template_name": "meteor-sign-up-1-authenticate",
"template_content": [{}],
"message": {
subject: 'Invitation to Stitch',
from_email: 'PI:E... |
[
{
"context": "_feed - list all the checking urls\n#\n# Author:\n# Takeshi Watanabe\n\nFeedParser = require 'feedparser'\nrequest = requ",
"end": 371,
"score": 0.9998205304145813,
"start": 355,
"tag": "NAME",
"value": "Takeshi Watanabe"
}
] | scripts/feed_checker.coffee | marta111222w3/hubot | 1 | # Description:
# Feed Checker
#
# Dependencies:
# 'feedparser': '*'
# 'request': '*'
# 'underscore': '*'
#
# Configuration:
# FEED_CHECK_INTERVAL
#
# Commands:
# hubot check_feed <url> - add url to feed checker
# hubot check_feed stop <url> - remove url from feed checker
# hubot checking_feed - list all... | 205318 | # Description:
# Feed Checker
#
# Dependencies:
# 'feedparser': '*'
# 'request': '*'
# 'underscore': '*'
#
# Configuration:
# FEED_CHECK_INTERVAL
#
# Commands:
# hubot check_feed <url> - add url to feed checker
# hubot check_feed stop <url> - remove url from feed checker
# hubot checking_feed - list all... | true | # Description:
# Feed Checker
#
# Dependencies:
# 'feedparser': '*'
# 'request': '*'
# 'underscore': '*'
#
# Configuration:
# FEED_CHECK_INTERVAL
#
# Commands:
# hubot check_feed <url> - add url to feed checker
# hubot check_feed stop <url> - remove url from feed checker
# hubot checking_feed - list all... |
[
{
"context": "nt.nativeEvent\n key = if @isHorizontal then \"width\" else \"height\"\n @_setVisibleLength layout[ke",
"end": 10234,
"score": 0.4939684569835663,
"start": 10229,
"tag": "KEY",
"value": "width"
},
{
"context": "t\n key = if @isHorizontal then \"width\" el... | src/Scrollable.coffee | aleclarson/scrollable | 0 |
{Style, Children} = require "react-validators"
{Number} = require "Nan"
DragResponder = require "DragResponder"
emptyFunction = require "emptyFunction"
Rubberband = require "Rubberband"
assertType = require "assertType"
clampValue = require "clampValue"
ReactType = require "modx/lib/Type"
Device = require "modx/lib/D... | 143366 |
{Style, Children} = require "react-validators"
{Number} = require "Nan"
DragResponder = require "DragResponder"
emptyFunction = require "emptyFunction"
Rubberband = require "Rubberband"
assertType = require "assertType"
clampValue = require "clampValue"
ReactType = require "modx/lib/Type"
Device = require "modx/lib/D... | true |
{Style, Children} = require "react-validators"
{Number} = require "Nan"
DragResponder = require "DragResponder"
emptyFunction = require "emptyFunction"
Rubberband = require "Rubberband"
assertType = require "assertType"
clampValue = require "clampValue"
ReactType = require "modx/lib/Type"
Device = require "modx/lib/D... |
[
{
"context": "}\n dotty.put opts, rs.config.userNameField, 'superadmin@admin.com'\n user = await rs.db.selectOne rs.config.use",
"end": 172,
"score": 0.999910831451416,
"start": 152,
"tag": "EMAIL",
"value": "superadmin@admin.com"
},
{
"context": " dotty.put newuser, rs... | src/index.coffee | ndxbxrme/rs-superadmin | 0 | dotty = require 'dotty'
module.exports = (config) ->
(rs) ->
rs.db.on 'ready', ->
opts = {}
dotty.put opts, rs.config.userNameField, 'superadmin@admin.com'
user = await rs.db.selectOne rs.config.userTable, opts
if not user
newuser =
role: ['superadmin']
dotty.put ... | 34974 | dotty = require 'dotty'
module.exports = (config) ->
(rs) ->
rs.db.on 'ready', ->
opts = {}
dotty.put opts, rs.config.userNameField, '<EMAIL>'
user = await rs.db.selectOne rs.config.userTable, opts
if not user
newuser =
role: ['superadmin']
dotty.put newuser, rs.c... | true | dotty = require 'dotty'
module.exports = (config) ->
(rs) ->
rs.db.on 'ready', ->
opts = {}
dotty.put opts, rs.config.userNameField, 'PI:EMAIL:<EMAIL>END_PI'
user = await rs.db.selectOne rs.config.userTable, opts
if not user
newuser =
role: ['superadmin']
dotty.pu... |
[
{
"context": "BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v2\n\nmQINBFShe1sBEAC98REQm4j1GdOcITaXqFR4Nx80PFErygU5r6j1W7Lh8wfmYrDz\n3OtBooR0Rr5fXiLDDa6J0A69y2raOGzdlU2QsRnPpd/1XBEGjfIVzK5LWlZhysov\neO/CLx5XzWFa69C2plNTSCdbRipNQw6gEgVkXDKcffHctQ1PQXmIuaEMpCheOQKB\nggymhtUQOzw0iRhzpczGGVFy/hFc0G4ZnorSEOP7Uaeor8... | test/files/problem_sigs.iced | samkenxstream/kbpgp | 464 |
{KeyRing,box,unbox,KeyManager} = require '../..'
problems = [
{
name : "dens",
key : """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFShe1sBEAC98REQm4j1GdOcITaXqFR4Nx80PFErygU5r6j1W7Lh8wfmYrDz
3OtBooR0Rr5fXiLDDa6J0A69y2raOGzdlU2QsRnPpd/1XBEGjfIVzK5LWlZhysov
eO/CLx5XzWFa69C2plNTSCdbRipNQw6gEg... | 36897 |
{KeyRing,box,unbox,KeyManager} = require '../..'
problems = [
{
name : "dens",
key : """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
<KEY>
-----END PGP PUBLIC KEY BLOCK-----
""",
sig : """-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/download
Version: Keybase Go 1.0.17 (windows)
<K... | true |
{KeyRing,box,unbox,KeyManager} = require '../..'
problems = [
{
name : "dens",
key : """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
PI:KEY:<KEY>END_PI
-----END PGP PUBLIC KEY BLOCK-----
""",
sig : """-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/download
Version: Keybase Go 1.0.17 ... |
[
{
"context": "x:finish`, `fx:cancel`\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nclass Fx\n include: [core.Options, core.Events]",
"end": 517,
"score": 0.9998859763145447,
"start": 500,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/src/fx.coffee | lovely-io/lovely.io-stl | 2 | #
# The visual effects basic class. It doesn't do anything
# practical itself, just defines the common interface
# and handles timers and queues
#
# Events that can be used with this one
#
# * `start` - when an effect starts
# * `finish` - when an effect finishes
# * `cancel` - when an effect was interrupted manual... | 15582 | #
# The visual effects basic class. It doesn't do anything
# practical itself, just defines the common interface
# and handles timers and queues
#
# Events that can be used with this one
#
# * `start` - when an effect starts
# * `finish` - when an effect finishes
# * `cancel` - when an effect was interrupted manual... | true | #
# The visual effects basic class. It doesn't do anything
# practical itself, just defines the common interface
# and handles timers and queues
#
# Events that can be used with this one
#
# * `start` - when an effect starts
# * `finish` - when an effect finishes
# * `cancel` - when an effect was interrupted manual... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | traveling salesman problem\n# ----",
"end": 163,
"score": 0.999877393245697,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/tsp.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | traveling salesman problem
# ------------------------------------------------------------------------------tsp = () -> | 169633 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | traveling salesman problem
# ------------------------------------------------------------------------------tsp = () -> | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | traveling salesman problem
# ------------------------------------------------------------------------------tsp = () -> |
[
{
"context": " @$usernameInput = new PrimaryInput\n value: @usernameValue\n error: @usernameError\n\n @passwordValue =",
"end": 808,
"score": 0.940883457660675,
"start": 795,
"tag": "USERNAME",
"value": "usernameValue"
},
{
"context": ".next null\n\n @model.auth.join ... | src/components/sign_in_overlay/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
PrimaryInput = require '../primary_input'
AppBar = require '../app_bar'
Icon = require '../icon'
FlatButton = require '../flat_button'
SecondaryButton = require '../secondary_button'
Icon = require '../icon'
colors = require '../.... | 63026 | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
PrimaryInput = require '../primary_input'
AppBar = require '../app_bar'
Icon = require '../icon'
FlatButton = require '../flat_button'
SecondaryButton = require '../secondary_button'
Icon = require '../icon'
colors = require '../.... | true | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
PrimaryInput = require '../primary_input'
AppBar = require '../app_bar'
Icon = require '../icon'
FlatButton = require '../flat_button'
SecondaryButton = require '../secondary_button'
Icon = require '../icon'
colors = require '../.... |
[
{
"context": "ame, callback) ->\n MassiveGit.newUser username, \"some-email@circuithub.com\", (err, user) ->\n should.not.exist err\n cal",
"end": 556,
"score": 0.9999163746833801,
"start": 531,
"tag": "EMAIL",
"value": "some-email@circuithub.com"
}
] | test/helper/helper.coffee | circuithub/massive-git | 6 | should = require "should"
async = require "async"
reposDao = require("../../lib/dao/repos.dao").newInstance()
commitsDao = require("../../lib/dao/commits.dao").newInstance()
blobsDao = require("../../lib/dao/blobs.dao").newInstance()
treesDao = require("../../lib/dao/trees.dao").newInstance()
usersDao ... | 45461 | should = require "should"
async = require "async"
reposDao = require("../../lib/dao/repos.dao").newInstance()
commitsDao = require("../../lib/dao/commits.dao").newInstance()
blobsDao = require("../../lib/dao/blobs.dao").newInstance()
treesDao = require("../../lib/dao/trees.dao").newInstance()
usersDao ... | true | should = require "should"
async = require "async"
reposDao = require("../../lib/dao/repos.dao").newInstance()
commitsDao = require("../../lib/dao/commits.dao").newInstance()
blobsDao = require("../../lib/dao/blobs.dao").newInstance()
treesDao = require("../../lib/dao/trees.dao").newInstance()
usersDao ... |
[
{
"context": ")\n return new AuthError(\"Empty password\", \"empty_password\") if not req.param(\"password\").trim()\n ret",
"end": 2225,
"score": 0.8676926493644714,
"start": 2211,
"tag": "PASSWORD",
"value": "empty_password"
},
{
"context": "ля чз ajax\n ###\n ... | src/server/auth/password/views.coffee | robintibor/rizzoma | 2 | async = require('async')
passport = require('passport')
Conf = require('../../conf').Conf
isEmail = require('../../../share/utils/string').isEmail
{AuthCouchProcessor} = require('../couch_processor')
{AuthController} = require('../controller')
{UserModel} = require('../../user/model')
{UserCouchProcessor} = require('.... | 136101 | async = require('async')
passport = require('passport')
Conf = require('../../conf').Conf
isEmail = require('../../../share/utils/string').isEmail
{AuthCouchProcessor} = require('../couch_processor')
{AuthController} = require('../controller')
{UserModel} = require('../../user/model')
{UserCouchProcessor} = require('.... | true | async = require('async')
passport = require('passport')
Conf = require('../../conf').Conf
isEmail = require('../../../share/utils/string').isEmail
{AuthCouchProcessor} = require('../couch_processor')
{AuthController} = require('../controller')
{UserModel} = require('../../user/model')
{UserCouchProcessor} = require('.... |
[
{
"context": "ript \"https://maps.googleapis.com/maps/api/js?key=AIzaSyD4DSpVTh3mv6nZ9D3A9xUtdaX7YpScN28&libraries=places\", ->\n done()\n else",
"end": 664,
"score": 0.9997478127479553,
"start": 625,
"tag": "KEY",
"value": "AIzaSyD4DSpVTh3mv6nZ9D3A9xUtdaX7YpScN28"
}
] | app/spec/javascripts/pages_spec.coffee | uva-slp/pauselab | 0 | #= require pages
describe "pages", ->
beforeAll (done) ->
fixture.load "pages.html", "ideas.json", "categories.json", append=true
this.g = {
ne: {
lat: 38.042987,
lng: -78.480079
},
sw: {
lat: 38.0293,
lng: -78.4767
},
i... | 29482 | #= require pages
describe "pages", ->
beforeAll (done) ->
fixture.load "pages.html", "ideas.json", "categories.json", append=true
this.g = {
ne: {
lat: 38.042987,
lng: -78.480079
},
sw: {
lat: 38.0293,
lng: -78.4767
},
i... | true | #= require pages
describe "pages", ->
beforeAll (done) ->
fixture.load "pages.html", "ideas.json", "categories.json", append=true
this.g = {
ne: {
lat: 38.042987,
lng: -78.480079
},
sw: {
lat: 38.0293,
lng: -78.4767
},
i... |
[
{
"context": " > 0\n\n _getBackTile: (tilePoint) ->\n key = \"#{tilePoint.x}:#{tilePoint.y}\"\n @_backTiles ?= {}\n @_backTiles[key] ?=",
"end": 2278,
"score": 0.9921139478683472,
"start": 2247,
"tag": "KEY",
"value": "\"#{tilePoint.x}:#{tilePoint.y}\""
}
] | app/assets/javascripts/modules/map/leaflet-plugins/granule_layer.js.coffee | jsiarto/earthdata-search | 1 | ns = @edsc.map.L
ns.GranuleLayer = do (L
$ = jQuery
GibsTileLayer = ns.GibsTileLayer
projectPath=ns.interpolation.projectPath
dividePolygon = @edsc.map.geoutil.dividePolygon
capitalize = @edsc.util.string.capi... | 97029 | ns = @edsc.map.L
ns.GranuleLayer = do (L
$ = jQuery
GibsTileLayer = ns.GibsTileLayer
projectPath=ns.interpolation.projectPath
dividePolygon = @edsc.map.geoutil.dividePolygon
capitalize = @edsc.util.string.capi... | true | ns = @edsc.map.L
ns.GranuleLayer = do (L
$ = jQuery
GibsTileLayer = ns.GibsTileLayer
projectPath=ns.interpolation.projectPath
dividePolygon = @edsc.map.geoutil.dividePolygon
capitalize = @edsc.util.string.capi... |
[
{
"context": "zed to work in the US'\n music: true\n name: 'Anonymous'\n autocastDelay: 5000\n emails: {}\n conse",
"end": 641,
"score": 0.6828621029853821,
"start": 632,
"tag": "NAME",
"value": "Anonymous"
},
{
"context": ", '18-24', '25-34', '35-44', '45-100']\n pas... | app/schemas/models/user.coffee | MountainWang/codecombat | 0 | c = require './../schemas'
{FeatureAuthoritySchema, FeatureRecipientSchema} = require './feature.schema'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
###
SCHEMA WARNING
Any changes made to this schema need to be shared on the... | 172982 | c = require './../schemas'
{FeatureAuthoritySchema, FeatureRecipientSchema} = require './feature.schema'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
###
SCHEMA WARNING
Any changes made to this schema need to be shared on the... | true | c = require './../schemas'
{FeatureAuthoritySchema, FeatureRecipientSchema} = require './feature.schema'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
###
SCHEMA WARNING
Any changes made to this schema need to be shared on the... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 52,
"score": 0.9998694062232971,
"start": 33,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "#\n QuoJS 2.1\n (c) 2011, 2012 Javi Jimén... | src/QuoJS/src/quo.style.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.addClass = (name) ->
@each ->
unless _existsClass(name, @className)
@className += " " + name
@className = @className.trim()
$$.fn.removeClass = (nam... | 198422 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.addClass = (name) ->
@each ->
unless _existsClass(name, @className)
@className += " " + name
@className = @className.trim()
$$.fn.removeClass = (name) ->
... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.addClass = (name) ->
@each ->
unless _existsClass(name, @className)
@className += " " + name
@className = @className.trim()
$$.fn.removeClass = (na... |
[
{
"context": "fy = (endpoint='https://api.lvatn.com/oai', name='Leviathan Journal', email='sysadmin@cottagelabs.com') ->\n earliest",
"end": 1263,
"score": 0.9997023344039917,
"start": 1246,
"tag": "NAME",
"value": "Leviathan Journal"
},
{
"context": ".lvatn.com/oai', name='Leviatha... | server/oai.coffee | leviathanindustries/noddy | 2 |
import moment from 'moment'
import { Random } from 'meteor/random'
API.oai = {}
API.oai.pmh = {}
API.add 'oai',
get: () ->
verb = if this.queryParams.verb? then this.queryParams.verb.toLowerCase() else false
if verb is 'identify'
res = API.oai.pmh.identify 'https://' + this.request.headers.host + '/o... | 201332 |
import moment from 'moment'
import { Random } from 'meteor/random'
API.oai = {}
API.oai.pmh = {}
API.add 'oai',
get: () ->
verb = if this.queryParams.verb? then this.queryParams.verb.toLowerCase() else false
if verb is 'identify'
res = API.oai.pmh.identify 'https://' + this.request.headers.host + '/o... | true |
import moment from 'moment'
import { Random } from 'meteor/random'
API.oai = {}
API.oai.pmh = {}
API.add 'oai',
get: () ->
verb = if this.queryParams.verb? then this.queryParams.verb.toLowerCase() else false
if verb is 'identify'
res = API.oai.pmh.identify 'https://' + this.request.headers.host + '/o... |
[
{
"context": " result =\n branches: branches\n url: \"git@bitbucket.org:#{info.repository.owner}/#{info.repository.slug}.",
"end": 414,
"score": 0.9968255758285522,
"start": 397,
"tag": "EMAIL",
"value": "git@bitbucket.org"
},
{
"context": "it\"\n name: info.reposit... | src/handlers/bitbucket-handler.coffee | janzal/git-deploy | 1 | BaseHandler = require './base-handler'
class BitbucketHandler extends BaseHandler
extractPayload: (request) ->
JSON.parse request.body.payload
extractRepositoryInfo: (info) ->
branches = {}
for commit in info.commits
branches[commit.branch] = [] unless branches[commit.branch]?
branches[c... | 65935 | BaseHandler = require './base-handler'
class BitbucketHandler extends BaseHandler
extractPayload: (request) ->
JSON.parse request.body.payload
extractRepositoryInfo: (info) ->
branches = {}
for commit in info.commits
branches[commit.branch] = [] unless branches[commit.branch]?
branches[c... | true | BaseHandler = require './base-handler'
class BitbucketHandler extends BaseHandler
extractPayload: (request) ->
JSON.parse request.body.payload
extractRepositoryInfo: (info) ->
branches = {}
for commit in info.commits
branches[commit.branch] = [] unless branches[commit.branch]?
branches[c... |
[
{
"context": "detector for programming source code, developed by Andrey Kucherenko\n\"\"\"\n\n options.languages = options.languages.spli",
"end": 1055,
"score": 0.9991452693939209,
"start": 1038,
"tag": "NAME",
"value": "Andrey Kucherenko"
}
] | src/cli/cli.coffee | ModusCreateOrg/jscpd | 0 | logger = require 'winston'
cli = require("cli").enable "help", "version", "glob"
path = require "path"
jscpd = require "./../jscpd"
logger.cli();
cli.setUsage "jscpd [OPTIONS]"
cli.setApp path.resolve "#{__dirname}/../../package.json"
cli.parse {
"min-lines": ['l', "min size of duplication in code lines", "number",... | 40491 | logger = require 'winston'
cli = require("cli").enable "help", "version", "glob"
path = require "path"
jscpd = require "./../jscpd"
logger.cli();
cli.setUsage "jscpd [OPTIONS]"
cli.setApp path.resolve "#{__dirname}/../../package.json"
cli.parse {
"min-lines": ['l', "min size of duplication in code lines", "number",... | true | logger = require 'winston'
cli = require("cli").enable "help", "version", "glob"
path = require "path"
jscpd = require "./../jscpd"
logger.cli();
cli.setUsage "jscpd [OPTIONS]"
cli.setApp path.resolve "#{__dirname}/../../package.json"
cli.parse {
"min-lines": ['l', "min size of duplication in code lines", "number",... |
[
{
"context": " family\n puzzle: puzzle\n name: \"Optimal solution\"\n email: \"edemaine+coinsliding+optimal@m",
"end": 375,
"score": 0.6643803119659424,
"start": 359,
"tag": "NAME",
"value": "Optimal solution"
},
{
"context": " name: \"Optimal solutio... | server/solutions.coffee | edemaine/coinsliding | 1 | import {solutions} from '../imports/solutions/solutions.js'
import {submitSolution} from '../lib/solutions'
Meteor.startup ->
for family, familySolutions of solutions
for puzzle, moves of familySolutions
#console.log family, puzzle, moves.length
try
submitSolution
family: family
... | 105648 | import {solutions} from '../imports/solutions/solutions.js'
import {submitSolution} from '../lib/solutions'
Meteor.startup ->
for family, familySolutions of solutions
for puzzle, moves of familySolutions
#console.log family, puzzle, moves.length
try
submitSolution
family: family
... | true | import {solutions} from '../imports/solutions/solutions.js'
import {submitSolution} from '../lib/solutions'
Meteor.startup ->
for family, familySolutions of solutions
for puzzle, moves of familySolutions
#console.log family, puzzle, moves.length
try
submitSolution
family: family
... |
[
{
"context": " #公众号\n#\n# Commands:\n#\n#\n# Author:\n# Jimmy Xu <xjimmyshcn@gmail.com>\n#\n\nnodeGrowl = require 'no",
"end": 340,
"score": 0.9998503923416138,
"start": 332,
"tag": "NAME",
"value": "Jimmy Xu"
},
{
"context": " #公众号\n#\n# Commands:\n#\n#\n# Author:\n... | example/weixin-notify-growl.coffee | Jimmy-Xu/hubot-another-weixin | 0 | # Description:
# check class schedule, then notify via message via weixin(wechat) and growl
#
# Dependencies:
# node-growl
#
# Configuration:
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_WATCH_GROUPS #群
# HUBOT_WATCH_USERS #用户
# HUBOT_WATCH_GH #公众号
#
# Commands:
#
#
# ... | 183213 | # Description:
# check class schedule, then notify via message via weixin(wechat) and growl
#
# Dependencies:
# node-growl
#
# Configuration:
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_WATCH_GROUPS #群
# HUBOT_WATCH_USERS #用户
# HUBOT_WATCH_GH #公众号
#
# Commands:
#
#
# ... | true | # Description:
# check class schedule, then notify via message via weixin(wechat) and growl
#
# Dependencies:
# node-growl
#
# Configuration:
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_WATCH_GROUPS #群
# HUBOT_WATCH_USERS #用户
# HUBOT_WATCH_GH #公众号
#
# Commands:
#
#
# ... |
[
{
"context": "press()\n\n app.get '/', (req, res) -> res.send \"Humpty Dumpty looked doubtful. 'I'd rather see that done on pap",
"end": 159,
"score": 0.999828577041626,
"start": 146,
"tag": "NAME",
"value": "Humpty Dumpty"
}
] | src/web_server.coffee | nomilous/mesh.snowball.global | 0 | module.exports.init = ({port, host}, callback) ->
express = require 'express'
app = express()
app.get '/', (req, res) -> res.send "Humpty Dumpty looked doubtful. 'I'd rather see that done on paper,' he said."
server = app.listen port, host, ->
running = true
callback null,
... | 8045 | module.exports.init = ({port, host}, callback) ->
express = require 'express'
app = express()
app.get '/', (req, res) -> res.send "<NAME> looked doubtful. 'I'd rather see that done on paper,' he said."
server = app.listen port, host, ->
running = true
callback null,
s... | true | module.exports.init = ({port, host}, callback) ->
express = require 'express'
app = express()
app.get '/', (req, res) -> res.send "PI:NAME:<NAME>END_PI looked doubtful. 'I'd rather see that done on paper,' he said."
server = app.listen port, host, ->
running = true
callback null,
... |
[
{
"context": "ntainermerc.center()\n buttoncontainer.center()\n \n#MERC SHIZZLE\n\nmercscreen = new Layer \n\tx:-290, y:-80, width:20",
"end": 3374,
"score": 0.9995442032814026,
"start": 3362,
"tag": "NAME",
"value": "MERC SHIZZLE"
}
] | CitroenCactusclusterWIP.framer/framer/backups/backup-1436562553.coffee | ustwo/autocluster | 113 | document.body.style.cursor = "auto"
#FONTS FOR FERRARI
style = document.createElement('style');
style.type = 'text/css';
style.appendChild(document.createTextNode("@font-face {\n" +
"\tfont-family: \"myFont2\";\n" +
"\tsrc: local(''), url('fonts/Roboto-Light-webfont.ttf') format('opentype');\n" +
"}\n" +
"\tfont-fa... | 136901 | document.body.style.cursor = "auto"
#FONTS FOR FERRARI
style = document.createElement('style');
style.type = 'text/css';
style.appendChild(document.createTextNode("@font-face {\n" +
"\tfont-family: \"myFont2\";\n" +
"\tsrc: local(''), url('fonts/Roboto-Light-webfont.ttf') format('opentype');\n" +
"}\n" +
"\tfont-fa... | true | document.body.style.cursor = "auto"
#FONTS FOR FERRARI
style = document.createElement('style');
style.type = 'text/css';
style.appendChild(document.createTextNode("@font-face {\n" +
"\tfont-family: \"myFont2\";\n" +
"\tsrc: local(''), url('fonts/Roboto-Light-webfont.ttf') format('opentype');\n" +
"}\n" +
"\tfont-fa... |
[
{
"context": "scrum\", 10, @name)\n\n stats: ->\n console.log(\"#{@name} has #{@points} Points!\")\n\n today: (message) ->\n",
"end": 1589,
"score": 0.6503406763076782,
"start": 1584,
"tag": "USERNAME",
"value": "@name"
},
{
"context": "message)\n\n blockers: (message) ->\n ... | src/models/player.coffee | airbrake/hubot-scrum | 3 | client = require('../redis-store')
class Player
##
# Class functions
@.find = (robot, name) ->
users = robot.brain.usersForFuzzyName(name)
if users.length is 1
user = users[0]
return new Player(user)
##
# Class functions
@.fromMessage = (msg) ->
return new Player(msg.envelope.user)
... | 115883 | client = require('../redis-store')
class Player
##
# Class functions
@.find = (robot, name) ->
users = robot.brain.usersForFuzzyName(name)
if users.length is 1
user = users[0]
return new Player(user)
##
# Class functions
@.fromMessage = (msg) ->
return new Player(msg.envelope.user)
... | true | client = require('../redis-store')
class Player
##
# Class functions
@.find = (robot, name) ->
users = robot.brain.usersForFuzzyName(name)
if users.length is 1
user = users[0]
return new Player(user)
##
# Class functions
@.fromMessage = (msg) ->
return new Player(msg.envelope.user)
... |
[
{
"context": "e name', ->\n public_ip_address.should.equal '176.58.105.104'\n private_ip_address.should.equal '192.168.1",
"end": 5388,
"score": 0.9996803402900696,
"start": 5374,
"tag": "IP_ADDRESS",
"value": "176.58.105.104"
},
{
"context": "8.105.104'\n private_ip_a... | test/linode.coffee | scraperwiki/lithium | 0 | should = require 'should'
sinon = require 'sinon'
_ = require 'underscore'
nocks = require './fixtures'
Linode = require '../code/linode'
settings = require 'settings'
describe 'Linode Instance', ->
#TODO: handle errors properly from linode
spy = null
before ->
spy = sinon.spy Linode.client, 'call'
de... | 78226 | should = require 'should'
sinon = require 'sinon'
_ = require 'underscore'
nocks = require './fixtures'
Linode = require '../code/linode'
settings = require 'settings'
describe 'Linode Instance', ->
#TODO: handle errors properly from linode
spy = null
before ->
spy = sinon.spy Linode.client, 'call'
de... | true | should = require 'should'
sinon = require 'sinon'
_ = require 'underscore'
nocks = require './fixtures'
Linode = require '../code/linode'
settings = require 'settings'
describe 'Linode Instance', ->
#TODO: handle errors properly from linode
spy = null
before ->
spy = sinon.spy Linode.client, 'call'
de... |
[
{
"context": "HIPCHAT_NAME || \"#{self.name} Bot\"\n password: process.env.HUBOT_HIPCHAT_PASSWORD\n rooms: process.env.HUBOT_HIPCHAT_ROOMS |",
"end": 634,
"score": 0.9953567981719971,
"start": 600,
"tag": "PASSWORD",
"value": "process.env.HUBOT_HIPCHAT_PASSWORD"
},
{
"co... | src/hubot/hipchat.coffee | gwho/hubot | 1 | Robot = require "../robot"
HTTPS = require "https"
Wobot = require("wobot").Bot
class HipChat extends Robot
send: (user, strings...) ->
console.log "Sending"
strings.forEach (str) =>
@bot.message user.reply_to, str
reply: (user, strings...) ->
console.log "Replying"
stri... | 156034 | Robot = require "../robot"
HTTPS = require "https"
Wobot = require("wobot").Bot
class HipChat extends Robot
send: (user, strings...) ->
console.log "Sending"
strings.forEach (str) =>
@bot.message user.reply_to, str
reply: (user, strings...) ->
console.log "Replying"
stri... | true | Robot = require "../robot"
HTTPS = require "https"
Wobot = require("wobot").Bot
class HipChat extends Robot
send: (user, strings...) ->
console.log "Sending"
strings.forEach (str) =>
@bot.message user.reply_to, str
reply: (user, strings...) ->
console.log "Replying"
stri... |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\n\nbag_ctrl ",
"end": 58,
"score": 0.999849796295166,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
},
{
"context": "ervices/rest/?method=flickr.photos.search&api_... | src/router.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
bag_ctrl = require "./controllers/bag_controller"
list_ctrl = require "./controllers/list_controller"
foodstuff_ctrl = require "./controllers/foodstuff_controller"
user_ctrl = require "./controllers/user_controller"
tags_... | 110470 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
bag_ctrl = require "./controllers/bag_controller"
list_ctrl = require "./controllers/list_controller"
foodstuff_ctrl = require "./controllers/foodstuff_controller"
user_ctrl = require "./controllers/user_controller"
tags_ctr... | true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
bag_ctrl = require "./controllers/bag_controller"
list_ctrl = require "./controllers/list_controller"
foodstuff_ctrl = require "./controllers/foodstuff_controller"
user_ctrl = require "./controllers/user_contro... |
[
{
"context": "Talks.Index = [{\n id: 'pastelli',\n title: 'Pastelli',\n name: 'Pastelli Plug Ada",
"end": 32,
"score": 0.9452769756317139,
"start": 24,
"tag": "USERNAME",
"value": "pastelli"
},
{
"context": "Talks.Index = [{\n id: 'pastelli',\n title: 'Pastelli',\n name: 'Paste... | _assets/javascripts/talks/index.js.coffee | zampino/talks | 0 | Talks.Index = [{
id: 'pastelli',
title: 'Pastelli',
name: 'Pastelli Plug Adapter',
description: 'a colorful Elixir plug Adapter with a focus on streaming EventSource and websockets support'
}]
| 111702 | Talks.Index = [{
id: 'pastelli',
title: '<NAME>',
name: '<NAME> Plug Adapter',
description: 'a colorful Elixir plug Adapter with a focus on streaming EventSource and websockets support'
}]
| true | Talks.Index = [{
id: 'pastelli',
title: 'PI:NAME:<NAME>END_PI',
name: 'PI:NAME:<NAME>END_PI Plug Adapter',
description: 'a colorful Elixir plug Adapter with a focus on streaming EventSource and websockets support'
}]
|
[
{
"context": "\n\t\t\t\tquery =\n\t\t\t\t\tCREATE:\n\t\t\t\t\t\tPerson: _ {name: 'test'},\n\t\t\t\t\t\t\troles: _ {name: 'test2'}\n\n\t\t\t\tthrows /m",
"end": 14168,
"score": 0.9962879419326782,
"start": 14164,
"tag": "NAME",
"value": "test"
},
{
"context": "clause', ->\n\t\t\t\tque... | src/test__query.coffee | Cottin/popsiql | 0 | {F, add, project, sum, test, type, where} = R = require 'ramda' # auto_require: ramda
{$, $$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːpersonId, ːnumEmployees, ːid〳COUNT, ːStr, ːEmployment, ːid〳sum, ːid, ːprice, ːposition, ːPerson, ːDateTime, ːInt, ːsex, ːDate, ːage〳, ːFloat, ːCompany, ːprojectId, ː... | 154482 | {F, add, project, sum, test, type, where} = R = require 'ramda' # auto_require: ramda
{$, $$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːpersonId, ːnumEmployees, ːid〳COUNT, ːStr, ːEmployment, ːid〳sum, ːid, ːprice, ːposition, ːPerson, ːDateTime, ːInt, ːsex, ːDate, ːage〳, ːFloat, ːCompany, ːprojectId, ː... | true | {F, add, project, sum, test, type, where} = R = require 'ramda' # auto_require: ramda
{$, $$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːpersonId, ːnumEmployees, ːid〳COUNT, ːStr, ːEmployment, ːid〳sum, ːid, ːprice, ːposition, ːPerson, ːDateTime, ːInt, ːsex, ːDate, ːage〳, ːFloat, ːCompany, ːprojectId, ː... |
[
{
"context": "#\n# Copyright (c) 2015-2016 JD Powell <waveclaw@waveclaw.net>\n#\n# All modifications and",
"end": 37,
"score": 0.9976080656051636,
"start": 28,
"tag": "NAME",
"value": "JD Powell"
},
{
"context": "#\n# Copyright (c) 2015-2016 JD Powell <waveclaw@waveclaw.net>\n#\n# Al... | spec/rpm-spec-spec.coffee | waveclaw/language-rpm-spec | 3 | #
# Copyright (c) 2015-2016 JD Powell <waveclaw@waveclaw.net>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for... | 123710 | #
# Copyright (c) 2015-2016 <NAME> <<EMAIL>>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine pac... | true | #
# Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same li... |
[
{
"context": "ealDamageWatchKillTargetAndSelf\"\n\n\t@modifierName:\"Clumsy Assassin\"\n\t@description:\"Whenever this unit deals damage t",
"end": 496,
"score": 0.9944941997528076,
"start": 481,
"tag": "NAME",
"value": "Clumsy Assassin"
}
] | app/sdk/modifiers/modifierDealDamageWatchKillTargetAndSelf.coffee | willroberts/duelyst | 5 | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierDealDamageWatch = require './modifierDealDamageWatch'
KillAction = require 'app/sdk/actions/killAction'
class ModifierDealDamageWatchKillTa... | 74395 | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierDealDamageWatch = require './modifierDealDamageWatch'
KillAction = require 'app/sdk/actions/killAction'
class ModifierDealDamageWatchKillTa... | true | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierDealDamageWatch = require './modifierDealDamageWatch'
KillAction = require 'app/sdk/actions/killAction'
class ModifierDealDamageWatchKillTa... |
[
{
"context": "key: 'github-blocks'\npatterns: [\n\n # Table: structure\n {\n name: ",
"end": 19,
"score": 0.9895545840263367,
"start": 6,
"tag": "KEY",
"value": "github-blocks"
}
] | grammars/repositories/flavors/github-blocks.cson | plttn/language-markdown | 0 | key: 'github-blocks'
patterns: [
# Table: structure
{
name: 'table.storage.md'
match: '^(\\|)(?=[ :])([ |:-]+)$'
captures:
1: name: 'punctuation.md'
2:
patterns: [
{
match: '(?<=[ :])\\|(?=$|[ :])'
name: 'punctuation.md'
}
{
... | 42203 | key: '<KEY>'
patterns: [
# Table: structure
{
name: 'table.storage.md'
match: '^(\\|)(?=[ :])([ |:-]+)$'
captures:
1: name: 'punctuation.md'
2:
patterns: [
{
match: '(?<=[ :])\\|(?=$|[ :])'
name: 'punctuation.md'
}
{
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Table: structure
{
name: 'table.storage.md'
match: '^(\\|)(?=[ :])([ |:-]+)$'
captures:
1: name: 'punctuation.md'
2:
patterns: [
{
match: '(?<=[ :])\\|(?=$|[ :])'
name: 'punctuation.md'
}
{... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988470077514648,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-mkdir.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 5509 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "# Copyright (c) 2016-2017 Bennet Carstensen\n#\n# Permission is hereby granted, free of charge,",
"end": 43,
"score": 0.9998496174812317,
"start": 26,
"tag": "NAME",
"value": "Bennet Carstensen"
}
] | lib/ui.coffee | BenSolus/linter-clcc | 0 | # Copyright (c) 2016-2017 Bennet Carstensen
#
# 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... | 204119 | # Copyright (c) 2016-2017 <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,
# distr... | true | # Copyright (c) 2016-2017 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, pu... |
[
{
"context": " email: $scope.user.email\n password: $scope.user.password\n confirmPassword: $scop",
"end": 2522,
"score": 0.8195019364356995,
"start": 2522,
"tag": "PASSWORD",
"value": ""
},
{
"context": " email: $scope.user.email\n password: $scope.u... | src/client/auth/auth.coffee | yournal/YournalProject | 1 | module = angular.module 'yournal.auth', ['yournal.services']
module.config [
'$stateProvider',
($stateProvider) ->
$stateProvider.state('login',
url: '/login'
templateUrl: 'public/yournal/js/auth/auth-login.html'
controller: 'yournal.auth.LoginCtrl'
data:
access:
deny:... | 129229 | module = angular.module 'yournal.auth', ['yournal.services']
module.config [
'$stateProvider',
($stateProvider) ->
$stateProvider.state('login',
url: '/login'
templateUrl: 'public/yournal/js/auth/auth-login.html'
controller: 'yournal.auth.LoginCtrl'
data:
access:
deny:... | true | module = angular.module 'yournal.auth', ['yournal.services']
module.config [
'$stateProvider',
($stateProvider) ->
$stateProvider.state('login',
url: '/login'
templateUrl: 'public/yournal/js/auth/auth-login.html'
controller: 'yournal.auth.LoginCtrl'
data:
access:
deny:... |
[
{
"context": "#\n# grunt-colorswap\n# https://github.com/meyer/grunt-colorswap\n#\n# Copyright (c) 2014 Mike Meyer",
"end": 46,
"score": 0.9988757967948914,
"start": 41,
"tag": "USERNAME",
"value": "meyer"
},
{
"context": "b.com/meyer/grunt-colorswap\n#\n# Copyright (c) 2014 Mike Mey... | Gruntfile.coffee | meyer/grunt-colorswap | 0 | #
# grunt-colorswap
# https://github.com/meyer/grunt-colorswap
#
# Copyright (c) 2014 Mike Meyer
# Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
demoFileObj = [{
expand: true
cwd: "test/fixtures/"
src: ["*.svg"]
dest: "test/expected/"
ext: (ext) ->
return ext if grunt.task.cu... | 109707 | #
# grunt-colorswap
# https://github.com/meyer/grunt-colorswap
#
# Copyright (c) 2014 <NAME>
# Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
demoFileObj = [{
expand: true
cwd: "test/fixtures/"
src: ["*.svg"]
dest: "test/expected/"
ext: (ext) ->
return ext if grunt.task.curren... | true | #
# grunt-colorswap
# https://github.com/meyer/grunt-colorswap
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
demoFileObj = [{
expand: true
cwd: "test/fixtures/"
src: ["*.svg"]
dest: "test/expected/"
ext: (ext) ->
return ext if gru... |
[
{
"context": "key: 'emphasis'\npatterns: [\n # TODO remove 'interword' class wh",
"end": 14,
"score": 0.9115886688232422,
"start": 6,
"tag": "KEY",
"value": "emphasis"
}
] | grammars/repositories/inlines/emphasis.cson | doc22940/language-markdown | 138 | key: 'emphasis'
patterns: [
# TODO remove 'interword' class when done
# TODO interword doesn't need multiline?
#
# TODO 356 multiline
# TODO 367 multiline
# TODO 370 (ignore?)
# TODO 373 (ignore?)
# TODO 374
# TODO 382 multiline
# TODO 388 (ignore?)
# TODO 391 multiline
# TODO 398
# TODO 401
... | 203862 | key: '<KEY>'
patterns: [
# TODO remove 'interword' class when done
# TODO interword doesn't need multiline?
#
# TODO 356 multiline
# TODO 367 multiline
# TODO 370 (ignore?)
# TODO 373 (ignore?)
# TODO 374
# TODO 382 multiline
# TODO 388 (ignore?)
# TODO 391 multiline
# TODO 398
# TODO 401
# ... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# TODO remove 'interword' class when done
# TODO interword doesn't need multiline?
#
# TODO 356 multiline
# TODO 367 multiline
# TODO 370 (ignore?)
# TODO 373 (ignore?)
# TODO 374
# TODO 382 multiline
# TODO 388 (ignore?)
# TODO 391 multiline
# TODO 398
# ... |
[
{
"context": "t: '%HOST%'\n\t\tport: 13306\n\t\tuser: '%USER%'\n\t\tpass: '%PASS%'\n}\n",
"end": 225,
"score": 0.8721475005149841,
"start": 219,
"tag": "PASSWORD",
"value": "'%PASS"
}
] | lib/db.conf.cson | stpettersens/mysql-as-mongo | 0 | #
# Define MySQL database configuration.
# Copy this file as <db.mysql.cson> to use.
# Important: This file must be UTF-8 encoded!
#
{
db:
schema: '%SCHEMA%'
host: '%HOST%'
port: 13306
user: '%USER%'
pass: '%PASS%'
}
| 104018 | #
# Define MySQL database configuration.
# Copy this file as <db.mysql.cson> to use.
# Important: This file must be UTF-8 encoded!
#
{
db:
schema: '%SCHEMA%'
host: '%HOST%'
port: 13306
user: '%USER%'
pass: <PASSWORD>%'
}
| true | #
# Define MySQL database configuration.
# Copy this file as <db.mysql.cson> to use.
# Important: This file must be UTF-8 encoded!
#
{
db:
schema: '%SCHEMA%'
host: '%HOST%'
port: 13306
user: '%USER%'
pass: PI:PASSWORD:<PASSWORD>END_PI%'
}
|
[
{
"context": "=\n uuid: process.env.MESHBLU_UUID\n token: process.env.MESHBLU_TOKEN\n protocol: process.env.MESHBLU_PR",
"end": 686,
"score": 0.5730544328689575,
"start": 675,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": " process.env.MESHBLU_UUID\n token:... | server.coffee | iotrentil/rentil-authenticator-email-password | 0 | require('dotenv').config { silent: true }
express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
cors = require 'cors'
MeshbluHttp = require 'meshblu-http'
OctobluRaven = require 'octoblu-raven'
meshbluHealthcheck = require 'ex... | 142648 | require('dotenv').config { silent: true }
express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
cors = require 'cors'
MeshbluHttp = require 'meshblu-http'
OctobluRaven = require 'octoblu-raven'
meshbluHealthcheck = require 'ex... | true | require('dotenv').config { silent: true }
express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
cors = require 'cors'
MeshbluHttp = require 'meshblu-http'
OctobluRaven = require 'octoblu-raven'
meshbluHealthcheck = require 'ex... |
[
{
"context": "Accounts.emailTemplates.from = \"Eu Ajudo <no-reply@carddi.mobi>\";\n\nif Meteor.settings.MAIL",
"end": 40,
"score": 0.9997126460075378,
"start": 32,
"tag": "NAME",
"value": "Eu Ajudo"
},
{
"context": "Accounts.emailTemplates.from = \"Eu Ajudo <no-reply@carddi.mobi>\";\... | server/lib/emailConfig.coffee | euajudo/web | 0 | Accounts.emailTemplates.from = "Eu Ajudo <no-reply@carddi.mobi>";
if Meteor.settings.MAIL_URL?
console.log 'setting email', Meteor.settings.MAIL_URL
process.env.MAIL_URL = Meteor.settings.MAIL_URL | 130313 | Accounts.emailTemplates.from = "<NAME> <<EMAIL>>";
if Meteor.settings.MAIL_URL?
console.log 'setting email', Meteor.settings.MAIL_URL
process.env.MAIL_URL = Meteor.settings.MAIL_URL | true | Accounts.emailTemplates.from = "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>";
if Meteor.settings.MAIL_URL?
console.log 'setting email', Meteor.settings.MAIL_URL
process.env.MAIL_URL = Meteor.settings.MAIL_URL |
[
{
"context": "'use strict'\n\n###\n *\n * Copyright(c) 2011 Vladimir Dronnikov <dronnikov@gmail.com>\n * MIT Licensed\n *\n###\n\n###",
"end": 60,
"score": 0.9997101426124573,
"start": 42,
"tag": "NAME",
"value": "Vladimir Dronnikov"
},
{
"context": "\n\n###\n *\n * Copyright(c) 2011... | src/rql.coffee | dvv/underscore-data | 5 | 'use strict'
###
*
* Copyright(c) 2011 Vladimir Dronnikov <dronnikov@gmail.com>
* MIT Licensed
*
###
###
Rewrite of kriszyp's RQL https://github.com/kriszyp/rql
Relies on documentcloud/underscore to normalize JS
###
operatorMap =
'=': 'eq'
'==': 'eq'
'>': 'gt'
'>=': 'ge'
'<': 'lt'
'<=': 'le'
'!=': 'ne'
... | 223515 | 'use strict'
###
*
* Copyright(c) 2011 <NAME> <<EMAIL>>
* MIT Licensed
*
###
###
Rewrite of kriszyp's RQL https://github.com/kriszyp/rql
Relies on documentcloud/underscore to normalize JS
###
operatorMap =
'=': 'eq'
'==': 'eq'
'>': 'gt'
'>=': 'ge'
'<': 'lt'
'<=': 'le'
'!=': 'ne'
class Query
construct... | true | 'use strict'
###
*
* Copyright(c) 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* MIT Licensed
*
###
###
Rewrite of kriszyp's RQL https://github.com/kriszyp/rql
Relies on documentcloud/underscore to normalize JS
###
operatorMap =
'=': 'eq'
'==': 'eq'
'>': 'gt'
'>=': 'ge'
'<': 'lt'
'<=': 'le'
'!=': ... |
[
{
"context": "-effects\", (t) ->\n# obj = { id: 1, name: \"Some String\" }\n# actual = stringify obj\n# expected = ",
"end": 712,
"score": 0.9479506015777588,
"start": 701,
"tag": "NAME",
"value": "Some String"
},
{
"context": "ify obj\n# expected = stringify { id:... | src/specs/map.coffee | Omega3k/backwards.js | 0 | test = require "tape"
map = require( "../../build/backwards.dev" ).map
txt = "backwards.map should"
addOne = (x) -> x + 1
timesTwo = (x) -> x * 2
stringify = (x) -> "{ id: #{ x.id }, name: #{ x.name } }"
test "#{ txt } be a function", (t) ->
t.equal typeof map, "function"
t.end()
test "#{ tx... | 83465 | test = require "tape"
map = require( "../../build/backwards.dev" ).map
txt = "backwards.map should"
addOne = (x) -> x + 1
timesTwo = (x) -> x * 2
stringify = (x) -> "{ id: #{ x.id }, name: #{ x.name } }"
test "#{ txt } be a function", (t) ->
t.equal typeof map, "function"
t.end()
test "#{ tx... | true | test = require "tape"
map = require( "../../build/backwards.dev" ).map
txt = "backwards.map should"
addOne = (x) -> x + 1
timesTwo = (x) -> x * 2
stringify = (x) -> "{ id: #{ x.id }, name: #{ x.name } }"
test "#{ txt } be a function", (t) ->
t.equal typeof map, "function"
t.end()
test "#{ tx... |
[
{
"context": "mat', ->\n bucket = 'fakebucket'\n key = '12345'\n localfile = 'fakefilename'\n url = S3.",
"end": 3340,
"score": 0.9996351003646851,
"start": 3335,
"tag": "KEY",
"value": "12345"
},
{
"context": "Meteor.settings.tests.aws.testbucket\n testkey = '... | packages/nog-s3/nog-s3-tests.coffee | nogproject/nog | 0 | # To run the tests, provide --settings:
exampleSettings = {
"AWSAccessKeyId": "<keyid>",
"AWSSecretAccessKey": "<secretkey>",
"AWSBucketRegion": "<region>",
"tests": {
"aws": {
"testbucket": "<bucket>"
}
}
}
# A production bucket can be used as a test bucket at the same tim... | 136614 | # To run the tests, provide --settings:
exampleSettings = {
"AWSAccessKeyId": "<keyid>",
"AWSSecretAccessKey": "<secretkey>",
"AWSBucketRegion": "<region>",
"tests": {
"aws": {
"testbucket": "<bucket>"
}
}
}
# A production bucket can be used as a test bucket at the same tim... | true | # To run the tests, provide --settings:
exampleSettings = {
"AWSAccessKeyId": "<keyid>",
"AWSSecretAccessKey": "<secretkey>",
"AWSBucketRegion": "<region>",
"tests": {
"aws": {
"testbucket": "<bucket>"
}
}
}
# A production bucket can be used as a test bucket at the same tim... |
[
{
"context": "r Broadway and Main Vancouver, BC.\n#\n# Author:\n# sprice\n\nfood = [\n \"Foundation\"\n, \"Budgie's\"\n, \"Peaceful",
"end": 243,
"score": 0.9997009038925171,
"start": 237,
"tag": "USERNAME",
"value": "sprice"
},
{
"context": ", \"Budgie's\"\n, \"Peaceful\"\n, \"Su... | src/scripts/rheats.coffee | Reelhouse/hubot-scripts | 0 | # Description:
# Choose where the Reelhouse team should eat for lunch
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# eats? - Returns a random place to eat near Broadway and Main Vancouver, BC.
#
# Author:
# sprice
food = [
"Foundation"
, "Budgie's"
, "Peaceful"
, "Sushi California"
, "H... | 67191 | # Description:
# Choose where the Reelhouse team should eat for lunch
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# eats? - Returns a random place to eat near Broadway and Main Vancouver, BC.
#
# Author:
# sprice
food = [
"Foundation"
, "Budgie's"
, "Peaceful"
, "Sushi California"
, "<... | true | # Description:
# Choose where the Reelhouse team should eat for lunch
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# eats? - Returns a random place to eat near Broadway and Main Vancouver, BC.
#
# Author:
# sprice
food = [
"Foundation"
, "Budgie's"
, "Peaceful"
, "Sushi California"
, "P... |
[
{
"context": "IL\n\t\t\t\t\t\t\t\tverified: true\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\tname: 'Admin'\n\n\t\t\t\t\t\tAccounts.setPassword id, process.env.ADMI",
"end": 824,
"score": 0.5379582643508911,
"start": 819,
"tag": "NAME",
"value": "Admin"
}
] | server/startup/initialData.coffee | ImpressiveSetOfIntelligentStudents/chat | 0 | Meteor.startup ->
Meteor.defer ->
if not RocketChat.models.Rooms.findOneById('GENERAL')?
RocketChat.models.Rooms.createWithIdTypeAndName 'GENERAL', 'c', 'general',
default: true
if process.env.ADMIN_EMAIL? and process.env.ADMIN_PASS?
re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6... | 168837 | Meteor.startup ->
Meteor.defer ->
if not RocketChat.models.Rooms.findOneById('GENERAL')?
RocketChat.models.Rooms.createWithIdTypeAndName 'GENERAL', 'c', 'general',
default: true
if process.env.ADMIN_EMAIL? and process.env.ADMIN_PASS?
re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6... | true | Meteor.startup ->
Meteor.defer ->
if not RocketChat.models.Rooms.findOneById('GENERAL')?
RocketChat.models.Rooms.createWithIdTypeAndName 'GENERAL', 'c', 'general',
default: true
if process.env.ADMIN_EMAIL? and process.env.ADMIN_PASS?
re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6... |
[
{
"context": "y pixel on 2D HTML5 canvas\n# https://github.com/linusyang/jscube\n#\n# Copyright (c) 2013 Linus Yang\n#\n\ncla",
"end": 101,
"score": 0.9992411732673645,
"start": 92,
"tag": "USERNAME",
"value": "linusyang"
},
{
"context": "thub.com/linusyang/jscube\n#\n# Copyrig... | src/basic.coffee | linusyang/jscube | 2 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 Linus Yang
#
class @Shape
constructor: ->
@vertices = []
@quads = []
class @GraphShape
constructor: (s, c, t) ->
@shape = s
@color = c
@trans = t
class @Camera... | 112776 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 <NAME>
#
class @Shape
constructor: ->
@vertices = []
@quads = []
class @GraphShape
constructor: (s, c, t) ->
@shape = s
@color = c
@trans = t
class @Camera
c... | true | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
class @Shape
constructor: ->
@vertices = []
@quads = []
class @GraphShape
constructor: (s, c, t) ->
@shape = s
@color = c
@trans = t
cla... |
[
{
"context": "require '../..'\n\nkm = locked = null\npassphrase = \"alpha pickle foxtrot bananas\"\npassphrase_generation = 3\n\nexports.gen_new_key =",
"end": 94,
"score": 0.99924635887146,
"start": 66,
"tag": "PASSWORD",
"value": "alpha pickle foxtrot bananas"
},
{
"context": "b) -... | test/files/p3skb.iced | samkenxstream/kbpgp | 464 |
{KeyManager} = require '../..'
km = locked = null
passphrase = "alpha pickle foxtrot bananas"
passphrase_generation = 3
exports.gen_new_key = (T,cb) ->
await KeyManager.generate_ecc { userid : "test@test.com" }, T.esc(defer(tmp), cb)
km = tmp
await km.sign {}, T.esc(defer(), cb)
cb()
exports.lock_p3skb = (T... | 173285 |
{KeyManager} = require '../..'
km = locked = null
passphrase = "<PASSWORD>"
passphrase_generation = 3
exports.gen_new_key = (T,cb) ->
await KeyManager.generate_ecc { userid : "<EMAIL>" }, T.esc(defer(tmp), cb)
km = tmp
await km.sign {}, T.esc(defer(), cb)
cb()
exports.lock_p3skb = (T,cb) ->
await km.expor... | true |
{KeyManager} = require '../..'
km = locked = null
passphrase = "PI:PASSWORD:<PASSWORD>END_PI"
passphrase_generation = 3
exports.gen_new_key = (T,cb) ->
await KeyManager.generate_ecc { userid : "PI:EMAIL:<EMAIL>END_PI" }, T.esc(defer(tmp), cb)
km = tmp
await km.sign {}, T.esc(defer(), cb)
cb()
exports.lock_p... |
[
{
"context": "ash', User.hashPassword(pwd))\n @set('password', undefined)\n if @get('email') and @get('anonymous')\n @se",
"end": 2374,
"score": 0.9610125422477722,
"start": 2365,
"tag": "PASSWORD",
"value": "undefined"
},
{
"context": ".statics.hashPassword = (password) ->\n ... | server/users/User.coffee | JeremyGeros/codecombat | 1 | mongoose = require('mongoose')
jsonschema = require('./user_schema')
crypto = require('crypto')
{salt, isProduction} = require('../../server_config')
mail = require '../commons/mail'
log = require 'winston'
sendwithus = require '../sendwithus'
UserSchema = new mongoose.Schema({
dateCreated:
type: Date
'defa... | 97295 | mongoose = require('mongoose')
jsonschema = require('./user_schema')
crypto = require('crypto')
{salt, isProduction} = require('../../server_config')
mail = require '../commons/mail'
log = require 'winston'
sendwithus = require '../sendwithus'
UserSchema = new mongoose.Schema({
dateCreated:
type: Date
'defa... | true | mongoose = require('mongoose')
jsonschema = require('./user_schema')
crypto = require('crypto')
{salt, isProduction} = require('../../server_config')
mail = require '../commons/mail'
log = require 'winston'
sendwithus = require '../sendwithus'
UserSchema = new mongoose.Schema({
dateCreated:
type: Date
'defa... |
[
{
"context": "ONPage.__set__\n S3_KEY: 'test_key'\n S3_SECRET: 'test_secret'\n APPLICATION_NAME: 'test_name'\n\ndescribe",
"end": 191,
"score": 0.5863515734672546,
"start": 187,
"tag": "KEY",
"value": "test"
}
] | components/json_page/test/index.coffee | l2succes/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
request = require 'superagent'
JSONPage = rewire '../index'
JSONPage.__set__
S3_KEY: 'test_key'
S3_SECRET: 'test_secret'
APPLICATION_NAME: 'test_name'
describe 'JSONPage', ->
beforeEach ->
@page = new JSONPage name: 'test'
descri... | 39928 | _ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
request = require 'superagent'
JSONPage = rewire '../index'
JSONPage.__set__
S3_KEY: 'test_key'
S3_SECRET: '<KEY>_secret'
APPLICATION_NAME: 'test_name'
describe 'JSONPage', ->
beforeEach ->
@page = new JSONPage name: 'test'
descr... | true | _ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
request = require 'superagent'
JSONPage = rewire '../index'
JSONPage.__set__
S3_KEY: 'test_key'
S3_SECRET: 'PI:KEY:<KEY>END_PI_secret'
APPLICATION_NAME: 'test_name'
describe 'JSONPage', ->
beforeEach ->
@page = new JSONPage name: 't... |
[
{
"context": "[\n {\n uuid: 'hello'\n token: 'this-should-exist'\n meshblu:\n createdAt: 'Tue Jul 05 2001 2",
"end": 53,
"score": 0.9987444877624512,
"start": 36,
"tag": "PASSWORD",
"value": "this-should-exist"
},
{
"context": "1 23:13:19 GMT-0700 (MST)'\n tokens:... | test/migrations/remove-device-tokens/assets/devices.cson | octoblu/meshblu-core-migrations | 0 | [
{
uuid: 'hello'
token: 'this-should-exist'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
tokens:
'this-is-something-awesome':
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
'this-is-kinda-awesome':
createdAt: 'Tue Jul 05 2016 23:13:19... | 192526 | [
{
uuid: 'hello'
token: '<PASSWORD>'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
tokens:
'<PASSWORD>-something-<PASSWORD>':
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
'this-is-kinda-awesome':
createdAt: 'Tue Jul 05 2016 23:13:19 ... | true | [
{
uuid: 'hello'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
tokens:
'PI:PASSWORD:<PASSWORD>END_PI-something-PI:PASSWORD:<PASSWORD>END_PI':
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
'this-is-kinda-awe... |
[
{
"context": " url: url\n data:\n private_token: gon.api_token\n dataType: \"json\"\n ).done (group",
"end": 573,
"score": 0.5688557624816895,
"start": 573,
"tag": "PASSWORD",
"value": ""
}
] | app/assets/javascripts/api.js.coffee | gnicol/GitSwarm | 0 | @Api =
groupsPath: "/api/:version/groups.json"
groupPath: "/api/:version/groups/:id.json"
namespacesPath: "/api/:version/namespaces.json"
groupProjectsPath: "/api/:version/groups/:id/projects.json"
projectsPath: "/api/:version/projects.json"
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/a... | 157096 | @Api =
groupsPath: "/api/:version/groups.json"
groupPath: "/api/:version/groups/:id.json"
namespacesPath: "/api/:version/namespaces.json"
groupProjectsPath: "/api/:version/groups/:id/projects.json"
projectsPath: "/api/:version/projects.json"
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/a... | true | @Api =
groupsPath: "/api/:version/groups.json"
groupPath: "/api/:version/groups/:id.json"
namespacesPath: "/api/:version/namespaces.json"
groupProjectsPath: "/api/:version/groups/:id/projects.json"
projectsPath: "/api/:version/projects.json"
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/a... |
[
{
"context": "x': 'mailto'\n 'body': '<a href=\"mailto:${1:Email@Address.com}\">${2:Text}</a>$3'\n\n '':\n 'prefix': ''\n",
"end": 1459,
"score": 0.9998700022697449,
"start": 1442,
"tag": "EMAIL",
"value": "Email@Address.com"
}
] | snippets/html-snippets.cson | hohaicongthuan/op-nhom1demo | 0 | ".source.html":
'HTML Snippet Test':
'prefix': 'html-test'
'body': """
# This is a HTML snippet test!
"""
'Basic HTML Template':
'prefix': 'html-basic'
'body': """
<!DOCTYPE html>
<html>
<head>
<meta... | 192762 | ".source.html":
'HTML Snippet Test':
'prefix': 'html-test'
'body': """
# This is a HTML snippet test!
"""
'Basic HTML Template':
'prefix': 'html-basic'
'body': """
<!DOCTYPE html>
<html>
<head>
<meta... | true | ".source.html":
'HTML Snippet Test':
'prefix': 'html-test'
'body': """
# This is a HTML snippet test!
"""
'Basic HTML Template':
'prefix': 'html-basic'
'body': """
<!DOCTYPE html>
<html>
<head>
<meta... |
[
{
"context": "lass ScanDaemonsBrew extends ScanDaemons\n name: \"Brew\"\n dirPath: \"/usr/local/opt/\"\n re: /^([\\w\\.]+)\\.",
"end": 2246,
"score": 0.609015703201294,
"start": 2242,
"tag": "NAME",
"value": "Brew"
}
] | lib/scan-deamons.coffee | mulian/smart-daemon-controll | 0 | {Directory} = require 'atom'
DaemonItem = require "./daemon-item"
{BufferedProcess} = require 'atom'
class ScanDaemons #extends this
name : null #OS name
dirPath: null #dir path of deamon start/stop
re: null #search Regular Expression
formatDaemonItem: (file) -> #transform Filename to Daemon Name & run-... | 21102 | {Directory} = require 'atom'
DaemonItem = require "./daemon-item"
{BufferedProcess} = require 'atom'
class ScanDaemons #extends this
name : null #OS name
dirPath: null #dir path of deamon start/stop
re: null #search Regular Expression
formatDaemonItem: (file) -> #transform Filename to Daemon Name & run-... | true | {Directory} = require 'atom'
DaemonItem = require "./daemon-item"
{BufferedProcess} = require 'atom'
class ScanDaemons #extends this
name : null #OS name
dirPath: null #dir path of deamon start/stop
re: null #search Regular Expression
formatDaemonItem: (file) -> #transform Filename to Daemon Name & run-... |
[
{
"context": "=>\n\n Coconut.database.allDocs\n startkey: \"result\"\n endkey: \"result\\uf000\"\n include_docs:",
"end": 3787,
"score": 0.8880637288093567,
"start": 3781,
"tag": "KEY",
"value": "result"
},
{
"context": "e.allDocs\n startkey: \"result\"\n ... | _attachments/app/views/ResultsView.coffee | Coconut-Data/coconut-mobile | 0 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
formatDistance = require('date-fns/formatDistance')
parse = require('date-fns/parse')
#$.DataTable = require('datatables')()
global.Tabulator = require 'tabulator-tables'
Question = require '../models... | 22229 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
formatDistance = require('date-fns/formatDistance')
parse = require('date-fns/parse')
#$.DataTable = require('datatables')()
global.Tabulator = require 'tabulator-tables'
Question = require '../models... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
formatDistance = require('date-fns/formatDistance')
parse = require('date-fns/parse')
#$.DataTable = require('datatables')()
global.Tabulator = require 'tabulator-tables'
Question = require '../models... |
[
{
"context": "nder(\"{% include 'fixtures/include' %}\", { name: 'Josh'})).to.be.fulfilled.then (output) ->\n expe",
"end": 1518,
"score": 0.9637311100959778,
"start": 1514,
"tag": "NAME",
"value": "Josh"
},
{
"context": "r(\"{% include 'fixtures/subinclude' %}\", { name: 'Jos... | test/liquid.coffee | innerfunction/liquid-node | 1 | Liquid = requireLiquid()
describe "Liquid", ->
beforeEach -> @engine = new Liquid.Engine
context "parseAndRender", ->
it "is supported", ->
expect(@engine.parseAndRender("{{ foo }}", foo: 123)).to.be.fulfilled.then (output) ->
expect(output).to.be.eq "123"
context "parser", ->
it "parses ... | 176354 | Liquid = requireLiquid()
describe "Liquid", ->
beforeEach -> @engine = new Liquid.Engine
context "parseAndRender", ->
it "is supported", ->
expect(@engine.parseAndRender("{{ foo }}", foo: 123)).to.be.fulfilled.then (output) ->
expect(output).to.be.eq "123"
context "parser", ->
it "parses ... | true | Liquid = requireLiquid()
describe "Liquid", ->
beforeEach -> @engine = new Liquid.Engine
context "parseAndRender", ->
it "is supported", ->
expect(@engine.parseAndRender("{{ foo }}", foo: 123)).to.be.fulfilled.then (output) ->
expect(output).to.be.eq "123"
context "parser", ->
it "parses ... |
[
{
"context": "ocation\n id: 'partner-location'\n name: 'Partner Location'\n city: 'City'\n address: 'Address'\n ",
"end": 619,
"score": 0.8047704100608826,
"start": 603,
"tag": "NAME",
"value": "Partner Location"
},
{
"context": "ocation\n id: 'partner-loc... | src/desktop/test/models/partner_location.coffee | kanaabe/force | 1 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
PartnerLocation = require '../../models/partner_location'
{ getDirections } = require "../../components/util/google_maps.coffee"
describe 'PartnerLocation', ->
... | 124657 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
PartnerLocation = require '../../models/partner_location'
{ getDirections } = require "../../components/util/google_maps.coffee"
describe 'PartnerLocation', ->
... | true | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
PartnerLocation = require '../../models/partner_location'
{ getDirections } = require "../../components/util/google_maps.coffee"
describe 'PartnerLocation', ->
... |
[
{
"context": "# Description:\n# welcome\n#\n# Author:\n# saihoooooooo\n\nicons = [\n { name: 'アオリ', img: 'aori.png', mess",
"end": 55,
"score": 0.9997162818908691,
"start": 43,
"tag": "USERNAME",
"value": "saihoooooooo"
},
{
"context": "\n# Author:\n# saihoooooooo\n\nicons = [... | scripts/welcome.coffee | saihoooooooo/ikabot | 1 | # Description:
# welcome
#
# Author:
# saihoooooooo
icons = [
{ name: 'アオリ', img: 'aori.png', messages: [
'ようこそ!'
'イカ、よろしくーーー!'
] }
{ name: 'ホタル', img: 'hotaru.png', messages: [
'いらっしゃ〜い'
'イカ、よろしく〜〜〜'
] }
{ name: 'ヒメ', img: 'hime.png', messages: [
'ヨロシク!'
'こんちゃーっ!'
] }
{ name:... | 124039 | # Description:
# welcome
#
# Author:
# saihoooooooo
icons = [
{ name: '<NAME>', img: 'aori.png', messages: [
'ようこそ!'
'イカ、よろしくーーー!'
] }
{ name: '<NAME>', img: 'hotaru.png', messages: [
'いらっしゃ〜い'
'イカ、よろしく〜〜〜'
] }
{ name: '<NAME>', img: 'hime.png', messages: [
'ヨロシク!'
'こんちゃーっ!'
] }... | true | # Description:
# welcome
#
# Author:
# saihoooooooo
icons = [
{ name: 'PI:NAME:<NAME>END_PI', img: 'aori.png', messages: [
'ようこそ!'
'イカ、よろしくーーー!'
] }
{ name: 'PI:NAME:<NAME>END_PI', img: 'hotaru.png', messages: [
'いらっしゃ〜い'
'イカ、よろしく〜〜〜'
] }
{ name: 'PI:NAME:<NAME>END_PI', img: 'hime.png', m... |
[
{
"context": "ringLink = (recording_id) ->\n api_key = 'goea67jyo7i63nf4xdtjn59npnfcee5l'\n api_salt = 't9mp7vdltmhn0nhnq0x4vwha9nc",
"end": 2127,
"score": 0.9997511506080627,
"start": 2095,
"tag": "KEY",
"value": "goea67jyo7i63nf4xdtjn59npnfcee5l"
},
{
"context": "7... | resources/assets/coffee/controllers/calls.coffee | maxflex/egerep | 0 | angular
.module 'Egerep'
.controller 'CallsIndex', ($rootScope, $scope, $timeout, $http, UserService, CallStatuses, $interval) ->
bindArguments($scope, arguments)
$rootScope.frontend_loading = true
# $scope.refreshCounts = ->
# $timeout ->
# $('.selectpicker option').each (index, el) ->... | 69887 | angular
.module 'Egerep'
.controller 'CallsIndex', ($rootScope, $scope, $timeout, $http, UserService, CallStatuses, $interval) ->
bindArguments($scope, arguments)
$rootScope.frontend_loading = true
# $scope.refreshCounts = ->
# $timeout ->
# $('.selectpicker option').each (index, el) ->... | true | angular
.module 'Egerep'
.controller 'CallsIndex', ($rootScope, $scope, $timeout, $http, UserService, CallStatuses, $interval) ->
bindArguments($scope, arguments)
$rootScope.frontend_loading = true
# $scope.refreshCounts = ->
# $timeout ->
# $('.selectpicker option').each (index, el) ->... |
[
{
"context": "er.logToConsole = true;\n\n pusher = new Pusher('cba436e88472fa7154a2', {\n cluster: 'eu',\n encrypted: true\n ",
"end": 1811,
"score": 0.7669341564178467,
"start": 1791,
"tag": "PASSWORD",
"value": "cba436e88472fa7154a2"
}
] | app/scripts/controllers.coffee | kynan/UniversityChallenge | 0 | 'use strict'
angular.module('UniversityChallengeApp')
.controller 'TeamListCtrl', ($scope, Team) ->
$scope.teams = Team.query()
.controller 'TeamCreateCtrl', ($scope, $location, Team) ->
$scope.save = () ->
Team.save $scope.team, (team) ->
$location.path '/teams'
.controller 'TeamEditCtrl... | 216627 | 'use strict'
angular.module('UniversityChallengeApp')
.controller 'TeamListCtrl', ($scope, Team) ->
$scope.teams = Team.query()
.controller 'TeamCreateCtrl', ($scope, $location, Team) ->
$scope.save = () ->
Team.save $scope.team, (team) ->
$location.path '/teams'
.controller 'TeamEditCtrl... | true | 'use strict'
angular.module('UniversityChallengeApp')
.controller 'TeamListCtrl', ($scope, Team) ->
$scope.teams = Team.query()
.controller 'TeamCreateCtrl', ($scope, $location, Team) ->
$scope.save = () ->
Team.save $scope.team, (team) ->
$location.path '/teams'
.controller 'TeamEditCtrl... |
[
{
"context": "-- gitrelease ---\n\nReleased under MIT license.\n\nby Gustavo Vargas - @xgvargas - 2017\n\nOriginal coffee code and issu",
"end": 71,
"score": 0.9998777508735657,
"start": 57,
"tag": "NAME",
"value": "Gustavo Vargas"
},
{
"context": "\n\nReleased under MIT license.\n\n... | src/gitrelease.coffee | xgvargas/gitrelease | 0 | ###!
--- gitrelease ---
Released under MIT license.
by Gustavo Vargas - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/gitrelease
###
yargs = require 'yargs'
Promise = require 'bluebird'
chalk = require 'chalk'
path = require 'path'
request = require 'request'
inquirer = requ... | 26253 | ###!
--- gitrelease ---
Released under MIT license.
by <NAME> - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/gitrelease
###
yargs = require 'yargs'
Promise = require 'bluebird'
chalk = require 'chalk'
path = require 'path'
request = require 'request'
inquirer = require 'inq... | true | ###!
--- gitrelease ---
Released under MIT license.
by PI:NAME:<NAME>END_PI - @xgvargas - 2017
Original coffee code and issues at: https://github.com/xgvargas/gitrelease
###
yargs = require 'yargs'
Promise = require 'bluebird'
chalk = require 'chalk'
path = require 'path'
request = require 'request'
inquirer ... |
[
{
"context": "'firstName': 'John'\n'lastName': 'Smith'\n 'isAlive': false\n'age': 27",
"end": 18,
"score": 0.9998699426651001,
"start": 14,
"tag": "NAME",
"value": "John"
},
{
"context": "'firstName': 'John'\n'lastName': 'Smith'\n 'isAlive': false\n'age': 27\n",
"end": 38,
... | test/fixtures/invalid.cson | idleberg/node-is-cson | 0 | 'firstName': 'John'
'lastName': 'Smith'
'isAlive': false
'age': 27
| 74575 | 'firstName': '<NAME>'
'lastName': '<NAME>'
'isAlive': false
'age': 27
| true | 'firstName': 'PI:NAME:<NAME>END_PI'
'lastName': 'PI:NAME:<NAME>END_PI'
'isAlive': false
'age': 27
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.