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": "s()\n\t\tawidget = Widget.create()\n\t\tawidget.name = 'whosit'\n\n\t\ttestThing = null\n\t\tawidget.save().then (thing",
"end": 256,
"score": 0.9424707293510437,
"start": 250,
"tag": "NAME",
"value": "whosit"
},
{
"context": " makeCorpus()\n\t\tid = null\n\t\tWidget.cr... | test/basic.coffee | ormojo/ormojo-redux | 0 | { expect } = require 'chai'
ormojo = require 'ormojo'
makeCorpus = require './helpers/makeCorpus'
describe 'basic tests: ', ->
it 'should create, save, find by id', ->
{corpus, Widget} = makeCorpus()
awidget = Widget.create()
awidget.name = 'whosit'
testThing = null
awidget.save().then (thing) ->
thing
... | 177807 | { expect } = require 'chai'
ormojo = require 'ormojo'
makeCorpus = require './helpers/makeCorpus'
describe 'basic tests: ', ->
it 'should create, save, find by id', ->
{corpus, Widget} = makeCorpus()
awidget = Widget.create()
awidget.name = '<NAME>'
testThing = null
awidget.save().then (thing) ->
thing
... | true | { expect } = require 'chai'
ormojo = require 'ormojo'
makeCorpus = require './helpers/makeCorpus'
describe 'basic tests: ', ->
it 'should create, save, find by id', ->
{corpus, Widget} = makeCorpus()
awidget = Widget.create()
awidget.name = 'PI:NAME:<NAME>END_PI'
testThing = null
awidget.save().then (thing... |
[
{
"context": ".\n# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/\n\njQuery ->\n\n\thandle_aja",
"end": 202,
"score": 0.9711675643920898,
"start": 193,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "eScript in this file: http://jashkenas.g... | app/assets/javascripts/events.js.coffee | ryancatalani/berkeley_beacon_cms | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
jQuery ->
handle_ajax_error = (response) ->
try
msg = jQuery.parseJSON(response.res... | 13125 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
jQuery ->
handle_ajax_error = (response) ->
try
msg = jQuery.parseJSON(response.res... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
jQuery ->
handle_ajax_error = (response) ->
try
msg = jQuery.parseJSON(response.res... |
[
{
"context": "://www.generatedata.com/\n\nmodule.exports = [\n \"Matt Smith\",\n \"Matt Smith\",\n \"Deanna Thompson\",\n \"R",
"end": 148,
"score": 0.9998257756233215,
"start": 138,
"tag": "NAME",
"value": "Matt Smith"
},
{
"context": "a.com/\n\nmodule.exports = [\n \... | lib-src/data-customer.coffee | IBM-Cloud/bluemix-car-rally-charge-coupon | 0 | # Licensed under the Apache License. See footer for details.
# data generated from http://www.generatedata.com/
module.exports = [
"Matt Smith",
"Matt Smith",
"Deanna Thompson",
"Randall Saunders",
"Merrill Mcpherson",
"Hayley Mccormick",
"Stacey Bruce",
"Ebony Bradshaw",
"David Wa... | 190564 | # Licensed under the Apache License. See footer for details.
# data generated from http://www.generatedata.com/
module.exports = [
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"<NAME>",
"... | true | # Licensed under the Apache License. See footer for details.
# data generated from http://www.generatedata.com/
module.exports = [
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>... |
[
{
"context": "t now\n\t\t\n\t\t# 0 Prepare the data \n\t\tdata = {name: 'BIOM', children: new Array(unique_taxonomy_comb_onLay",
"end": 69570,
"score": 0.7473811507225037,
"start": 69567,
"tag": "NAME",
"value": "BIO"
}
] | src/taxonomyViz.coffee | iimog/Blackbird | 1 | class taxonomyViz
VizID = 1
LayerID = 2
biom = {}
filename = 'phinch'
layerNameArr = ['kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species']
vizNameArr = ['taxonomyBarChart', 'bubbleChart', 'sankeyDiagram', 'donutPartition', 'attributesColumn']
percentView = false
bubbleView = true
shareFlag =... | 58839 | class taxonomyViz
VizID = 1
LayerID = 2
biom = {}
filename = 'phinch'
layerNameArr = ['kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species']
vizNameArr = ['taxonomyBarChart', 'bubbleChart', 'sankeyDiagram', 'donutPartition', 'attributesColumn']
percentView = false
bubbleView = true
shareFlag =... | true | class taxonomyViz
VizID = 1
LayerID = 2
biom = {}
filename = 'phinch'
layerNameArr = ['kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species']
vizNameArr = ['taxonomyBarChart', 'bubbleChart', 'sankeyDiagram', 'donutPartition', 'attributesColumn']
percentView = false
bubbleView = true
shareFlag =... |
[
{
"context": "# numtel:webcomponent\n# MIT License, ben@latenightsketches.com\n# test/componentRendered.coffee\n\nTinytest.add 'wi",
"end": 62,
"score": 0.9999204277992249,
"start": 37,
"tag": "EMAIL",
"value": "ben@latenightsketches.com"
}
] | test/componentRendered.coffee | numtel/meteor-webcomponent | 24 | # numtel:webcomponent
# MIT License, ben@latenightsketches.com
# test/componentRendered.coffee
Tinytest.add 'window reference created', (test) ->
test.equal typeof window.testElement, 'function'
Tinytest.add 'return value correct', (test) ->
retval = Template.testElement.registerElement 'return-test'
test.equal... | 44568 | # numtel:webcomponent
# MIT License, <EMAIL>
# test/componentRendered.coffee
Tinytest.add 'window reference created', (test) ->
test.equal typeof window.testElement, 'function'
Tinytest.add 'return value correct', (test) ->
retval = Template.testElement.registerElement 'return-test'
test.equal typeof retval, 'f... | true | # numtel:webcomponent
# MIT License, PI:EMAIL:<EMAIL>END_PI
# test/componentRendered.coffee
Tinytest.add 'window reference created', (test) ->
test.equal typeof window.testElement, 'function'
Tinytest.add 'return value correct', (test) ->
retval = Template.testElement.registerElement 'return-test'
test.equal ty... |
[
{
"context": "dispensaries = [\n {\n name: \"Native Roots\"\n address: \"1555 Champa St\"\n coordinates:\n ",
"end": 44,
"score": 0.9995198845863342,
"start": 32,
"tag": "NAME",
"value": "Native Roots"
},
{
"context": " close: \"1900\"\n recommendation:\n who: \"... | source/assets/javascripts/picks/dispensaries.coffee | isabella232/summit-guide-2015 | 1 | dispensaries = [
{
name: "Native Roots"
address: "1555 Champa St"
coordinates:
lat: 39.746395
long: -104.994421
hours:
open: "0900"
close: "1900"
recommendation:
who: "joshua"
why: "What a modern, professional & friendly dispensary should be."
}
{
name: ... | 126286 | dispensaries = [
{
name: "<NAME>"
address: "1555 Champa St"
coordinates:
lat: 39.746395
long: -104.994421
hours:
open: "0900"
close: "1900"
recommendation:
who: "<NAME>"
why: "What a modern, professional & friendly dispensary should be."
}
{
name: "<NAME... | true | dispensaries = [
{
name: "PI:NAME:<NAME>END_PI"
address: "1555 Champa St"
coordinates:
lat: 39.746395
long: -104.994421
hours:
open: "0900"
close: "1900"
recommendation:
who: "PI:NAME:<NAME>END_PI"
why: "What a modern, professional & friendly dispensary should b... |
[
{
"context": ".com'\n port: 119\n secure: no\n username: 'username'\n password: 'password'\n connections: 1\n # ",
"end": 289,
"score": 0.9994592070579529,
"start": 281,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ecure: no\n username: 'username'\n p... | test/config.example.coffee | andykant/nzb | 1 | # This is an example test configuration.
# - Make a copy of this file
# - Customize the server settings
# - Save as config.coffee
module.exports =
# server for normal/insecure connection testing
normal:
host: 'news.example.com'
port: 119
secure: no
username: 'username'
password: 'password'
... | 27625 | # This is an example test configuration.
# - Make a copy of this file
# - Customize the server settings
# - Save as config.coffee
module.exports =
# server for normal/insecure connection testing
normal:
host: 'news.example.com'
port: 119
secure: no
username: 'username'
password: '<PASSWORD>'
... | true | # This is an example test configuration.
# - Make a copy of this file
# - Customize the server settings
# - Save as config.coffee
module.exports =
# server for normal/insecure connection testing
normal:
host: 'news.example.com'
port: 119
secure: no
username: 'username'
password: 'PI:PASSWORD:<P... |
[
{
"context": " \"test\"\n source_password: \"abc123\"\n root_route: true\n seconds",
"end": 185,
"score": 0.9980310797691345,
"start": 179,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": " port: 0\n passwor... | test/helpers/master.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterMode = $src "modes/master"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "abc123"
root_route: true
seconds: 60*60*4
format: "mp3"
module.exports =
STREAMS... | 152010 | MasterMode = $src "modes/master"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "<PASSWORD>"
root_route: true
seconds: 60*60*4
format: "mp3"
module.exports =
STR... | true | MasterMode = $src "modes/master"
uuid = require "node-uuid"
_ = require "underscore"
STREAMS =
mp3:
key: "test"
source_password: "PI:PASSWORD:<PASSWORD>END_PI"
root_route: true
seconds: 60*60*4
format: "mp3"
module... |
[
{
"context": "arf \n hi : 'hi'\n\nclass Hurl extends Barf\n hi : 'ralph'\n\nclass Chuck extends Hurl\n hi : 'UP'\n\nclass Der",
"end": 62,
"score": 0.704736590385437,
"start": 57,
"tag": "NAME",
"value": "ralph"
}
] | node_modules/type-of-is/test/BarfClasses.coffee | imaarthi/blockchain-explorer | 0 | class Barf
hi : 'hi'
class Hurl extends Barf
hi : 'ralph'
class Chuck extends Hurl
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Barf : Barf
Hurl : Hurl
Chuck : Chuck
Derp : Derp
}
| 145977 | class Barf
hi : 'hi'
class Hurl extends Barf
hi : '<NAME>'
class Chuck extends Hurl
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Barf : Barf
Hurl : Hurl
Chuck : Chuck
Derp : Derp
}
| true | class Barf
hi : 'hi'
class Hurl extends Barf
hi : 'PI:NAME:<NAME>END_PI'
class Chuck extends Hurl
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Barf : Barf
Hurl : Hurl
Chuck : Chuck
Derp : Derp
}
|
[
{
"context": "al scope.__log__, [\n ['post', '/', 'username=alice&password=%23%24%25&remember_me=on']\n ['reply",
"end": 3109,
"score": 0.9937637448310852,
"start": 3104,
"tag": "USERNAME",
"value": "alice"
},
{
"context": ", [\n ['post', '/', 'username=alice&password=... | test/nockingbird.coffee | davidchambers/nockingbird | 12 | assert = require 'assert'
nock = require 'nock'
nockingbird = require '..'
dummy = nock 'http://example.com'
class Scope then constructor: -> @__log__ = []
[Object.keys(dummy)..., Object.keys(dummy.get('/'))...].forEach (key) ->
Scope.prototype[key] = (args...) -> @__log__.push [key, args...]; this
describe 'no... | 148449 | assert = require 'assert'
nock = require 'nock'
nockingbird = require '..'
dummy = nock 'http://example.com'
class Scope then constructor: -> @__log__ = []
[Object.keys(dummy)..., Object.keys(dummy.get('/'))...].forEach (key) ->
Scope.prototype[key] = (args...) -> @__log__.push [key, args...]; this
describe 'no... | true | assert = require 'assert'
nock = require 'nock'
nockingbird = require '..'
dummy = nock 'http://example.com'
class Scope then constructor: -> @__log__ = []
[Object.keys(dummy)..., Object.keys(dummy.get('/'))...].forEach (key) ->
Scope.prototype[key] = (args...) -> @__log__.push [key, args...]; this
describe 'no... |
[
{
"context": "s.\n#\n# ```\n# km = new KissmetricsClient(API_KEY, 'evan@example.com')\n# ```\n\nclass KissmetricsClient\n ",
"end": 1638,
"score": 0.8029003739356995,
"start": 1636,
"tag": "EMAIL",
"value": "ev"
},
{
"context": "\n#\n# ```\n# km = new KissmetricsClient(API_KEY, 'eva... | lib/kissmetrics.src.coffee | evansolomon/kissmetrics-js | 1 | # # Kissmetrics JS
# ## Bootstrap
# -------------
# Keep track of what environment we're running in, Node.js or a browser.
NODEJS = module?.exports?
# If we're in Node, require the `https` module for our network requests.
#
# If we're in a browser we'll just use the implicit requests generated by
# `Image().src`. ... | 179399 | # # Kissmetrics JS
# ## Bootstrap
# -------------
# Keep track of what environment we're running in, Node.js or a browser.
NODEJS = module?.exports?
# If we're in Node, require the `https` module for our network requests.
#
# If we're in a browser we'll just use the implicit requests generated by
# `Image().src`. ... | true | # # Kissmetrics JS
# ## Bootstrap
# -------------
# Keep track of what environment we're running in, Node.js or a browser.
NODEJS = module?.exports?
# If we're in Node, require the `https` module for our network requests.
#
# If we're in a browser we'll just use the implicit requests generated by
# `Image().src`. ... |
[
{
"context": " @_accountId = accountId\n super({\n key: \"ContactRankingsFor#{accountId}\",\n version: 1,\n refreshInterval: 60 * ",
"end": 287,
"score": 0.8724351525306702,
"start": 258,
"tag": "KEY",
"value": "ContactRankingsFor#{accountId"
}
] | app/internal_packages/worker-sync/lib/contact-rankings-cache.coffee | immershy/nodemail | 0 |
RefreshingJSONCache = require './refreshing-json-cache'
{NylasAPI} = require 'nylas-exports'
# Stores contact rankings
class ContactRankingsCache extends RefreshingJSONCache
constructor: (accountId) ->
@_accountId = accountId
super({
key: "ContactRankingsFor#{accountId}",
version: 1,
refre... | 27731 |
RefreshingJSONCache = require './refreshing-json-cache'
{NylasAPI} = require 'nylas-exports'
# Stores contact rankings
class ContactRankingsCache extends RefreshingJSONCache
constructor: (accountId) ->
@_accountId = accountId
super({
key: "<KEY>}",
version: 1,
refreshInterval: 60 * 60 * 10... | true |
RefreshingJSONCache = require './refreshing-json-cache'
{NylasAPI} = require 'nylas-exports'
# Stores contact rankings
class ContactRankingsCache extends RefreshingJSONCache
constructor: (accountId) ->
@_accountId = accountId
super({
key: "PI:KEY:<KEY>END_PI}",
version: 1,
refreshInterval:... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998506307601929,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/dotiw/date_helper.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## 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... | 102916 | ############
##
## Copyright 2018 <NAME> & <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 ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless... |
[
{
"context": "counts.createUser\n\t\t\temail: doc.email\n\t\t\tpassword: doc.password\n\t\t\tprofile:\n\t\t\t\tname: doc.name\n\t\t\t\ttype: doc.type",
"end": 154,
"score": 0.9991519451141357,
"start": 142,
"tag": "PASSWORD",
"value": "doc.password"
},
{
"context": "rn {\n\t\t\tuser:... | server/auth.coffee | euajudo/web | 0 | Meteor.methods
newPerson: (doc) ->
Schema.newPerson.newContext().validate doc
id = Accounts.createUser
email: doc.email
password: doc.password
profile:
name: doc.name
type: doc.type or 'Person'
return {
user: Meteor.users.findOne id
password: doc.password
}
newOrganization: (doc) ->... | 48295 | Meteor.methods
newPerson: (doc) ->
Schema.newPerson.newContext().validate doc
id = Accounts.createUser
email: doc.email
password: <PASSWORD>
profile:
name: doc.name
type: doc.type or 'Person'
return {
user: Meteor.users.findOne id
password: <PASSWORD>
}
newOrganization: (doc) ->
S... | true | Meteor.methods
newPerson: (doc) ->
Schema.newPerson.newContext().validate doc
id = Accounts.createUser
email: doc.email
password: PI:PASSWORD:<PASSWORD>END_PI
profile:
name: doc.name
type: doc.type or 'Person'
return {
user: Meteor.users.findOne id
password: PI:PASSWORD:<PASSWORD>END_PI
... |
[
{
"context": "te('set', name: 'Explore this bidness top', key: '0hello', id: 'def') ])\n\n _.last(Backbone.sync.args)",
"end": 2920,
"score": 0.7970967292785645,
"start": 2914,
"tag": "KEY",
"value": "0hello"
}
] | src/desktop/test/models/feature.test.coffee | trkaplan/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
Feature = require '../../models/feature.coffee'
{ fabricate } = require 'antigravity'
describe 'Feature', ->
beforeEach ->
@feature = new Feature fabricate 'feature'
sinon.stub Backbone, 'sync'
afterEach ->
Backbone.sync.r... | 84304 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
Feature = require '../../models/feature.coffee'
{ fabricate } = require 'antigravity'
describe 'Feature', ->
beforeEach ->
@feature = new Feature fabricate 'feature'
sinon.stub Backbone, 'sync'
afterEach ->
Backbone.sync.r... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
Feature = require '../../models/feature.coffee'
{ fabricate } = require 'antigravity'
describe 'Feature', ->
beforeEach ->
@feature = new Feature fabricate 'feature'
sinon.stub Backbone, 'sync'
afterEach ->
Backbone.sync.r... |
[
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to the ",
"end": 31,
"score": 0.9998605847358704,
"start": 20,
"tag": "NAME",
"value": "mike lodato"
},
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to... | src/geometry/scalar.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 ['math/expr', 'geometry/primitive', 'core/errors'], (Expr, Primitive, errors) ->
class Scalar extends Primitive
constructor: (symbol) ->
@var = Expr.var(symbol)
super()
isEqualTo: (other) ->
... | 9980 | # copyright 2015 by <NAME> (<EMAIL>)
# this work is subject to the terms of the MIT license
define ['math/expr', 'geometry/primitive', 'core/errors'], (Expr, Primitive, errors) ->
class Scalar extends Primitive
constructor: (symbol) ->
@var = Expr.var(symbol)
super()
isEqualTo: (other) ->
errors.TypeErr... | 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 ['math/expr', 'geometry/primitive', 'core/errors'], (Expr, Primitive, errors) ->
class Scalar extends Primitive
constructor: (symbol) ->
@var = Expr.var(symbol)
super()
isEqualTo:... |
[
{
"context": "# Droplet Java mode\n#\n# Copyright (c) 2015 Anthony Bau\n# MIT License\n# Updated 2018 Jeremiah Blanchard\n\n",
"end": 54,
"score": 0.9998824000358582,
"start": 43,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": " (c) 2015 Anthony Bau\n# MIT License\n# Updated 2... | src/languages/java.coffee | sanyaade-teachings/spresensedroplet | 0 | # Droplet Java mode
#
# Copyright (c) 2015 Anthony Bau
# MIT License
# Updated 2018 Jeremiah Blanchard
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUT... | 127614 | # Droplet Java mode
#
# Copyright (c) 2015 <NAME>
# MIT License
# Updated 2018 <NAME>
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
k... | true | # Droplet Java mode
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# MIT License
# Updated 2018 PI:NAME:<NAME>END_PI
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = help... |
[
{
"context": "###\nCopyright (c) 2012 Adam Pritchard <pritchard.adam@gmail.com>\n\nMIT License\n\nPermissi",
"end": 37,
"score": 0.9998637437820435,
"start": 23,
"tag": "NAME",
"value": "Adam Pritchard"
},
{
"context": "###\nCopyright (c) 2012 Adam Pritchard <pritchard.adam@gmail.com... | src/index.coffee | Jayesh-Kumar-Yadav/text-file-follower | 24 | ###
Copyright (c) 2012 Adam Pritchard <pritchard.adam@gmail.com>
MIT License
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, c... | 102665 | ###
Copyright (c) 2012 <NAME> <<EMAIL>>
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | true | ###
Copyright (c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
MIT License
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 us... |
[
{
"context": " beforeEach (done) ->\n room_one.user.say 'alice', 'hubot graf set host http://play.grafana.org'\n ",
"end": 1022,
"score": 0.9831740260124207,
"start": 1017,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(room_one.messages).to.eql [\n [ ... | test/per-room-configuration-test.coffee | pinguingman/hubot-grafana | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... | 159674 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... |
[
{
"context": "exports.JPIPReferenced = _make_uid('1.2.840.10008.1.2.4.94', 'JPIPReferenced', 'TransferSyntax')\nexports.JPI",
"end": 4994,
"score": 0.8480303287506104,
"start": 4986,
"tag": "IP_ADDRESS",
"value": "1.2.4.94"
},
{
"context": ".JPIPReferencedDeflate = _make_uid('1.2.840... | src/uids.coffee | alwhiting/node-dicom | 57 | #! /usr/bin/env coffee
vrs = require("./vrs")
##
#
# Dicom UID
#
##
class UID
constructor: (@uid, @name, @typ) ->
##
#
# Transfer Syntax UID
#
##
class TransferSyntax extends UID
endianess: () ->
# only ExplicitVRBigEndian is big endian
if /^ExplicitVRBigEndian/.test(@name) then vrs.BIG_ENDIAN else vrs.L... | 92168 | #! /usr/bin/env coffee
vrs = require("./vrs")
##
#
# Dicom UID
#
##
class UID
constructor: (@uid, @name, @typ) ->
##
#
# Transfer Syntax UID
#
##
class TransferSyntax extends UID
endianess: () ->
# only ExplicitVRBigEndian is big endian
if /^ExplicitVRBigEndian/.test(@name) then vrs.BIG_ENDIAN else vrs.L... | true | #! /usr/bin/env coffee
vrs = require("./vrs")
##
#
# Dicom UID
#
##
class UID
constructor: (@uid, @name, @typ) ->
##
#
# Transfer Syntax UID
#
##
class TransferSyntax extends UID
endianess: () ->
# only ExplicitVRBigEndian is big endian
if /^ExplicitVRBigEndian/.test(@name) then vrs.BIG_ENDIAN else vrs.L... |
[
{
"context": "# this module requires 'Recorder JS' by Matt Diamond (https://github.com/mattdiamond/Recorderjs)\n# you",
"end": 52,
"score": 0.9998934268951416,
"start": 40,
"tag": "NAME",
"value": "Matt Diamond"
},
{
"context": "'Recorder JS' by Matt Diamond (https://github.com/mattd... | AudioAccess.framer/modules/AudioAccess.coffee | ortonomy/AudioAccess-framer | 12 | # this module requires 'Recorder JS' by Matt Diamond (https://github.com/mattdiamond/Recorderjs)
# you can install this in your Framer prototype by running ``npm install recorderjs`` in the folder for your framer prototype. Make sure you have npm installed first.
# you then need to create an 'npm.coffee' module file an... | 146732 | # this module requires 'Recorder JS' by <NAME> (https://github.com/mattdiamond/Recorderjs)
# you can install this in your Framer prototype by running ``npm install recorderjs`` in the folder for your framer prototype. Make sure you have npm installed first.
# you then need to create an 'npm.coffee' module file and requ... | true | # this module requires 'Recorder JS' by PI:NAME:<NAME>END_PI (https://github.com/mattdiamond/Recorderjs)
# you can install this in your Framer prototype by running ``npm install recorderjs`` in the folder for your framer prototype. Make sure you have npm installed first.
# you then need to create an 'npm.coffee' module... |
[
{
"context": ".getBuildConsoleOutput = (job, build) ->\n log = \"Miusov, as a man man of breeding and deilcacy, \" + \n \"c",
"end": 4825,
"score": 0.9995662569999695,
"start": 4819,
"tag": "NAME",
"value": "Miusov"
},
{
"context": "when he reached \" + \n \"the Father Superior's ... | lib/api.coffee | shukal94/jenkins-mock-extended | 0 | dateFormat = require 'dateformat'
APP = 'Jenkins API Mock'
config = require './config'
# http://javadoc.jenkins-ci.org/hudson/model/Result.html
VALID_RESULTS = ['ABORTED', 'FAILURE', 'NOT_BUILT', 'SUCCESS', 'UNSTABLE']
COLORS =
RED: 'red'
BLUE: 'blue'
ABORTED: 'aborted'
DISABLED: 'disabled'
YELLOW: 'yell... | 46196 | dateFormat = require 'dateformat'
APP = 'Jenkins API Mock'
config = require './config'
# http://javadoc.jenkins-ci.org/hudson/model/Result.html
VALID_RESULTS = ['ABORTED', 'FAILURE', 'NOT_BUILT', 'SUCCESS', 'UNSTABLE']
COLORS =
RED: 'red'
BLUE: 'blue'
ABORTED: 'aborted'
DISABLED: 'disabled'
YELLOW: 'yell... | true | dateFormat = require 'dateformat'
APP = 'Jenkins API Mock'
config = require './config'
# http://javadoc.jenkins-ci.org/hudson/model/Result.html
VALID_RESULTS = ['ABORTED', 'FAILURE', 'NOT_BUILT', 'SUCCESS', 'UNSTABLE']
COLORS =
RED: 'red'
BLUE: 'blue'
ABORTED: 'aborted'
DISABLED: 'disabled'
YELLOW: 'yell... |
[
{
"context": "ror'\n payload:\n message: 'Practical Joke'\n\n expect(=> @sut.onEnvelope envelope).to.",
"end": 679,
"score": 0.6959458589553833,
"start": 665,
"tag": "NAME",
"value": "Practical Joke"
}
] | test/input-error-spec.coffee | octoblu/nanocyte-component-input-error | 0 | ReturnValue = require 'nanocyte-component-return-value'
InputError = require '../src/input-error'
describe 'InputError', ->
beforeEach ->
@sut = new InputError
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with an envelope', ->
... | 58268 | ReturnValue = require 'nanocyte-component-return-value'
InputError = require '../src/input-error'
describe 'InputError', ->
beforeEach ->
@sut = new InputError
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with an envelope', ->
... | true | ReturnValue = require 'nanocyte-component-return-value'
InputError = require '../src/input-error'
describe 'InputError', ->
beforeEach ->
@sut = new InputError
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with an envelope', ->
... |
[
{
"context": "{\n name: 'eliot baker'\n contact: [\n {\n url: 'http://www.linked",
"end": 22,
"score": 0.9998668432235718,
"start": 11,
"tag": "NAME",
"value": "eliot baker"
},
{
"context": "t: [\n {\n url: 'http://www.linkedin.com/in/eliotbaker'\n icon: 'linke... | me.cson | ebaker/teacup-folio | 2 | {
name: 'eliot baker'
contact: [
{
url: 'http://www.linkedin.com/in/eliotbaker'
icon: 'linkedin'
}
{
url: 'http://eliotbaker.com/images/resume.pdf'
icon: 'file-pdf'
}
{
url: 'http://github.com/ebaker'
icon: 'github'
}
{
url: 'http://twitter.com/e... | 95603 | {
name: '<NAME>'
contact: [
{
url: 'http://www.linkedin.com/in/eliotbaker'
icon: 'linkedin'
}
{
url: 'http://eliotbaker.com/images/resume.pdf'
icon: 'file-pdf'
}
{
url: 'http://github.com/ebaker'
icon: 'github'
}
{
url: 'http://twitter.com/eliotb... | true | {
name: 'PI:NAME:<NAME>END_PI'
contact: [
{
url: 'http://www.linkedin.com/in/eliotbaker'
icon: 'linkedin'
}
{
url: 'http://eliotbaker.com/images/resume.pdf'
icon: 'file-pdf'
}
{
url: 'http://github.com/ebaker'
icon: 'github'
}
{
url: 'http://twit... |
[
{
"context": "###\n termap - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n The Console Vector Tile re",
"end": 60,
"score": 0.9998704791069031,
"start": 40,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michael... | src/Renderer.coffee | 82ndAirborneDiv/mapsc | 1 | ###
termap - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
The Console Vector Tile renderer - bäm!
###
Promise = require 'bluebird'
x256 = require 'x256'
simplify = require 'simplify-js'
Canvas = require './Canvas'
LabelBuffer = require './LabelBuffer'
Styler = require './Styler'
Tile = requir... | 104726 | ###
termap - Terminal Map Viewer
by <NAME> <<EMAIL>>
The Console Vector Tile renderer - bäm!
###
Promise = require 'bluebird'
x256 = require 'x256'
simplify = require 'simplify-js'
Canvas = require './Canvas'
LabelBuffer = require './LabelBuffer'
Styler = require './Styler'
Tile = require './Tile'
utils = requi... | true | ###
termap - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
The Console Vector Tile renderer - bäm!
###
Promise = require 'bluebird'
x256 = require 'x256'
simplify = require 'simplify-js'
Canvas = require './Canvas'
LabelBuffer = require './LabelBuffer'
Styler = require './Styler'
Tile = r... |
[
{
"context": "ocument).on 'click', '.copy-segment', ->\n key = 'store_#{current_store.slug}_segment_pasteboard'\n $.get $(",
"end": 273,
"score": 0.9960867762565613,
"start": 265,
"tag": "KEY",
"value": "store_#{"
},
{
"context": "ck', '.copy-segment', ->\n key = 'store_#{current_... | app/assets/javascripts/admin/segments.coffee | pschumi/stellar | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'click', '.copy-segment', ->
key = 'store_#{current_store.slug}_segment_pasteboard'
$.get... | 185666 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'click', '.copy-segment', ->
key = '<KEY>current_<KEY>.<KEY>'
$.get $(this).data 'url'
... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'click', '.copy-segment', ->
key = 'PI:KEY:<KEY>END_PIcurrent_PI:KEY:<KEY>END_PI.PI:KEY:<KE... |
[
{
"context": " type: 'numeric'\n }\n\t{\n field: 'filler'\n startPos: 227\n endPos: 232\n ",
"end": 3780,
"score": 0.5950631499290466,
"start": 3778,
"tag": "NAME",
"value": "er"
}
] | coffee/layout/Bradesco/Pagamento/Pagamento2.coffee | s2way/cnab240-nodejs | 10 | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 237
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registro'
... | 57868 | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 237
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registro'
... | true | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 237
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registro'
... |
[
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n#",
"end": 21,
"score": 0.9971763491630554,
"start": 14,
"tag": "USERNAME",
"value": "iTonyYo"
},
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n# Last Update ... | node_modules/node-find-folder/dev/test.coffee | long-grass/mikey | 0 | ###
# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
###
'use strict'
assert = require 'assert'
_ = require 'lodash'
util = require 'gulp-util'
ff = require '../index'
describe 'NODE-FIND-FOLDER', ->
d... | 88461 | ###
# Author: iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
###
'use strict'
assert = require 'assert'
_ = require 'lodash'
util = require 'gulp-util'
ff = require '../index'
describe 'NODE-FIND-FOLDER', ->
describe '#getFolde... | true | ###
# Author: iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
###
'use strict'
assert = require 'assert'
_ = require 'lodash'
util = require 'gulp-util'
ff = require '../index'
describe 'NODE-FIND-FOL... |
[
{
"context": " super\n @primaryKey = @options.primaryKey or \"id\"\n @foreignKey = @options.foreignKey or \"#{Batm",
"end": 347,
"score": 0.804140567779541,
"start": 345,
"tag": "KEY",
"value": "id"
},
{
"context": "an.helpers.underscore(model.get('resourceName'))}_id\"\n\n a... | src/model/associations/has_many_association.coffee | davidcornu/batman | 0 | #= require ./plural_association
class Batman.HasManyAssociation extends Batman.PluralAssociation
associationType: 'hasMany'
indexRelatedModelOn: 'foreignKey'
constructor: (model, label, options) ->
if options?.as
return new Batman.PolymorphicHasManyAssociation(arguments...)
super
@primaryKey =... | 73111 | #= require ./plural_association
class Batman.HasManyAssociation extends Batman.PluralAssociation
associationType: 'hasMany'
indexRelatedModelOn: 'foreignKey'
constructor: (model, label, options) ->
if options?.as
return new Batman.PolymorphicHasManyAssociation(arguments...)
super
@primaryKey =... | true | #= require ./plural_association
class Batman.HasManyAssociation extends Batman.PluralAssociation
associationType: 'hasMany'
indexRelatedModelOn: 'foreignKey'
constructor: (model, label, options) ->
if options?.as
return new Batman.PolymorphicHasManyAssociation(arguments...)
super
@primaryKey =... |
[
{
"context": " docs = [\n {'username':'root', 'password':'toor', 'super': true, 'uid': 0},\n {'username':'",
"end": 662,
"score": 0.999268651008606,
"start": 658,
"tag": "PASSWORD",
"value": "toor"
},
{
"context": "', 'super': true, 'uid': 0},\n {'username':'bill... | test/src/chongo.coffee | basaundi/chongo | 1 | describe "Connection", ->
con = null
beforeEach () ->
sessionStorage.clear()
con = new Chongo.Connection(sessionStorage)
it "should be able to retrieve databases", ->
db = con.db('mydb')
expect(db.constructor).toEqual(Chongo.Database)
describe "Database", ->
db = null
beforeEach () -... | 65846 | describe "Connection", ->
con = null
beforeEach () ->
sessionStorage.clear()
con = new Chongo.Connection(sessionStorage)
it "should be able to retrieve databases", ->
db = con.db('mydb')
expect(db.constructor).toEqual(Chongo.Database)
describe "Database", ->
db = null
beforeEach () -... | true | describe "Connection", ->
con = null
beforeEach () ->
sessionStorage.clear()
con = new Chongo.Connection(sessionStorage)
it "should be able to retrieve databases", ->
db = con.db('mydb')
expect(db.constructor).toEqual(Chongo.Database)
describe "Database", ->
db = null
beforeEach () -... |
[
{
"context": "@fileoverview Prohibit implicit objects.\n# @author Julian Rosse\n###\n'use strict'\n\n# -----------------------------",
"end": 70,
"score": 0.9998723268508911,
"start": 58,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/implicit-object.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prohibit implicit objects.
# @author Julian Rosse
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/implicit-object'
{RuleTes... | 58041 | ###*
# @fileoverview Prohibit implicit objects.
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/implicit-object'
{RuleTester} =... | true | ###*
# @fileoverview Prohibit implicit objects.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/implicit-object'
... |
[
{
"context": "e/v2\"\n dataType: \"jsonp\"\n data:\n key: 'www'\n q: text\n source: from\n target: t",
"end": 187,
"score": 0.9926245212554932,
"start": 184,
"tag": "KEY",
"value": "www"
}
] | app/assets/javascripts/ab_admin/components/google_translate.js.coffee | sktocha/ab_admin | 0 | # direct to Google API
window.translate = (text, element, from, to) ->
$.ajax
url: "https://www.googleapis.com/language/translate/v2"
dataType: "jsonp"
data:
key: 'www'
q: text
source: from
target: to
success: (result) ->
translated = result.data.translations[0].translat... | 162855 | # direct to Google API
window.translate = (text, element, from, to) ->
$.ajax
url: "https://www.googleapis.com/language/translate/v2"
dataType: "jsonp"
data:
key: '<KEY>'
q: text
source: from
target: to
success: (result) ->
translated = result.data.translations[0].transl... | true | # direct to Google API
window.translate = (text, element, from, to) ->
$.ajax
url: "https://www.googleapis.com/language/translate/v2"
dataType: "jsonp"
data:
key: 'PI:KEY:<KEY>END_PI'
q: text
source: from
target: to
success: (result) ->
translated = result.data.translati... |
[
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the ",
"end": 24,
"score": 0.7231982350349426,
"start": 21,
"tag": "USERNAME",
"value": "sob"
},
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the MIT l",
"... | test/pull_request_tuple_test.coffee | sobataro/robotaro | 2 | # Copyright (c) 2014 sobataro <sobatarooo@gmail.com>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
should = require('should')
PullRequestTuple = require('../bin/pull_request_tuple')
describe 'PullRequestTuple', () ->
before () ->
@makeStubPullRequestTuple = (issue, pullReques... | 38964 | # Copyright (c) 2014 sob<NAME> <<EMAIL>>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
should = require('should')
PullRequestTuple = require('../bin/pull_request_tuple')
describe 'PullRequestTuple', () ->
before () ->
@makeStubPullRequestTuple = (issue, pullRequest, comments,... | true | # Copyright (c) 2014 sobPI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
should = require('should')
PullRequestTuple = require('../bin/pull_request_tuple')
describe 'PullRequestTuple', () ->
before () ->
@makeStubPullRequestTuple = (... |
[
{
"context": "f user.authenticate(oldPass)\n user.password = newPass\n user.save (err) ->\n return validatio",
"end": 1496,
"score": 0.710186243057251,
"start": 1489,
"tag": "PASSWORD",
"value": "newPass"
}
] | server/api/user/user.controller.coffee | harryoh/node-dd-shortener | 0 | 'use strict'
User = require './user.model'
passport = require 'passport'
config = require '../../config/environment'
jwt = require 'jsonwebtoken'
validationError = (res, err) ->
res.status(422).json err
###*
Get list of users
restriction: 'admin'
###
exports.index = (req, res) ->
User.find {}, '-salt -hashedPass... | 71113 | 'use strict'
User = require './user.model'
passport = require 'passport'
config = require '../../config/environment'
jwt = require 'jsonwebtoken'
validationError = (res, err) ->
res.status(422).json err
###*
Get list of users
restriction: 'admin'
###
exports.index = (req, res) ->
User.find {}, '-salt -hashedPass... | true | 'use strict'
User = require './user.model'
passport = require 'passport'
config = require '../../config/environment'
jwt = require 'jsonwebtoken'
validationError = (res, err) ->
res.status(422).json err
###*
Get list of users
restriction: 'admin'
###
exports.index = (req, res) ->
User.find {}, '-salt -hashedPass... |
[
{
"context": "e) ->\n if @_options.storage\n keyName = \"#{@_options.name}_#{key}\"\n try @_options.storage.setItem keyName, va",
"end": 9552,
"score": 0.8772894740104675,
"start": 9526,
"tag": "KEY",
"value": "\"#{@_options.name}_#{key}\""
},
{
"context": "y) ->\n... | assets/global/plugins/bower_components/bootstrap-tour/src/coffee/bootstrap-tour.coffee | lallen30/navy | 24 | (($, window) ->
document = window.document
class Tour
constructor: (options) ->
try
storage = window.localStorage
catch
# localStorage may be unavailable due to security settings
storage = false
@_options = $.extend
name: 'tour'
steps: []
contai... | 112856 | (($, window) ->
document = window.document
class Tour
constructor: (options) ->
try
storage = window.localStorage
catch
# localStorage may be unavailable due to security settings
storage = false
@_options = $.extend
name: 'tour'
steps: []
contai... | true | (($, window) ->
document = window.document
class Tour
constructor: (options) ->
try
storage = window.localStorage
catch
# localStorage may be unavailable due to security settings
storage = false
@_options = $.extend
name: 'tour'
steps: []
contai... |
[
{
"context": "eated = (robot, space, project, w) ->\n issueKey = \"#{project.getKey()}-#{w.content.key_id}\"\n issueUrl = \"https://#{space.getId()}.backlog.jp",
"end": 409,
"score": 0.9685074090957642,
"start": 368,
"tag": "KEY",
"value": "\"#{project.getKey()}-#{w.content.key_id}\""
},... | src/commands/assign-command.coffee | faithcreates/hubot-fgb | 1 | {Promise} = require 'es6-promise'
formatChanges = require '../format-changes'
newRequests = require '../review-requests'
newSpace = require '../space'
sendToChat = (robot, { room, user, message }) ->
m = (if user? then "<@#{user}> " else '') + message
e = {}
e.room = room if room?
robot.send e, m
onIssueCreat... | 188715 | {Promise} = require 'es6-promise'
formatChanges = require '../format-changes'
newRequests = require '../review-requests'
newSpace = require '../space'
sendToChat = (robot, { room, user, message }) ->
m = (if user? then "<@#{user}> " else '') + message
e = {}
e.room = room if room?
robot.send e, m
onIssueCreat... | true | {Promise} = require 'es6-promise'
formatChanges = require '../format-changes'
newRequests = require '../review-requests'
newSpace = require '../space'
sendToChat = (robot, { room, user, message }) ->
m = (if user? then "<@#{user}> " else '') + message
e = {}
e.room = room if room?
robot.send e, m
onIssueCreat... |
[
{
"context": "450dfe26-8261-4ecd-822e-2ece073e5ca8'\n token: 'b810ff4dcb79530a34660b08eea575f1c82f3619'\n\n conn = meshblu.createConnection config\n\n con",
"end": 1463,
"score": 0.700262188911438,
"start": 1423,
"tag": "KEY",
"value": "b810ff4dcb79530a34660b08eea575f1c82f3619"
}
] | app/application.coffee | octoblu/tone-site | 1 | guid = ->
s4 = ->
Math.floor((1 + Math.random()) * 0x10000).toString(16).substring 1
s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4()
class SoundDevice
constructor: (options) ->
@type = options.type
@uuid = options.uuid
@synth = @createDevice options
createDevice... | 161624 | guid = ->
s4 = ->
Math.floor((1 + Math.random()) * 0x10000).toString(16).substring 1
s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4()
class SoundDevice
constructor: (options) ->
@type = options.type
@uuid = options.uuid
@synth = @createDevice options
createDevice... | true | guid = ->
s4 = ->
Math.floor((1 + Math.random()) * 0x10000).toString(16).substring 1
s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4()
class SoundDevice
constructor: (options) ->
@type = options.type
@uuid = options.uuid
@synth = @createDevice options
createDevice... |
[
{
"context": "s and limitations under\n# the License.\n#\n# Author: Grant Dickie\n###\n\n# The plugin uses the OAC.Client.StreamingVi",
"end": 872,
"score": 0.999821662902832,
"start": 860,
"tag": "NAME",
"value": "Grant Dickie"
}
] | src/intro.coffee | umd-mith/OACVideoAnnotator | 5 | ###
# OAC Video Annotation Tool v@VERSION
#
# The **OAC Video Annotation Tool** is a MITHgrid application providing annotation capabilities for streaming
# video embedded in a web page.
#
# Date: @DATE
#
# Educational Community License, Version 2.0
#
# Copyright 2011 University of Maryland. Licensed under the Ed... | 147367 | ###
# OAC Video Annotation Tool v@VERSION
#
# The **OAC Video Annotation Tool** is a MITHgrid application providing annotation capabilities for streaming
# video embedded in a web page.
#
# Date: @DATE
#
# Educational Community License, Version 2.0
#
# Copyright 2011 University of Maryland. Licensed under the Ed... | true | ###
# OAC Video Annotation Tool v@VERSION
#
# The **OAC Video Annotation Tool** is a MITHgrid application providing annotation capabilities for streaming
# video embedded in a web page.
#
# Date: @DATE
#
# Educational Community License, Version 2.0
#
# Copyright 2011 University of Maryland. Licensed under the Ed... |
[
{
"context": "\t\t\tunless current_customer\n\t\t\t\tvalues =\n\t\t\t\t\tname: user.name,\n\t\t\t\t\tspace: space_id,\n\t\t\t\t\tmobile: user.mob",
"end": 5581,
"score": 0.7248072624206543,
"start": 5577,
"tag": "NAME",
"value": "user"
},
{
"context": "\t\t\tunless current_invite\n\t... | creator/packages/steedos-weixin/server/routes/mini-sso.coffee | yicone/steedos-platform | 42 | request = Npm.require("request")
getWeiXinSession = (appId, secret, code, cb)->
request.get {
url: "https://api.weixin.qq.com/sns/jscode2session?appid=#{appId}&secret=#{secret}&js_code=#{code}&grant_type=authorization_code"
}, (err, httpResponse, body)->
cb err, httpResponse, body
if err
console.error('uplo... | 213468 | request = Npm.require("request")
getWeiXinSession = (appId, secret, code, cb)->
request.get {
url: "https://api.weixin.qq.com/sns/jscode2session?appid=#{appId}&secret=#{secret}&js_code=#{code}&grant_type=authorization_code"
}, (err, httpResponse, body)->
cb err, httpResponse, body
if err
console.error('uplo... | true | request = Npm.require("request")
getWeiXinSession = (appId, secret, code, cb)->
request.get {
url: "https://api.weixin.qq.com/sns/jscode2session?appid=#{appId}&secret=#{secret}&js_code=#{code}&grant_type=authorization_code"
}, (err, httpResponse, body)->
cb err, httpResponse, body
if err
console.error('uplo... |
[
{
"context": "-> @value\n call: (surname) ->\n \"Hello, #{@name} #{surname}.\"\n\n greeting = Some name: 'Alice'\n",
"end": 169,
"score": 0.8067265152931213,
"start": 162,
"tag": "USERNAME",
"value": "#{@name"
},
{
"context": "#{@name} #{surname}.\"\n\n greeting = S... | spec/main.spec.coffee | ch1c0t/fun | 0 | { fun } = require '@ch1c0t/fun'
describe 'main', ->
it 'works', ->
Some = fun
init:
name: -> @value
call: (surname) ->
"Hello, #{@name} #{surname}."
greeting = Some name: 'Alice'
string = greeting 'Bob'
expect(string).toContain 'Hello, Alice Bob'
| 7832 | { fun } = require '@ch1c0t/fun'
describe 'main', ->
it 'works', ->
Some = fun
init:
name: -> @value
call: (surname) ->
"Hello, #{@name} #{surname}."
greeting = Some name: '<NAME>'
string = greeting '<NAME>'
expect(string).toContain 'Hello, <NAME>'
| true | { fun } = require '@ch1c0t/fun'
describe 'main', ->
it 'works', ->
Some = fun
init:
name: -> @value
call: (surname) ->
"Hello, #{@name} #{surname}."
greeting = Some name: 'PI:NAME:<NAME>END_PI'
string = greeting 'PI:NAME:<NAME>END_PI'
expect(string).toContain 'Hello, PI:... |
[
{
"context": "\n\n jsonData = [\n {\n id: 0\n \"name\": \"CDU\"\n 'GDP (nominal per capita) - Valid Date': 2",
"end": 120,
"score": 0.9892394542694092,
"start": 117,
"tag": "NAME",
"value": "CDU"
},
{
"context": "ency': \"EUR\"\n }\n {\n id: 1\n nam... | test/dummy/app/assets/javascripts/application.js.coffee | bogwro/slickgrid-requirejs-rails | 1 | require [
'jquery'
'jquery.spreadsheet'
'domReady!'
], ($) ->
jsonData = [
{
id: 0
"name": "CDU"
'GDP (nominal per capita) - Valid Date': 2009
'GDP (nominal per capita) - Amount': 30.99
'GDP (nominal per capita) - Currency': "EUR"
}
{
id: 1
name: "Forza Ita... | 153969 | require [
'jquery'
'jquery.spreadsheet'
'domReady!'
], ($) ->
jsonData = [
{
id: 0
"name": "<NAME>"
'GDP (nominal per capita) - Valid Date': 2009
'GDP (nominal per capita) - Amount': 30.99
'GDP (nominal per capita) - Currency': "EUR"
}
{
id: 1
name: "<NAME>... | true | require [
'jquery'
'jquery.spreadsheet'
'domReady!'
], ($) ->
jsonData = [
{
id: 0
"name": "PI:NAME:<NAME>END_PI"
'GDP (nominal per capita) - Valid Date': 2009
'GDP (nominal per capita) - Amount': 30.99
'GDP (nominal per capita) - Currency': "EUR"
}
{
id: 1
... |
[
{
"context": "_password\n data =\n password:\t\t$('#' + p.eid + '_join_password').val()\n else\n ",
"end": 5762,
"score": 0.5728460550308228,
"start": 5762,
"tag": "PASSWORD",
"value": ""
},
{
"context": " password:\t\t$('#' + p.eid + '_join_password').... | static/script/pages/home.coffee | happz/settlers | 1 | window.settlers.templates.recent_events = {}
window.settlers.templates.recent_events.playable = doT.template '
<tr id="{{= it.eid}}">
<td>
{{? it.is_game}}
{{= window.hlib._g("Game")}}
{{?? it.is_game == false}}
{{= window.hlib._g("Tournament")}}
{{?}}
#{{= it.id}} - ... | 193825 | window.settlers.templates.recent_events = {}
window.settlers.templates.recent_events.playable = doT.template '
<tr id="{{= it.eid}}">
<td>
{{? it.is_game}}
{{= window.hlib._g("Game")}}
{{?? it.is_game == false}}
{{= window.hlib._g("Tournament")}}
{{?}}
#{{= it.id}} - ... | true | window.settlers.templates.recent_events = {}
window.settlers.templates.recent_events.playable = doT.template '
<tr id="{{= it.eid}}">
<td>
{{? it.is_game}}
{{= window.hlib._g("Game")}}
{{?? it.is_game == false}}
{{= window.hlib._g("Tournament")}}
{{?}}
#{{= it.id}} - ... |
[
{
"context": "sName=\"form-group\">\n <label for=\"input-username\">Username</label>\n <input id=\"in",
"end": 554,
"score": 0.8902900218963623,
"start": 540,
"tag": "USERNAME",
"value": "input-username"
},
{
"context": "sername</label>\n ... | src/client/pages/login.cjsx | teamcollab/icafe-portal | 0 | 'use strict';
React = require('react');
module.exports = React.createClass({
render: ->
return (
<div className="jumbotron">
<div className="container">
<h1>icafe portal</h1>
<div className="row">
<div className="col-md-8">
<p></p>
coming... | 216410 | 'use strict';
React = require('react');
module.exports = React.createClass({
render: ->
return (
<div className="jumbotron">
<div className="container">
<h1>icafe portal</h1>
<div className="row">
<div className="col-md-8">
<p></p>
coming... | true | 'use strict';
React = require('react');
module.exports = React.createClass({
render: ->
return (
<div className="jumbotron">
<div className="container">
<h1>icafe portal</h1>
<div className="row">
<div className="col-md-8">
<p></p>
coming... |
[
{
"context": "l'\n name: 'emails[]'\n placeholder: 'member' + i + '@example.com')\n false\n\n$(load)\n$(doc",
"end": 2069,
"score": 0.7514623403549194,
"start": 2063,
"tag": "USERNAME",
"value": "member"
},
{
"context": " 'emails[]'\n placeholder: 'member' +... | public/javascripts/teams.coffee | nko2/website | 4 | # unbind infinite scrolling on pjax
$(document).bind 'start.pjax', ->
$('#page.teams ul.teams, #page.teams-entries ul.teams').data('infinitescroll')?.unbind()
load = ->
$('#page.teams, #page.teams-entries').each ->
$('ul.teams').infinitescroll
navSelector: '.more'
nextSelector: '.more a'
item... | 215434 | # unbind infinite scrolling on pjax
$(document).bind 'start.pjax', ->
$('#page.teams ul.teams, #page.teams-entries ul.teams').data('infinitescroll')?.unbind()
load = ->
$('#page.teams, #page.teams-entries').each ->
$('ul.teams').infinitescroll
navSelector: '.more'
nextSelector: '.more a'
item... | true | # unbind infinite scrolling on pjax
$(document).bind 'start.pjax', ->
$('#page.teams ul.teams, #page.teams-entries ul.teams').data('infinitescroll')?.unbind()
load = ->
$('#page.teams, #page.teams-entries').each ->
$('ul.teams').infinitescroll
navSelector: '.more'
nextSelector: '.more a'
item... |
[
{
"context": ":_password\")\n c.username = @get(nerfed + \":username\") if @get(nerfed + \":username\")\n c.email ",
"end": 1013,
"score": 0.5690056681632996,
"start": 1005,
"tag": "USERNAME",
"value": "username"
},
{
"context": "en, \"user\"\n @del nerfed + \... | deps/npm/node_modules/npm-registry-client/test/lib/common.coffee | lxe/io.coffee | 0 | resolve = require("path").resolve
server = require("./server.js")
RC = require("../../")
toNerfDart = require("../../lib/util/nerf-dart.js")
REGISTRY = "http://localhost:" + server.port
module.exports =
port: server.port
registry: REGISTRY
freshClient: freshClient = (config) ->
config = config or {}
confi... | 142142 | resolve = require("path").resolve
server = require("./server.js")
RC = require("../../")
toNerfDart = require("../../lib/util/nerf-dart.js")
REGISTRY = "http://localhost:" + server.port
module.exports =
port: server.port
registry: REGISTRY
freshClient: freshClient = (config) ->
config = config or {}
confi... | true | resolve = require("path").resolve
server = require("./server.js")
RC = require("../../")
toNerfDart = require("../../lib/util/nerf-dart.js")
REGISTRY = "http://localhost:" + server.port
module.exports =
port: server.port
registry: REGISTRY
freshClient: freshClient = (config) ->
config = config or {}
confi... |
[
{
"context": "bj'\n class JSPeople\n constructor: ->\n @name = \"asdf\"\n @age = 23\n @values = [1, 2, 3, 0, 0]\n @ad",
"end": 993,
"score": 0.9538723230361938,
"start": 989,
"tag": "NAME",
"value": "asdf"
},
{
"context": "s.String, length: 5}\n\n p = new Person\n p.setName ... | tests/test_hashtable.coffee | chethiya/lds | 57 | LDS = null
ind = []
Person = p2 = null
test_lds = (n) ->
console.time 'time_lds_add'
map = LDS.HashtableBase n, LDS.Types.Int32
#map.set "key-0", 3
#map.set "key-1", 4
#console.log map.get "key-1"
#return
for i in [0...n]
map.set "key-#{i}", i
#console.log "#{i} -> #{map.get "#{i}"}"
#console.log i, ma... | 93806 | LDS = null
ind = []
Person = p2 = null
test_lds = (n) ->
console.time 'time_lds_add'
map = LDS.HashtableBase n, LDS.Types.Int32
#map.set "key-0", 3
#map.set "key-1", 4
#console.log map.get "key-1"
#return
for i in [0...n]
map.set "key-#{i}", i
#console.log "#{i} -> #{map.get "#{i}"}"
#console.log i, ma... | true | LDS = null
ind = []
Person = p2 = null
test_lds = (n) ->
console.time 'time_lds_add'
map = LDS.HashtableBase n, LDS.Types.Int32
#map.set "key-0", 3
#map.set "key-1", 4
#console.log map.get "key-1"
#return
for i in [0...n]
map.set "key-#{i}", i
#console.log "#{i} -> #{map.get "#{i}"}"
#console.log i, ma... |
[
{
"context": " 17 ]\n 'match': ':-?\\\\|'\n }\n {\n 'title': 'Mr. Green'\n 'image': 'icon_mrgreen.gif'\n 'size': [ 15",
"end": 2618,
"score": 0.936959445476532,
"start": 2609,
"tag": "NAME",
"value": "Mr. Green"
}
] | assets/phpbb_smileys.cson | Xenoveritas/bbcode-preview | 5 | # I haven't actually added any of the images of smileys yet, but this contains
# the information for phpBB 3's default smileys.
'name': 'phpBB 3 Smileys'
'smileys': [
{
'title': 'Very Happy':
'image': 'icon_e_biggrin.gif'
'size': [ 15, 17 ]
'match': ':-?D|:grin:'
}
{
'title': 'Smile':
'ima... | 56188 | # I haven't actually added any of the images of smileys yet, but this contains
# the information for phpBB 3's default smileys.
'name': 'phpBB 3 Smileys'
'smileys': [
{
'title': 'Very Happy':
'image': 'icon_e_biggrin.gif'
'size': [ 15, 17 ]
'match': ':-?D|:grin:'
}
{
'title': 'Smile':
'ima... | true | # I haven't actually added any of the images of smileys yet, but this contains
# the information for phpBB 3's default smileys.
'name': 'phpBB 3 Smileys'
'smileys': [
{
'title': 'Very Happy':
'image': 'icon_e_biggrin.gif'
'size': [ 15, 17 ]
'match': ':-?D|:grin:'
}
{
'title': 'Smile':
'ima... |
[
{
"context": "# sort by 1\n { title: 'First name', value: 'firstName' } # sort by 1\n { title: 'Last name', val",
"end": 1049,
"score": 0.915117621421814,
"start": 1040,
"tag": "NAME",
"value": "firstName"
},
{
"context": "# sort by 1\n { title: 'Last name', valu... | client/admin/lib/views/invitations/pendinginvitationsview.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
remote = require('app/remote').getInstance()
checkFlag = require 'app/util/checkFlag'
InvitedItemView = require './inviteditemview'
KDCustomHTMLView = kd.CustomHTMLView
KodingListController = require 'app/kodinglist/kodi... | 187477 | kd = require 'kd'
remote = require('app/remote').getInstance()
checkFlag = require 'app/util/checkFlag'
InvitedItemView = require './inviteditemview'
KDCustomHTMLView = kd.CustomHTMLView
KodingListController = require 'app/kodinglist/kodi... | true | kd = require 'kd'
remote = require('app/remote').getInstance()
checkFlag = require 'app/util/checkFlag'
InvitedItemView = require './inviteditemview'
KDCustomHTMLView = kd.CustomHTMLView
KodingListController = require 'app/kodinglist/kodi... |
[
{
"context": "oreErrors = => done()\n @sut(@device, [name: 'Rufio'], payload: 'You got old', ignoreErrors, @depende",
"end": 741,
"score": 0.9994397759437561,
"start": 736,
"tag": "NAME",
"value": "Rufio"
},
{
"context": " uuid: @device.uuid\n options: name: 'Rufio'... | test/lib/doMessageHooks-spec.coffee | CESARBR/knot-cloud-source | 4 | describe 'doMessageHooks', ->
beforeEach ->
@device = {}
@messageWebhook = send: sinon.stub()
@MessageWebhook = sinon.spy => @messageWebhook
@dependencies = MessageWebhook: @MessageWebhook
@sut = require '../../lib/doMessageHooks'
describe 'when called with null hook', ->
beforeEach (done)... | 81413 | describe 'doMessageHooks', ->
beforeEach ->
@device = {}
@messageWebhook = send: sinon.stub()
@MessageWebhook = sinon.spy => @messageWebhook
@dependencies = MessageWebhook: @MessageWebhook
@sut = require '../../lib/doMessageHooks'
describe 'when called with null hook', ->
beforeEach (done)... | true | describe 'doMessageHooks', ->
beforeEach ->
@device = {}
@messageWebhook = send: sinon.stub()
@MessageWebhook = sinon.spy => @messageWebhook
@dependencies = MessageWebhook: @MessageWebhook
@sut = require '../../lib/doMessageHooks'
describe 'when called with null hook', ->
beforeEach (done)... |
[
{
"context": " else <MenuItem text={node.name} key={\"folder-#{key}\"}>{node.children.map(external_code_entries)}<",
"end": 14290,
"score": 0.734246551990509,
"start": 14288,
"tag": "KEY",
"value": "#{"
},
{
"context": "opinions about the size of the same DOM.\n # Gabe an... | src/editor/edit-page.cjsx | hiiambhanu/pagedraw | 0 | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
EventEmitter = require 'events'
hopscotch = require 'hopscotch'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Helmet} = require 'react-helmet'
{MenuDivider, Men... | 173269 | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
EventEmitter = require 'events'
hopscotch = require 'hopscotch'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Helmet} = require 'react-helmet'
{MenuDivider, Men... | true | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
EventEmitter = require 'events'
hopscotch = require 'hopscotch'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Helmet} = require 'react-helmet'
{MenuDivider, Men... |
[
{
"context": ".\r\n@todo Remove prior to product publish.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass NodeExitRoute e",
"end": 355,
"score": 0.9998595714569092,
"start": 343,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/NodeExitRoute.coffee | qrefdev/qref | 0 | Route = require('../../Route')
###
**** DEVELOPER ONLY ****
Route used to terminate current node worker pool.
@example Service Methods
Request Format: application/json
Response Format: application/json
GET /services/rpc/node/exit
Causes the node process to terminate.
@todo Remove prior to pro... | 149917 | Route = require('../../Route')
###
**** DEVELOPER ONLY ****
Route used to terminate current node worker pool.
@example Service Methods
Request Format: application/json
Response Format: application/json
GET /services/rpc/node/exit
Causes the node process to terminate.
@todo Remove prior to pro... | true | Route = require('../../Route')
###
**** DEVELOPER ONLY ****
Route used to terminate current node worker pool.
@example Service Methods
Request Format: application/json
Response Format: application/json
GET /services/rpc/node/exit
Causes the node process to terminate.
@todo Remove prior to pro... |
[
{
"context": "itted by default.\n '''\n\n tokens: [ 'PARAM_START' ]\n\n lintToken: (token, tokenApi) ->\n n",
"end": 606,
"score": 0.9095174670219421,
"start": 595,
"tag": "KEY",
"value": "PARAM_START"
}
] | src/rules/no_empty_param_list.coffee | AsaAyers/coffeelint | 0 | module.exports = class NoEmptyParamList
rule:
name: 'no_empty_param_list'
level: 'ignore'
message: 'Empty parameter list is forbidden'
description: '''
This rule prohibits empty parameter lists in function definitions.
<pre>
<code># The empty para... | 57929 | module.exports = class NoEmptyParamList
rule:
name: 'no_empty_param_list'
level: 'ignore'
message: 'Empty parameter list is forbidden'
description: '''
This rule prohibits empty parameter lists in function definitions.
<pre>
<code># The empty para... | true | module.exports = class NoEmptyParamList
rule:
name: 'no_empty_param_list'
level: 'ignore'
message: 'Empty parameter list is forbidden'
description: '''
This rule prohibits empty parameter lists in function definitions.
<pre>
<code># The empty para... |
[
{
"context": "ams:\n username: username\n password: pas",
"end": 1851,
"score": 0.997908353805542,
"start": 1843,
"tag": "USERNAME",
"value": "username"
},
{
"context": "name\n pa... | src/User.coffee | leonardfactory/ng-parse | 1 | angular
.module 'ngParse'
.factory 'NgParseUser', ($q, NgParseObject, NgParseRequest, ngParseRequestConfig, ngParseClassStore, locker) ->
# An NgParseUser is a special NgParseObject which provides special methods
# to handle User persistance on Parse.com
#
# @class NgPar... | 178677 | angular
.module 'ngParse'
.factory 'NgParseUser', ($q, NgParseObject, NgParseRequest, ngParseRequestConfig, ngParseClassStore, locker) ->
# An NgParseUser is a special NgParseObject which provides special methods
# to handle User persistance on Parse.com
#
# @class NgPar... | true | angular
.module 'ngParse'
.factory 'NgParseUser', ($q, NgParseObject, NgParseRequest, ngParseRequestConfig, ngParseClassStore, locker) ->
# An NgParseUser is a special NgParseObject which provides special methods
# to handle User persistance on Parse.com
#
# @class NgPar... |
[
{
"context": "###! jquery-grishania 2.3.42 http://github.com/Se7enSky/jquery-grishania###\n###\n@name jquery-grishania\n@d",
"end": 55,
"score": 0.9995094537734985,
"start": 47,
"tag": "USERNAME",
"value": "Se7enSky"
},
{
"context": "ust another scroll engine.\n@version 2.3.42\n@auth... | jquery-grishania.coffee | SE7ENSKY/jquery-grishania | 0 | ###! jquery-grishania 2.3.42 http://github.com/Se7enSky/jquery-grishania###
###
@name jquery-grishania
@description Meet Grishania – just another scroll engine.
@version 2.3.42
@author Se7enSky studio <info@se7ensky.com>
###
plugin = ($) ->
"use strict"
class Grishania
defaults:
slideAttrName: 'data-slide'
... | 54533 | ###! jquery-grishania 2.3.42 http://github.com/Se7enSky/jquery-grishania###
###
@name jquery-grishania
@description Meet Grishania – just another scroll engine.
@version 2.3.42
@author Se<NAME> <<EMAIL>>
###
plugin = ($) ->
"use strict"
class Grishania
defaults:
slideAttrName: 'data-slide'
addSlideStateToBo... | true | ###! jquery-grishania 2.3.42 http://github.com/Se7enSky/jquery-grishania###
###
@name jquery-grishania
@description Meet Grishania – just another scroll engine.
@version 2.3.42
@author SePI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
plugin = ($) ->
"use strict"
class Grishania
defaults:
slideAttrName: 'dat... |
[
{
"context": "Many Programming Languages!!!\n# Authors:\n# @author Ruben Andre Barreiro\n\n\n# Prints \"Hello World!!!\" to the terminal windo",
"end": 88,
"score": 0.9998798966407776,
"start": 68,
"tag": "NAME",
"value": "Ruben Andre Barreiro"
}
] | programming, markup & markdown languages/CoffeeScript/HelloWorld.coffee | rubenandrebarreiro/writing-and-compiling-hello-world-in-many-ways | 2 | # Hello World in Many Programming Languages!!!
# Authors:
# @author Ruben Andre Barreiro
# Prints "Hello World!!!" to the terminal window
console.log("Hello World!!!");
| 84168 | # Hello World in Many Programming Languages!!!
# Authors:
# @author <NAME>
# Prints "Hello World!!!" to the terminal window
console.log("Hello World!!!");
| true | # Hello World in Many Programming Languages!!!
# Authors:
# @author PI:NAME:<NAME>END_PI
# Prints "Hello World!!!" to the terminal window
console.log("Hello World!!!");
|
[
{
"context": " acosh :\n name: 'acosh'\n asinh :\n name: 'asinh'\n atanh :\n name: 'atanh'\n# cbrt :\n# name: '",
"end": 26616,
"score": 0.6042847037315369,
"start": 26613,
"tag": "NAME",
"value": "inh"
}
] | americano.coffee | h2oai/h2o.js | 26 | # _____ .__
# / _ \ _____ ___________|__| ____ _____ ____ ____
# / /_\ \ / \_/ __ \_ __ \ |/ ___\\__ \ / \ / _ \
# / | \ Y Y \ ___/| | \/ \ \___ / __ \| | ( <_> )
# \____|__ /__|_| /\___ >__| |__|\___ >____ /... | 51215 | # _____ .__
# / _ \ _____ ___________|__| ____ _____ ____ ____
# / /_\ \ / \_/ __ \_ __ \ |/ ___\\__ \ / \ / _ \
# / | \ Y Y \ ___/| | \/ \ \___ / __ \| | ( <_> )
# \____|__ /__|_| /\___ >__| |__|\___ >____ /... | true | # _____ .__
# / _ \ _____ ___________|__| ____ _____ ____ ____
# / /_\ \ / \_/ __ \_ __ \ |/ ___\\__ \ / \ / _ \
# / | \ Y Y \ ___/| | \/ \ \___ / __ \| | ( <_> )
# \____|__ /__|_| /\___ >__| |__|\___ >____ /... |
[
{
"context": " item_id : id\n token : null\n description : desc\n group_",
"end": 5194,
"score": 0.39972132444381714,
"start": 5190,
"tag": "PASSWORD",
"value": "null"
}
] | src/mylist/MyList.coffee | taku-o/node-nicovideo-api | 28 | ###*
# Properties
# attrメソッドを介して取得します。(とりあえずマイリストの場合、属性は一切設定されません。)
# Example: mylist.attr("id") // -> マイリストIDを取得
# - id : number -- マイリストID
# - name : string -- リスト名
# - description : string -- マイリストの説明
# - public : boolean -- 公開マイリストかどうか
# - iconId : numb... | 174372 | ###*
# Properties
# attrメソッドを介して取得します。(とりあえずマイリストの場合、属性は一切設定されません。)
# Example: mylist.attr("id") // -> マイリストIDを取得
# - id : number -- マイリストID
# - name : string -- リスト名
# - description : string -- マイリストの説明
# - public : boolean -- 公開マイリストかどうか
# - iconId : numb... | true | ###*
# Properties
# attrメソッドを介して取得します。(とりあえずマイリストの場合、属性は一切設定されません。)
# Example: mylist.attr("id") // -> マイリストIDを取得
# - id : number -- マイリストID
# - name : string -- リスト名
# - description : string -- マイリストの説明
# - public : boolean -- 公開マイリストかどうか
# - iconId : numb... |
[
{
"context": "###*\n# @author Slayvin / http://slayvin.net\n###\n\n{\n Color,\n LinearFilt",
"end": 22,
"score": 0.9985896944999695,
"start": 15,
"tag": "NAME",
"value": "Slayvin"
}
] | src/reflector.coffee | ndxbxrme/earthbar-viz | 0 | ###*
# @author Slayvin / http://slayvin.net
###
{
Color,
LinearFilter,
Matrix4,
Mesh,
PerspectiveCamera,
Plane,
RGBFormat,
ShaderMaterial,
UniformsUtils,
Vector3,
Vector4,
WebGLRenderTarget
} = require 'three'
_Math = require('three').Math
Reflector = (geometry, options) ->
Mesh.call this, g... | 122446 | ###*
# @author <NAME> / http://slayvin.net
###
{
Color,
LinearFilter,
Matrix4,
Mesh,
PerspectiveCamera,
Plane,
RGBFormat,
ShaderMaterial,
UniformsUtils,
Vector3,
Vector4,
WebGLRenderTarget
} = require 'three'
_Math = require('three').Math
Reflector = (geometry, options) ->
Mesh.call this, ge... | true | ###*
# @author PI:NAME:<NAME>END_PI / http://slayvin.net
###
{
Color,
LinearFilter,
Matrix4,
Mesh,
PerspectiveCamera,
Plane,
RGBFormat,
ShaderMaterial,
UniformsUtils,
Vector3,
Vector4,
WebGLRenderTarget
} = require 'three'
_Math = require('three').Math
Reflector = (geometry, options) ->
Mesh... |
[
{
"context": "ns the core modes of wicked-mode package\n# Author: Zenathark\n# Mantainer: Zenathark\n#\n# Version 0.0.1\n",
"end": 82,
"score": 0.6642577052116394,
"start": 81,
"tag": "NAME",
"value": "Z"
},
{
"context": " the core modes of wicked-mode package\n# Author: Zenathark\n#... | lib/core-modes.coffee | zenathark/wicked-mode | 0 | # core-modes.coffee --- Contains the core modes of wicked-mode package
# Author: Zenathark
# Mantainer: Zenathark
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# On this file, the core modes ar... | 193814 | # core-modes.coffee --- Contains the core modes of wicked-mode package
# Author: <NAME>enathark
# Mantainer: Zenathark
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# On this file, the core mod... | true | # core-modes.coffee --- Contains the core modes of wicked-mode package
# Author: PI:NAME:<NAME>END_PIenathark
# Mantainer: Zenathark
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# On this file... |
[
{
"context": "omponent _.extend {}, @props,\n key: \"ctrl-#{@props.item._id}-#{index}\"\n # a\n # c",
"end": 1682,
"score": 0.7759521007537842,
"start": 1682,
"tag": "KEY",
"value": ""
},
{
"context": "{}, @props,\n key: \"ctrl-#{@props.item._id}-#{index... | src/components/streamItemControls.coffee | brianshaler/kerplunk-stream | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
formatDuration = (duration) ->
if duration < 60
str = "<1m"
else if duration < 60*60
str = Math.round(duration/60)+"m"
else if duration < 60*60*24
str = Math.round(duration/60/60)+"h"
else if duration < 60*60*24*30
str = Math.round(dur... | 39247 | _ = require 'lodash'
React = require 'react'
{DOM} = React
formatDuration = (duration) ->
if duration < 60
str = "<1m"
else if duration < 60*60
str = Math.round(duration/60)+"m"
else if duration < 60*60*24
str = Math.round(duration/60/60)+"h"
else if duration < 60*60*24*30
str = Math.round(dur... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
formatDuration = (duration) ->
if duration < 60
str = "<1m"
else if duration < 60*60
str = Math.round(duration/60)+"m"
else if duration < 60*60*24
str = Math.round(duration/60/60)+"h"
else if duration < 60*60*24*30
str = Math.round(dur... |
[
{
"context": "lue\n @lastSearch = ''\n\n getFilterKey: ->\n 'displayName'\n\n cancel: ->\n @lastSearch = @getFilterQuery(",
"end": 1788,
"score": 0.9175881147384644,
"start": 1777,
"tag": "KEY",
"value": "displayName"
}
] | lib/quick-palette-view.coffee | jordwalke/command-palette | 2 | _ = require 'underscore-plus'
{SelectListView, $, $$} = require 'atom-space-pen-views'
{match} = require 'fuzzaldrin'
fuzzaldrinPlus = require 'fuzzaldrin-plus'
module.exports =
class CommandPaletteView extends SelectListView
@config:
maxItems:
type: 'number'
default: 15
description: "Maximum ... | 168781 | _ = require 'underscore-plus'
{SelectListView, $, $$} = require 'atom-space-pen-views'
{match} = require 'fuzzaldrin'
fuzzaldrinPlus = require 'fuzzaldrin-plus'
module.exports =
class CommandPaletteView extends SelectListView
@config:
maxItems:
type: 'number'
default: 15
description: "Maximum ... | true | _ = require 'underscore-plus'
{SelectListView, $, $$} = require 'atom-space-pen-views'
{match} = require 'fuzzaldrin'
fuzzaldrinPlus = require 'fuzzaldrin-plus'
module.exports =
class CommandPaletteView extends SelectListView
@config:
maxItems:
type: 'number'
default: 15
description: "Maximum ... |
[
{
"context": "cessor.WPClipbaord\n\n @content: {}\n\n @get: (key=\"morphs\") ->\n val = @content[key]\n delete @content",
"end": 68,
"score": 0.7031621932983398,
"start": 63,
"tag": "KEY",
"value": "morph"
},
{
"context": "ontent[key];\n return val\n\n @put : (data, key=\... | app/assets/javascripts/wordprocessor/clipboard.js.coffee | bitstat/paperstencil | 21 | class WordProcessor.WPClipbaord
@content: {}
@get: (key="morphs") ->
val = @content[key]
delete @content[key];
return val
@put : (data, key="morphs") ->
@content[key] = data
@doCut: ->
selection = window.getSelection()
range = selection.getRangeAt(0)
visitor = new WordProcessor... | 223837 | class WordProcessor.WPClipbaord
@content: {}
@get: (key="<KEY>s") ->
val = @content[key]
delete @content[key];
return val
@put : (data, key="<KEY>s") ->
@content[key] = data
@doCut: ->
selection = window.getSelection()
range = selection.getRangeAt(0)
visitor = new WordProcessor... | true | class WordProcessor.WPClipbaord
@content: {}
@get: (key="PI:KEY:<KEY>END_PIs") ->
val = @content[key]
delete @content[key];
return val
@put : (data, key="PI:KEY:<KEY>END_PIs") ->
@content[key] = data
@doCut: ->
selection = window.getSelection()
range = selection.getRangeAt(0)
v... |
[
{
"context": "ayne - responds with not computing\n#\n# Author:\n# Sam Roquitte <samroq@yahoo.com>\n\ntayne = false\nmoretayne = fal",
"end": 419,
"score": 0.9998679161071777,
"start": 407,
"tag": "NAME",
"value": "Sam Roquitte"
},
{
"context": " with not computing\n#\n# Author:\n# ... | src/celery-man.coffee | akitabox/hubot-celery-man | 0 | # Description
# Hubot script for Celery Man
#
# Configuration:
# None
#
# Commands:
# hubot celery man - celery man gif
# hubot 4d3d3d3 - another gif
# hubot add sequence oyster - respond with an image
# hubot oyster smiling - gif
# hubot do we have any new sequences - prompt to see gif
# hubot hat wobb... | 770 | # Description
# Hubot script for Celery Man
#
# Configuration:
# None
#
# Commands:
# hubot celery man - celery man gif
# hubot 4d3d3d3 - another gif
# hubot add sequence oyster - respond with an image
# hubot oyster smiling - gif
# hubot do we have any new sequences - prompt to see gif
# hubot hat wobb... | true | # Description
# Hubot script for Celery Man
#
# Configuration:
# None
#
# Commands:
# hubot celery man - celery man gif
# hubot 4d3d3d3 - another gif
# hubot add sequence oyster - respond with an image
# hubot oyster smiling - gif
# hubot do we have any new sequences - prompt to see gif
# hubot hat wobb... |
[
{
"context": "r, result) ->\n\n test.equal result.realname, 'Lauryn Noel Hill'\n test.done()\n\n label: (test) ->\n\n disco",
"end": 504,
"score": 0.9998214840888977,
"start": 488,
"tag": "NAME",
"value": "Lauryn Noel Hill"
},
{
"context": "ts.results[0]\n test.equ... | test/discogs.coffee | linus/discogs | 22 | discogs = require '../lib/discogs'
discogs = discogs()
exports.discogs =
master: (test) ->
discogs.master '57279', (err, result) ->
test.equal result.title, "The Miseducation Of Lauryn Hill"
test.done()
release: (test) ->
discogs.release '227020', (err, result) ->
test.equal result.... | 76491 | discogs = require '../lib/discogs'
discogs = discogs()
exports.discogs =
master: (test) ->
discogs.master '57279', (err, result) ->
test.equal result.title, "The Miseducation Of Lauryn Hill"
test.done()
release: (test) ->
discogs.release '227020', (err, result) ->
test.equal result.... | true | discogs = require '../lib/discogs'
discogs = discogs()
exports.discogs =
master: (test) ->
discogs.master '57279', (err, result) ->
test.equal result.title, "The Miseducation Of Lauryn Hill"
test.done()
release: (test) ->
discogs.release '227020', (err, result) ->
test.equal result.... |
[
{
"context": "icAuthPassword: process.env.BASIC_AUTH_PASSWORD || false\n basicAuthUsername: process.env.BASIC_AUTH_USERN",
"end": 78,
"score": 0.6591113209724426,
"start": 73,
"tag": "PASSWORD",
"value": "false"
},
{
"context": ": process.env.MONGODB_URL || 'mongodb://analytics:69UH... | config.coffee | cveksitron/cube-evaluator | 0 | module.exports =
basicAuthPassword: process.env.BASIC_AUTH_PASSWORD || false
basicAuthUsername: process.env.BASIC_AUTH_USERNAME || false
enableCollector: process.env.ENABLE_COLLECTOR || 1
enableEvaluator: process.env.ENABLE_EVALUATOR || 1
mongoUrl: process.env.MONGODB_URL || 'mongodb://analytics:69UHwv2SUsu2S... | 54561 | module.exports =
basicAuthPassword: process.env.BASIC_AUTH_PASSWORD || <PASSWORD>
basicAuthUsername: process.env.BASIC_AUTH_USERNAME || false
enableCollector: process.env.ENABLE_COLLECTOR || 1
enableEvaluator: process.env.ENABLE_EVALUATOR || 1
mongoUrl: process.env.MONGODB_URL || 'mongodb://analytics:<EMAIL>:... | true | module.exports =
basicAuthPassword: process.env.BASIC_AUTH_PASSWORD || PI:PASSWORD:<PASSWORD>END_PI
basicAuthUsername: process.env.BASIC_AUTH_USERNAME || false
enableCollector: process.env.ENABLE_COLLECTOR || 1
enableEvaluator: process.env.ENABLE_EVALUATOR || 1
mongoUrl: process.env.MONGODB_URL || 'mongodb://... |
[
{
"context": "currently only in the\n # extended search. (Jyrki Niemi 2016-03-17)\n @ignore_between_tokens_cqp = ",
"end": 588,
"score": 0.934349536895752,
"start": 577,
"tag": "NAME",
"value": "Jyrki Niemi"
},
{
"context": "uschooserchange\"\n # (search_controll... | app/scripts/util.coffee | CSCfi/Kielipankki-korp-frontend | 0 | window.util = {}
class window.CorpusListing
constructor: (corpora) ->
if corpora == settings.corpora
util.checkCorporafolderContents "settings.corporafolders"
util.removeUnavailableCorpora corpora
util.adjustPreselectedCorpora()
@struct = corpora
@corpor... | 58888 | window.util = {}
class window.CorpusListing
constructor: (corpora) ->
if corpora == settings.corpora
util.checkCorporafolderContents "settings.corporafolders"
util.removeUnavailableCorpora corpora
util.adjustPreselectedCorpora()
@struct = corpora
@corpor... | true | window.util = {}
class window.CorpusListing
constructor: (corpora) ->
if corpora == settings.corpora
util.checkCorporafolderContents "settings.corporafolders"
util.removeUnavailableCorpora corpora
util.adjustPreselectedCorpora()
@struct = corpora
@corpor... |
[
{
"context": "}} - {{ city }}</div>'\n data = firstName: 'Fatih', lastName: 'Acet', city: 'Istanbul'\n\n expect(",
"end": 2406,
"score": 0.9997791647911072,
"start": 2401,
"tag": "NAME",
"value": "Fatih"
},
{
"context": "v>'\n data = firstName: 'Fatih', lastName: 'Ac... | src/tests/utils/test_utils.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.utils'
describe 'spark.utils.concatString', ->
it 'should concat strings', ->
str = spark.utils.concatString 'hello', 'world'
expect(str).toBe 'hello world'
it 'should not include undefined and null values while concatenating strings', ->
str... | 103975 | goog = goog or goog = require: ->
goog.require 'spark.utils'
describe 'spark.utils.concatString', ->
it 'should concat strings', ->
str = spark.utils.concatString 'hello', 'world'
expect(str).toBe 'hello world'
it 'should not include undefined and null values while concatenating strings', ->
str... | true | goog = goog or goog = require: ->
goog.require 'spark.utils'
describe 'spark.utils.concatString', ->
it 'should concat strings', ->
str = spark.utils.concatString 'hello', 'world'
expect(str).toBe 'hello world'
it 'should not include undefined and null values while concatenating strings', ->
str... |
[
{
"context": "nt-token-setter')\n\nPARTICIPANT_USER =\n email: 'loopback-with-participant@example.com'\n id: 'loopback-with-admin-participant'\n pa",
"end": 141,
"score": 0.999926745891571,
"start": 104,
"tag": "EMAIL",
"value": "loopback-with-participant@example.com"
},
{
"... | src/server/participant-token-setter.coffee | CureApp/loopback-with-admin | 13 | ____ = require('debug')('loopback-with-admin:participant-token-setter')
PARTICIPANT_USER =
email: 'loopback-with-participant@example.com'
id: 'loopback-with-admin-participant'
password: 'participant-user-password' # No worry, noone can login through REST API.
HUNDRED_YEARS = 60 * 60 * 24 * 365 * 100
DEFA... | 75634 | ____ = require('debug')('loopback-with-admin:participant-token-setter')
PARTICIPANT_USER =
email: '<EMAIL>'
id: 'loopback-with-admin-participant'
password: '<PASSWORD>' # No worry, noone can login through REST API.
HUNDRED_YEARS = 60 * 60 * 24 * 365 * 100
DEFAULT_TOKEN = '<PASSWORD>'
promisify = (fn) ->... | true | ____ = require('debug')('loopback-with-admin:participant-token-setter')
PARTICIPANT_USER =
email: 'PI:EMAIL:<EMAIL>END_PI'
id: 'loopback-with-admin-participant'
password: 'PI:PASSWORD:<PASSWORD>END_PI' # No worry, noone can login through REST API.
HUNDRED_YEARS = 60 * 60 * 24 * 365 * 100
DEFAULT_TOKEN = ... |
[
{
"context": "ng won't trigger the diff\n else if key == 'downloadUrl'\n row.name = 'Content'\n row.val",
"end": 2677,
"score": 0.9976888298988342,
"start": 2666,
"tag": "KEY",
"value": "downloadUrl"
}
] | ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/diffTable.coffee | tumtumtree/tumtumtree | 1 | angular.module('mc.core.ui.diffTable', ['diff-match-patch']).directive 'diffTable', [-> {
restrict: 'E'
replace: true
scope:
elements: '='
templateUrl: 'modelcatalogue/core/ui/diffTable.html'
controller: ['$scope', 'names', 'catalogueElementProperties', 'security', 'enhance', '$filter', '$state', '$q', ... | 214931 | angular.module('mc.core.ui.diffTable', ['diff-match-patch']).directive 'diffTable', [-> {
restrict: 'E'
replace: true
scope:
elements: '='
templateUrl: 'modelcatalogue/core/ui/diffTable.html'
controller: ['$scope', 'names', 'catalogueElementProperties', 'security', 'enhance', '$filter', '$state', '$q', ... | true | angular.module('mc.core.ui.diffTable', ['diff-match-patch']).directive 'diffTable', [-> {
restrict: 'E'
replace: true
scope:
elements: '='
templateUrl: 'modelcatalogue/core/ui/diffTable.html'
controller: ['$scope', 'names', 'catalogueElementProperties', 'security', 'enhance', '$filter', '$state', '$q', ... |
[
{
"context": "@fileoverview Tests for complexity rule.\n# @author Patrick Brosset\n###\n\n'use strict'\n\n#-----------------------------",
"end": 73,
"score": 0.9998735189437866,
"start": 58,
"tag": "NAME",
"value": "Patrick Brosset"
}
] | src/tests/rules/complexity.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for complexity rule.
# @author Patrick Brosset
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/complexity'
{RuleTester... | 30174 | ###*
# @fileoverview Tests for complexity rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/complexity'
{RuleTester} = requi... | true | ###*
# @fileoverview Tests for complexity rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/complexity'
{RuleT... |
[
{
"context": " <input type=\"text\" placeholder=\"coworker@yourcompany.com\" value={@props.newCollaboratorField} onChange={(e",
"end": 24981,
"score": 0.9999175071716309,
"start": 24957,
"tag": "EMAIL",
"value": "coworker@yourcompany.com"
}
] | src/pagedraw/meta-app-new-project.cjsx | mehrdad-shokri/pagedraw | 3 | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
Banner = require './banner'
Projectitem = require './projectitem'
Frameworkpickerradiobutton = require './frameworkpickerradiobutton'
Textbutton = require './textbutton'
Footer = require './footer'
mo... | 43165 | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
Banner = require './banner'
Projectitem = require './projectitem'
Frameworkpickerradiobutton = require './frameworkpickerradiobutton'
Textbutton = require './textbutton'
Footer = require './footer'
mo... | true | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
Banner = require './banner'
Projectitem = require './projectitem'
Frameworkpickerradiobutton = require './frameworkpickerradiobutton'
Textbutton = require './textbutton'
Footer = require './footer'
mo... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Marvin Frachet <marvin@konsserto.com>\n * (c) Jessym Reziga <jess",
"end": 75,
"score": 0.9998914003372192,
"start": 61,
"tag": "NAME",
"value": "Marvin Frachet"
},
{
"context": " the Konsserto package.\n *\n * (c) Ma... | node_modules/konsserto/lib/src/Konsserto/Component/Middleware/Middleware.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Marvin Frachet <marvin@konsserto.com>
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# Middleware
#
# @author Marvin Frachet <m... | 217341 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# Middleware
#
# @author <NAME> <<EMAIL>>
class Middleware
# @param {ServiceCont... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
# Middleware
#
# @author ... |
[
{
"context": "ill look great in our slideshow.\"\n greeting = \"Merry Xmas and happy New Year! //Simon & Mimmi\"\n if poste",
"end": 553,
"score": 0.8767895698547363,
"start": 543,
"tag": "NAME",
"value": "Merry Xmas"
},
{
"context": "\n greeting = \"Merry Xmas and happy New... | node_app/config/environment/index.coffee | simon-johansson/raspberry-pi-twitter-slideshow | 1 | path = require 'path'
_ = require 'lodash'
requiredProcessEnv = (name) ->
unless process.env[name]
throw new Error "You must set the #{name} environment variable"
process.env[name]
# All configurations will extend these options
all =
env: process.env.NODE_ENV
root: path.normalize("#{__dirname}/../..")
i... | 37740 | path = require 'path'
_ = require 'lodash'
requiredProcessEnv = (name) ->
unless process.env[name]
throw new Error "You must set the #{name} environment variable"
process.env[name]
# All configurations will extend these options
all =
env: process.env.NODE_ENV
root: path.normalize("#{__dirname}/../..")
i... | true | path = require 'path'
_ = require 'lodash'
requiredProcessEnv = (name) ->
unless process.env[name]
throw new Error "You must set the #{name} environment variable"
process.env[name]
# All configurations will extend these options
all =
env: process.env.NODE_ENV
root: path.normalize("#{__dirname}/../..")
i... |
[
{
"context": "erview Validate props indentation in JSX\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 82,
"score": 0.9998593330383301,
"start": 65,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/jsx-indent-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate props indentation in JSX
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/r... | 157640 | ###*
# @fileoverview Validate props indentation in JSX
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/jsx-in... | true | ###*
# @fileoverview Validate props indentation in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/li... |
[
{
"context": "discuss: 'Discuss'\n blog: 'Blog'\n authors: 'Authors'\n\n home:\n heading: 'Redirecting to the live S",
"end": 176,
"score": 0.9405606389045715,
"start": 169,
"tag": "NAME",
"value": "Authors"
},
{
"context": "otos.\n '''\n\n gazelleGrants:\n lab... | app/translations/en_us.coffee | zooniverse/Serengeti | 8 | module.exports =
navigation:
home: 'Home'
about: 'About'
classify: 'Classify'
profile: 'Profile'
discuss: 'Discuss'
blog: 'Blog'
authors: 'Authors'
home:
heading: 'Redirecting to the live Snapshot Serengeti...'
content: '''
Hundreds of camera traps in Serengeti National Pa... | 6060 | module.exports =
navigation:
home: 'Home'
about: 'About'
classify: 'Classify'
profile: 'Profile'
discuss: 'Discuss'
blog: 'Blog'
authors: '<NAME>'
home:
heading: 'Redirecting to the live Snapshot Serengeti...'
content: '''
Hundreds of camera traps in Serengeti National Par... | true | module.exports =
navigation:
home: 'Home'
about: 'About'
classify: 'Classify'
profile: 'Profile'
discuss: 'Discuss'
blog: 'Blog'
authors: 'PI:NAME:<NAME>END_PI'
home:
heading: 'Redirecting to the live Snapshot Serengeti...'
content: '''
Hundreds of camera traps in Serenget... |
[
{
"context": "efine 'testcar',\n id: -> id++\n name: 'bmw'\n type: 'car'\n\n afterEach ->\n FactoryGir",
"end": 125,
"score": 0.994536280632019,
"start": 122,
"tag": "NAME",
"value": "bmw"
},
{
"context": ").to.equal 1\n expect( car.name ).to.equal 'bmw'\n\n... | test/unit/helpers/factory_girl_test.coffee | learric/CollegiateRivals | 3 | describe 'FactoryGirl', ->
beforeEach ->
id = 1
FactoryGirl.define 'testcar',
id: -> id++
name: 'bmw'
type: 'car'
afterEach ->
FactoryGirl.undefine 'testcar'
describe '#create', ->
it "creates a object, assigning default attributes and evaluating lazy functions", ->
ca... | 93371 | describe 'FactoryGirl', ->
beforeEach ->
id = 1
FactoryGirl.define 'testcar',
id: -> id++
name: '<NAME>'
type: 'car'
afterEach ->
FactoryGirl.undefine 'testcar'
describe '#create', ->
it "creates a object, assigning default attributes and evaluating lazy functions", ->
... | true | describe 'FactoryGirl', ->
beforeEach ->
id = 1
FactoryGirl.define 'testcar',
id: -> id++
name: 'PI:NAME:<NAME>END_PI'
type: 'car'
afterEach ->
FactoryGirl.undefine 'testcar'
describe '#create', ->
it "creates a object, assigning default attributes and evaluating lazy functi... |
[
{
"context": "am_prob.cal_prob(pw)\n pass_prob[password] = Math.log(prob_pw)\n prob_pq = ngram_prob.cal_prob_to",
"end": 1062,
"score": 0.8827088475227356,
"start": 1054,
"tag": "PASSWORD",
"value": "Math.log"
},
{
"context": "l_prob(pw)\n pass_prob[password] = M... | perfomance_simulations/fsbp/generate_tree.coffee | lucy7li/compromised-credential-checking | 6 | fs = require 'fs';
zlib = require 'zlib';
readline = require 'readline';
NgramProb = require('/home/bijeeta/cloudfare/pwmodels/src/ngram_cs/ngram-prob');
ngram_prob = new NgramProb(filename);
pickle = require './lib/pickle';
Util = require '/home/bijeeta/cloudfare/code_c3s/cloudworker/c3s/interval_tree... | 160274 | fs = require 'fs';
zlib = require 'zlib';
readline = require 'readline';
NgramProb = require('/home/bijeeta/cloudfare/pwmodels/src/ngram_cs/ngram-prob');
ngram_prob = new NgramProb(filename);
pickle = require './lib/pickle';
Util = require '/home/bijeeta/cloudfare/code_c3s/cloudworker/c3s/interval_tree... | true | fs = require 'fs';
zlib = require 'zlib';
readline = require 'readline';
NgramProb = require('/home/bijeeta/cloudfare/pwmodels/src/ngram_cs/ngram-prob');
ngram_prob = new NgramProb(filename);
pickle = require './lib/pickle';
Util = require '/home/bijeeta/cloudfare/code_c3s/cloudworker/c3s/interval_tree... |
[
{
"context": "id: 21\nname: \"Pension Credit\"\ndescription: \"Looking at how to support citizens",
"end": 28,
"score": 0.9998084902763367,
"start": 14,
"tag": "NAME",
"value": "Pension Credit"
},
{
"context": "ision\"\nlocation: \"Leeds\"\nphase: \"discovery\"\nsro: \"Graeme Wallace... | app/data/projects/pension-credit-plus.cson | tsmorgan/dwp-ux-work | 0 | id: 21
name: "Pension Credit"
description: "Looking at how to support citizens who are on a low income but over the state pension age."
theme: "Retirement Provision"
location: "Leeds"
phase: "discovery"
sro: "Graeme Wallace"
service_man: "Lara Sampson"
phase_history:
discovery: [
{
label: "Started"
da... | 5668 | id: 21
name: "<NAME>"
description: "Looking at how to support citizens who are on a low income but over the state pension age."
theme: "Retirement Provision"
location: "Leeds"
phase: "discovery"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
{
label: "Started"
date: "June 2016"
}
... | true | id: 21
name: "PI:NAME:<NAME>END_PI"
description: "Looking at how to support citizens who are on a low income but over the state pension age."
theme: "Retirement Provision"
location: "Leeds"
phase: "discovery"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
phase_history:
discovery: [
{
label... |
[
{
"context": "yStore.getKeyContents(key: privateKey, passphrase: passphrase, callback: (identity) => PGPKeyStore.decryptAttac",
"end": 2914,
"score": 0.9812573790550232,
"start": 2904,
"tag": "PASSWORD",
"value": "passphrase"
}
] | packages/client-app/internal_packages/keybase/lib/decrypt-button.cjsx | cnheider/nylas-mail | 24,369 | {MessageStore, React, ReactDOM, FileDownloadStore, MessageBodyProcessor, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
{remote} = require 'electron'
PassphrasePopover = require './passphrase-popover'
PrivateKeyPopover = require './private-key-popover'
pgp = require 'kbpgp'
_ = require 'unde... | 29031 | {MessageStore, React, ReactDOM, FileDownloadStore, MessageBodyProcessor, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
{remote} = require 'electron'
PassphrasePopover = require './passphrase-popover'
PrivateKeyPopover = require './private-key-popover'
pgp = require 'kbpgp'
_ = require 'unde... | true | {MessageStore, React, ReactDOM, FileDownloadStore, MessageBodyProcessor, Actions} = require 'nylas-exports'
PGPKeyStore = require './pgp-key-store'
{remote} = require 'electron'
PassphrasePopover = require './passphrase-popover'
PrivateKeyPopover = require './private-key-popover'
pgp = require 'kbpgp'
_ = require 'unde... |
[
{
"context": "ogging: true\n logFn: @logFn\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 575,
"score": 0.9979105591773987,
"start": 567,
"tag": "USERNAME",
"value": "username"
},
{
"context": "logFn\n username: 'username'\n pa... | test/integration/create-deployment-and-trigger-webhooks-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
moment = require 'moment'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Database = require '../database'
Server = require '../../src/server'
describe 'Create Deployment and Trigger Webhooks', ->
beforeEach (done) ->
@db = new Databa... | 209746 | request = require 'request'
moment = require 'moment'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Database = require '../database'
Server = require '../../src/server'
describe 'Create Deployment and Trigger Webhooks', ->
beforeEach (done) ->
@db = new Databa... | true | request = require 'request'
moment = require 'moment'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Database = require '../database'
Server = require '../../src/server'
describe 'Create Deployment and Trigger Webhooks', ->
beforeEach (done) ->
@db = new Databa... |
[
{
"context": "}} - a rich text editing jQuery UI widget\n(c) 2011 Henri Bergius, IKS Consortium\nHallo may be freely distributed u",
"end": 85,
"score": 0.9998624920845032,
"start": 72,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/hallo.coffee | GerHobbelt/hallo | 0 | ###
Hallo {{ VERSION }} - a rich text editing jQuery UI widget
(c) 2011 Henri Bergius, IKS Consortium
Hallo may be freely distributed under the MIT license
http://hallojs.org
###
((jQuery) ->
# Hallo provides a jQuery UI widget `hallo`. Usage:
#
# jQuery('p').hallo();
#
# Getting out of the editing state:... | 79271 | ###
Hallo {{ VERSION }} - a rich text editing jQuery UI widget
(c) 2011 <NAME>, IKS Consortium
Hallo may be freely distributed under the MIT license
http://hallojs.org
###
((jQuery) ->
# Hallo provides a jQuery UI widget `hallo`. Usage:
#
# jQuery('p').hallo();
#
# Getting out of the editing state:
#
... | true | ###
Hallo {{ VERSION }} - a rich text editing jQuery UI widget
(c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
Hallo may be freely distributed under the MIT license
http://hallojs.org
###
((jQuery) ->
# Hallo provides a jQuery UI widget `hallo`. Usage:
#
# jQuery('p').hallo();
#
# Getting out of the editing... |
[
{
"context": "verview Tests for no-restricted-modules.\n# @author Christian Schulz\n###\n\n'use strict'\n\n#-----------------------------",
"end": 80,
"score": 0.9996650218963623,
"start": 64,
"tag": "NAME",
"value": "Christian Schulz"
}
] | src/tests/rules/no-restricted-modules.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-restricted-modules.
# @author Christian Schulz
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-restrict... | 127331 | ###*
# @fileoverview Tests for no-restricted-modules.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-restricted-modules... | true | ###*
# @fileoverview Tests for no-restricted-modules.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-rest... |
[
{
"context": "./index\")(robot)\n\n userInfo =\n name: \"atmos\",\n room: \"#my-room\"\n\n user = robot",
"end": 724,
"score": 0.9954584240913391,
"start": 719,
"tag": "NAME",
"value": "atmos"
},
{
"context": " TextMessage(user, \"Hubot deploy-token:set:git... | test/scripts/tokens_test.coffee | alvinvogelzang/hubot-deploy | 310 | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
describe "Setting tokens and such", () ->
user = null
robot = n... | 100593 | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
describe "Setting tokens and such", () ->
user = null
robot = n... | true | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
describe "Setting tokens and such", () ->
user = null
robot = n... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998867511749268,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/r... | src/Coffixi/renderers/canvas/CanvasGraphics.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/canvas/CanvasGraphics', [
'Coffixi/primitives/Graphics'
], (
Graphics
) ->
###*
A set of functions used by the canvas renderer to draw the primitive graphics data
@class CanvasGraphics
###
class CanvasGraphics
##... | 17556 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/canvas/CanvasGraphics', [
'Coffixi/primitives/Graphics'
], (
Graphics
) ->
###*
A set of functions used by the canvas renderer to draw the primitive graphics data
@class CanvasGraphics
###
class CanvasGraphics
###*
... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/canvas/CanvasGraphics', [
'Coffixi/primitives/Graphics'
], (
Graphics
) ->
###*
A set of functions used by the canvas renderer to draw the primitive graphics data
@class CanvasGraphics
###
class CanvasGraph... |
[
{
"context": "# Sigh\n#\n# Author:\n# ivey\n\nmodule.exports = (robot) ->\n robot.hear /\\b",
"end": 22,
"score": 0.9223693609237671,
"start": 22,
"tag": "NAME",
"value": ""
},
{
"context": "# Sigh\n#\n# Author:\n# ivey\n\nmodule.exports = (robot) ->\n robot.hear /\\bsigh",
... | scripts/sigh.coffee | RiotGamesMinions/lefay | 7 | # Sigh
#
# Author:
# ivey
module.exports = (robot) ->
robot.hear /\bsigh\b/i, (msg) ->
msg.send "http://media.tumblr.com/60425e6ef4dc35ac83bd3ef23ef3cc8f/tumblr_inline_misumkoT5k1qz4rgp.gif"
| 172149 | # Sigh
#
# Author:
# <NAME> <NAME>
module.exports = (robot) ->
robot.hear /\bsigh\b/i, (msg) ->
msg.send "http://media.tumblr.com/60425e6ef4dc35ac83bd3ef23ef3cc8f/tumblr_inline_misumkoT5k1qz4rgp.gif"
| true | # Sigh
#
# Author:
# PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /\bsigh\b/i, (msg) ->
msg.send "http://media.tumblr.com/60425e6ef4dc35ac83bd3ef23ef3cc8f/tumblr_inline_misumkoT5k1qz4rgp.gif"
|
[
{
"context": "ly in any sense of the word.\n#\n# Maintainer: Tim Gervascio <tim.gervascio@gmail.com>\n#\n#\nscopeName: 'source.",
"end": 283,
"score": 0.9998956918716431,
"start": 270,
"tag": "NAME",
"value": "Tim Gervascio"
},
{
"context": "of the word.\n#\n# Maintainer:... | language-revbayes/grammars/revbayes.cson | mlandis/revbayes-editor-extras | 1 | #
#
# This is a simple(incomplete) grammar for working with RevBayes in the Atom text
# editor.It should work with any themes that respect the TextMate nomenclature,
# but I haven't tested it extensively in any sense of the word.
#
# Maintainer: Tim Gervascio <tim.gervascio@gmail.com>
#
#
scopeN... | 64549 | #
#
# This is a simple(incomplete) grammar for working with RevBayes in the Atom text
# editor.It should work with any themes that respect the TextMate nomenclature,
# but I haven't tested it extensively in any sense of the word.
#
# Maintainer: <NAME> <<EMAIL>>
#
#
scopeName: 'source.rb'
name: ... | true | #
#
# This is a simple(incomplete) grammar for working with RevBayes in the Atom text
# editor.It should work with any themes that respect the TextMate nomenclature,
# but I haven't tested it extensively in any sense of the word.
#
# Maintainer: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
#
... |
[
{
"context": "\nblog_post.title = 'Dynasaur'\nblog_post.author = 'Someone'\nblog_post.body = 'Dynasaur is a DynamoDB ORM ",
"end": 375,
"score": 0.7174842357635498,
"start": 371,
"tag": "USERNAME",
"value": "Some"
},
{
"context": "g_post.title = 'Dynasaur'\nblog_post.author = 'Someon... | examples/blog_post/save_post.coffee | tglines/dynasaur | 41 | aws_settings = {
credentials: {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
},
region:'us-west-1'
}
Dynasaur = require '../../lib/Dynasaur'
dynasaur = new Dynasaur aws_settings
BlogPost = require('./models/BlogPost')(dynasaur)
blog_post = BlogPost.new(... | 73200 | aws_settings = {
credentials: {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
},
region:'us-west-1'
}
Dynasaur = require '../../lib/Dynasaur'
dynasaur = new Dynasaur aws_settings
BlogPost = require('./models/BlogPost')(dynasaur)
blog_post = BlogPost.new(... | true | aws_settings = {
credentials: {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
},
region:'us-west-1'
}
Dynasaur = require '../../lib/Dynasaur'
dynasaur = new Dynasaur aws_settings
BlogPost = require('./models/BlogPost')(dynasaur)
blog_post = BlogPost.new(... |
[
{
"context": "tScope.$new()\n scope.nbr = 0\n scope.user = 'Christian Bale'\n element = compile(variablePluralTrans)(scope",
"end": 1632,
"score": 0.999887228012085,
"start": 1618,
"tag": "NAME",
"value": "Christian Bale"
},
{
"context": "e.$digest()\n expect(element.html... | test/filter_spec.coffee | Youpinadi/angular-jed | 4 | 'use strict'
describe 'trans filter', ->
compile = $rootScope = i18n = null
simpleTrans = '<span>{{ "This is a test"|trans }}</span>'
variableTrans = '{{ username }} is not a test'
pluralTrans = '<span>{{ "One thing here"|trans:{plural: "A bunch of things here", count: nbr, none: "Nothing to see here"} }}</sp... | 145751 | 'use strict'
describe 'trans filter', ->
compile = $rootScope = i18n = null
simpleTrans = '<span>{{ "This is a test"|trans }}</span>'
variableTrans = '{{ username }} is not a test'
pluralTrans = '<span>{{ "One thing here"|trans:{plural: "A bunch of things here", count: nbr, none: "Nothing to see here"} }}</sp... | true | 'use strict'
describe 'trans filter', ->
compile = $rootScope = i18n = null
simpleTrans = '<span>{{ "This is a test"|trans }}</span>'
variableTrans = '{{ username }} is not a test'
pluralTrans = '<span>{{ "One thing here"|trans:{plural: "A bunch of things here", count: nbr, none: "Nothing to see here"} }}</sp... |
[
{
"context": "ttrs.status)\n stored = fetcher.modelStore.get(@MyModel.name, model.id)\n stored.should.eql attrs\n",
"end": 896,
"score": 0.513924241065979,
"start": 894,
"tag": "USERNAME",
"value": "My"
},
{
"context": "ke sure the store gets updated.\n attrs.name = 'Bobert'... | test/shared/base/model.test.coffee | redbadger/rendr | 0 | require('../../../shared/globals')
should = require('should')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseModel', ->
beforeEach ->
fetcher.modelStore.clear()
class @MyModel extends BaseModel
... | 187130 | require('../../../shared/globals')
should = require('should')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseModel', ->
beforeEach ->
fetcher.modelStore.clear()
class @MyModel extends BaseModel
... | true | require('../../../shared/globals')
should = require('should')
BaseModel = require('../../../shared/base/model')
fetcher = require('../../../shared/fetcher')
modelUtils = require('../../../shared/modelUtils')
describe 'BaseModel', ->
beforeEach ->
fetcher.modelStore.clear()
class @MyModel extends BaseModel
... |
[
{
"context": " @doCreate = () =>\n payload =\n login: @login\n password: @password\n email: @email",
"end": 3524,
"score": 0.9130486249923706,
"start": 3518,
"tag": "USERNAME",
"value": "@login"
},
{
"context": " payload =\n login: @login\n pa... | src/scripts/controllers/dapiControllers.coffee | SecureCloud-biz/droneshare | 41 |
# Common code shared by all MDS controllers
class BaseController
constructor: (@scope) ->
@clear_error()
@clear_success()
# protected method, allow subclasses to set error title bars
add_error: (message) =>
@scope.errors.push(message)
# protected method, allow subclasses to set error title bars
... | 84163 |
# Common code shared by all MDS controllers
class BaseController
constructor: (@scope) ->
@clear_error()
@clear_success()
# protected method, allow subclasses to set error title bars
add_error: (message) =>
@scope.errors.push(message)
# protected method, allow subclasses to set error title bars
... | true |
# Common code shared by all MDS controllers
class BaseController
constructor: (@scope) ->
@clear_error()
@clear_success()
# protected method, allow subclasses to set error title bars
add_error: (message) =>
@scope.errors.push(message)
# protected method, allow subclasses to set error title bars
... |
[
{
"context": " html : \"<div class='user'><div class='surname'>Martin</div> ... <div class='lastname'>Cheese</div></div",
"end": 3130,
"score": 0.9955832362174988,
"start": 3124,
"tag": "NAME",
"value": "Martin"
},
{
"context": "Cheese</div></div>\"\n res : [ { surname: 'M... | specs/parser.spec.coffee | lordnox/nx-scraper | 0 |
describe "Parser", ->
parser = require "../app/parser"
describe "basics", ->
it "should be a function", ->
parser.should.be.a.Function
describe "string parsing", ->
it "should find single tag", ->
fix =
html : "<div>Text</div>"
res : ["Text"]
rules : { selector:... | 107149 |
describe "Parser", ->
parser = require "../app/parser"
describe "basics", ->
it "should be a function", ->
parser.should.be.a.Function
describe "string parsing", ->
it "should find single tag", ->
fix =
html : "<div>Text</div>"
res : ["Text"]
rules : { selector:... | true |
describe "Parser", ->
parser = require "../app/parser"
describe "basics", ->
it "should be a function", ->
parser.should.be.a.Function
describe "string parsing", ->
it "should find single tag", ->
fix =
html : "<div>Text</div>"
res : ["Text"]
rules : { selector:... |
[
{
"context": "ess token for Basic Authentication\naccessToken = \"5e04d069456442ee6b66b2b87d2a28f215789511\"\n\n# Mid-size repo; django-waffle is a Django feat",
"end": 1241,
"score": 0.9993687272071838,
"start": 1201,
"tag": "KEY",
"value": "5e04d069456442ee6b66b2b87d2a28f215789511"
},
... | coffee/simple_graph_answer.coffee | rlucioni/cs171-hw2-lucioni-renzo | 1 | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... | 154973 | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... | true | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... |
[
{
"context": "c/coffee/linq'\n\npersons = [\n { CityID: 1, Name: 'ABC' },\n { CityID: 1, Name: 'EFG' },\n { CityID: 2, ",
"end": 77,
"score": 0.8112990260124207,
"start": 74,
"tag": "NAME",
"value": "ABC"
},
{
"context": "{ CityID: 1, Name: 'EFG' },\n { CityID: 2, Name: 'HIJ' },\... | test/coffee/join.coffee | Lxsbw/linqjs | 0 | Linq = require '../../src/coffee/linq'
persons = [
{ CityID: 1, Name: 'ABC' },
{ CityID: 1, Name: 'EFG' },
{ CityID: 2, Name: 'HIJ' },
{ CityID: 3, Name: 'KLM' },
{ CityID: 3, Name: 'NOP' },
{ CityID: 4, Name: 'QRS' },
{ CityID: 5, Name: 'TUV' }
]
cities = [
{ ID: 1, Name: 'Guangzhou' },
{ ID: 2, Nam... | 65838 | Linq = require '../../src/coffee/linq'
persons = [
{ CityID: 1, Name: '<NAME>' },
{ CityID: 1, Name: 'EFG' },
{ CityID: 2, Name: '<NAME>' },
{ CityID: 3, Name: '<NAME>' },
{ CityID: 3, Name: 'NOP' },
{ CityID: 4, Name: 'QRS' },
{ CityID: 5, Name: 'TUV' }
]
cities = [
{ ID: 1, Name: 'Guangzhou' },
{ I... | true | Linq = require '../../src/coffee/linq'
persons = [
{ CityID: 1, Name: 'PI:NAME:<NAME>END_PI' },
{ CityID: 1, Name: 'EFG' },
{ CityID: 2, Name: 'PI:NAME:<NAME>END_PI' },
{ CityID: 3, Name: 'PI:NAME:<NAME>END_PI' },
{ CityID: 3, Name: 'NOP' },
{ CityID: 4, Name: 'QRS' },
{ CityID: 5, Name: 'TUV' }
]
cities... |
[
{
"context": ", xor_digest }\n\ndesc = \"Set 1, vector# 0\"\nkey = \"8000000000000000000000000000000000000000000000000000000000000000\"\nIV = \"0000000000000000\"\nstream = [\n { \"low\" : 0",
"end": 404,
"score": 0.9994715452194214,
"start": 340,
"tag": "KEY",
"value": "800000000000000000... | test/gen/gen_salsa20_key256.iced | CyberFlameGO/triplesec | 274 | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... | 67926 | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... | true | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... |
[
{
"context": "rs (dot) noreply (dot) github (dot) com\n# @Author: Ben Mz\n\n# Licensed under the Apache License, Version 2.0",
"end": 101,
"score": 0.9997739791870117,
"start": 95,
"tag": "NAME",
"value": "Ben Mz"
},
{
"context": "}, cb) ->\n unless host\n host = '1... | phpsession.coffee | x62en/PHPSession | 2 | # Copyright [2015]
# @Email: x62en (at) users (dot) noreply (dot) github (dot) com
# @Author: Ben Mz
# 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/LICE... | 85324 | # Copyright [2015]
# @Email: x62en (at) users (dot) noreply (dot) github (dot) com
# @Author: <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/LICE... | true | # Copyright [2015]
# @Email: x62en (at) users (dot) noreply (dot) github (dot) com
# @Author: PI:NAME:<NAME>END_PI
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org... |
[
{
"context": "\nfrequency_lists = \n passwords: \"123456,password,12345678,qwerty,123456789,12345,1234,111",
"end": 40,
"score": 0.9993851184844971,
"start": 34,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": "\nfrequency_lists = \n passwords: \"123456,password,12345678,qwert... | src/frequency_lists.coffee | antonnyman/zxcvbn-lite | 1 |
frequency_lists =
passwords: "123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123".split(",")
english_wikipedia: "the,of".split(",")
female_names: "mary,patricia".split(",")
surnames: "smith,johnson".split(",")
us_tv_and_film: "you,i".split(",")
male_names: "j... | 204439 |
frequency_lists =
passwords: "<PASSWORD>,<PASSWORD>,<PASSWORD>,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123".split(",")
english_wikipedia: "the,of".split(",")
female_names: "<NAME>".split(",")
surnames: "<NAME>".split(",")
us_tv_and_film: "you,i".split(",")
male_names: "<NAME>"... | true |
frequency_lists =
passwords: "PI:PASSWORD:<PASSWORD>END_PI,PI:PASSWORD:<PASSWORD>END_PI,PI:PASSWORD:<PASSWORD>END_PI,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123".split(",")
english_wikipedia: "the,of".split(",")
female_names: "PI:NAME:<NAME>END_PI".split(",")
surnames: "PI:NAME:<N... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\nInventoryEdit = requir",
"end": 19,
"score": 0.999862551689148,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/inventory/InventoryTable.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
ObjectCache = require("utilities/ObjectCache.coffee");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
@image_cache = new Objec... | 157894 | # Author: <NAME>
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
ObjectCache = require("utilities/ObjectCache.coffee");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
@image_cache = new ObjectCa... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
InventoryEdit = require("./InventoryEdit.coffee");
Moment = require("moment");
ObjectCache = require("utilities/ObjectCache.coffee");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
@image_cache ... |
[
{
"context": " username: process.env.OS_USERNAME\n apiKey: process.env.OS_PASSWORD\n region: process.env.OS_REGION_NA",
"end": 508,
"score": 0.5858243703842163,
"start": 497,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "process.env.OS_USERNAME\n apiKey:... | lib/cloud-sync.coffee | mtdev2/atom-cloud-sync | 0 | StorageClient = require './storage-client'
syncdesc = require './sync-description'
{SyncDescription, NoDescriptionError, FILENAME: DESCFILE} = syncdesc
{FILENAME: CREDFILE} = require './cloud-credentials'
{File, Directory} = require 'pathwatcher'
syncview = require './sync-view'
path = require 'path'
module.exports =... | 125861 | StorageClient = require './storage-client'
syncdesc = require './sync-description'
{SyncDescription, NoDescriptionError, FILENAME: DESCFILE} = syncdesc
{FILENAME: CREDFILE} = require './cloud-credentials'
{File, Directory} = require 'pathwatcher'
syncview = require './sync-view'
path = require 'path'
module.exports =... | true | StorageClient = require './storage-client'
syncdesc = require './sync-description'
{SyncDescription, NoDescriptionError, FILENAME: DESCFILE} = syncdesc
{FILENAME: CREDFILE} = require './cloud-credentials'
{File, Directory} = require 'pathwatcher'
syncview = require './sync-view'
path = require 'path'
module.exports =... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.7696926593780518,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/utils/arrays.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2017 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 56412 | ###!
Copyright (c) 2002-2017 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... | true | ###!
Copyright (c) 2002-2017 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... |
[
{
"context": "current-password\").val(),\n \"new_password\": $(\"#new-password\").val(),\n \"new_password_confirmation\": $(\"#new",
"end": 146,
"score": 0.9446088671684265,
"start": 134,
"tag": "PASSWORD",
"value": "new-password"
},
{
"context": " e.preventDefault()\n data =... | picoCTF-web/web/coffee/account.coffee | archituiet/picoCTF | 0 | updatePassword = (e) ->
e.preventDefault()
data = {
"current_password": $("#current-password").val(),
"new_password": $("#new-password").val(),
"new_password_confirmation": $("#new-password-confirmation").val()
}
apiCall "POST", "/api/v1/user/update_password", data, 'Authentication', 'UpdatePassword... | 186375 | updatePassword = (e) ->
e.preventDefault()
data = {
"current_password": $("#current-password").val(),
"new_password": $("#<PASSWORD>").val(),
"new_password_confirmation": $("#new-password-confirmation").val()
}
apiCall "POST", "/api/v1/user/update_password", data, 'Authentication', 'UpdatePassword'
... | true | updatePassword = (e) ->
e.preventDefault()
data = {
"current_password": $("#current-password").val(),
"new_password": $("#PI:PASSWORD:<PASSWORD>END_PI").val(),
"new_password_confirmation": $("#new-password-confirmation").val()
}
apiCall "POST", "/api/v1/user/update_password", data, 'Authentication',... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.