entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "\n\n\t# JavaScript templating a-la ERB, pilfered from John Resig's\n\t# \"Secrets of the JavaScript Ninja\", page 83.\n",
"end": 703,
"score": 0.9997619986534119,
"start": 693,
"tag": "NAME",
"value": "John Resig"
},
{
"context": "vaScript Ninja\", page 83.\n\t# Single-... | src/template.coffee | stevenyvr987/evergreen-mobile-opac | 0 | # We define a module for the template method from underscore.js.
# Templates are used extensively in jQuery plugins
# to define areas of display and interactivity on the screen.
define ->
# By default, Underscore uses ERB-style template delimiters.
# Here, we change the following template settings to use alternativ... | 54519 | # We define a module for the template method from underscore.js.
# Templates are used extensively in jQuery plugins
# to define areas of display and interactivity on the screen.
define ->
# By default, Underscore uses ERB-style template delimiters.
# Here, we change the following template settings to use alternativ... | true | # We define a module for the template method from underscore.js.
# Templates are used extensively in jQuery plugins
# to define areas of display and interactivity on the screen.
define ->
# By default, Underscore uses ERB-style template delimiters.
# Here, we change the following template settings to use alternativ... |
[
{
"context": "\n\t\t@adding_user_id = \"adding-user-id\"\n\t\t@email = \"joe@sharelatex.com\"\n\t\t@callback = sinon.stub()\n\n\tdescribe \"getMember",
"end": 1184,
"score": 0.9999284744262695,
"start": 1166,
"tag": "EMAIL",
"value": "joe@sharelatex.com"
},
{
"context": "ectToThirdPa... | test/unit/coffee/Collaborators/CollaboratorsHandlerTests.coffee | davidmehren/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Collaborators/CollaboratorsHandler"
expect = require("chai").expect
Errors = require "../../../../app/... | 161925 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Collaborators/CollaboratorsHandler"
expect = require("chai").expect
Errors = require "../../../../app/... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Collaborators/CollaboratorsHandler"
expect = require("chai").expect
Errors = require "../../../../app/... |
[
{
"context": "loginDetails = {\n type: 'normal',\n username: 'someuser',\n password: '********'\n}\n\nrestify = require 're",
"end": 56,
"score": 0.9995554685592651,
"start": 48,
"tag": "USERNAME",
"value": "someuser"
},
{
"context": "e: 'normal',\n username: 'someuser',\n passw... | test/raw_test/taiga_login.coffee | RaghavendhraK/taiga-timesheet | 0 | loginDetails = {
type: 'normal',
username: 'someuser',
password: '********'
}
restify = require 'restify'
client = restify.createJsonClient({
url: 'https://api.taiga.io'
})
client.post '/api/v1/auth', loginDetails, (e, req, res, body)->
console.log e, req.headers, body
| 93156 | loginDetails = {
type: 'normal',
username: 'someuser',
password: '<PASSWORD>********'
}
restify = require 'restify'
client = restify.createJsonClient({
url: 'https://api.taiga.io'
})
client.post '/api/v1/auth', loginDetails, (e, req, res, body)->
console.log e, req.headers, body
| true | loginDetails = {
type: 'normal',
username: 'someuser',
password: 'PI:PASSWORD:<PASSWORD>END_PI********'
}
restify = require 'restify'
client = restify.createJsonClient({
url: 'https://api.taiga.io'
})
client.post '/api/v1/auth', loginDetails, (e, req, res, body)->
console.log e, req.headers, body
|
[
{
"context": "zt':'лв'\n 'kgs':'лв'\n 'uzs':'лв'\n 'azn':'ман'\n 'rub':'руб'\n 'inr':''\n 'try':''\n ''",
"end": 1616,
"score": 0.9965254068374634,
"start": 1613,
"tag": "NAME",
"value": "ман"
}
] | src/data/currencies.coffee | verus-io/crowdstart-checkout | 14 | module.exports =
data:
'aud':'$'
'cad':'$'
'eur':'€'
'gbp':'£'
'hkd':'$'
'jpy':'¥'
'nzd':'$'
'sgd':'$'
'usd':'$'
'ghc':'¢'
'ars':'$'
'bsd':'$'
'bbd':'$'
'bmd':'$'
'bnd':'$'
'kyd':'$'
'clp':'$'
'cop':'$'
'xcd':'$'
'svc':'$'
'fjd':'$'
... | 193570 | module.exports =
data:
'aud':'$'
'cad':'$'
'eur':'€'
'gbp':'£'
'hkd':'$'
'jpy':'¥'
'nzd':'$'
'sgd':'$'
'usd':'$'
'ghc':'¢'
'ars':'$'
'bsd':'$'
'bbd':'$'
'bmd':'$'
'bnd':'$'
'kyd':'$'
'clp':'$'
'cop':'$'
'xcd':'$'
'svc':'$'
'fjd':'$'
... | true | module.exports =
data:
'aud':'$'
'cad':'$'
'eur':'€'
'gbp':'£'
'hkd':'$'
'jpy':'¥'
'nzd':'$'
'sgd':'$'
'usd':'$'
'ghc':'¢'
'ars':'$'
'bsd':'$'
'bbd':'$'
'bmd':'$'
'bnd':'$'
'kyd':'$'
'clp':'$'
'cop':'$'
'xcd':'$'
'svc':'$'
'fjd':'$'
... |
[
{
"context": "###\nCopyright 2013 Simon Lydell\n\nThis file is part of parse-stack.\n\nparse-stack i",
"end": 31,
"score": 0.9998714327812195,
"start": 19,
"tag": "NAME",
"value": "Simon Lydell"
}
] | node_modules/parse-stack/src/parse-stack.coffee | KartikVashisth/Camper_Website | 7 | ###
Copyright 2013 Simon Lydell
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
parse... | 99820 | ###
Copyright 2013 <NAME>
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
parse-stack... | true | ###
Copyright 2013 PI:NAME:<NAME>END_PI
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version... |
[
{
"context": "IWggp7jfIjiDPfOwNfg\"\n, \n id: 1003 \n name: '山本 たろー'\n description: ''\n iconUrl: \"http://www.asahi.",
"end": 365,
"score": 0.5766867399215698,
"start": 364,
"tag": "NAME",
"value": "ろ"
},
{
"context": "sasakinozomi_a07-9da79.jpg\"\n,\n id: 1005\n name: '竹田 ケイ... | web/client/scripts/service/data/proxies.coffee | stomita/lotteryvote | 1 | "use strict"
module.exports = [
id: 1001
name: '田原 そーいちろー'
iconUrl: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSVIvXDOqpYpcl9Q_4etR0QAXglG15Tnx1JjmTrmHn__4EggBv6"
,
id: 1002
name: '池田 のぶを'
iconUrl: "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSXP4R9kHNMvJesTEL5ZjCWomDDlqScNdEY-I7IWggp7... | 212106 | "use strict"
module.exports = [
id: 1001
name: '田原 そーいちろー'
iconUrl: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSVIvXDOqpYpcl9Q_4etR0QAXglG15Tnx1JjmTrmHn__4EggBv6"
,
id: 1002
name: '池田 のぶを'
iconUrl: "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSXP4R9kHNMvJesTEL5ZjCWomDDlqScNdEY-I7IWggp7... | true | "use strict"
module.exports = [
id: 1001
name: '田原 そーいちろー'
iconUrl: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSVIvXDOqpYpcl9Q_4etR0QAXglG15Tnx1JjmTrmHn__4EggBv6"
,
id: 1002
name: '池田 のぶを'
iconUrl: "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSXP4R9kHNMvJesTEL5ZjCWomDDlqScNdEY-I7IWggp7... |
[
{
"context": "key: 'sidebar-paragraph'\n\npatterns: [\n\n # Matches sidebar parag",
"end": 13,
"score": 0.613372266292572,
"start": 13,
"tag": "KEY",
"value": ""
}
] | grammars/repositories/blocks/sidebar-paragraph-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'sidebar-paragraph'
patterns: [
# Matches sidebar paragraph.
#
# Examples:
#
# [sidebar]
# ****
# A multi-line *sidebar*.
# ****
#
# or
#
# [sidebar]
# --
# A multi-line *sidebar*.
# --
#
# or
#
# [sidebar]
# A multi-line *sidebar*.
#
name: 'markup.... | 66859 | key: 'sidebar<KEY>-paragraph'
patterns: [
# Matches sidebar paragraph.
#
# Examples:
#
# [sidebar]
# ****
# A multi-line *sidebar*.
# ****
#
# or
#
# [sidebar]
# --
# A multi-line *sidebar*.
# --
#
# or
#
# [sidebar]
# A multi-line *sidebar*.
#
name: 'ma... | true | key: 'sidebarPI:KEY:<KEY>END_PI-paragraph'
patterns: [
# Matches sidebar paragraph.
#
# Examples:
#
# [sidebar]
# ****
# A multi-line *sidebar*.
# ****
#
# or
#
# [sidebar]
# --
# A multi-line *sidebar*.
# --
#
# or
#
# [sidebar]
# A multi-line *sidebar*.
... |
[
{
"context": " when 'containedInScreenRange'\n key = 'containedInRange'\n value = @displayBuffer.bufferRa",
"end": 6247,
"score": 0.5297257304191589,
"start": 6238,
"tag": "KEY",
"value": "contained"
},
{
"context": " when 'intersectsScreenRange'\n key... | src/text-editor-marker-layer.coffee | chfritz/atom | 7 | TextEditorMarker = require './text-editor-marker'
# Public: *Experimental:* A container for a related set of markers at the
# {TextEditor} level. Wraps an underlying {MarkerLayer} on the editor's
# {TextBuffer}.
#
# This API is experimental and subject to change on any release.
module.exports =
class TextEditorMarkerL... | 109445 | TextEditorMarker = require './text-editor-marker'
# Public: *Experimental:* A container for a related set of markers at the
# {TextEditor} level. Wraps an underlying {MarkerLayer} on the editor's
# {TextBuffer}.
#
# This API is experimental and subject to change on any release.
module.exports =
class TextEditorMarkerL... | true | TextEditorMarker = require './text-editor-marker'
# Public: *Experimental:* A container for a related set of markers at the
# {TextEditor} level. Wraps an underlying {MarkerLayer} on the editor's
# {TextBuffer}.
#
# This API is experimental and subject to change on any release.
module.exports =
class TextEditorMarkerL... |
[
{
"context": "key: 'front-matter'\npatterns: [\n {\n begin: '\\\\A---$'\n beginCa",
"end": 18,
"score": 0.8133086562156677,
"start": 6,
"tag": "KEY",
"value": "front-matter"
}
] | grammars/repositories/flavors/front-matter.cson | plttn/language-markdown | 0 | key: 'front-matter'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginCaptures:
0: name: ... | 199974 | key: '<KEY>'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginCaptures:
0: name: 'hr.md'... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginCaptures:
0: ... |
[
{
"context": " iframe elements have a title attribute.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 114,
"score": 0.999875009059906,
"start": 103,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/iframe-has-title.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce iframe elements have a title attribute.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{R... | 143663 | ### eslint-env jest ###
###*
# @fileoverview Enforce iframe elements have a title attribute.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTe... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce iframe elements have a title attribute.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require ... |
[
{
"context": " down along the road met a nicens little boy named baby tuckoo...\\n\\nHis father told him that story: h",
"end": 4344,
"score": 0.850256085395813,
"start": 4343,
"tag": "NAME",
"value": "b"
},
{
"context": "s baby tuckoo. The moocow came down the road where Betty Byrne... | js/lesson_plans.coffee | artusiep/markdown-tutorial | 0 | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Pisanie w Markdown nie jest trudne!"
renderedAnswer: "<p>Pisanie w Markdown <em>nie</em> jest trudne!</p>"
1:
startingText: "Zrobie wszystkie lekcje z Markdowna!"
renderedAnswer: "<p>Zrobie <strong>wszystkie</strong> l... | 29095 | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Pisanie w Markdown nie jest trudne!"
renderedAnswer: "<p>Pisanie w Markdown <em>nie</em> jest trudne!</p>"
1:
startingText: "Zrobie wszystkie lekcje z Markdowna!"
renderedAnswer: "<p>Zrobie <strong>wszystkie</strong> l... | true | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Pisanie w Markdown nie jest trudne!"
renderedAnswer: "<p>Pisanie w Markdown <em>nie</em> jest trudne!</p>"
1:
startingText: "Zrobie wszystkie lekcje z Markdowna!"
renderedAnswer: "<p>Zrobie <strong>wszystkie</strong> l... |
[
{
"context": " beforeEach ->\n dynamo = ddb(accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2')",
"end": 934,
"score": 0.9923121929168701,
"start": 930,
"tag": "KEY",
"value": "AKID"
},
{
"context": "namo = ddb(accessKeyId: 'AKID', secretAccessKey: 'SECRET', r... | test/services/dynamodb.spec.coffee | daguej/aws-sdk-js | 0 | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.DynamoDB', ->
configure = (options) ->
new AWS.Config(options)
ddb = (options) ->
new AWS.DynamoDB(configure(options))
describe 'config', ->
it 'returns the configuration object it was constructed with', ->
config = configure(e... | 18391 | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.DynamoDB', ->
configure = (options) ->
new AWS.Config(options)
ddb = (options) ->
new AWS.DynamoDB(configure(options))
describe 'config', ->
it 'returns the configuration object it was constructed with', ->
config = configure(e... | true | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.DynamoDB', ->
configure = (options) ->
new AWS.Config(options)
ddb = (options) ->
new AWS.DynamoDB(configure(options))
describe 'config', ->
it 'returns the configuration object it was constructed with', ->
config = configure(e... |
[
{
"context": "\t\tfor container in [\"header\", \"actions\"]\r\n\t\t\tkey = \"_#{container}\"\r\n\t\t\tif @[key]?.length\r\n\t\t\t\t@_render(el",
"end": 1149,
"score": 0.8661049008369446,
"start": 1145,
"tag": "KEY",
"value": "\"_#{"
}
] | src/widget/layout/dialog.coffee | homeant/cola-ui | 90 | class cola.Dialog extends cola.Layer
@tagName: "c-dialog"
@className: "dialog transition hidden"
@attributes:
context: null
animation:
defaultValue: "scale"
enum: [
"none", "scale", "drop", "browse right", "browse",
"slide left", "slide right", "slide up", "slide down",
"fade left",... | 192437 | class cola.Dialog extends cola.Layer
@tagName: "c-dialog"
@className: "dialog transition hidden"
@attributes:
context: null
animation:
defaultValue: "scale"
enum: [
"none", "scale", "drop", "browse right", "browse",
"slide left", "slide right", "slide up", "slide down",
"fade left",... | true | class cola.Dialog extends cola.Layer
@tagName: "c-dialog"
@className: "dialog transition hidden"
@attributes:
context: null
animation:
defaultValue: "scale"
enum: [
"none", "scale", "drop", "browse right", "browse",
"slide left", "slide right", "slide up", "slide down",
"fade left",... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999910831451416,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": "__header admin-contest__table-column--username', 'Username'\n ... | resources/assets/coffee/react/admin/contest/user-entry-list.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntry } from './user-entry'
import { UserArtEntry } from './user-art-entry'
import * as React from 'react'
import { div, table, tr, ... | 213458 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntry } from './user-entry'
import { UserArtEntry } from './user-art-entry'
import * as React from 'react'
import { div, table, tr, a, tbod... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntry } from './user-entry'
import { UserArtEntry } from './user-art-entry'
import * as React from 'react'
import { div, tab... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.9998676180839539,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/events.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Helpers
# -------
# Attempt to select a tab in the current window displaying a page whose location begins with `url`.
#
# If no existing tab exists, a new one is created.
activateTab = (url, callba... | 138568 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Helpers
# -------
# Attempt to select a tab in the current window displaying a page whose location begins with `url`.
#
# If no existing tab exists, a new one is created.
activateTab = (url, callback) ->
... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Helpers
# -------
# Attempt to select a tab in the current window displaying a page whose location begins with `url`.
#
# If no existing tab exists, a new one is created.
activateTab = (url, c... |
[
{
"context": "ror<br />\"+\n \"<span class='suplimental_info'>cypress@deterlab.net has been notified<span>\")\n reportServerError(d",
"end": 469,
"score": 0.9999271631240845,
"start": 449,
"tag": "EMAIL",
"value": "cypress@deterlab.net"
},
{
"context": "ent<br />\"+\n \"... | coffee/user.coffee | cycps/designer | 0 | root = exports ? this
user = ""
thisUser = () =>
($.get "/gatekeeper/thisUser", (data) =>
user = data
$("#user_ctrl").html(user)
loadUserDesigns()
).fail () ->
console.log("fail to get current user, going back to login screen")
window.location.href = location.origin
true
onFail = (data) =... | 172710 | root = exports ? this
user = ""
thisUser = () =>
($.get "/gatekeeper/thisUser", (data) =>
user = data
$("#user_ctrl").html(user)
loadUserDesigns()
).fail () ->
console.log("fail to get current user, going back to login screen")
window.location.href = location.origin
true
onFail = (data) =... | true | root = exports ? this
user = ""
thisUser = () =>
($.get "/gatekeeper/thisUser", (data) =>
user = data
$("#user_ctrl").html(user)
loadUserDesigns()
).fail () ->
console.log("fail to get current user, going back to login screen")
window.location.href = location.origin
true
onFail = (data) =... |
[
{
"context": "@AdminConfig =\n adminEmails: ['user@test.com']\n collections:\n ApplicationDefs:\n icon:",
"end": 45,
"score": 0.9998999834060669,
"start": 32,
"tag": "EMAIL",
"value": "user@test.com"
}
] | config/admin.coffee | ICTU/docker-dashboard | 33 | @AdminConfig =
adminEmails: ['user@test.com']
collections:
ApplicationDefs:
icon: 'flag'
| 114757 | @AdminConfig =
adminEmails: ['<EMAIL>']
collections:
ApplicationDefs:
icon: 'flag'
| true | @AdminConfig =
adminEmails: ['PI:EMAIL:<EMAIL>END_PI']
collections:
ApplicationDefs:
icon: 'flag'
|
[
{
"context": "'\n @userMock =\n id: 1\n email: 'pitogo.adones@gmail.com'\n\n it 'should fetch users', ->\n @httpBackend.",
"end": 254,
"score": 0.9999277591705322,
"start": 231,
"tag": "EMAIL",
"value": "pitogo.adones@gmail.com"
},
{
"context": "', ->\n @htt... | web/spec/javascripts/angular/services/user.spec.coffee | MakerButt/chaipcr | 1 | describe 'User Service', ->
beforeEach ->
module 'ChaiBioTech'
inject ($injector) ->
@httpBackend = $injector.get '$httpBackend'
@User = $injector.get 'User'
@userMock =
id: 1
email: 'pitogo.adones@gmail.com'
it 'should fetch users', ->
@httpBackend.expectGET('/user... | 90229 | describe 'User Service', ->
beforeEach ->
module 'ChaiBioTech'
inject ($injector) ->
@httpBackend = $injector.get '$httpBackend'
@User = $injector.get 'User'
@userMock =
id: 1
email: '<EMAIL>'
it 'should fetch users', ->
@httpBackend.expectGET('/users').respond [@us... | true | describe 'User Service', ->
beforeEach ->
module 'ChaiBioTech'
inject ($injector) ->
@httpBackend = $injector.get '$httpBackend'
@User = $injector.get 'User'
@userMock =
id: 1
email: 'PI:EMAIL:<EMAIL>END_PI'
it 'should fetch users', ->
@httpBackend.expectGET('/users... |
[
{
"context": "#\t> File Name: album.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: T",
"end": 42,
"score": 0.9976500272750854,
"start": 40,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "> File Name: album.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@... | server/db/models/album.coffee | wiiliamking/miac-website | 0 | # > File Name: album.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Tuesday, December 09, 2014 PM03:22:29 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
AlbumSchema = new Schema
title: String
createdAt: { type: Date, default: Date.now }
c... | 153672 | # > File Name: album.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Tuesday, December 09, 2014 PM03:22:29 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
AlbumSchema = new Schema
title: String
createdAt: { type: Date, default: Date.now }
createdBy: Ob... | true | # > File Name: album.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Tuesday, December 09, 2014 PM03:22:29 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
AlbumSchema = new Schema
title: String
createdAt: { type: Date, default: Date.now }
... |
[
{
"context": " ->\n thingsAreOk = (auth) ->\n auth.token = auth.access_token\n auth.obtained_on = new Date().getTime()\n ",
"end": 418,
"score": 0.6892078518867493,
"start": 401,
"tag": "KEY",
"value": "auth.access_token"
}
] | src/auth/refresh/token-refresh.coffee | theodorick/ocelot | 13 | setCookies = require '../set-cookies'
refresh = require './refresh'
response = require '../../response'
tokenInfo = require '../token-info'
log = require '../../log'
module.exports =
accept: (req, route, cookies) ->
req.url.split('?')[0].endsWith('auth-token-refresh') and refresh.accept(route, cookies)
comple... | 219920 | setCookies = require '../set-cookies'
refresh = require './refresh'
response = require '../../response'
tokenInfo = require '../token-info'
log = require '../../log'
module.exports =
accept: (req, route, cookies) ->
req.url.split('?')[0].endsWith('auth-token-refresh') and refresh.accept(route, cookies)
comple... | true | setCookies = require '../set-cookies'
refresh = require './refresh'
response = require '../../response'
tokenInfo = require '../token-info'
log = require '../../log'
module.exports =
accept: (req, route, cookies) ->
req.url.split('?')[0].endsWith('auth-token-refresh') and refresh.accept(route, cookies)
comple... |
[
{
"context": "'Why reticulate when you can destroy?'\n\t\tauthor: 'John Dope'\n\t\tcheckinCompiled: false\n\n\tbeforeEach (done) ->\n",
"end": 379,
"score": 0.9998531341552734,
"start": 370,
"tag": "NAME",
"value": "John Dope"
}
] | test/creation.test.coffee | raymond-h/generator-webapp-full-mocha | 3 | path = require 'path'
fs = require 'fs'
helpers = require('yeoman-generator').test
chai = require 'chai'
_ = require 'underscore'
{expect} = chai
chai.should()
{asyncCatch} = require './common'
describe 'webapp-full-mocha generator', ->
origCwd = process.cwd()
mockParams =
webappName: 'spline-destroyer'
desc: ... | 197474 | path = require 'path'
fs = require 'fs'
helpers = require('yeoman-generator').test
chai = require 'chai'
_ = require 'underscore'
{expect} = chai
chai.should()
{asyncCatch} = require './common'
describe 'webapp-full-mocha generator', ->
origCwd = process.cwd()
mockParams =
webappName: 'spline-destroyer'
desc: ... | true | path = require 'path'
fs = require 'fs'
helpers = require('yeoman-generator').test
chai = require 'chai'
_ = require 'underscore'
{expect} = chai
chai.should()
{asyncCatch} = require './common'
describe 'webapp-full-mocha generator', ->
origCwd = process.cwd()
mockParams =
webappName: 'spline-destroyer'
desc: ... |
[
{
"context": ": \"soft\"\n \"exception-reporting\":\n userId: \"dca51466-f135-456d-8972-ce2cf1bdd03a\"\n \"tree-view\":\n ",
"end": 237,
"score": 0.4533393681049347,
"start": 234,
"tag": "PASSWORD",
"value": "514"
},
{
"context": "\n \"exception-reporting\":\n userId: \"dc... | atom.symlink/config.cson | booleanvalue/dotfiles | 0 | "*":
core:
telemetryConsent: "no"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
editor:
fontSize: 15
softTabs: true
tabLength: 4
tabType: "soft"
"exception-reporting":
userId: "dca51466-f135-456d-8972-ce2cf1bdd03a"
"tree-view":
hideVcsIgnoredFiles: true
welc... | 50351 | "*":
core:
telemetryConsent: "no"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
editor:
fontSize: 15
softTabs: true
tabLength: 4
tabType: "soft"
"exception-reporting":
userId: "dca<PASSWORD>66-f1<PASSWORD>-<PASSWORD>9<PASSWORD>-ce2cf1bdd<PASSWORD>"
"tree-view":
... | true | "*":
core:
telemetryConsent: "no"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
editor:
fontSize: 15
softTabs: true
tabLength: 4
tabType: "soft"
"exception-reporting":
userId: "dcaPI:PASSWORD:<PASSWORD>END_PI66-f1PI:PASSWORD:<PASSWORD>END_PI-PI:PASSWORD:<PASSWORD>EN... |
[
{
"context": " for the query limit to given tags\n#\n# Author:\n# carsonmcdonald\n\nwwwdude = require(\"wwwdude\")\n\n# API keys are pub",
"end": 346,
"score": 0.9988625645637512,
"start": 332,
"tag": "USERNAME",
"value": "carsonmcdonald"
},
{
"context": "re public for Stackapps\nh... | src/scripts/sosearch.coffee | wellfire/hubot-scripts | 1 | # Description:
# Search stack overflow and provide links to the first 5 questions
#
# Dependencies:
# "wwwdude": "0.1.0"
#
# Configuration:
# None
#
# Commands:
# sosearch me <query> - Search for the query
# sosearch me <query> with tags <tag list sperated by ,> - Search for the query limit to given tags
#
# ... | 52995 | # Description:
# Search stack overflow and provide links to the first 5 questions
#
# Dependencies:
# "wwwdude": "0.1.0"
#
# Configuration:
# None
#
# Commands:
# sosearch me <query> - Search for the query
# sosearch me <query> with tags <tag list sperated by ,> - Search for the query limit to given tags
#
# ... | true | # Description:
# Search stack overflow and provide links to the first 5 questions
#
# Dependencies:
# "wwwdude": "0.1.0"
#
# Configuration:
# None
#
# Commands:
# sosearch me <query> - Search for the query
# sosearch me <query> with tags <tag list sperated by ,> - Search for the query limit to given tags
#
# ... |
[
{
"context": " user:\n data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: \"Sue\"\n ",
"end": 391,
"score": 0.9998636245727539,
"start": 388,
"tag": "NAME",
"value": "Bob"
},
{
"context": " name: \"Bob\"\n ,\n id: 2\n nam... | test/spec_coffee/replace_on_with_heirarchical_data_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user: User
activity: Activity
first_data = {
mvcoffee_version: "1.... | 104895 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user: User
activity: Activity
first_data = {
mvcoffee_version: "1.... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user: User
activity: Activity
first_data = {
mvcoffee_version: "1.... |
[
{
"context": " else\n km.unlock_pgp { passphrase: passphrase }, (err) =>\n if err\n ",
"end": 1880,
"score": 0.8730807304382324,
"start": 1870,
"tag": "PASSWORD",
"value": "passphrase"
}
] | packages/client-app/internal_packages/keybase/lib/passphrase-popover.cjsx | cnheider/nylas-mail | 24,369 | {React, Actions} = require 'nylas-exports'
Identity = require './identity'
PGPKeyStore = require './pgp-key-store'
_ = require 'underscore'
fs = require 'fs'
pgp = require 'kbpgp'
module.exports =
class PassphrasePopover extends React.Component
constructor: ->
@state = {
passphrase: ""
placeholder: "... | 51017 | {React, Actions} = require 'nylas-exports'
Identity = require './identity'
PGPKeyStore = require './pgp-key-store'
_ = require 'underscore'
fs = require 'fs'
pgp = require 'kbpgp'
module.exports =
class PassphrasePopover extends React.Component
constructor: ->
@state = {
passphrase: ""
placeholder: "... | true | {React, Actions} = require 'nylas-exports'
Identity = require './identity'
PGPKeyStore = require './pgp-key-store'
_ = require 'underscore'
fs = require 'fs'
pgp = require 'kbpgp'
module.exports =
class PassphrasePopover extends React.Component
constructor: ->
@state = {
passphrase: ""
placeholder: "... |
[
{
"context": "###*\n *\n * # 复选框\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Template, C",
"end": 34,
"score": 0.9997036457061768,
"start": 28,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * # 复选框\n * @author vfasky <vfasky@gmail.com>\n###\n'use s... | src/coffee/cellsCheckbox.coffee | vfasky/mcore-weui | 0 | ###*
*
* # 复选框
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Template, Component, util} = require 'mcore'
class CellsCheckbox extends Component
init: ->
@render require('../tpl/cellsCheckbox.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.isArray ... | 58442 | ###*
*
* # 复选框
* @author vfasky <<EMAIL>>
###
'use strict'
{Template, Component, util} = require 'mcore'
class CellsCheckbox extends Component
init: ->
@render require('../tpl/cellsCheckbox.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.isArray list
... | true | ###*
*
* # 复选框
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Template, Component, util} = require 'mcore'
class CellsCheckbox extends Component
init: ->
@render require('../tpl/cellsCheckbox.html')
watch: ->
@on 'change:list', (list)=>
return if false == util.is... |
[
{
"context": "est email delivered to your Gmail inbox.\n# Author: Ryuei Sasaki\n# Github: https://github.com/louixs/\n\n# Dependenc",
"end": 175,
"score": 0.9998842477798462,
"start": 163,
"tag": "NAME",
"value": "Ryuei Sasaki"
},
{
"context": "Author: Ryuei Sasaki\n# Github: https:/... | gmail.widget/gmail.coffee | louixs/ubersicht_gmail | 3 | # Name: Gmail Widget for Ubersichts using oauth2
# Description: Shows the sender and the subject line of the latest email delivered to your Gmail inbox.
# Author: Ryuei Sasaki
# Github: https://github.com/louixs/
# Dependencies. Best to leave them alone.
_ = require('./assets/lib/underscore.js');
GOOGLE_APP:"gmail"
... | 144319 | # Name: Gmail Widget for Ubersichts using oauth2
# Description: Shows the sender and the subject line of the latest email delivered to your Gmail inbox.
# Author: <NAME>
# Github: https://github.com/louixs/
# Dependencies. Best to leave them alone.
_ = require('./assets/lib/underscore.js');
GOOGLE_APP:"gmail"
#==== ... | true | # Name: Gmail Widget for Ubersichts using oauth2
# Description: Shows the sender and the subject line of the latest email delivered to your Gmail inbox.
# Author: PI:NAME:<NAME>END_PI
# Github: https://github.com/louixs/
# Dependencies. Best to leave them alone.
_ = require('./assets/lib/underscore.js');
GOOGLE_APP:"... |
[
{
"context": "\n\n\n $scope.getStripeToken = () ->\n DEV_TOKEN=\"pk_096woK2npZnBc1cPETWmMsNmjod7e\"\n PROD_TOKEN=\"pk_0",
"end": 3057,
"score": 0.6847856640815735,
"start": 3053,
"tag": "KEY",
"value": "pk_0"
},
{
"context": " $scope.getStripeToken = () ->\n DEV_TOKEN=\"pk_... | plugin-assets/anybackup-wordpress-1.0.coffee | wp-plugins/anybackup | 0 | app = angular.module('BitsAnyBackup', ['ui.bootstrap'])
app.filter 'html', ($sce) ->
(input) ->
$sce.trustAsHtml(input)
updateEmail = (email) ->
->
$parentScope = angular.element("#dashboard").scope()
$parentScope.$apply ->
$parentScope.email = email
updateStatus = () ->
$parentScope = angula... | 54903 | app = angular.module('BitsAnyBackup', ['ui.bootstrap'])
app.filter 'html', ($sce) ->
(input) ->
$sce.trustAsHtml(input)
updateEmail = (email) ->
->
$parentScope = angular.element("#dashboard").scope()
$parentScope.$apply ->
$parentScope.email = email
updateStatus = () ->
$parentScope = angula... | true | app = angular.module('BitsAnyBackup', ['ui.bootstrap'])
app.filter 'html', ($sce) ->
(input) ->
$sce.trustAsHtml(input)
updateEmail = (email) ->
->
$parentScope = angular.element("#dashboard").scope()
$parentScope.$apply ->
$parentScope.email = email
updateStatus = () ->
$parentScope = angula... |
[
{
"context": "#*\nmarked - A markdown parser (https://github.com/chjj/marked)\nCopyright (c) 2011-2012, Christopher Jeff",
"end": 56,
"score": 0.9990149140357971,
"start": 52,
"tag": "USERNAME",
"value": "chjj"
},
{
"context": "//github.com/chjj/marked)\nCopyright (c) 2011-2012, Chri... | tools/doc/node_modules/marked/lib/marked.coffee | lxe/io.coffee | 0 | ###*
marked - A markdown parser (https://github.com/chjj/marked)
Copyright (c) 2011-2012, Christopher Jeffrey. (MIT Licensed)
###
###*
Block-Level Grammar
###
###*
Block Lexer
###
# newline
# code
# gfm_code
# heading
# lheading
# hr
# blockquote
# Pass `top` to keep the current
# "toplevel" state. This is ex... | 16595 | ###*
marked - A markdown parser (https://github.com/chjj/marked)
Copyright (c) 2011-2012, <NAME>. (MIT Licensed)
###
###*
Block-Level Grammar
###
###*
Block Lexer
###
# newline
# code
# gfm_code
# heading
# lheading
# hr
# blockquote
# Pass `top` to keep the current
# "toplevel" state. This is exactly
# how m... | true | ###*
marked - A markdown parser (https://github.com/chjj/marked)
Copyright (c) 2011-2012, PI:NAME:<NAME>END_PI. (MIT Licensed)
###
###*
Block-Level Grammar
###
###*
Block Lexer
###
# newline
# code
# gfm_code
# heading
# lheading
# hr
# blockquote
# Pass `top` to keep the current
# "toplevel" state. This is e... |
[
{
"context": "me format, format should be in the form of email : user@sample.com'\n\n\n LANG.title = 'Send copy of voicemai",
"end": 953,
"score": 0.999792218208313,
"start": 938,
"tag": "EMAIL",
"value": "user@sample.com"
}
] | modules/settings/send_voicemail_copy/send_voicemail_copy.coffee | signonsridhar/sridhar_hbs | 0 | define(['modules/enable_disable_form/enable_disable_form',
'modules/toggle/toggle',
'models/auth/auth',
'models/voicemail_copy/voicemail_copy'
], (EnableDisableForm, Toggle,Auth, VoicemailCopy)->
EnableDisableForm.extend({
LANG:()->
errors = {
email:{}
... | 124650 | define(['modules/enable_disable_form/enable_disable_form',
'modules/toggle/toggle',
'models/auth/auth',
'models/voicemail_copy/voicemail_copy'
], (EnableDisableForm, Toggle,Auth, VoicemailCopy)->
EnableDisableForm.extend({
LANG:()->
errors = {
email:{}
... | true | define(['modules/enable_disable_form/enable_disable_form',
'modules/toggle/toggle',
'models/auth/auth',
'models/voicemail_copy/voicemail_copy'
], (EnableDisableForm, Toggle,Auth, VoicemailCopy)->
EnableDisableForm.extend({
LANG:()->
errors = {
email:{}
... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998798370361328,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/d... | src/Coffixi/display/Sprite.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/Sprite', [
'./DisplayObjectContainer'
'Coffixi/core/Point'
'Coffixi/textures/Texture'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Point
Texture
RenderTypes
) ->
###*
The Sprite object is the base for al... | 160139 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/Sprite', [
'./DisplayObjectContainer'
'Coffixi/core/Point'
'Coffixi/textures/Texture'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Point
Texture
RenderTypes
) ->
###*
The Sprite object is the base for all te... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/Sprite', [
'./DisplayObjectContainer'
'Coffixi/core/Point'
'Coffixi/textures/Texture'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Point
Texture
RenderTypes
) ->
###*
The Sprite object is the b... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998869895935059,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/common/filters.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 86605 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998882412910461,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/team/main.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 77070 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "itesmoke;\n background-image: url('http://128.39.148.43:9001/assets/img/gothshark-logo.png');\n b",
"end": 564,
"score": 0.9996156692504883,
"start": 551,
"tag": "IP_ADDRESS",
"value": "128.39.148.43"
},
{
"context": " | IP: <div id=\"node-ip\" style=\... | GOTHAM/Game/src/objects/View/GothsharkView.coffee | perara/gotham | 0 |
###*
# View for gothsshark. This is empty as the View is actually located in the index.html (Because of Angular datababinding (TODO)
# @class GothsharkView
# @module Frontend.View
# @namespace GothamGame.View
# @extends Gotham.Pattern.MVC.View
###
class GothsharkView extends Gotham.Pattern.MVC.View
constructor: ->... | 141841 |
###*
# View for gothsshark. This is empty as the View is actually located in the index.html (Because of Angular datababinding (TODO)
# @class GothsharkView
# @module Frontend.View
# @namespace GothamGame.View
# @extends Gotham.Pattern.MVC.View
###
class GothsharkView extends Gotham.Pattern.MVC.View
constructor: ->... | true |
###*
# View for gothsshark. This is empty as the View is actually located in the index.html (Because of Angular datababinding (TODO)
# @class GothsharkView
# @module Frontend.View
# @namespace GothamGame.View
# @extends Gotham.Pattern.MVC.View
###
class GothsharkView extends Gotham.Pattern.MVC.View
constructor: ->... |
[
{
"context": "ef{workshops}}\n \n \\\\newcommand*{\\\\firstspeaker}{Gary Millar}\n \\\\newcommand*{\\\\secondspeaker}{Reuben Salagara",
"end": 1001,
"score": 0.9998515844345093,
"start": 990,
"tag": "NAME",
"value": "Gary Millar"
},
{
"context": "er}{Gary Millar}\n \\\\newcommand... | notes/773105fc-c97b-4990-bc65-1e398e95d01d.cson | wikiGrandfleet/gravRepo | 0 | createdAt: "2018-07-30T03:40:57.797Z"
updatedAt: "2018-07-30T03:42:23.608Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "Latex TimeTable"
content: '''
### Latex TimeTable
```latex
\\documentclass{article}
\\usepackage[landscape,a4paper]{geometry}
\\usepackage{microtype}
\\usepackage[de... | 46556 | createdAt: "2018-07-30T03:40:57.797Z"
updatedAt: "2018-07-30T03:42:23.608Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "Latex TimeTable"
content: '''
### Latex TimeTable
```latex
\\documentclass{article}
\\usepackage[landscape,a4paper]{geometry}
\\usepackage{microtype}
\\usepackage[de... | true | createdAt: "2018-07-30T03:40:57.797Z"
updatedAt: "2018-07-30T03:42:23.608Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "Latex TimeTable"
content: '''
### Latex TimeTable
```latex
\\documentclass{article}
\\usepackage[landscape,a4paper]{geometry}
\\usepackage{microtype}
\\usepackage[de... |
[
{
"context": "ions\n\nThe MIT License (MIT)\n\nCopyright © 2014-2020 Patrick Liess, http://www.tcs.de\n\nPermission is hereby granted,",
"end": 77,
"score": 0.9997807145118713,
"start": 64,
"tag": "NAME",
"value": "Patrick Liess"
},
{
"context": "redisconfig =\n\thost: process.env.RS... | app.coffee | bewest/rest-sessions | 13 | ###
Rest Sessions
The MIT License (MIT)
Copyright © 2014-2020 Patrick Liess, http://www.tcs.de
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 t... | 75987 | ###
Rest Sessions
The MIT License (MIT)
Copyright © 2014-2020 <NAME>, http://www.tcs.de
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 righ... | true | ###
Rest Sessions
The MIT License (MIT)
Copyright © 2014-2020 PI:NAME:<NAME>END_PI, http://www.tcs.de
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 limit... |
[
{
"context": "e!\n #\n # Allows calls like User.new firstname: 'John'\n @new: (attributes) ->\n new @(attributes)\n\n ",
"end": 1183,
"score": 0.9997889399528503,
"start": 1179,
"tag": "NAME",
"value": "John"
}
] | minimongoid.coffee | haihappen/minimongoid | 7 | class Minimongoid
id: undefined
attributes: {}
constructor: (attributes = {}) ->
if attributes._id
@attributes = @demongoize(attributes)
@id = attributes._id
else
@attributes = attributes
isPersisted: -> @id?
isValid: -> true
save: ->
return false unless @isValid()
... | 106906 | class Minimongoid
id: undefined
attributes: {}
constructor: (attributes = {}) ->
if attributes._id
@attributes = @demongoize(attributes)
@id = attributes._id
else
@attributes = attributes
isPersisted: -> @id?
isValid: -> true
save: ->
return false unless @isValid()
... | true | class Minimongoid
id: undefined
attributes: {}
constructor: (attributes = {}) ->
if attributes._id
@attributes = @demongoize(attributes)
@id = attributes._id
else
@attributes = attributes
isPersisted: -> @id?
isValid: -> true
save: ->
return false unless @isValid()
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989095330238342,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-hello-parser-failure.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... | 107354 | # 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": ">\n </div>\n \"\"\"\n\n data =\n name: 'John'\n job: 'Milkman'\n resume: \"Jack of all ",
"end": 284,
"score": 0.9998058676719666,
"start": 280,
"tag": "NAME",
"value": "John"
},
{
"context": " \"\"\"\n\n data =\n name: 'John'\n ... | spec/formsSpec.coffee | Tol1/transparency | 405 | describe "Transparency", ->
it "should render values to form inputs and textarea elements", ->
template = $ """
<div>
<input name="name"/>
<input name="job"/>
<textarea name="resume"></textarea>
</div>
"""
data =
name: 'John'
job: 'Milkman'
resume:... | 200613 | describe "Transparency", ->
it "should render values to form inputs and textarea elements", ->
template = $ """
<div>
<input name="name"/>
<input name="job"/>
<textarea name="resume"></textarea>
</div>
"""
data =
name: '<NAME>'
job: '<NAME>'
resume... | true | describe "Transparency", ->
it "should render values to form inputs and textarea elements", ->
template = $ """
<div>
<input name="name"/>
<input name="job"/>
<textarea name="resume"></textarea>
</div>
"""
data =
name: 'PI:NAME:<NAME>END_PI'
job: 'PI:NAM... |
[
{
"context": "class Bob\n hey: (message) ->\n if message.trim() == \"\"\n ",
"end": 9,
"score": 0.552732527256012,
"start": 6,
"tag": "NAME",
"value": "Bob"
}
] | exercises/bob/bob.coffee | gomeswes/coffeescript | 0 | class Bob
hey: (message) ->
if message.trim() == ""
"Fine. Be that way!"
else if message.match(/[a-zA-Z]/) && message == message.toUpperCase()
'Whoa, chill out!'
else if message[message.length-1] == "?"
'Sure.'
else
"Whatever."
module.exports = Bob | 91216 | class <NAME>
hey: (message) ->
if message.trim() == ""
"Fine. Be that way!"
else if message.match(/[a-zA-Z]/) && message == message.toUpperCase()
'Whoa, chill out!'
else if message[message.length-1] == "?"
'Sure.'
else
"Whatever."
module.exports = Bob | true | class PI:NAME:<NAME>END_PI
hey: (message) ->
if message.trim() == ""
"Fine. Be that way!"
else if message.match(/[a-zA-Z]/) && message == message.toUpperCase()
'Whoa, chill out!'
else if message[message.length-1] == "?"
'Sure.'
else
"Whatever."
module.exports = Bob |
[
{
"context": "ul>\n <li class=\"author\">\n <h3>Ernest Hemmingway</h3>\n <div class=\"birth-date\">Born on ",
"end": 2464,
"score": 0.999885618686676,
"start": 2447,
"tag": "NAME",
"value": "Ernest Hemmingway"
},
{
"context": " of authors':\n top... | spec/template-grafting-test.coffee | Shadowfiend/sophocles | 2 | require './test-helpers.coffee'
vows
.describe('Grafting HTML templates')
.addBatch(
'Given an HTML template':
topic: ->
"""
<div class="item">Whazak</div>
<a class="link" href="booyan">Whazam</a>
<div class="nested">
<span class="magic">Boom</span>
</div... | 124581 | require './test-helpers.coffee'
vows
.describe('Grafting HTML templates')
.addBatch(
'Given an HTML template':
topic: ->
"""
<div class="item">Whazak</div>
<a class="link" href="booyan">Whazam</a>
<div class="nested">
<span class="magic">Boom</span>
</div... | true | require './test-helpers.coffee'
vows
.describe('Grafting HTML templates')
.addBatch(
'Given an HTML template':
topic: ->
"""
<div class="item">Whazak</div>
<a class="link" href="booyan">Whazam</a>
<div class="nested">
<span class="magic">Boom</span>
</div... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998868703842163,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Dom/Traversal.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... | 87623 | ###
© 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": "#// GULP TEMPLATE - main.coffee - Victor Allegret\n#// ---------------------------------------------",
"end": 49,
"score": 0.9998750686645508,
"start": 34,
"tag": "NAME",
"value": "Victor Allegret"
}
] | dev/assets/javascripts/main.coffee | Victorallegret/gulpDup | 1 | #// GULP TEMPLATE - main.coffee - Victor Allegret
#// --------------------------------------------------------
#////////////////////
#// REQUIRE COFFEE FILES
#////////////////////////////////////////////////////////////////////////////////
#=require layout/layout.coffee
#=require components/components.coffee
#///... | 150299 | #// GULP TEMPLATE - main.coffee - <NAME>
#// --------------------------------------------------------
#////////////////////
#// REQUIRE COFFEE FILES
#////////////////////////////////////////////////////////////////////////////////
#=require layout/layout.coffee
#=require components/components.coffee
#////////////... | true | #// GULP TEMPLATE - main.coffee - PI:NAME:<NAME>END_PI
#// --------------------------------------------------------
#////////////////////
#// REQUIRE COFFEE FILES
#////////////////////////////////////////////////////////////////////////////////
#=require layout/layout.coffee
#=require components/components.coffee
... |
[
{
"context": " defaultLocale = 'en_US'\n localeKey = 'lang'\n app = koa()\n app.use midd",
"end": 1594,
"score": 0.9986189007759094,
"start": 1590,
"tag": "KEY",
"value": "lang"
},
{
"context": " locale = 'zh_TW'\n localeKey = 'lang'... | test/spec.cjsx | miniEggRoll/cjsx-react-isomorphic | 1 | debug = require('debug')('test')
_ = require 'underscore'
cheerio = require 'cheerio'
jsdom = require('jsdom').jsdom
{assert} = require 'chai'
koa = require 'koa'
request = require 'supertest'
React = require 'react/addons'
middleware = require "#{__dirname}/../src/middle... | 69613 | debug = require('debug')('test')
_ = require 'underscore'
cheerio = require 'cheerio'
jsdom = require('jsdom').jsdom
{assert} = require 'chai'
koa = require 'koa'
request = require 'supertest'
React = require 'react/addons'
middleware = require "#{__dirname}/../src/middle... | true | debug = require('debug')('test')
_ = require 'underscore'
cheerio = require 'cheerio'
jsdom = require('jsdom').jsdom
{assert} = require 'chai'
koa = require 'koa'
request = require 'supertest'
React = require 'react/addons'
middleware = require "#{__dirname}/../src/middle... |
[
{
"context": " repos, (repo, cb) ->\n cmd = [\n \"git clone git@github.com:artsy/#{repo}.git clones/#{repo}\"\n \"cd clone",
"end": 589,
"score": 0.9869531393051147,
"start": 575,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "b) ->\n cmd = [\n \"git ... | index.coffee | artsy/node-artsy-licenses | 1 | _ = require 'underscore'
csv = require 'csv'
fs = require 'fs'
async = require 'async'
path = require 'path'
nlf = require 'nlf'
{ exec } = require 'child_process'
url = require 'url'
repos = [
'inquiry-map',
'refraction',
'halbone',
'3d-artsy',
'backbone-cache-sync',
'artsy-2013',
'torque',
'positron'... | 197674 | _ = require 'underscore'
csv = require 'csv'
fs = require 'fs'
async = require 'async'
path = require 'path'
nlf = require 'nlf'
{ exec } = require 'child_process'
url = require 'url'
repos = [
'inquiry-map',
'refraction',
'halbone',
'3d-artsy',
'backbone-cache-sync',
'artsy-2013',
'torque',
'positron'... | true | _ = require 'underscore'
csv = require 'csv'
fs = require 'fs'
async = require 'async'
path = require 'path'
nlf = require 'nlf'
{ exec } = require 'child_process'
url = require 'url'
repos = [
'inquiry-map',
'refraction',
'halbone',
'3d-artsy',
'backbone-cache-sync',
'artsy-2013',
'torque',
'positron'... |
[
{
"context": "hange on select menus for accessibility.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 139,
"score": 0.9998706579208374,
"start": 128,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/no-onchange.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce usage of onBlur over onChange on select menus for accessibility.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
... | 37017 | ### eslint-env jest ###
###*
# @fileoverview Enforce usage of onBlur over onChange on select menus for accessibility.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce usage of onBlur over onChange on select menus for accessibility.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# ---------------------------------------------------------------------... |
[
{
"context": "selector\n\nMap::edit = () ->\n console.log \"Editing #{@name}!\"\n # todo\n #@selector = new Selector(@game",
"end": 4769,
"score": 0.8502845168113708,
"start": 4769,
"tag": "NAME",
"value": ""
},
{
"context": "ctor\n\nMap::edit = () ->\n console.log \"Editing #{@n... | coffeescript/_map.coffee | RoryDuncan/shiny-bear | 1 |
utils = require "./_utils"
extend = utils.extend
pixels = utils.calculatePixelPosition
input = require "./_input"
Tile = (@game, @name, @position, @size, @grid) ->
@Sprites = @game.Sprites
@name = @name or "plain"
return @
Tile::render = () ->
sprite = @Sprites[@name]
return unless sprite
size = ... | 44651 |
utils = require "./_utils"
extend = utils.extend
pixels = utils.calculatePixelPosition
input = require "./_input"
Tile = (@game, @name, @position, @size, @grid) ->
@Sprites = @game.Sprites
@name = @name or "plain"
return @
Tile::render = () ->
sprite = @Sprites[@name]
return unless sprite
size = ... | true |
utils = require "./_utils"
extend = utils.extend
pixels = utils.calculatePixelPosition
input = require "./_input"
Tile = (@game, @name, @position, @size, @grid) ->
@Sprites = @game.Sprites
@name = @name or "plain"
return @
Tile::render = () ->
sprite = @Sprites[@name]
return unless sprite
size = ... |
[
{
"context": "t: '/var/run/redis/redis.sock'\n # redis_auth: 'password'\n tcp_port: 80\n udp_port: 80\n access_log",
"end": 141,
"score": 0.9994933009147644,
"start": 133,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ish access to private networks\n publ... | settings.coffee | vedharish/pushd | 1 | exports.server =
redis_port: 6379
redis_host: 'localhost'
# redis_socket: '/var/run/redis/redis.sock'
# redis_auth: 'password'
tcp_port: 80
udp_port: 80
access_log: yes
acl:
# restrict publish access to private networks
publish: ['127.0.0.1', '10.0.0.0/8', '172.16.0.0/12'... | 3492 | exports.server =
redis_port: 6379
redis_host: 'localhost'
# redis_socket: '/var/run/redis/redis.sock'
# redis_auth: '<PASSWORD>'
tcp_port: 80
udp_port: 80
access_log: yes
acl:
# restrict publish access to private networks
publish: ['127.0.0.1', '10.0.0.0/8', '172.16.0.0/1... | true | exports.server =
redis_port: 6379
redis_host: 'localhost'
# redis_socket: '/var/run/redis/redis.sock'
# redis_auth: 'PI:PASSWORD:<PASSWORD>END_PI'
tcp_port: 80
udp_port: 80
access_log: yes
acl:
# restrict publish access to private networks
publish: ['127.0.0.1', '10.0.0.0... |
[
{
"context": "os.spaceId()\n\t\t\t\trequest.headers['X-Auth-Token'] = Accounts._storedLoginToken()\n\t\t\terrorHandler: (error) ->\n\t\t\t\tif er",
"end": 1761,
"score": 0.489595890045166,
"start": 1745,
"tag": "KEY",
"value": "Accounts._stored"
}
] | packages/steedos-creator/client/views/calendar.coffee | zonglu233/fuel-car | 0 | dxSchedulerInstance = null
# start: moment(start).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
# end: moment(end).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
_editData = (data) ->
object_name = Session.get('object_name');
action_collection_name = Creator.getObject(object_name).label
Session.set("action_collect... | 116522 | dxSchedulerInstance = null
# start: moment(start).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
# end: moment(end).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
_editData = (data) ->
object_name = Session.get('object_name');
action_collection_name = Creator.getObject(object_name).label
Session.set("action_collect... | true | dxSchedulerInstance = null
# start: moment(start).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
# end: moment(end).tz("Asia/Shanghai").format("YYYY-MM-DD HH:mm")
_editData = (data) ->
object_name = Session.get('object_name');
action_collection_name = Creator.getObject(object_name).label
Session.set("action_collect... |
[
{
"context": "'../models/models').Reservations\n\nTOKEN_PASSWORD = process.env.JWT_PASSWORD\n\nmodule.exports = (req, res, next) ->\n auth = re",
"end": 135,
"score": 0.9967278242111206,
"start": 111,
"tag": "PASSWORD",
"value": "process.env.JWT_PASSWORD"
},
{
"context": ", password... | server/src/helpers/is_admin.coffee | codyseibert/wedding | 1 | Base64 = require('js-base64').Base64
Reservations = require('../models/models').Reservations
TOKEN_PASSWORD = process.env.JWT_PASSWORD
module.exports = (req, res, next) ->
auth = req.headers.authorization
try
[username, password] = auth.split(' ')
if username is "admin" and password is process.env.PASSWOR... | 175670 | Base64 = require('js-base64').Base64
Reservations = require('../models/models').Reservations
TOKEN_PASSWORD = <PASSWORD>
module.exports = (req, res, next) ->
auth = req.headers.authorization
try
[username, password] = auth.split(' ')
if username is "admin" and password is <PASSWORD>.<PASSWORD>
next(... | true | Base64 = require('js-base64').Base64
Reservations = require('../models/models').Reservations
TOKEN_PASSWORD = PI:PASSWORD:<PASSWORD>END_PI
module.exports = (req, res, next) ->
auth = req.headers.authorization
try
[username, password] = auth.split(' ')
if username is "admin" and password is PI:PASSWORD:<PA... |
[
{
"context": "# Device.js\n# (c) 2014 Matthew Hudson\n# Device.js is freely distributable under the MIT",
"end": 37,
"score": 0.999884307384491,
"start": 23,
"tag": "NAME",
"value": "Matthew Hudson"
}
] | src/libs/device.js/src/device.coffee | wenzdey/dollar-street-cms-pages | 1 | # Device.js
# (c) 2014 Matthew Hudson
# Device.js is freely distributable under the MIT license.
# For all details and documentation:
# http://matthewhudson.me/projects/device.js/
# Save the previous value of the device variable.
previousDevice = window.device
# Add device as a global object.
window.device = {}
# Th... | 44082 | # Device.js
# (c) 2014 <NAME>
# Device.js is freely distributable under the MIT license.
# For all details and documentation:
# http://matthewhudson.me/projects/device.js/
# Save the previous value of the device variable.
previousDevice = window.device
# Add device as a global object.
window.device = {}
# The <html>... | true | # Device.js
# (c) 2014 PI:NAME:<NAME>END_PI
# Device.js is freely distributable under the MIT license.
# For all details and documentation:
# http://matthewhudson.me/projects/device.js/
# Save the previous value of the device variable.
previousDevice = window.device
# Add device as a global object.
window.device = {}... |
[
{
"context": "SOQL query and outputs the results\n#\n# Author:\n# lnediger\n\nsf_instance = process.env.SF_INSTANCE_URL\nsf_con",
"end": 731,
"score": 0.9994766116142273,
"start": 723,
"tag": "USERNAME",
"value": "lnediger"
},
{
"context": "f_username = process.env.SF_USERNAME\nsf_... | src/scripts/salesforce.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET =... | 75645 | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET =... | true | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET =... |
[
{
"context": "ort: 0xd00d\n uuid: 'peter'\n token: 'i-could-eat'\n privateKey: @privateKey\n firehoseMe",
"end": 1815,
"score": 0.9981735348701477,
"start": 1804,
"tag": "PASSWORD",
"value": "i-could-eat"
},
{
"context": "tocol: 'http'\n port: 0xcaf1\... | test/integration/firehose-spec.coffee | octoblu/endo-lib | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
request = require 'request'
URL = require 'url'
Encryption = require 'meshblu-encryption'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketI... | 215451 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
request = require 'request'
URL = require 'url'
Encryption = require 'meshblu-encryption'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketI... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
request = require 'request'
URL = require 'url'
Encryption = require 'meshblu-encryption'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketI... |
[
{
"context": "- Finite State Machines \n# Copyright (c) 2014-2016 Jon Nordby <jononor@gmail.com>\n# Finito may be freely distri",
"end": 70,
"score": 0.9998618364334106,
"start": 60,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "e Machines \n# Copyright (c) 2014-2016 Jon Nord... | src/common.coffee | jonnor/finito | 5 | # Finito - Finite State Machines
# Copyright (c) 2014-2016 Jon Nordby <jononor@gmail.com>
# Finito may be freely distributed under the MIT license
##
exports.isBrowser = ->
return not (typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1)
| 122012 | # Finito - Finite State Machines
# Copyright (c) 2014-2016 <NAME> <<EMAIL>>
# Finito may be freely distributed under the MIT license
##
exports.isBrowser = ->
return not (typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1)
| true | # Finito - Finite State Machines
# Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Finito may be freely distributed under the MIT license
##
exports.isBrowser = ->
return not (typeof process isnt 'undefined' and process.execPath and process.execPath.indexOf('node') isnt -1)
|
[
{
"context": "r', ->\n @timeout 500000\n\t\n user = [\n {name: 'user1', email: 'user1@abc.com'}\n {name: 'user2', ema",
"end": 160,
"score": 0.9994939565658569,
"start": 155,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "t 500000\n\t\n user = [\n {name: 'user1', em... | test/unit/1-controller/1-FileController.coffee | twhtanghk/restfile | 0 | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'FileController', ->
@timeout 500000
user = [
{name: 'user1', email: 'user1@abc.com'}
{name: 'user2', email: 'user2@abc.com'}
]
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'
'/usr/src/app... | 204634 | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'FileController', ->
@timeout 500000
user = [
{name: 'user1', email: '<EMAIL>'}
{name: 'user2', email: '<EMAIL>'}
]
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'
'/usr/src/app/Dockerfile'... | true | _ = require 'lodash'
path = require 'path'
req = require 'supertest-as-promised'
describe 'FileController', ->
@timeout 500000
user = [
{name: 'user1', email: 'PI:EMAIL:<EMAIL>END_PI'}
{name: 'user2', email: 'PI:EMAIL:<EMAIL>END_PI'}
]
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'... |
[
{
"context": "or a valid email\", ->\n donationsForm.email(\"a@b.com\")\n expect(donationsForm.email.isValid()",
"end": 761,
"score": 0.9323593974113464,
"start": 761,
"tag": "EMAIL",
"value": ""
},
{
"context": " a valid email\", ->\n donationsForm.email(\"a@b.com\")\... | src/coffee/test/donation-form-spec.coffee | controlshift/prague-client | 3 | describe "DonationsFormModel", ->
`var donationsForm;`
`var configHash;`
beforeEach ->
loadLocalJson = ->
json = null
$.ajax
async: false
dataType: 'json'
url: '/config/config.json'
success: (dat) ->
json = dat
return json
`configHash = loadLocal... | 92051 | describe "DonationsFormModel", ->
`var donationsForm;`
`var configHash;`
beforeEach ->
loadLocalJson = ->
json = null
$.ajax
async: false
dataType: 'json'
url: '/config/config.json'
success: (dat) ->
json = dat
return json
`configHash = loadLocal... | true | describe "DonationsFormModel", ->
`var donationsForm;`
`var configHash;`
beforeEach ->
loadLocalJson = ->
json = null
$.ajax
async: false
dataType: 'json'
url: '/config/config.json'
success: (dat) ->
json = dat
return json
`configHash = loadLocal... |
[
{
"context": "\"\n\n initialize: ->\n @tasks = [\n { name: \"First task\", done: false }\n { name: \"Completed task\", d",
"end": 171,
"score": 0.984570324420929,
"start": 161,
"tag": "NAME",
"value": "First task"
},
{
"context": " name: \"First task\", done: false }\n ... | client/app/scripts/controllers/tasks_ctrl.coffee | lucassus/angular-coffee-seed | 2 | app = angular.module("myApp")
class TasksCtrl extends BaseCtrl
@register app, "TasksCtrl"
@inject "$scope"
initialize: ->
@tasks = [
{ name: "First task", done: false }
{ name: "Completed task", done: true }
{ name: "Second task", done: false }
]
@master = { name: "", done: false... | 101922 | app = angular.module("myApp")
class TasksCtrl extends BaseCtrl
@register app, "TasksCtrl"
@inject "$scope"
initialize: ->
@tasks = [
{ name: "<NAME>", done: false }
{ name: "<NAME> task", done: true }
{ name: "<NAME>", done: false }
]
@master = { name: "", done: false }
@rese... | true | app = angular.module("myApp")
class TasksCtrl extends BaseCtrl
@register app, "TasksCtrl"
@inject "$scope"
initialize: ->
@tasks = [
{ name: "PI:NAME:<NAME>END_PI", done: false }
{ name: "PI:NAME:<NAME>END_PI task", done: true }
{ name: "PI:NAME:<NAME>END_PI", done: false }
]
@ma... |
[
{
"context": "icle-section-artworks').html().should.containEql 'Govinda Sah'\n @$('.article-section-artworks').html().shoul",
"end": 2102,
"score": 0.9998658895492554,
"start": 2091,
"tag": "NAME",
"value": "Govinda Sah"
},
{
"context": "icle-section-artworks').html().should.conta... | src/mobile/components/article/test/templates.coffee | streamich/force | 0 | _ = require 'underscore'
fs = require 'fs'
jade = require 'jade'
path = require 'path'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ resolve } = require 'path'
Article = require '../../../models/article'
Section = require '../../../models/section'
Articles = require '../../../collections/articles'
fixture... | 86917 | _ = require 'underscore'
fs = require 'fs'
jade = require 'jade'
path = require 'path'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ resolve } = require 'path'
Article = require '../../../models/article'
Section = require '../../../models/section'
Articles = require '../../../collections/articles'
fixture... | true | _ = require 'underscore'
fs = require 'fs'
jade = require 'jade'
path = require 'path'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ resolve } = require 'path'
Article = require '../../../models/article'
Section = require '../../../models/section'
Articles = require '../../../collections/articles'
fixture... |
[
{
"context": " [\n {\n lineText: 'Hello world',\n lineTextOffset: 0,\n ",
"end": 41717,
"score": 0.9314540028572083,
"start": 41706,
"tag": "NAME",
"value": "Hello world"
},
{
"context": " lineTextOffset: 0,\n ... | spec/workspace-spec.coffee | lierdakil/atom | 1 | path = require 'path'
temp = require 'temp'
Workspace = require '../src/workspace'
Pane = require '../src/pane'
platform = require './spec-helper-platform'
_ = require 'underscore-plus'
fstream = require 'fstream'
fs = require 'fs-plus'
describe "Workspace", ->
workspace = null
beforeEach ->
atom.project.setP... | 157206 | path = require 'path'
temp = require 'temp'
Workspace = require '../src/workspace'
Pane = require '../src/pane'
platform = require './spec-helper-platform'
_ = require 'underscore-plus'
fstream = require 'fstream'
fs = require 'fs-plus'
describe "Workspace", ->
workspace = null
beforeEach ->
atom.project.setP... | true | path = require 'path'
temp = require 'temp'
Workspace = require '../src/workspace'
Pane = require '../src/pane'
platform = require './spec-helper-platform'
_ = require 'underscore-plus'
fstream = require 'fstream'
fs = require 'fs-plus'
describe "Workspace", ->
workspace = null
beforeEach ->
atom.project.setP... |
[
{
"context": "Gotham.Util.IPTool.generateMAC()\n submask = \"255.255.255.0\"\n dns = \"4.4.4.4\"\n isLocal = true\n\n ",
"end": 1755,
"score": 0.9997522830963135,
"start": 1742,
"tag": "IP_ADDRESS",
"value": "255.255.255.0"
},
{
"context": "AC()\n submask = \"2... | GOTHAM/Backend/src/Networking/Rooms/ShopRoom.coffee | perara/gotham | 0 |
Room = require './Room.coffee'
###*
# GeneralRoom, Emitters which does not fit in any category but General
# @class GeneralRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class GeneralRoom extends Room
define: ->
that = @
###*
# Emitter for when user attempts to purchase... | 115004 |
Room = require './Room.coffee'
###*
# GeneralRoom, Emitters which does not fit in any category but General
# @class GeneralRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class GeneralRoom extends Room
define: ->
that = @
###*
# Emitter for when user attempts to purchase... | true |
Room = require './Room.coffee'
###*
# GeneralRoom, Emitters which does not fit in any category but General
# @class GeneralRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class GeneralRoom extends Room
define: ->
that = @
###*
# Emitter for when user attempts to purchase... |
[
{
"context": " {}\n id_key = options.id_key || ParentType.singular + '_id'\n parent_key = options.parent_key |",
"end": 2233,
"score": 0.5548117160797119,
"start": 2225,
"tag": "KEY",
"value": "singular"
},
{
"context": " id_key = options.id_key || ParentType.singular ... | services/data/orm.coffee | withmaia/maia-api | 0 | mongo = require './mongo_connection'
moment = require 'moment'
_ = require 'underscore'
S = require 'string'
class Collection
@findArray: (query, options, cb) ->
if !cb
cb = options
options = {}
@find(query)
.sort(options.sort)
.skip(options.skip || 0... | 50124 | mongo = require './mongo_connection'
moment = require 'moment'
_ = require 'underscore'
S = require 'string'
class Collection
@findArray: (query, options, cb) ->
if !cb
cb = options
options = {}
@find(query)
.sort(options.sort)
.skip(options.skip || 0... | true | mongo = require './mongo_connection'
moment = require 'moment'
_ = require 'underscore'
S = require 'string'
class Collection
@findArray: (query, options, cb) ->
if !cb
cb = options
options = {}
@find(query)
.sort(options.sort)
.skip(options.skip || 0... |
[
{
"context": "rtments = [\n {\n work: 'DEVELOPERS'\n name: '㈜A3D&D'\n alias: '부동산개발사업부'\n brief: '홍보, 임대, 분양업무, ",
"end": 3334,
"score": 0.9742122888565063,
"start": 3328,
"tag": "NAME",
"value": "㈜A3D&D"
}
] | app/assets/js/_1_intro.coffee | junseol86/a3architect | 0 | $ ->
#about
$('#sites_tabs > div').click ->
$(this).siblings().removeClass('on')
$(this).addClass('on')
selected = $(this).attr 'id'
$('.section').css 'display', 'none'
$('#' + selected + '_section').css 'display', 'block'
$('.about_a').mouseenter ->
$(this).children('div').children('im... | 160286 | $ ->
#about
$('#sites_tabs > div').click ->
$(this).siblings().removeClass('on')
$(this).addClass('on')
selected = $(this).attr 'id'
$('.section').css 'display', 'none'
$('#' + selected + '_section').css 'display', 'block'
$('.about_a').mouseenter ->
$(this).children('div').children('im... | true | $ ->
#about
$('#sites_tabs > div').click ->
$(this).siblings().removeClass('on')
$(this).addClass('on')
selected = $(this).attr 'id'
$('.section').css 'display', 'none'
$('#' + selected + '_section').css 'display', 'block'
$('.about_a').mouseenter ->
$(this).children('div').children('im... |
[
{
"context": "te = kontrol.getKite\n name : 'klient'\n queryString : machine.queryString\n",
"end": 4276,
"score": 0.9074974060058594,
"start": 4270,
"tag": "NAME",
"value": "klient"
}
] | client/app/lib/kite/kites/kloud.coffee | ezgikaysi/koding | 1 | Promise = require 'bluebird'
kd = require 'kd'
Machine = require '../../providers/machine'
KiteLogger = require '../../kitelogger'
globals = require 'globals'
module.exports = class KodingKiteKloudKite extends require('../kodingkite')
SUPPORTED_PROVIDERS = ['koding', 'aws', 'softlayer', 'vagrant']
STACK_PROVIDER... | 76124 | Promise = require 'bluebird'
kd = require 'kd'
Machine = require '../../providers/machine'
KiteLogger = require '../../kitelogger'
globals = require 'globals'
module.exports = class KodingKiteKloudKite extends require('../kodingkite')
SUPPORTED_PROVIDERS = ['koding', 'aws', 'softlayer', 'vagrant']
STACK_PROVIDER... | true | Promise = require 'bluebird'
kd = require 'kd'
Machine = require '../../providers/machine'
KiteLogger = require '../../kitelogger'
globals = require 'globals'
module.exports = class KodingKiteKloudKite extends require('../kodingkite')
SUPPORTED_PROVIDERS = ['koding', 'aws', 'softlayer', 'vagrant']
STACK_PROVIDER... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9969470500946045,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stringbytes-external.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... | 115543 | # 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": " it \"can save passwords\", ->\n password = 'abc'\n keychainSync.setPassword('keychainSync', '",
"end": 199,
"score": 0.9993650317192078,
"start": 196,
"tag": "PASSWORD",
"value": "abc"
}
] | test/acceptance_spec.coffee | elentok/keychain-sync | 1 | expect = (require 'chai').expect
keychainSync = require '../lib/keychain-sync'
if process.platform == 'darwin'
describe "acceptance tests", ->
it "can save passwords", ->
password = 'abc'
keychainSync.setPassword('keychainSync', 'test', password)
actual = keychainSync.getPassword('keychainSync'... | 78607 | expect = (require 'chai').expect
keychainSync = require '../lib/keychain-sync'
if process.platform == 'darwin'
describe "acceptance tests", ->
it "can save passwords", ->
password = '<PASSWORD>'
keychainSync.setPassword('keychainSync', 'test', password)
actual = keychainSync.getPassword('keycha... | true | expect = (require 'chai').expect
keychainSync = require '../lib/keychain-sync'
if process.platform == 'darwin'
describe "acceptance tests", ->
it "can save passwords", ->
password = 'PI:PASSWORD:<PASSWORD>END_PI'
keychainSync.setPassword('keychainSync', 'test', password)
actual = keychainSync.g... |
[
{
"context": "icense.\n###\n###*\n@module joukou-fbpp/index\n@author Fabian Cook <fabian.cook@joukou.com>\n###\n\n###*\n@typedef { obj",
"end": 607,
"score": 0.9998687505722046,
"start": 596,
"tag": "NAME",
"value": "Fabian Cook"
},
{
"context": "#*\n@module joukou-fbpp/index\n@autho... | src/initialize.coffee | joukou/joukou-flow | 0 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 117232 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
[
{
"context": "# Author : Jeeyoung Kim\n#\n# Implementing angularjs promises, for fun and ",
"end": 23,
"score": 0.9998239278793335,
"start": 11,
"tag": "NAME",
"value": "Jeeyoung Kim"
}
] | coffee/q.coffee | jeeyoungk/exercise | 5 | # Author : Jeeyoung Kim
#
# Implementing angularjs promises, for fun and profit.
# Public Interface
# ----------------
Q = {
# **Public**. Creates a new `Defer`.
defer: () ->
d = new Defer(); wrapped = {}
['success','fail','promise'].map (method) -> wrapped[method] = d[method].bind(d)
wrapped
# **Pub... | 188923 | # Author : <NAME>
#
# Implementing angularjs promises, for fun and profit.
# Public Interface
# ----------------
Q = {
# **Public**. Creates a new `Defer`.
defer: () ->
d = new Defer(); wrapped = {}
['success','fail','promise'].map (method) -> wrapped[method] = d[method].bind(d)
wrapped
# **Public**.... | true | # Author : PI:NAME:<NAME>END_PI
#
# Implementing angularjs promises, for fun and profit.
# Public Interface
# ----------------
Q = {
# **Public**. Creates a new `Defer`.
defer: () ->
d = new Defer(); wrapped = {}
['success','fail','promise'].map (method) -> wrapped[method] = d[method].bind(d)
wrapped
... |
[
{
"context": "nd be done\n\t\t\tif !b and bname != \"\"\n\t\t\t\tb = {name: bname, colour: \"\", children:[]}\n\t\t\t\ta.children.push",
"end": 736,
"score": 0.5872164964675903,
"start": 735,
"tag": "NAME",
"value": "b"
}
] | parser.coffee | undeadinu/diagramophone | 28 | class window.Parser
constructor: ->
parse: (text) ->
allTheLines = text.split("\n")
parsedBits = []
# <3 coffescript
parsedBits.push(@parseLine line) for line in allTheLines
return @parseTree parsedBits
parseTree: (parsedBits) ->
tree = {children: []}
for bit in parsedBits
continue unless bit
... | 138489 | class window.Parser
constructor: ->
parse: (text) ->
allTheLines = text.split("\n")
parsedBits = []
# <3 coffescript
parsedBits.push(@parseLine line) for line in allTheLines
return @parseTree parsedBits
parseTree: (parsedBits) ->
tree = {children: []}
for bit in parsedBits
continue unless bit
... | true | class window.Parser
constructor: ->
parse: (text) ->
allTheLines = text.split("\n")
parsedBits = []
# <3 coffescript
parsedBits.push(@parseLine line) for line in allTheLines
return @parseTree parsedBits
parseTree: (parsedBits) ->
tree = {children: []}
for bit in parsedBits
continue unless bit
... |
[
{
"context": "with onClick handlers must be focusable.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 129,
"score": 0.9998559355735779,
"start": 118,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/interactive-supports-focus.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements with onClick handlers must be focusable.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = re... | 27893 | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements with onClick handlers must be focusable.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements with onClick handlers must be focusable.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
... |
[
{
"context": "#########\n# Title: StepModel Base Class\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 114,
"score": 0.999908983707428,
"start": 100,
"tag": "EMAIL",
"value": "kevin@wintr.us"
}
] | source/javascripts/models/StepModel.coffee | WikiEducationFoundation/WikiEduWizard | 1 |
#########################################################
# Title: StepModel Base Class
# Author: kevin@wintr.us @ WINTR
#########################################################
Model = require('../models/supers/Model')
module.exports = class StepModel extends Model
| 69244 |
#########################################################
# Title: StepModel Base Class
# Author: <EMAIL> @ WINTR
#########################################################
Model = require('../models/supers/Model')
module.exports = class StepModel extends Model
| true |
#########################################################
# Title: StepModel Base Class
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
Model = require('../models/supers/Model')
module.exports = class StepModel extends Model
|
[
{
"context": "d to parentWidget\n setting = {}\n setting.key = \"account\"\n setting.isInitialized = false\n\n # initializat",
"end": 241,
"score": 0.9915140867233276,
"start": 234,
"tag": "KEY",
"value": "account"
}
] | src/components/widgets-settings/account/account.directive.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.account',[])
module.controller('SettingAccountCtrl', ($scope, $filter) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "account"
setting.isInitialized = false
# initialization of time range parameters ... | 93864 | module = angular.module('impac.components.widgets-settings.account',[])
module.controller('SettingAccountCtrl', ($scope, $filter) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "<KEY>"
setting.isInitialized = false
# initialization of time range parameters fr... | true | module = angular.module('impac.components.widgets-settings.account',[])
module.controller('SettingAccountCtrl', ($scope, $filter) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "PI:KEY:<KEY>END_PI"
setting.isInitialized = false
# initialization of time range ... |
[
{
"context": "# @author xiaoshu.wb\n# @version 1.0.0\n# @see\n# @Time 2017-02-09 Cambri",
"end": 20,
"score": 0.9154624938964844,
"start": 10,
"tag": "NAME",
"value": "xiaoshu.wb"
},
{
"context": "oshu.wb\n# @version 1.0.0\n# @see\n# @Time 2017-02-09 Cambridge Guildholl\n\n\nCreateFi... | lib/create-files.coffee | TheraPackages/create-files | 1 | # @author xiaoshu.wb
# @version 1.0.0
# @see
# @Time 2017-02-09 Cambridge Guildholl
CreateFilesView = require './create-files-view'
{CompositeDisposable} = require 'atom'
$ = window.$ = window.jQuery = require 'jquery'
require './jquery-ui.js'
fs = require 'fs-extra'
module.exports = CreateFiles =
createFilesView:... | 14436 | # @author <NAME>
# @version 1.0.0
# @see
# @Time 2017-02-09 <NAME>
CreateFilesView = require './create-files-view'
{CompositeDisposable} = require 'atom'
$ = window.$ = window.jQuery = require 'jquery'
require './jquery-ui.js'
fs = require 'fs-extra'
module.exports = CreateFiles =
createFilesView: null
modalPane... | true | # @author PI:NAME:<NAME>END_PI
# @version 1.0.0
# @see
# @Time 2017-02-09 PI:NAME:<NAME>END_PI
CreateFilesView = require './create-files-view'
{CompositeDisposable} = require 'atom'
$ = window.$ = window.jQuery = require 'jquery'
require './jquery-ui.js'
fs = require 'fs-extra'
module.exports = CreateFiles =
creat... |
[
{
"context": ".session.cryptkey = o1 data\n\n\t\t# input, {username: un, password: pw, type: 'staff', org: ou_id}\n\t\t# out",
"end": 4541,
"score": 0.5216887593269348,
"start": 4539,
"tag": "USERNAME",
"value": "un"
},
{
"context": "key = o1 data\n\n\t\t# input, {username: un, passw... | src/eg/services.coffee | stevenyvr987/evergreen-mobile-opac | 0 | # Dictionary of ajax calls keyed by name of Evergreen service method
define [
'eg/fieldmapper'
'eg/date'
'eg/eg_api'
'eg/auth'
'exports'
'md5'
], (fm, date, eg, auth, services) -> (($) ->
# common I/O signatures for eg_services
i0 = -> [auth.session.id]
i1 = (id) -> [id]
i2 = (id) -> [auth.session.id, id]
... | 152621 | # Dictionary of ajax calls keyed by name of Evergreen service method
define [
'eg/fieldmapper'
'eg/date'
'eg/eg_api'
'eg/auth'
'exports'
'md5'
], (fm, date, eg, auth, services) -> (($) ->
# common I/O signatures for eg_services
i0 = -> [auth.session.id]
i1 = (id) -> [id]
i2 = (id) -> [auth.session.id, id]
... | true | # Dictionary of ajax calls keyed by name of Evergreen service method
define [
'eg/fieldmapper'
'eg/date'
'eg/eg_api'
'eg/auth'
'exports'
'md5'
], (fm, date, eg, auth, services) -> (($) ->
# common I/O signatures for eg_services
i0 = -> [auth.session.id]
i1 = (id) -> [id]
i2 = (id) -> [auth.session.id, id]
... |
[
{
"context": " reg_0\n reg_1.register 'level_1', key: 'level_1', handler: (->)\n reg_2 = registry.create pa",
"end": 2224,
"score": 0.530329167842865,
"start": 2224,
"tag": "KEY",
"value": ""
},
{
"context": " reg_1\n reg_2.register 'level_2', key: 'level_2', handler: ... | packages/core/test/registry/get.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{tags} = require '../test'
registry = require '../../src/registry'
plugandplay = require 'plug-and-play'
describe 'registry.get', ->
return unless tags.api
describe 'get all', ->
it 'get all', ->
reg = registry.create()
await reg.register ['get', 'first', 'action'], handler: (->)
await r... | 202580 |
{tags} = require '../test'
registry = require '../../src/registry'
plugandplay = require 'plug-and-play'
describe 'registry.get', ->
return unless tags.api
describe 'get all', ->
it 'get all', ->
reg = registry.create()
await reg.register ['get', 'first', 'action'], handler: (->)
await r... | true |
{tags} = require '../test'
registry = require '../../src/registry'
plugandplay = require 'plug-and-play'
describe 'registry.get', ->
return unless tags.api
describe 'get all', ->
it 'get all', ->
reg = registry.create()
await reg.register ['get', 'first', 'action'], handler: (->)
await r... |
[
{
"context": "= null\n\nmodule.exports = (client,key) ->\n key = 'id-map' if !key\n\n script = \"\"\"\n local identity = red",
"end": 162,
"score": 0.9975166320800781,
"start": 156,
"tag": "KEY",
"value": "id-map"
}
] | src/lib/redis-ident.iced | tosadvisor/trk | 1 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
cache = null
module.exports = (client,key) ->
key = 'id-map' if !key
script = """
local identity = redis.call("ZSCORE", KEYS[1], ARGV[1])
if not identity then
identity = redis.call("ZCARD", KEYS[1])
... | 219899 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
cache = null
module.exports = (client,key) ->
key = '<KEY>' if !key
script = """
local identity = redis.call("ZSCORE", KEYS[1], ARGV[1])
if not identity then
identity = redis.call("ZCARD", KEYS[1])
... | true | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: on
})
cache = null
module.exports = (client,key) ->
key = 'PI:KEY:<KEY>END_PI' if !key
script = """
local identity = redis.call("ZSCORE", KEYS[1], ARGV[1])
if not identity then
identity = redis.call("ZCARD"... |
[
{
"context": "nd avoiding changing this\n# code if possible. Ask Tim McLean <tim@timmclean.net> to review any and all\n# chang",
"end": 484,
"score": 0.9996241927146912,
"start": 474,
"tag": "NAME",
"value": "Tim McLean"
},
{
"context": "hanging this\n# code if possible. Ask Tim Mc... | src/persist/crypto.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module defines all cryptographic operations (encryption, digital
# signatures, etc) used in this project.
#
# F... | 40091 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module defines all cryptographic operations (encryption, digital
# signatures, etc) used in this project.
#
# F... | true | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module defines all cryptographic operations (encryption, digital
# signatures, etc) used in this project.
#
# F... |
[
{
"context": "ind.localDatabaseMirror.allDocs\n startkey: \"tamarind-#{@type}\"\n endkey: \"tamarind-#{@type}_\\uf000\"",
"end": 7326,
"score": 0.7024219632148743,
"start": 7318,
"tag": "KEY",
"value": "amarind-"
},
{
"context": " startkey: \"tamarind-#{@type}\"\n e... | views/TabulatorWithFormView.coffee | Coconut-Data/tamarind | 0 | $ = require 'jquery'
require 'jquery-ui-browserify'
Backbone = require 'backbone'
Backbone.$ = $
_ = require 'underscore'
dasherize = require("underscore.string/dasherize")
global.titleize = require("underscore.string/titleize")
humanize = require("underscore.string/humanize")
slugify = require("underscore.string/slug... | 21586 | $ = require 'jquery'
require 'jquery-ui-browserify'
Backbone = require 'backbone'
Backbone.$ = $
_ = require 'underscore'
dasherize = require("underscore.string/dasherize")
global.titleize = require("underscore.string/titleize")
humanize = require("underscore.string/humanize")
slugify = require("underscore.string/slug... | true | $ = require 'jquery'
require 'jquery-ui-browserify'
Backbone = require 'backbone'
Backbone.$ = $
_ = require 'underscore'
dasherize = require("underscore.string/dasherize")
global.titleize = require("underscore.string/titleize")
humanize = require("underscore.string/humanize")
slugify = require("underscore.string/slug... |
[
{
"context": " Date,\n level: l,\n name: name,\n message: msgs,\n stder",
"end": 5697,
"score": 0.9815722703933716,
"start": 5693,
"tag": "NAME",
"value": "name"
},
{
"context": "\n level: 'error',\n name: ... | spec/js-long-spec.coffee | jagill/atom-symscan | 0 | fs = require 'fs'
{SymbolIndex} = require '../lib/symbols'
{getGrammar, expectSymbol, expectSymbolLength, len} = require './spec-utils'
FILE_PATH = './data/pince.js'
text = '''
(function() {
var EventEmitter, LOG_PREFIX, Listener, Logger, clc, colors, defaultLogLevel, k, listener, moment, name, output, specificLogL... | 86084 | fs = require 'fs'
{SymbolIndex} = require '../lib/symbols'
{getGrammar, expectSymbol, expectSymbolLength, len} = require './spec-utils'
FILE_PATH = './data/pince.js'
text = '''
(function() {
var EventEmitter, LOG_PREFIX, Listener, Logger, clc, colors, defaultLogLevel, k, listener, moment, name, output, specificLogL... | true | fs = require 'fs'
{SymbolIndex} = require '../lib/symbols'
{getGrammar, expectSymbol, expectSymbolLength, len} = require './spec-utils'
FILE_PATH = './data/pince.js'
text = '''
(function() {
var EventEmitter, LOG_PREFIX, Listener, Logger, clc, colors, defaultLogLevel, k, listener, moment, name, output, specificLogL... |
[
{
"context": " getSourceFor: (spellKey) ->\n # spellKey ex: 'tharin/plan'\n code = @get('code')\n parts = spellKey.spl",
"end": 662,
"score": 0.997916042804718,
"start": 651,
"tag": "KEY",
"value": "tharin/plan"
}
] | app/models/LevelSession.coffee | Raxerz/codecombat | 0 | CocoModel = require './CocoModel'
module.exports = class LevelSession extends CocoModel
@className: 'LevelSession'
@schema: require 'schemas/models/level_session'
urlRoot: '/db/level.session'
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@s... | 121905 | CocoModel = require './CocoModel'
module.exports = class LevelSession extends CocoModel
@className: 'LevelSession'
@schema: require 'schemas/models/level_session'
urlRoot: '/db/level.session'
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@s... | true | CocoModel = require './CocoModel'
module.exports = class LevelSession extends CocoModel
@className: 'LevelSession'
@schema: require 'schemas/models/level_session'
urlRoot: '/db/level.session'
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@s... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989157319068909,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-module-loading.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... | 101272 | # 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": " header:\n showAll: 'Zooniverse Team'\n adamMcMaster:\n title: 'Infrastructure Engineer'\n ",
"end": 402,
"score": 0.8797438144683838,
"start": 390,
"tag": "USERNAME",
"value": "adamMcMaster"
},
{
"context": " title: 'Infrastructure Engineer'\n... | app/pages/about/team-page.cjsx | camallen/Panoptes-Front-End | 0 | counterpart = require 'counterpart'
React = require 'react'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'Chicago'
minnesota: 'Minnesota'
portsmouth: 'Portsmouth'
taipei: 'Taipei... | 145839 | counterpart = require 'counterpart'
React = require 'react'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'Chicago'
minnesota: 'Minnesota'
portsmouth: 'Portsmouth'
taipei: 'Taipei... | true | counterpart = require 'counterpart'
React = require 'react'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'Chicago'
minnesota: 'Minnesota'
portsmouth: 'Portsmouth'
taipei: 'Taipei... |
[
{
"context": "overview Tests for no-invalid-this rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 77,
"score": 0.9998593926429749,
"start": 63,
"tag": "NAME",
"value": "Toru Nagashima"
},
{
"context": "x, this)\n )\n '''\n # h... | src/tests/rules/no-invalid-this.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-invalid-this rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-invalid-this'
{R... | 72927 | ###*
# @fileoverview Tests for no-invalid-this rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-invalid-this'
{RuleTeste... | true | ###*
# @fileoverview Tests for no-invalid-this rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-invalid-th... |
[
{
"context": "../controllers/mailgun.json'\nmailgun.recipient = 'self4.r68c12a25@talk.ai'\n# mailgun.attachment = fs.createReadStream __dir",
"end": 188,
"score": 0.9998301267623901,
"start": 165,
"tag": "EMAIL",
"value": "self4.r68c12a25@talk.ai"
}
] | talk-api2x/test/scripts/sendattachment.coffee | ikingye/talk-os | 3,084 | fs = require 'fs'
path = require 'path'
config = require 'config'
_request = require 'request'
mailgun = require '../controllers/mailgun.json'
mailgun.recipient = 'self4.r68c12a25@talk.ai'
# mailgun.attachment = fs.createReadStream __dirname + "/../files/jzzslb.doc"
mailgun.attach1 = fs.createReadStream __dirname + '/... | 189694 | fs = require 'fs'
path = require 'path'
config = require 'config'
_request = require 'request'
mailgun = require '../controllers/mailgun.json'
mailgun.recipient = '<EMAIL>'
# mailgun.attachment = fs.createReadStream __dirname + "/../files/jzzslb.doc"
mailgun.attach1 = fs.createReadStream __dirname + '/../main.coffee'
... | true | fs = require 'fs'
path = require 'path'
config = require 'config'
_request = require 'request'
mailgun = require '../controllers/mailgun.json'
mailgun.recipient = 'PI:EMAIL:<EMAIL>END_PI'
# mailgun.attachment = fs.createReadStream __dirname + "/../files/jzzslb.doc"
mailgun.attach1 = fs.createReadStream __dirname + '/.... |
[
{
"context": "t = redis.createClient(6379,'host_dbase')\n\nkeys=[\"t1851\",\"t1852\",\"t1853\",\n\t\"t1854\",\"t1855\",\"t1856\",\n\t\"t1857\"",
"end": 731,
"score": 0.947559654712677,
"start": 723,
"tag": "KEY",
"value": "t1851\",\""
},
{
"context": "s.createClient(6379,'host_dbase'... | redis/coffee/read/redis_read.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# redis_read.coffee
#
# Aug/09/2013
#
# ---------------------------------------------------------------
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# -----------------------------------------... | 100348 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# redis_read.coffee
#
# Aug/09/2013
#
# ---------------------------------------------------------------
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# -----------------------------------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# redis_read.coffee
#
# Aug/09/2013
#
# ---------------------------------------------------------------
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# -----------------------------------------... |
[
{
"context": "equire 'amqp-dsl'\n\n\nAmqpDsl\n .login(\n login: 'legen'\n password: 'waitforit'\n host: 'dary'\n p",
"end": 66,
"score": 0.9996441602706909,
"start": 61,
"tag": "USERNAME",
"value": "legen"
},
{
"context": "qpDsl\n .login(\n login: 'legen'\n passwo... | examples/example-advanced.coffee | FGRibreau/node-amqp-dsl | 2 | AmqpDsl = require 'amqp-dsl'
AmqpDsl
.login(
login: 'legen'
password: 'waitforit'
host: 'dary'
port: 2290
vhost: '/legendary'
)
# Exchanges, queues and event listener can be declared wherever you want between `login` and `connect`
.on('close', () -> console.log "Close ", arguments)
.on... | 130941 | AmqpDsl = require 'amqp-dsl'
AmqpDsl
.login(
login: 'legen'
password: '<PASSWORD>'
host: 'dary'
port: 2290
vhost: '/legendary'
)
# Exchanges, queues and event listener can be declared wherever you want between `login` and `connect`
.on('close', () -> console.log "Close ", arguments)
.o... | true | AmqpDsl = require 'amqp-dsl'
AmqpDsl
.login(
login: 'legen'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
host: 'dary'
port: 2290
vhost: '/legendary'
)
# Exchanges, queues and event listener can be declared wherever you want between `login` and `connect`
.on('close', () -> console.log "Close ... |
[
{
"context": " key = component.groupBuffers[port].toString()\n if config.group instanceof RegE",
"end": 14079,
"score": 0.5753190517425537,
"start": 14071,
"tag": "KEY",
"value": "toString"
}
] | src/lib/Helpers.coffee | ensonic/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 TheGrid (Rituwall Inc.)
# NoFlo may be freely distributed under the MIT license
_ = require 'underscore'
StreamSender = require('./Streams').StreamSender
StreamReceiver = require('./Streams').StreamReceiver
InternalSocket = require './InternalSocket... | 172271 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 TheGrid (Rituwall Inc.)
# NoFlo may be freely distributed under the MIT license
_ = require 'underscore'
StreamSender = require('./Streams').StreamSender
StreamReceiver = require('./Streams').StreamReceiver
InternalSocket = require './InternalSocket... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 TheGrid (Rituwall Inc.)
# NoFlo may be freely distributed under the MIT license
_ = require 'underscore'
StreamSender = require('./Streams').StreamSender
StreamReceiver = require('./Streams').StreamReceiver
InternalSocket = require './InternalSocket... |
[
{
"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.9998685717582703,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/subcmd/batch-exec.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... | 55645 | ###
@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": "いているタブ\nwindow.drawInfo = {}\n\n$ ->\n currentKey = \"organism\"\n\n # DataTable のデフォルト値を設定\n $.extend $.fn.dat",
"end": 60,
"score": 0.7122188806533813,
"start": 55,
"tag": "KEY",
"value": "organ"
}
] | app/assets/javascripts/facet_results.js.coffee | togogenome/togogenome | 0 | # 現在開いているタブ
window.drawInfo = {}
$ ->
currentKey = "organism"
# DataTable のデフォルト値を設定
$.extend $.fn.dataTable.defaults,
processing: true
serverSide: true
ordering: false
searching: true
pageLength: 25
dom: "<'span10'<'span5'i><'span5'l>p><'.result-download-container.span2'>rtip"
pagin... | 49027 | # 現在開いているタブ
window.drawInfo = {}
$ ->
currentKey = "<KEY>ism"
# DataTable のデフォルト値を設定
$.extend $.fn.dataTable.defaults,
processing: true
serverSide: true
ordering: false
searching: true
pageLength: 25
dom: "<'span10'<'span5'i><'span5'l>p><'.result-download-container.span2'>rtip"
pagin... | true | # 現在開いているタブ
window.drawInfo = {}
$ ->
currentKey = "PI:KEY:<KEY>END_PIism"
# DataTable のデフォルト値を設定
$.extend $.fn.dataTable.defaults,
processing: true
serverSide: true
ordering: false
searching: true
pageLength: 25
dom: "<'span10'<'span5'i><'span5'l>p><'.result-download-container.span2'>rt... |
[
{
"context": "###\nCopyright 2016-2017 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 30,
"score": 0.9967353940010071,
"start": 24,
"tag": "NAME",
"value": "Balena"
}
] | lib/actions/index.coffee | bjornmagnusson/balena-cli | 0 | ###
Copyright 2016-2017 Balena
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, software
dis... | 204292 | ###
Copyright 2016-2017 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | true | ###
Copyright 2016-2017 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... |
[
{
"context": "\n# # Grock Solarized Side Menu\n#\n# @copyright 2014 Pascal Hertleif\n# @license MIT\n###\n\n$ = Zepto or jQuery\n\n###\n# ##",
"end": 69,
"score": 0.9998466968536377,
"start": 54,
"tag": "NAME",
"value": "Pascal Hertleif"
}
] | styles/thin/assets/js/behavior.coffee | vitkarpov/grock | 1 | ###
# # Grock Solarized Side Menu
#
# @copyright 2014 Pascal Hertleif
# @license MIT
###
$ = Zepto or jQuery
###
# ## Convert List of Files to File Tree
# @param {Array} list Files in flat list
# @return {Object} Files in tree (by folders)
#
# @example
# ```javascript
# Schema(list) == [{
# path: String,
# origin... | 152386 | ###
# # Grock Solarized Side Menu
#
# @copyright 2014 <NAME>
# @license MIT
###
$ = Zepto or jQuery
###
# ## Convert List of Files to File Tree
# @param {Array} list Files in flat list
# @return {Object} Files in tree (by folders)
#
# @example
# ```javascript
# Schema(list) == [{
# path: String,
# originalName: S... | true | ###
# # Grock Solarized Side Menu
#
# @copyright 2014 PI:NAME:<NAME>END_PI
# @license MIT
###
$ = Zepto or jQuery
###
# ## Convert List of Files to File Tree
# @param {Array} list Files in flat list
# @return {Object} Files in tree (by folders)
#
# @example
# ```javascript
# Schema(list) == [{
# path: String,
# o... |
[
{
"context": "uments\nargv = yargs\n .usage('Usage: $0 --token 377sdgsr32r3afpafsp ' +\n \t'--mongoDb \\\"mongodb://localhost:27017/g",
"end": 724,
"score": 0.9978511929512024,
"start": 705,
"tag": "PASSWORD",
"value": "377sdgsr32r3afpafsp"
}
] | muse-crawlers/github_crawler/src/index.coffee | esenator/muse | 0 | ##
## Copyright (c) 2014-2017 Leidos.
##
## License: 3-clause BSD, see https://opensource.org/licenses/BSD-3-Clause
##
##
## Developed under contract #FA8750-14-C-0241
##
chalk = require 'chalk'
https = require 'https'
url = require 'url'
sleep = require 'sleep'
uuid = require 'uuid'
yargs = require 'yargs'
fs = requi... | 81693 | ##
## Copyright (c) 2014-2017 Leidos.
##
## License: 3-clause BSD, see https://opensource.org/licenses/BSD-3-Clause
##
##
## Developed under contract #FA8750-14-C-0241
##
chalk = require 'chalk'
https = require 'https'
url = require 'url'
sleep = require 'sleep'
uuid = require 'uuid'
yargs = require 'yargs'
fs = requi... | true | ##
## Copyright (c) 2014-2017 Leidos.
##
## License: 3-clause BSD, see https://opensource.org/licenses/BSD-3-Clause
##
##
## Developed under contract #FA8750-14-C-0241
##
chalk = require 'chalk'
https = require 'https'
url = require 'url'
sleep = require 'sleep'
uuid = require 'uuid'
yargs = require 'yargs'
fs = requi... |
[
{
"context": "est 'nested for .. of .. loops', (cb) ->\n x =\n christian:\n age: 36\n last: \"rudder\"\n max:\n ",
"end": 7734,
"score": 0.6968309283256531,
"start": 7725,
"tag": "NAME",
"value": "christian"
},
{
"context": ">\n x =\n christian:\n age: 36... | test/iced.coffee | protez/coffee-script | 1 |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
foo = (i, cb) ->
await delay(defer(), i)
cb(i)
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
atest "basic iced trigger... | 201389 |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
foo = (i, cb) ->
await delay(defer(), i)
cb(i)
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
atest "basic iced trigger... | true |
delay = (cb, i) ->
i = i || 3
setTimeout cb, i
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
foo = (i, cb) ->
await delay(defer(), i)
cb(i)
atest "basic iced waiting", (cb) ->
i = 1
await delay defer()
i++
cb(i is 2, {})
atest "basic iced trigger... |
[
{
"context": "-----------------------------\n# Copyright (c) 2012 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 117,
"score": 0.9998297691345215,
"start": 102,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib/stacktrace.coffee | pmuellr/offl-site | 1 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 Patrick Mueller
#
# 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... | 219091 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/lice... | true | #-------------------------------------------------------------------------------
# Copyright (c) 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.a... |
[
{
"context": "class @LINKS_CONSTANTS\n\t@STORAGE_KEY = 'startpage.links'\n\nclass @Links\n\t@contents\n\n\t@masonry\n\n\t@initMason",
"end": 55,
"score": 0.8500851392745972,
"start": 40,
"tag": "KEY",
"value": "startpage.links"
}
] | startpage_assets/js/links.coffee | Cryptogenik/StartPage | 2 | class @LINKS_CONSTANTS
@STORAGE_KEY = 'startpage.links'
class @Links
@contents
@masonry
@initMasonry: () ->
unless Links.masonry is null or Links.masonry is undefined
Links.masonry.masonry('destroy')
Links.masonry = $('#link-view').masonry({
itemSelector: '.category-wrapper'
})
@loadFromLocalStor... | 107663 | class @LINKS_CONSTANTS
@STORAGE_KEY = '<KEY>'
class @Links
@contents
@masonry
@initMasonry: () ->
unless Links.masonry is null or Links.masonry is undefined
Links.masonry.masonry('destroy')
Links.masonry = $('#link-view').masonry({
itemSelector: '.category-wrapper'
})
@loadFromLocalStorage: () ->... | true | class @LINKS_CONSTANTS
@STORAGE_KEY = 'PI:KEY:<KEY>END_PI'
class @Links
@contents
@masonry
@initMasonry: () ->
unless Links.masonry is null or Links.masonry is undefined
Links.masonry.masonry('destroy')
Links.masonry = $('#link-view').masonry({
itemSelector: '.category-wrapper'
})
@loadFromLocalS... |
[
{
"context": "ew Tests for no-unused-expressions rule.\n# @author Michael Ficarra\n###\n\n'use strict'\n\n#-----------------------------",
"end": 84,
"score": 0.9998031258583069,
"start": 69,
"tag": "NAME",
"value": "Michael Ficarra"
}
] | src/tests/rules/no-unused-expressions.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-unused-expressions rule.
# @author Michael Ficarra
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unused-ex... | 14607 | ###*
# @fileoverview Tests for no-unused-expressions rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unused-expressions... | true | ###*
# @fileoverview Tests for no-unused-expressions rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unus... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998852014541626,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Emotes/ID.coffee | King-BR/DEmojiJS | 1 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabID
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
if !ID then Reject "# [DEmojiJS] Please e... | 67872 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabID
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
if !ID then Reject "# [DEmojiJS] Please enter... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabID
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
if !ID then Rejec... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nOutlineLiveQuery = require",
"end": 35,
"score": 0.999709963798523,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/livequeries/workspace-live-query.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
OutlineLiveQuery = require './outline-live-query'
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over all {Outline}s in a {Workspace}.
module.exports =
class WorkspaceLiveQuery extends LiveQuery
outlineIDsToQueryInf... | 5453 | # Copyright (c) 2015 <NAME>. All rights reserved.
OutlineLiveQuery = require './outline-live-query'
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over all {Outline}s in a {Workspace}.
module.exports =
class WorkspaceLiveQuery extends LiveQuery
outlineIDsToQueryInfo: null
... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
OutlineLiveQuery = require './outline-live-query'
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over all {Outline}s in a {Workspace}.
module.exports =
class WorkspaceLiveQuery extends LiveQuery
outlineIDsToQu... |
[
{
"context": "a\np370\ntp371\na(g6\nV \np372\ntp373\na(g31\nV# (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.\\u000a\np374\ntp375\na(g6\nV \np37",
"end": 7765,
"score": 0.9998963475227356,
"start": 7750,
"tag": "NAME",
"value": "Jeremy Ashkenas"
},
{
"context": ".js,\\u000a\np382\ntp... | docs/build/Pygments/tests/examplefiles/output/underscore.coffee | mjtamlyn/django-braces | 1 | (lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Text'
p5
ttRp6
(dp7
S'subtypes'
p8
c__builtin__
set
p9
((lp10
g2
(g3
g4
(g5
S'Symbol'
p11
ttRp12
(dp13
g8
g9
((ltRp14
sS'parent'
p15
g6
sbag2
(g3
g4
(g5
S'Whitespace'
p16
ttRp17
(dp18
g8
g9
((ltRp19
sg15
g6
sbatRp20
sg11
g12
sg16
... | 133981 | (lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Text'
p5
ttRp6
(dp7
S'subtypes'
p8
c__builtin__
set
p9
((lp10
g2
(g3
g4
(g5
S'Symbol'
p11
ttRp12
(dp13
g8
g9
((ltRp14
sS'parent'
p15
g6
sbag2
(g3
g4
(g5
S'Whitespace'
p16
ttRp17
(dp18
g8
g9
((ltRp19
sg15
g6
sbatRp20
sg11
g12
sg16
... | true | (lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Text'
p5
ttRp6
(dp7
S'subtypes'
p8
c__builtin__
set
p9
((lp10
g2
(g3
g4
(g5
S'Symbol'
p11
ttRp12
(dp13
g8
g9
((ltRp14
sS'parent'
p15
g6
sbag2
(g3
g4
(g5
S'Whitespace'
p16
ttRp17
(dp18
g8
g9
((ltRp19
sg15
g6
sbatRp20
sg11
g12
sg16
... |
[
{
"context": "scription: 'Name you want employers to see, like \"Nick Winter\".'}\n city: c.shortString {title: 'City', descr",
"end": 4390,
"score": 0.9998112320899963,
"start": 4379,
"tag": "NAME",
"value": "Nick Winter"
}
] | app/schemas/models/user.coffee | maurovanetti/codecombat | 1 | c = require './../schemas'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
UserSchema = c.object
title: 'User'
c.extendNamedProperties UserSchema # let's have the name be the first property
_.extend UserSchema.properties,
e... | 31862 | c = require './../schemas'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
UserSchema = c.object
title: 'User'
c.extendNamedProperties UserSchema # let's have the name be the first property
_.extend UserSchema.properties,
e... | true | c = require './../schemas'
emailSubscriptions = ['announcement', 'tester', 'level_creator', 'developer', 'article_editor', 'translator', 'support', 'notification']
UserSchema = c.object
title: 'User'
c.extendNamedProperties UserSchema # let's have the name be the first property
_.extend UserSchema.properties,
e... |
[
{
"context": "mage_nodes, (el) ->\n $el = cheerio el\n key = /\\d+$/.exec $el.parent().attr('href')\n match = /^(.*) [(](",
"end": 2194,
"score": 0.9661744832992554,
"start": 2183,
"tag": "KEY",
"value": "/\\d+$/.exec"
}
] | src/gatherer.coffee | davidchambers/tutor | 45 | cheerio = require 'cheerio'
entities = require 'entities'
request = require 'request'
_ = require 'underscore'
symbols = require './symbols'
gatherer = module.exports
gatherer.origin = 'https://gatherer.wizards.com'
gatherer.url = (pathname, query = {}) ->
url = "#{gatherer.origin}#{pathname}"
key... | 47723 | cheerio = require 'cheerio'
entities = require 'entities'
request = require 'request'
_ = require 'underscore'
symbols = require './symbols'
gatherer = module.exports
gatherer.origin = 'https://gatherer.wizards.com'
gatherer.url = (pathname, query = {}) ->
url = "#{gatherer.origin}#{pathname}"
key... | true | cheerio = require 'cheerio'
entities = require 'entities'
request = require 'request'
_ = require 'underscore'
symbols = require './symbols'
gatherer = module.exports
gatherer.origin = 'https://gatherer.wizards.com'
gatherer.url = (pathname, query = {}) ->
url = "#{gatherer.origin}#{pathname}"
key... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.