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": "iew Disallows unnecessary `return await`\n# @author Jordan Harband\n###\n'use strict'\n\nastUtils = require '../eslint-a",
"end": 82,
"score": 0.9998648762702942,
"start": 68,
"tag": "NAME",
"value": "Jordan Harband"
}
] | src/rules/no-return-await.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows unnecessary `return await`
# @author Jordan Harband
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------... | 131847 | ###*
# @fileoverview Disallows unnecessary `return await`
# @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
messag... | true | ###*
# @fileoverview Disallows unnecessary `return await`
# @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------... |
[
{
"context": "\nsong = [\"do\", \"re\", \"mi\", \"fa\", \"so\"]\nsingers = {Jagger: \"Rock\", Elvis: \"Roll\"}\nbitlist = [\n 1, 0, 1\n 0",
"end": 1154,
"score": 0.6578418612480164,
"start": 1148,
"tag": "NAME",
"value": "Jagger"
},
{
"context": "\"re\", \"mi\", \"fa\", \"so\"]\nsi... | demo/coffee-script-demo/hello.coffee | xiaomailong/prestudy | 2 | # 赋值:
number = 42
opposite = true
# 条件:
number = -42 if opposite
# 函数:
square = (x) -> x * x
# 数组:
list = [1, 2, 3, 4, 5]
# 对象:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# 存在性:
console.log "I knew it!" if elvis?
# ... | 143528 | # 赋值:
number = 42
opposite = true
# 条件:
number = -42 if opposite
# 函数:
square = (x) -> x * x
# 数组:
list = [1, 2, 3, 4, 5]
# 对象:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# 存在性:
console.log "I knew it!" if elvis?
# ... | true | # 赋值:
number = 42
opposite = true
# 条件:
number = -42 if opposite
# 函数:
square = (x) -> x * x
# 数组:
list = [1, 2, 3, 4, 5]
# 对象:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# 存在性:
console.log "I knew it!" if elvis?
# ... |
[
{
"context": "de.component]\n nodeState =\n key: node.id\n icon: c._icons[node.id] or lib.icon or un",
"end": 1103,
"score": 0.602354109287262,
"start": 1101,
"tag": "KEY",
"value": "id"
},
{
"context": "shAddressable = (side, direction, hash) ->\n key = \"#{side.... | components/MakeGraphStore.coffee | forresto/the-graph | 1 | noflo = require 'noflo'
# Constants = require '../src/Constants'
Constants =
Error:
NEED_NOFLO_GRAPH: 'IP should be a valid NoFlo Graph'
exports.getComponent = ->
c = new noflo.Component
c.icon = 'hdd-o'
c._graph = null
c._library = null
c._icons = {}
c._tempPos = {}
c.buildState = () ->
retu... | 93421 | noflo = require 'noflo'
# Constants = require '../src/Constants'
Constants =
Error:
NEED_NOFLO_GRAPH: 'IP should be a valid NoFlo Graph'
exports.getComponent = ->
c = new noflo.Component
c.icon = 'hdd-o'
c._graph = null
c._library = null
c._icons = {}
c._tempPos = {}
c.buildState = () ->
retu... | true | noflo = require 'noflo'
# Constants = require '../src/Constants'
Constants =
Error:
NEED_NOFLO_GRAPH: 'IP should be a valid NoFlo Graph'
exports.getComponent = ->
c = new noflo.Component
c.icon = 'hdd-o'
c._graph = null
c._library = null
c._icons = {}
c._tempPos = {}
c.buildState = () ->
retu... |
[
{
"context": "REQUIRED: 'กรุณากรอกฟอร์มให้ครบ'\n FIRST_NAME: 'ชื่อ'\n\n GENDER: 'เพศ'\n\n HN_NUMBER: 'เลขประจำตัวผ",
"end": 1382,
"score": 0.9995681643486023,
"start": 1378,
"tag": "NAME",
"value": "ชื่อ"
},
{
"context": "IL: '{{hours}} ชั่วโมง'\n\n INCORRECT_PASSWORD: 'ร... | app/assets/javascripts/angular/translation/th.coffee | mhaii/BedManagement | 0 | angular.module('app').config ($translateProvider) ->
$translateProvider.translations 'th', {
ADD_QUEUE: 'เพิ่มคิว'
AGE: 'อายุ'
APPOINTMENT: 'วัน-เวลานัด'
AVAILABLE: 'ห้องว่าง'
AVAILABLE_BEDS: 'จำนวนเตียงว่าง'
AVAILABLE_SOON: 'ห้องใกล้ว่าง'
BED_STATUS: 'สถานะเตียง'
BOOKING: 'จองเตียง'
... | 214379 | angular.module('app').config ($translateProvider) ->
$translateProvider.translations 'th', {
ADD_QUEUE: 'เพิ่มคิว'
AGE: 'อายุ'
APPOINTMENT: 'วัน-เวลานัด'
AVAILABLE: 'ห้องว่าง'
AVAILABLE_BEDS: 'จำนวนเตียงว่าง'
AVAILABLE_SOON: 'ห้องใกล้ว่าง'
BED_STATUS: 'สถานะเตียง'
BOOKING: 'จองเตียง'
... | true | angular.module('app').config ($translateProvider) ->
$translateProvider.translations 'th', {
ADD_QUEUE: 'เพิ่มคิว'
AGE: 'อายุ'
APPOINTMENT: 'วัน-เวลานัด'
AVAILABLE: 'ห้องว่าง'
AVAILABLE_BEDS: 'จำนวนเตียงว่าง'
AVAILABLE_SOON: 'ห้องใกล้ว่าง'
BED_STATUS: 'สถานะเตียง'
BOOKING: 'จองเตียง'
... |
[
{
"context": "# Copyright Vladimir Andreev\n\n# Required modules\n\nClient = require('./client')",
"end": 28,
"score": 0.999862790107727,
"start": 12,
"tag": "NAME",
"value": "Vladimir Andreev"
}
] | src/service.coffee | tucan/smsaero | 0 | # Copyright Vladimir Andreev
# Required modules
Client = require('./client')
# SMSAero Service
class Service
# Object constructor
constructor: (options) ->
@_client = new Client(userName: options.userName, password: options.password)
#
_outputHandler: (callback) -> (error, payload) ->
return if typeof ca... | 134373 | # Copyright <NAME>
# Required modules
Client = require('./client')
# SMSAero Service
class Service
# Object constructor
constructor: (options) ->
@_client = new Client(userName: options.userName, password: options.password)
#
_outputHandler: (callback) -> (error, payload) ->
return if typeof callback isn... | true | # Copyright PI:NAME:<NAME>END_PI
# Required modules
Client = require('./client')
# SMSAero Service
class Service
# Object constructor
constructor: (options) ->
@_client = new Client(userName: options.userName, password: options.password)
#
_outputHandler: (callback) -> (error, payload) ->
return if typeo... |
[
{
"context": "###\n termap - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n Source for VectorTiles - s",
"end": 60,
"score": 0.9998695254325867,
"start": 40,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michael... | src/TileSource.coffee | 82ndAirborneDiv/mapsc | 1 | ###
termap - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
Source for VectorTiles - supports
* remote TileServer
* local MBTiles and VectorTiles
###
Promise = require 'bluebird'
userhome = require 'userhome'
fetch = require 'node-fetch'
fs = require 'fs'
Tile = require './Tile'
config = r... | 31417 | ###
termap - Terminal Map Viewer
by <NAME> <<EMAIL>>
Source for VectorTiles - supports
* remote TileServer
* local MBTiles and VectorTiles
###
Promise = require 'bluebird'
userhome = require 'userhome'
fetch = require 'node-fetch'
fs = require 'fs'
Tile = require './Tile'
config = require './config'
# htt... | true | ###
termap - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Source for VectorTiles - supports
* remote TileServer
* local MBTiles and VectorTiles
###
Promise = require 'bluebird'
userhome = require 'userhome'
fetch = require 'node-fetch'
fs = require 'fs'
Tile = require './Tile'
confi... |
[
{
"context": "feescript/src/sourcemap.coffee(https://github.com/jashkenas/coffeescript)\n Thanks to Jeremy Ashkenas\n Some",
"end": 90,
"score": 0.988105297088623,
"start": 81,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "://github.com/jashkenas/coffeescript)\n Thanks... | src/sourcemap.coffee | taijiweb/taijilang | 34 | ###
this file is based on coffeescript/src/sourcemap.coffee(https://github.com/jashkenas/coffeescript)
Thanks to Jeremy Ashkenas
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 Jeremy Ashkenas
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of charge, t... | 33388 | ###
this file is based on coffeescript/src/sourcemap.coffee(https://github.com/jashkenas/coffeescript)
Thanks to <NAME>
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 <NAME>
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of charge, to any person
obtai... | true | ###
this file is based on coffeescript/src/sourcemap.coffee(https://github.com/jashkenas/coffeescript)
Thanks to PI:NAME:<NAME>END_PI
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 PI:NAME:<NAME>END_PI
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of... |
[
{
"context": "# *Author: Sergej Jakovljev*\n\n# **[PassKit](http://www.passkit.com/)** is a s",
"end": 27,
"score": 0.9998750686645508,
"start": 11,
"tag": "NAME",
"value": "Sergej Jakovljev"
},
{
"context": " this library from \n# [Github](https://github.com/srolija/node-passkit).\n... | src/passkit.coffee | srolija/node-passkit | 1 | # *Author: Sergej Jakovljev*
# **[PassKit](http://www.passkit.com/)** is a simple service used for using
# Passbook passes in web and other applications.
# This library makes using PassKit API simple by removing overhead of
# authenticating using Digest authentication and by implementing all of the
# available API ... | 5035 | # *Author: <NAME>*
# **[PassKit](http://www.passkit.com/)** is a simple service used for using
# Passbook passes in web and other applications.
# This library makes using PassKit API simple by removing overhead of
# authenticating using Digest authentication and by implementing all of the
# available API endpoints ... | true | # *Author: PI:NAME:<NAME>END_PI*
# **[PassKit](http://www.passkit.com/)** is a simple service used for using
# Passbook passes in web and other applications.
# This library makes using PassKit API simple by removing overhead of
# authenticating using Digest authentication and by implementing all of the
# available ... |
[
{
"context": "if !id?\n\t\t\t\treturn {\n\t\t\t\t\temail: null\n\t\t\t\t\tname: \"Anonymous\"\n\t\t\t\t\tisSelf: false\n\t\t\t\t\thue: ColorManager.ANONYM",
"end": 19159,
"score": 0.9520687460899353,
"start": 19150,
"tag": "NAME",
"value": "Anonymous"
}
] | public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee | watercrossing/web-sharelatex | 0 | define [
"base",
"utils/EventEmitter"
"ide/colors/ColorManager"
"ide/review-panel/RangesTracker"
], (App, EventEmitter, ColorManager, RangesTracker) ->
App.controller "ReviewPanelController", ($scope, $element, ide, $timeout, $http, $modal, event_tracking, localStorage) ->
$reviewPanelEl = $element.find "#review... | 79327 | define [
"base",
"utils/EventEmitter"
"ide/colors/ColorManager"
"ide/review-panel/RangesTracker"
], (App, EventEmitter, ColorManager, RangesTracker) ->
App.controller "ReviewPanelController", ($scope, $element, ide, $timeout, $http, $modal, event_tracking, localStorage) ->
$reviewPanelEl = $element.find "#review... | true | define [
"base",
"utils/EventEmitter"
"ide/colors/ColorManager"
"ide/review-panel/RangesTracker"
], (App, EventEmitter, ColorManager, RangesTracker) ->
App.controller "ReviewPanelController", ($scope, $element, ide, $timeout, $http, $modal, event_tracking, localStorage) ->
$reviewPanelEl = $element.find "#review... |
[
{
"context": "\n\npoolIps = process.env.SURESPOT_CASSANDRA_IPS ? '127.0.0.1'\npoolIps = poolIps.split \":\"\n\nexports.connect = (",
"end": 381,
"score": 0.9997196197509766,
"start": 372,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ConnectionPool(\n hosts: poolIps\n... | server/cdb.coffee | SchoolOfFreelancing/SureSpot | 1 | helenus = require 'helenus'
common = require './common'
bunyan = require 'bunyan'
async = require 'async'
pool = null
debugLevel = process.env.SURESPOT_DEBUG_LEVEL ? 'debug'
bunyanStreams = [{
level: debugLevel
stream: process.stdout
}]
logger = bunyan.createLogger({
name: 'surespot'
streams: bunyanStreams
}... | 15350 | helenus = require 'helenus'
common = require './common'
bunyan = require 'bunyan'
async = require 'async'
pool = null
debugLevel = process.env.SURESPOT_DEBUG_LEVEL ? 'debug'
bunyanStreams = [{
level: debugLevel
stream: process.stdout
}]
logger = bunyan.createLogger({
name: 'surespot'
streams: bunyanStreams
}... | true | helenus = require 'helenus'
common = require './common'
bunyan = require 'bunyan'
async = require 'async'
pool = null
debugLevel = process.env.SURESPOT_DEBUG_LEVEL ? 'debug'
bunyanStreams = [{
level: debugLevel
stream: process.stdout
}]
logger = bunyan.createLogger({
name: 'surespot'
streams: bunyanStreams
}... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998892545700073,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Dom/Node.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 168052 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "n German and English for Übersicht\n# 25.Mar.2018\n# Gert Massheimer (deltaos.de)\n#\n#\n# Based on:\n# Fuzzy Time widget ",
"end": 92,
"score": 0.9998790621757507,
"start": 77,
"tag": "NAME",
"value": "Gert Massheimer"
},
{
"context": "\n#\n# Based on:\n# Fuzzy Time wi... | index.coffee | DeltaOS2/fuzzytime-with-date.widget | 2 | #
# Fuzzy Time with date in German and English for Übersicht
# 25.Mar.2018
# Gert Massheimer (deltaos.de)
#
#
# Based on:
# Fuzzy Time widget for Übersicht
# Geoff Oliver
# github.com/plan8studios/fuzzytime
# And:
# Just The Date widget for Übersicht
# Ruurd Pels
# github.com/ruurd/justthedate#
#
#
# Adjust the styles ... | 2633 | #
# Fuzzy Time with date in German and English for Übersicht
# 25.Mar.2018
# <NAME> (deltaos.de)
#
#
# Based on:
# Fuzzy Time widget for Übersicht
# <NAME>
# github.com/plan8studios/fuzzytime
# And:
# Just The Date widget for Übersicht
# <NAME>
# github.com/ruurd/justthedate#
#
#
# Adjust the styles as you like
#
style... | true | #
# Fuzzy Time with date in German and English for Übersicht
# 25.Mar.2018
# PI:NAME:<NAME>END_PI (deltaos.de)
#
#
# Based on:
# Fuzzy Time widget for Übersicht
# PI:NAME:<NAME>END_PI
# github.com/plan8studios/fuzzytime
# And:
# Just The Date widget for Übersicht
# PI:NAME:<NAME>END_PI
# github.com/ruurd/justthedate#
#... |
[
{
"context": "ass Bookmark\n\n defaults: {\n csrfToken: \"csrf_token\",\n target: \"target url\"\n }\n\n constru",
"end": 632,
"score": 0.8174610137939453,
"start": 622,
"tag": "PASSWORD",
"value": "csrf_token"
}
] | spirit/core/static/spirit/scripts/src/bookmark.coffee | xingetouzi/Spirit | 1 | ###
A library to tell the server how far you have scrolled down.
requires: waypoints
###
$ = jQuery
class Mark
constructor: ->
@isSending = false
@commentNumber = @_getCommentNumber()
_getCommentNumber: ->
commentNumber = window.location.hash.split("#c")[1]
commentNu... | 155114 | ###
A library to tell the server how far you have scrolled down.
requires: waypoints
###
$ = jQuery
class Mark
constructor: ->
@isSending = false
@commentNumber = @_getCommentNumber()
_getCommentNumber: ->
commentNumber = window.location.hash.split("#c")[1]
commentNu... | true | ###
A library to tell the server how far you have scrolled down.
requires: waypoints
###
$ = jQuery
class Mark
constructor: ->
@isSending = false
@commentNumber = @_getCommentNumber()
_getCommentNumber: ->
commentNumber = window.location.hash.split("#c")[1]
commentNu... |
[
{
"context": "e, reject) ->\n resolve [\n new Answer(\"bob\", 10, true, [new AnswerSection(\"text\", \"sample\")]",
"end": 552,
"score": 0.9935359954833984,
"start": 549,
"tag": "NAME",
"value": "bob"
},
{
"context": "erSection(\"text\", \"sample\")])\n new Answer(... | spec/answer-selector-spec.coffee | NickTikhonov/sourcefetch-atom | 192 | AnswerSelector = require '../lib/answer-selector'
Answer = require '../lib/answer'
AnswerSection = require '../lib/answer-section'
SAMPLE_URL_1 = "http://www.stackoverflow.com/questions/sample1"
SAMPLE_URL_2 = "http://www.stackoverflow.com/questions/sample2"
SAMPLE_URL_3 = "http://www.stackoverflow.com/questions/sampl... | 112686 | AnswerSelector = require '../lib/answer-selector'
Answer = require '../lib/answer'
AnswerSection = require '../lib/answer-section'
SAMPLE_URL_1 = "http://www.stackoverflow.com/questions/sample1"
SAMPLE_URL_2 = "http://www.stackoverflow.com/questions/sample2"
SAMPLE_URL_3 = "http://www.stackoverflow.com/questions/sampl... | true | AnswerSelector = require '../lib/answer-selector'
Answer = require '../lib/answer'
AnswerSection = require '../lib/answer-section'
SAMPLE_URL_1 = "http://www.stackoverflow.com/questions/sample1"
SAMPLE_URL_2 = "http://www.stackoverflow.com/questions/sample2"
SAMPLE_URL_3 = "http://www.stackoverflow.com/questions/sampl... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 1520,
"score": 0.9963396787643433,
"start": 1513,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/clinical/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known": '2.16.840.1.113883.3.464.1003.101.1... | 126816 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known": '2.16.840.1.113883.3.464.1003.101.1... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known": '2.16.840.1.113883.3.464.1003.101.1... |
[
{
"context": "Once I loved'\n author: firstName: 'Shin'\n\n BookInfo = require __dirname + '/..",
"end": 992,
"score": 0.9996219873428345,
"start": 988,
"tag": "NAME",
"value": "Shin"
}
] | spec/lib/base-module.coffee | CureApp/base-domain | 37 |
{ BaseModule } = require('../others')
describe 'BaseModule', ->
describe 'normalizeName', ->
beforeEach ->
@f = require('../create-facade').create()
it 'attaches module name to the given name when the name contains no "/"', ->
mod = new BaseModule('abc', 'dummy', @f)... | 49564 |
{ BaseModule } = require('../others')
describe 'BaseModule', ->
describe 'normalizeName', ->
beforeEach ->
@f = require('../create-facade').create()
it 'attaches module name to the given name when the name contains no "/"', ->
mod = new BaseModule('abc', 'dummy', @f)... | true |
{ BaseModule } = require('../others')
describe 'BaseModule', ->
describe 'normalizeName', ->
beforeEach ->
@f = require('../create-facade').create()
it 'attaches module name to the given name when the name contains no "/"', ->
mod = new BaseModule('abc', 'dummy', @f)... |
[
{
"context": "ee\nlog = console.log.bind console\ntap = require '@sa0001/wrap-tap'\n\nSimpleProxy = require './index'\n\n##===",
"end": 75,
"score": 0.9371305704116821,
"start": 69,
"tag": "USERNAME",
"value": "sa0001"
},
{
"context": "j.a.b.c.d.e\n\t\t, \"SimpleProxy: cannot delete ... | src/test.coffee | sa-0001/simple-proxy-js | 0 | #!/usr/bin/env coffee
log = console.log.bind console
tap = require '@sa0001/wrap-tap'
SimpleProxy = require './index'
##======================================================================================================================
tap.test 'simple-proxy', (t) ->
testFlatObj = -> { a: 0, b: 1 }
testDeepOb... | 219591 | #!/usr/bin/env coffee
log = console.log.bind console
tap = require '@sa0001/wrap-tap'
SimpleProxy = require './index'
##======================================================================================================================
tap.test 'simple-proxy', (t) ->
testFlatObj = -> { a: 0, b: 1 }
testDeepOb... | true | #!/usr/bin/env coffee
log = console.log.bind console
tap = require '@sa0001/wrap-tap'
SimpleProxy = require './index'
##======================================================================================================================
tap.test 'simple-proxy', (t) ->
testFlatObj = -> { a: 0, b: 1 }
testDeepOb... |
[
{
"context": "###\n\nThe tabbed interface handler.\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 58,
"score": 0.999882698059082,
"start": 44,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": ".\n\n@author Destin Moulton\n@git https://g... | src/Tabs.coffee | destinmoulton/cagen | 0 | ###
The tabbed interface handler.
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Manage the tabs for the various WolfCage feature panels.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.coffee")
... | 16999 | ###
The tabbed interface handler.
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Manage the tabs for the various WolfCage feature panels.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.coffee")
class T... | true | ###
The tabbed interface handler.
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Manage the tabs for the various WolfCage feature panels.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.cof... |
[
{
"context": " null,\n [md('d6'), {key: 'd7', error:{ error: 'xz error'}}, md('d8') ]\n ",
"end": 21705,
"score": 0.8950262665748596,
"start": 21704,
"tag": "KEY",
"value": "7"
},
{
"context": "w_99']\n params =\n key: '0_w_1'\n ... | src/tests/server/common/db/test_couch_processor.coffee | LaPingvino/rizzoma | 88 | testCase = require('nodeunit').testCase
sinon = require('sinon-plus')
CouchProcessor = require('../../../../server/common/db/couch_processor').CouchProcessor
Model = require('../../../../server/common/model').Model
DbError = require('../../../../server/common/db/exceptions').DbError
dataprovider = require('dataprovider... | 156454 | testCase = require('nodeunit').testCase
sinon = require('sinon-plus')
CouchProcessor = require('../../../../server/common/db/couch_processor').CouchProcessor
Model = require('../../../../server/common/model').Model
DbError = require('../../../../server/common/db/exceptions').DbError
dataprovider = require('dataprovider... | true | testCase = require('nodeunit').testCase
sinon = require('sinon-plus')
CouchProcessor = require('../../../../server/common/db/couch_processor').CouchProcessor
Model = require('../../../../server/common/model').Model
DbError = require('../../../../server/common/db/exceptions').DbError
dataprovider = require('dataprovider... |
[
{
"context": "ndom ascii face\n#\n# Notes\n# None\n#\n# Author:\n# Morgan Wigmanich <okize123@gmail.com> (https://github.com/okize)\n\n",
"end": 213,
"score": 0.9998865723609924,
"start": 197,
"tag": "NAME",
"value": "Morgan Wigmanich"
},
{
"context": " Notes\n# None\n#\n# Auth... | src/cool-ascii-faces.coffee | okize/hubot-cool-ascii-faces | 0 | # Description:
# Displays cool ascii faces
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot face me - displays a random ascii face
#
# Notes
# None
#
# Author:
# Morgan Wigmanich <okize123@gmail.com> (https://github.com/okize)
getRandomFace = require 'cool-ascii-faces'
module.export... | 20424 | # Description:
# Displays cool ascii faces
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot face me - displays a random ascii face
#
# Notes
# None
#
# Author:
# <NAME> <<EMAIL>> (https://github.com/okize)
getRandomFace = require 'cool-ascii-faces'
module.exports = (robot) ->
rob... | true | # Description:
# Displays cool ascii faces
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot face me - displays a random ascii face
#
# Notes
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (https://github.com/okize)
getRandomFace = require 'cool-ascii-faces'
modul... |
[
{
"context": "eHolder type, name\n\n div\n key: \"account-input-#{name}\"\n className: mainClasses,\n\n ",
"end": 871,
"score": 0.8462119102478027,
"start": 849,
"tag": "KEY",
"value": "account-input-#{name}\""
}
] | client/app/components/account_config_input.coffee | cozy-labs/emails | 58 | {div, label, input, textarea} = React.DOM
{ErrorLine} = require './basic_components'
classer = React.addons.classSet
RouterMixin = require '../mixins/router_mixin'
# Input used in the account configuration/creation form. An account input can
# display an error message below it.
module.exports = AccountInput = React.... | 203150 | {div, label, input, textarea} = React.DOM
{ErrorLine} = require './basic_components'
classer = React.addons.classSet
RouterMixin = require '../mixins/router_mixin'
# Input used in the account configuration/creation form. An account input can
# display an error message below it.
module.exports = AccountInput = React.... | true | {div, label, input, textarea} = React.DOM
{ErrorLine} = require './basic_components'
classer = React.addons.classSet
RouterMixin = require '../mixins/router_mixin'
# Input used in the account configuration/creation form. An account input can
# display an error message below it.
module.exports = AccountInput = React.... |
[
{
"context": "# insert user\n\t\t\tcreateUser = { username: userData.username, password: userData.password }\n\t\t\tif userData.ema",
"end": 1746,
"score": 0.7488635778427124,
"start": 1738,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ateUser = { username: userData.userna... | packages/rocketchat-lib/server/methods/insertOrUpdateUser.coffee | lucasvanhalst/Rocket.Chat | 0 | Meteor.methods
insertOrUpdateUser: (userData) ->
if not Meteor.userId()
throw new Meteor.Error('invalid-user', "[methods] updateUser -> Invalid user")
user = Meteor.user()
canEditUser = RocketChat.authz.hasPermission( user._id, 'edit-other-user-info')
canAddUser = RocketChat.authz.hasPermission( user._id,... | 44893 | Meteor.methods
insertOrUpdateUser: (userData) ->
if not Meteor.userId()
throw new Meteor.Error('invalid-user', "[methods] updateUser -> Invalid user")
user = Meteor.user()
canEditUser = RocketChat.authz.hasPermission( user._id, 'edit-other-user-info')
canAddUser = RocketChat.authz.hasPermission( user._id,... | true | Meteor.methods
insertOrUpdateUser: (userData) ->
if not Meteor.userId()
throw new Meteor.Error('invalid-user', "[methods] updateUser -> Invalid user")
user = Meteor.user()
canEditUser = RocketChat.authz.hasPermission( user._id, 'edit-other-user-info')
canAddUser = RocketChat.authz.hasPermission( user._id,... |
[
{
"context": "===========================\n#\n# Layout\n#\n# @author Matthew Wagerfield @mwagerfield\n#\n#=================================",
"end": 107,
"score": 0.9998829960823059,
"start": 89,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": "========\n#\n# Layout\n#\n... | development/production/source/assets/scripts/coffee/core/Layout.coffee | wagerfield/cinnamon | 2 | ###
#============================================================
#
# Layout
#
# @author Matthew Wagerfield @mwagerfield
#
#============================================================
###
class Layout
###
#========================================
# Constants
#========================================
###
... | 29299 | ###
#============================================================
#
# Layout
#
# @author <NAME> @mwagerfield
#
#============================================================
###
class Layout
###
#========================================
# Constants
#========================================
###
DELAY = 200... | true | ###
#============================================================
#
# Layout
#
# @author PI:NAME:<NAME>END_PI @mwagerfield
#
#============================================================
###
class Layout
###
#========================================
# Constants
#========================================
###
... |
[
{
"context": " member.teamId = team.id\n member.firstName = 'Test'\n teamsnap.saveMember member, (err, result) ->",
"end": 302,
"score": 0.9984993934631348,
"start": 298,
"tag": "NAME",
"value": "Test"
}
] | test/teamMediumComments.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Team Medium Comments', ->
member = null
teamMediaGroup = null
teamMedium = null
# First we'll need to create a member, teamMediaGroup, and teamMedium
before (done) ->
# Create member
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = 'Test'
teamsnap.sav... | 118152 | describe 'Team Medium Comments', ->
member = null
teamMediaGroup = null
teamMedium = null
# First we'll need to create a member, teamMediaGroup, and teamMedium
before (done) ->
# Create member
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = '<NAME>'
teamsnap.s... | true | describe 'Team Medium Comments', ->
member = null
teamMediaGroup = null
teamMedium = null
# First we'll need to create a member, teamMediaGroup, and teamMedium
before (done) ->
# Create member
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = 'PI:NAME:<NAME>END_PI'
... |
[
{
"context": "/1/356\"\n public_seeds:\n primary: \"xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ29ESFjqJoCu1Rupje8YtGqsefD265TMg7usUDFdp6W1EGMcet8\"\n cosigner: \"xpub661MyMwAqRbcFtXgS5sYJAB",
"end": 1602,
"score": 0.9996765851974487,
"start": 1491,
"tag... | benchmarks/draft4/complex/valid_doc.coffee | pandastrike/jsck | 176 | $ = module.exports = []
$.push
metadata:
amount: 38043749285
fee: 2 * 10000
status: "confirmed"
confirmations: 73
block_time: 1415993584376
version: 1
lock_time: 0
hash: "60c1f1a3160042152114e2bba45600a5045711c3a8a458016248acec59653471"
inputs: [
index: 0
script_sig: "3046022100b... | 14550 | $ = module.exports = []
$.push
metadata:
amount: 38043749285
fee: 2 * 10000
status: "confirmed"
confirmations: 73
block_time: 1415993584376
version: 1
lock_time: 0
hash: "60c1f1a3160042152114e2bba45600a5045711c3a8a458016248acec59653471"
inputs: [
index: 0
script_sig: "3046022100b... | true | $ = module.exports = []
$.push
metadata:
amount: 38043749285
fee: 2 * 10000
status: "confirmed"
confirmations: 73
block_time: 1415993584376
version: 1
lock_time: 0
hash: "60c1f1a3160042152114e2bba45600a5045711c3a8a458016248acec59653471"
inputs: [
index: 0
script_sig: "3046022100b... |
[
{
"context": "##\n backbone-mongo.js 0.6.10\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo\n Li",
"end": 60,
"score": 0.9981196522712708,
"start": 52,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/... | src/index.coffee | vidigami/backbone-mongo | 1 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{_, Backbone} = BackboneORM = require 'backbone-orm'
module.exports = BackboneMongo = require './core' # avoid circular dependencies
publish... | 157568 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{_, Backbone} = BackboneORM = require 'backbone-orm'
module.exports = BackboneMongo = require './core' # avoid circular dependencies
publish =... | true | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{_, Backbone} = BackboneORM = require 'backbone-orm'
module.exports = BackboneMongo = require './core' # avoid circular dependen... |
[
{
"context": "t, 'moveLeftInSelection')\n editor.setText('Foo Bar')\n atom.commands.dispatch(editorElemen",
"end": 69824,
"score": 0.5982576012611389,
"start": 69821,
"tag": "NAME",
"value": "Foo"
}
] | spec/table-element-spec.coffee | lionel-rigoux/atom-tablr | 186 | require './helpers/spec-helper'
path = require 'path'
Table = require '../lib/table'
TableEditor = require '../lib/table-editor'
TableElement = require '../lib/table-element'
TableCellElement = require '../lib/table-cell-element'
TableSelectionElement = require '../lib/table-selection-element'
Column = require '../li... | 46429 | require './helpers/spec-helper'
path = require 'path'
Table = require '../lib/table'
TableEditor = require '../lib/table-editor'
TableElement = require '../lib/table-element'
TableCellElement = require '../lib/table-cell-element'
TableSelectionElement = require '../lib/table-selection-element'
Column = require '../li... | true | require './helpers/spec-helper'
path = require 'path'
Table = require '../lib/table'
TableEditor = require '../lib/table-editor'
TableElement = require '../lib/table-element'
TableCellElement = require '../lib/table-cell-element'
TableSelectionElement = require '../lib/table-selection-element'
Column = require '../li... |
[
{
"context": "\n { \"id\": 9, \"uid\": \"usr-fbbw\", \"name\": \"Marvel\" },\n { \"id\": 10, \"uid\": \"usr-fbb7\", \"nam",
"end": 467,
"score": 0.9114664793014526,
"start": 461,
"tag": "NAME",
"value": "Marvel"
},
{
"context": "\n { \"id\": 9, \"uid\": \"u... | frontend-admin/src/app/components/mnoe-api/admin/organizations.svc.spec.coffee | shwogud/mno-enterprise | 5 | describe('Service: MnoeOrganizations', ->
beforeEach(module('frontendAdmin'))
$httpBackend = null
MnoeOrganizations = null
beforeEach(inject((_MnoeOrganizations_, _$httpBackend_) ->
MnoeOrganizations = _MnoeOrganizations_
$httpBackend = _$httpBackend_
# Backend interceptors
$httpBackend.when... | 216888 | describe('Service: MnoeOrganizations', ->
beforeEach(module('frontendAdmin'))
$httpBackend = null
MnoeOrganizations = null
beforeEach(inject((_MnoeOrganizations_, _$httpBackend_) ->
MnoeOrganizations = _MnoeOrganizations_
$httpBackend = _$httpBackend_
# Backend interceptors
$httpBackend.when... | true | describe('Service: MnoeOrganizations', ->
beforeEach(module('frontendAdmin'))
$httpBackend = null
MnoeOrganizations = null
beforeEach(inject((_MnoeOrganizations_, _$httpBackend_) ->
MnoeOrganizations = _MnoeOrganizations_
$httpBackend = _$httpBackend_
# Backend interceptors
$httpBackend.when... |
[
{
"context": "ntDefault()\n current_password = $('input[name=\"houston-current-password\"]').val()\n new_password = $('input[name=\"houst",
"end": 266,
"score": 0.9652783274650574,
"start": 242,
"tag": "PASSWORD",
"value": "houston-current-password"
},
{
"context": "sword\"]').... | client/admin_change_password.coffee | gterrono/houston | 508 | Template._houston_change_password.helpers(
admin_user_exists: -> admin_user_exists()
)
Template._houston_change_password.events(
'submit #houston-change-password-form': (e) ->
e.preventDefault()
current_password = $('input[name="houston-current-password"]').val()
new_password = $('input[name="houston-n... | 101375 | Template._houston_change_password.helpers(
admin_user_exists: -> admin_user_exists()
)
Template._houston_change_password.events(
'submit #houston-change-password-form': (e) ->
e.preventDefault()
current_password = $('input[name="<PASSWORD>"]').val()
new_password = $('input[name="<PASSWORD>"]').val()
... | true | Template._houston_change_password.helpers(
admin_user_exists: -> admin_user_exists()
)
Template._houston_change_password.events(
'submit #houston-change-password-form': (e) ->
e.preventDefault()
current_password = $('input[name="PI:PASSWORD:<PASSWORD>END_PI"]').val()
new_password = $('input[name="PI:PA... |
[
{
"context": "th every $5 buy.\n{\n name: 'BankWharf'\n author: 'Geronimoo' #tweaked by Jorbles\n requires: ['Bank', 'Wharf'",
"end": 112,
"score": 0.995993971824646,
"start": 103,
"tag": "NAME",
"value": "Geronimoo"
},
{
"context": "ame: 'BankWharf'\n author: 'Geronimoo' #tweake... | strategies/BankWharf.coffee | rspeer/dominiate | 65 | # Play Big Money including Banks, except buy Wharf with every $5 buy.
{
name: 'BankWharf'
author: 'Geronimoo' #tweaked by Jorbles
requires: ['Bank', 'Wharf']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Duchy" if state.ga... | 145058 | # Play Big Money including Banks, except buy Wharf with every $5 buy.
{
name: 'BankWharf'
author: '<NAME>' #tweaked by <NAME>
requires: ['Bank', 'Wharf']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Duchy" if state.gainsT... | true | # Play Big Money including Banks, except buy Wharf with every $5 buy.
{
name: 'BankWharf'
author: 'PI:NAME:<NAME>END_PI' #tweaked by PI:NAME:<NAME>END_PI
requires: ['Bank', 'Wharf']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6... |
[
{
"context": "anagement\"\n\t\t\t\t\t'id': productId\n\t\t\t\t\t'i18n_key': \"productDetail.cloneMsg\"\n\t\t\t\t\t'autoHide': true\n\t\t\t\t\t'dismissable': false\n",
"end": 8656,
"score": 0.9980169534683228,
"start": 8634,
"tag": "KEY",
"value": "productDetail.cloneMsg"
},
{
"contex... | app/client/templates/products/productGrid/productGrid.coffee | chrisdamba/offer-market | 1 | # =============================================================================
# Product Grid
# ---------------------------------------------------------
# Product grid helpers
#
Template.productGrid.helpers
products: ->
###
# take natural sort, sorting by updatedAt
# then resort using positions.position for t... | 8644 | # =============================================================================
# Product Grid
# ---------------------------------------------------------
# Product grid helpers
#
Template.productGrid.helpers
products: ->
###
# take natural sort, sorting by updatedAt
# then resort using positions.position for t... | true | # =============================================================================
# Product Grid
# ---------------------------------------------------------
# Product grid helpers
#
Template.productGrid.helpers
products: ->
###
# take natural sort, sorting by updatedAt
# then resort using positions.position for t... |
[
{
"context": "div id: 'push-plaintext-options', =>\n @h2 \"Username\"\n @subview 'userName', new TextEditorView(",
"end": 263,
"score": 0.9951934218406677,
"start": 255,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "ame', new TextEditorView(mini: true)\n ... | lib/git-gui-push-view.coffee | Chefsp3ncer1971/atom-git-gui | 21 | {$, View} = require 'space-pen'
Git = require 'nodegit'
{TextEditorView} = require 'atom-space-pen-views'
class GitGuiPushView extends View
@content: ->
@div class: 'action-view-content', =>
@div id: 'push-plaintext-options', =>
@h2 "Username"
@subview 'userName', new TextEditorView(mini: t... | 103313 | {$, View} = require 'space-pen'
Git = require 'nodegit'
{TextEditorView} = require 'atom-space-pen-views'
class GitGuiPushView extends View
@content: ->
@div class: 'action-view-content', =>
@div id: 'push-plaintext-options', =>
@h2 "Username"
@subview 'userName', new TextEditorView(mini: t... | true | {$, View} = require 'space-pen'
Git = require 'nodegit'
{TextEditorView} = require 'atom-space-pen-views'
class GitGuiPushView extends View
@content: ->
@div class: 'action-view-content', =>
@div id: 'push-plaintext-options', =>
@h2 "Username"
@subview 'userName', new TextEditorView(mini: t... |
[
{
"context": "is object.\n #\n # Borrowed from Spine\n # @author Paul Miller\n #\n # @param [Function] fn The function to prox",
"end": 1270,
"score": 0.9970073699951172,
"start": 1259,
"tag": "NAME",
"value": "Paul Miller"
}
] | src/base.coffee | ShaunSpringer/Wraith | 2 | #
# The base class for all Wraith objects.
# Includes binding to events, and emitting events.
#
class Wraith.Base
#
# Constructor
#
constructor: ->
@id = Wraith.uniqueId()
@listeners_ = {}
#
# Binds the given function (cb) to the given
# event (ev)
#
# @param [String] ev Event to listen for.
... | 189289 | #
# The base class for all Wraith objects.
# Includes binding to events, and emitting events.
#
class Wraith.Base
#
# Constructor
#
constructor: ->
@id = Wraith.uniqueId()
@listeners_ = {}
#
# Binds the given function (cb) to the given
# event (ev)
#
# @param [String] ev Event to listen for.
... | true | #
# The base class for all Wraith objects.
# Includes binding to events, and emitting events.
#
class Wraith.Base
#
# Constructor
#
constructor: ->
@id = Wraith.uniqueId()
@listeners_ = {}
#
# Binds the given function (cb) to the given
# event (ev)
#
# @param [String] ev Event to listen for.
... |
[
{
"context": " },\n },\n payee: {\n email_address: 'rise@purplerepublic.us',\n },\n description: order.description, # ma",
"end": 580,
"score": 0.9999246597290039,
"start": 558,
"tag": "EMAIL",
"value": "rise@purplerepublic.us"
}
] | app/components/Checkout/util.coffee | samerce/flitandland | 0 | export ShippingTotal = 5
getPrice = (intPrice) => {
value: intPrice.toString()
currency_code: 'USD'
}
export makePaypalOrder = (order, shipping) => {
intent: 'CAPTURE',
application_context: {
brand_name: 'express your mess',
user_action: 'PAY_NOW',
},
purchase_units: [{
amount: {
...... | 130823 | export ShippingTotal = 5
getPrice = (intPrice) => {
value: intPrice.toString()
currency_code: 'USD'
}
export makePaypalOrder = (order, shipping) => {
intent: 'CAPTURE',
application_context: {
brand_name: 'express your mess',
user_action: 'PAY_NOW',
},
purchase_units: [{
amount: {
...... | true | export ShippingTotal = 5
getPrice = (intPrice) => {
value: intPrice.toString()
currency_code: 'USD'
}
export makePaypalOrder = (order, shipping) => {
intent: 'CAPTURE',
application_context: {
brand_name: 'express your mess',
user_action: 'PAY_NOW',
},
purchase_units: [{
amount: {
...... |
[
{
"context": "'options.interval.rssi' }\n { key: 'options.notify.scratch1' }\n { key: 'options.notify.scratch2' }\n { key:",
"end": 322,
"score": 0.5500212907791138,
"start": 315,
"tag": "KEY",
"value": "scratch"
},
{
"context": "key: 'options.notify.scratch1' }\n { key: 'options... | configs/default/form.cson | octoblu/meshblu-connector-bean | 0 | angular: [
{ key: 'options.localName' }
{ key: 'options.interval.accel_enable' }
{ key: 'options.interval.accelerometer' }
{ key: 'options.interval.temp_enable' }
{ key: 'options.interval.temperature' }
{ key: 'options.interval.rssi_enable' }
{ key: 'options.interval.rssi' }
{ key: 'options.notify.scrat... | 200305 | angular: [
{ key: 'options.localName' }
{ key: 'options.interval.accel_enable' }
{ key: 'options.interval.accelerometer' }
{ key: 'options.interval.temp_enable' }
{ key: 'options.interval.temperature' }
{ key: 'options.interval.rssi_enable' }
{ key: 'options.interval.rssi' }
{ key: 'options.notify.<KEY>... | true | angular: [
{ key: 'options.localName' }
{ key: 'options.interval.accel_enable' }
{ key: 'options.interval.accelerometer' }
{ key: 'options.interval.temp_enable' }
{ key: 'options.interval.temperature' }
{ key: 'options.interval.rssi_enable' }
{ key: 'options.interval.rssi' }
{ key: 'options.notify.PI:KE... |
[
{
"context": "only supports RPC operations (HTTP POST).\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass RpcRoute extend",
"end": 166,
"score": 0.9998409152030945,
"start": 154,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/RpcRoute.coffee | qrefdev/qref | 0 | Route = require('./Route')
RpcResponse = require('../serialization/RpcResponse')
###
A route which only supports RPC operations (HTTP POST).
@author Nathan Klick
@copyright QRef 2012
###
class RpcRoute extends Route
###
Create a new Route object instance and registers the given methods with the router.
@p... | 75233 | Route = require('./Route')
RpcResponse = require('../serialization/RpcResponse')
###
A route which only supports RPC operations (HTTP POST).
@author <NAME>
@copyright QRef 2012
###
class RpcRoute extends Route
###
Create a new Route object instance and registers the given methods with the router.
@param m... | true | Route = require('./Route')
RpcResponse = require('../serialization/RpcResponse')
###
A route which only supports RPC operations (HTTP POST).
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
###
class RpcRoute extends Route
###
Create a new Route object instance and registers the given methods with the rout... |
[
{
"context": "===================================\n# @author : Prabhat Kumar [http://prabhatkumar.org/]\n# @copyright : © 2015,",
"end": 285,
"score": 0.9998825788497925,
"start": 272,
"tag": "NAME",
"value": "Prabhat Kumar"
},
{
"context": " [http://prabhatkumar.org/]\n# @copyrig... | src/assets/coffee/boot.coffee | BioD3/BioD3 | 4 | ###!
# BioD3® : Scientific Data Visualisation, [v0.0.1]
# ================================================================
# An advance JavaScript library for Scientific Data Visualisation.
# ================================================================
# @author : Prabhat Kumar [http://prabhatkumar.org/]
# @copy... | 154238 | ###!
# BioD3® : Scientific Data Visualisation, [v0.0.1]
# ================================================================
# An advance JavaScript library for Scientific Data Visualisation.
# ================================================================
# @author : <NAME> [http://prabhatkumar.org/]
# @copyright :... | true | ###!
# BioD3® : Scientific Data Visualisation, [v0.0.1]
# ================================================================
# An advance JavaScript library for Scientific Data Visualisation.
# ================================================================
# @author : PI:NAME:<NAME>END_PI [http://prabhatkumar.org/]
... |
[
{
"context": ". If you still can\\'t get your PIN, please contact support@topcoder.com. Please try again in '\n vm.errorLimit = tr",
"end": 2347,
"score": 0.9999218583106995,
"start": 2327,
"tag": "EMAIL",
"value": "support@topcoder.com"
},
{
"context": "username: vm.$statePar... | app/scripts/connect/pin-registration.controller.coffee | suppermancool/appirio-tech-accounts-app | 0 | 'use strict'
{ DOMAIN, V3_TEMP_JWT, CONNECT_PROJECT_CALLBACK, UTM_SOURCE_CONNECT } = require '../../../core/constants.js'
{ getFreshToken, login, verifyPIN, getV3Jwt, getOneTimeToken, updatePrimaryEmail, resendActivationCode } = require '../../../core/auth.js'
{ decodeToken, setToken, getToken, isTokenExpired, re... | 168615 | 'use strict'
{ DOMAIN, V3_TEMP_JWT, CONNECT_PROJECT_CALLBACK, UTM_SOURCE_CONNECT } = require '../../../core/constants.js'
{ getFreshToken, login, verifyPIN, getV3Jwt, getOneTimeToken, updatePrimaryEmail, resendActivationCode } = require '../../../core/auth.js'
{ decodeToken, setToken, getToken, isTokenExpired, re... | true | 'use strict'
{ DOMAIN, V3_TEMP_JWT, CONNECT_PROJECT_CALLBACK, UTM_SOURCE_CONNECT } = require '../../../core/constants.js'
{ getFreshToken, login, verifyPIN, getV3Jwt, getOneTimeToken, updatePrimaryEmail, resendActivationCode } = require '../../../core/auth.js'
{ decodeToken, setToken, getToken, isTokenExpired, re... |
[
{
"context": "t 'parses Apache logs', ->\n expect(getGrammar('64.242.88.10 - - [07/Mar/2004:16:45:56 -0800]')).toBe 'Log'\n ",
"end": 11656,
"score": 0.9997541308403015,
"start": 11644,
"tag": "IP_ADDRESS",
"value": "64.242.88.10"
},
{
"context": " 'definition.comment.timestamp.l... | spec/log-spec.coffee | MRodalgaard/language-log | 47 | describe 'Atom log grammar', ->
grammar = null
getGrammar = (path, content) ->
unless content then content = path; path = null
atom.grammars.selectGrammar(path, content).name
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-log')
runs ->
grammar = atom.gramma... | 172943 | describe 'Atom log grammar', ->
grammar = null
getGrammar = (path, content) ->
unless content then content = path; path = null
atom.grammars.selectGrammar(path, content).name
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-log')
runs ->
grammar = atom.gramma... | true | describe 'Atom log grammar', ->
grammar = null
getGrammar = (path, content) ->
unless content then content = path; path = null
atom.grammars.selectGrammar(path, content).name
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-log')
runs ->
grammar = atom.gramma... |
[
{
"context": "{\n\ttemplateData:\n\t\tcreator:\n\t\t\tfirstname: \"Benjamin\"\n\t\t\tlastname: \"Lupton\"\n\t\t\tfullname: \"<t>creator.f",
"end": 51,
"score": 0.9997508525848389,
"start": 43,
"tag": "NAME",
"value": "Benjamin"
},
{
"context": "\t\tcreator:\n\t\t\tfirstname: \"Benjam... | test/docpad.cson | docpad/docpad-plugin-text | 4 | {
templateData:
creator:
firstname: "Benjamin"
lastname: "Lupton"
fullname: "<t>creator.firstname</t> <t>creator.lastname</t>"
} | 101139 | {
templateData:
creator:
firstname: "<NAME>"
lastname: "<NAME>"
fullname: "<t>creator.firstname</t> <t>creator.lastname</t>"
} | true | {
templateData:
creator:
firstname: "PI:NAME:<NAME>END_PI"
lastname: "PI:NAME:<NAME>END_PI"
fullname: "<t>creator.firstname</t> <t>creator.lastname</t>"
} |
[
{
"context": " @fileoverview Prevent usage of setState\n# @author Mark Dalgleish\n###\n'use strict'\n\n# -----------------------------",
"end": 71,
"score": 0.9998712539672852,
"start": 57,
"tag": "NAME",
"value": "Mark Dalgleish"
}
] | src/tests/rules/no-set-state.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of setState
# @author Mark Dalgleish
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-set... | 134247 | ###*
# @fileoverview Prevent usage of setState
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-set-state'
... | true | ###*
# @fileoverview Prevent usage of setState
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/... |
[
{
"context": " , \"client_id=101015312\"\n , \"client_secret=d6cb9b0117b6cbfab4711daafe2ec4ff\"\n , \"code=D8BCAC09EABE2B451588D65DB462A1A9",
"end": 622,
"score": 0.9996700286865234,
"start": 590,
"tag": "KEY",
"value": "d6cb9b0117b6cbfab4711daafe2ec4ff"
},
{
"context":... | example/qqlogin.coffee | yuffiy/me-docstyle | 0 | # get code
code_path="https://graph.qq.com/oauth2.0/authorize"
###
console.log [ "response_type=code"
, "client_id=101015312"
, "redirect_uri=#{encodeURIComponent 'http://localhost'}"
, "state=test"
].join "&"
###
#
#https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=10... | 119432 | # get code
code_path="https://graph.qq.com/oauth2.0/authorize"
###
console.log [ "response_type=code"
, "client_id=101015312"
, "redirect_uri=#{encodeURIComponent 'http://localhost'}"
, "state=test"
].join "&"
###
#
#https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=10... | true | # get code
code_path="https://graph.qq.com/oauth2.0/authorize"
###
console.log [ "response_type=code"
, "client_id=101015312"
, "redirect_uri=#{encodeURIComponent 'http://localhost'}"
, "state=test"
].join "&"
###
#
#https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=10... |
[
{
"context": "cessor\n constructor: (options) ->\n {@client,@kue,@queue,@pingInterval,@intervalAttempts,@intervalT",
"end": 280,
"score": 0.5300548076629639,
"start": 278,
"tag": "USERNAME",
"value": "ue"
},
{
"context": " redisNodeId = transactionId ? nodeId\n key = \"#{se... | src/register-job-processor.coffee | octoblu/nanocyte-interval-service | 0 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:register-job-processor')
cronParser = require 'cron-parser'
Redlock = require 'redlock'
class RegisterJobProcessor
constructor: (options) ->
{@client,@kue,@queue,@pingInterval,@intervalAttempts,... | 88967 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:register-job-processor')
cronParser = require 'cron-parser'
Redlock = require 'redlock'
class RegisterJobProcessor
constructor: (options) ->
{@client,@kue,@queue,@pingInterval,@intervalAttempts,... | true | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:register-job-processor')
cronParser = require 'cron-parser'
Redlock = require 'redlock'
class RegisterJobProcessor
constructor: (options) ->
{@client,@kue,@queue,@pingInterval,@intervalAttempts,... |
[
{
"context": "s Item extends Model\n\n unit1 = new Unit name: 'Zeratul'\n unit1.items = [new Item(name: 'Psionic blade",
"end": 223,
"score": 0.9969496130943298,
"start": 216,
"tag": "NAME",
"value": "Zeratul"
},
{
"context": "e: 'Psionic blade')]\n\n unit2 = new Unit name: ... | spec/model/equality-spec.coffee | wanbok/mongo-model | 1 | require '../helper'
describe 'Model Equality', ->
withMongo()
it "should check for equality based on model attributes", ->
class Unit extends Model
class Item extends Model
unit1 = new Unit name: 'Zeratul'
unit1.items = [new Item(name: 'Psionic blade')]
unit2 = new Unit name: 'Zeratul'
u... | 76531 | require '../helper'
describe 'Model Equality', ->
withMongo()
it "should check for equality based on model attributes", ->
class Unit extends Model
class Item extends Model
unit1 = new Unit name: '<NAME>'
unit1.items = [new Item(name: 'Psionic blade')]
unit2 = new Unit name: '<NAME>'
uni... | true | require '../helper'
describe 'Model Equality', ->
withMongo()
it "should check for equality based on model attributes", ->
class Unit extends Model
class Item extends Model
unit1 = new Unit name: 'PI:NAME:<NAME>END_PI'
unit1.items = [new Item(name: 'Psionic blade')]
unit2 = new Unit name: 'P... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998363256454468,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Unordered/PropertyMap.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 9327 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "ge addon for Battery System by Hyakka Studio\n # By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]\n # HRM_BS_A",
"end": 165,
"score": 0.9998850226402283,
"start": 150,
"tag": "NAME",
"value": "Geoffrey Chueng"
},
{
"context": "ry System by Hyakka Studio\n # By G... | src/HRM_BS_AutoRecharge.coffee | HyakkaStudio/RPG-Maker-MV-Plugins | 2 | ###
# =============================================================================
# Auto Recharge addon for Battery System by Hyakka Studio
# By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]
# HRM_BS_AutoRecharge.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this plugin ... | 215996 | ###
# =============================================================================
# Auto Recharge addon for Battery System by Hyakka Studio
# By <NAME> <<EMAIL>> [Hyakka Studio]
# HRM_BS_AutoRecharge.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this plugin without any editing
... | true | ###
# =============================================================================
# Auto Recharge addon for Battery System by Hyakka Studio
# By PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> [Hyakka Studio]
# HRM_BS_AutoRecharge.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this... |
[
{
"context": "ch ->\n @commands.splice(0, 1, {id: 1, name: \"foo\"})\n @commands.splice(1, 2, {id: 2, name: \"ba",
"end": 3382,
"score": 0.66172856092453,
"start": 3379,
"tag": "NAME",
"value": "foo"
}
] | packages/driver/test/unit_old/cypress/commands_spec.coffee | pedbarros/cypress | 2 | { _ } = window.testUtils
## FIXME: Needs re-write to test new interface
describe.skip "$Cypress.Commands API", ->
beforeEach ->
@commands = $Cypress.Commands.create()
context "#reset", ->
it "resets to zero commands", ->
@commands.splice(0, 1, {})
@commands.splice(1, 2, {})
expect(@queue... | 67280 | { _ } = window.testUtils
## FIXME: Needs re-write to test new interface
describe.skip "$Cypress.Commands API", ->
beforeEach ->
@commands = $Cypress.Commands.create()
context "#reset", ->
it "resets to zero commands", ->
@commands.splice(0, 1, {})
@commands.splice(1, 2, {})
expect(@queue... | true | { _ } = window.testUtils
## FIXME: Needs re-write to test new interface
describe.skip "$Cypress.Commands API", ->
beforeEach ->
@commands = $Cypress.Commands.create()
context "#reset", ->
it "resets to zero commands", ->
@commands.splice(0, 1, {})
@commands.splice(1, 2, {})
expect(@queue... |
[
{
"context": "egister\"\n\t\t\tjson:\n\t\t\t\temail: email\n\t\t\t\tpassword: \"some_weird_password\"\n\t\t}, callback\n\ntryFollowLoginLink = (user, login",
"end": 2183,
"score": 0.9993472695350647,
"start": 2164,
"tag": "PASSWORD",
"value": "some_weird_password"
},
{
"context": "og... | test/acceptance/coffee/ProjectInviteTests.coffee | dtu-compute/web-sharelatex | 0 | expect = require("chai").expect
Async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
CollaboratorsEmailHandler = require "../../../app/js/Features/Collaborators/CollaboratorsEmailHandler"
createInvite = (sendingUser, projectId, email, ... | 87543 | expect = require("chai").expect
Async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
CollaboratorsEmailHandler = require "../../../app/js/Features/Collaborators/CollaboratorsEmailHandler"
createInvite = (sendingUser, projectId, email, ... | true | expect = require("chai").expect
Async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
CollaboratorsEmailHandler = require "../../../app/js/Features/Collaborators/CollaboratorsEmailHandler"
createInvite = (sendingUser, projectId, email, ... |
[
{
"context": "has(obj, k))\n\n\nverifyCommitId = (d) ->\n keys = ['_id', 'subject', 'message', 'parents', 'tree', 'meta', ",
"end": 1314,
"score": 0.9379674792289734,
"start": 1310,
"tag": "KEY",
"value": "id',"
},
{
"context": "n\n switch d._idversion\n when 0\n keys = ['_... | packages/nog-content/nog-content.coffee | nogproject/nog | 0 | { Meteor } = require 'meteor/meteor'
{ _ } = require 'meteor/underscore'
{ Mongo } = require 'meteor/mongo'
{ NogError } = require 'meteor/nog-error'
{
ERR_CONTENT_CHECKSUM
nogthrow
} = NogError
# Exported API.
NogContent =
call: {}
api: {}
onerror: NogError.defaultErrorHandler
decodeMeta = (encMeta) ->
... | 85905 | { Meteor } = require 'meteor/meteor'
{ _ } = require 'meteor/underscore'
{ Mongo } = require 'meteor/mongo'
{ NogError } = require 'meteor/nog-error'
{
ERR_CONTENT_CHECKSUM
nogthrow
} = NogError
# Exported API.
NogContent =
call: {}
api: {}
onerror: NogError.defaultErrorHandler
decodeMeta = (encMeta) ->
... | true | { Meteor } = require 'meteor/meteor'
{ _ } = require 'meteor/underscore'
{ Mongo } = require 'meteor/mongo'
{ NogError } = require 'meteor/nog-error'
{
ERR_CONTENT_CHECKSUM
nogthrow
} = NogError
# Exported API.
NogContent =
call: {}
api: {}
onerror: NogError.defaultErrorHandler
decodeMeta = (encMeta) ->
... |
[
{
"context": "approver;\n\t\t\t\t\t\tdeployapi.deployment xldeploy_url, username, pawwsord, data.filename, (error, stdout, stderr)",
"end": 4259,
"score": 0.9557378888130188,
"start": 4251,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\t\t\t\tdeployapi.deployment xldeploy_... | scripts/xldeploy/scripts-hipchat/xldeploy_repo.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... | 28512 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... |
[
{
"context": " Usage examples:\n\n $ authrc decrypt e9b90003128c4215ba005a08615fa64f\n $ authrc decr",
"end": 502,
"score": 0.6126236915588379,
"start": 494,
"tag": "PASSWORD",
"value": "e9b90003"
},
{
"context": "e examples:\n\n $ authrc decrypt ... | src/cli/commands/decrypt.coffee | h2non/node-authrc | 1 | crypto = require '../../crypto'
processes = require '../processes'
{ program, echo, exit } = require '../common'
program
.command('decrypt <password>')
.description('\n Utility for easy password decryption'.cyan)
.usage('<password>'.cyan)
.option('-k, --key <key>', 'Set the password decryption key'.cyan)
.o... | 160033 | crypto = require '../../crypto'
processes = require '../processes'
{ program, echo, exit } = require '../common'
program
.command('decrypt <password>')
.description('\n Utility for easy password decryption'.cyan)
.usage('<password>'.cyan)
.option('-k, --key <key>', 'Set the password decryption key'.cyan)
.o... | true | crypto = require '../../crypto'
processes = require '../processes'
{ program, echo, exit } = require '../common'
program
.command('decrypt <password>')
.description('\n Utility for easy password decryption'.cyan)
.usage('<password>'.cyan)
.option('-k, --key <key>', 'Set the password decryption key'.cyan)
.o... |
[
{
"context": "'scopeName': 'source.anzen'\n'name': 'Anzen'\n'firstLineMatch': '^#!\\\\s*/.*\\\\banzen'\n'fileType",
"end": 42,
"score": 0.5972747206687927,
"start": 37,
"tag": "NAME",
"value": "Anzen"
}
] | grammars/anzen.cson | anzen-lang/atom-language-anzen | 2 | 'scopeName': 'source.anzen'
'name': 'Anzen'
'firstLineMatch': '^#!\\s*/.*\\banzen'
'fileTypes': [
'anzen'
'azn'
]
'patterns': [
{
'include': '#comments'
}
{
# Keywords that denote flow conditionals.
'name': 'keyword.control.conditional.anzen'
'match': '\\b(if|else|switch)\\b'
}
{
# Key... | 128741 | 'scopeName': 'source.anzen'
'name': '<NAME>'
'firstLineMatch': '^#!\\s*/.*\\banzen'
'fileTypes': [
'anzen'
'azn'
]
'patterns': [
{
'include': '#comments'
}
{
# Keywords that denote flow conditionals.
'name': 'keyword.control.conditional.anzen'
'match': '\\b(if|else|switch)\\b'
}
{
# Ke... | true | 'scopeName': 'source.anzen'
'name': 'PI:NAME:<NAME>END_PI'
'firstLineMatch': '^#!\\s*/.*\\banzen'
'fileTypes': [
'anzen'
'azn'
]
'patterns': [
{
'include': '#comments'
}
{
# Keywords that denote flow conditionals.
'name': 'keyword.control.conditional.anzen'
'match': '\\b(if|else|switch)\\b'
... |
[
{
"context": ".createUser\n email: email\n password: password\n , (error) ->\n if error\n con",
"end": 2653,
"score": 0.998995840549469,
"start": 2645,
"tag": "PASSWORD",
"value": "password"
}
] | accounts/client/events.coffee | cloudrave/oscar-party | 1 | Template.mainLayout.events
'click .log-out': ->
Meteor.logout()
Router.go '/'
Template.profile.events
"click #submit, submit form": (e) ->
e.preventDefault()
$body = $(e.target).closest('body')
name = $body.find('input#name').val()
email = $body.find('input#email').val()
oldPassword = $... | 34725 | Template.mainLayout.events
'click .log-out': ->
Meteor.logout()
Router.go '/'
Template.profile.events
"click #submit, submit form": (e) ->
e.preventDefault()
$body = $(e.target).closest('body')
name = $body.find('input#name').val()
email = $body.find('input#email').val()
oldPassword = $... | true | Template.mainLayout.events
'click .log-out': ->
Meteor.logout()
Router.go '/'
Template.profile.events
"click #submit, submit form": (e) ->
e.preventDefault()
$body = $(e.target).closest('body')
name = $body.find('input#name').val()
email = $body.find('input#email').val()
oldPassword = $... |
[
{
"context": "GET /publish?event=<event>&data=<text>[&password=<password>]\n# POST /publish (Content-Type: application/js",
"end": 769,
"score": 0.6633071899414062,
"start": 761,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "sh (Content-Type: application/json, {\"password... | src/pubsub.coffee | hubot-scripts/hubot-pubsub | 24 | # Description:
# Pub-Sub notification system for Hubot.
# Subscribe rooms to various event notifications and publish them
# via HTTP requests or chat messages.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SUBSCRIPTIONS_PASSWORD (optional)
#
# Commands:
# hubot subscribe <event> - subscribes current r... | 64262 | # Description:
# Pub-Sub notification system for Hubot.
# Subscribe rooms to various event notifications and publish them
# via HTTP requests or chat messages.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SUBSCRIPTIONS_PASSWORD (optional)
#
# Commands:
# hubot subscribe <event> - subscribes current r... | true | # Description:
# Pub-Sub notification system for Hubot.
# Subscribe rooms to various event notifications and publish them
# via HTTP requests or chat messages.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SUBSCRIPTIONS_PASSWORD (optional)
#
# Commands:
# hubot subscribe <event> - subscribes current r... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982386231422424,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-keepalive-maxsockets.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... | 73341 | # 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": "ubber(\"a\",\"b\")\r\n data.password[0].should.equal 0x61\r\n data.salt[0].should.equal 0x62\r\n it \"Accept",
"end": 512,
"score": 0.6541604995727539,
"start": 508,
"tag": "PASSWORD",
"value": "0x61"
}
] | node_modules/js-scrypt/test/argument-scrubber-tests.coffee | team-ignition/hack-event-listener | 2 | should = require('chai').should()
scrubber = require '../lib/argument-scrubber.js'
# values for "test ??????"
binaryString = '\x74\x65\x73\x74\x20\xe1\x83\x95\xe1\x83\x94\xe1\x83\x9e\xe1\x83\xae\xe1\x83\x98\xe1\x83\xa1'
utf8Buffer = new Buffer(binaryString, 'binary')
utfString = utf8Buffer.toString('utf8');
... | 98352 | should = require('chai').should()
scrubber = require '../lib/argument-scrubber.js'
# values for "test ??????"
binaryString = '\x74\x65\x73\x74\x20\xe1\x83\x95\xe1\x83\x94\xe1\x83\x9e\xe1\x83\xae\xe1\x83\x98\xe1\x83\xa1'
utf8Buffer = new Buffer(binaryString, 'binary')
utfString = utf8Buffer.toString('utf8');
... | true | should = require('chai').should()
scrubber = require '../lib/argument-scrubber.js'
# values for "test ??????"
binaryString = '\x74\x65\x73\x74\x20\xe1\x83\x95\xe1\x83\x94\xe1\x83\x9e\xe1\x83\xae\xe1\x83\x98\xe1\x83\xa1'
utf8Buffer = new Buffer(binaryString, 'binary')
utfString = utf8Buffer.toString('utf8');
... |
[
{
"context": "vGroHy6';\n\t\t\t\t\trequest.headers['X-Auth-Token'] = 's2c3DVHBDS6vjaxDsd9MFZD7LbJW1UQSN00qw_oqZSf';\n\t\t\t\tonLoading: (loadOptions)->\n\t\t\t\t\tconsole.log",
"end": 594,
"score": 0.9885227084159851,
"start": 551,
"tag": "KEY",
"value": "s2c3DVHBDS6vjaxDsd9MFZD7LbJW1UQSN00q... | packages/steedos-creator/client/views/odata_service.coffee | zonglu233/fuel-car | 0 | Template.odata_service.helpers Creator.helpers
Template.odata_service.helpers
Template.odata_service.events
Template.odata_service.onRendered ()->
$("#gridContainerOdata").dxDataGrid({
dataSource: {
store: {
type: "odata",
version: 4,
url: 'http://127.0.0.1:5000/api/odata/v4/'+Steedos.spaceId()+'... | 174087 | Template.odata_service.helpers Creator.helpers
Template.odata_service.helpers
Template.odata_service.events
Template.odata_service.onRendered ()->
$("#gridContainerOdata").dxDataGrid({
dataSource: {
store: {
type: "odata",
version: 4,
url: 'http://127.0.0.1:5000/api/odata/v4/'+Steedos.spaceId()+'... | true | Template.odata_service.helpers Creator.helpers
Template.odata_service.helpers
Template.odata_service.events
Template.odata_service.onRendered ()->
$("#gridContainerOdata").dxDataGrid({
dataSource: {
store: {
type: "odata",
version: 4,
url: 'http://127.0.0.1:5000/api/odata/v4/'+Steedos.spaceId()+'... |
[
{
"context": "rsion 1.0.0\n@file Alert.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 138,
"score": 0.9998965859413147,
"start": 121,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/Alert.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free soft... | 59782 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free s... |
[
{
"context": "with http://js2coffee.org/\n# * https://github.com/derek-watson/jsUri\n# *\n# * Copyright 2011, Derek Watson\n# * Re",
"end": 107,
"score": 0.9996709823608398,
"start": 95,
"tag": "USERNAME",
"value": "derek-watson"
},
{
"context": "hub.com/derek-watson/jsUri\n# *\n# * ... | lib/assets/javascripts/gretel.trails.jsuri.js.coffee | lassebunk/gretel-trails | 8 | #!
# * jsUri v1.1.1 – ported to CoffeeScript with http://js2coffee.org/
# * https://github.com/derek-watson/jsUri
# *
# * Copyright 2011, Derek Watson
# * Released under the MIT license.
# * http://jquery.org/license
# *
# * Includes parseUri regular expressions
# * http://blog.stevenlevithan.com/archives/parseuri
# * ... | 20751 | #!
# * jsUri v1.1.1 – ported to CoffeeScript with http://js2coffee.org/
# * https://github.com/derek-watson/jsUri
# *
# * Copyright 2011, <NAME>
# * Released under the MIT license.
# * http://jquery.org/license
# *
# * Includes parseUri regular expressions
# * http://blog.stevenlevithan.com/archives/parseuri
# * Copyri... | true | #!
# * jsUri v1.1.1 – ported to CoffeeScript with http://js2coffee.org/
# * https://github.com/derek-watson/jsUri
# *
# * Copyright 2011, PI:NAME:<NAME>END_PI
# * Released under the MIT license.
# * http://jquery.org/license
# *
# * Includes parseUri regular expressions
# * http://blog.stevenlevithan.com/archives/parse... |
[
{
"context": "###\n#\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\n\nmongoose ",
"end": 60,
"score": 0.99986332654953,
"start": 51,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | src/algo/models/user_model.coffee | 1egoman/bag-node | 0 | ###
#
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
user = mongoose.Schema
realname: String
name: String
email: String
password: String
salt: String
token: String
favs: Array
stores: Array
clicks: Array
plan: Number
... | 174765 | ###
#
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
user = mongoose.Schema
realname: String
name: String
email: String
password: String
salt: String
token: String
favs: Array
stores: Array
clicks: Array
plan: Number
p... | true | ###
#
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
user = mongoose.Schema
realname: String
name: String
email: String
password: String
salt: String
token: String
favs: Array
stores: Array
clicks: Array
pl... |
[
{
"context": "key: 'strong'\n\npatterns: [\n\n # Matches strong unconstrained p",
"end": 12,
"score": 0.8573591709136963,
"start": 6,
"tag": "KEY",
"value": "strong"
}
] | grammars/repositories/inlines/strong-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'strong'
patterns: [
# Matches strong unconstrained phrases
#
# Examples
#
# s**trong** phrase
#
name: 'markup.strong.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[.+?\\])?((\\*\\*)(.+?)(\\*\\*))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup.bold.asciid... | 204960 | key: '<KEY>'
patterns: [
# Matches strong unconstrained phrases
#
# Examples
#
# s**trong** phrase
#
name: 'markup.strong.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[.+?\\])?((\\*\\*)(.+?)(\\*\\*))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup.bold.asciido... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches strong unconstrained phrases
#
# Examples
#
# s**trong** phrase
#
name: 'markup.strong.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[.+?\\])?((\\*\\*)(.+?)(\\*\\*))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987165331840515,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "quire(\"http\")\noptions =\n mode: \"master\"\n host: \"127.0.0.1\"\n port: 22344\n path: ... | benchmark/http_bench.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... | 190094 | # 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": "'\nmoment = require 'moment'\n\nSERVER_URL = \"http://104.236.41.161\"\n\n# handlebars template\nrenderPhoto = Handlebars.",
"end": 105,
"score": 0.9994354248046875,
"start": 91,
"tag": "IP_ADDRESS",
"value": "104.236.41.161"
},
{
"context": "d 'longitude', 75.1900\n\n ... | private/coffee/index.coffee | grant/snappo | 0 | $ = require 'jquery'
api = require './api'
moment = require 'moment'
SERVER_URL = "http://104.236.41.161"
# handlebars template
renderPhoto = Handlebars.compile $("#photo-template").html()
$(window).scroll ->
clearTimeout $.data(this, "scrollTimer")
$.data this, "scrollTimer", setTimeout(->
# do something
... | 200095 | $ = require 'jquery'
api = require './api'
moment = require 'moment'
SERVER_URL = "http://192.168.127.12"
# handlebars template
renderPhoto = Handlebars.compile $("#photo-template").html()
$(window).scroll ->
clearTimeout $.data(this, "scrollTimer")
$.data this, "scrollTimer", setTimeout(->
# do something
... | true | $ = require 'jquery'
api = require './api'
moment = require 'moment'
SERVER_URL = "http://PI:IP_ADDRESS:192.168.127.12END_PI"
# handlebars template
renderPhoto = Handlebars.compile $("#photo-template").html()
$(window).scroll ->
clearTimeout $.data(this, "scrollTimer")
$.data this, "scrollTimer", setTimeout(->
... |
[
{
"context": "eate()\n\n Author.load([\n { id: '1', name: 'drogus' }\n ])\n Comment.load([\n { id: '1', ",
"end": 950,
"score": 0.6211884021759033,
"start": 947,
"tag": "USERNAME",
"value": "dro"
},
{
"context": "e()\n\n Author.load([\n { id: '1', name: 'dr... | assets/scripts/spec/unit/model_spec.coffee | rwjblue/travis-web | 0 | fullPostHash = null
Post = null
Author = null
Comment = null
module "Travis.Model",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1',
comment_ids: ['1', '2']
}
Author = Travis.Model.extend(
name: Ember.attr('string')
)
A... | 87126 | fullPostHash = null
Post = null
Author = null
Comment = null
module "Travis.Model",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1',
comment_ids: ['1', '2']
}
Author = Travis.Model.extend(
name: Ember.attr('string')
)
A... | true | fullPostHash = null
Post = null
Author = null
Comment = null
module "Travis.Model",
setup: ->
fullPostHash = {
id: '1',
title: 'foo',
published_at: 'today',
author_id: '1',
comment_ids: ['1', '2']
}
Author = Travis.Model.extend(
name: Ember.attr('string')
)
A... |
[
{
"context": "al = ef.createRecord('Journal', id: 1, _rootKey: 'admin_journal')\n mmt = ef.createMMT(journal, id: 1)\n pt = ef.",
"end": 137,
"score": 0.8491526246070862,
"start": 124,
"tag": "KEY",
"value": "admin_journal"
}
] | test/javascripts/integration/manuscript_manager_template_test.js.coffee | johan--/tahi | 1 | createJournalWithTaskTemplate = (taskType) ->
ef = ETahi.Factory
journal = ef.createRecord('Journal', id: 1, _rootKey: 'admin_journal')
mmt = ef.createMMT(journal, id: 1)
pt = ef.createPhaseTemplate(mmt, id: 1)
jtt = ef.createJournalTaskType(journal, taskType)
[journal, mmt, pt, jtt]
module 'Integration: M... | 223637 | createJournalWithTaskTemplate = (taskType) ->
ef = ETahi.Factory
journal = ef.createRecord('Journal', id: 1, _rootKey: '<KEY>')
mmt = ef.createMMT(journal, id: 1)
pt = ef.createPhaseTemplate(mmt, id: 1)
jtt = ef.createJournalTaskType(journal, taskType)
[journal, mmt, pt, jtt]
module 'Integration: Manuscrip... | true | createJournalWithTaskTemplate = (taskType) ->
ef = ETahi.Factory
journal = ef.createRecord('Journal', id: 1, _rootKey: 'PI:KEY:<KEY>END_PI')
mmt = ef.createMMT(journal, id: 1)
pt = ef.createPhaseTemplate(mmt, id: 1)
jtt = ef.createJournalTaskType(journal, taskType)
[journal, mmt, pt, jtt]
module 'Integrati... |
[
{
"context": "##################\n# Title: StepNavView\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 104,
"score": 0.9999027252197266,
"start": 90,
"tag": "EMAIL",
"value": "kevin@wintr.us"
},
{
"context": "#\n# Title: StepNavView\n# Author: ... | source/javascripts/views/StepNavView.coffee | WikiEducationFoundation/WikiEduWizard | 1 | #########################################################
# Title: StepNavView
# Author: kevin@wintr.us @ WINTR
#########################################################
application = require( '../app' )
View = require('../views/supers/View')
StepNavTemplate = require('../templates/StepNavTemplate.hbs')
module.ex... | 57896 | #########################################################
# Title: StepNavView
# Author: <EMAIL> @ WINTR
#########################################################
application = require( '../app' )
View = require('../views/supers/View')
StepNavTemplate = require('../templates/StepNavTemplate.hbs')
module.exports =... | true | #########################################################
# Title: StepNavView
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
application = require( '../app' )
View = require('../views/supers/View')
StepNavTemplate = require('../templates/StepNavTemplate.hbs')
m... |
[
{
"context": "------------------------------------\n#\n# Author : philippe.billet@noos.fr\n#\n# erfc(x)\n#\n# GW Added erfc() from Numerical",
"end": 116,
"score": 0.9967819452285767,
"start": 93,
"tag": "EMAIL",
"value": "philippe.billet@noos.fr"
}
] | node_modules/algebrite/sources/erfc.coffee | souzamonteiro/maialexa | 928 | #-----------------------------------------------------------------------------
#
# Author : philippe.billet@noos.fr
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
ye... | 224703 | #-----------------------------------------------------------------------------
#
# Author : <EMAIL>
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
yerfc = ->
save(... | true | #-----------------------------------------------------------------------------
#
# Author : PI:EMAIL:<EMAIL>END_PI
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
yer... |
[
{
"context": "lenders = [\n {\n name: 'AlberBoy'\n amount: 2300\n paid: true\n returned: tr",
"end": 35,
"score": 0.9979971051216125,
"start": 27,
"tag": "NAME",
"value": "AlberBoy"
},
{
"context": " 'bupt'\n greatness: 'great'\n }\n {\n name: 'AlberGirl'\n am... | javascripts/app/lenders.coffee | cxyokk/debt | 2 | lenders = [
{
name: 'AlberBoy'
amount: 2300
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
{
name: 'AlberGirl'
amount: 1500
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
{
name: 'Rain'
... | 96247 | lenders = [
{
name: '<NAME>'
amount: 2300
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
{
name: '<NAME>'
amount: 1500
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
{
name: '<NAME>'
a... | true | lenders = [
{
name: 'PI:NAME:<NAME>END_PI'
amount: 2300
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
{
name: 'PI:NAME:<NAME>END_PI'
amount: 1500
paid: true
returned: true
hometown: 'gd'
college: 'bupt'
greatness: 'great'
}
... |
[
{
"context": "EGIN PGP PRIVATE KEY BLOCK-----\nVersion: GnuPG v2\n\nlKYEVcxn0RMJKyQDAwIIAQEHAgMEkY9pSwWAp3Bk8DQxMyuDN2thQ5Y/fRNIIk6G\nowrD06dTUnUOq3eKMQ4Mg4c8mV9FkdnsWA8L4FM+8xhcorOdGf4HAwI70WABShGE\nftGuf1prbz9Hln8rl8+HKc+IWfmgakiINbFELJ1dZURzaRkzhL+oOrQWwc/KKsJy\nf9la0G/Ck7EU3MoDPyCzwW8ZarkeQoUytCdUZXN0IEJyYW... | test/files/brainpool256.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool256_key_with_private_gen_by_gnupg = (T, cb) ->
... | 62555 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool256_key_with_private_gen_by_gnupg = (T, cb) ->
... | true | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool256_key_with_private_gen_by_gnupg = (T, cb) ->
... |
[
{
"context": "new Date(\"2008-01-10T11:00:00-05:00\")\n owner: Batman\n name: 'Zeke'\n @marys = Batman\n id",
"end": 188,
"score": 0.781806468963623,
"start": 182,
"tag": "USERNAME",
"value": "Batman"
},
{
"context": ":00:00-05:00\")\n owner: Batman\n ... | tests/batman/set/sortable_set_test.coffee | nickjs/batman | 1 | QUnit.module 'Batman.SortableSet',
setup: ->
@set = new Batman.SortableSet
@zekes = Batman
id: 1
updated_at: new Date("2008-01-10T11:00:00-05:00")
owner: Batman
name: 'Zeke'
@marys = Batman
id: 2
updated_at: new Date("2008-01-10T11:00:00-05:00")
owner: Batman
... | 106610 | QUnit.module 'Batman.SortableSet',
setup: ->
@set = new Batman.SortableSet
@zekes = Batman
id: 1
updated_at: new Date("2008-01-10T11:00:00-05:00")
owner: Batman
name: '<NAME>'
@marys = Batman
id: 2
updated_at: new Date("2008-01-10T11:00:00-05:00")
owner: Batman
... | true | QUnit.module 'Batman.SortableSet',
setup: ->
@set = new Batman.SortableSet
@zekes = Batman
id: 1
updated_at: new Date("2008-01-10T11:00:00-05:00")
owner: Batman
name: 'PI:NAME:<NAME>END_PI'
@marys = Batman
id: 2
updated_at: new Date("2008-01-10T11:00:00-05:00")
... |
[
{
"context": "\n\n\tbeforeEach ->\n\t\t@user = {_id:\"!@312431\",email:\"user@email.com\"}\n\t\t@subscription = {}\n\t\t@GroupHandler = \n\t\t\taddU",
"end": 376,
"score": 0.999915599822998,
"start": 362,
"tag": "EMAIL",
"value": "user@email.com"
},
{
"context": "rController\":@Error... | test/UnitTests/coffee/Subscription/SubscriptionGroupControllerTests.coffee | bowlofstew/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
MockResponse = require "../helpers/MockResponse"
describe "SubscriptionGroupController", ->
befor... | 93017 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
MockResponse = require "../helpers/MockResponse"
describe "SubscriptionGroupController", ->
befor... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
MockResponse = require "../helpers/MockResponse"
describe "SubscriptionGroupController", ->
befor... |
[
{
"context": " ->\n\n table\n\n raw: -> [\n ['name', 'lola']\n ['action', 'run']\n ]\n\n .should.",
"end": 285,
"score": 0.9995311498641968,
"start": 281,
"tag": "NAME",
"value": "lola"
},
{
"context": "n', 'run']\n ]\n\n .should.eql\n\n nam... | test/tables-spec.coffee | limadelic/metacukes | 0 | describe 'Tables', ->
table = require relative 'table'
it 'returns array from single columns', ->
table
raw: -> [['1'], ['true'], ['that']]
.should.eql [1, true, 'that']
it 'makes an object for 2 columns', ->
table
raw: -> [
['name', 'lola']
['action', 'run']
... | 52612 | describe 'Tables', ->
table = require relative 'table'
it 'returns array from single columns', ->
table
raw: -> [['1'], ['true'], ['that']]
.should.eql [1, true, 'that']
it 'makes an object for 2 columns', ->
table
raw: -> [
['name', '<NAME>']
['action', 'run']
... | true | describe 'Tables', ->
table = require relative 'table'
it 'returns array from single columns', ->
table
raw: -> [['1'], ['true'], ['that']]
.should.eql [1, true, 'that']
it 'makes an object for 2 columns', ->
table
raw: -> [
['name', 'PI:NAME:<NAME>END_PI']
['action... |
[
{
"context": "t) ->\n users = [\n {id: 'usder1'}\n {id: 'usder2'}\n ",
"end": 735,
"score": 0.9994136691093445,
"start": 729,
"tag": "USERNAME",
"value": "usder1"
},
{
"context": " {id: 'usder1'}\n {id... | src/tests/server/notification/test_notificator.coffee | LaPingvino/rizzoma | 88 | global.getLogger = () ->
return {error: ->}
dataprovider = require('dataprovider')
testCase = require('nodeunit').testCase
sinon = require('sinon')
Notificator = require('../../../server/notification/').Notificator
Conf = require('../../../server/conf').Conf
XmppTransport = require('../../../server/notification/tra... | 68912 | global.getLogger = () ->
return {error: ->}
dataprovider = require('dataprovider')
testCase = require('nodeunit').testCase
sinon = require('sinon')
Notificator = require('../../../server/notification/').Notificator
Conf = require('../../../server/conf').Conf
XmppTransport = require('../../../server/notification/tra... | true | global.getLogger = () ->
return {error: ->}
dataprovider = require('dataprovider')
testCase = require('nodeunit').testCase
sinon = require('sinon')
Notificator = require('../../../server/notification/').Notificator
Conf = require('../../../server/conf').Conf
XmppTransport = require('../../../server/notification/tra... |
[
{
"context": "oze\")\n .setValue(\"#login-userPassword\", \"password\")\n .save(\"user-not-admin-doing-autherize",
"end": 405,
"score": 0.9993789196014404,
"start": 397,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "eld browser\n .setValue(\"#user... | bin/js/test/scenarioTest.coffee | xpfriend/pocci | 1 | ###jshint quotmark:true###
###jshint eqnull:true###
"use strict"
assert = require("chai").assert
module.exports.user =
loginAsBoze: (done, test, browser, url = process.env.USER_URL) ->
test done,
when: ->
yield browser
.url(url)
.save("user-not-admin-berore-autherize")
... | 162475 | ###jshint quotmark:true###
###jshint eqnull:true###
"use strict"
assert = require("chai").assert
module.exports.user =
loginAsBoze: (done, test, browser, url = process.env.USER_URL) ->
test done,
when: ->
yield browser
.url(url)
.save("user-not-admin-berore-autherize")
... | true | ###jshint quotmark:true###
###jshint eqnull:true###
"use strict"
assert = require("chai").assert
module.exports.user =
loginAsBoze: (done, test, browser, url = process.env.USER_URL) ->
test done,
when: ->
yield browser
.url(url)
.save("user-not-admin-berore-autherize")
... |
[
{
"context": "+)$/i, (msg) ->\n key = msg.match[1]\n key = 'summoner_name' if key == 'summonername'\n key = 'summoner_nam",
"end": 1435,
"score": 0.9519401788711548,
"start": 1422,
"tag": "KEY",
"value": "summoner_name"
},
{
"context": "msg.match[1]\n key = 'summoner_name... | scripts/mydata.coffee | RiotGamesMinions/lefay | 7 | # Manage your own user data in bot's brain
#
# my <field> is <value> - set a field on your user record (email, cell, twitter)
# show my data - see your user record
# contact <user name> - see contact info for user
#
Util = require "util"
module.exports = (robot) ->
robot.respond /show my data$/i, (... | 155927 | # Manage your own user data in bot's brain
#
# my <field> is <value> - set a field on your user record (email, cell, twitter)
# show my data - see your user record
# contact <user name> - see contact info for user
#
Util = require "util"
module.exports = (robot) ->
robot.respond /show my data$/i, (... | true | # Manage your own user data in bot's brain
#
# my <field> is <value> - set a field on your user record (email, cell, twitter)
# show my data - see your user record
# contact <user name> - see contact info for user
#
Util = require "util"
module.exports = (robot) ->
robot.respond /show my data$/i, (... |
[
{
"context": "*********\n# JSGLView - WebGL view class\n# Coded by kouichi.sakazaki 2013.04.05\n#*************************************",
"end": 100,
"score": 0.9955831170082092,
"start": 84,
"tag": "NAME",
"value": "kouichi.sakazaki"
}
] | JSKit/frameworks/JSWebGL.framework/JSGLView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSGLView - WebGL view class
# Coded by kouichi.sakazaki 2013.04.05
#*****************************************
class JSGLView extends JSView
constructor:(frame = JSRectMake(0, 0, 320, 240), @_bgColor = "#f0f0f0", @_alpha = 1.0, @_antialias = true)->
super(frame)
... | 111742 | #*****************************************
# JSGLView - WebGL view class
# Coded by <NAME> 2013.04.05
#*****************************************
class JSGLView extends JSView
constructor:(frame = JSRectMake(0, 0, 320, 240), @_bgColor = "#f0f0f0", @_alpha = 1.0, @_antialias = true)->
super(frame)
# init ... | true | #*****************************************
# JSGLView - WebGL view class
# Coded by PI:NAME:<NAME>END_PI 2013.04.05
#*****************************************
class JSGLView extends JSView
constructor:(frame = JSRectMake(0, 0, 320, 240), @_bgColor = "#f0f0f0", @_alpha = 1.0, @_antialias = true)->
super(frame)
... |
[
{
"context": "###\nCopyright 2016 Clemens Nylandsted Klokmose, Aarhus University\n\nLicensed under the Apache Lic",
"end": 46,
"score": 0.9998911023139954,
"start": 19,
"tag": "NAME",
"value": "Clemens Nylandsted Klokmose"
}
] | client_src/dom2share.coffee | kar288/ddd | 0 | ###
Copyright 2016 Clemens Nylandsted Klokmose, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | 218587 | ###
Copyright 2016 <NAME>, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... |
[
{
"context": "->\n assert.deepEqual (new App.User(firstName: \"Lance\")).toJSON(),\n id: undefined,\n cr",
"end": 296,
"score": 0.9990540742874146,
"start": 291,
"tag": "NAME",
"value": "Lance"
},
{
"context": "[],\n updatedAt: undefined,\n firstName: 'L... | test/cases/model/serializationTest.coffee | ca98am79/tower | 1 | require '../../config'
scope = null
criteria = null
user = null
describe 'Tower.Model.Serialization', ->
beforeEach ->
App.User.store(new Tower.Store.Memory(firstName: "users", type: "User"))
test "instance.toJSON", ->
assert.deepEqual (new App.User(firstName: "Lance")).toJSON(),
id: ... | 212521 | require '../../config'
scope = null
criteria = null
user = null
describe 'Tower.Model.Serialization', ->
beforeEach ->
App.User.store(new Tower.Store.Memory(firstName: "users", type: "User"))
test "instance.toJSON", ->
assert.deepEqual (new App.User(firstName: "<NAME>")).toJSON(),
id:... | true | require '../../config'
scope = null
criteria = null
user = null
describe 'Tower.Model.Serialization', ->
beforeEach ->
App.User.store(new Tower.Store.Memory(firstName: "users", type: "User"))
test "instance.toJSON", ->
assert.deepEqual (new App.User(firstName: "PI:NAME:<NAME>END_PI")).toJSO... |
[
{
"context": "ip in range', ->\n assert.isTrue isIpInRange '123.123.123.123', ['123.123.123.0', '123.123.123.255']\n\n it 'i",
"end": 539,
"score": 0.9997307062149048,
"start": 524,
"tag": "IP_ADDRESS",
"value": "123.123.123.123"
},
{
"context": " assert.isTrue isIpInRange ... | test.coffee | openaustralia/anon | 1 | anon = require './anon'
assert = require('chai').assert
compareIps = anon.compareIps
isIpInRange = anon.isIpInRange
isIpInAnyRange = anon.isIpInAnyRange
describe 'anon', ->
describe "compareIps", ->
it 'equal', ->
assert.equal 0, compareIps '1.1.1.1', '1.1.1.1'
it 'greater than', ->
assert.equa... | 50782 | anon = require './anon'
assert = require('chai').assert
compareIps = anon.compareIps
isIpInRange = anon.isIpInRange
isIpInAnyRange = anon.isIpInAnyRange
describe 'anon', ->
describe "compareIps", ->
it 'equal', ->
assert.equal 0, compareIps '1.1.1.1', '1.1.1.1'
it 'greater than', ->
assert.equa... | true | anon = require './anon'
assert = require('chai').assert
compareIps = anon.compareIps
isIpInRange = anon.isIpInRange
isIpInAnyRange = anon.isIpInAnyRange
describe 'anon', ->
describe "compareIps", ->
it 'equal', ->
assert.equal 0, compareIps '1.1.1.1', '1.1.1.1'
it 'greater than', ->
assert.equa... |
[
{
"context": " v#{settings.fullAppVersion}; +https://github.com/soulweaver91/gw2hub\"\n 'Authorization': \"Bearer #{settin",
"end": 605,
"score": 0.98207688331604,
"start": 593,
"tag": "USERNAME",
"value": "soulweaver91"
},
{
"context": "key) ->\n if key... | api/tools/gw2api.coffee | soulweaver91/gw2hub | 0 | settings = require('../../configmanager').get()
httpStatus = require 'http-status-codes'
limiter = require 'simple-rate-limiter'
moment = require 'moment'
_ = require 'lodash'
async = require 'async'
# Not in 2.x, which is required by dependencies for now
_chunk = require 'lodash.chunk'
# Get the API request object an... | 168566 | settings = require('../../configmanager').get()
httpStatus = require 'http-status-codes'
limiter = require 'simple-rate-limiter'
moment = require 'moment'
_ = require 'lodash'
async = require 'async'
# Not in 2.x, which is required by dependencies for now
_chunk = require 'lodash.chunk'
# Get the API request object an... | true | settings = require('../../configmanager').get()
httpStatus = require 'http-status-codes'
limiter = require 'simple-rate-limiter'
moment = require 'moment'
_ = require 'lodash'
async = require 'async'
# Not in 2.x, which is required by dependencies for now
_chunk = require 'lodash.chunk'
# Get the API request object an... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998906254768372,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Projector/SelectorMap.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 177594 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "v class=\"textbox\" style=\"left: 4.0em; top:16.1em\">BALTHASAR</div>\n <div class=\"textbox\" style=\"right:6",
"end": 3864,
"score": 0.7513588070869446,
"start": 3855,
"tag": "NAME",
"value": "BALTHASAR"
}
] | Magi.widget/index.coffee | jeticg/MAGI-Uebersicht-Widget | 0 | refreshFrequency: 10000
style: """
font-size: 18px
left: 50%
top: 50%
margin-left: -15em
margin-top: -12em
font-family: Futura
text-transform: uppercase
opacity: 0.75
text-align: center
text-decoration: none
.center
position: absolute
background: transparent
... | 72783 | refreshFrequency: 10000
style: """
font-size: 18px
left: 50%
top: 50%
margin-left: -15em
margin-top: -12em
font-family: Futura
text-transform: uppercase
opacity: 0.75
text-align: center
text-decoration: none
.center
position: absolute
background: transparent
... | true | refreshFrequency: 10000
style: """
font-size: 18px
left: 50%
top: 50%
margin-left: -15em
margin-top: -12em
font-family: Futura
text-transform: uppercase
opacity: 0.75
text-align: center
text-decoration: none
.center
position: absolute
background: transparent
... |
[
{
"context": "ol with that.\n firebaseConfig =\n apiKey: \"AIzaSyDWB0KbsvGSwBgQsHGWwyFdw0Lh4fS9W8k\"\n authDomain: \"aprtus.firebaseapp.com\"\n ",
"end": 487,
"score": 0.9997497200965881,
"start": 448,
"tag": "KEY",
"value": "AIzaSyDWB0KbsvGSwBgQsHGWwyFdw0Lh4fS9W8k"
}
] | src/Storage/FirebaseAccess.coffee | cdglabs/apparatus | 1,060 | ###
Manages Apparatus's use of Firebase for drawing storage.
###
# Firebase dependencies are vendored, since our build process isn't up to the
# challenge of `require`-ing the latest versions.
module.exports = class FirebaseAccess
constructor: ->
# This actually establishes a connection to Firebase and checks ... | 103183 | ###
Manages Apparatus's use of Firebase for drawing storage.
###
# Firebase dependencies are vendored, since our build process isn't up to the
# challenge of `require`-ing the latest versions.
module.exports = class FirebaseAccess
constructor: ->
# This actually establishes a connection to Firebase and checks ... | true | ###
Manages Apparatus's use of Firebase for drawing storage.
###
# Firebase dependencies are vendored, since our build process isn't up to the
# challenge of `require`-ing the latest versions.
module.exports = class FirebaseAccess
constructor: ->
# This actually establishes a connection to Firebase and checks ... |
[
{
"context": "verview Enforce return after a callback.\n# @author Jamund Ferguson\n###\n'use strict'\n\n#------------------------------",
"end": 79,
"score": 0.9998577237129211,
"start": 64,
"tag": "NAME",
"value": "Jamund Ferguson"
}
] | src/rules/callback-return.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce return after a callback.
# @author Jamund Ferguson
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
type: 'suggest... | 26588 | ###*
# @fileoverview Enforce return after a callback.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
type: 'suggestion'
... | true | ###*
# @fileoverview Enforce return after a callback.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
type: 'su... |
[
{
"context": "ukebox').library =\n artist: [\n name: 'Super Simple Songs'\n album: [\n name: 'Animals Vol. 1",
"end": 591,
"score": 0.8061107397079468,
"start": 573,
"tag": "NAME",
"value": "Super Simple Songs"
},
{
"context": "year: '2015'\n song... | test/yang-example-jukebox.coffee | quantang/yang-js | 57 | should = require 'should'
describe "YANG Jukebox Example", ->
jbox = undefined
before ->
jbox = require('../example/jukebox').eval {
'example-jukebox:jukebox':
library: {}
playlist: [
{
name: 'ellie playtime',
description: 'tunes for toddler play'
... | 203955 | should = require 'should'
describe "YANG Jukebox Example", ->
jbox = undefined
before ->
jbox = require('../example/jukebox').eval {
'example-jukebox:jukebox':
library: {}
playlist: [
{
name: 'ellie playtime',
description: 'tunes for toddler play'
... | true | should = require 'should'
describe "YANG Jukebox Example", ->
jbox = undefined
before ->
jbox = require('../example/jukebox').eval {
'example-jukebox:jukebox':
library: {}
playlist: [
{
name: 'ellie playtime',
description: 'tunes for toddler play'
... |
[
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and u",
"end": 35,
"score": 0.9998311996459961,
"start": 22,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Red... | node_modules/ibrik/tools/watch.coffee | YeisonKirax/Catti | 0 | # Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condition... | 158714 | # Copyright (C) 2012 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following d... | true | # Copyright (C) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of c... |
[
{
"context": "f.filename = forceAbsolute(filename)\n def.key = \"#{def.type}/#{filename}\"\n\n console.debug \"Request",
"end": 525,
"score": 0.9916364550590515,
"start": 522,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "ame = forceAbsolute(filename)\n def.key = \"#{def.ty... | src/resmgr.coffee | rendergather/webgl-meincraft | 49 | forceAbsolute = (url) ->
if !/^(https?|file):\/\//.test url
url = document.baseURI.match(/^(.*)\//)[0] + url
url
class ResourceManager
constructor: ->
@resourceDefs = {}
@callbacks = {}
@resources = {}
@loaded = 0
@total = 0
add: (shortName, filename, def = {}, callback = null) ->
... | 50289 | forceAbsolute = (url) ->
if !/^(https?|file):\/\//.test url
url = document.baseURI.match(/^(.*)\//)[0] + url
url
class ResourceManager
constructor: ->
@resourceDefs = {}
@callbacks = {}
@resources = {}
@loaded = 0
@total = 0
add: (shortName, filename, def = {}, callback = null) ->
... | true | forceAbsolute = (url) ->
if !/^(https?|file):\/\//.test url
url = document.baseURI.match(/^(.*)\//)[0] + url
url
class ResourceManager
constructor: ->
@resourceDefs = {}
@callbacks = {}
@resources = {}
@loaded = 0
@total = 0
add: (shortName, filename, def = {}, callback = null) ->
... |
[
{
"context": "###\n# @author Will Steinmetz\n# jQuery notification plug-in inspired by the not",
"end": 28,
"score": 0.9998599290847778,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ation style of Windows 8\n# Copyright (c)2013-2015, Will Steinmetz\n# Licens... | public/third_party/notific8/grunt/contrib-clean.coffee | pvndn/spa | 130 | ###
# @author Will Steinmetz
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('clean',
all: [
'dist'
'buil... | 177399 | ###
# @author <NAME>
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('clean',
all: [
'dist'
'build'
]
js:... | true | ###
# @author PI:NAME:<NAME>END_PI
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('clean',
all: [
'dist'... |
[
{
"context": " return\n\n sendgrid.send {\n to: \"sam@sampettersson.com\",\n from: req.body.email,\n subject: ",
"end": 361,
"score": 0.9999182224273682,
"start": 340,
"tag": "EMAIL",
"value": "sam@sampettersson.com"
}
] | src/server/controllers/applicationController.coffee | sampettersson/personal-website | 0 | module.exports = class applicationController
class @routes
@emailRoute = (req, res) ->
sendgrid = require("sendgrid")(process.env.SENDGRID_USER, process.env.SENDGRID_PASS)
if req.body.email is undefined or req.body.message is undefined
res.json { err: true }
return
sendgrid.... | 100743 | module.exports = class applicationController
class @routes
@emailRoute = (req, res) ->
sendgrid = require("sendgrid")(process.env.SENDGRID_USER, process.env.SENDGRID_PASS)
if req.body.email is undefined or req.body.message is undefined
res.json { err: true }
return
sendgrid.... | true | module.exports = class applicationController
class @routes
@emailRoute = (req, res) ->
sendgrid = require("sendgrid")(process.env.SENDGRID_USER, process.env.SENDGRID_PASS)
if req.body.email is undefined or req.body.message is undefined
res.json { err: true }
return
sendgrid.... |
[
{
"context": " 'the-environment'\n value = 'the-value'\n key = 'the-var-key'\n variableid = 'the-variable'\n username = 'the-",
"end": 266,
"score": 0.9476367235183716,
"start": 255,
"tag": "KEY",
"value": "the-var-key"
},
{
"context": "-key'\n variableid = 'the-variable'\n use... | test/environment_test.coffee | conjurinc/api-node | 2 | assert = require('assert')
gently = new (require('gently'))
g = require('../lib/global')
environmentAPI = require('../lib/conjur/environment')
describe 'Environment', ->
account = 'the-account'
name = 'the-environment'
value = 'the-value'
key = 'the-var-key'
variableid = 'the-variable'
username = 'the-user... | 212076 | assert = require('assert')
gently = new (require('gently'))
g = require('../lib/global')
environmentAPI = require('../lib/conjur/environment')
describe 'Environment', ->
account = 'the-account'
name = 'the-environment'
value = 'the-value'
key = '<KEY>'
variableid = 'the-variable'
username = 'the-user'
to... | true | assert = require('assert')
gently = new (require('gently'))
g = require('../lib/global')
environmentAPI = require('../lib/conjur/environment')
describe 'Environment', ->
account = 'the-account'
name = 'the-environment'
value = 'the-value'
key = 'PI:KEY:<KEY>END_PI'
variableid = 'the-variable'
username = 't... |
[
{
"context": "\n instances: {\n dummy01: {\n name: 'dummy01'\n ip: '1.2.3.4'\n user: 'root'\n ",
"end": 219,
"score": 0.991739809513092,
"start": 212,
"tag": "USERNAME",
"value": "dummy01"
},
{
"context": "e: 'dummy01'\n ip: '1.2.3.4'\n ... | test/unit/digitalocean.spec.coffee | skmezanul/overcast | 238 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/digitalocean.v2')
MOCK_CLUSTERS = {
default: {
instances: {
dummy01: {
name: 'dummy01'
ip: '1.2.3.4'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: 22
... | 137332 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/digitalocean.v2')
MOCK_CLUSTERS = {
default: {
instances: {
dummy01: {
name: 'dummy01'
ip: '1.2.3.4'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: 22
... | true | cli = require('../../modules/cli')
utils = require('../../modules/utils')
api = require('../../modules/providers/digitalocean.v2')
MOCK_CLUSTERS = {
default: {
instances: {
dummy01: {
name: 'dummy01'
ip: '1.2.3.4'
user: 'root'
ssh_key: 'overcast.key'
ssh_port: 22
... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998642802238464,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/subcmd/list-member.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
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... | 149141 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <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
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 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 limitati... |
[
{
"context": ": (event, template) ->\n name = template.find(\"#userName\").value\n email = template.find(\"#userEmail\").v",
"end": 4022,
"score": 0.5436342358589172,
"start": 4014,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "mail\n user =\n email: email\n ... | src/packages/carpool-view-tmh/client/views/map/Map.coffee | ArnoldasSid/vilnius-carpool | 11 | mapPersistQuery = ['aLoc', 'bLoc', 'alert']
# Trip is created as an global object to sustain Controller reloads on url change
trip = new Trip();
Tracker.autorun ()->
if trip.getFromLatLng()
location = googleServices.toLocation(trip.getFromLatLng());
mapComponent.pointALoc(location)
da ['add-trip'], "Adju... | 107428 | mapPersistQuery = ['aLoc', 'bLoc', 'alert']
# Trip is created as an global object to sustain Controller reloads on url change
trip = new Trip();
Tracker.autorun ()->
if trip.getFromLatLng()
location = googleServices.toLocation(trip.getFromLatLng());
mapComponent.pointALoc(location)
da ['add-trip'], "Adju... | true | mapPersistQuery = ['aLoc', 'bLoc', 'alert']
# Trip is created as an global object to sustain Controller reloads on url change
trip = new Trip();
Tracker.autorun ()->
if trip.getFromLatLng()
location = googleServices.toLocation(trip.getFromLatLng());
mapComponent.pointALoc(location)
da ['add-trip'], "Adju... |
[
{
"context": ".equal '1'\n chai.expect(ip.data).to.equal 'Josh and Laura'\n sout1.once 'ip', (ip) ->\n ",
"end": 29487,
"score": 0.9957049489021301,
"start": 29483,
"tag": "NAME",
"value": "Josh"
},
{
"context": "1'\n chai.expect(ip.data).to.equal 'Josh and L... | spec/Component.coffee | rrothenb/noflo | 0 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component', ->
describe 'with required ports', ->
it 'should throw an error upon sending packet t... | 200187 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component', ->
describe 'with required ports', ->
it 'should throw an error upon sending packet t... | true | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component', ->
describe 'with required ports', ->
it 'should throw an error upon sending packet t... |
[
{
"context": "e\n\n new_account =\n name: user_name\n token: auth_token\n ",
"end": 4358,
"score": 0.7300145626068115,
"start": 4349,
"tag": "NAME",
"value": "user_name"
},
{
"context": " name: user_name\n ... | main.coffee | jneuendorf/git-issues | 0 | # MAIN
$(document).ready () ->
# BEGIN - INNER FUNCTIONS
# PROJECTS
load_and_show_projects = (select_last = false) ->
projects_select_box.empty().append "<option value='choose' disabled>Choose project</option>"
# load projects from localStorage
if localStorage.getItem("projects")
... | 112491 | # MAIN
$(document).ready () ->
# BEGIN - INNER FUNCTIONS
# PROJECTS
load_and_show_projects = (select_last = false) ->
projects_select_box.empty().append "<option value='choose' disabled>Choose project</option>"
# load projects from localStorage
if localStorage.getItem("projects")
... | true | # MAIN
$(document).ready () ->
# BEGIN - INNER FUNCTIONS
# PROJECTS
load_and_show_projects = (select_last = false) ->
projects_select_box.empty().append "<option value='choose' disabled>Choose project</option>"
# load projects from localStorage
if localStorage.getItem("projects")
... |
[
{
"context": "method extension tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test, assert} = require('lovely')\n\ndescribe \"D",
"end": 87,
"score": 0.9998803734779358,
"start": 70,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/date/test/parse_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The Date.parse method extension tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test, assert} = require('lovely')
describe "Date.parse", ->
Date = null
before Test.load((build)-> Date = build)
describe "year parsing", ->
it "should parse %Y", ->
assert.equal Date.parse("2011", "%Y").getFul... | 117931 | #
# The Date.parse method extension tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test, assert} = require('lovely')
describe "Date.parse", ->
Date = null
before Test.load((build)-> Date = build)
describe "year parsing", ->
it "should parse %Y", ->
assert.equal Date.parse("2011", "%Y").getFullYear(), 20... | true | #
# The Date.parse method extension tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test, assert} = require('lovely')
describe "Date.parse", ->
Date = null
before Test.load((build)-> Date = build)
describe "year parsing", ->
it "should parse %Y", ->
assert.equal Date.parse("2011", "%Y").get... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991912841796875,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-vm-harmony-proxies.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... | 76205 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " label = Math.round(indentation)\n\n key = \"templateVariables.#{configKey}\"\n config.get(\"#{key}#{label}\") || config.get(",
"end": 7370,
"score": 0.9601612687110901,
"start": 7341,
"tag": "KEY",
"value": "templateVariables.#{configKey"
}
] | lib/commands/edit-line.coffee | zaixi/md-writer | 377 | config = require "../config"
utils = require "../utils"
LineMeta = require "../helpers/line-meta"
MAX_SKIP_EMPTY_LINE_ALLOWED = 5
module.exports =
class EditLine
# action: insert-new-line, indent-list-line
constructor: (action) ->
@action = action
@editor = atom.workspace.getActiveTextEditor()
trigger... | 147849 | config = require "../config"
utils = require "../utils"
LineMeta = require "../helpers/line-meta"
MAX_SKIP_EMPTY_LINE_ALLOWED = 5
module.exports =
class EditLine
# action: insert-new-line, indent-list-line
constructor: (action) ->
@action = action
@editor = atom.workspace.getActiveTextEditor()
trigger... | true | config = require "../config"
utils = require "../utils"
LineMeta = require "../helpers/line-meta"
MAX_SKIP_EMPTY_LINE_ALLOWED = 5
module.exports =
class EditLine
# action: insert-new-line, indent-list-line
constructor: (action) ->
@action = action
@editor = atom.workspace.getActiveTextEditor()
trigger... |
[
{
"context": " it 'can remove a player', ->\n player = name: 'me'\n @game.addPlayer player\n @game.removePlaye",
"end": 540,
"score": 0.7135705947875977,
"start": 538,
"tag": "USERNAME",
"value": "me"
},
{
"context": "me.socket.on 'connection', ->\n data = name: 'bob'\n... | test/app/game_spec.coffee | davemaurakis/sumbro | 0 | sinon = require 'sinon'
Game = require '../../src/app/game.coffee'
io = require 'socket.io-client'
describe 'Game', ->
before ->
@game = new Game
it 'can be required', ->
Game.should.be.OK
it 'is a function', ->
game = new Game
it 'has players that defaults to 0', ->
@game.players.length.sh... | 189119 | sinon = require 'sinon'
Game = require '../../src/app/game.coffee'
io = require 'socket.io-client'
describe 'Game', ->
before ->
@game = new Game
it 'can be required', ->
Game.should.be.OK
it 'is a function', ->
game = new Game
it 'has players that defaults to 0', ->
@game.players.length.sh... | true | sinon = require 'sinon'
Game = require '../../src/app/game.coffee'
io = require 'socket.io-client'
describe 'Game', ->
before ->
@game = new Game
it 'can be required', ->
Game.should.be.OK
it 'is a function', ->
game = new Game
it 'has players that defaults to 0', ->
@game.players.length.sh... |
[
{
"context": "t \"then set in localStorageService\", ->\n\t\t\tkey = \"key\"\n\t\t\tobj = {}\n\t\t\tspyOn this.localStorageService, \"",
"end": 1635,
"score": 0.9235199689865112,
"start": 1632,
"tag": "KEY",
"value": "key"
},
{
"context": "en remove from localStorageService\", ->\n\t... | spec/services/cacheServiceSpec.coffee | jimmynguyen/tracker | 0 | describe "CacheServiceTest", ->
beforeEach ->
angular.mock.module "app.services"
angular.mock.inject (CacheService, _keys_, _localStorageService_, _$cookies_) ->
this.cacheService = CacheService
this.keys = _keys_
this.localStorageService = _localStorageService_
this.$cookies = _$cookies_
return
r... | 65896 | describe "CacheServiceTest", ->
beforeEach ->
angular.mock.module "app.services"
angular.mock.inject (CacheService, _keys_, _localStorageService_, _$cookies_) ->
this.cacheService = CacheService
this.keys = _keys_
this.localStorageService = _localStorageService_
this.$cookies = _$cookies_
return
r... | true | describe "CacheServiceTest", ->
beforeEach ->
angular.mock.module "app.services"
angular.mock.inject (CacheService, _keys_, _localStorageService_, _$cookies_) ->
this.cacheService = CacheService
this.keys = _keys_
this.localStorageService = _localStorageService_
this.$cookies = _$cookies_
return
r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.