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": "___/ /_____/ http://www.field.io\n\n Created by Marcus Wendt on 07/03/2013\n\n###\n\nutil = require './util'\n\nexte",
"end": 251,
"score": 0.9998607635498047,
"start": 239,
"tag": "NAME",
"value": "Marcus Wendt"
}
] | src/fieldkit.coffee | field/FieldKit.js | 3 | ###
_____ __ _____ __ ____
/ ___/ / / /____/ / / / \ FieldKit
/ ___/ /_/ /____/ / /__ / / / (c) 2013, FIELD. All rights reserved.
/_/ /____/ /____/ /_____/ http://www.field.io
Created by Marcus Wendt on 07/03/2013
###
util = require './util'
extend = ->
switch ar... | 75177 | ###
_____ __ _____ __ ____
/ ___/ / / /____/ / / / \ FieldKit
/ ___/ /_/ /____/ / /__ / / / (c) 2013, FIELD. All rights reserved.
/_/ /____/ /____/ /_____/ http://www.field.io
Created by <NAME> on 07/03/2013
###
util = require './util'
extend = ->
switch argument... | true | ###
_____ __ _____ __ ____
/ ___/ / / /____/ / / / \ FieldKit
/ ___/ /_/ /____/ / /__ / / / (c) 2013, FIELD. All rights reserved.
/_/ /____/ /____/ /_____/ http://www.field.io
Created by PI:NAME:<NAME>END_PI on 07/03/2013
###
util = require './util'
extend = ->
s... |
[
{
"context": "tes = [\n {\n path: '/',\n name: 'Hello',\n component: Hello\n },\n {\n ",
"end": 320,
"score": 0.5764933228492737,
"start": 315,
"tag": "NAME",
"value": "Hello"
},
{
"context": " {\n path: 'music',\n name: ... | snippets/router-js.cson | code4mk/atom-vue-router | 1 | '.source.js':
'pack -> vue-router':
'prefix': 'vr-pack',
'body': """
import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Sample from '@/components/Sample'
Vue.use(Router)
const routes = [
{
path: '/',
name: 'Hello... | 121706 | '.source.js':
'pack -> vue-router':
'prefix': 'vr-pack',
'body': """
import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Sample from '@/components/Sample'
Vue.use(Router)
const routes = [
{
path: '/',
name: '<NAME... | true | '.source.js':
'pack -> vue-router':
'prefix': 'vr-pack',
'body': """
import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Sample from '@/components/Sample'
Vue.use(Router)
const routes = [
{
path: '/',
name: 'PI:NA... |
[
{
"context": " {tokens} = grammar.tokenizeLine 'Go on mailto:doc.writer@example.com[] now'\n expect(tokens).toHaveLength 6\n ",
"end": 6432,
"score": 0.9996857643127441,
"start": 6410,
"tag": "EMAIL",
"value": "doc.writer@example.com"
},
{
"context": "doc']\n expect... | spec/inlines/link-grammar-spec.coffee | andrewcarver/atom-language-asciidoc | 45 | describe 'Should tokenizes text link when', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(gra... | 131830 | describe 'Should tokenizes text link when', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(gra... | true | describe 'Should tokenizes text link when', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(gra... |
[
{
"context": "###\nNicholas Clawson -2014\n\nTo be launched by an Atom Task, uses packa",
"end": 20,
"score": 0.9998179078102112,
"start": 4,
"tag": "NAME",
"value": "Nicholas Clawson"
}
] | lib/parse-config-task.coffee | dwelle/atom-grunt-runner | 0 | ###
Nicholas Clawson -2014
To be launched by an Atom Task, uses packages own grunt
installation to parse a projects Gruntfile
###
grunt = require 'grunt'
# attempts to load the gruntfile
module.exports = (path) ->
var fn;
try
fn = require(path);
catch e
if !fn then return {error: "Grun... | 53635 | ###
<NAME> -2014
To be launched by an Atom Task, uses packages own grunt
installation to parse a projects Gruntfile
###
grunt = require 'grunt'
# attempts to load the gruntfile
module.exports = (path) ->
var fn;
try
fn = require(path);
catch e
if !fn then return {error: "Gruntfile not ... | true | ###
PI:NAME:<NAME>END_PI -2014
To be launched by an Atom Task, uses packages own grunt
installation to parse a projects Gruntfile
###
grunt = require 'grunt'
# attempts to load the gruntfile
module.exports = (path) ->
var fn;
try
fn = require(path);
catch e
if !fn then return {error: "... |
[
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global describe, b",
"end": 29,
"score": 0.9998903274536133,
"start": 14,
"tag": "NAME",
"value": "Andrew D.Laptev"
},
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global ... | test/test.order.coffee | agsh/boobst | 16 | ###
* @author Andrew D.Laptev <a.d.laptev@gmail.com>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^test1';
describe 'order', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config')
# bs... | 155667 | ###
* @author <NAME> <<EMAIL>>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^test1';
describe 'order', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config')
# bs.on('debug', console.l... | true | ###
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^test1';
describe 'order', () ->
this.timeout 15000
bs = new BoobstSocket(require './test.config')
... |
[
{
"context": "overview Tests for no-duplicate-imports.\n# @author Simen Bekkhus\n###\n\n'use strict'\n\n#-----------------------------",
"end": 76,
"score": 0.9998548626899719,
"start": 63,
"tag": "NAME",
"value": "Simen Bekkhus"
}
] | src/tests/rules/no-duplicate-imports.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-duplicate-imports.
# @author Simen Bekkhus
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-duplicate-im... | 110439 | ###*
# @fileoverview Tests for no-duplicate-imports.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-duplicate-imports'
... | true | ###*
# @fileoverview Tests for no-duplicate-imports.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupli... |
[
{
"context": "module.exports = \"\"\"\n“Look, Mom, I made a moon!”\nShe holds aloft a crescent bitte",
"end": 31,
"score": 0.9016222953796387,
"start": 28,
"tag": "NAME",
"value": "Mom"
}
] | stories/crescent.coffee | STRd6/zine | 12 | module.exports = """
“Look, Mom, I made a moon!”
She holds aloft a crescent bitten from cereal,
and I feel a tug on my memory:
not the usual familiarity
of the Earth’s twirling, ever-changing little sister
but something deeper, and more intimate,
like a great truth,
a resonance of great importance,
had been uncovered w... | 54612 | module.exports = """
“Look, <NAME>, I made a moon!”
She holds aloft a crescent bitten from cereal,
and I feel a tug on my memory:
not the usual familiarity
of the Earth’s twirling, ever-changing little sister
but something deeper, and more intimate,
like a great truth,
a resonance of great importance,
had been uncovere... | true | module.exports = """
“Look, PI:NAME:<NAME>END_PI, I made a moon!”
She holds aloft a crescent bitten from cereal,
and I feel a tug on my memory:
not the usual familiarity
of the Earth’s twirling, ever-changing little sister
but something deeper, and more intimate,
like a great truth,
a resonance of great importance,
had... |
[
{
"context": "d\n\n list.add_item {title: 'coffee', author: 'john'}\n\n item = list.where(title: 'coffee')[0]\n\n ",
"end": 3836,
"score": 0.9922918677330017,
"start": 3832,
"tag": "NAME",
"value": "john"
},
{
"context": "r [ \n {id:1, name: 'Element 1', author: 'J... | test/components/list/list_test.coffee | pieces-js/pieces-list | 0 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
test_div... | 54670 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
test_div... | true | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
test_div... |
[
{
"context": "anager\n device: {uuid: 'masseuse', token: 'assassin'}\n }\n return # promises\n\n shutItDown: ",
"end": 1126,
"score": 0.9936131834983826,
"start": 1118,
"tag": "PASSWORD",
"value": "assassin"
},
{
"context": "port: 0xcafe\n uuid: 'masseuse'\n ... | test/connect.coffee | octoblu/meshblu-core-protocol-adapter-xmpp | 0 | _ = require 'lodash'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
MeshbluXmpp = require 'meshblu-xmpp'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
con... | 147437 | _ = require 'lodash'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
MeshbluXmpp = require 'meshblu-xmpp'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
con... | true | _ = require 'lodash'
async = require 'async'
UUID = require 'uuid'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
MeshbluXmpp = require 'meshblu-xmpp'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
con... |
[
{
"context": "\"2ZY48XPZ\",\\n \"quantity\": 1,\\n \"name\": \"New socks\",\\n \"price\": 1.25\\n }\\n ]\\n}'",
"end": 1478,
"score": 0.9743990898132324,
"start": 1469,
"tag": "NAME",
"value": "New socks"
}
] | node_modules/api-blueprint-http-formatter/test/fixtures/pairs.coffee | bootstraponline/swagger_poc | 2 | module.exports.post =
request:
method: 'POST'
uri: '/shopping-cart'
headers:
'User-Agent': 'curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5'
'Host': 'curltraceparser.apiary.io'
'Accept': '*/*'
'Content-Type': 'application/json'
'Content-Length':... | 72049 | module.exports.post =
request:
method: 'POST'
uri: '/shopping-cart'
headers:
'User-Agent': 'curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5'
'Host': 'curltraceparser.apiary.io'
'Accept': '*/*'
'Content-Type': 'application/json'
'Content-Length':... | true | module.exports.post =
request:
method: 'POST'
uri: '/shopping-cart'
headers:
'User-Agent': 'curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5'
'Host': 'curltraceparser.apiary.io'
'Accept': '*/*'
'Content-Type': 'application/json'
'Content-Length':... |
[
{
"context": "d: user.id\n email: user.email\n name: user.name\n created_at: (Date.parse(user.created_at) ",
"end": 2767,
"score": 0.8161744475364685,
"start": 2758,
"tag": "NAME",
"value": "user.name"
}
] | app/app.coffee | 2947721120/travis-web | 0 | `import Ember from 'ember'`
`import Resolver from 'ember/resolver'`
`import loadInitializers from 'ember/load-initializers'`
`import config from './config/environment'`
Ember.MODEL_FACTORY_INJECTIONS = true
Ember.LinkView.reopen(
attributeBindings: ['alt']
);
App = Ember.Application.extend(Ember.Evented,
LOG_TRA... | 22715 | `import Ember from 'ember'`
`import Resolver from 'ember/resolver'`
`import loadInitializers from 'ember/load-initializers'`
`import config from './config/environment'`
Ember.MODEL_FACTORY_INJECTIONS = true
Ember.LinkView.reopen(
attributeBindings: ['alt']
);
App = Ember.Application.extend(Ember.Evented,
LOG_TRA... | true | `import Ember from 'ember'`
`import Resolver from 'ember/resolver'`
`import loadInitializers from 'ember/load-initializers'`
`import config from './config/environment'`
Ember.MODEL_FACTORY_INJECTIONS = true
Ember.LinkView.reopen(
attributeBindings: ['alt']
);
App = Ember.Application.extend(Ember.Evented,
LOG_TRA... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7880062460899353,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/lt/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/lt_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 138891 | bcv_parser = require("../../js/lt_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/lt_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "name: Meteor.settings.ldap.bindCn,\n password: Meteor.settings.ldap.bindPassword\n attributes: {\n user",
"end": 433,
"score": 0.7388691902160645,
"start": 418,
"tag": "PASSWORD",
"value": "Meteor.settings"
},
{
"context": "s.ldap.tlsOptions || {}\n ... | ldap_server.coffee | tcrowl/meteor-accounts-ldap | 13 | ActiveDirectory = Npm.require('activedirectory');
Future = Npm.require('fibers/future')
assert = Npm.require('assert')
if !Meteor.settings.ldap
throw new Error('"ldap" not found in Meteor.settings')
class UserQuery
constructor: (username) ->
@ad = ActiveDirectory({
url: Meteor.settings.ldap.url,
... | 69740 | ActiveDirectory = Npm.require('activedirectory');
Future = Npm.require('fibers/future')
assert = Npm.require('assert')
if !Meteor.settings.ldap
throw new Error('"ldap" not found in Meteor.settings')
class UserQuery
constructor: (username) ->
@ad = ActiveDirectory({
url: Meteor.settings.ldap.url,
... | true | ActiveDirectory = Npm.require('activedirectory');
Future = Npm.require('fibers/future')
assert = Npm.require('assert')
if !Meteor.settings.ldap
throw new Error('"ldap" not found in Meteor.settings')
class UserQuery
constructor: (username) ->
@ad = ActiveDirectory({
url: Meteor.settings.ldap.url,
... |
[
{
"context": "\tcredentials =\n\t\temail: env.TEST_EMAIL\n\t\tpassword: env.TEST_PASSWORD\n\t\tusername: env.TEST_USERNAME\n\t\tpaid:\n\t\t\temail: e",
"end": 1041,
"score": 0.9303552508354187,
"start": 1024,
"tag": "PASSWORD",
"value": "env.TEST_PASSWORD"
},
{
"context": "\t\tpaid:\... | tests/integration/setup.coffee | josecoelho/balena-sdk | 1 | Promise = require('bluebird')
_ = require('lodash')
{ chai } = require('mochainon')
chai.use(require('chai-samsam'))
exports.IS_BROWSER = IS_BROWSER = window?
if IS_BROWSER
require('js-polyfills/es6')
getSdk = window.balenaSdk
env = window.__env__
apiUrl = env.TEST_API_URL || 'https://api.balena-cloud.com'
opt... | 158566 | Promise = require('bluebird')
_ = require('lodash')
{ chai } = require('mochainon')
chai.use(require('chai-samsam'))
exports.IS_BROWSER = IS_BROWSER = window?
if IS_BROWSER
require('js-polyfills/es6')
getSdk = window.balenaSdk
env = window.__env__
apiUrl = env.TEST_API_URL || 'https://api.balena-cloud.com'
opt... | true | Promise = require('bluebird')
_ = require('lodash')
{ chai } = require('mochainon')
chai.use(require('chai-samsam'))
exports.IS_BROWSER = IS_BROWSER = window?
if IS_BROWSER
require('js-polyfills/es6')
getSdk = window.balenaSdk
env = window.__env__
apiUrl = env.TEST_API_URL || 'https://api.balena-cloud.com'
opt... |
[
{
"context": "#!\n# api.prabhatkumar.org® [v0.0.1]\n# @author : Prabhat Kumar [http://prabhatkumar.org/]\n# @copyright : Prabhat",
"end": 66,
"score": 0.9998878240585327,
"start": 53,
"tag": "NAME",
"value": "Prabhat Kumar"
},
{
"context": "at Kumar [http://prabhatkumar.org/]\n# @... | source/API/code/assets/coffee/app.coffee | iammachine/prabhatkumar.org | 1 | ###!
# api.prabhatkumar.org® [v0.0.1]
# @author : Prabhat Kumar [http://prabhatkumar.org/]
# @copyright : Prabhat Kumar [http://prabhatkumar.org/]
###
### @Invoking strict mode ###
'use strict'
### API server for api.prabhatkumar.org/ ###
http = require('http')
https = require('https')
fs = require('fs')
express... | 3013 | ###!
# api.prabhatkumar.org® [v0.0.1]
# @author : <NAME> [http://prabhatkumar.org/]
# @copyright : <NAME>abhat Kumar [http://prabhatkumar.org/]
###
### @Invoking strict mode ###
'use strict'
### API server for api.prabhatkumar.org/ ###
http = require('http')
https = require('https')
fs = require('fs')
express = ... | true | ###!
# api.prabhatkumar.org® [v0.0.1]
# @author : PI:NAME:<NAME>END_PI [http://prabhatkumar.org/]
# @copyright : PI:NAME:<NAME>END_PIabhat Kumar [http://prabhatkumar.org/]
###
### @Invoking strict mode ###
'use strict'
### API server for api.prabhatkumar.org/ ###
http = require('http')
https = require('https')
f... |
[
{
"context": " @mail.parse('holaAThotmail.com').should.eql('hola@hotmail.com')\n\n it 'when DOT is before the AT', ->\n @",
"end": 1018,
"score": 0.9989503026008606,
"start": 1002,
"tag": "EMAIL",
"value": "hola@hotmail.com"
},
{
"context": "rse('email emailATdomainDOTcom... | test/test.coffee | Kikobeats/kata_email | 0 | ###
Dependencies
###
MailNormalizer = require '../'
should = require 'should'
###
Test
###
describe 'MailNormalizer :: ', ->
before ->
@mail = new MailNormalizer()
describe 'helpers', ->
it 'count number of character in a string', ->
@mail._countNumberOfCharacter('hola.que.tal', '.').sho... | 116043 | ###
Dependencies
###
MailNormalizer = require '../'
should = require 'should'
###
Test
###
describe 'MailNormalizer :: ', ->
before ->
@mail = new MailNormalizer()
describe 'helpers', ->
it 'count number of character in a string', ->
@mail._countNumberOfCharacter('hola.que.tal', '.').sho... | true | ###
Dependencies
###
MailNormalizer = require '../'
should = require 'should'
###
Test
###
describe 'MailNormalizer :: ', ->
before ->
@mail = new MailNormalizer()
describe 'helpers', ->
it 'count number of character in a string', ->
@mail._countNumberOfCharacter('hola.que.tal', '.').sho... |
[
{
"context": "tle : title\n body : body\n author : author\n siteName: @config.siteName\n siteURL : ",
"end": 15098,
"score": 0.5072568655014038,
"start": 15092,
"tag": "NAME",
"value": "author"
}
] | server.coffee | iizukanao/bitter | 4 | fs = require 'fs'
path = require 'path'
http = require 'http'
events = require 'events'
ejs = require 'ejs'
marked = require 'marked'
compression = require 'compression'
responseTime = require 'response-time'
express = require 'express'
# Markdown formatting options
marked.setOptions
... | 152919 | fs = require 'fs'
path = require 'path'
http = require 'http'
events = require 'events'
ejs = require 'ejs'
marked = require 'marked'
compression = require 'compression'
responseTime = require 'response-time'
express = require 'express'
# Markdown formatting options
marked.setOptions
... | true | fs = require 'fs'
path = require 'path'
http = require 'http'
events = require 'events'
ejs = require 'ejs'
marked = require 'marked'
compression = require 'compression'
responseTime = require 'response-time'
express = require 'express'
# Markdown formatting options
marked.setOptions
... |
[
{
"context": "iv class=\"dashboard__container\">\n <div id=\"macy\"\n infinite-scroll=\"$ctrl.posts.next",
"end": 1175,
"score": 0.7299165725708008,
"start": 1174,
"tag": "NAME",
"value": "m"
},
{
"context": "v class=\"dashboard__container\">\n <div id=\"macy... | src/app/public/front/coffee/components/dashboard/dashboard.coffee | eiurur/Kawpaa | 3 | angular.module "myApp.directives"
.directive 'dashboard', ->
restrict: 'E'
scope: {}
template: """
<div class="dashboard__controls">
<div class="selectable-buttons">
<span class="button button--active" ng-click="$ctrl.changeFilter('danbooru.donmai.us')" data-hostname="danbooru.donm... | 39267 | angular.module "myApp.directives"
.directive 'dashboard', ->
restrict: 'E'
scope: {}
template: """
<div class="dashboard__controls">
<div class="selectable-buttons">
<span class="button button--active" ng-click="$ctrl.changeFilter('danbooru.donmai.us')" data-hostname="danbooru.donm... | true | angular.module "myApp.directives"
.directive 'dashboard', ->
restrict: 'E'
scope: {}
template: """
<div class="dashboard__controls">
<div class="selectable-buttons">
<span class="button button--active" ng-click="$ctrl.changeFilter('danbooru.donmai.us')" data-hostname="danbooru.donm... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999133348464966,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/admin/contest.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest/user-entry-list'
reactTurbolinks.registerPersistent 'admin-contest-user-entry-list', UserEntryList, tru... | 110266 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest/user-entry-list'
reactTurbolinks.registerPersistent 'admin-contest-user-entry-list', UserEntryList, true, (el)... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest/user-entry-list'
reactTurbolinks.registerPersistent 'admin-contest-user-entry-list', UserEntryL... |
[
{
"context": "ctive - Lists all active torrents.\n#\n# Author:\n# hbc <me@hbc.rocks>\n\nTransmission = require 'transmiss",
"end": 683,
"score": 0.9997026920318604,
"start": 680,
"tag": "USERNAME",
"value": "hbc"
},
{
"context": "- Lists all active torrents.\n#\n# Author:\n# hbc ... | src/transmission.coffee | bcho/hubot-transmission | 0 | # Description:
# Interacting with Transmission with hubot.
#
# Configuration:
# TRANSMISSION_USER - Username for Transmission connection
# TRANSMISSION_PASS - Password for Transmission connection
# TRANSMISSION_HOST - Transmission connection host
# TRANSMISSION_PORT - Transmission connection port
# TRANSMIS... | 80984 | # Description:
# Interacting with Transmission with hubot.
#
# Configuration:
# TRANSMISSION_USER - Username for Transmission connection
# TRANSMISSION_PASS - Password for Transmission connection
# TRANSMISSION_HOST - Transmission connection host
# TRANSMISSION_PORT - Transmission connection port
# TRANSMIS... | true | # Description:
# Interacting with Transmission with hubot.
#
# Configuration:
# TRANSMISSION_USER - Username for Transmission connection
# TRANSMISSION_PASS - Password for Transmission connection
# TRANSMISSION_HOST - Transmission connection host
# TRANSMISSION_PORT - Transmission connection port
# TRANSMIS... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998872876167297,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/wiki/main.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 133084 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "odel = new DotLedger.Models.Account\n name: 'Some Account'\n type: 'Savings'\n number: '123'\n ",
"end": 197,
"score": 0.9974921345710754,
"start": 185,
"tag": "NAME",
"value": "Some Account"
}
] | spec/javascripts/dot_ledger/views/accounts/show_spec.js.coffee | timobleeker/dotledger | 0 | $.plot = $.noop
describe "DotLedger.Views.Accounts.Show", ->
createView = ->
balances = new DotLedger.Collections.Balances
model = new DotLedger.Models.Account
name: 'Some Account'
type: 'Savings'
number: '123'
id: 1
unsorted_transaction_count: 5
sorted_transaction_count:... | 96030 | $.plot = $.noop
describe "DotLedger.Views.Accounts.Show", ->
createView = ->
balances = new DotLedger.Collections.Balances
model = new DotLedger.Models.Account
name: '<NAME>'
type: 'Savings'
number: '123'
id: 1
unsorted_transaction_count: 5
sorted_transaction_count: 10
... | true | $.plot = $.noop
describe "DotLedger.Views.Accounts.Show", ->
createView = ->
balances = new DotLedger.Collections.Balances
model = new DotLedger.Models.Account
name: 'PI:NAME:<NAME>END_PI'
type: 'Savings'
number: '123'
id: 1
unsorted_transaction_count: 5
sorted_transactio... |
[
{
"context": "S_HOST)\n\npubnub = PUBNUB.init(\n subscribe_key : 'demo' # you should change this!\n publish_key : 'dem",
"end": 682,
"score": 0.9012205004692078,
"start": 678,
"tag": "KEY",
"value": "demo"
},
{
"context": "emo' # you should change this!\n publish_key : 'demo' ... | src/pubnub-redis-listen-proxy.coffee | sunnygleason/pubnub-persistence-redis | 2 | #
# PubNub Persistence: node.js replication proxy listener
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-listen-proxy.coffee CHANNEL_NAME REDIS_ADDR
# - where CHANNEL_NAME is the Redis channel to receive updates
# - where REDIS_ADDR is the host:port
#
P... | 109762 | #
# PubNub Persistence: node.js replication proxy listener
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-listen-proxy.coffee CHANNEL_NAME REDIS_ADDR
# - where CHANNEL_NAME is the Redis channel to receive updates
# - where REDIS_ADDR is the host:port
#
P... | true | #
# PubNub Persistence: node.js replication proxy listener
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-listen-proxy.coffee CHANNEL_NAME REDIS_ADDR
# - where CHANNEL_NAME is the Redis channel to receive updates
# - where REDIS_ADDR is the host:port
#
P... |
[
{
"context": "\n summoner: Mithril #the Greater Power\n name: 'Mithril' # his name\n Component: class Component\n c",
"end": 298,
"score": 0.9932987093925476,
"start": 291,
"tag": "NAME",
"value": "Mithril"
}
] | src/halvalla-mithril.coffee | jahbini/halvalla | 2 | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: Mithril #the Greater Power
name: 'Mithril' # his name
Comp... | 67471 | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: Mithril #the Greater Power
name: '<NAME>' # his name
Compo... | true | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: Mithril #the Greater Power
name: 'PI:NAME:<NAME>END_PI' # hi... |
[
{
"context": "ModifierCostEqualGeneralHealth\"\n\n\t@modifierName: \"Raging Taura\"\n\t@description:\"This minion's cost is equal to yo",
"end": 197,
"score": 0.999642014503479,
"start": 185,
"tag": "NAME",
"value": "Raging Taura"
}
] | app/sdk/modifiers/modifierCostEqualGeneralHealth.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
class ModifierCostEqualGeneralHealth extends Modifier
type:"ModifierCostEqualGeneralHealth"
@type:"ModifierCostEqualGeneralHealth"
@modifierName: "Raging Taura"
@description:"This minion's cost is equal to your General's Health"
activeInDeck: false
activeInHand: true
activeInS... | 98431 | Modifier = require './modifier'
class ModifierCostEqualGeneralHealth extends Modifier
type:"ModifierCostEqualGeneralHealth"
@type:"ModifierCostEqualGeneralHealth"
@modifierName: "<NAME>"
@description:"This minion's cost is equal to your General's Health"
activeInDeck: false
activeInHand: true
activeInSignatu... | true | Modifier = require './modifier'
class ModifierCostEqualGeneralHealth extends Modifier
type:"ModifierCostEqualGeneralHealth"
@type:"ModifierCostEqualGeneralHealth"
@modifierName: "PI:NAME:<NAME>END_PI"
@description:"This minion's cost is equal to your General's Health"
activeInDeck: false
activeInHand: true
a... |
[
{
"context": "lves({\n branch: \"master\",\n author: \"brian\",\n email: \"brian@cypress.io\",\n mess",
"end": 2436,
"score": 0.9775152802467346,
"start": 2431,
"tag": "USERNAME",
"value": "brian"
},
{
"context": "master\",\n author: \"brian\",\n ... | packages/server/test/unit/modes/record_spec.coffee | Manduro/cypress | 0 | require("../../spec_helper")
_ = require("lodash")
os = require("os")
commitInfo = require("@cypress/commit-info")
api = require("#{root}../lib/api")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
upload = require("#{root}../lib/upload")
browsers ... | 198179 | require("../../spec_helper")
_ = require("lodash")
os = require("os")
commitInfo = require("@cypress/commit-info")
api = require("#{root}../lib/api")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
upload = require("#{root}../lib/upload")
browsers ... | true | require("../../spec_helper")
_ = require("lodash")
os = require("os")
commitInfo = require("@cypress/commit-info")
api = require("#{root}../lib/api")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
upload = require("#{root}../lib/upload")
browsers ... |
[
{
"context": "constructor: (username, password) ->\n\t\t@username = username\n\t\t@password = password\n\n\t# Get the basic info of ",
"end": 548,
"score": 0.9849773645401001,
"start": 540,
"tag": "USERNAME",
"value": "username"
},
{
"context": " password) ->\n\t\t@username = usernam... | server.coffee | basilfx/Happening-eetlijst | 0 | Db = require "db"
Plugin = require "plugin"
Http = require "http"
Event = require "event"
Timer = require "timer"
TIMEOUT_INFO = (1000 * 60 * 60)
TIMEOUT_STATUS = (1000 * 60 * 5)
TIMEOUT_NOTICEBOARD = (1000 * 60 * 5)
# Temporary solution for the lack of scraping and requests support in Happening.
# Uses external prox... | 61456 | Db = require "db"
Plugin = require "plugin"
Http = require "http"
Event = require "event"
Timer = require "timer"
TIMEOUT_INFO = (1000 * 60 * 60)
TIMEOUT_STATUS = (1000 * 60 * 5)
TIMEOUT_NOTICEBOARD = (1000 * 60 * 5)
# Temporary solution for the lack of scraping and requests support in Happening.
# Uses external prox... | true | Db = require "db"
Plugin = require "plugin"
Http = require "http"
Event = require "event"
Timer = require "timer"
TIMEOUT_INFO = (1000 * 60 * 60)
TIMEOUT_STATUS = (1000 * 60 * 5)
TIMEOUT_NOTICEBOARD = (1000 * 60 * 5)
# Temporary solution for the lack of scraping and requests support in Happening.
# Uses external prox... |
[
{
"context": "Formbuilder.registerField 'email',\n\n name: 'Email'\n\n order: 40\n\n view: \"\"\"\n <input type='text'",
"end": 50,
"score": 0.6060811877250671,
"start": 45,
"tag": "NAME",
"value": "Email"
}
] | src/scripts/fields/email.coffee | ahashmi929/formbuilder | 0 | Formbuilder.registerField 'email',
name: 'Email'
order: 40
view: """
<input type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: ""
addButton: """
<span class="fa fa-envelope-o"></span> Email
""" | 31854 | Formbuilder.registerField 'email',
name: '<NAME>'
order: 40
view: """
<input type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: ""
addButton: """
<span class="fa fa-envelope-o"></span> Email
""" | true | Formbuilder.registerField 'email',
name: 'PI:NAME:<NAME>END_PI'
order: 40
view: """
<input type='text' class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>' />
"""
edit: ""
addButton: """
<span class="fa fa-envelope-o"></span> Email
""" |
[
{
"context": "see? <picture>\n#\n# Notes:\n# None\n#\n# Author:\n# Mike Lanyon\n\ncrypto = require 'crypto'\nknox = req",
"end": 524,
"score": 0.9998552203178406,
"start": 513,
"tag": "NAME",
"value": "Mike Lanyon"
}
] | src/rekognition.coffee | lanyonm/hubot-rekognition | 1 | # Description:
# Give Hubot an image and it'll tell you what it sees in the image.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_S3_BUCKET - the S3 bucket you'd like to upload images to
# HUBOT_AWS_ACCESS_KEY_ID - an AWS access key for S3 and Rekognition
# HUBOT_AWS_SECRET_ACCESS_KEY - a matching AWS se... | 153163 | # Description:
# Give Hubot an image and it'll tell you what it sees in the image.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_S3_BUCKET - the S3 bucket you'd like to upload images to
# HUBOT_AWS_ACCESS_KEY_ID - an AWS access key for S3 and Rekognition
# HUBOT_AWS_SECRET_ACCESS_KEY - a matching AWS se... | true | # Description:
# Give Hubot an image and it'll tell you what it sees in the image.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_S3_BUCKET - the S3 bucket you'd like to upload images to
# HUBOT_AWS_ACCESS_KEY_ID - an AWS access key for S3 and Rekognition
# HUBOT_AWS_SECRET_ACCESS_KEY - a matching AWS se... |
[
{
"context": ":\n element: 'string'\n content: 'bar2'\n value:\n element: 'number'\n ",
"end": 2138,
"score": 0.8740135431289673,
"start": 2134,
"tag": "KEY",
"value": "bar2"
},
{
"context": " element: 'string'\n content: 'bar2'\... | test/eidolon.coffee | danielgtaylor/eidolon | 8 | eidolon = require '../src/eidolon'
dereference = require '../src/dereference'
{expect} = require 'chai'
faker = require 'faker/locale/en'
fs = require 'fs'
glob = require 'glob'
path = require 'path'
sinon = require 'sinon'
{defaultValue, Eidolon} = eidolon
# Make `glob` and `require` all work from the same path
proc... | 206002 | eidolon = require '../src/eidolon'
dereference = require '../src/dereference'
{expect} = require 'chai'
faker = require 'faker/locale/en'
fs = require 'fs'
glob = require 'glob'
path = require 'path'
sinon = require 'sinon'
{defaultValue, Eidolon} = eidolon
# Make `glob` and `require` all work from the same path
proc... | true | eidolon = require '../src/eidolon'
dereference = require '../src/dereference'
{expect} = require 'chai'
faker = require 'faker/locale/en'
fs = require 'fs'
glob = require 'glob'
path = require 'path'
sinon = require 'sinon'
{defaultValue, Eidolon} = eidolon
# Make `glob` and `require` all work from the same path
proc... |
[
{
"context": " taskDuration = '1 hour'\n task =\n name: taskName\n dueDate: timestamp\n estimate: task",
"end": 2010,
"score": 0.8149203062057495,
"start": 2006,
"tag": "NAME",
"value": "task"
},
{
"context": "askDuration = '1 hour'\n task =\n name: taskN... | client/views/days/day.coffee | ryleehansen/h | 0 | Template.day.helpers(
heatmap: ()->
#me
me = this.parent.first[this.index]
dayBeginning = me.timestamp
dayEnd = me.timestamp + 86400
mongoQuery = { dueDate: { $gte: dayBeginning, $lt: dayEnd} }
tasks = Tasks.find(mongoQuery, { sort: { due: -1 } }).fetch()
totalTime = 0
for task in task... | 160505 | Template.day.helpers(
heatmap: ()->
#me
me = this.parent.first[this.index]
dayBeginning = me.timestamp
dayEnd = me.timestamp + 86400
mongoQuery = { dueDate: { $gte: dayBeginning, $lt: dayEnd} }
tasks = Tasks.find(mongoQuery, { sort: { due: -1 } }).fetch()
totalTime = 0
for task in task... | true | Template.day.helpers(
heatmap: ()->
#me
me = this.parent.first[this.index]
dayBeginning = me.timestamp
dayEnd = me.timestamp + 86400
mongoQuery = { dueDate: { $gte: dayBeginning, $lt: dayEnd} }
tasks = Tasks.find(mongoQuery, { sort: { due: -1 } }).fetch()
totalTime = 0
for task in task... |
[
{
"context": "= @keys.SL5.unlock(password)\n @masterPassword = password if success\n success\n\n locked: ->\n !@master",
"end": 390,
"score": 0.5138348937034607,
"start": 382,
"tag": "PASSWORD",
"value": "password"
}
] | lib/encryption_keys.coffee | jacobmarshall-etc/1pass | 0 | {GibberishAES} = require './vendor'
class EncryptionKeys
constructor: (data) ->
@masterPassword = null
@keys = {}
for item in data.list
if data[item.level] == item.identifier
@keys[item.level] = new EncryptionKeys.Key(item)
@keys
unlock: (password) ->
return false if !@keys.SL5
... | 166020 | {GibberishAES} = require './vendor'
class EncryptionKeys
constructor: (data) ->
@masterPassword = null
@keys = {}
for item in data.list
if data[item.level] == item.identifier
@keys[item.level] = new EncryptionKeys.Key(item)
@keys
unlock: (password) ->
return false if !@keys.SL5
... | true | {GibberishAES} = require './vendor'
class EncryptionKeys
constructor: (data) ->
@masterPassword = null
@keys = {}
for item in data.list
if data[item.level] == item.identifier
@keys[item.level] = new EncryptionKeys.Key(item)
@keys
unlock: (password) ->
return false if !@keys.SL5
... |
[
{
"context": "uction']\n type: @type.title()\n name: @name\n opcode: @opcode\n parameters: @",
"end": 958,
"score": 0.9169440865516663,
"start": 958,
"tag": "NAME",
"value": ""
},
{
"context": "tion']\n type: @type.title()\n name: @name\n ... | lib/furnace-xray/app/assets/javascripts/lib/nodes/instruction.js.coffee | evilmartians/furnace-xray | 4 | class @InstructionNode extends Node
constructor: (data, map) ->
super
@blocks = Object.extended()
linkBlock: (block) ->
@blocks[block.id] = block
@operands?.each (x) => x.linkBlock(block) if x['linkBlock']?
unlinkBlock: (block) ->
delete @blocks[block.id]
@operands?.each (x) => x.unlinkB... | 130340 | class @InstructionNode extends Node
constructor: (data, map) ->
super
@blocks = Object.extended()
linkBlock: (block) ->
@blocks[block.id] = block
@operands?.each (x) => x.linkBlock(block) if x['linkBlock']?
unlinkBlock: (block) ->
delete @blocks[block.id]
@operands?.each (x) => x.unlinkB... | true | class @InstructionNode extends Node
constructor: (data, map) ->
super
@blocks = Object.extended()
linkBlock: (block) ->
@blocks[block.id] = block
@operands?.each (x) => x.linkBlock(block) if x['linkBlock']?
unlinkBlock: (block) ->
delete @blocks[block.id]
@operands?.each (x) => x.unlinkB... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.6132062077522278,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/debug.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [], ->
"use strict"
# ==========================================
# Search object model
# ============... | 82168 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [], ->
"use strict"
# ==========================================
# Search object model
# =======... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [], ->
"use strict"
# ==========================================
# Search object model... |
[
{
"context": "import() with the given key\", (done) ->\n\n key = '1234567'\n gdocImportStub = sinon.stub(GDocIndicatorImpor",
"end": 1517,
"score": 0.9996476769447327,
"start": 1510,
"tag": "KEY",
"value": "1234567"
}
] | server/test/units/controllers/indicator.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../../helpers'
sinon = require('sinon')
Promise = require('bluebird')
IndicatorController = require('../../../controllers/indicators')
GDocIndicatorImporter = require('../../../lib/gdoc_indicator_importer')
Permissions = require('../../../lib/services/permissions')
s... | 154933 | assert = require('chai').assert
helpers = require '../../helpers'
sinon = require('sinon')
Promise = require('bluebird')
IndicatorController = require('../../../controllers/indicators')
GDocIndicatorImporter = require('../../../lib/gdoc_indicator_importer')
Permissions = require('../../../lib/services/permissions')
s... | true | assert = require('chai').assert
helpers = require '../../helpers'
sinon = require('sinon')
Promise = require('bluebird')
IndicatorController = require('../../../controllers/indicators')
GDocIndicatorImporter = require('../../../lib/gdoc_indicator_importer')
Permissions = require('../../../lib/services/permissions')
s... |
[
{
"context": " ContactName\n key: contact.get('_id')\n contact: contact\n _t",
"end": 2170,
"score": 0.8915245532989502,
"start": 2162,
"tag": "KEY",
"value": "get('_id"
}
] | talk-web/client/app/panel-chat.coffee | ikingye/talk-os | 3,084 | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search = require '../util/search'
orders... | 100146 | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search = require '../util/search'
orders... | true | React = require 'react'
Immutable = require 'immutable'
cx = require 'classnames'
recorder = require 'actions-recorder'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
mixinQuery = require '../mixin/query'
detect = require '../util/detect'
search = require '../util/search'
orders... |
[
{
"context": " * BracketsExtensionTweetBot\n * http://github.com/ingorichter/BracketsExtensionTweetBot\n *\n * Copyright (c) 201",
"end": 65,
"score": 0.9996579885482788,
"start": 54,
"tag": "USERNAME",
"value": "ingorichter"
},
{
"context": "BracketsExtensionTweetBot\n *\n * Copyrig... | src/TwitterPublisher.coffee | ingorichter/BracketsExtensionTweetBot | 0 | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 Ingo Richter
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bluebird'
Twit = req... | 157194 | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bluebird'
Twit = require '... | true | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bluebird'
Tw... |
[
{
"context": "# @file bubbles.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 59,
"score": 0.999773383140564,
"start": 45,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | examples/bubbles/bubbles.coffee | siviter-t/lampyridae.coffee | 4 | # @file bubbles.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::hueMax... | 82591 | # @file bubbles.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::hueMax = 225
L... | true | # @file bubbles.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::... |
[
{
"context": "###\n\n2015 - 2016 (c) by Marcel Kapfer (mmk2410)\n\nLicensed under MIT License\n\nRangitaki ",
"end": 37,
"score": 0.9998801946640015,
"start": 24,
"tag": "NAME",
"value": "Marcel Kapfer"
},
{
"context": "###\n\n2015 - 2016 (c) by Marcel Kapfer (mmk2410)\n\nLicensed un... | gulpfile.coffee | vishal2612200/rangitaki | 0 | ###
2015 - 2016 (c) by Marcel Kapfer (mmk2410)
Licensed under MIT License
Rangitaki Gulp File
###
gulp = require 'gulp'
sass = require 'gulp-sass'
sourcemaps = require 'gulp-sourcemaps'
minifyCss = require 'gulp-csso'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
uglify = require 'gulp-ugli... | 33895 | ###
2015 - 2016 (c) by <NAME> (mmk2410)
Licensed under MIT License
Rangitaki Gulp File
###
gulp = require 'gulp'
sass = require 'gulp-sass'
sourcemaps = require 'gulp-sourcemaps'
minifyCss = require 'gulp-csso'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
uglify = require 'gulp-uglify'
mer... | true | ###
2015 - 2016 (c) by PI:NAME:<NAME>END_PI (mmk2410)
Licensed under MIT License
Rangitaki Gulp File
###
gulp = require 'gulp'
sass = require 'gulp-sass'
sourcemaps = require 'gulp-sourcemaps'
minifyCss = require 'gulp-csso'
coffee = require 'gulp-coffee'
coffeelint = require 'gulp-coffeelint'
uglify = require 'gu... |
[
{
"context": "ach ->\n model = new Backbone.Model({name: 'Test <b>Name</b>'})\n\n describe 'html and text helpe",
"end": 167,
"score": 0.8112860918045044,
"start": 163,
"tag": "NAME",
"value": "Test"
}
] | test/html-text.coffee | redexp/backbone-dom-view | 13 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model({name: 'Test <b>Name</b>'})
describe 'html and text helpers', ->
it 'should render as html', ->
View = DomView.extend
templ... | 4657 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model({name: '<NAME> <b>Name</b>'})
describe 'html and text helpers', ->
it 'should render as html', ->
View = DomView.extend
tem... | true | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model({name: 'PI:NAME:<NAME>END_PI <b>Name</b>'})
describe 'html and text helpers', ->
it 'should render as html', ->
View = DomView.extend
... |
[
{
"context": "_bits * POW_NEG_26) * POW_NEG_27\n\n setstate: ([@_next_gauss, state...]) =>\n # Set the state of the PRN",
"end": 2166,
"score": 0.9750388860702515,
"start": 2154,
"tag": "USERNAME",
"value": "@_next_gauss"
},
{
"context": " suitable for passing into `@setsta... | random.coffee | jrus/random-js | 7 | ###
A fairly direct port of the Python `random` module to JavaScript
###
{log, sqrt, cos, acos, floor, pow, LOG2E, exp} = Math
POW_32 = pow 2, 32
POW_NEG_32 = pow 2, -32
lg = (x) ->
# The log base 2, rounded down to the integer below
(LOG2E * log x + 1e-10) >> 0
mod = (x, y) ->
unless (jsmod = x % y) and... | 129320 | ###
A fairly direct port of the Python `random` module to JavaScript
###
{log, sqrt, cos, acos, floor, pow, LOG2E, exp} = Math
POW_32 = pow 2, 32
POW_NEG_32 = pow 2, -32
lg = (x) ->
# The log base 2, rounded down to the integer below
(LOG2E * log x + 1e-10) >> 0
mod = (x, y) ->
unless (jsmod = x % y) and... | true | ###
A fairly direct port of the Python `random` module to JavaScript
###
{log, sqrt, cos, acos, floor, pow, LOG2E, exp} = Math
POW_32 = pow 2, 32
POW_NEG_32 = pow 2, -32
lg = (x) ->
# The log base 2, rounded down to the integer below
(LOG2E * log x + 1e-10) >> 0
mod = (x, y) ->
unless (jsmod = x % y) and... |
[
{
"context": " @xession.login user.getProperties(\"email\", \"password\")\n .then =>\n @notify.success \"Success",
"end": 310,
"score": 0.9832990765571594,
"start": 302,
"tag": "PASSWORD",
"value": "password"
}
] | tests/dummy/app/routes/register.coffee | simwms/ember-material-dashboard | 0 | `import Ember from 'ember'`
Route = Ember.Route.extend
beforeModel: ->
if @xession.get("loggedIn")
@transitionTo "dashboard"
model: ->
@store.createRecord "user"
actions:
register: (user) ->
user.save()
.then =>
@xession.login user.getProperties("email", "password")
.... | 113015 | `import Ember from 'ember'`
Route = Ember.Route.extend
beforeModel: ->
if @xession.get("loggedIn")
@transitionTo "dashboard"
model: ->
@store.createRecord "user"
actions:
register: (user) ->
user.save()
.then =>
@xession.login user.getProperties("email", "<PASSWORD>")
... | true | `import Ember from 'ember'`
Route = Ember.Route.extend
beforeModel: ->
if @xession.get("loggedIn")
@transitionTo "dashboard"
model: ->
@store.createRecord "user"
actions:
register: (user) ->
user.save()
.then =>
@xession.login user.getProperties("email", "PI:PASSWORD:<PASSW... |
[
{
"context": "\n{User} = require '../../lib/data'\n\nexports.donnie = new User {\n display_name : \"outofelement.io/do",
"end": 50,
"score": 0.9735084176063538,
"start": 44,
"tag": "USERNAME",
"value": "donnie"
},
{
"context": "ie = new User {\n display_name : \"outofelement.io/don... | test/data/users.iced | AngelKey/Angelkey.messengerclient | 0 |
{User} = require '../../lib/data'
exports.donnie = new User {
display_name : "outofelement.io/donnie"
is_me : true
public_key : """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
mQENBFN+YH8BCACpPJOdWTS5T8fobGFOHyGXJi5sxX8Jr35+XVI3qebEgV9k9... | 99720 |
{User} = require '../../lib/data'
exports.donnie = new User {
display_name : "outofelement.io/donnie"
is_me : true
public_key : """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
<KEY>
C<KEY>
-----END PGP PUBLIC KEY BLOCK-----
"""
private... | true |
{User} = require '../../lib/data'
exports.donnie = new User {
display_name : "outofelement.io/donnie"
is_me : true
public_key : """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
PI:KEY:<KEY>END_PI
CPI:KEY:<KEY>END_PI
-----END PGP PUBLIC KE... |
[
{
"context": "--------------------------------------\n # Bummed. Steve Jobs just died. 2011 Oct 5.\n # ----------------------",
"end": 22541,
"score": 0.9996496438980103,
"start": 22531,
"tag": "NAME",
"value": "Steve Jobs"
},
{
"context": "\n\n @soundCounter ||= 0\n @soundKe... | app-src/pages.coffee | hyperbotic/crowdgame-trivially | 0 | # ==================================================================================================================
class CountdownTicker
# ----------------------------------------------------------------------------------------------------------------
constructor: (@fnInitView, @fnUpdateView, @fnCompleted, @fnSou... | 96213 | # ==================================================================================================================
class CountdownTicker
# ----------------------------------------------------------------------------------------------------------------
constructor: (@fnInitView, @fnUpdateView, @fnCompleted, @fnSou... | true | # ==================================================================================================================
class CountdownTicker
# ----------------------------------------------------------------------------------------------------------------
constructor: (@fnInitView, @fnUpdateView, @fnCompleted, @fnSou... |
[
{
"context": "cription: \"\"\n keywords: \"\"\n author: \"feilaoda\"\n year: \"2012\"\n copyright: \"© u",
"end": 104,
"score": 0.9804194569587708,
"start": 96,
"tag": "USERNAME",
"value": "feilaoda"
},
{
"context": " \"noodp,noydir,index,follow\"\n... | app/config/shared/locales/en.coffee | MagicPower2/Power | 0 | module.exports =
title: "Power"
description: ""
keywords: ""
author: "feilaoda"
year: "2012"
copyright: "© undefined feilaoda. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "User"
email: "azhenglive@gmail.com"
titles:
inde... | 224387 | module.exports =
title: "Power"
description: ""
keywords: ""
author: "feilaoda"
year: "2012"
copyright: "© undefined feilaoda. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "User"
email: "<EMAIL>"
titles:
index: "%{name}"
... | true | module.exports =
title: "Power"
description: ""
keywords: ""
author: "feilaoda"
year: "2012"
copyright: "© undefined feilaoda. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "User"
email: "PI:EMAIL:<EMAIL>END_PI"
titles:
in... |
[
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and u",
"end": 35,
"score": 0.9998366236686707,
"start": 22,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Red... | src/hook.coffee | HBOCodeLabs/ibrik | 0 | # Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condition... | 202958 | # Copyright (C) 2012 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following d... | true | # Copyright (C) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of c... |
[
{
"context": "lizer = DS.RESTSerializer.extend\n\n primaryKey: '_id'\n\n normalize: (type, hash, prop) ->\n @normali",
"end": 169,
"score": 0.5948894023895264,
"start": 167,
"tag": "KEY",
"value": "id"
},
{
"context": "ments = []\n for k, v of attachments\n key = \"#{has... | src/document-adapter.coffee | ekrabismi/CRUD-Ember-couchdb | 0 | ###
@namespace EmberCouchDBKit
@class DocumentSerializer
@extends DS.RESTSerializer
###
EmberCouchDBKit.DocumentSerializer = DS.RESTSerializer.extend
primaryKey: '_id'
normalize: (type, hash, prop) ->
@normalizeId(hash)
@normalizeAttachments(hash["_attachments"], type.typeKey, hash)
@addHistoryId(has... | 195609 | ###
@namespace EmberCouchDBKit
@class DocumentSerializer
@extends DS.RESTSerializer
###
EmberCouchDBKit.DocumentSerializer = DS.RESTSerializer.extend
primaryKey: '_<KEY>'
normalize: (type, hash, prop) ->
@normalizeId(hash)
@normalizeAttachments(hash["_attachments"], type.typeKey, hash)
@addHistoryId(... | true | ###
@namespace EmberCouchDBKit
@class DocumentSerializer
@extends DS.RESTSerializer
###
EmberCouchDBKit.DocumentSerializer = DS.RESTSerializer.extend
primaryKey: '_PI:KEY:<KEY>END_PI'
normalize: (type, hash, prop) ->
@normalizeId(hash)
@normalizeAttachments(hash["_attachments"], type.typeKey, hash)
@... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andre",
"end": 12,
"score": 0.6706682443618774,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andrew@gma",
"end": 17,
"score": 0.... | source/javascripts/new_src/core/vertex.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author aladjev.andrew@gmail.com
class Vertex
constructor: ->
console.warn "THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead."
namespace "THREE", (exports) ->
exports.Vertex = Vertex | 56637 | # @author mr.<NAME> / http://mrdoob.com/
# @author <EMAIL>
class Vertex
constructor: ->
console.warn "THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead."
namespace "THREE", (exports) ->
exports.Vertex = Vertex | true | # @author mr.PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author PI:EMAIL:<EMAIL>END_PI
class Vertex
constructor: ->
console.warn "THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead."
namespace "THREE", (exports) ->
exports.Vertex = Vertex |
[
{
"context": "d.equal 10\n results[0].title.should.equal 'Vennice Biennalez'\n done()\n\n describe '#find', ->\n\n it '",
"end": 604,
"score": 0.9993260502815247,
"start": 587,
"tag": "NAME",
"value": "Vennice Biennalez"
}
] | src/api/apps/sections/test/model.test.coffee | craigspaeth/positron | 76 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Section = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Section', ->
beforeEach (done) ->
empty ->
fabricate 'sections', _.times(10, -> {}), ->
done()
descr... | 199137 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Section = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Section', ->
beforeEach (done) ->
empty ->
fabricate 'sections', _.times(10, -> {}), ->
done()
descr... | true | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Section = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Section', ->
beforeEach (done) ->
empty ->
fabricate 'sections', _.times(10, -> {}), ->
done()
descr... |
[
{
"context": "nts'\n id: 1\n attributes:\n name: 'Demo'\n\n expect(event.name).to.equal 'Demo'\n\n it 's",
"end": 332,
"score": 0.9157630205154419,
"start": 328,
"tag": "NAME",
"value": "Demo"
},
{
"context": "nts'\n id: 1\n attributes:\n name: '... | test/yayson/store.coffee | nie7321/yayson | 0 | expect = require('chai').expect
Store = require('../../src/yayson.coffee')().Store
describe 'Store', ->
beforeEach ->
@store = new Store()
@store.records = []
@store.relations = {}
it 'should sync an event', ->
event = @store.sync data:
type: 'events'
id: 1
attributes:
... | 134637 | expect = require('chai').expect
Store = require('../../src/yayson.coffee')().Store
describe 'Store', ->
beforeEach ->
@store = new Store()
@store.records = []
@store.relations = {}
it 'should sync an event', ->
event = @store.sync data:
type: 'events'
id: 1
attributes:
... | true | expect = require('chai').expect
Store = require('../../src/yayson.coffee')().Store
describe 'Store', ->
beforeEach ->
@store = new Store()
@store.records = []
@store.relations = {}
it 'should sync an event', ->
event = @store.sync data:
type: 'events'
id: 1
attributes:
... |
[
{
"context": " newUser = new User()\n newUser.username = username\n newUser.oauthAccessToken = token\n newU",
"end": 3203,
"score": 0.9994101524353027,
"start": 3195,
"tag": "USERNAME",
"value": "username"
},
{
"context": " newUser.salt = salt\n newUser.p... | routes/index.coffee | youqingkui/zhihu2evernote | 0 | express = require('express')
router = express.Router()
Evernote = require('evernote').Evernote
config = require('../config.json')
callbackUrl = "http://localhost:3000/oauth_callback"
User = require('../models/user')
async = require('async')
createNote = require('../server/createAccount')
crypto = require('crypto')
md... | 55836 | express = require('express')
router = express.Router()
Evernote = require('evernote').Evernote
config = require('../config.json')
callbackUrl = "http://localhost:3000/oauth_callback"
User = require('../models/user')
async = require('async')
createNote = require('../server/createAccount')
crypto = require('crypto')
md... | true | express = require('express')
router = express.Router()
Evernote = require('evernote').Evernote
config = require('../config.json')
callbackUrl = "http://localhost:3000/oauth_callback"
User = require('../models/user')
async = require('async')
createNote = require('../server/createAccount')
crypto = require('crypto')
md... |
[
{
"context": "', 'link')\n selected: new Batman.Object(name: 'crono')\n helpers.render '<select data-bind=\"selected.n",
"end": 375,
"score": 0.8770135641098022,
"start": 370,
"tag": "NAME",
"value": "crono"
},
{
"context": "context = Batman\n heros: new Batman.SimpleSet('mari... | tests/batman/view/select_rendering_test.coffee | airhorns/batman | 1 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View <select> rendering'
asyncTest 'it should bind the value of a select box and update when the javascript land value changes', 2, ->
context = Batman
heros: new Batman.Set('mario', 'crono... | 80500 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View <select> rendering'
asyncTest 'it should bind the value of a select box and update when the javascript land value changes', 2, ->
context = Batman
heros: new Batman.Set('mario', 'crono... | true | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View <select> rendering'
asyncTest 'it should bind the value of a select box and update when the javascript land value changes', 2, ->
context = Batman
heros: new Batman.Set('mario', 'crono... |
[
{
"context": "ew Artwork fabricate 'artwork', { partner: name: 'House of Bitty' }]\n @template = render('index')(\n sd",
"end": 521,
"score": 0.9867294430732727,
"start": 507,
"tag": "NAME",
"value": "House of Bitty"
},
{
"context": "tner name', ->\n @template.should... | src/desktop/components/fillwidth_row/test/template.coffee | kanaabe/force | 1 | cheerio = require 'cheerio'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../../models/artwork'
render = ->
filename = path.resolve __dirname, "../template.jade"
jade.compile(
fs.readFileSync(filename),
... | 158557 | cheerio = require 'cheerio'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../../models/artwork'
render = ->
filename = path.resolve __dirname, "../template.jade"
jade.compile(
fs.readFileSync(filename),
... | true | cheerio = require 'cheerio'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../../models/artwork'
render = ->
filename = path.resolve __dirname, "../template.jade"
jade.compile(
fs.readFileSync(filename),
... |
[
{
"context": "->\n $scope.entities = [\n name: \"Players\"\n members: []\n ,\n na",
"end": 5811,
"score": 0.506792426109314,
"start": 5804,
"tag": "NAME",
"value": "Players"
},
{
"context": " members: []\n ,\n n... | public/core.coffee | tim-dev/rpg_calc | 0 |
String.prototype.toTitleCase = () ->
return this.replace /\w\S*/g, (txt) -> return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
uuid = () ->
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace /[xy]/g, (c) ->
r = Math.random()*16|0
v = if c == 'x' then r else r&0x3 or 0x8
retur... | 167957 |
String.prototype.toTitleCase = () ->
return this.replace /\w\S*/g, (txt) -> return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
uuid = () ->
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace /[xy]/g, (c) ->
r = Math.random()*16|0
v = if c == 'x' then r else r&0x3 or 0x8
retur... | true |
String.prototype.toTitleCase = () ->
return this.replace /\w\S*/g, (txt) -> return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
uuid = () ->
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace /[xy]/g, (c) ->
r = Math.random()*16|0
v = if c == 'x' then r else r&0x3 or 0x8
retur... |
[
{
"context": "console.log db\n await db.users.insert\n name: 'jeff'\n users = await db.users.select()\n console.log ",
"end": 173,
"score": 0.7722405195236206,
"start": 169,
"tag": "NAME",
"value": "jeff"
}
] | src/test/test.coffee | ndxbxrme/rsdb | 0 | 'use strict'
db = require('../index')
database: 'test'
localStorage: 'data'
tables: ['users']
.on 'ready', ->
console.log db
await db.users.insert
name: 'jeff'
users = await db.users.select()
console.log users | 74812 | 'use strict'
db = require('../index')
database: 'test'
localStorage: 'data'
tables: ['users']
.on 'ready', ->
console.log db
await db.users.insert
name: '<NAME>'
users = await db.users.select()
console.log users | true | 'use strict'
db = require('../index')
database: 'test'
localStorage: 'data'
tables: ['users']
.on 'ready', ->
console.log db
await db.users.insert
name: 'PI:NAME:<NAME>END_PI'
users = await db.users.select()
console.log users |
[
{
"context": " ->\n\n shinout:\n firstName : 'Shin'\n age : 29\n regist",
"end": 132,
"score": 0.9997575283050537,
"start": 128,
"tag": "NAME",
"value": "Shin"
},
{
"context": " ]\n\n satake:\n firstName : 'Ko... | spec/fixtures/sample/data/member.coffee | CureApp/base-domain | 37 |
module.exports =
dependencies: [
'hobby'
]
data: (pool) ->
shinout:
firstName : 'Shin'
age : 29
registeredAt : '2013-03-10'
hobbies : [
pool.hobby.keyboard
pool.hobby.ingress
]
... | 130766 |
module.exports =
dependencies: [
'hobby'
]
data: (pool) ->
shinout:
firstName : '<NAME>'
age : 29
registeredAt : '2013-03-10'
hobbies : [
pool.hobby.keyboard
pool.hobby.ingress
]
... | true |
module.exports =
dependencies: [
'hobby'
]
data: (pool) ->
shinout:
firstName : 'PI:NAME:<NAME>END_PI'
age : 29
registeredAt : '2013-03-10'
hobbies : [
pool.hobby.keyboard
pool.hobby.ingress
... |
[
{
"context": "276766fd4f50996aeca2b8'\n author_id: ObjectId('4d8cd73191a5c50ce210002a')\n layout: 'standard'\n thumbnail_title: 'To",
"end": 275,
"score": 0.6580862998962402,
"start": 252,
"tag": "PASSWORD",
"value": "d8cd73191a5c50ce210002a"
},
{
"context": " body: '<p... | src/test/helpers/fixtures.coffee | joeyAghion/positron | 76 | User = require '../../client/models/user'
{ ObjectId } = require 'mongojs'
moment = require 'moment'
timeCount = 0
module.exports = ->
timeCount++
fixtures = {}
fixtures.articles =
id: '54276766fd4f50996aeca2b8'
author_id: ObjectId('4d8cd73191a5c50ce210002a')
layout: 'standard'
thumbnail_title... | 66761 | User = require '../../client/models/user'
{ ObjectId } = require 'mongojs'
moment = require 'moment'
timeCount = 0
module.exports = ->
timeCount++
fixtures = {}
fixtures.articles =
id: '54276766fd4f50996aeca2b8'
author_id: ObjectId('4<PASSWORD>')
layout: 'standard'
thumbnail_title: 'Top Ten Bo... | true | User = require '../../client/models/user'
{ ObjectId } = require 'mongojs'
moment = require 'moment'
timeCount = 0
module.exports = ->
timeCount++
fixtures = {}
fixtures.articles =
id: '54276766fd4f50996aeca2b8'
author_id: ObjectId('4PI:PASSWORD:<PASSWORD>END_PI')
layout: 'standard'
thumbnail_... |
[
{
"context": "tterBibTeX.formatter.format(item)\n citekey = \"zotero-#{if item.libraryID in [undefined, null] then 'nul",
"end": 4620,
"score": 0.7644116282463074,
"start": 4614,
"tag": "KEY",
"value": "otero-"
},
{
"context": "y, value of entry\n switch\n when key in ... | chrome/content/zotero-better-bibtex/keymanager.coffee | edwinksl/zotero-better-bibtex | 0 | Components.utils.import('resource://gre/modules/Services.jsm')
Zotero.BetterBibTeX.keymanager = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@log = Zotero.BetterBibTeX.log
@resetJournalAbbrevs()
###
three-letter month abbreviations. I assume these are the same ones that the
docs say are ... | 163430 | Components.utils.import('resource://gre/modules/Services.jsm')
Zotero.BetterBibTeX.keymanager = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@log = Zotero.BetterBibTeX.log
@resetJournalAbbrevs()
###
three-letter month abbreviations. I assume these are the same ones that the
docs say are ... | true | Components.utils.import('resource://gre/modules/Services.jsm')
Zotero.BetterBibTeX.keymanager = new class
constructor: ->
@db = Zotero.BetterBibTeX.DB
@log = Zotero.BetterBibTeX.log
@resetJournalAbbrevs()
###
three-letter month abbreviations. I assume these are the same ones that the
docs say are ... |
[
{
"context": "#!/usr/bin/coffee\n\n###\n#@author rankun203@gmail.com\n#Call the module node6filteredLsModule, to list f",
"end": 51,
"score": 0.9999114274978638,
"start": 32,
"tag": "EMAIL",
"value": "rankun203@gmail.com"
}
] | node2/node6filteredLsRunner.coffee | rankun203/ModernWebStudy | 0 | #!/usr/bin/coffee
###
#@author rankun203@gmail.com
#Call the module node6filteredLsModule, to list filtered files.
###
fil = require './node6filteredLsModule.js'
fil process.argv[2] ? './', process.argv[3] ? 'js', (err, data) ->
console.log "Something went wrong, #{err}." if err
for item in data
console.log ... | 122517 | #!/usr/bin/coffee
###
#@author <EMAIL>
#Call the module node6filteredLsModule, to list filtered files.
###
fil = require './node6filteredLsModule.js'
fil process.argv[2] ? './', process.argv[3] ? 'js', (err, data) ->
console.log "Something went wrong, #{err}." if err
for item in data
console.log item
| true | #!/usr/bin/coffee
###
#@author PI:EMAIL:<EMAIL>END_PI
#Call the module node6filteredLsModule, to list filtered files.
###
fil = require './node6filteredLsModule.js'
fil process.argv[2] ? './', process.argv[3] ? 'js', (err, data) ->
console.log "Something went wrong, #{err}." if err
for item in data
console.l... |
[
{
"context": "d to parentWidget\n setting = {}\n setting.key = \"organizations\"\n setting.isInitialized = false\n\n # initializat",
"end": 604,
"score": 0.993464469909668,
"start": 591,
"tag": "KEY",
"value": "organizations"
}
] | src/components/widgets-settings/organizations/organizations.directive.coffee | agranado2k/impac-angular | 0 | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.isOrganizationSelected = (orgUid) ->
!!w.selectedOrganizations[orgUid]
$scope.toggl... | 24245 | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.isOrganizationSelected = (orgUid) ->
!!w.selectedOrganizations[orgUid]
$scope.toggl... | true | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.isOrganizationSelected = (orgUid) ->
!!w.selectedOrganizations[orgUid]
$scope.toggl... |
[
{
"context": "tion.currentCohort\n eventData['projectToken'] = \"galaxy_zoo\"\n eventData['userID'] = \"(anonymous)\"\n # set fi",
"end": 515,
"score": 0.9683782458305359,
"start": 505,
"tag": "PASSWORD",
"value": "galaxy_zoo"
}
] | app/lib/analytics.coffee | murraycu/Galaxy-Zoo | 0 | $ = require 'jqueryify'
Subject = require 'models/subject'
UserGetter = require 'lib/userID'
Intervention = require 'lib/intervention'
buildEventData = (params) ->
eventData = {}
# defaults
eventData['subjectID'] = Subject.current?.zooniverse_id
eventData['relatedID'] = Intervention.currentRelatedId
eventDat... | 30412 | $ = require 'jqueryify'
Subject = require 'models/subject'
UserGetter = require 'lib/userID'
Intervention = require 'lib/intervention'
buildEventData = (params) ->
eventData = {}
# defaults
eventData['subjectID'] = Subject.current?.zooniverse_id
eventData['relatedID'] = Intervention.currentRelatedId
eventDat... | true | $ = require 'jqueryify'
Subject = require 'models/subject'
UserGetter = require 'lib/userID'
Intervention = require 'lib/intervention'
buildEventData = (params) ->
eventData = {}
# defaults
eventData['subjectID'] = Subject.current?.zooniverse_id
eventData['relatedID'] = Intervention.currentRelatedId
eventDat... |
[
{
"context": "} = require '../lib/user'\nalice = users().lookup 'test_alice'\nbob = users().lookup 'test_bob'\ncharlie = users(",
"end": 66,
"score": 0.9980328679084778,
"start": 56,
"tag": "USERNAME",
"value": "test_alice"
},
{
"context": "users().lookup 'test_alice'\nbob = users().... | test/files/99_cleanup.iced | AngelKey/Angelkey.nodeclient | 151 | {users} = require '../lib/user'
alice = users().lookup 'test_alice'
bob = users().lookup 'test_bob'
charlie = users().lookup 'test_charlie'
exports.cleanup = (T,cb) ->
cb()
| 136502 | {users} = require '../lib/user'
alice = users().lookup 'test_alice'
bob = users().lookup 'test_bob'
<NAME>lie = users().lookup 'test_charlie'
exports.cleanup = (T,cb) ->
cb()
| true | {users} = require '../lib/user'
alice = users().lookup 'test_alice'
bob = users().lookup 'test_bob'
PI:NAME:<NAME>END_PIlie = users().lookup 'test_charlie'
exports.cleanup = (T,cb) ->
cb()
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992423057556152,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-malformed-request.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 66174 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "##\n backbone-mongo.js 0.6.10\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo\n Li",
"end": 60,
"score": 0.9994237422943115,
"start": 52,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/... | src/sync.coffee | vidigami/backbone-mongo | 1 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{ObjectID} = require 'mongodb'
{_, Backbone, Queue, Schema, Utils, JSONUtils} = BackboneORM = require 'backbone-orm'
MONGO_GENERATION = +(r... | 120204 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{ObjectID} = require 'mongodb'
{_, Backbone, Queue, Schema, Utils, JSONUtils} = BackboneORM = require 'backbone-orm'
MONGO_GENERATION = +(req... | true | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
{ObjectID} = require 'mongodb'
{_, Backbone, Queue, Schema, Utils, JSONUtils} = BackboneORM = require 'backbone-orm'
MONGO_GENE... |
[
{
"context": " @$scope.original_project = { id: 1, name: 'original_name'}\n\n it 'should not call update when project ",
"end": 2790,
"score": 0.7026975750923157,
"start": 2777,
"tag": "NAME",
"value": "original_name"
}
] | spec/javascripts/unit/controllers/project_ctrl_spec.js.coffee | FanAnToXa/todo-app | 2 | #= require spec_helper
describe 'ProjectCtrl', ->
beforeEach ->
@success_action = true
@ProjectResource = jasmine.createSpyObj 'ProjectResource', [
'query',
'save',
'update',
'remove'
]
@project_list = [ { id: 1, name: 'name 1'}, { id: 3, name: 'name 3'}]
@project = { id... | 209573 | #= require spec_helper
describe 'ProjectCtrl', ->
beforeEach ->
@success_action = true
@ProjectResource = jasmine.createSpyObj 'ProjectResource', [
'query',
'save',
'update',
'remove'
]
@project_list = [ { id: 1, name: 'name 1'}, { id: 3, name: 'name 3'}]
@project = { id... | true | #= require spec_helper
describe 'ProjectCtrl', ->
beforeEach ->
@success_action = true
@ProjectResource = jasmine.createSpyObj 'ProjectResource', [
'query',
'save',
'update',
'remove'
]
@project_list = [ { id: 1, name: 'name 1'}, { id: 3, name: 'name 3'}]
@project = { id... |
[
{
"context": "grids.state.selected_ids)\r\n\r\n id: id\r\n name: name\r\n role: @state.role\r\n post_action_ids: post",
"end": 3838,
"score": 0.9935438632965088,
"start": 3834,
"tag": "NAME",
"value": "name"
}
] | app/assets/javascripts/operation_flow_editor/course_wares/oe_action_list.coffee.cjsx | kc-train/operation-flow-editor | 2 | OEActionSelectGrid = React.createClass
displayName: 'OEActionSelectGrid'
getInitialState: ->
selected_ids: []
render: ->
<div className='actions-select-grid'>
{
for id, action of @props.optional_actions
klass = ['action']
klass.push 'selected' if @state.selecte... | 41016 | OEActionSelectGrid = React.createClass
displayName: 'OEActionSelectGrid'
getInitialState: ->
selected_ids: []
render: ->
<div className='actions-select-grid'>
{
for id, action of @props.optional_actions
klass = ['action']
klass.push 'selected' if @state.selecte... | true | OEActionSelectGrid = React.createClass
displayName: 'OEActionSelectGrid'
getInitialState: ->
selected_ids: []
render: ->
<div className='actions-select-grid'>
{
for id, action of @props.optional_actions
klass = ['action']
klass.push 'selected' if @state.selecte... |
[
{
"context": "###*\n chroma.js\n\n Copyright (c) 2011-2013, Gregor Aisch\n All rights reserved.\n\n Redistribution and ",
"end": 61,
"score": 0.9998905062675476,
"start": 49,
"tag": "NAME",
"value": "Gregor Aisch"
},
{
"context": " OF SUCH DAMAGE.\n\n @source: https://... | node_modules/chroma-js/src/color.coffee | balamurugan01/foundation6 | 49 | ###*
chroma.js
Copyright (c) 2011-2013, Gregor Aisch
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, thi... | 68944 | ###*
chroma.js
Copyright (c) 2011-2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... | true | ###*
chroma.js
Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright not... |
[
{
"context": "= (person) ->\n alert \"Hello #{person}\"\n\nhello \"Esteban\"\n",
"end": 63,
"score": 0.9997143745422363,
"start": 56,
"tag": "NAME",
"value": "Esteban"
}
] | test/example/script.coffee | debrouwere/draughtsman | 3 | hello = (person) ->
alert "Hello #{person}"
hello "Esteban"
| 62436 | hello = (person) ->
alert "Hello #{person}"
hello "<NAME>"
| true | hello = (person) ->
alert "Hello #{person}"
hello "PI:NAME:<NAME>END_PI"
|
[
{
"context": "that attribute\n\nBased on Spine-Attribute-Events by Mitch Lloyd\nhttps://github.com/mitchlloyd/Spine-Attribute-Eve",
"end": 163,
"score": 0.999906063079834,
"start": 152,
"tag": "NAME",
"value": "Mitch Lloyd"
},
{
"context": "ttribute-Events by Mitch Lloyd\nhttps://git... | app/lib/updateAttr.coffee | gzferrar/Nitro | 1 | ###
Trigger updateAttr on model with the attribute that was modified and the new and
old versions of that attribute
Based on Spine-Attribute-Events by Mitch Lloyd
https://github.com/mitchlloyd/Spine-Attribute-Events
###
_ = require "underscore"
ClassMethods =
# Clone model
setAttributesSnapshot: (model) ->
... | 102904 | ###
Trigger updateAttr on model with the attribute that was modified and the new and
old versions of that attribute
Based on Spine-Attribute-Events by <NAME>
https://github.com/mitchlloyd/Spine-Attribute-Events
###
_ = require "underscore"
ClassMethods =
# Clone model
setAttributesSnapshot: (model) ->
data ... | true | ###
Trigger updateAttr on model with the attribute that was modified and the new and
old versions of that attribute
Based on Spine-Attribute-Events by PI:NAME:<NAME>END_PI
https://github.com/mitchlloyd/Spine-Attribute-Events
###
_ = require "underscore"
ClassMethods =
# Clone model
setAttributesSnapshot: (model... |
[
{
"context": "m) ->\n chances = [1, 5, 10, 20, 100]\n keys = [@t4, @t3, @t2, @t1, @t0]\n validKeysToChoose = _.compact _.map keys, (ke",
"end": 3848,
"score": 0.990965723991394,
"start": 3823,
"tag": "KEY",
"value": "[@t4, @t3, @t2, @t1, @t0]"
}
] | src/event/Event.coffee | sadbear-/IdleLands | 0 |
chance = new (require "chance")()
MessageCreator = require "../system/MessageCreator"
Constants = require "../system/Constants"
_ = require "lodash"
class Event
constructor: (@game, @event, @player) ->
calcXpEventGain: (eventType, player) ->
if (chance.bool {likelihood: player.calculateYesPercent()})
... | 6182 |
chance = new (require "chance")()
MessageCreator = require "../system/MessageCreator"
Constants = require "../system/Constants"
_ = require "lodash"
class Event
constructor: (@game, @event, @player) ->
calcXpEventGain: (eventType, player) ->
if (chance.bool {likelihood: player.calculateYesPercent()})
... | true |
chance = new (require "chance")()
MessageCreator = require "../system/MessageCreator"
Constants = require "../system/Constants"
_ = require "lodash"
class Event
constructor: (@game, @event, @player) ->
calcXpEventGain: (eventType, player) ->
if (chance.bool {likelihood: player.calculateYesPercent()})
... |
[
{
"context": "leoverview Tests for concise-object rule\n# @author Jamund Ferguson <http://www.jamund.com>\n###\n\n'use strict'\n\n#-----",
"end": 76,
"score": 0.9998776316642761,
"start": 61,
"tag": "NAME",
"value": "Jamund Ferguson"
}
] | src/tests/rules/object-shorthand.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for concise-object rule
# @author Jamund Ferguson <http://www.jamund.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../ru... | 224595 | ###*
# @fileoverview Tests for concise-object rule
# @author <NAME> <http://www.jamund.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/objec... | true | ###*
# @fileoverview Tests for concise-object rule
# @author PI:NAME:<NAME>END_PI <http://www.jamund.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../... |
[
{
"context": "#\n# Configuration:\n# HUBOT_TEAMCITY_USERNAME = <user name>\n# HUBOT_TEAMCITY_PASSWORD = <password>\n# HUB",
"end": 152,
"score": 0.956489086151123,
"start": 143,
"tag": "USERNAME",
"value": "user name"
},
{
"context": "NAME = <user name>\n# HUBOT_TEAMCITY_PASS... | src/scripts/teamcity.coffee | neilprosser/hubot-scripts | 1 | # Description:
# wrapper for TeamCity REST API
#
# Dependencies:
# "underscore": "1.3.3"
#
# Configuration:
# HUBOT_TEAMCITY_USERNAME = <user name>
# HUBOT_TEAMCITY_PASSWORD = <password>
# HUBOT_TEAMCITY_HOSTNAME = <host : port>
#
# Commands:
# hubot show me builds - Show status of currently running builds
... | 90 | # Description:
# wrapper for TeamCity REST API
#
# Dependencies:
# "underscore": "1.3.3"
#
# Configuration:
# HUBOT_TEAMCITY_USERNAME = <user name>
# HUBOT_TEAMCITY_PASSWORD = <<PASSWORD>>
# HUBOT_TEAMCITY_HOSTNAME = <host : port>
#
# Commands:
# hubot show me builds - Show status of currently running build... | true | # Description:
# wrapper for TeamCity REST API
#
# Dependencies:
# "underscore": "1.3.3"
#
# Configuration:
# HUBOT_TEAMCITY_USERNAME = <user name>
# HUBOT_TEAMCITY_PASSWORD = <PI:PASSWORD:<PASSWORD>END_PI>
# HUBOT_TEAMCITY_HOSTNAME = <host : port>
#
# Commands:
# hubot show me builds - Show status of curre... |
[
{
"context": " result, true\n # App.Post.exists authorName: \"David\", (error, result) -> assert.equal result, true\n ",
"end": 535,
"score": 0.9997520446777344,
"start": 530,
"tag": "NAME",
"value": "David"
},
{
"context": " result, true\n # App.Post.exists authorName: \"Ma... | test/cases/model/findersTest.coffee | ludicast/tower | 1 | require '../../config'
moment = require('moment')
describeWith = (store) ->
describe "Tower.Model.Finders (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.Post.store(new store(name: "posts", type: "App.Post"))
App.Post.destroy(done)
afterEach (done) ->
App.Post.destroy(done... | 176614 | require '../../config'
moment = require('moment')
describeWith = (store) ->
describe "Tower.Model.Finders (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.Post.store(new store(name: "posts", type: "App.Post"))
App.Post.destroy(done)
afterEach (done) ->
App.Post.destroy(done... | true | require '../../config'
moment = require('moment')
describeWith = (store) ->
describe "Tower.Model.Finders (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.Post.store(new store(name: "posts", type: "App.Post"))
App.Post.destroy(done)
afterEach (done) ->
App.Post.destroy(done... |
[
{
"context": "earchResult\n model: 'artist',\n id: 'andy-warhol',\n display: 'Andy Warhol',\n label: ",
"end": 6976,
"score": 0.999534010887146,
"start": 6965,
"tag": "USERNAME",
"value": "andy-warhol"
},
{
"context": "st',\n id: 'andy-warhol',\n ... | apps/fair/test/templates.coffee | kanaabe/microgravity | 0 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
Shows = require '../../../collections/shows_feed'
Fair = require '../../../models/fair'
Profile = require '../../../models/profile'
PartnerLocation = require '../../../models/... | 34473 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
Shows = require '../../../collections/shows_feed'
Fair = require '../../../models/fair'
Profile = require '../../../models/profile'
PartnerLocation = require '../../../models/... | true | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
Shows = require '../../../collections/shows_feed'
Fair = require '../../../models/fair'
Profile = require '../../../models/profile'
PartnerLocation = require '../../../models/... |
[
{
"context": "ateTeam = ->\n [ Factory(\"Magikarp\")\n Factory(\"Gyarados\")\n Factory('Hitmonchan')\n Factory(\"Cele",
"end": 322,
"score": 0.5182156562805176,
"start": 318,
"tag": "NAME",
"value": "Gyar"
},
{
"context": "layers.push server.findOrCreateUser(id: 1, name: 'a... | test/server_spec.coffee | sarenji/pokebattle-sim | 5 | require './helpers'
{BattleServer} = require('../server/server')
{Conditions, DEFAULT_FORMAT} = require '../shared/conditions'
{Protocol} = require '../shared/protocol'
{Factory} = require './factory'
alts = require('../server/alts')
should = require('should')
generateTeam = ->
[ Factory("Magikarp")
Factory("Gy... | 57185 | require './helpers'
{BattleServer} = require('../server/server')
{Conditions, DEFAULT_FORMAT} = require '../shared/conditions'
{Protocol} = require '../shared/protocol'
{Factory} = require './factory'
alts = require('../server/alts')
should = require('should')
generateTeam = ->
[ Factory("Magikarp")
Factory("<N... | true | require './helpers'
{BattleServer} = require('../server/server')
{Conditions, DEFAULT_FORMAT} = require '../shared/conditions'
{Protocol} = require '../shared/protocol'
{Factory} = require './factory'
alts = require('../server/alts')
should = require('should')
generateTeam = ->
[ Factory("Magikarp")
Factory("PI... |
[
{
"context": "e based on a Left Leaning Red-Black Tree\n @author Mads Hartmann Jensen (mads379@gmail.com)\n###\n\nmugs.provide(\"mugs.LLRBS",
"end": 144,
"score": 0.9998687505722046,
"start": 124,
"tag": "NAME",
"value": "Mads Hartmann Jensen"
},
{
"context": "ng Red-Black Tree\n @... | src/LLRBSet.coffee | mads-hartmann/mugs | 1 | ###*
@fileoverview Contains the implementation of the Set data structure based on a Left Leaning Red-Black Tree
@author Mads Hartmann Jensen (mads379@gmail.com)
###
mugs.provide("mugs.LLRBSet")
mugs.require("mugs.LLRBNode")
mugs.require("mugs.LLRBLeaf")
mugs.require("mugs.Indexed")
###*
mugs.LLRBSet provides ... | 217511 | ###*
@fileoverview Contains the implementation of the Set data structure based on a Left Leaning Red-Black Tree
@author <NAME> (<EMAIL>)
###
mugs.provide("mugs.LLRBSet")
mugs.require("mugs.LLRBNode")
mugs.require("mugs.LLRBLeaf")
mugs.require("mugs.Indexed")
###*
mugs.LLRBSet provides the implementation of th... | true | ###*
@fileoverview Contains the implementation of the Set data structure based on a Left Leaning Red-Black Tree
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
mugs.provide("mugs.LLRBSet")
mugs.require("mugs.LLRBNode")
mugs.require("mugs.LLRBLeaf")
mugs.require("mugs.Indexed")
###*
mugs.LLRBSet prov... |
[
{
"context": "itialValue = []\n\n func = (ac, v) ->\n key = grouper(v)\n existingGroup = new Linq(ac).FirstOrDefault",
"end": 6826,
"score": 0.8999357223510742,
"start": 6816,
"tag": "KEY",
"value": "grouper(v)"
}
] | src/coffee/linq.coffee | Lxsbw/linqjs | 0 | ###
LINQ to CoffeeScript (Language Integrated Query)
###
class Linq
###
Defaults the elements of the list
###
constructor: (elements) ->
elements = [] if not elements
this._elements = elements
#region Method alias
this.add = this.Add
this.append = this.Append
this.prepend = this.Pr... | 108976 | ###
LINQ to CoffeeScript (Language Integrated Query)
###
class Linq
###
Defaults the elements of the list
###
constructor: (elements) ->
elements = [] if not elements
this._elements = elements
#region Method alias
this.add = this.Add
this.append = this.Append
this.prepend = this.Pr... | true | ###
LINQ to CoffeeScript (Language Integrated Query)
###
class Linq
###
Defaults the elements of the list
###
constructor: (elements) ->
elements = [] if not elements
this._elements = elements
#region Method alias
this.add = this.Add
this.append = this.Append
this.prepend = this.Pr... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nModule = require '../module.coffee'\nLogger = req",
"end": 66,
"score": 0.9999107718467712,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/gui/clock.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
class GUIClock extends Module
@include Logger
logPrefix: 'GUIClock'
seconds: 20
constructor: (game) ->
@game = game
@me = @game.add.group()
@time ... | 113724 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
class GUIClock extends Module
@include Logger
logPrefix: 'GUIClock'
seconds: 20
constructor: (game) ->
@game = game
@me = @game.add.group()
@time = new Phas... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
class GUIClock extends Module
@include Logger
logPrefix: 'GUIClock'
seconds: 20
constructor: (game) ->
@game = game
@me = @game.add.group()
@... |
[
{
"context": " 0\n )\n $scope.pieData.push {key: gettextCatalog.getString(\"Others\"), y: $scope.top.all - topSum}\n",
"end": 3976,
"score": 0.6485809683799744,
"start": 3962,
"tag": "KEY",
"value": "gettextCatalog"
},
{
"context": "\n $scope.pieData.push {ke... | packages/custom/transparency/coffee/public/controllers/topEntriesController.coffee | AnotherCodeArtist/medien-transparenz.at | 3 | 'use strict'
app = angular.module 'mean.transparency'
app.controller 'TopEntriesCtrl', ['$scope', 'TPAService', '$q', '$state','gettextCatalog','$rootScope', 'DTOptionsBuilder', 'DTColumnDefBuilder', 'DTColumnBuilder','$uibModal','$timeout'
($scope, TPAService, $q, $state, gettextCatalog, $rootScope, DTOptionsBuilder,... | 160152 | 'use strict'
app = angular.module 'mean.transparency'
app.controller 'TopEntriesCtrl', ['$scope', 'TPAService', '$q', '$state','gettextCatalog','$rootScope', 'DTOptionsBuilder', 'DTColumnDefBuilder', 'DTColumnBuilder','$uibModal','$timeout'
($scope, TPAService, $q, $state, gettextCatalog, $rootScope, DTOptionsBuilder,... | true | 'use strict'
app = angular.module 'mean.transparency'
app.controller 'TopEntriesCtrl', ['$scope', 'TPAService', '$q', '$state','gettextCatalog','$rootScope', 'DTOptionsBuilder', 'DTColumnDefBuilder', 'DTColumnBuilder','$uibModal','$timeout'
($scope, TPAService, $q, $state, gettextCatalog, $rootScope, DTOptionsBuilder,... |
[
{
"context": "header\",\n credentials:\n key: \"dasdfasdf\"\n algorithm: \"sha256\"\n\n ts: 1",
"end": 476,
"score": 0.9995412230491638,
"start": 467,
"tag": "KEY",
"value": "dasdfasdf"
},
{
"context": "header\",\n credentials:\n ... | deps/npm/node_modules/request/node_modules/hawk/test/crypto.coffee | lxe/io.coffee | 0 | # Load modules
Lab = require("lab")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "Crypto", ->
describe "#generateNormalizedString", ->
it "should r... | 52977 | # Load modules
Lab = require("lab")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "Crypto", ->
describe "#generateNormalizedString", ->
it "should r... | true | # Load modules
Lab = require("lab")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "Crypto", ->
describe "#generateNormalizedString", ->
it "should r... |
[
{
"context": "\n# Helper returns a random key\nrandomKey = () ->\n\trandomString(8)\n\n# Helper returns a random value\nrandomV",
"end": 510,
"score": 0.5568974614143372,
"start": 504,
"tag": "KEY",
"value": "random"
}
] | server/redis/r-timeseries.coffee | willroberts/duelyst | 5 | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
env = config.get("env")
# Helper returns the Redis key prefix
keyPrefix = () ->
return "#{env}:ts:"
# Helper returns a ... | 181414 | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
env = config.get("env")
# Helper returns the Redis key prefix
keyPrefix = () ->
return "#{env}:ts:"
# Helper returns a ... | true | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
env = config.get("env")
# Helper returns the Redis key prefix
keyPrefix = () ->
return "#{env}:ts:"
# Helper returns a ... |
[
{
"context": "\n preventDuplicates: true\n tokenValue: \"pid\"\n onResult: (results) ->\n pidsToFilte",
"end": 326,
"score": 0.9946509003639221,
"start": 323,
"tag": "KEY",
"value": "pid"
}
] | app/assets/javascripts/worthwhile/select_works.js.coffee | flyingzumwalt/worthwhile | 7 | jQuery ->
$('.autocomplete').each( (index, el) ->
$targetElement = $(el)
$targetElement.tokenInput $targetElement.data("url"), {
theme: 'facebook'
prePopulate: $('.autocomplete').data('load')
jsonContainer: "docs"
propertyToSearch: "title"
preventDuplicates: true
tokenValue... | 34572 | jQuery ->
$('.autocomplete').each( (index, el) ->
$targetElement = $(el)
$targetElement.tokenInput $targetElement.data("url"), {
theme: 'facebook'
prePopulate: $('.autocomplete').data('load')
jsonContainer: "docs"
propertyToSearch: "title"
preventDuplicates: true
tokenValue... | true | jQuery ->
$('.autocomplete').each( (index, el) ->
$targetElement = $(el)
$targetElement.tokenInput $targetElement.data("url"), {
theme: 'facebook'
prePopulate: $('.autocomplete').data('load')
jsonContainer: "docs"
propertyToSearch: "title"
preventDuplicates: true
tokenValue... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998876452445984,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/backlog/sortable.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 47087 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "empMeshblu.identity uuid: 'invalid-uuid', token: 'invalid-token'\n @eventForwarder.on 'message', (message) ",
"end": 10093,
"score": 0.7354905605316162,
"start": 10080,
"tag": "KEY",
"value": "invalid-token"
}
] | integration/websocket-forwarder-spec.coffee | CESARBR/knot-cloud-source | 4 | _ = require 'lodash'
path = require 'path'
debug = require('debug')('meshblu:integration:websocket')
MeshbluConfig = require 'meshblu-config'
MeshbluHTTP = require 'meshblu-http'
MeshbluWebsocket = require 'meshblu-websocket'
MeshbluSocketLogic = require 'meshblu'
describe 'WebSocket Forwarder Events', ->
before (do... | 199668 | _ = require 'lodash'
path = require 'path'
debug = require('debug')('meshblu:integration:websocket')
MeshbluConfig = require 'meshblu-config'
MeshbluHTTP = require 'meshblu-http'
MeshbluWebsocket = require 'meshblu-websocket'
MeshbluSocketLogic = require 'meshblu'
describe 'WebSocket Forwarder Events', ->
before (do... | true | _ = require 'lodash'
path = require 'path'
debug = require('debug')('meshblu:integration:websocket')
MeshbluConfig = require 'meshblu-config'
MeshbluHTTP = require 'meshblu-http'
MeshbluWebsocket = require 'meshblu-websocket'
MeshbluSocketLogic = require 'meshblu'
describe 'WebSocket Forwarder Events', ->
before (do... |
[
{
"context": "T')\n events : events\n user : 'contact@courseshark.com'\n data\n\n\n Schedule\n)",
"end": 4848,
"score": 0.9999251365661621,
"start": 4825,
"tag": "EMAIL",
"value": "contact@courseshark.com"
}
] | public/scripts/backbone-schedule/models/schedule.coffee | courseshark/courseshark | 1 | define(['jQuery'
'Underscore'
'Backbone'
'models/model'
'dateFormat'
'collections/schedule-sections'
'models/course'
'models/section'
'text!tmpl/scheduler/schedule/downloads/ics.ejs'], ($, _, Backbone, SharkModel, dateFormat, ScheduleSections, Course, Sect... | 199550 | define(['jQuery'
'Underscore'
'Backbone'
'models/model'
'dateFormat'
'collections/schedule-sections'
'models/course'
'models/section'
'text!tmpl/scheduler/schedule/downloads/ics.ejs'], ($, _, Backbone, SharkModel, dateFormat, ScheduleSections, Course, Sect... | true | define(['jQuery'
'Underscore'
'Backbone'
'models/model'
'dateFormat'
'collections/schedule-sections'
'models/course'
'models/section'
'text!tmpl/scheduler/schedule/downloads/ics.ejs'], ($, _, Backbone, SharkModel, dateFormat, ScheduleSections, Course, Sect... |
[
{
"context": "ount/login', {\n email: email,\n password: password\n }, (err, resp, metaData) =>\n\n if err i",
"end": 1754,
"score": 0.998742938041687,
"start": 1746,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "posted, then edited)\n # See https://g... | src/fleepClient.coffee | jimeh/hubot-fleep | 0 | {EventEmitter} = require 'events'
{TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
WebRequest = require './webRequest'
Util = require './util'
async = require 'async'
S = require 'string'
module.exports = class FleepClient extends EventEmitter
constructor: (@options, @robot) ->
@ticke... | 159648 | {EventEmitter} = require 'events'
{TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
WebRequest = require './webRequest'
Util = require './util'
async = require 'async'
S = require 'string'
module.exports = class FleepClient extends EventEmitter
constructor: (@options, @robot) ->
@ticke... | true | {EventEmitter} = require 'events'
{TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
WebRequest = require './webRequest'
Util = require './util'
async = require 'async'
S = require 'string'
module.exports = class FleepClient extends EventEmitter
constructor: (@options, @robot) ->
@ticke... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author alteredq / ht",
"end": 12,
"score": 0.9160505533218384,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author alteredq / http://",
"end": 17,
"score": 0.... | source/javascripts/new_src/lights/directional.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= require new_src/lights/light
class DirectionalLight extends THREE.Light
constructor: (hex, intensity, distance) ->
super ... | 170878 | # @author mr.<NAME> / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= require new_src/lights/light
class DirectionalLight extends THREE.Light
constructor: (hex, intensity, distance) ->
super hex
@positi... | true | # @author mr.PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= require new_src/lights/light
class DirectionalLight extends THREE.Light
constructor: (hex, intensity, distance)... |
[
{
"context": " @model = new Essence.Models.Timelet\n name: 'Awesome timer'\n duration: 42\n @model.state.running = tr",
"end": 120,
"score": 0.9762643575668335,
"start": 107,
"tag": "NAME",
"value": "Awesome timer"
},
{
"context": "ect(@view.ui.timelets.find('input')).to... | spec/javascripts/modules/timelet/views/composites/timelets_spec.js.coffee | kaethorn/essence | 0 | describe 'Essence.Views.Timelets', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: 'Awesome timer'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@parent = new Essence.Views.TimeletsPanel model: @mod... | 149353 | describe 'Essence.Views.Timelets', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: '<NAME>'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@parent = new Essence.Views.TimeletsPanel model: @model, col... | true | describe 'Essence.Views.Timelets', ->
beforeEach ->
@model = new Essence.Models.Timelet
name: 'PI:NAME:<NAME>END_PI'
duration: 42
@model.state.running = true
@model.state.timer = 10
@collection = new Essence.Collections.Timelets [@model]
@parent = new Essence.Views.TimeletsPanel mode... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9983751177787781,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/cache/singletons.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports =
ModelCache: new (require('./model_cache'))()
QueryCache: new (req... | 19370 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports =
ModelCache: new (require('./model_cache'))()
QueryCache: new (requi... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports =
ModelCache: new (require('./model_cache'))()
QueryCac... |
[
{
"context": ".internode.on.net') ⇒\n# [\n# { type: 'A', addr: '150.101.140.197' }\n# { type: 'A', addr: '216.58.220.100' }\n# ",
"end": 444,
"score": 0.9997532367706299,
"start": 429,
"tag": "IP_ADDRESS",
"value": "150.101.140.197"
},
{
"context": "addr: '150.101.140.197' }\n#... | resolver.coffee | dit4c/designate-rr-monitor | 1 | 'use strict'
_ = require('lodash')
Q = require('q')
dns = require('dns')
class DnsRecord
constructor: (@type, @addr) ->
# Nothing required
resolve = (rrtype) -> (hostname) ->
d = Q.defer()
dns.resolve hostname, rrtype, (err, result) ->
d.resolve(if err then [] else result)
d.promise
eqVal = (r) ->
... | 104347 | 'use strict'
_ = require('lodash')
Q = require('q')
dns = require('dns')
class DnsRecord
constructor: (@type, @addr) ->
# Nothing required
resolve = (rrtype) -> (hostname) ->
d = Q.defer()
dns.resolve hostname, rrtype, (err, result) ->
d.resolve(if err then [] else result)
d.promise
eqVal = (r) ->
... | true | 'use strict'
_ = require('lodash')
Q = require('q')
dns = require('dns')
class DnsRecord
constructor: (@type, @addr) ->
# Nothing required
resolve = (rrtype) -> (hostname) ->
d = Q.defer()
dns.resolve hostname, rrtype, (err, result) ->
d.resolve(if err then [] else result)
d.promise
eqVal = (r) ->
... |
[
{
"context": " companyName: ['Company']\n personName: ['Person']\n website: ['website']\n link: ['ur",
"end": 217,
"score": 0.9972208142280579,
"start": 211,
"tag": "NAME",
"value": "Person"
}
] | lib/services/map.coffee | FranzSkuffka/ner-unifier | 0 | fuzzymap = require 'fuzzymap'
module.exports = (name) ->
map =
emailAddress: ['EmailAddress', 'emailAddress', 'email']
city: ['City']
companyName: ['Company']
personName: ['Person']
website: ['website']
link: ['url']
mapper = fuzzymap.defineMap map
mapper.m... | 189592 | fuzzymap = require 'fuzzymap'
module.exports = (name) ->
map =
emailAddress: ['EmailAddress', 'emailAddress', 'email']
city: ['City']
companyName: ['Company']
personName: ['<NAME>']
website: ['website']
link: ['url']
mapper = fuzzymap.defineMap map
mapper.m... | true | fuzzymap = require 'fuzzymap'
module.exports = (name) ->
map =
emailAddress: ['EmailAddress', 'emailAddress', 'email']
city: ['City']
companyName: ['Company']
personName: ['PI:NAME:<NAME>END_PI']
website: ['website']
link: ['url']
mapper = fuzzymap.defineMap ma... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998461604118347,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/plumbs.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 114141 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "adyPurchased')\n supportEmail: \"<a href='mailto:support@codecombat.com'>support@codecombat.com</a>\"\n }\n\n events:\n '",
"end": 825,
"score": 0.9999265670776367,
"start": 803,
"tag": "EMAIL",
"value": "support@codecombat.com"
},
{
"context": "rtEmail: \"<a hr... | app/views/teachers/PurchaseStarterLicensesModal.coffee | michaelrn/codecombat | 3 | require('app/styles/teachers/purchase-starter-licenses-modal.sass')
ModalView = require 'views/core/ModalView'
State = require 'models/State'
utils = require 'core/utils'
Products = require 'collections/Products'
Prepaids = require 'collections/Prepaids'
stripeHandler = require 'core/services/stripe'
{ STARTER_LICENCE... | 87063 | require('app/styles/teachers/purchase-starter-licenses-modal.sass')
ModalView = require 'views/core/ModalView'
State = require 'models/State'
utils = require 'core/utils'
Products = require 'collections/Products'
Prepaids = require 'collections/Prepaids'
stripeHandler = require 'core/services/stripe'
{ STARTER_LICENCE... | true | require('app/styles/teachers/purchase-starter-licenses-modal.sass')
ModalView = require 'views/core/ModalView'
State = require 'models/State'
utils = require 'core/utils'
Products = require 'collections/Products'
Prepaids = require 'collections/Prepaids'
stripeHandler = require 'core/services/stripe'
{ STARTER_LICENCE... |
[
{
"context": "/01/resizing-images-in-browser-using-canvas.html\n# Patrick Oswald version from comment, coffeescript and further si",
"end": 5566,
"score": 0.9991756677627563,
"start": 5552,
"tag": "NAME",
"value": "Patrick Oswald"
}
] | node_modules/wiki-client/lib/factory.coffee | jpietrok-pnnl/wiki | 0 | # A Factory plugin provides a drop zone for desktop content
# destined to be one or another kind of item. Double click
# will turn it into a normal paragraph.
neighborhood = require './neighborhood'
plugin = require './plugin'
resolve = require './resolve'
pageHandler = require './pageHandler'
editor = require './edit... | 81096 | # A Factory plugin provides a drop zone for desktop content
# destined to be one or another kind of item. Double click
# will turn it into a normal paragraph.
neighborhood = require './neighborhood'
plugin = require './plugin'
resolve = require './resolve'
pageHandler = require './pageHandler'
editor = require './edit... | true | # A Factory plugin provides a drop zone for desktop content
# destined to be one or another kind of item. Double click
# will turn it into a normal paragraph.
neighborhood = require './neighborhood'
plugin = require './plugin'
resolve = require './resolve'
pageHandler = require './pageHandler'
editor = require './edit... |
[
{
"context": "\n###\nCopyright (C) 2012, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 37,
"score": 0.9998344779014587,
"start": 25,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(l... | METEOR-OLD/client/16-ast.coffee | zot/Leisure | 58 |
###
Copyright (C) 2012, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to any... | 209297 |
###
Copyright (C) 2012, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to... | true |
###
Copyright (C) 2012, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is grante... |
[
{
"context": "ubject: 'Invitation to Stitch',\n\t\t\t\t\tfrom_email: 'support@teamstitch.com',\n\t\t\t\t\tfrom_name: 'Stitch',\n\t\t\t\t\t\"to\": [{\"email\":",
"end": 403,
"score": 0.9999223947525024,
"start": 381,
"tag": "EMAIL",
"value": "support@teamstitch.com"
},
{
"context": "e... | packages/rocketchat-lib/server/methods/sendInvitationEmail.coffee | akio46/Stitch | 0 | Meteor.methods
sendInvitationEmail: (emails) ->
if not Meteor.userId()
throw new Meteor.Error 'invalid-user', "[methods] sendInvitationEmail -> Invalid user"
for email in emails
Mandrill.messages.sendTemplate({
"template_name": "meteor-introduction-to-stitch",
"template_content": [{}],
"message... | 120207 | Meteor.methods
sendInvitationEmail: (emails) ->
if not Meteor.userId()
throw new Meteor.Error 'invalid-user', "[methods] sendInvitationEmail -> Invalid user"
for email in emails
Mandrill.messages.sendTemplate({
"template_name": "meteor-introduction-to-stitch",
"template_content": [{}],
"message... | true | Meteor.methods
sendInvitationEmail: (emails) ->
if not Meteor.userId()
throw new Meteor.Error 'invalid-user', "[methods] sendInvitationEmail -> Invalid user"
for email in emails
Mandrill.messages.sendTemplate({
"template_name": "meteor-introduction-to-stitch",
"template_content": [{}],
"message... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993084073066711,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-reconnect-error.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 93425 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "ystem = require(\"system\")\r\nenv = system.env\r\nkey = undefined\r\nfor key of env\r\n console.log key + \"=\" + env[ke",
"end": 61,
"score": 0.6303043961524963,
"start": 52,
"tag": "KEY",
"value": "undefined"
}
] | node_modules/phantomjs/lib/phantom/examples/printenv.coffee | sigilworks/mysweeper | 4 | system = require("system")
env = system.env
key = undefined
for key of env
console.log key + "=" + env[key] if env.hasOwnProperty(key)
phantom.exit() | 52492 | system = require("system")
env = system.env
key = <KEY>
for key of env
console.log key + "=" + env[key] if env.hasOwnProperty(key)
phantom.exit() | true | system = require("system")
env = system.env
key = PI:KEY:<KEY>END_PI
for key of env
console.log key + "=" + env[key] if env.hasOwnProperty(key)
phantom.exit() |
[
{
"context": " @registerCommand 'setusername', ownerOptions, @setusernameFunc\n @registerCommand 'blacklist', ownerOptions, @",
"end": 958,
"score": 0.8278089165687561,
"start": 943,
"tag": "USERNAME",
"value": "setusernameFunc"
},
{
"context": "iff\n ... | modules/admin/index.coffee | Caydeh/xde | 0 | reload = require('require-reload')(require)
childProcess = require 'child_process'
os = require 'os'
request = require 'request'
Blacklist = reload './blacklist'
class AdminModule extends BotModule
init: =>
{ @permissions } = @engine
@blacklist = new Blacklist
@blacklist.init()
# Admin Commands
a... | 67299 | reload = require('require-reload')(require)
childProcess = require 'child_process'
os = require 'os'
request = require 'request'
Blacklist = reload './blacklist'
class AdminModule extends BotModule
init: =>
{ @permissions } = @engine
@blacklist = new Blacklist
@blacklist.init()
# Admin Commands
a... | true | reload = require('require-reload')(require)
childProcess = require 'child_process'
os = require 'os'
request = require 'request'
Blacklist = reload './blacklist'
class AdminModule extends BotModule
init: =>
{ @permissions } = @engine
@blacklist = new Blacklist
@blacklist.init()
# Admin Commands
a... |
[
{
"context": "ire 'pubnub'\n\npubnub = PUBNUB.init\n\tpublish_key: 'pub-c-84f589ef-0369-4651-8efd-74ae5a369e4f'\n\tsubscribe_key: 'sub-c-188dbfd8-32a0-11e3-a365-0",
"end": 340,
"score": 0.9997707009315491,
"start": 298,
"tag": "KEY",
"value": "pub-c-84f589ef-0369-4651-8efd-74ae5a369e4f"
},... | index.coffee | waltzio/cy | 1 | global.configs = require './configs'
global.mongoose = require 'mongoose'
session = require './lib/session'
api = require 'simple-api'
fs = require 'fs'
url = require 'url'
request = require 'request'
formidable = require 'formidable'
PUBNUB = require 'pubnub'
pubnub = PUBNUB.init
publish_key: 'pub-c-84f589ef-0369-46... | 165004 | global.configs = require './configs'
global.mongoose = require 'mongoose'
session = require './lib/session'
api = require 'simple-api'
fs = require 'fs'
url = require 'url'
request = require 'request'
formidable = require 'formidable'
PUBNUB = require 'pubnub'
pubnub = PUBNUB.init
publish_key: '<KEY>'
subscribe_key:... | true | global.configs = require './configs'
global.mongoose = require 'mongoose'
session = require './lib/session'
api = require 'simple-api'
fs = require 'fs'
url = require 'url'
request = require 'request'
formidable = require 'formidable'
PUBNUB = require 'pubnub'
pubnub = PUBNUB.init
publish_key: 'PI:KEY:<KEY>END_PI'
s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.