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": "res lodash\n@requires q\n@requires node-uuid\n@author Isaac Johnston <isaac.johnston@joukou.com>\n@copyright © 200",
"end": 978,
"score": 0.9998589754104614,
"start": 964,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "res q\n@requires node-uuid\n@author... | src/models/persona/graph/index.coffee | joukou/joukou-data | 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... | 208204 | ###
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": "hortcuts[code] for code in codes\n\n upperKey = String.fromCharCode(codes[0])\n lowerKey = upperKey.",
"end": 773,
"score": 0.6315472722053528,
"start": 767,
"tag": "KEY",
"value": "String"
},
{
"context": "[code] for code in codes\n\n upperKey = String.f... | app/assets/javascripts/directives/shortcut.coffee | mthorn/photo-store | 0 | @app.directive 'shortcut', [
'$window', '$parse',
($window, $parse) ->
shortcuts = {}
$($window.document.body).on('keydown', (event) ->
return if $(event.target).is('input, textarea')
shortcuts[event.which]?()
)
($scope, $element, $attrs) ->
codes = $attrs.shortcut.split(',').... | 157456 | @app.directive 'shortcut', [
'$window', '$parse',
($window, $parse) ->
shortcuts = {}
$($window.document.body).on('keydown', (event) ->
return if $(event.target).is('input, textarea')
shortcuts[event.which]?()
)
($scope, $element, $attrs) ->
codes = $attrs.shortcut.split(',').... | true | @app.directive 'shortcut', [
'$window', '$parse',
($window, $parse) ->
shortcuts = {}
$($window.document.body).on('keydown', (event) ->
return if $(event.target).is('input, textarea')
shortcuts[event.which]?()
)
($scope, $element, $attrs) ->
codes = $attrs.shortcut.split(',').... |
[
{
"context": "iv_key = \"\"\"-----BEGIN PGP PRIVATE KEY BLOCK-----\n\nlFgEV/bL8xYJKwYBBAHaRw8BAQdA/tN2DTMq9IDsDjE+d0jdrQv4nUh15IwhEuK6\n98RzHTAAAQC6gzVTi8V5Eis0pBg8g0iW0hp++dPczDXGg+Kc1jkzEw+ItB1NaWNo\nYWwgWiAoMjU1MTkpIDxtQHphcHUubmV0Poh5BBMWCAAhBQJX9svzAhsDBQsJCAcC\nBhUICQoLAgQWAgMBAh4BAheAAAoJEOctHO20d21/oE8A... | test/files/cv25519.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
kbpgp = require '../..'
C = kbpgp.const.openpgp
ecc = kbpgp.ecc
exports.import_private_cv25519_key_from_gpg = (T, cb) ->
priv_key = """---... | 158280 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
kbpgp = require '../..'
C = kbpgp.const.openpgp
ecc = kbpgp.ecc
exports.import_private_cv25519_key_from_gpg = (T, cb) ->
priv_key = """---... | true | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
kbpgp = require '../..'
C = kbpgp.const.openpgp
ecc = kbpgp.ecc
exports.import_private_cv25519_key_from_gpg = (T, cb) ->
priv_key = """---... |
[
{
"context": "IR})\n template = \"parent\"\n context = {name:\"Newman\"}\n de.render template, context, (err, output)=",
"end": 8365,
"score": 0.9981744289398193,
"start": 8359,
"tag": "NAME",
"value": "Newman"
},
{
"context": "uld.not.exist err\n output.should.equal \"... | test/test-dust-engine.coffee | DocumentAlchemy/dust-engine | 3 | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join __dirname, '..'
IS_INSTRUMENTED = fs.existsSync(path.join(HOMEDIR,'lib-cov'))
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
DATA_DIR = path.jo... | 55940 | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join __dirname, '..'
IS_INSTRUMENTED = fs.existsSync(path.join(HOMEDIR,'lib-cov'))
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
DATA_DIR = path.jo... | true | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join __dirname, '..'
IS_INSTRUMENTED = fs.existsSync(path.join(HOMEDIR,'lib-cov'))
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
DATA_DIR = path.jo... |
[
{
"context": "channel.send \"Hi #{msg.content.tokenize()[1]}, I’m Haruka.\"\n\nmodule.exports = {\n name: \"Special\"\n han",
"end": 210,
"score": 0.7641092538833618,
"start": 204,
"tag": "NAME",
"value": "Haruka"
}
] | src/specials/_boilerplate.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! Special
handler = (msg, Haruka) ->
if not /^(i(['’])?m)\s/gi.test msg.content then return no
msg.channel.send "Hi #{msg.content.tokenize()[1]}, I’m Haruka."
module.exports = {
name: "Special"
handler: handler
}
| 109271 | #! ========================================
#! Special
handler = (msg, Haruka) ->
if not /^(i(['’])?m)\s/gi.test msg.content then return no
msg.channel.send "Hi #{msg.content.tokenize()[1]}, I’m <NAME>."
module.exports = {
name: "Special"
handler: handler
}
| true | #! ========================================
#! Special
handler = (msg, Haruka) ->
if not /^(i(['’])?m)\s/gi.test msg.content then return no
msg.channel.send "Hi #{msg.content.tokenize()[1]}, I’m PI:NAME:<NAME>END_PI."
module.exports = {
name: "Special"
handler: handler
}
|
[
{
"context": "+ Math.floor(1000 * Math.random())\n repoId = \"anton$\" + randomPartName\n username = \"un-for-history\" ",
"end": 522,
"score": 0.6134423017501831,
"start": 520,
"tag": "USERNAME",
"value": "on"
},
{
"context": " repoId = \"anton$\" + randomPartName\n username = \"... | test/repo.history.coffee | circuithub/massive-git | 6 | should = require "should"
_ = require "underscore"
Repo = require("../lib/objects/repo").Repo
Blob = require("../lib/objects/blob").Blob
TreeEntry = require("../lib/objects/tree.entry").TreeEntry
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helpe... | 87497 | should = require "should"
_ = require "underscore"
Repo = require("../lib/objects/repo").Repo
Blob = require("../lib/objects/blob").Blob
TreeEntry = require("../lib/objects/tree.entry").TreeEntry
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helpe... | true | should = require "should"
_ = require "underscore"
Repo = require("../lib/objects/repo").Repo
Blob = require("../lib/objects/blob").Blob
TreeEntry = require("../lib/objects/tree.entry").TreeEntry
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helpe... |
[
{
"context": "rImageUpload\n\n defaults: {\n csrfToken: \"csrf_token\",\n target: \"target url\",\n placehold",
"end": 184,
"score": 0.7950732111930847,
"start": 174,
"tag": "PASSWORD",
"value": "csrf_token"
}
] | spirit/core/static/spirit/scripts/src/editor_image_upload.coffee | StepanBakshayev/Spirit | 0 | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
$ = jQuery
class EditorImageUpload
defaults: {
csrfToken: "csrf_token",
target: "target url",
placeholderText: "uploading {image_name}"
}
constructor: (el, options) ->
@el ... | 204642 | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
$ = jQuery
class EditorImageUpload
defaults: {
csrfToken: "<PASSWORD>",
target: "target url",
placeholderText: "uploading {image_name}"
}
constructor: (el, options) ->
@el ... | true | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
$ = jQuery
class EditorImageUpload
defaults: {
csrfToken: "PI:PASSWORD:<PASSWORD>END_PI",
target: "target url",
placeholderText: "uploading {image_name}"
}
constructor: (el, option... |
[
{
"context": "Each ->\n co =>\n yield @room.user.say 'alice', '@hubot dog me'\n yield new Promise((reso",
"end": 357,
"score": 0.7702805995941162,
"start": 352,
"tag": "NAME",
"value": "alice"
},
{
"context": "Each ->\n co =>\n yield @room.user.say 'ali... | test/dogme-test.coffee | danquack/hubot-dogeme | 0 | Helper = require('hubot-test-helper')
helper = new Helper('../src/dogme.coffee')
co = require('co')
expect = require('chai').expect
describe 'hubot-dogme', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user says dog me to hubot', ->
beforeEach ->
co =... | 78691 | Helper = require('hubot-test-helper')
helper = new Helper('../src/dogme.coffee')
co = require('co')
expect = require('chai').expect
describe 'hubot-dogme', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user says dog me to hubot', ->
beforeEach ->
co =... | true | Helper = require('hubot-test-helper')
helper = new Helper('../src/dogme.coffee')
co = require('co')
expect = require('chai').expect
describe 'hubot-dogme', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user says dog me to hubot', ->
beforeEach ->
co =... |
[
{
"context": "iacoin Signed Message:\\n'\n bip32:\n public: 0x0488B21E,\n private: 0x05358394\n pubKeyHash: 71\n scrip",
"end": 2453,
"score": 0.7490958571434021,
"start": 2446,
"tag": "KEY",
"value": "488B21E"
},
{
"context": "\n bip32:\n public: 0x0488B21E,\n privat... | app/src/bitcoin/networks.coffee | carsenk/ledger-wallet-chrome | 1 | bitcoin.networks.dash =
magicPrefix: '\x19DarkCoin Signed Message:\n',
bip32:
public: 0x02FE52F8,
private: 0x05358394
pubKeyHash: 76
scriptHash: 16
bitcoin.networks.btcgpu =
magicPrefix: '\x18Bitcoin gold Signed Message:\n'
bip32:
public: 0x0488B21E
private: 0x0488ADE4
pubKeyHash: 38
sc... | 130895 | bitcoin.networks.dash =
magicPrefix: '\x19DarkCoin Signed Message:\n',
bip32:
public: 0x02FE52F8,
private: 0x05358394
pubKeyHash: 76
scriptHash: 16
bitcoin.networks.btcgpu =
magicPrefix: '\x18Bitcoin gold Signed Message:\n'
bip32:
public: 0x0488B21E
private: 0x0488ADE4
pubKeyHash: 38
sc... | true | bitcoin.networks.dash =
magicPrefix: '\x19DarkCoin Signed Message:\n',
bip32:
public: 0x02FE52F8,
private: 0x05358394
pubKeyHash: 76
scriptHash: 16
bitcoin.networks.btcgpu =
magicPrefix: '\x18Bitcoin gold Signed Message:\n'
bip32:
public: 0x0488B21E
private: 0x0488ADE4
pubKeyHash: 38
sc... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999133944511414,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/contest-voting/art-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 { ArtEntry } from './art-entry'
import { BaseEntryList } from './base-entry-list'
import { VoteSummary } from './vote-summary'
import * as... | 187190 | # 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 { ArtEntry } from './art-entry'
import { BaseEntryList } from './base-entry-list'
import { VoteSummary } from './vote-summary'
import * as React ... | 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 { ArtEntry } from './art-entry'
import { BaseEntryList } from './base-entry-list'
import { VoteSummary } from './vote-summary'
imp... |
[
{
"context": "create '',\n type: 'basic',\n title: 'Melatonin',\n message: chrome.i18n.getMessage(\"experi",
"end": 138,
"score": 0.9736889004707336,
"start": 129,
"tag": "NAME",
"value": "Melatonin"
},
{
"context": "ons.create '',\n type: 'basic',\n ti... | src/notification.coffee | jarlg/melatonin | 0 | notifications =
activate_blendmode_notification: ->
chrome.notifications.create '',
type: 'basic',
title: 'Melatonin',
message: chrome.i18n.getMessage("experimental_notification"),
iconUrl: './thin256.png'
(id) -> chrome.notifications.onClicked.addListener (_id) ->
... | 202327 | notifications =
activate_blendmode_notification: ->
chrome.notifications.create '',
type: 'basic',
title: '<NAME>',
message: chrome.i18n.getMessage("experimental_notification"),
iconUrl: './thin256.png'
(id) -> chrome.notifications.onClicked.addListener (_id) ->
i... | true | notifications =
activate_blendmode_notification: ->
chrome.notifications.create '',
type: 'basic',
title: 'PI:NAME:<NAME>END_PI',
message: chrome.i18n.getMessage("experimental_notification"),
iconUrl: './thin256.png'
(id) -> chrome.notifications.onClicked.addListener (_id) ... |
[
{
"context": "an_educator: \"I'm an Educator\"\n im_a_teacher: \"Tanár vagyok\"\n im_a_student: \"Diák vagyok\"\n learn_more",
"end": 9376,
"score": 0.9803487658500671,
"start": 9366,
"tag": "NAME",
"value": "Tanár vagy"
},
{
"context": " blog: \"Blog\"\n forum: \"Fóru... | app/locale/hu.coffee | FlexBlur/codecombat | 0 | module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_description: "Learn typed code through a programming game. Learn Python, JavaScript, and HTML as you solve puzzles and learn to make y... | 63204 | module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_description: "Learn typed code through a programming game. Learn Python, JavaScript, and HTML as you solve puzzles and learn to make y... | true | module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_description: "Learn typed code through a programming game. Learn Python, JavaScript, and HTML as you solve puzzles and learn to make y... |
[
{
"context": " = i\n tmp = new User()\n tmp.username = \"user#{cur}\"\n tmp.password = '1234'\n tmp.meta.f",
"end": 2575,
"score": 0.8419228196144104,
"start": 2571,
"tag": "USERNAME",
"value": "user"
},
{
"context": "tmp.username = \"user#{cur}\"\n tmp.passw... | test/server/db-reset.coffee | ingshtrom/mystic-noggin | 0 | db = require '../../build/server/database/connection'
post = require '../../build/server/database/schemas/post-schema'
postType = require '../../build/server/database/schemas/post-type-schema'
tag = require '../../build/server/database/schemas/tag-schema'
user = require '../../build/server/database/schemas/user-schema'... | 25070 | db = require '../../build/server/database/connection'
post = require '../../build/server/database/schemas/post-schema'
postType = require '../../build/server/database/schemas/post-type-schema'
tag = require '../../build/server/database/schemas/tag-schema'
user = require '../../build/server/database/schemas/user-schema'... | true | db = require '../../build/server/database/connection'
post = require '../../build/server/database/schemas/post-schema'
postType = require '../../build/server/database/schemas/post-type-schema'
tag = require '../../build/server/database/schemas/tag-schema'
user = require '../../build/server/database/schemas/user-schema'... |
[
{
"context": "ath.random().toString 36\n @password = \"token\"\n\n\n # Register Model to adapter and define ext",
"end": 842,
"score": 0.9984996318817139,
"start": 837,
"tag": "PASSWORD",
"value": "token"
},
{
"context": "sername = process.env.NAME\n @passwor... | src/cozy_data_system.coffee | aenario/jugglingdb-cozy-adapter | 2 | Client = require("request-json").JsonClient
fs = require 'fs'
util = require 'util'
dataSystemHost = process.env.DATASYSTEM_HOST or 'localhost'
dataSystemPort = process.env.DATASYSTEM_PORT or '9101'
exports.initialize = (@schema, callback) ->
unless schema.settings.url?
schema.settings.url = "http://#{dat... | 153287 | Client = require("request-json").JsonClient
fs = require 'fs'
util = require 'util'
dataSystemHost = process.env.DATASYSTEM_HOST or 'localhost'
dataSystemPort = process.env.DATASYSTEM_PORT or '9101'
exports.initialize = (@schema, callback) ->
unless schema.settings.url?
schema.settings.url = "http://#{dat... | true | Client = require("request-json").JsonClient
fs = require 'fs'
util = require 'util'
dataSystemHost = process.env.DATASYSTEM_HOST or 'localhost'
dataSystemPort = process.env.DATASYSTEM_PORT or '9101'
exports.initialize = (@schema, callback) ->
unless schema.settings.url?
schema.settings.url = "http://#{dat... |
[
{
"context": "y, value of entry\n switch\n when key in ['$loki', 'meta'] then # ignore\n\n when verify[key]",
"end": 612,
"score": 0.9963473677635193,
"start": 605,
"tag": "KEY",
"value": "['$loki"
},
{
"context": "entry\n switch\n when key in ['$loki',... | chrome/content/zotero-better-bibtex/cache.coffee | edwinksl/zotero-better-bibtex | 0 | Zotero.BetterBibTeX.cache = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@stats = {
hit: 0
miss: 0
clear: 0
}
integer: (v) ->
return v if typeof v == 'number'
_v = parseInt(v)
throw new Error("#{v} is not an integer-string") if isNaN(_v)
return _v
verify: ... | 55665 | Zotero.BetterBibTeX.cache = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@stats = {
hit: 0
miss: 0
clear: 0
}
integer: (v) ->
return v if typeof v == 'number'
_v = parseInt(v)
throw new Error("#{v} is not an integer-string") if isNaN(_v)
return _v
verify: ... | true | Zotero.BetterBibTeX.cache = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@stats = {
hit: 0
miss: 0
clear: 0
}
integer: (v) ->
return v if typeof v == 'number'
_v = parseInt(v)
throw new Error("#{v} is not an integer-string") if isNaN(_v)
return _v
verify: ... |
[
{
"context": " # not been used for a long time.\n # Note: Mr Doob said that the new scene destruction/creation prim",
"end": 4137,
"score": 0.9040527939796448,
"start": 4133,
"tag": "NAME",
"value": "Doob"
}
] | coffee/core/renderer.coffee | xinaesthete/livecodelab | 1 | ###
## The rendering requires some special steps that allow the display list
## to be reused as much as possible between frames.
###
define () ->
class Renderer
constructor: (@liveCodeLabCoreInstance) ->
render: (graphics) ->
#console.log "rendering"
# some shorthands
threeJsS... | 168561 | ###
## The rendering requires some special steps that allow the display list
## to be reused as much as possible between frames.
###
define () ->
class Renderer
constructor: (@liveCodeLabCoreInstance) ->
render: (graphics) ->
#console.log "rendering"
# some shorthands
threeJsS... | true | ###
## The rendering requires some special steps that allow the display list
## to be reused as much as possible between frames.
###
define () ->
class Renderer
constructor: (@liveCodeLabCoreInstance) ->
render: (graphics) ->
#console.log "rendering"
# some shorthands
threeJsS... |
[
{
"context": "if value instanceof Date\n full_path_key = \"#{prefix}#{key}\"\n key_to_type[full_path_key] = \"Date\"\n\n ",
"end": 409,
"score": 0.9990267157554626,
"start": 392,
"tag": "KEY",
"value": "\"#{prefix}#{key}\""
},
{
"context": "x}#{key}\"\n ke... | lib/shared.coffee | praneybehl/houston | 1 | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._get_fields = (documents) ->
key_to_type = {_id: 'ObjectId'}
find_fields = (document, prefix='') ->
for key, value of _.omit(document, '_id')
if typeof value is 'object'
# handle dates ... | 34885 | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._get_fields = (documents) ->
key_to_type = {_id: 'ObjectId'}
find_fields = (document, prefix='') ->
for key, value of _.omit(document, '_id')
if typeof value is 'object'
# handle dates ... | true | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._get_fields = (documents) ->
key_to_type = {_id: 'ObjectId'}
find_fields = (document, prefix='') ->
for key, value of _.omit(document, '_id')
if typeof value is 'object'
# handle dates ... |
[
{
"context": "tache.render(\"Why hello, {{ name }}!\", { name: 'dogeudle' })\n .done((res) => should.match_expecte",
"end": 538,
"score": 0.33872663974761963,
"start": 536,
"tag": "NAME",
"value": "ge"
},
{
"context": "che.render(\"Why hello, {{ name }}!\", { name: 'dogeudle' })... | test/mustache.coffee | slang800/accord | 0 | should = require 'should'
path = require 'path'
accord = require '../'
describe 'mustache', ->
before ->
@mustache = accord.load('mustache')
@path = path.join(__dirname, 'fixtures', 'mustache')
it 'should expose name, extensions, output, and engine', ->
@mustache.extensions.should.be.an.instanceOf(Arr... | 153023 | should = require 'should'
path = require 'path'
accord = require '../'
describe 'mustache', ->
before ->
@mustache = accord.load('mustache')
@path = path.join(__dirname, 'fixtures', 'mustache')
it 'should expose name, extensions, output, and engine', ->
@mustache.extensions.should.be.an.instanceOf(Arr... | true | should = require 'should'
path = require 'path'
accord = require '../'
describe 'mustache', ->
before ->
@mustache = accord.load('mustache')
@path = path.join(__dirname, 'fixtures', 'mustache')
it 'should expose name, extensions, output, and engine', ->
@mustache.extensions.should.be.an.instanceOf(Arr... |
[
{
"context": "Darwin)\nComment: GPGTools - https://gpgtools.org\n\niQIcBAEBCgAGBQJS+lEMAAoJEC/gHEVDSNo5fPQP/26TTyQNn0/cJ0Tq09/9fPxx\nI9whHgo7fVae/MQlIFU/tjpv0ytPZf1lyJG2wkqiGf0lj30WdjpqkmJ4yPBx1H5U\nMPuWTOfomXv7WHQlEfGNKRS5kDlEgrhS25P0AD9DA+vDGKooPwmDt2oAZGfAKU/c\n80NSINj+Uv0qNv1YJKoJGmGdZ5yNVs0jeNYKwwpzAyIxmZo... | node_modules/pgp-utils/test/files/t2.iced | AngelKey/Angelkey.nodeinstaller | 151 |
{decode,clearsign_header} = require('../../lib/main').armor
#===========================================================================
exports.test_clearsign_header = (T, cb) ->
C = {}
data = "this is the data\n"
hasher_name = "SHA512"
b = clearsign_header C, data, hasher_name
expected = "-----BEGIN PGP ... | 165654 |
{decode,clearsign_header} = require('../../lib/main').armor
#===========================================================================
exports.test_clearsign_header = (T, cb) ->
C = {}
data = "this is the data\n"
hasher_name = "SHA512"
b = clearsign_header C, data, hasher_name
expected = "-----BEGIN PGP ... | true |
{decode,clearsign_header} = require('../../lib/main').armor
#===========================================================================
exports.test_clearsign_header = (T, cb) ->
C = {}
data = "this is the data\n"
hasher_name = "SHA512"
b = clearsign_header C, data, hasher_name
expected = "-----BEGIN PGP ... |
[
{
"context": "_img.png\"\n title: \"A Pile of Crowns for Jean-Michel Basquiat\"\n url: \"tall.jpg\"\n },\n ",
"end": 395,
"score": 0.9996530413627625,
"start": 375,
"tag": "NAME",
"value": "Jean-Michel Basquiat"
},
{
"context": "Submitted by Catty... | src/mobile/apps/artwork/components/artist/test/fixture.coffee | kanaabe/force | 1 | { fabricate } = require 'antigravity'
module.exports =
artist = [
fabricate('artist',
counts: { artworks: 20, for_sale_artworks: 8, partner_shows: 10 },
carousel:
images: [
{
resized:
factor: 0.11645962732919254
height: 75
url: "... | 103156 | { fabricate } = require 'antigravity'
module.exports =
artist = [
fabricate('artist',
counts: { artworks: 20, for_sale_artworks: 8, partner_shows: 10 },
carousel:
images: [
{
resized:
factor: 0.11645962732919254
height: 75
url: "... | true | { fabricate } = require 'antigravity'
module.exports =
artist = [
fabricate('artist',
counts: { artworks: 20, for_sale_artworks: 8, partner_shows: 10 },
carousel:
images: [
{
resized:
factor: 0.11645962732919254
height: 75
url: "... |
[
{
"context": "pan class='person' up-data='{ \"age\": 18, \"name\": \"Bob\" }'>Bob</span>\n ```\n\n Calling `up.syntax.data()",
"end": 12937,
"score": 0.9997502565383911,
"start": 12934,
"tag": "NAME",
"value": "Bob"
},
{
"context": "s='person' up-data='{ \"age\": 18, \"name\": \"Bo... | lib/assets/javascripts/unpoly/syntax.coffee | pfw/unpoly | 0 | ###**
Custom JavaScript
=================
The `up.syntax` package lets you pair HTML elements with JavaScript behavior.
@see up.compiler
@see [up-data]
@see up.macro
@module up.syntax
###
up.syntax = do ->
u = up.util
e = up.element
SYSTEM_MACRO_PRIORITIES = {
'[up-back]': -100 # sets [up-href] to... | 70563 | ###**
Custom JavaScript
=================
The `up.syntax` package lets you pair HTML elements with JavaScript behavior.
@see up.compiler
@see [up-data]
@see up.macro
@module up.syntax
###
up.syntax = do ->
u = up.util
e = up.element
SYSTEM_MACRO_PRIORITIES = {
'[up-back]': -100 # sets [up-href] to... | true | ###**
Custom JavaScript
=================
The `up.syntax` package lets you pair HTML elements with JavaScript behavior.
@see up.compiler
@see [up-data]
@see up.macro
@module up.syntax
###
up.syntax = do ->
u = up.util
e = up.element
SYSTEM_MACRO_PRIORITIES = {
'[up-back]': -100 # sets [up-href] to... |
[
{
"context": " pattern: \"http*://mail.google.com/*\", passKeys: \"jk\" } ]\n\n parseLegacyRules = (lines) ->\n for lin",
"end": 2755,
"score": 0.8810849189758301,
"start": 2753,
"tag": "KEY",
"value": "jk"
}
] | background_scripts/exclusions.coffee | xc8tlik/vimium | 3 | root = exports ? window
RegexpCache =
cache: {}
clear: -> @cache = {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*... | 224308 | root = exports ? window
RegexpCache =
cache: {}
clear: -> @cache = {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*... | true | root = exports ? window
RegexpCache =
cache: {}
clear: -> @cache = {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*... |
[
{
"context": "DbSettings} # optional\n \t\tPassword: ${11:String} # optional\n \t\tPort: ${12:Inte",
"end": 695,
"score": 0.679450511932373,
"start": 693,
"tag": "PASSWORD",
"value": "11"
}
] | snippets/endpoint.cson | jpbarto/atom-cform-yaml | 10 | '.source.yaml':
'endpoint':
'prefix': 'endpoint'
'body':"""
${1:endpoint_name}:
Type: AWS::DMS::Endpoint
Properties:
CertificateArn: ${2:String} # optional
DatabaseName: ${3:String} # optional
DynamoDbSettings: ${4:DynamoDbSettings} ... | 120170 | '.source.yaml':
'endpoint':
'prefix': 'endpoint'
'body':"""
${1:endpoint_name}:
Type: AWS::DMS::Endpoint
Properties:
CertificateArn: ${2:String} # optional
DatabaseName: ${3:String} # optional
DynamoDbSettings: ${4:DynamoDbSettings} ... | true | '.source.yaml':
'endpoint':
'prefix': 'endpoint'
'body':"""
${1:endpoint_name}:
Type: AWS::DMS::Endpoint
Properties:
CertificateArn: ${2:String} # optional
DatabaseName: ${3:String} # optional
DynamoDbSettings: ${4:DynamoDbSettings} ... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Dialog extends Modal\n include: UI.Option",
"end": 64,
"score": 0.9998785853385925,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/dialog/src/dialog.coffee | lovely-io/lovely.io-stl | 2 | #
# Project's main unit
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Dialog extends Modal
include: UI.Options
extend:
Options: # default options
nolock: false
showHelp: false
showHeader: true
showButtons: true
onlyOk: false
title: null # title to pr... | 139887 | #
# Project's main unit
#
# Copyright (C) 2012 <NAME>
#
class Dialog extends Modal
include: UI.Options
extend:
Options: # default options
nolock: false
showHelp: false
showHeader: true
showButtons: true
onlyOk: false
title: null # title to preset
... | true | #
# Project's main unit
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Dialog extends Modal
include: UI.Options
extend:
Options: # default options
nolock: false
showHelp: false
showHeader: true
showButtons: true
onlyOk: false
title: null # title to... |
[
{
"context": ".ref.id}).citekey\n catch\n citekey = '@@'\n return \"\\\\bibitem{#{citekey}}\\n#{str}\\n\\n\"",
"end": 5332,
"score": 0.5170270204544067,
"start": 5331,
"tag": "KEY",
"value": "@"
}
] | chrome/content/zotero-better-bibtex/schomd.coffee | edwinksl/zotero-better-bibtex | 0 | Zotero.BetterBibTeX.schomd = {}
Zotero.BetterBibTeX.schomd.init = ->
Zotero.CiteProc.CSL.Output.Formats.markdown = {
###
# text_escape: Format-specific function for escaping text destined
# for output. Takes the text to be escaped as sole argument. Function
# will be run only once across each porti... | 32614 | Zotero.BetterBibTeX.schomd = {}
Zotero.BetterBibTeX.schomd.init = ->
Zotero.CiteProc.CSL.Output.Formats.markdown = {
###
# text_escape: Format-specific function for escaping text destined
# for output. Takes the text to be escaped as sole argument. Function
# will be run only once across each porti... | true | Zotero.BetterBibTeX.schomd = {}
Zotero.BetterBibTeX.schomd.init = ->
Zotero.CiteProc.CSL.Output.Formats.markdown = {
###
# text_escape: Format-specific function for escaping text destined
# for output. Takes the text to be escaped as sole argument. Function
# will be run only once across each porti... |
[
{
"context": "eth than other zebras.\n '''\n\n scientificName: '(Equus burchellii crawshayi)'\n mainImage: 'assets/fieldguide-content/mammals",
"end": 1008,
"score": 0.9766461253166199,
"start": 982,
"tag": "NAME",
"value": "Equus burchellii crawshayi"
}
] | app/lib/field-guide-content/zebra.coffee | zooniverse/snapshot-wisconsin | 0 | module.exports =
label: 'Crawshay\'s zebra'
description: '''
The plains zebra is the most common and widespread of the zebra species found in Africa. Zebras are horselike ungulates with distinctive black and white striped coats that make them one of the most recognizable animals. The stripes on the neck to the ... | 154113 | module.exports =
label: 'Crawshay\'s zebra'
description: '''
The plains zebra is the most common and widespread of the zebra species found in Africa. Zebras are horselike ungulates with distinctive black and white striped coats that make them one of the most recognizable animals. The stripes on the neck to the ... | true | module.exports =
label: 'Crawshay\'s zebra'
description: '''
The plains zebra is the most common and widespread of the zebra species found in Africa. Zebras are horselike ungulates with distinctive black and white striped coats that make them one of the most recognizable animals. The stripes on the neck to the ... |
[
{
"context": "st\n continue if word.length < max_len\n key = word.split('').sort().join('')\n if anagrams[key]\n for prior in anagrams[",
"end": 293,
"score": 0.9109852313995361,
"start": 263,
"tag": "KEY",
"value": "word.split('').sort().join('')"
}
] | Task/Anagrams-Deranged-anagrams/CoffeeScript/anagrams-deranged-anagrams.coffee | LaudateCorpus1/RosettaCodeData | 1 | http = require 'http'
is_derangement = (word1, word2) ->
for c, i in word1
return false if c == word2[i]
true
show_longest_derangement = (word_lst) ->
anagrams = {}
max_len = 0
for word in word_lst
continue if word.length < max_len
key = word.split('').sort().join('')
if anagrams[key]
... | 68521 | http = require 'http'
is_derangement = (word1, word2) ->
for c, i in word1
return false if c == word2[i]
true
show_longest_derangement = (word_lst) ->
anagrams = {}
max_len = 0
for word in word_lst
continue if word.length < max_len
key = <KEY>
if anagrams[key]
for prior in anagrams[ke... | true | http = require 'http'
is_derangement = (word1, word2) ->
for c, i in word1
return false if c == word2[i]
true
show_longest_derangement = (word_lst) ->
anagrams = {}
max_len = 0
for word in word_lst
continue if word.length < max_len
key = PI:KEY:<KEY>END_PI
if anagrams[key]
for prior i... |
[
{
"context": "i/user/login',\n email: email,\n password: password,\n remember_me: rememberMe\n )\n logout: ()",
"end": 243,
"score": 0.999300479888916,
"start": 235,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "pi/user/register',\n email: email,\n ... | app/assets/javascripts/view_services.coffee | hackboard/hackboard | 5 | services = angular.module 'hackboardServices', []
# 處理登入、登出、註冊的Service
services.factory 'User', ['$http', ($http)->
login: (email, password, rememberMe)->
$http.post(
'/api/user/login',
email: email,
password: password,
remember_me: rememberMe
)
logout: ()->
signUp: (email, nickN... | 66719 | services = angular.module 'hackboardServices', []
# 處理登入、登出、註冊的Service
services.factory 'User', ['$http', ($http)->
login: (email, password, rememberMe)->
$http.post(
'/api/user/login',
email: email,
password: <PASSWORD>,
remember_me: rememberMe
)
logout: ()->
signUp: (email, nic... | true | services = angular.module 'hackboardServices', []
# 處理登入、登出、註冊的Service
services.factory 'User', ['$http', ($http)->
login: (email, password, rememberMe)->
$http.post(
'/api/user/login',
email: email,
password: PI:PASSWORD:<PASSWORD>END_PI,
remember_me: rememberMe
)
logout: ()->
s... |
[
{
"context": "\"\n \"--disable-infobars\"\n\n ## https://github.com/cypress-io/cypress/issues/2376\n \"--autoplay-policy=no-user-",
"end": 1625,
"score": 0.9994526505470276,
"start": 1615,
"tag": "USERNAME",
"value": "cypress-io"
},
{
"context": "m-security/site-isolation\n ## ht... | packages/server/lib/browsers/chrome.coffee | hankthewhale/cypress | 1 | ## Unit tests in ../../test/unit/browsers/chrome_spec
_ = require("lodash")
os = require("os")
path = require("path")
Promise = require("bluebird")
la = require('lazy-ass')
check = require('check-more-types')
extension = require("@packages/extension")
debug = require("debug")("cypr... | 24184 | ## Unit tests in ../../test/unit/browsers/chrome_spec
_ = require("lodash")
os = require("os")
path = require("path")
Promise = require("bluebird")
la = require('lazy-ass')
check = require('check-more-types')
extension = require("@packages/extension")
debug = require("debug")("cypr... | true | ## Unit tests in ../../test/unit/browsers/chrome_spec
_ = require("lodash")
os = require("os")
path = require("path")
Promise = require("bluebird")
la = require('lazy-ass')
check = require('check-more-types')
extension = require("@packages/extension")
debug = require("debug")("cypr... |
[
{
"context": "e: 'The Wonderful Wizard of Oz',\n author: 'L. Frank Baum'})\n describe '#meta',\n () ->\n it '",
"end": 1655,
"score": 0.9998451471328735,
"start": 1642,
"tag": "NAME",
"value": "L. Frank Baum"
},
{
"context": " testbook.meta.should.have.proper... | scripts/test/book.coffee | baldurbjarnason/bookmaker | 1 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
testbook = {}
testchapters = {
'toc': {
id: 'nav',
filename: 'index.html',
render: false,
title: 'Table of Contents',
nomanifest: true,
majornavitem: true,
... | 214492 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
testbook = {}
testchapters = {
'toc': {
id: 'nav',
filename: 'index.html',
render: false,
title: 'Table of Contents',
nomanifest: true,
majornavitem: true,
... | true | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
testbook = {}
testchapters = {
'toc': {
id: 'nav',
filename: 'index.html',
render: false,
title: 'Table of Contents',
nomanifest: true,
majornavitem: true,
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999110102653503,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/comment-editor.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 { BigButton } from 'big-button'
import * as React from 'react'
import { button, div, span } from 'react-dom-factories'
import { Spinner } ... | 48304 | # 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 { BigButton } from 'big-button'
import * as React from 'react'
import { button, div, span } from 'react-dom-factories'
import { Spinner } from 's... | 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 { BigButton } from 'big-button'
import * as React from 'react'
import { button, div, span } from 'react-dom-factories'
import { Sp... |
[
{
"context": "# **Author:** Peter Urbak<br/>\n# **Version:** 2013-02-12\n\nroot = exports ? ",
"end": 25,
"score": 0.9998342394828796,
"start": 14,
"tag": "NAME",
"value": "Peter Urbak"
}
] | client_src/tuioSubject.coffee | dragonwasrobot/gesture-recognition | 2 | # **Author:** Peter Urbak<br/>
# **Version:** 2013-02-12
root = exports ? window
# `TUIOSubject`
class App.TUIOSubject
# ## Constructors
constructor: () ->
@observers = []
@registerCallbacks()
# ## Methods
# ### Initialization methods
# Registers the callback functions on `tuio.js`.
registerCallbacks: ... | 6386 | # **Author:** <NAME><br/>
# **Version:** 2013-02-12
root = exports ? window
# `TUIOSubject`
class App.TUIOSubject
# ## Constructors
constructor: () ->
@observers = []
@registerCallbacks()
# ## Methods
# ### Initialization methods
# Registers the callback functions on `tuio.js`.
registerCallbacks: () ->... | true | # **Author:** PI:NAME:<NAME>END_PI<br/>
# **Version:** 2013-02-12
root = exports ? window
# `TUIOSubject`
class App.TUIOSubject
# ## Constructors
constructor: () ->
@observers = []
@registerCallbacks()
# ## Methods
# ### Initialization methods
# Registers the callback functions on `tuio.js`.
registerCa... |
[
{
"context": "alert 'Bilbo and Frodo are pretty clearly the best names ever.",
"end": 12,
"score": 0.9766098856925964,
"start": 7,
"tag": "NAME",
"value": "Bilbo"
},
{
"context": "alert 'Bilbo and Frodo are pretty clearly the best names ever.'",
"end": 22,
"score": 0.97201186... | node_modules/connect-assets/test/assets/js/subdir/nested/hobbits.coffee | crigor/chat10 | 1 | alert 'Bilbo and Frodo are pretty clearly the best names ever.' | 210173 | alert '<NAME> and <NAME> are pretty clearly the best names ever.' | true | alert 'PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI are pretty clearly the best names ever.' |
[
{
"context": "window.user = { id: 1 }\n window.csrfToken = 'token'\n @scope = {\n $watch: sinon.stub()\n ",
"end": 263,
"score": 0.8896085619926453,
"start": 258,
"tag": "PASSWORD",
"value": "token"
}
] | test/unit_frontend/coffee/ide/editor/aceEditor/spell-check/SpellCheckManagerTests.coffee | davidmehren/web-sharelatex | 0 | define [
'ide/editor/directives/aceEditor/spell-check/SpellCheckManager'
], (SpellCheckManager) ->
describe 'SpellCheckManager', ->
beforeEach (done) ->
@timelord = sinon.useFakeTimers()
window.user = { id: 1 }
window.csrfToken = 'token'
@scope = {
$watch: sinon.stub()
s... | 151500 | define [
'ide/editor/directives/aceEditor/spell-check/SpellCheckManager'
], (SpellCheckManager) ->
describe 'SpellCheckManager', ->
beforeEach (done) ->
@timelord = sinon.useFakeTimers()
window.user = { id: 1 }
window.csrfToken = '<PASSWORD>'
@scope = {
$watch: sinon.stub()
... | true | define [
'ide/editor/directives/aceEditor/spell-check/SpellCheckManager'
], (SpellCheckManager) ->
describe 'SpellCheckManager', ->
beforeEach (done) ->
@timelord = sinon.useFakeTimers()
window.user = { id: 1 }
window.csrfToken = 'PI:PASSWORD:<PASSWORD>END_PI'
@scope = {
$watch:... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999116063117981,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/fancy-chart.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyChart
constructor: (area, @options = {}) ->
@options.scales ?= {}
@options.scales.x ?= d3.scaleLinear()
@options.scales... | 213613 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyChart
constructor: (area, @options = {}) ->
@options.scales ?= {}
@options.scales.x ?= d3.scaleLinear()
@options.scales.y ?= d... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyChart
constructor: (area, @options = {}) ->
@options.scales ?= {}
@options.scales.x ?= d3.scaleLinear()
@option... |
[
{
"context": "ass Helpers\n# @package Base Helper Class\n# @author Kim Honrubia <dev.Kimberlyhonrubia@gmail.com>\n###\nclass Helper",
"end": 118,
"score": 0.9998769760131836,
"start": 106,
"tag": "NAME",
"value": "Kim Honrubia"
},
{
"context": "package Base Helper Class\n# @author Ki... | resources/assets/coffee/common/base.coffee | kimberlyhonrubia/local | 0 | ###*
# Act as our Helpers for all our projects.
#
# @class Helpers
# @package Base Helper Class
# @author Kim Honrubia <dev.Kimberlyhonrubia@gmail.com>
###
class Helpers
isDebug: true
obj: {}
constructor: () ->
@obj.startSymbol = '{['
@obj.endSymbol = ']}'
log: (msg)->
... | 60970 | ###*
# Act as our Helpers for all our projects.
#
# @class Helpers
# @package Base Helper Class
# @author <NAME> <<EMAIL>>
###
class Helpers
isDebug: true
obj: {}
constructor: () ->
@obj.startSymbol = '{['
@obj.endSymbol = ']}'
log: (msg)->
console.log msg if @isDebug... | true | ###*
# Act as our Helpers for all our projects.
#
# @class Helpers
# @package Base Helper Class
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class Helpers
isDebug: true
obj: {}
constructor: () ->
@obj.startSymbol = '{['
@obj.endSymbol = ']}'
log: (msg)->
... |
[
{
"context": "cid = copy_on_write_mapping[docid]\n key = \"temporary-#{docid}\"\n headers = {}\n headers[key] = tempd",
"end": 1126,
"score": 0.9994707703590393,
"start": 1107,
"tag": "KEY",
"value": "temporary-#{docid}\""
},
{
"context": " headers = {}\n ... | bokehjs/src/coffee/server/serverutils.coffee | timelyportfolio/bokeh | 1 | define [
"jquery"
"underscore"
"common/base"
"common/socket"
"common/load_models"
"common/logging"
"backbone"
"common/has_properties"
], ($, _, base, socket, load_models, Logging, Backbone, HasProperties) ->
logger = Logging.logger
#not proud of this refactor... but we can make it better later
D... | 215185 | define [
"jquery"
"underscore"
"common/base"
"common/socket"
"common/load_models"
"common/logging"
"backbone"
"common/has_properties"
], ($, _, base, socket, load_models, Logging, Backbone, HasProperties) ->
logger = Logging.logger
#not proud of this refactor... but we can make it better later
D... | true | define [
"jquery"
"underscore"
"common/base"
"common/socket"
"common/load_models"
"common/logging"
"backbone"
"common/has_properties"
], ($, _, base, socket, load_models, Logging, Backbone, HasProperties) ->
logger = Logging.logger
#not proud of this refactor... but we can make it better later
D... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.7322580218315125,
"start": 22,
"tag": "NAME",
"value": "in.io"
}
] | lib/widgets/spinnerpromise.coffee | balena-io-modules/resin-cli-visuals | 5 | ###
Copyright 2016 Resin.io
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
distrib... | 59363 | ###
Copyright 2016 Res<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
distri... | true | ###
Copyright 2016 ResPI: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, s... |
[
{
"context": "o(function*() {\n yield this.room.user.say('Snehit', 'This is good lol');\n }.bind(this));\n }",
"end": 465,
"score": 0.9346747994422913,
"start": 459,
"tag": "NAME",
"value": "Snehit"
},
{
"context": " expect(this.room.messages).to.eql([\n ['Sn... | test/plusplus.coffee | snehitgajjar/hubot-lol-counter | 1 | const Helper = require('hubot-test-helper');
const expect = require('chai').expect;
const helper = new Helper('../src/plusplus.js');
const co = require('co');
describe('example script', function() {
before(function() {
this.room = helper.createRoom();
});
after(function() {
this.room.destroy();
});
... | 110510 | const Helper = require('hubot-test-helper');
const expect = require('chai').expect;
const helper = new Helper('../src/plusplus.js');
const co = require('co');
describe('example script', function() {
before(function() {
this.room = helper.createRoom();
});
after(function() {
this.room.destroy();
});
... | true | const Helper = require('hubot-test-helper');
const expect = require('chai').expect;
const helper = new Helper('../src/plusplus.js');
const co = require('co');
describe('example script', function() {
before(function() {
this.room = helper.createRoom();
});
after(function() {
this.room.destroy();
});
... |
[
{
"context": "t_room_counts: (socket, rooms, n=0) ->\n key = @room_count_key()\n @redis_hash_increment(key, room, n, 'ROO",
"end": 2229,
"score": 0.6549450159072876,
"start": 2218,
"tag": "KEY",
"value": "room_count_"
}
] | src/totem/sio/lib/redis/store.coffee | sixthedge/cellar | 6 | class SocketIORedisStore
redis: require('redis')
constructor: (@platform) ->
@util = @platform.util
@namespace = @platform.namespace
@client = null
@init_env_vars()
@set_client()
init_env_vars: ->
@url = @util.env_var('REDIS_URL')
@util.error 'No store SIO_REDIS_URL specifie... | 76390 | class SocketIORedisStore
redis: require('redis')
constructor: (@platform) ->
@util = @platform.util
@namespace = @platform.namespace
@client = null
@init_env_vars()
@set_client()
init_env_vars: ->
@url = @util.env_var('REDIS_URL')
@util.error 'No store SIO_REDIS_URL specifie... | true | class SocketIORedisStore
redis: require('redis')
constructor: (@platform) ->
@util = @platform.util
@namespace = @platform.namespace
@client = null
@init_env_vars()
@set_client()
init_env_vars: ->
@url = @util.env_var('REDIS_URL')
@util.error 'No store SIO_REDIS_URL specifie... |
[
{
"context": "exports.fontinfo =\n\tfamilyName: 'Prototypo John Fell'\n\tversion: '0.1.0'\n\tdescription: 'The first param",
"end": 52,
"score": 0.8089230060577393,
"start": 48,
"tag": "NAME",
"value": "Fell"
}
] | src/info.coffee | byte-foundry/john-fell | 1 | exports.fontinfo =
familyName: 'Prototypo John Fell'
version: '0.1.0'
description: 'The first parametric typeface'
tags: [
'all',
'latin',
'lowercase',
'uppercase',
'punctuation',
'figures',
'diacritic',
'smallcap'
]
defaultAlt:
97: 'a'
ascender: Math.max( ascenderHeight, capHeight ) * 1.3
des... | 186754 | exports.fontinfo =
familyName: 'Prototypo John <NAME>'
version: '0.1.0'
description: 'The first parametric typeface'
tags: [
'all',
'latin',
'lowercase',
'uppercase',
'punctuation',
'figures',
'diacritic',
'smallcap'
]
defaultAlt:
97: 'a'
ascender: Math.max( ascenderHeight, capHeight ) * 1.3
d... | true | exports.fontinfo =
familyName: 'Prototypo John PI:NAME:<NAME>END_PI'
version: '0.1.0'
description: 'The first parametric typeface'
tags: [
'all',
'latin',
'lowercase',
'uppercase',
'punctuation',
'figures',
'diacritic',
'smallcap'
]
defaultAlt:
97: 'a'
ascender: Math.max( ascenderHeight, capHei... |
[
{
"context": "3_member_test_data = [\n id: 1\n first_name: \"Andy\"\n last_name: \"Leak\"\n full_roles: \"FM\"\n ",
"end": 62,
"score": 0.9995288848876953,
"start": 58,
"tag": "NAME",
"value": "Andy"
},
{
"context": " id: 1\n first_name: \"Andy\"\n last_name:... | spec/javascripts/mobile3/member_fixture.js.coffee | andyl/BAMRU-Private | 1 | window.m3_member_test_data = [
id: 1
first_name: "Andy"
last_name: "Leak"
full_roles: "FM"
phones_attributes: []
emails_attributes: []
contacts_attributes: []
photo: "false"
,
id: 2
first_name: "John"
last_name: "Chang"
full_roles: "Bd TM"
phones_attributes:... | 202800 | window.m3_member_test_data = [
id: 1
first_name: "<NAME>"
last_name: "<NAME>"
full_roles: "FM"
phones_attributes: []
emails_attributes: []
contacts_attributes: []
photo: "false"
,
id: 2
first_name: "<NAME>"
last_name: "<NAME>"
full_roles: "Bd TM"
phones_attr... | true | window.m3_member_test_data = [
id: 1
first_name: "PI:NAME:<NAME>END_PI"
last_name: "PI:NAME:<NAME>END_PI"
full_roles: "FM"
phones_attributes: []
emails_attributes: []
contacts_attributes: []
photo: "false"
,
id: 2
first_name: "PI:NAME:<NAME>END_PI"
last_name: "PI:NAM... |
[
{
"context": "# @fileoverview Tests for no-proto rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 68,
"score": 0.9998111128807068,
"start": 56,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-proto.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-proto rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-proto'
{RuleTester} ... | 100638 | ###*
# @fileoverview Tests for no-proto rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-proto'
{RuleTester} = requ... | true | ###*
# @fileoverview Tests for no-proto rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-proto'
{Rule... |
[
{
"context": "###\n@author Nicholas Sardo <gcc.programmer@gmail.com\n©2018\n###\n\nimport { Mon",
"end": 26,
"score": 0.9998943209648132,
"start": 12,
"tag": "NAME",
"value": "Nicholas Sardo"
},
{
"context": "###\n@author Nicholas Sardo <gcc.programmer@gmail.com\n©2018\n###\n\nimport... | server/methods.coffee | nsardo/meteor-1.8-coffeescript-example | 0 | ###
@author Nicholas Sardo <gcc.programmer@gmail.com
©2018
###
import { Mongo } from 'meteor/mongo'
import { Meteor } from 'meteor/meteor'
@Foo = new Mongo.Collection "foo"
Meteor.methods
returnFoo: ->
#result = Foo.find().fetch()
result = Foo.findOne()
console.log( 'foo is ', result)
result | 105913 | ###
@author <NAME> <<EMAIL>
©2018
###
import { Mongo } from 'meteor/mongo'
import { Meteor } from 'meteor/meteor'
@Foo = new Mongo.Collection "foo"
Meteor.methods
returnFoo: ->
#result = Foo.find().fetch()
result = Foo.findOne()
console.log( 'foo is ', result)
result | true | ###
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI
©2018
###
import { Mongo } from 'meteor/mongo'
import { Meteor } from 'meteor/meteor'
@Foo = new Mongo.Collection "foo"
Meteor.methods
returnFoo: ->
#result = Foo.find().fetch()
result = Foo.findOne()
console.log( 'foo is ', result)
result |
[
{
"context": "@ngdoc \n# @name HomeCtrl\n# @description \n# @author Michael Lin, Snaphappi Inc.\n# \n###\n\n\nangular.module('starter'",
"end": 83,
"score": 0.9976747632026672,
"start": 72,
"tag": "NAME",
"value": "Michael Lin"
}
] | app/js/controllers/home.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc
# @name HomeCtrl
# @description
# @author Michael Lin, Snaphappi Inc.
#
###
angular.module('starter')
.controller 'HomeCtrl', [
'$scope'
'$rootScope'
'$timeout'
'$ionicPlatform'
'$ionicScrollDelegate'
'deviceReady'
'appFacebook'
'parsePush'
($scope, $rootScope, $timeo... | 193854 | 'use strict'
###*
# @ngdoc
# @name HomeCtrl
# @description
# @author <NAME>, Snaphappi Inc.
#
###
angular.module('starter')
.controller 'HomeCtrl', [
'$scope'
'$rootScope'
'$timeout'
'$ionicPlatform'
'$ionicScrollDelegate'
'deviceReady'
'appFacebook'
'parsePush'
($scope, $rootScope, $timeout, $... | true | 'use strict'
###*
# @ngdoc
# @name HomeCtrl
# @description
# @author PI:NAME:<NAME>END_PI, Snaphappi Inc.
#
###
angular.module('starter')
.controller 'HomeCtrl', [
'$scope'
'$rootScope'
'$timeout'
'$ionicPlatform'
'$ionicScrollDelegate'
'deviceReady'
'appFacebook'
'parsePush'
($scope, $rootScop... |
[
{
"context": "secret: process.env.COCO_GITHUB_CLIENT_SECRET or '2555a86b83f850bc44a98c67c472adb2316a3f05'\n\nconfig.mongo =\n port: process.env.COCO_MONGO_P",
"end": 609,
"score": 0.996556282043457,
"start": 569,
"tag": "KEY",
"value": "2555a86b83f850bc44a98c67c472adb2316a3f05"
},
{
... | server_config.coffee | adamcsillag/codecombat | 1 | config = {}
config.unittest = global.testing
config.proxy = process.env.COCO_PROXY
config.chinaDomain = "cn.codecombat.com"
config.brazilDomain = "br.codecombat.com"
config.port = process.env.COCO_PORT or process.env.COCO_NODE_PORT or process.env.PORT or 3000
config.ssl_port = process.env.COCO_SSL_PORT or process.en... | 169697 | config = {}
config.unittest = global.testing
config.proxy = process.env.COCO_PROXY
config.chinaDomain = "cn.codecombat.com"
config.brazilDomain = "br.codecombat.com"
config.port = process.env.COCO_PORT or process.env.COCO_NODE_PORT or process.env.PORT or 3000
config.ssl_port = process.env.COCO_SSL_PORT or process.en... | true | config = {}
config.unittest = global.testing
config.proxy = process.env.COCO_PROXY
config.chinaDomain = "cn.codecombat.com"
config.brazilDomain = "br.codecombat.com"
config.port = process.env.COCO_PORT or process.env.COCO_NODE_PORT or process.env.PORT or 3000
config.ssl_port = process.env.COCO_SSL_PORT or process.en... |
[
{
"context": "th-Token') < 0\n\t\t\t\tauthToken = {};\n\t\t\t\tauthToken[\"X-User-Id\"] = Meteor.userId();\n\t\t\t\tauthToken[\"X-Aut",
"end": 435,
"score": 0.5412473678588867,
"start": 434,
"tag": "KEY",
"value": "X"
},
{
"context": "0\n\t\t\t\tauthToken = {};\n\t\t\t\tauthToken[\"X... | creator/packages/steedos-base/client/api.coffee | yicone/steedos-platform | 42 | _.extend Steedos,
openWindow: (url, target, options)->
unless target
target = "_blank"
unless options
options = 'scrollbars=yes,EnableViewPortScale=yes,toolbarposition=top,transitionstyle=fliphorizontal,menubar=yes,closebuttoncaption= x '
if Steedos.isAndroidOrIOS() || Steedos.isMobile() || Steedos.isC... | 81283 | _.extend Steedos,
openWindow: (url, target, options)->
unless target
target = "_blank"
unless options
options = 'scrollbars=yes,EnableViewPortScale=yes,toolbarposition=top,transitionstyle=fliphorizontal,menubar=yes,closebuttoncaption= x '
if Steedos.isAndroidOrIOS() || Steedos.isMobile() || Steedos.isC... | true | _.extend Steedos,
openWindow: (url, target, options)->
unless target
target = "_blank"
unless options
options = 'scrollbars=yes,EnableViewPortScale=yes,toolbarposition=top,transitionstyle=fliphorizontal,menubar=yes,closebuttoncaption= x '
if Steedos.isAndroidOrIOS() || Steedos.isMobile() || Steedos.isC... |
[
{
"context": ".pub-item', ->\n li -> \n text 'Pedersen, B.S., L. Borin, M. Forsberg, K. Lindén, H. Orav, E. Rög",
"end": 566,
"score": 0.9990162253379822,
"start": 553,
"tag": "NAME",
"value": "Pedersen, B.S"
},
{
"context": " li -> \n text 'Pe... | app/assets/coffee/publications.coffee | meaton/wordties | 2 | html xmlns: 'http://www.w3.org/1999/xhtml', ->
head ->
meta charset: 'utf-8'
title 'WordTies'
link href: 'css/application.css', media: 'screen', rel: 'stylesheet', type: 'text/css'
body ->
div '#scene', ->
div '#header', ->
div '#logo', ->
a href: '/', 'WordTies'
br s... | 91228 | html xmlns: 'http://www.w3.org/1999/xhtml', ->
head ->
meta charset: 'utf-8'
title 'WordTies'
link href: 'css/application.css', media: 'screen', rel: 'stylesheet', type: 'text/css'
body ->
div '#scene', ->
div '#header', ->
div '#logo', ->
a href: '/', 'WordTies'
br s... | true | html xmlns: 'http://www.w3.org/1999/xhtml', ->
head ->
meta charset: 'utf-8'
title 'WordTies'
link href: 'css/application.css', media: 'screen', rel: 'stylesheet', type: 'text/css'
body ->
div '#scene', ->
div '#header', ->
div '#logo', ->
a href: '/', 'WordTies'
br s... |
[
{
"context": "are-valid-for-javascript-variable-names\nkeyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789Γಠ_'\nValidIDfromString = (input) ->\n\n #log \"ValidID",
"end": 1194,
"score": 0.9996823668479919,
"start": 1128,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVW... | fizzylogo_globals.coffee | davidedc/Fizzylogo | 4 | Fizzylogo = {}
# export as a global, whether it's in node or in the browser
(exports ? this).Fizzylogo = Fizzylogo
# Debug logging flags
objectFindSignatureMakeCallDebug = false
listEvaluationsDebug = false
tokensDebug = false
tokenizerDebug = false
contextDebug = false
flClassesDebug = false
methodsExecutionDebug = f... | 142433 | Fizzylogo = {}
# export as a global, whether it's in node or in the browser
(exports ? this).Fizzylogo = Fizzylogo
# Debug logging flags
objectFindSignatureMakeCallDebug = false
listEvaluationsDebug = false
tokensDebug = false
tokenizerDebug = false
contextDebug = false
flClassesDebug = false
methodsExecutionDebug = f... | true | Fizzylogo = {}
# export as a global, whether it's in node or in the browser
(exports ? this).Fizzylogo = Fizzylogo
# Debug logging flags
objectFindSignatureMakeCallDebug = false
listEvaluationsDebug = false
tokensDebug = false
tokenizerDebug = false
contextDebug = false
flClassesDebug = false
methodsExecutionDebug = f... |
[
{
"context": "<head><meta property=\\\"article:author\\\" content=\\\"Joe Bloggs\\\" /></head></html>\")\n author = extractor.autho",
"end": 4499,
"score": 0.9997025728225708,
"start": 4489,
"tag": "NAME",
"value": "Joe Bloggs"
},
{
"context": ")\n eq JSON.stringify(author), JS... | test/extractor.coffee | collinwu/node-unfluff | 1,173 | suite 'Extractor', ->
extractor = require("../src/extractor")
cheerio = require("cheerio")
test 'exists', ->
ok extractor
test 'returns a blank title', ->
doc = cheerio.load("<html><head><title></title></head></html>")
title = extractor.title(doc)
eq title, ""
test 'returns a simple title',... | 193550 | suite 'Extractor', ->
extractor = require("../src/extractor")
cheerio = require("cheerio")
test 'exists', ->
ok extractor
test 'returns a blank title', ->
doc = cheerio.load("<html><head><title></title></head></html>")
title = extractor.title(doc)
eq title, ""
test 'returns a simple title',... | true | suite 'Extractor', ->
extractor = require("../src/extractor")
cheerio = require("cheerio")
test 'exists', ->
ok extractor
test 'returns a blank title', ->
doc = cheerio.load("<html><head><title></title></head></html>")
title = extractor.title(doc)
eq title, ""
test 'returns a simple title',... |
[
{
"context": "e = new Node\n node.mx_hash.hash_key = 'dedent'\n ret_value.push [node]\n la",
"end": 3700,
"score": 0.9062831997871399,
"start": 3694,
"tag": "KEY",
"value": "dedent"
}
] | src/tok.coffee | hu2prod/lang_gen | 0 | require 'fy/codegen'
module.exports = (col)->
return if col.chk_file __FILE__
bp = col.autogen 'tok_main', /^tok_main$/, (ret)->
ret.hash.tab_to_2space= false
ret.hash.dedent_fix = true
ret.hash.remove_start_eol = true
ret.hash.remove_end_eol = true
ret.hash.empty_fix = true
ret.compil... | 83964 | require 'fy/codegen'
module.exports = (col)->
return if col.chk_file __FILE__
bp = col.autogen 'tok_main', /^tok_main$/, (ret)->
ret.hash.tab_to_2space= false
ret.hash.dedent_fix = true
ret.hash.remove_start_eol = true
ret.hash.remove_end_eol = true
ret.hash.empty_fix = true
ret.compil... | true | require 'fy/codegen'
module.exports = (col)->
return if col.chk_file __FILE__
bp = col.autogen 'tok_main', /^tok_main$/, (ret)->
ret.hash.tab_to_2space= false
ret.hash.dedent_fix = true
ret.hash.remove_start_eol = true
ret.hash.remove_end_eol = true
ret.hash.empty_fix = true
ret.compil... |
[
{
"context": " expect(@scope.defaultUser.username).toBe(\"Username\")\n expect(@scope.defaultUser.email).toBe(\"",
"end": 2248,
"score": 0.9992560744285583,
"start": 2240,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "\")\n expect(@scope.defaultUser.ema... | spec/javascripts/controllers/MainCtrl_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
extractNames = (arr) -> a.name for a in arr
extractActions = (arr) -> a.action for a in arr
describe 'MainCtrl', ->
beforeEach ->
@setupController('MainCtrl', true)
@rootScope = @injector.get('$rootScope')
@Auth = @model('Auth')
@http.whenPOST('/users/sign_in.json').respond(201... | 159056 | #= require spec_helper
extractNames = (arr) -> a.name for a in arr
extractActions = (arr) -> a.action for a in arr
describe 'MainCtrl', ->
beforeEach ->
@setupController('MainCtrl', true)
@rootScope = @injector.get('$rootScope')
@Auth = @model('Auth')
@http.whenPOST('/users/sign_in.json').respond(201... | true | #= require spec_helper
extractNames = (arr) -> a.name for a in arr
extractActions = (arr) -> a.action for a in arr
describe 'MainCtrl', ->
beforeEach ->
@setupController('MainCtrl', true)
@rootScope = @injector.get('$rootScope')
@Auth = @model('Auth')
@http.whenPOST('/users/sign_in.json').respond(201... |
[
{
"context": "der 0.1.5 - AngularJS slider\n https://github.com/evrone/glider\n Copyright (c) 2013 Valentin Vasilyev, Dm",
"end": 65,
"score": 0.9922229647636414,
"start": 59,
"tag": "USERNAME",
"value": "evrone"
},
{
"context": "ps://github.com/evrone/glider\n Copyright (c) 2013 ... | app/assets/javascripts/glider.coffee | evrone/glider-rails | 3 | ###
glider 0.1.5 - AngularJS slider
https://github.com/evrone/glider
Copyright (c) 2013 Valentin Vasilyev, Dmitry Karpunin
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
examples:
basic:
<slider min="0" max="100" step="1" value="age"></slider>
update only on mous... | 103362 | ###
glider 0.1.5 - AngularJS slider
https://github.com/evrone/glider
Copyright (c) 2013 <NAME>, <NAME>
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
examples:
basic:
<slider min="0" max="100" step="1" value="age"></slider>
update only on mouse up:
<slider defe... | true | ###
glider 0.1.5 - AngularJS slider
https://github.com/evrone/glider
Copyright (c) 2013 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
examples:
basic:
<slider min="0" max="100" step="1" value="age"></slider>
update only... |
[
{
"context": "orts.secondOrderForm = {\n \"orderFormId\": \"5c5214990aaf4a7499ce4fc58d3ec9e2\",\n \"request\": 2\n}\n\nexpor",
"end": 11866,
"score": 0.522637665271759,
"start": 11865,
"tag": "KEY",
"value": "9"
},
{
"context": "ts.secondOrderForm = {\n \"orderFormId\": \"5c521499... | spec/mock/checkout-mock.coffee | ganobrega/vtex.js | 99 | exports.mock = {}
exports.API_URL = window.location.origin + '/api/checkout/pub/orderForm'
exports.GATEWAY_URL = window.location.origin + '/api/checkout/pub/gatewayCallback'
exports.SIMULATION_URL = window.location.origin + '/api/checkout/pub/orderForms/simulation'
exports.orderForm = {}
exports.simpleOrderForm =... | 9970 | exports.mock = {}
exports.API_URL = window.location.origin + '/api/checkout/pub/orderForm'
exports.GATEWAY_URL = window.location.origin + '/api/checkout/pub/gatewayCallback'
exports.SIMULATION_URL = window.location.origin + '/api/checkout/pub/orderForms/simulation'
exports.orderForm = {}
exports.simpleOrderForm =... | true | exports.mock = {}
exports.API_URL = window.location.origin + '/api/checkout/pub/orderForm'
exports.GATEWAY_URL = window.location.origin + '/api/checkout/pub/gatewayCallback'
exports.SIMULATION_URL = window.location.origin + '/api/checkout/pub/orderForms/simulation'
exports.orderForm = {}
exports.simpleOrderForm =... |
[
{
"context": "v class=\"form-group\">\n <label for=\"username\">Username*</label>\n <input type=\"t",
"end": 1153,
"score": 0.9975962042808533,
"start": 1145,
"tag": "USERNAME",
"value": "username"
},
{
"context": " <input type=\"text\" class=\"form... | ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/bs/modalPromptRegister.coffee | OxBRCInformatics/NHICModelCatalogue | 1 | angular.module('mc.core.ui.bs.modalPromptRegister', ['mc.util.messages', 'ngCookies']).config ['messagesProvider', (messagesProvider)->
factory = [ '$modal', '$q', 'messages', 'security', ($modal, $q, messages, security) ->
->
dialog = $modal.open {
windowClass: 'register-modal-prompt'
templ... | 178960 | angular.module('mc.core.ui.bs.modalPromptRegister', ['mc.util.messages', 'ngCookies']).config ['messagesProvider', (messagesProvider)->
factory = [ '$modal', '$q', 'messages', 'security', ($modal, $q, messages, security) ->
->
dialog = $modal.open {
windowClass: 'register-modal-prompt'
templ... | true | angular.module('mc.core.ui.bs.modalPromptRegister', ['mc.util.messages', 'ngCookies']).config ['messagesProvider', (messagesProvider)->
factory = [ '$modal', '$q', 'messages', 'security', ($modal, $q, messages, security) ->
->
dialog = $modal.open {
windowClass: 'register-modal-prompt'
templ... |
[
{
"context": "cation}\"\n\n url = @buildURL(request)\n key = @buildKey(url)\n\n if headers.status >= 200 and (headers.s",
"end": 2393,
"score": 0.796968400478363,
"start": 2385,
"tag": "KEY",
"value": "buildKey"
},
{
"context": "ferred()\n\n url = @buildURL(request)\n ... | src/seoserver.coffee | johnthillaye/seoserver | 0 | express = require('express')
memcached = require('memcached')
$ = require('jquery')
_ = require('underscore')
logentries = require('node-logentries')
querystring = require('querystring')
defaultConfig = require('./config')
class SeoServer
constructor: (config = {}) ->
@config = _.defaults(config, defaultConfig)... | 111258 | express = require('express')
memcached = require('memcached')
$ = require('jquery')
_ = require('underscore')
logentries = require('node-logentries')
querystring = require('querystring')
defaultConfig = require('./config')
class SeoServer
constructor: (config = {}) ->
@config = _.defaults(config, defaultConfig)... | true | express = require('express')
memcached = require('memcached')
$ = require('jquery')
_ = require('underscore')
logentries = require('node-logentries')
querystring = require('querystring')
defaultConfig = require('./config')
class SeoServer
constructor: (config = {}) ->
@config = _.defaults(config, defaultConfig)... |
[
{
"context": "pendTo('body')\n\n fields = [\n {label: 'Username', type: 'text', helpInline: 'a-z 0-9 - _'},\n ",
"end": 693,
"score": 0.6190553307533264,
"start": 685,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "xt', helpInline: 'a-z 0-9 - _'},\n {l... | coffee/test/views/form_component_view.spec.coffee | athenalabs/athena-lib-js | 1 | goog.provide 'athena.lib.specs.FormComponentView'
goog.require 'athena.lib.FormComponentView'
describe 'athena.lib.FormComponentView', ->
FormComponentView = athena.lib.FormComponentView
test = athena.lib.util.test
it 'should be part of athena.lib', ->
expect(FormComponentView).toBeDefined()
test.describ... | 32129 | goog.provide 'athena.lib.specs.FormComponentView'
goog.require 'athena.lib.FormComponentView'
describe 'athena.lib.FormComponentView', ->
FormComponentView = athena.lib.FormComponentView
test = athena.lib.util.test
it 'should be part of athena.lib', ->
expect(FormComponentView).toBeDefined()
test.describ... | true | goog.provide 'athena.lib.specs.FormComponentView'
goog.require 'athena.lib.FormComponentView'
describe 'athena.lib.FormComponentView', ->
FormComponentView = athena.lib.FormComponentView
test = athena.lib.util.test
it 'should be part of athena.lib', ->
expect(FormComponentView).toBeDefined()
test.describ... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998500347137451,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
},
{
"context": "ors\n for rank in ranks\n ... | Common/Bin/Data/coffee/GameConfig.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.XML_FILE_NAME = "chinesepuzzle.data"
cpz.GameConfig = cc.Class.extend(
_getNodePath: (mode, file, sprite) ->
pa... | 10700 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.XML_FILE_NAME = "chinesepuzzle.data"
cpz.GameConfig = cc.Class.extend(
_getNodePath: (mode, file, sprite) ->
path = cp... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.XML_FILE_NAME = "chinesepuzzle.data"
cpz.GameConfig = cc.Class.extend(
_getNodePath: (mode, file, sprite) ->... |
[
{
"context": " node = new Node\n node.mx_hash.hash_key = v.name\n node.regex = v.regex # parasite\n ",
"end": 4354,
"score": 0.7098241448402405,
"start": 4348,
"tag": "KEY",
"value": "v.name"
}
] | src/tokenizer.coffee | hu2prod/gram | 0 | module = @
# ltrim = (text, subtext)->
# len = subtext.length
# loop
# ch = text[0]
# if -1 != subtext.indexOf ch
# text = text.substr 1
# continue
# break
# text
strict_rule = require './strict_rule'
Node = strict_rule.Node
# ############################################################... | 1115 | module = @
# ltrim = (text, subtext)->
# len = subtext.length
# loop
# ch = text[0]
# if -1 != subtext.indexOf ch
# text = text.substr 1
# continue
# break
# text
strict_rule = require './strict_rule'
Node = strict_rule.Node
# ############################################################... | true | module = @
# ltrim = (text, subtext)->
# len = subtext.length
# loop
# ch = text[0]
# if -1 != subtext.indexOf ch
# text = text.substr 1
# continue
# break
# text
strict_rule = require './strict_rule'
Node = strict_rule.Node
# ############################################################... |
[
{
"context": " headerName: \"X-TinyProfiler-Ids\"\n profilerKey: \"profiler\"\n profileResponse: yes\n\nmodule.exports = (tp, op",
"end": 160,
"score": 0.9909959435462952,
"start": 152,
"tag": "KEY",
"value": "profiler"
}
] | src/middleware/profiling.coffee | couchand/tinyprofiler | 0 | # connect profiling middleware
onHeaders = require 'on-headers'
xtend = require 'xtend'
defaults =
headerName: "X-TinyProfiler-Ids"
profilerKey: "profiler"
profileResponse: yes
module.exports = (tp, opts)->
options = xtend {}, defaults, opts
(req, res, next) ->
profiler = req[options.profilerKey] = tp... | 88601 | # connect profiling middleware
onHeaders = require 'on-headers'
xtend = require 'xtend'
defaults =
headerName: "X-TinyProfiler-Ids"
profilerKey: "<KEY>"
profileResponse: yes
module.exports = (tp, opts)->
options = xtend {}, defaults, opts
(req, res, next) ->
profiler = req[options.profilerKey] = tp.re... | true | # connect profiling middleware
onHeaders = require 'on-headers'
xtend = require 'xtend'
defaults =
headerName: "X-TinyProfiler-Ids"
profilerKey: "PI:KEY:<KEY>END_PI"
profileResponse: yes
module.exports = (tp, opts)->
options = xtend {}, defaults, opts
(req, res, next) ->
profiler = req[options.profile... |
[
{
"context": "###\n @author Takahiro INOUE <takahiro.inoue@aist.go.jp>\n @license Songle Wid",
"end": 28,
"score": 0.9998718500137329,
"start": 14,
"tag": "NAME",
"value": "Takahiro INOUE"
},
{
"context": "###\n @author Takahiro INOUE <takahiro.inoue@aist.go.jp>\n @license Songle... | extras/src/sw-extra-chorus-player.coffee | ongacrest/songle-widget-api-examples | 16 | ###
@author Takahiro INOUE <takahiro.inoue@aist.go.jp>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms of t... | 137113 | ###
@author <NAME> <<EMAIL>>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms of the MIT license only for no... | true | ###
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms o... |
[
{
"context": " file identification tool.\n\n Copyright (c) 2013 Ray Nicholus\n Licensed under the MIT license (http://openso",
"end": 134,
"score": 0.9998806715011597,
"start": 122,
"tag": "NAME",
"value": "Ray Nicholus"
},
{
"context": "o the associated [type record](https://g... | src/determinater.coffee | rnicholus/determinater | 9 | ###
determinater - An efficient, flexible, and accurate client-side file identification tool.
Copyright (c) 2013 Ray Nicholus
Licensed under the MIT license (http://opensource.org/licenses/MIT)
###
console.log "Creating determinater..."
determinater = {}
###
We will retrieve the signatures from this ... | 148589 | ###
determinater - An efficient, flexible, and accurate client-side file identification tool.
Copyright (c) 2013 <NAME>
Licensed under the MIT license (http://opensource.org/licenses/MIT)
###
console.log "Creating determinater..."
determinater = {}
###
We will retrieve the signatures from this locati... | true | ###
determinater - An efficient, flexible, and accurate client-side file identification tool.
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license (http://opensource.org/licenses/MIT)
###
console.log "Creating determinater..."
determinater = {}
###
We will retrieve the signatures fr... |
[
{
"context": " region, summonerId) -> {\n key: \"#{api.fullname}-teamsForSummonerId-#{region}-#{summonerId}\"\n api, region,\n ",
"end": 959,
"score": 0.984653115272522,
"start": 911,
"tag": "KEY",
"value": "\"#{api.fullname}-teamsForSummonerId-#{regi... | src/api/team.coffee | jwalton/lol-js | 30 | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "team-v2.4",
name: "team",
version: "v2.4"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region`... | 94663 | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "team-v2.4",
name: "team",
version: "v2.4"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region`... | true | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "team-v2.4",
name: "team",
version: "v2.4"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region`... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985457062721252,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-connect-given-socket.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... | 30281 | # 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### https://github.com/TooTallNate/node-applescript ###\nAPPLESCRIPT = ",
"end": 1663,
"score": 0.9994400143623352,
"start": 1652,
"tag": "USERNAME",
"value": "TooTallNate"
},
{
"context": " 'Toggle Galley':\n key: ... | mingkwai.app/Contents/Resources/app.nw/src/MKTS.coffee | loveencounterflow/mingkwai-app | 0 |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... | 61134 |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... | true |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... |
[
{
"context": "/icons/oschina@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readOnly: true\n descript",
"end": 1827,
"score": 0.9700567722320557,
"start": 1817,
"tag": "KEY",
"value": "webhookUrl"
}
] | src/services/oschina.coffee | jianliaoim/talk-services | 40 | Promise = require 'bluebird'
marked = require 'marked'
util = require '../util'
###*
* Define handler when receive incoming webhook from oschina
* @param {Object} req Express request object
* @return {Promise}
###
_receiveWebhook = ({body}) ->
payloadStr = body?.hook or null
return unless payloadStr
... | 72671 | Promise = require 'bluebird'
marked = require 'marked'
util = require '../util'
###*
* Define handler when receive incoming webhook from oschina
* @param {Object} req Express request object
* @return {Promise}
###
_receiveWebhook = ({body}) ->
payloadStr = body?.hook or null
return unless payloadStr
... | true | Promise = require 'bluebird'
marked = require 'marked'
util = require '../util'
###*
* Define handler when receive incoming webhook from oschina
* @param {Object} req Express request object
* @return {Promise}
###
_receiveWebhook = ({body}) ->
payloadStr = body?.hook or null
return unless payloadStr
... |
[
{
"context": "length\n dict = {}\n key = if ids? then \"id_str\" else \"screen_name\"\n dict[r[key]] = r for r ",
"end": 6172,
"score": 0.9188259243965149,
"start": 6166,
"tag": "KEY",
"value": "id_str"
},
{
"context": "ict = {}\n key = if ids? then \"id_str\" e... | src/scrapers/twitter.iced | wedataintelligence/proofs | 118 | {sncmp,BaseScraper} = require './base'
{make_ids} = require '../base'
{constants} = require '../constants'
{Lock} = require '../util'
{v_codes} = constants
{decode_sig} = require('kbpgp').ukm
urlmod = require 'url'
schema = require '../schema3'
#=========================================================================... | 45405 | {sncmp,BaseScraper} = require './base'
{make_ids} = require '../base'
{constants} = require '../constants'
{Lock} = require '../util'
{v_codes} = constants
{decode_sig} = require('kbpgp').ukm
urlmod = require 'url'
schema = require '../schema3'
#=========================================================================... | true | {sncmp,BaseScraper} = require './base'
{make_ids} = require '../base'
{constants} = require '../constants'
{Lock} = require '../util'
{v_codes} = constants
{decode_sig} = require('kbpgp').ukm
urlmod = require 'url'
schema = require '../schema3'
#=========================================================================... |
[
{
"context": "scription: Analytics for programmers.\nMaintainer: WakaTime <support@wakatime.com>\nLicense: BSD, see LICE",
"end": 74,
"score": 0.9431973099708557,
"start": 66,
"tag": "USERNAME",
"value": "WakaTime"
},
{
"context": "Analytics for programmers.\nMaintainer: WakaTi... | home/.atom/packages/wakatime/lib/wakatime.coffee | shadowbq/dot.atom | 0 | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <support@wakatime.com>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
AdmZip = require 'adm-zip'
fs = require 'fs'
os = require 'os'
path = require 'path'
process = require 'child_process'
request = requi... | 187123 | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <<EMAIL>>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
AdmZip = require 'adm-zip'
fs = require 'fs'
os = require 'os'
path = require 'path'
process = require 'child_process'
request = require 'request'
... | true | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <PI:EMAIL:<EMAIL>END_PI>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
AdmZip = require 'adm-zip'
fs = require 'fs'
os = require 'os'
path = require 'path'
process = require 'child_process'
request = req... |
[
{
"context": "# Copyright (c) 2012-2014 Per Rovegard, http://rovegard.com\n# The contents of this file ",
"end": 38,
"score": 0.9998749494552612,
"start": 26,
"tag": "NAME",
"value": "Per Rovegard"
}
] | test/linktoid_spec.coffee | provegard/LinkToId | 6 | # Copyright (c) 2012-2014 Per Rovegard, http://rovegard.com
# The contents of this file are subject to the terms and conditions of the MIT
# license, see http://per.mit-license.org/2012.
describe "The LinkToId extension", ->
extId = chrome.i18n.getMessage "@@extension_id"
LinkToId = window[extId].exports
fin... | 145074 | # Copyright (c) 2012-2014 <NAME>, http://rovegard.com
# The contents of this file are subject to the terms and conditions of the MIT
# license, see http://per.mit-license.org/2012.
describe "The LinkToId extension", ->
extId = chrome.i18n.getMessage "@@extension_id"
LinkToId = window[extId].exports
findToolt... | true | # Copyright (c) 2012-2014 PI:NAME:<NAME>END_PI, http://rovegard.com
# The contents of this file are subject to the terms and conditions of the MIT
# license, see http://per.mit-license.org/2012.
describe "The LinkToId extension", ->
extId = chrome.i18n.getMessage "@@extension_id"
LinkToId = window[extId].expor... |
[
{
"context": ": 'codedrop.dev'\n user: undefined\n password: undefined\n .alias('h', 'host').alias('p', 'port').argv\n\nfu",
"end": 359,
"score": 0.9988113641738892,
"start": 350,
"tag": "PASSWORD",
"value": "undefined"
}
] | server.coffee | mponizil/codedrop | 0 | #!/usr/bin/env coffee
http = require 'http'
express = require 'express'
Routes = require './library/routes'
Storage = require './library/storage'
drop = require './library/drop'
argv = require('optimist')
.default
h: process.env.HOST or '0.0.0.0',
p: process.env.PORT or 8000
mainHost: 'codedrop.dev'
... | 208919 | #!/usr/bin/env coffee
http = require 'http'
express = require 'express'
Routes = require './library/routes'
Storage = require './library/storage'
drop = require './library/drop'
argv = require('optimist')
.default
h: process.env.HOST or '0.0.0.0',
p: process.env.PORT or 8000
mainHost: 'codedrop.dev'
... | true | #!/usr/bin/env coffee
http = require 'http'
express = require 'express'
Routes = require './library/routes'
Storage = require './library/storage'
drop = require './library/drop'
argv = require('optimist')
.default
h: process.env.HOST or '0.0.0.0',
p: process.env.PORT or 8000
mainHost: 'codedrop.dev'
... |
[
{
"context": " config.coffee\n# user configs\n# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>\n\nremote = require 'remote'",
"end": 59,
"score": 0.9953519701957703,
"start": 52,
"tag": "NAME",
"value": "Lu Wang"
},
{
"context": "ffee\n# user configs\n# Copyright (c) 2015 Lu Wang ... | src/nvim/config.coffee | coolwanglu/neovim-e | 252 | # config.coffee
# user configs
# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>
remote = require 'remote'
path = require 'path'
cson = require 'cson'
app = remote.require 'app'
# default
config =
fg_color: '#000'
bg_color: '#fff'
row: 40
col: 80
font: '13px Inconsolata, Monaco, Consolas, \'Source Code Pr... | 76273 | # config.coffee
# user configs
# Copyright (c) 2015 <NAME> <<EMAIL>>
remote = require 'remote'
path = require 'path'
cson = require 'cson'
app = remote.require 'app'
# default
config =
fg_color: '#000'
bg_color: '#fff'
row: 40
col: 80
font: '13px Inconsolata, Monaco, Consolas, \'Source Code Pro\', \'Ubuntu ... | true | # config.coffee
# user configs
# Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
remote = require 'remote'
path = require 'path'
cson = require 'cson'
app = remote.require 'app'
# default
config =
fg_color: '#000'
bg_color: '#fff'
row: 40
col: 80
font: '13px Inconsolata, Monaco, Consolas, \... |
[
{
"context": "é\"\n\n it 'should fill address', ->\n key = 'logradouro'\n ngModelController =\n $setViewValue:",
"end": 2385,
"score": 0.9994684457778931,
"start": 2375,
"tag": "KEY",
"value": "logradouro"
},
{
"context": "rride if address already exists', ->\n ... | public/bower_components/angular-viacep/src/helpers/viaCep.helper.spec.coffee | AniltonMoraisJr/notasDebito | 36 | describe 'angular-viacep:viaCepHelper', ->
beforeEach ->
module 'angular.viacep'
beforeEach inject (_viaCepHelper_, _viaCep_, _$httpBackend_) ->
@viaCepHelper = _viaCepHelper_
@viaCep = _viaCep_
@httpBackend = _$httpBackend_
describe '#isValidCep', ->
it 'should not call #get from cep for ... | 223870 | describe 'angular-viacep:viaCepHelper', ->
beforeEach ->
module 'angular.viacep'
beforeEach inject (_viaCepHelper_, _viaCep_, _$httpBackend_) ->
@viaCepHelper = _viaCepHelper_
@viaCep = _viaCep_
@httpBackend = _$httpBackend_
describe '#isValidCep', ->
it 'should not call #get from cep for ... | true | describe 'angular-viacep:viaCepHelper', ->
beforeEach ->
module 'angular.viacep'
beforeEach inject (_viaCepHelper_, _viaCep_, _$httpBackend_) ->
@viaCepHelper = _viaCepHelper_
@viaCep = _viaCep_
@httpBackend = _$httpBackend_
describe '#isValidCep', ->
it 'should not call #get from cep for ... |
[
{
"context": "ations/uByDe8qDLrNGJLzMC\n # * https://github.com/meteor/meteor/tree/21bdac87347e0c80bbdf4fdbca132ff80033b",
"end": 184,
"score": 0.9938145875930786,
"start": 178,
"tag": "USERNAME",
"value": "meteor"
},
{
"context": "dira\n '*.kadira.io'\n # Meteor\n '*.meteo... | app/010_security/browserPolicy.coffee | PEM--/asv-la-soiree | 1 | if Meteor.isServer
# Article sources:
# * https://dweldon.silvrback.com/browser-policy
# * http://paris.meteor.com/presentations/uByDe8qDLrNGJLzMC
# * https://github.com/meteor/meteor/tree/21bdac87347e0c80bbdf4fdbca132ff80033b3f3/packages/browser-policy
# Black list everything
BrowserPolicy.framing.disallow... | 51720 | if Meteor.isServer
# Article sources:
# * https://dweldon.silvrback.com/browser-policy
# * http://paris.meteor.com/presentations/uByDe8qDLrNGJLzMC
# * https://github.com/meteor/meteor/tree/21bdac87347e0c80bbdf4fdbca132ff80033b3f3/packages/browser-policy
# Black list everything
BrowserPolicy.framing.disallow... | true | if Meteor.isServer
# Article sources:
# * https://dweldon.silvrback.com/browser-policy
# * http://paris.meteor.com/presentations/uByDe8qDLrNGJLzMC
# * https://github.com/meteor/meteor/tree/21bdac87347e0c80bbdf4fdbca132ff80033b3f3/packages/browser-policy
# Black list everything
BrowserPolicy.framing.disallow... |
[
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to the ",
"end": 31,
"score": 0.9998575448989868,
"start": 20,
"tag": "NAME",
"value": "mike lodato"
},
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to... | src/math/expr.coffee | zvxryb/openjscad-solve | 1 | # copyright 2015 by mike lodato (zvxryb@gmail.com)
# this work is subject to the terms of the MIT license
define ['coffeequate', 'core/errors'], (CQ, errors) ->
class Expr
constructor: (@cq) ->
throw 'undefined expression' unless @cq?
@vars = @cq.getAllVariables?().sort() ? []
@parse: (s) -> new Expr(CQ(s)... | 168355 | # copyright 2015 by <NAME> (<EMAIL>)
# this work is subject to the terms of the MIT license
define ['coffeequate', 'core/errors'], (CQ, errors) ->
class Expr
constructor: (@cq) ->
throw 'undefined expression' unless @cq?
@vars = @cq.getAllVariables?().sort() ? []
@parse: (s) -> new Expr(CQ(s))
@var: (la... | true | # copyright 2015 by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# this work is subject to the terms of the MIT license
define ['coffeequate', 'core/errors'], (CQ, errors) ->
class Expr
constructor: (@cq) ->
throw 'undefined expression' unless @cq?
@vars = @cq.getAllVariables?().sort() ? []
@parse: (s) ->... |
[
{
"context": " : \"email\"\n \"#password\" : \"password\"\n save: () =>\n @model.save()\n onRender",
"end": 455,
"score": 0.9989559054374695,
"start": 447,
"tag": "PASSWORD",
"value": "password"
}
] | frontend/app/modules/user/signIn/UserSignIn.coffee | ry-battuta/battuta-book | 0 | @App.module "UserApp.SignIn", (SignIn, App, Backbone, Marionette, $, _) ->
Controller =
show: (region) =>
user = App.request "user:entities:active"
userView = new User
model: user
region.show userView
class User extends Marionette.ItemView
template: require './templates/signIn'
... | 71712 | @App.module "UserApp.SignIn", (SignIn, App, Backbone, Marionette, $, _) ->
Controller =
show: (region) =>
user = App.request "user:entities:active"
userView = new User
model: user
region.show userView
class User extends Marionette.ItemView
template: require './templates/signIn'
... | true | @App.module "UserApp.SignIn", (SignIn, App, Backbone, Marionette, $, _) ->
Controller =
show: (region) =>
user = App.request "user:entities:active"
userView = new User
model: user
region.show userView
class User extends Marionette.ItemView
template: require './templates/signIn'
... |
[
{
"context": "Query UI slider editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 89,
"score": 0.9998751878738403,
"start": 73,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/slider.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI slider editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['backbone-f... | 120961 | ###
Backbone-Forms jQuery UI slider editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['backbone-forms', 'jq... | true | ###
Backbone-Forms jQuery UI slider editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['backbo... |
[
{
"context": "user who was kicked out of the team\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n \"pepper\": {}\n}\n\nteams: {\n ",
"end": 90,
"score": 0.841801106929779,
"start": 87,
"tag": "USERNAME",
"value": "her"
},
{
"context": "r who was kicked out of the team\"\n\nusers: ... | teamchains/inputs/signed_by_removed_admin.iced | keybase/keybase-test-vectors | 4 | description: "Admin link signed by a user who was kicked out of the team"
users: {
"herb": {}
"basil": {}
"pepper": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
admin: ["basil"]
,
type: "change_membership"
signer: ... | 221787 | description: "Admin link signed by a user who was kicked out of the team"
users: {
"her<NAME>": {}
"bas<NAME>": {}
"<NAME>": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "her<NAME>"
members:
owner: ["her<NAME>"]
admin: ["basil"]
,
type: "change_members... | true | description: "Admin link signed by a user who was kicked out of the team"
users: {
"herPI:NAME:<NAME>END_PI": {}
"basPI:NAME:<NAME>END_PI": {}
"PI:NAME:<NAME>END_PI": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herPI:NAME:<NAME>END_PI"
members:
owner: ["herPI:NAME:<NA... |
[
{
"context": " props in iterators/collection literals.\n# @author Ben Mosher\n###\n'use strict'\n\n# -----------------------------",
"end": 102,
"score": 0.9997862577438354,
"start": 92,
"tag": "NAME",
"value": "Ben Mosher"
}
] | src/tests/rules/jsx-key.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Report missing `key` props in iterators/collection literals.
# @author Ben Mosher
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../..... | 26478 | ###*
# @fileoverview Report missing `key` props in iterators/collection literals.
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rul... | true | ###*
# @fileoverview Report missing `key` props in iterators/collection literals.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = requ... |
[
{
"context": " assert @sourceSetExists x\n\n defaultKey = \"#{x}.default\"\n key = \"#{x}.#{@name}\"\n unless @source",
"end": 636,
"score": 0.944009006023407,
"start": 623,
"tag": "KEY",
"value": "\"#{x}.default"
},
{
"context": "s x\n\n defaultKey = \"#{x}.d... | lib/convention/CompileConvention.coffee | venkatperi/jsgradle | 0 | _ = require 'lodash'
rek = require 'rekuire'
Convention = rek 'Convention'
_conf = rek 'conf'
SourceSetContainer = rek 'SourceSetContainer'
SourceSetOutput = rek 'SourceSetOutput'
FilesSpec = rek 'FilesSpec'
assert = require 'assert'
log = rek('logger')(require('path').basename(__filename).split('.')[ 0 ])
sourceSet =... | 133088 | _ = require 'lodash'
rek = require 'rekuire'
Convention = rek 'Convention'
_conf = rek 'conf'
SourceSetContainer = rek 'SourceSetContainer'
SourceSetOutput = rek 'SourceSetOutput'
FilesSpec = rek 'FilesSpec'
assert = require 'assert'
log = rek('logger')(require('path').basename(__filename).split('.')[ 0 ])
sourceSet =... | true | _ = require 'lodash'
rek = require 'rekuire'
Convention = rek 'Convention'
_conf = rek 'conf'
SourceSetContainer = rek 'SourceSetContainer'
SourceSetOutput = rek 'SourceSetOutput'
FilesSpec = rek 'FilesSpec'
assert = require 'assert'
log = rek('logger')(require('path').basename(__filename).split('.')[ 0 ])
sourceSet =... |
[
{
"context": "tion name\n exp = name\n key = alight.utils.getId()\n isFunction = true\n else\n isFu",
"end": 3985,
"score": 0.6999657154083252,
"start": 3974,
"tag": "KEY",
"value": "utils.getId"
},
{
"context": " = name\n if option.deep\n ... | src/changeDetector.coffee | dragonboy612/Angular_Knockout | 317 |
alight.ChangeDetector = (scope) ->
root = new Root()
cd = new ChangeDetector root, scope or {}
root.topCD = cd
cd
Root = () ->
@.watchers =
any: []
finishBinding: []
finishScan: []
finishScanOnce: []
onScanOnce: []
@.status = null
# helpers
@.... | 135349 |
alight.ChangeDetector = (scope) ->
root = new Root()
cd = new ChangeDetector root, scope or {}
root.topCD = cd
cd
Root = () ->
@.watchers =
any: []
finishBinding: []
finishScan: []
finishScanOnce: []
onScanOnce: []
@.status = null
# helpers
@.... | true |
alight.ChangeDetector = (scope) ->
root = new Root()
cd = new ChangeDetector root, scope or {}
root.topCD = cd
cd
Root = () ->
@.watchers =
any: []
finishBinding: []
finishScan: []
finishScanOnce: []
onScanOnce: []
@.status = null
# helpers
@.... |
[
{
"context": "###\n * grunt-deploy-keys\n * https://github.com/cray0000/grunt-deploy-keys\n *\n * Copyright (c) 2014 Pavel ",
"end": 55,
"score": 0.9992883205413818,
"start": 47,
"tag": "USERNAME",
"value": "cray0000"
},
{
"context": "ray0000/grunt-deploy-keys\n *\n * Copyright (c) 2... | tasks/deployKeys.coffee | cray0000/grunt-deploy-keys | 1 | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 Pavel Zhukov
* Licensed under the MIT license.
###
path = require 'path'
userhome = require 'userhome'
superagent = require 'superagent'
async = require 'async'
prompt = require 'prompt'
_ = require 'lodash'
exec = req... | 16762 | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
path = require 'path'
userhome = require 'userhome'
superagent = require 'superagent'
async = require 'async'
prompt = require 'prompt'
_ = require 'lodash'
exec = require('... | true | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
path = require 'path'
userhome = require 'userhome'
superagent = require 'superagent'
async = require 'async'
prompt = require 'prompt'
_ = require 'lodash'
ex... |
[
{
"context": "g. custom bucket types or search schemas.\n\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n_ = re",
"end": 686,
"score": 0.9998682141304016,
"start": 672,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "types or search schemas.\n\n@autho... | ops/riak/setup.coffee | joukou/joukou-api | 0 | #!/usr/bin/env coffee
###
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 w... | 78736 | #!/usr/bin/env coffee
###
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 w... | true | #!/usr/bin/env coffee
###
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 w... |
[
{
"context": "provider: 'google'\n account: 'GOOGOPSDG76978SDG'\n secretKey: 'SD&*G68S&^DG*&6s8",
"end": 1050,
"score": 0.5074962973594666,
"start": 1049,
"tag": "KEY",
"value": "7"
},
{
"context": "ovider: 'google'\n account: 'GOOGOPSDG76978SDG'\n ... | templates/docpad.coffee | paulradzkov-forks/generator-docpad | 0 | # DocPad Configuration File
# http://docpad.org/docs/config
docpadConfig = {
templateData:
site:
# The default title of our website.
title: "<%= appname %>"
# The production url of our website.
url: "http://example.com"
# The website description (for SEO).
description: """
... | 23057 | # DocPad Configuration File
# http://docpad.org/docs/config
docpadConfig = {
templateData:
site:
# The default title of our website.
title: "<%= appname %>"
# The production url of our website.
url: "http://example.com"
# The website description (for SEO).
description: """
... | true | # DocPad Configuration File
# http://docpad.org/docs/config
docpadConfig = {
templateData:
site:
# The default title of our website.
title: "<%= appname %>"
# The production url of our website.
url: "http://example.com"
# The website description (for SEO).
description: """
... |
[
{
"context": "nk: (chunk_x, chunk_y, width, height) ->\n key = \"#{chunk_x}x#{chunk_y}\"\n return if @chunk_promises[key]?\n\n return u",
"end": 3179,
"score": 0.9923214316368103,
"start": 3156,
"tag": "KEY",
"value": "\"#{chunk_x}x#{chunk_y}\""
}
] | plugins/starpeace-client/building/building-manager.coffee | Eric1212/starpeace-website-client | 0 |
import MetadataBuilding from '~/plugins/starpeace-client/building/metadata-building.coffee'
import ResourceType from '~/plugins/starpeace-client/industry/resource-type.coffee'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
im... | 97905 |
import MetadataBuilding from '~/plugins/starpeace-client/building/metadata-building.coffee'
import ResourceType from '~/plugins/starpeace-client/industry/resource-type.coffee'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
im... | true |
import MetadataBuilding from '~/plugins/starpeace-client/building/metadata-building.coffee'
import ResourceType from '~/plugins/starpeace-client/industry/resource-type.coffee'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
im... |
[
{
"context": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998903274536133,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | SafetyNet_Mobile/www/lib/angular-google-maps-master/src/coffee/directives/markers.coffee | donh/pheonix | 1 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
###
###
Map marker directive
This directive is used to create a marker on an existing map.
This directive creates a new scope.
{attribute coords required} object containing latitude and lo... | 15858 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
###
###
Map marker directive
This directive is used to create a marker on an existing map.
This directive creates a new scope.
{attribute coords required} object containing latitude and longitude properties
{a... | true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
###
###
Map marker directive
This directive is used to create a marker on an existing map.
This directive creates a new scope.
{attribute coords required} object containing latitude... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde",
"end": 23,
"score": 0.999621570110321,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | renderer.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 218260 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... |
[
{
"context": "umnizer.\n@version 1.2.12\n@author Se7enSky studio <info@se7ensky.com>\n###\n\n###! jquery-columnagram 1.2.12 http://githu",
"end": 125,
"score": 0.9999266862869263,
"start": 108,
"tag": "EMAIL",
"value": "info@se7ensky.com"
},
{
"context": "\n###! jquery-columnagram 1.... | jquery-columnagram.coffee | SE7ENSKY/jquery-columnagram | 0 | ###
@name jquery-columnagram
@description Reinvent the columnizer.
@version 1.2.12
@author Se7enSky studio <info@se7ensky.com>
###
###! jquery-columnagram 1.2.12 http://github.com/Se7enSky/jquery-columnagram###
plugin = ($) ->
"use strict"
class Columnagram
defaults:
columns: 'auto'
# balanceMethod: 'bala... | 206911 | ###
@name jquery-columnagram
@description Reinvent the columnizer.
@version 1.2.12
@author Se7enSky studio <<EMAIL>>
###
###! jquery-columnagram 1.2.12 http://github.com/Se7enSky/jquery-columnagram###
plugin = ($) ->
"use strict"
class Columnagram
defaults:
columns: 'auto'
# balanceMethod: 'balanceCount'
... | true | ###
@name jquery-columnagram
@description Reinvent the columnizer.
@version 1.2.12
@author Se7enSky studio <PI:EMAIL:<EMAIL>END_PI>
###
###! jquery-columnagram 1.2.12 http://github.com/Se7enSky/jquery-columnagram###
plugin = ($) ->
"use strict"
class Columnagram
defaults:
columns: 'auto'
# balanceMethod: ... |
[
{
"context": ":\n source: 'Circle'\n from_address: 'deploy+ok@joukou.com'\n subject: \"Success: deployment to #{utils",
"end": 18635,
"score": 0.9999260902404785,
"start": 18615,
"tag": "EMAIL",
"value": "deploy+ok@joukou.com"
}
] | gulpfile.coffee | joukou/joukou-control | 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
dist... | 95501 | ###*
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
dist... | 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
dist... |
[
{
"context": "nallySet = (element, key, callback) ->\n key = \"#{ns.dataPrefix}#{key}\"\n callback ns.data(element, key) if ns.hasDat",
"end": 317,
"score": 0.8800235986709595,
"start": 293,
"tag": "KEY",
"value": "\"#{ns.dataPrefix}#{key}\""
}
] | app/coffeescripts/bhm/rpx_now.coffee | chandresh/big-help-mob | 1 | BHM.require 'Authentication', ->
BHM.withNS 'RPXNow', (ns) ->
ns.rpxnowLinkSelector = '.rpxnow'
ns.dataPrefix = 'rpxnow-'
ns.baseConfiguration =
overlay: true
language_preference: 'en'
conditionallySet = (element, key, callback) ->
key = "#{ns.dataPrefix}#{key}"
... | 189943 | BHM.require 'Authentication', ->
BHM.withNS 'RPXNow', (ns) ->
ns.rpxnowLinkSelector = '.rpxnow'
ns.dataPrefix = 'rpxnow-'
ns.baseConfiguration =
overlay: true
language_preference: 'en'
conditionallySet = (element, key, callback) ->
key = <KEY>
callback ns.dat... | true | BHM.require 'Authentication', ->
BHM.withNS 'RPXNow', (ns) ->
ns.rpxnowLinkSelector = '.rpxnow'
ns.dataPrefix = 'rpxnow-'
ns.baseConfiguration =
overlay: true
language_preference: 'en'
conditionallySet = (element, key, callback) ->
key = PI:KEY:<KEY>END_PI
ca... |
[
{
"context": "##\n statusbar-netconf.coffee\n Copyright (c) 2016 Nokia\n\n Note:\n This file is part of the netconf packa",
"end": 57,
"score": 0.7707718014717102,
"start": 52,
"tag": "NAME",
"value": "Nokia"
},
{
"context": " return \"#{@xsltName} loaded\"\n\n tooltips: (@wh... | lib/statusbar-netconf.coffee | nokia/atom-netconf | 15 | ###
statusbar-netconf.coffee
Copyright (c) 2016 Nokia
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
xmltools = require './xmlto... | 133331 | ###
statusbar-netconf.coffee
Copyright (c) 2016 <NAME>
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
xmltools = require './xmlt... | true | ###
statusbar-netconf.coffee
Copyright (c) 2016 PI:NAME:<NAME>END_PI
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
xmltools = r... |
[
{
"context": "AB_URL'] = 'a'\n\t\tprocess.env['GITLAB_API_KEY'] = 'a'\n\t\tprocess.env['REPOSITORY_NAME'] = 'a'\n\t\t@robot ",
"end": 209,
"score": 0.9604957103729248,
"start": 208,
"tag": "KEY",
"value": "a"
}
] | hubots/hubot-gitsy/test/hubot-gitsy-test.coffee | RocketChat/Rocket.Chat.Ops | 143 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'baronbogo', ->
beforeEach ->
process.env['GITLAB_URL'] = 'a'
process.env['GITLAB_API_KEY'] = 'a'
process.env['REPOSITORY_NAME'] = 'a'
@robot =
respond: sinon.spy()
hear: sinon.spy()
require('..... | 21810 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'baronbogo', ->
beforeEach ->
process.env['GITLAB_URL'] = 'a'
process.env['GITLAB_API_KEY'] = '<KEY>'
process.env['REPOSITORY_NAME'] = 'a'
@robot =
respond: sinon.spy()
hear: sinon.spy()
require... | true | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'baronbogo', ->
beforeEach ->
process.env['GITLAB_URL'] = 'a'
process.env['GITLAB_API_KEY'] = 'PI:KEY:<KEY>END_PI'
process.env['REPOSITORY_NAME'] = 'a'
@robot =
respond: sinon.spy()
hear: sinon.spy... |
[
{
"context": "put\n# parsing via status update events\n# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]\n# =============",
"end": 190,
"score": 0.9998990297317505,
"start": 175,
"tag": "NAME",
"value": "Robbie Saunders"
},
{
"context": "PIN: #{value}\"\n if phase is 2... | src/reaver.coffee | eibbors/reavetard | 1 | # Reavetard - Reaver WPS (+Wash) extension scripts
# reaver.coffee :: Module to spawn reaver processes and provide basic output
# parsing via status update events
# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module depe... | 225182 | # Reavetard - Reaver WPS (+Wash) extension scripts
# reaver.coffee :: Module to spawn reaver processes and provide basic output
# parsing via status update events
# Author: <NAME> http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module dependencies
... | true | # Reavetard - Reaver WPS (+Wash) extension scripts
# reaver.coffee :: Module to spawn reaver processes and provide basic output
# parsing via status update events
# Author: PI:NAME:<NAME>END_PI http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module... |
[
{
"context": "))\n data =\n trainClass: tclass\n name: name\n timeTable: arriveTable.concat(departTable)\n",
"end": 830,
"score": 0.6195304989814758,
"start": 826,
"tag": "NAME",
"value": "name"
}
] | app/assets/javascript/trains.coffee | ponkotuy/train-analyzer | 0 | $(document).ready ->
$('#createTrain').click ->
patternId = parseInt($(@).attr('data-pattern-id'))
tclass = $('#trainClass').val()
name = $('#trainName').val()
arrives = []
$('input.arrive-time').each ->
sno = parseInt($(@).attr('data-station-no'))
arrives[sno] = parseInt($(@).val())
... | 29388 | $(document).ready ->
$('#createTrain').click ->
patternId = parseInt($(@).attr('data-pattern-id'))
tclass = $('#trainClass').val()
name = $('#trainName').val()
arrives = []
$('input.arrive-time').each ->
sno = parseInt($(@).attr('data-station-no'))
arrives[sno] = parseInt($(@).val())
... | true | $(document).ready ->
$('#createTrain').click ->
patternId = parseInt($(@).attr('data-pattern-id'))
tclass = $('#trainClass').val()
name = $('#trainName').val()
arrives = []
$('input.arrive-time').each ->
sno = parseInt($(@).attr('data-station-no'))
arrives[sno] = parseInt($(@).val())
... |
[
{
"context": "# Utility.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Collection ",
"end": 25,
"score": 0.998561441898346,
"start": 19,
"tag": "NAME",
"value": "Tomasz"
},
{
"context": "# Utility.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Collection of ... | src/Utility.coffee | SachithDassanayaka/sachithdassanayaka.github.io | 0 | # Utility.coffee
# Tomasz (Tomek) Zemla
# tomek@datacratic.com
# Collection of static helper methods of various sorts and other constants.
class Utility
# C O N S T A N T S
# three orthographic view directions (ALL is used when all three need to be considered)
@DIRECTION : { ALL: 0, TOP: 1, FRONT: 2, SI... | 51066 | # Utility.coffee
# <NAME> (<NAME>
# <EMAIL>
# Collection of static helper methods of various sorts and other constants.
class Utility
# C O N S T A N T S
# three orthographic view directions (ALL is used when all three need to be considered)
@DIRECTION : { ALL: 0, TOP: 1, FRONT: 2, SIDE: 3 }
@DEGREE... | true | # Utility.coffee
# PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
# Collection of static helper methods of various sorts and other constants.
class Utility
# C O N S T A N T S
# three orthographic view directions (ALL is used when all three need to be considered)
@DIRECTION : { ALL:... |
[
{
"context": " for dt in mydates\n key = dt.format(\"YYYY-MM-DD HH:mm:ss ZZ\")\n successes = rtdata.filterBy(\"id\", \"s#{k",
"end": 703,
"score": 0.8848140239715576,
"start": 686,
"tag": "KEY",
"value": "MM-DD HH:mm:ss ZZ"
}
] | priv/ember/app/controllers/index.coffee | kathgironpe/exq_ui | 1 | IndexController = Ember.Controller.extend
date: null,
chartOptions: {
bezierCurve : false,
animation: false,
scaleShowLabels: true,
showTooltips: true,
responsive: true,
pointDot : false,
pointHitDetectionRadius : 2
}
dashboard_data: {}
graph_dashboard_data: (->
if @get('date'... | 13315 | IndexController = Ember.Controller.extend
date: null,
chartOptions: {
bezierCurve : false,
animation: false,
scaleShowLabels: true,
showTooltips: true,
responsive: true,
pointDot : false,
pointHitDetectionRadius : 2
}
dashboard_data: {}
graph_dashboard_data: (->
if @get('date'... | true | IndexController = Ember.Controller.extend
date: null,
chartOptions: {
bezierCurve : false,
animation: false,
scaleShowLabels: true,
showTooltips: true,
responsive: true,
pointDot : false,
pointHitDetectionRadius : 2
}
dashboard_data: {}
graph_dashboard_data: (->
if @get('date'... |
[
{
"context": "alert(\"Cry baby cry!\")\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nBrowser = navigator.userAgent\n\nif 'attachEvent'",
"end": 254,
"score": 0.9998881220817566,
"start": 237,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/src/browser.coffee | lovely-io/lovely.io-stl | 2 | #
# This module tries to figure out the current browser type
#
# __NOTE__: it's just a dummy `userAgent` based check
#
# Lovely ['dom'], ($)->
# if $.Browser is 'IE'
# alert("Cry baby cry!")
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
Browser = navigator.userAgent
if 'attachEvent' of document && ... | 124188 | #
# This module tries to figure out the current browser type
#
# __NOTE__: it's just a dummy `userAgent` based check
#
# Lovely ['dom'], ($)->
# if $.Browser is 'IE'
# alert("Cry baby cry!")
#
# Copyright (C) 2011-2012 <NAME>
#
Browser = navigator.userAgent
if 'attachEvent' of document && !/Opera/.te... | true | #
# This module tries to figure out the current browser type
#
# __NOTE__: it's just a dummy `userAgent` based check
#
# Lovely ['dom'], ($)->
# if $.Browser is 'IE'
# alert("Cry baby cry!")
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
Browser = navigator.userAgent
if 'attachEvent' of document ... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9948709011077881,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": " [\"Top\", \"Right\", \"Bottom\",... | src/base/dom.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.dom
@data: (node, key, data) ->
if not node
return undefined
if node.hasOwnPrope... | 21916 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.dom
@data: (node, key, data) ->
if not node
return undefined
if node.hasOwnPrope... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.dom
@data: (node, key, data) ->
if not node
return undefined
if node.hasOwnPrope... |
[
{
"context": "ion ?= (getAppVersion appName) or '1.0'\n\n key = \"#{appName}-#{version}\"\n return @localStorages[key] or= new LocalStora",
"end": 373,
"score": 0.9983363151550293,
"start": 350,
"tag": "KEY",
"value": "\"#{appName}-#{version}\""
}
] | client/app/lib/localstoragecontroller.coffee | ezgikaysi/koding | 1 | getAppVersion = require './util/getAppVersion'
kd = require 'kd'
KDController = kd.Controller
LocalStorage = require './localstorage'
module.exports = class LocalStorageController extends KDController
constructor: ->
super
@localStorages = {}
storage: (appName, version) ->
version ?= (getAppVersion... | 57117 | getAppVersion = require './util/getAppVersion'
kd = require 'kd'
KDController = kd.Controller
LocalStorage = require './localstorage'
module.exports = class LocalStorageController extends KDController
constructor: ->
super
@localStorages = {}
storage: (appName, version) ->
version ?= (getAppVersion... | true | getAppVersion = require './util/getAppVersion'
kd = require 'kd'
KDController = kd.Controller
LocalStorage = require './localstorage'
module.exports = class LocalStorageController extends KDController
constructor: ->
super
@localStorages = {}
storage: (appName, version) ->
version ?= (getAppVersion... |
[
{
"context": "or by Object\n\tsubCollO = parentColl.sub( { name: \"Foo\", age: 42 } )\n\t\n\t# or by Number\n\tsubCollN = paren",
"end": 177,
"score": 0.9978630542755127,
"start": 174,
"tag": "NAME",
"value": "Foo"
},
{
"context": "ubcollection\n\tsubCollA_O = subCollA.sub( { name: \... | _src/js/models/backbone_sub.coffee | mpneuried/iggy | 9 | ###
EXAMPLE USAGE
parentColl = new Backbone.Collection.Sub()
# by Array
subCollA = parentColl.sub( [ 1, 2, 3 ] )
# or by Object
subCollO = parentColl.sub( { name: "Foo", age: 42 } )
# or by Number
subCollN = parentColl.sub( 13 )
# or by Function
subCollF = parentColl.sub( (( model )-> if model.get( "a... | 32743 | ###
EXAMPLE USAGE
parentColl = new Backbone.Collection.Sub()
# by Array
subCollA = parentColl.sub( [ 1, 2, 3 ] )
# or by Object
subCollO = parentColl.sub( { name: "<NAME>", age: 42 } )
# or by Number
subCollN = parentColl.sub( 13 )
# or by Function
subCollF = parentColl.sub( (( model )-> if model.get(... | true | ###
EXAMPLE USAGE
parentColl = new Backbone.Collection.Sub()
# by Array
subCollA = parentColl.sub( [ 1, 2, 3 ] )
# or by Object
subCollO = parentColl.sub( { name: "PI:NAME:<NAME>END_PI", age: 42 } )
# or by Number
subCollN = parentColl.sub( 13 )
# or by Function
subCollF = parentColl.sub( (( model )->... |
[
{
"context": " @weyaAnalytics 'Student'\n\nstudent = new Student \"Varuna\", 26\nstudent.addExam 'asdf', 21\nstudent.addExam 2",
"end": 371,
"score": 0.9997450113296509,
"start": 365,
"tag": "NAME",
"value": "Varuna"
}
] | weya/sample/analytics.coffee | pavanvidusankha/Archiver | 0 | Weya.Base.weyaDebug()
class Student extends Weya.Base
@initialize (name, age) ->
@name = name
@age = age
@exams = []
addExam: (name, score) ->
@exams.push name: name, score: score
getTotal: ->
sum = 0
sum += exam.score for exam in @exams
return sum
getAverage: -> @getTotal() / @exams.length
@wey... | 207323 | Weya.Base.weyaDebug()
class Student extends Weya.Base
@initialize (name, age) ->
@name = name
@age = age
@exams = []
addExam: (name, score) ->
@exams.push name: name, score: score
getTotal: ->
sum = 0
sum += exam.score for exam in @exams
return sum
getAverage: -> @getTotal() / @exams.length
@wey... | true | Weya.Base.weyaDebug()
class Student extends Weya.Base
@initialize (name, age) ->
@name = name
@age = age
@exams = []
addExam: (name, score) ->
@exams.push name: name, score: score
getTotal: ->
sum = 0
sum += exam.score for exam in @exams
return sum
getAverage: -> @getTotal() / @exams.length
@wey... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.