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": "ta =\n title: 'Test Email Job'\n to: 'tj@learnboost.com'\n job = jobs.create('email-to-be-saved', job",
"end": 667,
"score": 0.9999213218688965,
"start": 650,
"tag": "EMAIL",
"value": "tj@learnboost.com"
},
{
"context": "=\n title: 'Test worker... | test/test.coffee | Incognito/kue-no-website-fork | 0 | kue = require '../'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach (done) ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
done()
afterEach (done) ->
onShutdown = (err) ->
done(err)
jobs.shutdown 50, onShutdown
# before (done) ->
# jobs = kue.... | 102975 | kue = require '../'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach (done) ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
done()
afterEach (done) ->
onShutdown = (err) ->
done(err)
jobs.shutdown 50, onShutdown
# before (done) ->
# jobs = kue.... | true | kue = require '../'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach (done) ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
done()
afterEach (done) ->
onShutdown = (err) ->
done(err)
jobs.shutdown 50, onShutdown
# before (done) ->
# jobs = kue.... |
[
{
"context": " true\n @patient = collection.findWhere(first: 'GP_Peds', last: 'A')\n\n it 'has basic attributes availabl",
"end": 185,
"score": 0.9784777164459229,
"start": 178,
"tag": "NAME",
"value": "GP_Peds"
},
{
"context": "t = collection.findWhere(first: 'GP_Peds', last: 'A... | spec/javascripts/models/patient_spec.js.coffee | okeefm/bonnie | 0 | describe 'Patient', ->
beforeEach ->
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: 'GP_Peds', last: 'A')
it 'has basic attributes available', ->
expect(@patient.get('gender')).toEqual 'F'
it 'correctly performs deep ... | 135273 | describe 'Patient', ->
beforeEach ->
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: '<NAME>', last: '<NAME>')
it 'has basic attributes available', ->
expect(@patient.get('gender')).toEqual 'F'
it 'correctly performs d... | true | describe 'Patient', ->
beforeEach ->
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: 'PI:NAME:<NAME>END_PI', last: 'PI:NAME:<NAME>END_PI')
it 'has basic attributes available', ->
expect(@patient.get('gender')).toEqual 'F'... |
[
{
"context": " response:\n authResponse:\n accessToken: 'aksdhjflkqjrj245234b52k345q344le4j4k5l45j45s4dkljvdaskl'\n userID: '4301938'\n expiresIn: 5138\n ",
"end": 187,
"score": 0.999549925327301,
"start": 132,
"tag": "KEY",
"value": "aksdhjflkqjrj245234b52k345q344le4j4k5... | test/app/core/social-handlers/FacebookHandler.spec.coffee | ThatOtherPerson/codecombat | 1 | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: 'aksdhjflkqjrj245234b52k345q344le4j4k5l45j45s4dkljvdaskl'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
# Whate... | 186640 | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: '<KEY>'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
# Whatev, it's all public info anyway
mockMe =
id: '430... | true | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: 'PI:KEY:<KEY>END_PI'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
# Whatev, it's all public info anyway
mockMe... |
[
{
"context": "e Data to the API', (done)=>\n o = \n name:\"Fantastic Rubber Shirt\"\n description:\"embrace ",
"end": 1225,
"score": 0.7354215979576111,
"start": 1224,
"tag": "NAME",
"value": "F"
}
] | test/server/node_modules/api-hero/node_modules/rikki-tikki-client/test/_bak/Models.coffee | vancarney/apihero-module-socket.io | 0 | (chai = require 'chai').should()
_ = (require 'underscore')._
test = (RikkiTikki = require('../index').RikkiTikki).createScope 'test'
# # child_process = require 'child_process'
# # proc = child_process.spawn 'node', ['./scripts/server']
# test.env = 'development'
# fun = (val... | 113104 | (chai = require 'chai').should()
_ = (require 'underscore')._
test = (RikkiTikki = require('../index').RikkiTikki).createScope 'test'
# # child_process = require 'child_process'
# # proc = child_process.spawn 'node', ['./scripts/server']
# test.env = 'development'
# fun = (val... | true | (chai = require 'chai').should()
_ = (require 'underscore')._
test = (RikkiTikki = require('../index').RikkiTikki).createScope 'test'
# # child_process = require 'child_process'
# # proc = child_process.spawn 'node', ['./scripts/server']
# test.env = 'development'
# fun = (val... |
[
{
"context": "d document\n # 'geo'\n # # https://github.com/joelmoss/bitmask_attributes\n # 'bitmask' == enumerable ",
"end": 464,
"score": 0.9992046356201172,
"start": 456,
"tag": "USERNAME",
"value": "joelmoss"
},
{
"context": " @owner = owner\n @name =... | node_modules/tower/packages/tower-model/shared/attribute.coffee | MagicPower2/Power | 1 | _ = Tower._
# @todo needs lots of refactoring
class Tower.ModelAttribute
# @example Datatypes
# 'boolean'
# 'integer'
# 'decimal' (double)
# 'long' (double)
# 'bigint'
# 'float'
# 'date'
# 'time'
# 'datetime'
# 'timestamp'
# 'string'
# 'text'
# 'binary'
# 'obje... | 27613 | _ = Tower._
# @todo needs lots of refactoring
class Tower.ModelAttribute
# @example Datatypes
# 'boolean'
# 'integer'
# 'decimal' (double)
# 'long' (double)
# 'bigint'
# 'float'
# 'date'
# 'time'
# 'datetime'
# 'timestamp'
# 'string'
# 'text'
# 'binary'
# 'obje... | true | _ = Tower._
# @todo needs lots of refactoring
class Tower.ModelAttribute
# @example Datatypes
# 'boolean'
# 'integer'
# 'decimal' (double)
# 'long' (double)
# 'bigint'
# 'float'
# 'date'
# 'time'
# 'datetime'
# 'timestamp'
# 'string'
# 'text'
# 'binary'
# 'obje... |
[
{
"context": "# set preferences\noption =\n fontName : 'Futura'\n fontSize : 18 # scales the ",
"end": 144,
"score": 0.5652260780334473,
"start": 141,
"tag": "NAME",
"value": "Fut"
}
] | moon-phase.widget/index.coffee | joecreighton/moon-phase | 3 |
# please set locale
locale =
city : 'Houston'
region : 'TX'
# set preferences
option =
fontName : 'Futura'
fontSize : 18 # scales the overall widget size
fontColor : '#FFF' #
fontColorMuted : '#FFF' # for RUS label; at 50% opacity
iconS... | 64052 |
# please set locale
locale =
city : 'Houston'
region : 'TX'
# set preferences
option =
fontName : '<NAME>ura'
fontSize : 18 # scales the overall widget size
fontColor : '#FFF' #
fontColorMuted : '#FFF' # for RUS label; at 50% opacity
ic... | true |
# please set locale
locale =
city : 'Houston'
region : 'TX'
# set preferences
option =
fontName : 'PI:NAME:<NAME>END_PIura'
fontSize : 18 # scales the overall widget size
fontColor : '#FFF' #
fontColorMuted : '#FFF' # for RUS label; at 50%... |
[
{
"context": "urn res.send 404 unless req.param('password') is 'moonset'\n spawnJob \"make \" + req.param('task')\n res",
"end": 439,
"score": 0.9981269836425781,
"start": 432,
"tag": "PASSWORD",
"value": "moonset"
}
] | routes/index.coffee | craigspaeth/nfd-api | 0 | Listings = require '../dal/listings'
{ spawnJob } = require '../lib/cron'
module.exports =
'GET /':
cb: (req, res) ->
Listings.countBad (err, badCount, total) ->
Listings.sourcesHash (err, sourcesHash) ->
res.render 'index',
badCount: badCount
sourcesHash: sourcesHash
... | 198417 | Listings = require '../dal/listings'
{ spawnJob } = require '../lib/cron'
module.exports =
'GET /':
cb: (req, res) ->
Listings.countBad (err, badCount, total) ->
Listings.sourcesHash (err, sourcesHash) ->
res.render 'index',
badCount: badCount
sourcesHash: sourcesHash
... | true | Listings = require '../dal/listings'
{ spawnJob } = require '../lib/cron'
module.exports =
'GET /':
cb: (req, res) ->
Listings.countBad (err, badCount, total) ->
Listings.sourcesHash (err, sourcesHash) ->
res.render 'index',
badCount: badCount
sourcesHash: sourcesHash
... |
[
{
"context": " the spreadsheet', (done) ->\n\n spreadsheetKey = '12-n-xlzFlT3T1dScfaI7a7ZnhEILbtSCjXSNKbfLJEI'\n\n fakeGdoc = {\n 'Definition': {indicator: 'D",
"end": 535,
"score": 0.9997817277908325,
"start": 491,
"tag": "KEY",
"value": "12-n-xlzFlT3T1dScfaI7a7ZnhEILbtSCjXSNKbfLJEI"
... | server/test/units/gdoc_indicator_importer.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
GDocIndicatorImporter = require '../../lib/gdoc_indicator_importer'
GDocWrapper = require '../../lib/gdoc_wrapper'
Indicator = require('../../models/indicator').model
suite('GdocIndicatorImporter')
tes... | 204144 | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
GDocIndicatorImporter = require '../../lib/gdoc_indicator_importer'
GDocWrapper = require '../../lib/gdoc_wrapper'
Indicator = require('../../models/indicator').model
suite('GdocIndicatorImporter')
tes... | true | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
GDocIndicatorImporter = require '../../lib/gdoc_indicator_importer'
GDocWrapper = require '../../lib/gdoc_wrapper'
Indicator = require('../../models/indicator').model
suite('GdocIndicatorImporter')
tes... |
[
{
"context": "($, React) ->\n\n GITHUB_URL = \"https://github.com/geekjuice\"\n\n FooterElement = React.createClass\n\n render",
"end": 91,
"score": 0.9971712827682495,
"start": 82,
"tag": "USERNAME",
"value": "geekjuice"
},
{
"context": "hearts; by <a href={ GITHUB_URL } target... | src/frontend/js/elements/footer.cjsx | geekjuice/StahkPhotos | 8 | define [
'zepto'
'react'
], ($, React) ->
GITHUB_URL = "https://github.com/geekjuice"
FooterElement = React.createClass
render: ->
<footer>
made with ♥ by <a href={ GITHUB_URL } target="_blank">Nicholas Hwang</a>
</footer>
| 69259 | define [
'zepto'
'react'
], ($, React) ->
GITHUB_URL = "https://github.com/geekjuice"
FooterElement = React.createClass
render: ->
<footer>
made with ♥ by <a href={ GITHUB_URL } target="_blank"><NAME></a>
</footer>
| true | define [
'zepto'
'react'
], ($, React) ->
GITHUB_URL = "https://github.com/geekjuice"
FooterElement = React.createClass
render: ->
<footer>
made with ♥ by <a href={ GITHUB_URL } target="_blank">PI:NAME:<NAME>END_PI</a>
</footer>
|
[
{
"context": "set credentials on login', ->\n username = \"test\"\n password = \"secret\"\n authData = @",
"end": 494,
"score": 0.9981273412704468,
"start": 490,
"tag": "USERNAME",
"value": "test"
},
{
"context": " ->\n username = \"test\"\n passwor... | app/components/user/service-test.coffee | vidatio/web-app | 0 | describe "Service User", ->
beforeEach ->
module "app"
inject (UserService, $rootScope, Base64, $http) ->
@rootScope = $rootScope
@UserService = UserService
@Base64 = Base64
@http = $http
@http.defaults.headers.common["Authorization"] = "... | 205468 | describe "Service User", ->
beforeEach ->
module "app"
inject (UserService, $rootScope, Base64, $http) ->
@rootScope = $rootScope
@UserService = UserService
@Base64 = Base64
@http = $http
@http.defaults.headers.common["Authorization"] = "... | true | describe "Service User", ->
beforeEach ->
module "app"
inject (UserService, $rootScope, Base64, $http) ->
@rootScope = $rootScope
@UserService = UserService
@Base64 = Base64
@http = $http
@http.defaults.headers.common["Authorization"] = "... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\nnew BackgroundLa",
"end": 146,
"score": 0.9994534254074097,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 69loops.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#fff"
Framer.Defaults.Animation = curve: "ease-in-out", time: 0.25
thumbnails = []
textStyle =
font... | 5020 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#fff"
Framer.Defaults.Animation = curve: "ease-in-out", time: 0.25
thumbnails = []
textStyle =
fo... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#fff"
Framer.Defaults.Animation = curve: "ease-in-out", time: 0.25
thumbnails = []
tex... |
[
{
"context": "onstructor: ->\n Users.refresh [\n { jid : \"ben@diaspora-x.com\" },\n { jid : \"joe@diaspora-x.com\" }\n ]\n\nt",
"end": 90,
"score": 0.9999278783798218,
"start": 72,
"tag": "EMAIL",
"value": "ben@diaspora-x.com"
},
{
"context": " { jid : \"ben@diaspo... | test/fixtures/user_fixtures.coffee | bnolan/diaspora-x2 | 7 | class UserFixtures
constructor: ->
Users.refresh [
{ jid : "ben@diaspora-x.com" },
{ jid : "joe@diaspora-x.com" }
]
this.UserFixtures = UserFixtures | 206052 | class UserFixtures
constructor: ->
Users.refresh [
{ jid : "<EMAIL>" },
{ jid : "<EMAIL>" }
]
this.UserFixtures = UserFixtures | true | class UserFixtures
constructor: ->
Users.refresh [
{ jid : "PI:EMAIL:<EMAIL>END_PI" },
{ jid : "PI:EMAIL:<EMAIL>END_PI" }
]
this.UserFixtures = UserFixtures |
[
{
"context": "atal\n# Bootstrap ClojureScript React Native apps\n# Dan Motzenbecker\n# http://oxism.com\n# MIT License\n\nfs = requi",
"end": 73,
"score": 0.9998653531074524,
"start": 57,
"tag": "NAME",
"value": "Dan Motzenbecker"
},
{
"context": "->\n allowedTypes = {'real': '... | re-natal.coffee | solidfox/re-natal | 1,375 | # Re-Natal
# Bootstrap ClojureScript React Native apps
# Dan Motzenbecker
# http://oxism.com
# MIT License
fs = require 'fs-extra'
klawSync = require 'klaw-sync'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require 'co... | 153748 | # Re-Natal
# Bootstrap ClojureScript React Native apps
# <NAME>
# http://oxism.com
# MIT License
fs = require 'fs-extra'
klawSync = require 'klaw-sync'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require 'commander'
c... | true | # Re-Natal
# Bootstrap ClojureScript React Native apps
# PI:NAME:<NAME>END_PI
# http://oxism.com
# MIT License
fs = require 'fs-extra'
klawSync = require 'klaw-sync'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require... |
[
{
"context": "rcentage: 0\n vat_percentage: 20\n company_name: 'Toggl OÜ'\n company_address: 'Rävala 8'\n contact_person: ",
"end": 406,
"score": 0.9996671676635742,
"start": 398,
"tag": "NAME",
"value": "Toggl OÜ"
}
] | testdata/test_payment.coffee | meeDamian/toggl-pdf | 1 | Payment = require '../app/payment'
fs = require 'fs'
payment = new Payment
id: 4813834924847959
description: 'Description'
amount_in_usd: 135
subscription_from: '04/11/2012'
subscription_to: '05/10/2012'
users_in_workspace: 5
captured_at: '04/11/2012'
profile: 13
cancelled_at: null
created_at: 'Oct... | 50356 | Payment = require '../app/payment'
fs = require 'fs'
payment = new Payment
id: 4813834924847959
description: 'Description'
amount_in_usd: 135
subscription_from: '04/11/2012'
subscription_to: '05/10/2012'
users_in_workspace: 5
captured_at: '04/11/2012'
profile: 13
cancelled_at: null
created_at: 'Oct... | true | Payment = require '../app/payment'
fs = require 'fs'
payment = new Payment
id: 4813834924847959
description: 'Description'
amount_in_usd: 135
subscription_from: '04/11/2012'
subscription_to: '05/10/2012'
users_in_workspace: 5
captured_at: '04/11/2012'
profile: 13
cancelled_at: null
created_at: 'Oct... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\nroot = exports ? ",
"end": 36,
"score": 0.9998863935470581,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/src/m26_speed.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
root = exports ? this
class Speed
constructor: (d, et) ->
[@d, @et] = [d, et]
mph: ->
@d.as_miles() / @et.hours()
kph: ->
@d.as_kilometers() / @et.hours()
yph: ->
@d.as_yards() / @et.hours()
pace_per_mile: ->
spm = ... | 99510 | # Copyright 2015, <NAME> <<EMAIL>>
root = exports ? this
class Speed
constructor: (d, et) ->
[@d, @et] = [d, et]
mph: ->
@d.as_miles() / @et.hours()
kph: ->
@d.as_kilometers() / @et.hours()
yph: ->
@d.as_yards() / @et.hours()
pace_per_mile: ->
spm = @seconds_per_mile()
mm = Mat... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
root = exports ? this
class Speed
constructor: (d, et) ->
[@d, @et] = [d, et]
mph: ->
@d.as_miles() / @et.hours()
kph: ->
@d.as_kilometers() / @et.hours()
yph: ->
@d.as_yards() / @et.hours()
pace_per_mile: ->
spm = @sec... |
[
{
"context": "push\n id: uniqueId()\n name: 'gini'\n caption: 'Gini'\n type: 'float'\n read: (metrics) -> +metrics.au",
"end": 1591,
"score": 0.5834410190582275,
"start": 1588,
"tag": "NAME",
"value": "ini"
}
] | h2o-web/src/main/steam/scripts/scoring-sheet-view.coffee | My-Technical-Architect/h2o-3 | 1 | format4f = unless exports? then d3.format '.4f' else null
metricCriteria = [
key: 'maximum F1'
caption: 'Max F1'
,
key: 'maximum F2'
caption: 'Max F2'
,
key: 'maximum F0point5'
caption: 'Max F0.5'
,
key: 'maximum Accuracy'
caption: 'Max Accuracy'
,
key: 'maximum Precision'
caption: 'Max Precision'
... | 3729 | format4f = unless exports? then d3.format '.4f' else null
metricCriteria = [
key: 'maximum F1'
caption: 'Max F1'
,
key: 'maximum F2'
caption: 'Max F2'
,
key: 'maximum F0point5'
caption: 'Max F0.5'
,
key: 'maximum Accuracy'
caption: 'Max Accuracy'
,
key: 'maximum Precision'
caption: 'Max Precision'
... | true | format4f = unless exports? then d3.format '.4f' else null
metricCriteria = [
key: 'maximum F1'
caption: 'Max F1'
,
key: 'maximum F2'
caption: 'Max F2'
,
key: 'maximum F0point5'
caption: 'Max F0.5'
,
key: 'maximum Accuracy'
caption: 'Max Accuracy'
,
key: 'maximum Precision'
caption: 'Max Precision'
... |
[
{
"context": " id: 2\n scoped_records: [{ id: 2, name: 'Peter' }]\n }, ->\n\n User.update(id: 2, name: 'Pe",
"end": 166,
"score": 0.9997251033782959,
"start": 161,
"tag": "NAME",
"value": "Peter"
},
{
"context": "er' }]\n }, ->\n\n User.update(id: 2, name: 'P... | spec/crud/update.coffee | EduardoluizSanBlasDeveloper0/ROR-crud-example | 506 | describe '#update', ->
it 'should update a record and return it', ->
stubResponse {
success: true
id: 2
scoped_records: [{ id: 2, name: 'Peter' }]
}, ->
User.update(id: 2, name: 'Peter').then (user) ->
expect(user).to.eql(id: 2, name: 'Peter')
| 71243 | describe '#update', ->
it 'should update a record and return it', ->
stubResponse {
success: true
id: 2
scoped_records: [{ id: 2, name: '<NAME>' }]
}, ->
User.update(id: 2, name: '<NAME>').then (user) ->
expect(user).to.eql(id: 2, name: '<NAME>')
| true | describe '#update', ->
it 'should update a record and return it', ->
stubResponse {
success: true
id: 2
scoped_records: [{ id: 2, name: 'PI:NAME:<NAME>END_PI' }]
}, ->
User.update(id: 2, name: 'PI:NAME:<NAME>END_PI').then (user) ->
expect(user).to.eql(id: 2, name: 'PI:NAME:<NA... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7775594592094421,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/st/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/st_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"
... | 189161 | bcv_parser = require("../../js/st_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/st_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": "###\n# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob\n# Apache2 Licensed\n###\n\n# Dependencies\nE",
"end": 48,
"score": 0.9998809695243835,
"start": 24,
"tag": "NAME",
"value": "Juliano Jorge Lazzarotto"
},
{
"context": "#\n# Copyright(c) 2015 Juliano Jorge Lazza... | src/Watcher.coffee | s2way/watcher | 0 | ###
# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob
# Apache2 Licensed
###
# Dependencies
Exceptions = require 'exception'
Rules = require 'rules'
events = require 'events'
http = require 'http'
class Watcher
@NAME: 'name'
@RUN: 'run'
@STOP: 'stop'
@INIT: 'init'
@INTERVAL: 'interval'
@T... | 195388 | ###
# Copyright(c) 2015 <NAME> aka dOob
# Apache2 Licensed
###
# Dependencies
Exceptions = require 'exception'
Rules = require 'rules'
events = require 'events'
http = require 'http'
class Watcher
@NAME: 'name'
@RUN: 'run'
@STOP: 'stop'
@INIT: 'init'
@INTERVAL: 'interval'
@TIMEOUT: 'timeout'
... | true | ###
# Copyright(c) 2015 PI:NAME:<NAME>END_PI aka dOob
# Apache2 Licensed
###
# Dependencies
Exceptions = require 'exception'
Rules = require 'rules'
events = require 'events'
http = require 'http'
class Watcher
@NAME: 'name'
@RUN: 'run'
@STOP: 'stop'
@INIT: 'init'
@INTERVAL: 'interval'
@TIMEO... |
[
{
"context": "f '/'\n repo += '/theoricus'\n\n repo = \"git@github.com:#{repo}\"\n\n # default branch = master\n i",
"end": 1214,
"score": 0.9581193923950195,
"start": 1200,
"tag": "EMAIL",
"value": "git@github.com"
}
] | cli/src/commands/new_project.coffee | theoricus/theoricus | 2 | fs = require 'fs'
path = require 'path'
pn = path.normalize
exec = (require "child_process").exec
spawn = (require "child_process").spawn
module.exports = class NewProject
constructor:( @the, @cli )->
if @cli.argv.new is true
console.log "ERROR".bold.red + " You must specify a name for your project"
... | 87211 | fs = require 'fs'
path = require 'path'
pn = path.normalize
exec = (require "child_process").exec
spawn = (require "child_process").spawn
module.exports = class NewProject
constructor:( @the, @cli )->
if @cli.argv.new is true
console.log "ERROR".bold.red + " You must specify a name for your project"
... | true | fs = require 'fs'
path = require 'path'
pn = path.normalize
exec = (require "child_process").exec
spawn = (require "child_process").spawn
module.exports = class NewProject
constructor:( @the, @cli )->
if @cli.argv.new is true
console.log "ERROR".bold.red + " You must specify a name for your project"
... |
[
{
"context": "###\nBased on https://github.com/egermano/twitter-highlights-js\n* @author Bruno Germano\n* @",
"end": 40,
"score": 0.9996272325515747,
"start": 32,
"tag": "USERNAME",
"value": "egermano"
},
{
"context": "ithub.com/egermano/twitter-highlights-js\n* @author Bruno Germano... | app/assets/javascripts/templates/helpers/highlighttwitter.coffee | uhh-lt/NoDWeb | 0 | ###
Based on https://github.com/egermano/twitter-highlights-js
* @author Bruno Germano
* @file twitter-parsing.js
* @dependecies none
###
define 'templates/helpers/highlighttwitter', ['Handlebars'], (Handlebars) ->
highlighttwitter = (context, options) ->
toLink = (caption, target, opt) ->
aux = ""
if !opt
... | 144513 | ###
Based on https://github.com/egermano/twitter-highlights-js
* @author <NAME>
* @file twitter-parsing.js
* @dependecies none
###
define 'templates/helpers/highlighttwitter', ['Handlebars'], (Handlebars) ->
highlighttwitter = (context, options) ->
toLink = (caption, target, opt) ->
aux = ""
if !opt
l = "<... | true | ###
Based on https://github.com/egermano/twitter-highlights-js
* @author PI:NAME:<NAME>END_PI
* @file twitter-parsing.js
* @dependecies none
###
define 'templates/helpers/highlighttwitter', ['Handlebars'], (Handlebars) ->
highlighttwitter = (context, options) ->
toLink = (caption, target, opt) ->
aux = ""
if !... |
[
{
"context": " if @get('username')? && !@get('username').match(/guestuser.[a-zA-Z0-9]{4}/i) && !@get('username').match(/bot",
"end": 4308,
"score": 0.9912872910499573,
"start": 4299,
"tag": "USERNAME",
"value": "guestuser"
},
{
"context": " and cannot contain spaces\"))\n @set('us... | database/models/user.coffee | towerstorm/game | 11 | util = require("util")
rs = require 'randomstring'
_ = require 'lodash'
authConfig = require('config/auth')
userRoles = authConfig.userRoles
userRolesAdvanced = authConfig.userRolesAdvanced
accessLevels = authConfig.accessLevels;
uuid = require('node-uuid')
schemas = _.clone(require('config/schemas'))
async = require '... | 154718 | util = require("util")
rs = require 'randomstring'
_ = require 'lodash'
authConfig = require('config/auth')
userRoles = authConfig.userRoles
userRolesAdvanced = authConfig.userRolesAdvanced
accessLevels = authConfig.accessLevels;
uuid = require('node-uuid')
schemas = _.clone(require('config/schemas'))
async = require '... | true | util = require("util")
rs = require 'randomstring'
_ = require 'lodash'
authConfig = require('config/auth')
userRoles = authConfig.userRoles
userRolesAdvanced = authConfig.userRolesAdvanced
accessLevels = authConfig.accessLevels;
uuid = require('node-uuid')
schemas = _.clone(require('config/schemas'))
async = require '... |
[
{
"context": "if module is require.main then do =>\n\n text = \"\"\"Hercules (/ˈhɜːrkjuliːz, -jə-/) is a Roman hero and god. H",
"end": 7536,
"score": 0.9452152252197266,
"start": 7528,
"tag": "NAME",
"value": "Hercules"
},
{
"context": " and the mortal Alcmene. In\n classical myth... | dev/intertext/src/demo-slab-based-typesetting.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERTEXT/DEMO-SLAB-BASED-TYPESETTING'
debug = CND.get_l... | 41090 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERTEXT/DEMO-SLAB-BASED-TYPESETTING'
debug = CND.get_l... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERTEXT/DEMO-SLAB-BASED-TYPESETTING'
debug = CND.get_l... |
[
{
"context": "ectPath = (key)->\n return true unless key is \"navigated\"\n\n {router} = kd.singletons\n {section, name",
"end": 2525,
"score": 0.9520788192749023,
"start": 2516,
"tag": "KEY",
"value": "navigated"
},
{
"context": "= options\n\n prefetchedKey = if mostLik... | client/activity/lib/index.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
ActivityAppView = require './activityappview'
ActivityFlux = require 'activity/flux'
globals = require 'globals'
getGroup = require 'app/util/getGroup'
isKoding = require 'app/util/isKoding'
AppController ... | 104626 | kd = require 'kd'
ActivityAppView = require './activityappview'
ActivityFlux = require 'activity/flux'
globals = require 'globals'
getGroup = require 'app/util/getGroup'
isKoding = require 'app/util/isKoding'
AppController ... | true | kd = require 'kd'
ActivityAppView = require './activityappview'
ActivityFlux = require 'activity/flux'
globals = require 'globals'
getGroup = require 'app/util/getGroup'
isKoding = require 'app/util/isKoding'
AppController ... |
[
{
"context": "_ID_LENGTH = 7\n\nfirebase.initializeApp\n apiKey: \"AIzaSyBsjSVy449KcL1L4u62uH58hWq8pRIOPik\",\n authDomain: \"markato-42764.firebaseapp.com\",\n",
"end": 508,
"score": 0.9997691512107849,
"start": 469,
"tag": "KEY",
"value": "AIzaSyBsjSVy449KcL1L4u62uH58hWq8pRIOPik"
}
] | public/scripts/main.cjsx | markato/markato.github.io | 21 | window.$ = window.jQuery = require 'jquery'
React = require 'react'
ReactDOM = require 'react-dom'
queryString = require 'query-string'
MarkatoPage = require './MarkatoPage'
Loading = require './Loading'
firebase = require 'firebase/app'
storageModule = require './storage'
require 'object-assign-shim'
require 'firebas... | 55925 | window.$ = window.jQuery = require 'jquery'
React = require 'react'
ReactDOM = require 'react-dom'
queryString = require 'query-string'
MarkatoPage = require './MarkatoPage'
Loading = require './Loading'
firebase = require 'firebase/app'
storageModule = require './storage'
require 'object-assign-shim'
require 'firebas... | true | window.$ = window.jQuery = require 'jquery'
React = require 'react'
ReactDOM = require 'react-dom'
queryString = require 'query-string'
MarkatoPage = require './MarkatoPage'
Loading = require './Loading'
firebase = require 'firebase/app'
storageModule = require './storage'
require 'object-assign-shim'
require 'firebas... |
[
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict'\n\nexpect = (",
"end": 34,
"score": 0.9998644590377808,
"start": 22,
"tag": "NAME",
"value": "David M. Lee"
},
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use stric... | test/configureSync.spec.coffee | building5/parfaitjs | 1 | # Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>
'use strict'
expect = (require 'chai').expect
sinon = require 'sinon'
Promise = (require 'es6-promise').Promise
parfait = require '..'
###
The configureSync function doesn't work yet, but I'll keep dreaming for the
impossible.
Is there any way to do ... | 107972 | # Copyright (c) 2014. <NAME>, II <<EMAIL>>
'use strict'
expect = (require 'chai').expect
sinon = require 'sinon'
Promise = (require 'es6-promise').Promise
parfait = require '..'
###
The configureSync function doesn't work yet, but I'll keep dreaming for the
impossible.
Is there any way to do this without reim... | true | # Copyright (c) 2014. PI:NAME:<NAME>END_PI, II <PI:EMAIL:<EMAIL>END_PI>
'use strict'
expect = (require 'chai').expect
sinon = require 'sinon'
Promise = (require 'es6-promise').Promise
parfait = require '..'
###
The configureSync function doesn't work yet, but I'll keep dreaming for the
impossible.
Is there an... |
[
{
"context": " ###\n init = ()->\n allowed_key_codes = [96,97,98,99,100,101,102,103,104,105]\n delimiter = '/'\n mask = scope.format.",
"end": 1138,
"score": 0.9943618774414062,
"start": 1103,
"tag": "KEY",
"value": "96,97,98,99,100,101,102,103,104,105"
}
] | src/forty-datetime.coffee | jsummers-fortyau/forty-datetime-directive | 0 | angular.module('fortyDate', [])
.directive("fortyDatePicker", ['$filter', '$window', ($filter, $window)->
{
require: "ngModel"
restrict: "E"
replace: true
scope:
date:'=ngModel'
disabled: '='
name: '=?'
placeholder: '=?',
options: '=?'
template: '<div class="input-group">'+
'<input t... | 212909 | angular.module('fortyDate', [])
.directive("fortyDatePicker", ['$filter', '$window', ($filter, $window)->
{
require: "ngModel"
restrict: "E"
replace: true
scope:
date:'=ngModel'
disabled: '='
name: '=?'
placeholder: '=?',
options: '=?'
template: '<div class="input-group">'+
'<input t... | true | angular.module('fortyDate', [])
.directive("fortyDatePicker", ['$filter', '$window', ($filter, $window)->
{
require: "ngModel"
restrict: "E"
replace: true
scope:
date:'=ngModel'
disabled: '='
name: '=?'
placeholder: '=?',
options: '=?'
template: '<div class="input-group">'+
'<input t... |
[
{
"context": " Programming for JavaScript\n# * Copyright (c) 2016 Jon Nordby <jononor@gmail.com>\n# * Agree may be freely distr",
"end": 95,
"score": 0.9998459815979004,
"start": 85,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "for JavaScript\n# * Copyright (c) 2016 Jon Nord... | src/testing.coffee | jonnor/agree-tools | 0 | # Agree - Introspectable Contracts Programming for JavaScript
# * Copyright (c) 2016 Jon Nordby <jononor@gmail.com>
# * Agree may be freely distributed under the MIT license
## Testing
# - TODO: allow to attach examples to a Contract, both for failing cases, and for passing.
# - should include the expected result in... | 112448 | # Agree - Introspectable Contracts Programming for JavaScript
# * Copyright (c) 2016 <NAME> <<EMAIL>>
# * Agree may be freely distributed under the MIT license
## Testing
# - TODO: allow to attach examples to a Contract, both for failing cases, and for passing.
# - should include the expected result information
# ... | true | # Agree - Introspectable Contracts Programming for JavaScript
# * Copyright (c) 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# * Agree may be freely distributed under the MIT license
## Testing
# - TODO: allow to attach examples to a Contract, both for failing cases, and for passing.
# - should include the exp... |
[
{
"context": "###\n# scripts/main.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Here we setup ",
"end": 48,
"score": 0.9996732473373413,
"start": 37,
"tag": "NAME",
"value": "Dan Nichols"
}
] | app/scripts/main.coffee | dlnichols/h_media | 0 | ###
# scripts/main.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Here we setup (and execute) our main application.
###
'use strict'
angular.module 'hMediaApp', [
'ngCookies'
'ngResource'
'ngSanitize'
'ngRoute'
'ngAnimate'
'ui.router'
]
.controller 'menuController', ($scope, $state) ->
... | 195940 | ###
# scripts/main.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Here we setup (and execute) our main application.
###
'use strict'
angular.module 'hMediaApp', [
'ngCookies'
'ngResource'
'ngSanitize'
'ngRoute'
'ngAnimate'
'ui.router'
]
.controller 'menuController', ($scope, $state) ->
$sco... | true | ###
# scripts/main.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Here we setup (and execute) our main application.
###
'use strict'
angular.module 'hMediaApp', [
'ngCookies'
'ngResource'
'ngSanitize'
'ngRoute'
'ngAnimate'
'ui.router'
]
.controller 'menuController', ($scope, $st... |
[
{
"context": "tedByAdmin: Boolean\n\nvalidAttributes =\n name: 'Anatoliy'\n email: 'email@example.com'\n state: ''\n ",
"end": 455,
"score": 0.9993919134140015,
"start": 447,
"tag": "NAME",
"value": "Anatoliy"
},
{
"context": "alidAttributes =\n name: 'Anatoliy'\n em... | test/validations_test.coffee | timoxley/jugglingdb | 1 | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Validatable = juggling.Validatable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Nu... | 7763 | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Validatable = juggling.Validatable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Nu... | true | juggling = require('../index')
Schema = juggling.Schema
AbstractClass = juggling.AbstractClass
Validatable = juggling.Validatable
require('./spec_helper').init module.exports
schema = new Schema 'memory'
User = schema.define 'User',
email: String
name: String
password: String
state: String
age: Nu... |
[
{
"context": "campaigns\n context\n\n\narenas = [\n {\n name: 'Criss-Cross'\n difficulty: 5\n id: 'criss-cross'\n imag",
"end": 1824,
"score": 0.6485286951065063,
"start": 1813,
"tag": "NAME",
"value": "Criss-Cross"
},
{
"context": "ents to reach the other side!'\n }... | app/views/ladder/MainLadderView.coffee | ThatOtherPerson/codecombat | 0 | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... | 172977 | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... | true | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... |
[
{
"context": "me: ResImg.js\n@version: 1.0.3\n\nCopyright 2015-2015 Markus Bischof, http://hirnschmalz.at\nLicensed under the MIT lic",
"end": 72,
"score": 0.999874472618103,
"start": 58,
"tag": "NAME",
"value": "Markus Bischof"
}
] | src/ResImg.coffee | hirnschmalz/ResImg | 0 | ###
@name: ResImg.js
@version: 1.0.3
Copyright 2015-2015 Markus Bischof, http://hirnschmalz.at
Licensed under the MIT license
###
class ResImgItem
# Class variables
image = undefined
# 'Protected' Class variables
_src = undefined
_src2x = undefined
_srcLs = undefined
_srcLs2x = undefined
_srcPt = und... | 73869 | ###
@name: ResImg.js
@version: 1.0.3
Copyright 2015-2015 <NAME>, http://hirnschmalz.at
Licensed under the MIT license
###
class ResImgItem
# Class variables
image = undefined
# 'Protected' Class variables
_src = undefined
_src2x = undefined
_srcLs = undefined
_srcLs2x = undefined
_srcPt = undefined
... | true | ###
@name: ResImg.js
@version: 1.0.3
Copyright 2015-2015 PI:NAME:<NAME>END_PI, http://hirnschmalz.at
Licensed under the MIT license
###
class ResImgItem
# Class variables
image = undefined
# 'Protected' Class variables
_src = undefined
_src2x = undefined
_srcLs = undefined
_srcLs2x = undefined
_srcPt... |
[
{
"context": "{name: 'Sri Lanka', area:65.611}\n {name: 'Costa Rica', area: 51.100}\n {name: 'Dominican Republic', ar",
"end": 2043,
"score": 0.7417318820953369,
"start": 2040,
"tag": "NAME",
"value": "ica"
}
] | project-4-countries-area/step-2/app/scripts/data.coffee | makzan/Rich-Interactive-App-Development-with-CreateJS | 1 | this.app ?= {}
this.app.data ?= {}
# Area of common countries
# Source from http://simple.wikipedia.org/wiki/List_of_countries_by_area
this.app.data.areaOfCountries = [
{name: 'China', area: 9651.747}
{name: 'Russia', area: 17098.242}
{name: 'Canada', area: 9889.000}
{name: 'USA', area: 9826.675}
{name: 'Aus... | 93656 | this.app ?= {}
this.app.data ?= {}
# Area of common countries
# Source from http://simple.wikipedia.org/wiki/List_of_countries_by_area
this.app.data.areaOfCountries = [
{name: 'China', area: 9651.747}
{name: 'Russia', area: 17098.242}
{name: 'Canada', area: 9889.000}
{name: 'USA', area: 9826.675}
{name: 'Aus... | true | this.app ?= {}
this.app.data ?= {}
# Area of common countries
# Source from http://simple.wikipedia.org/wiki/List_of_countries_by_area
this.app.data.areaOfCountries = [
{name: 'China', area: 9651.747}
{name: 'Russia', area: 17098.242}
{name: 'Canada', area: 9889.000}
{name: 'USA', area: 9826.675}
{name: 'Aus... |
[
{
"context": "me id', ->\n john1 = new Serenade.Model(id: 'j123', name: 'John', age: 23)\n john1.test = true\n",
"end": 237,
"score": 0.8957884311676025,
"start": 234,
"tag": "USERNAME",
"value": "123"
},
{
"context": " john1 = new Serenade.Model(id: 'j123', name: 'John'... | test/model/identity_map.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.identityMap', ->
context 'when true', ->
it 'returns the same object if given the same id', ->
john1 = new Serenade.Model(id: 'j123', name: 'John', age: 23)
john1.test = true
john2 = new Serenade.Model(... | 221334 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.identityMap', ->
context 'when true', ->
it 'returns the same object if given the same id', ->
john1 = new Serenade.Model(id: 'j123', name: '<NAME>', age: 23)
john1.test = true
john2 = new Serenade.Mode... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.identityMap', ->
context 'when true', ->
it 'returns the same object if given the same id', ->
john1 = new Serenade.Model(id: 'j123', name: 'PI:NAME:<NAME>END_PI', age: 23)
john1.test = true
john2 = new... |
[
{
"context": "# coffeemate\n# Copyright(c) 2011 Kadir Pekel.\n# MIT Licensed\n\n# version info\nVERSION = '0.5.1'",
"end": 44,
"score": 0.9998613595962524,
"start": 33,
"tag": "NAME",
"value": "Kadir Pekel"
}
] | coffeemate.coffee | kadirpekel/coffeemate | 2 | # coffeemate
# Copyright(c) 2011 Kadir Pekel.
# MIT Licensed
# version info
VERSION = '0.5.1'
# Module dependencies
fs = require 'fs'
path = require 'path'
connect = require 'connect'
eco = require 'eco'
# Context object that instantiated in every request to
# form router handlers' and templates... | 61703 | # coffeemate
# Copyright(c) 2011 <NAME>.
# MIT Licensed
# version info
VERSION = '0.5.1'
# Module dependencies
fs = require 'fs'
path = require 'path'
connect = require 'connect'
eco = require 'eco'
# Context object that instantiated in every request to
# form router handlers' and templates' @/... | true | # coffeemate
# Copyright(c) 2011 PI:NAME:<NAME>END_PI.
# MIT Licensed
# version info
VERSION = '0.5.1'
# Module dependencies
fs = require 'fs'
path = require 'path'
connect = require 'connect'
eco = require 'eco'
# Context object that instantiated in every request to
# form router handlers' and ... |
[
{
"context": "oreEach ->\n tableEditor.addRow ['Jack', 68, 'male']\n\n it 'does not dispa",
"end": 9517,
"score": 0.9998282790184021,
"start": 9513,
"tag": "NAME",
"value": "Jack"
},
{
"context": "ch ->\n csvEditor.editor.addRow ['Jack... | spec/csv-editor-spec.coffee | lionel-rigoux/atom-tablr | 186 | require './helpers/spec-helper'
os = require 'os'
fs = require 'fs'
fsp = require 'fs-plus'
path = require 'path'
temp = require 'temp'
TableEdit = require '../lib/tablr'
TableEditor = require '../lib/table-editor'
CSVEditor = require '../lib/csv-editor'
TableElement = require '../lib/table-element'
{click} = requir... | 46834 | require './helpers/spec-helper'
os = require 'os'
fs = require 'fs'
fsp = require 'fs-plus'
path = require 'path'
temp = require 'temp'
TableEdit = require '../lib/tablr'
TableEditor = require '../lib/table-editor'
CSVEditor = require '../lib/csv-editor'
TableElement = require '../lib/table-element'
{click} = requir... | true | require './helpers/spec-helper'
os = require 'os'
fs = require 'fs'
fsp = require 'fs-plus'
path = require 'path'
temp = require 'temp'
TableEdit = require '../lib/tablr'
TableEditor = require '../lib/table-editor'
CSVEditor = require '../lib/csv-editor'
TableElement = require '../lib/table-element'
{click} = requir... |
[
{
"context": "= @body.querySelector('input')\n input.value = \"Test\"\n @fireEvent input, \"keyup\"\n expect(context",
"end": 329,
"score": 0.7685700058937073,
"start": 325,
"tag": "NAME",
"value": "Test"
},
{
"context": "= @body.querySelector('input')\n input.value = \"T... | test/integration/two_way_bindings.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Two-way bindings', ->
beforeEach ->
@setupDom()
it 'updates plain context when event triggers', ->
context = {}
@render 'input[type="text" binding:keyup=name]', context
input = @body.querySelector('input')
input.valu... | 34068 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Two-way bindings', ->
beforeEach ->
@setupDom()
it 'updates plain context when event triggers', ->
context = {}
@render 'input[type="text" binding:keyup=name]', context
input = @body.querySelector('input')
input.valu... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Two-way bindings', ->
beforeEach ->
@setupDom()
it 'updates plain context when event triggers', ->
context = {}
@render 'input[type="text" binding:keyup=name]', context
input = @body.querySelector('input')
input.valu... |
[
{
"context": "nder()\n @view.$('input[name=\"name\"]').val('Foo Bar')\n @view.$('input[name=\"email\"]').val('foo",
"end": 1572,
"score": 0.9873642921447754,
"start": 1565,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "Bar')\n @view.$('input[name=\"email\"]'... | src/desktop/components/contact/test/contact_partner.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Artwork = require '../../../models/artwork'
Partner = require '../../../models/partner'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
describe 'ContactPartnerView', ->
... | 112885 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Artwork = require '../../../models/artwork'
Partner = require '../../../models/partner'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
describe 'ContactPartnerView', ->
... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Artwork = require '../../../models/artwork'
Partner = require '../../../models/partner'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
describe 'ContactPartnerView', ->
... |
[
{
"context": "ORT>\",\n \"user\": \"<DB_USER>\",\n \"password\": \"<DB_PASSWORD>\"\n}\n\n",
"end": 154,
"score": 0.9688899517059326,
"start": 143,
"tag": "PASSWORD",
"value": "DB_PASSWORD"
}
] | src/database/credentials.coffee | leonardolopesinf/coffee-script-server | 0 | export default {
"host": "<DB_HOST>",
"database": "<DB_DATABASE>",
"port": "<DB_PORT>",
"user": "<DB_USER>",
"password": "<DB_PASSWORD>"
}
| 5673 | export default {
"host": "<DB_HOST>",
"database": "<DB_DATABASE>",
"port": "<DB_PORT>",
"user": "<DB_USER>",
"password": "<<PASSWORD>>"
}
| true | export default {
"host": "<DB_HOST>",
"database": "<DB_DATABASE>",
"port": "<DB_PORT>",
"user": "<DB_USER>",
"password": "<PI:PASSWORD:<PASSWORD>END_PI>"
}
|
[
{
"context": "It will suggest redoing a course arena level, like Wakka Maul, if all courses are complete\n @nextLev",
"end": 12200,
"score": 0.675508975982666,
"start": 12192,
"tag": "NAME",
"value": "Wakka Ma"
}
] | app/views/courses/CoursesView.coffee | linewareentertainment/codecombat | 0 | require('app/styles/courses/courses-view.sass')
RootView = require 'views/core/RootView'
template = require 'templates/courses/courses-view'
AuthModal = require 'views/core/AuthModal'
CreateAccountModal = require 'views/core/CreateAccountModal'
ChangeCourseLanguageModal = require 'views/courses/ChangeCourseLanguageModa... | 17102 | require('app/styles/courses/courses-view.sass')
RootView = require 'views/core/RootView'
template = require 'templates/courses/courses-view'
AuthModal = require 'views/core/AuthModal'
CreateAccountModal = require 'views/core/CreateAccountModal'
ChangeCourseLanguageModal = require 'views/courses/ChangeCourseLanguageModa... | true | require('app/styles/courses/courses-view.sass')
RootView = require 'views/core/RootView'
template = require 'templates/courses/courses-view'
AuthModal = require 'views/core/AuthModal'
CreateAccountModal = require 'views/core/CreateAccountModal'
ChangeCourseLanguageModal = require 'views/courses/ChangeCourseLanguageModa... |
[
{
"context": "le is part of the Mooch package.\n\nCopyright © 2014 Erin Millard\n\nFor the full copyright and license information, ",
"end": 74,
"score": 0.9997601509094238,
"start": 62,
"tag": "NAME",
"value": "Erin Millard"
}
] | test/Logger.test.coffee | vanwars/twitter-proxy-cors | 19 | ###
This file is part of the Mooch package.
Copyright © 2014 Erin Millard
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Logger = require '../' + process.env.TEST_... | 175070 | ###
This file is part of the Mooch package.
Copyright © 2014 <NAME>
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Logger = require '../' + process.env.TEST_ROOT +... | true | ###
This file is part of the Mooch package.
Copyright © 2014 PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Logger = require '../' + process.e... |
[
{
"context": "key: 'table-csv'\n\npatterns: [\n\n # Matches DSV tables.\n #\n # Ex",
"end": 15,
"score": 0.9866860508918762,
"start": 6,
"tag": "KEY",
"value": "table-csv"
},
{
"context": "tal\n # The Lumineers,Ho Hey,Folk Rock\n # Baauer,Harlem Shake,Hip Hop\n # ,===\n #\n n... | grammars/repositories/tables/csv-table-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'table-csv'
patterns: [
# Matches DSV tables.
#
# Examples:
#
# ,===
# Artist,Track,Genre
#
# Tool,Stinkfist,Metal
# The Lumineers,Ho Hey,Folk Rock
# Baauer,Harlem Shake,Hip Hop
# ,===
#
name: 'markup.table.csv.asciidoc'
begin: '^(,===)$'
beginCaptures:
0: name: 'markup.table.de... | 48986 | key: '<KEY>'
patterns: [
# Matches DSV tables.
#
# Examples:
#
# ,===
# Artist,Track,Genre
#
# Tool,Stinkfist,Metal
# The Lumineers,Ho Hey,Folk Rock
# Baauer,<NAME>,<NAME>
# ,===
#
name: 'markup.table.csv.asciidoc'
begin: '^(,===)$'
beginCaptures:
0: name: 'markup.table.delimiter.asc... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches DSV tables.
#
# Examples:
#
# ,===
# Artist,Track,Genre
#
# Tool,Stinkfist,Metal
# The Lumineers,Ho Hey,Folk Rock
# Baauer,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI
# ,===
#
name: 'markup.table.csv.asciidoc'
begin: '^(,===)$'
beginCaptures:... |
[
{
"context": "t usage of setState in componentDidMount\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 95,
"score": 0.9998460412025452,
"start": 78,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/no-did-mount-set-state.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of setState in componentDidMount
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugi... | 179026 | ###*
# @fileoverview Prevent usage of setState in componentDidMount
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib... | true | ###*
# @fileoverview Prevent usage of setState in componentDidMount
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-pl... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9969761371612549,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/server/couchdb/validations.coffee | Mefiso/greenscreen | 729 | ###
Copyright (c) 2014, Groupon
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 following discla... | 186605 | ###
Copyright (c) 2014, <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:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai... | true | ###
Copyright (c) 2014, 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:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... |
[
{
"context": "tionController.getLoggedInUserId(req)\n\t\tpassword = req.body.password\n\t\tlogger.log {user_id}, \"trying to delete user ac",
"end": 893,
"score": 0.9992636442184448,
"start": 876,
"tag": "PASSWORD",
"value": "req.body.password"
},
{
"context": ">\n\t\tmetrics.inc \"u... | app/coffee/Features/User/UserController.coffee | dtu-compute/web-sharelatex | 0 | UserHandler = require("./UserHandler")
UserDeleter = require("./UserDeleter")
UserLocator = require("./UserLocator")
User = require("../../models/User").User
newsLetterManager = require('../Newsletter/NewsletterManager')
UserRegistrationHandler = require("./UserRegistrationHandler")
logger = require("logger-sharelatex"... | 100687 | UserHandler = require("./UserHandler")
UserDeleter = require("./UserDeleter")
UserLocator = require("./UserLocator")
User = require("../../models/User").User
newsLetterManager = require('../Newsletter/NewsletterManager')
UserRegistrationHandler = require("./UserRegistrationHandler")
logger = require("logger-sharelatex"... | true | UserHandler = require("./UserHandler")
UserDeleter = require("./UserDeleter")
UserLocator = require("./UserLocator")
User = require("../../models/User").User
newsLetterManager = require('../Newsletter/NewsletterManager')
UserRegistrationHandler = require("./UserRegistrationHandler")
logger = require("logger-sharelatex"... |
[
{
"context": "# there is a sneaky gzip module created in 2010 by TJ @Sencha\n ## i adapted it to use the n",
"end": 1630,
"score": 0.8056064248085022,
"start": 1629,
"tag": "NAME",
"value": "T"
},
{
"context": "here is a sneaky gzip module created in 2010 by TJ @Sencha\n ... | modules/http/platforms/node/lib/Server.coffee | nero-networks/floyd | 0 |
##
mime = require 'mime-types'
##
CookieJar = require 'cookies'
module.exports =
##
## A Floyd-Webserver
##
## Implements a nodeish _createServer method for the Floyd HTTP-Server Context
##
## @platform node
class NodeHttpServer extends floyd.http.AbstractServer
##
##
... | 22270 |
##
mime = require 'mime-types'
##
CookieJar = require 'cookies'
module.exports =
##
## A Floyd-Webserver
##
## Implements a nodeish _createServer method for the Floyd HTTP-Server Context
##
## @platform node
class NodeHttpServer extends floyd.http.AbstractServer
##
##
... | true |
##
mime = require 'mime-types'
##
CookieJar = require 'cookies'
module.exports =
##
## A Floyd-Webserver
##
## Implements a nodeish _createServer method for the Floyd HTTP-Server Context
##
## @platform node
class NodeHttpServer extends floyd.http.AbstractServer
##
##
... |
[
{
"context": "t.coffee: A client for github\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n@requ",
"end": 79,
"score": 0.9998359084129333,
"start": 60,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "en == 'object' and @token... | src/octonode/client.coffee | troupe/octonode | 0 | #
# client.coffee: A client for github
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
@request = request = require 'request'
@url = url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = require './gist'
Team =... | 182689 | #
# client.coffee: A client for github
#
# Copyright © 2011 <NAME>. All rights reserved
#
# Requiring modules
@request = request = require 'request'
@url = url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = require './gist'
Team = require './t... | true | #
# client.coffee: A client for github
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
@request = request = require 'request'
@url = url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = require './gist'
Team ... |
[
{
"context": " of visited coordinates\n cells = []\n key = (x,y) -> \"\"+x+\"#\"+y\n is_visited = (x,y) -> visite",
"end": 3080,
"score": 0.5190667510032654,
"start": 3079,
"tag": "KEY",
"value": "x"
},
{
"context": "f visited coordinates\n cells = []\n key = (x,y) -> ... | scripts-src/reversible_ca.coffee | Kosx-Kosx/js-revca | 25 | # module reversible_ca
#requires math_util.js
#Import section: add support for node.js
math_util = require "./math_util"
{mod, mod2} = math_util
{xor_transposition, from_list_elem} = require "./rules"
###
A 2-dimensional array of bytes!, with row-first organization
###
exports.Array2d = class Array2d
constructor: ... | 175658 | # module reversible_ca
#requires math_util.js
#Import section: add support for node.js
math_util = require "./math_util"
{mod, mod2} = math_util
{xor_transposition, from_list_elem} = require "./rules"
###
A 2-dimensional array of bytes!, with row-first organization
###
exports.Array2d = class Array2d
constructor: ... | true | # module reversible_ca
#requires math_util.js
#Import section: add support for node.js
math_util = require "./math_util"
{mod, mod2} = math_util
{xor_transposition, from_list_elem} = require "./rules"
###
A 2-dimensional array of bytes!, with row-first organization
###
exports.Array2d = class Array2d
constructor: ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999335527420044,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-process-config.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... | 58067 | # 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": "GS IN THE SOFTWARE.\n\n# Taken from hubot at commit 71d1c686d9ffdfad54751080c699979fa17190a1 and modified to fit current use.\n\nChatUser = requ",
"end": 1166,
"score": 0.9813705086708069,
"start": 1126,
"tag": "PASSWORD",
"value": "71d1c686d9ffdfad54751080c699979fa17190a1"
}... | src/index.coffee | kumpelblase2/modlab-chat | 0 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | 38691 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | true | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... |
[
{
"context": "alse }\n ], \"\\n\"\n\n people = [\n { name: \"Rodrigo\", dogs: [{ description: \"Willy\", happyness: 10.5 ",
"end": 493,
"score": 0.9998106956481934,
"start": 486,
"tag": "NAME",
"value": "Rodrigo"
},
{
"context": "[\n { name: \"Rodrigo\", dogs: [{ desc... | src/fixedLengthBuilder.spec.coffee | Parsimotion/fixed-length-builder | 0 | require "should"
FixedLengthBuilder = require("./fixedLengthBuilder")
describe "FixedLengthBuilder", ->
it "can build a fixed length string from a specific format", ->
builder = new FixedLengthBuilder [
{ name: "name", length: 3 }
{ name: "dogs[0].description", length: 8 }
{ name: "balance", le... | 175249 | require "should"
FixedLengthBuilder = require("./fixedLengthBuilder")
describe "FixedLengthBuilder", ->
it "can build a fixed length string from a specific format", ->
builder = new FixedLengthBuilder [
{ name: "name", length: 3 }
{ name: "dogs[0].description", length: 8 }
{ name: "balance", le... | true | require "should"
FixedLengthBuilder = require("./fixedLengthBuilder")
describe "FixedLengthBuilder", ->
it "can build a fixed length string from a specific format", ->
builder = new FixedLengthBuilder [
{ name: "name", length: 3 }
{ name: "dogs[0].description", length: 8 }
{ name: "balance", le... |
[
{
"context": "\", type: \"user\"}, ->\n @create {id: 2, name: \"bar2\", job: \"foo bar test\"}\n @create {id: 3, name",
"end": 713,
"score": 0.9756360054016113,
"start": 709,
"tag": "NAME",
"value": "bar2"
},
{
"context": "job: \"foo bar test\"}\n @create {id: 3, name:... | spec/env.coffee | api-hogs/ember-data-elasticsearch-kit | 1 | class @DatabaseCleaner
@reset: ->
@destroy()
@create()
@create: ->
EDEK.MappingDSL.create("http://localhost:9200/test_adapter")
@destroy: ->
EDEK.MappingDSL.delete("http://localhost:9200/test_adapter")
class @TestEnv
constructor: ->
DatabaseCleaner.reset()
unless window.Fixture
... | 51137 | class @DatabaseCleaner
@reset: ->
@destroy()
@create()
@create: ->
EDEK.MappingDSL.create("http://localhost:9200/test_adapter")
@destroy: ->
EDEK.MappingDSL.delete("http://localhost:9200/test_adapter")
class @TestEnv
constructor: ->
DatabaseCleaner.reset()
unless window.Fixture
... | true | class @DatabaseCleaner
@reset: ->
@destroy()
@create()
@create: ->
EDEK.MappingDSL.create("http://localhost:9200/test_adapter")
@destroy: ->
EDEK.MappingDSL.delete("http://localhost:9200/test_adapter")
class @TestEnv
constructor: ->
DatabaseCleaner.reset()
unless window.Fixture
... |
[
{
"context": "': 60\n 'gt': 62\n 'OElig': 338\n 'oelig': 339\n 'Scaron': 352\n 'scaron': 353\n 'Yuml': 376\n 'circ':",
"end": 6028,
"score": 0.5060467720031738,
"start": 6026,
"tag": "NAME",
"value": "Sc"
}
] | src/lib/lib.coffee | semencov/mdash-node | 2 | exports.LAYOUT_STYLE = LAYOUT_STYLE = 1
exports.LAYOUT_CLASS = LAYOUT_CLASS = 2
exports.LAYOUT = exports.LAYOUT_STYLE
exports.LAYOUT_CLASS_PREFIX = 'mdash-'
exports.LAYOUT_TAG_ID = false
exports.BASE64_PARAGRAPH_TAG = 'cA==' # // p
exports.BASE64_BREAKLINE_TAG = 'YnIgLw==' # // br / (с пробелом и с... | 74558 | exports.LAYOUT_STYLE = LAYOUT_STYLE = 1
exports.LAYOUT_CLASS = LAYOUT_CLASS = 2
exports.LAYOUT = exports.LAYOUT_STYLE
exports.LAYOUT_CLASS_PREFIX = 'mdash-'
exports.LAYOUT_TAG_ID = false
exports.BASE64_PARAGRAPH_TAG = 'cA==' # // p
exports.BASE64_BREAKLINE_TAG = 'YnIgLw==' # // br / (с пробелом и с... | true | exports.LAYOUT_STYLE = LAYOUT_STYLE = 1
exports.LAYOUT_CLASS = LAYOUT_CLASS = 2
exports.LAYOUT = exports.LAYOUT_STYLE
exports.LAYOUT_CLASS_PREFIX = 'mdash-'
exports.LAYOUT_TAG_ID = false
exports.BASE64_PARAGRAPH_TAG = 'cA==' # // p
exports.BASE64_BREAKLINE_TAG = 'YnIgLw==' # // br / (с пробелом и с... |
[
{
"context": "ysql.createClient ({\n\thost: 'host_dbase',\n\tuser: 'scott',\n\tpassword: 'tiger'\n\t})\n\nconnection.query ('Use ",
"end": 509,
"score": 0.999028205871582,
"start": 504,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "\n\thost: 'host_dbase',\n\tuser: 'scott',\n\t... | mysql/coffee/delete/mysql_delete.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_delete.coffee
#
# Jul/23/2012
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | 127003 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_delete.coffee
#
# Jul/23/2012
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_delete.coffee
#
# Jul/23/2012
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... |
[
{
"context": "pient.teamId = team.id\n recipient.firstName = 'Test'\n teamsnap.saveMember recipient, (err, result)",
"end": 398,
"score": 0.9947593808174133,
"start": 394,
"tag": "NAME",
"value": "Test"
},
{
"context": "emberId = recipient.id\n memberEmail.email = \"recipi... | test/broadcastEmail.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Broadcast Emails', ->
email = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers userId: me.id, (err, result) ->
result.should.be.an('array')
sender = result[0]
done()
before (done) ->
recipient = teamsnap... | 194664 | describe 'Broadcast Emails', ->
email = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers userId: me.id, (err, result) ->
result.should.be.an('array')
sender = result[0]
done()
before (done) ->
recipient = teamsnap... | true | describe 'Broadcast Emails', ->
email = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers userId: me.id, (err, result) ->
result.should.be.an('array')
sender = result[0]
done()
before (done) ->
recipient = teamsnap... |
[
{
"context": " { type: 'object' } }\n }\n }\n data = { name: 'Bob', numbers: [\n {'number':'401-401-1337', 'type'",
"end": 203,
"score": 0.9991064667701721,
"start": 200,
"tag": "NAME",
"value": "Bob"
},
{
"context": "diate values', ->\n expect(treema.set('/name', 'Bobby')... | test/getters-setters/set.coffee | lgr7/codecombattreema | 66 | describe 'TreemaNode.set', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'object' } }
}
}
data = { name: 'Bob', numbers: [
{'number':'401-401-1337', 'type':'Home'},
{'number':'123-456-7890', 'type':'Work'}
]}
tree... | 135693 | describe 'TreemaNode.set', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'object' } }
}
}
data = { name: '<NAME>', numbers: [
{'number':'401-401-1337', 'type':'Home'},
{'number':'123-456-7890', 'type':'Work'}
]}
t... | true | describe 'TreemaNode.set', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'object' } }
}
}
data = { name: 'PI:NAME:<NAME>END_PI', numbers: [
{'number':'401-401-1337', 'type':'Home'},
{'number':'123-456-7890', 'type':'Wo... |
[
{
"context": "cense.\n###\n\n###*\n@module joukou-api/regexp\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\nmodule.exports =\n",
"end": 612,
"score": 0.9998880624771118,
"start": 598,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "@module joukou-api/regexp\n@aut... | src/regexp.coffee | joukou/joukou-api | 0 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 129491 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | true | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... |
[
{
"context": "зовая модель авторизации.\n ###\n constructor: (@_source, sourceUser, sourceId) ->\n ###\n @pa",
"end": 550,
"score": 0.9513635635375977,
"start": 541,
"tag": "USERNAME",
"value": "(@_source"
},
{
"context": "ail: () ->\n return UserUtils.norm... | src/server/auth/model.coffee | robintibor/rizzoma | 2 | _ = require('underscore')
Model = require('../common/model').Model
UserUtils = require('../user/utils').UserUtils
IdUtils = require('../utils/id_utils').IdUtils
logger = require('../conf').Conf.getLogger('auth')
ALL_PROFILE_FIELDS = require('../../share/constants').PROFILE_FIELDS
{
PROFILE_FIELD_EMAIL
PROFILE_... | 121153 | _ = require('underscore')
Model = require('../common/model').Model
UserUtils = require('../user/utils').UserUtils
IdUtils = require('../utils/id_utils').IdUtils
logger = require('../conf').Conf.getLogger('auth')
ALL_PROFILE_FIELDS = require('../../share/constants').PROFILE_FIELDS
{
PROFILE_FIELD_EMAIL
PROFILE_... | true | _ = require('underscore')
Model = require('../common/model').Model
UserUtils = require('../user/utils').UserUtils
IdUtils = require('../utils/id_utils').IdUtils
logger = require('../conf').Conf.getLogger('auth')
ALL_PROFILE_FIELDS = require('../../share/constants').PROFILE_FIELDS
{
PROFILE_FIELD_EMAIL
PROFILE_... |
[
{
"context": "SHA-1 hash and HMAC algorithms in CoffeeScript, by Stephen\nWaits.\n\nThe MIT License\n\nCopyright (c) 2011 Stephen Wai",
"end": 100,
"score": 0.9986110925674438,
"start": 87,
"tag": "NAME",
"value": "Stephen\nWaits"
},
{
"context": "tephen\nWaits.\n\nThe MIT License\n\... | coffee/sha1.coffee | MCSDWVL/passy | 2 | ###
sha1.coffee
Implementation of SHA-1 hash and HMAC algorithms in CoffeeScript, by Stephen
Waits.
The MIT License
Copyright (c) 2011 Stephen Waits <steve@waits.net>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), t... | 137588 | ###
sha1.coffee
Implementation of SHA-1 hash and HMAC algorithms in CoffeeScript, by <NAME>.
The MIT License
Copyright (c) 2011 <NAME> <<EMAIL>>
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... | true | ###
sha1.coffee
Implementation of SHA-1 hash and HMAC algorithms in CoffeeScript, by PI:NAME:<NAME>END_PI.
The MIT License
Copyright (c) 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation file... |
[
{
"context": ".. - Display image from Screencast\n#\n# Author:\n# Chris Larson\n\nSelect = require( \"soupselect\" ).select\nHTM",
"end": 205,
"score": 0.999822735786438,
"start": 193,
"tag": "NAME",
"value": "Chris Larson"
}
] | src/scripts/screencast.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Post screencast image link
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# http://screencast.com/... - Display image from Screencast
#
# Author:
# Chris Larson
Select = require( "soupselect" ).select
HTMLParser = require "htmlparser"
module.exports = (robot) ->
ro... | 223730 | # Description:
# Post screencast image link
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# http://screencast.com/... - Display image from Screencast
#
# Author:
# <NAME>
Select = require( "soupselect" ).select
HTMLParser = require "htmlparser"
module.exports = (robot) ->
robot.he... | true | # Description:
# Post screencast image link
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# http://screencast.com/... - Display image from Screencast
#
# Author:
# PI:NAME:<NAME>END_PI
Select = require( "soupselect" ).select
HTMLParser = require "htmlparser"
module.exports = (robot)... |
[
{
"context": "\theaders = {\n\t\t\t\t'User-Agent': 'Crystal Autocode <support@autocode.run> (https://autocode.run/autocode)'\n\t\t\t}\n\t\t\t\n\t\t\t# g",
"end": 1714,
"score": 0.9999227523803711,
"start": 1694,
"tag": "EMAIL",
"value": "support@autocode.run"
}
] | src/autocode/update.coffee | crystal/autocode-js | 92 | # load packages
autocode = require '../autocode'
colors = require 'colors'
error = require '../error'
fs = require 'fs'
gunzip = require 'gunzip-maybe'
mkdirp = require 'mkdirp'
request = require 'sync-request'
semver = require 'semver'
untar = require 'untar.js'
userHome = require 'user-home'
ver... | 193351 | # load packages
autocode = require '../autocode'
colors = require 'colors'
error = require '../error'
fs = require 'fs'
gunzip = require 'gunzip-maybe'
mkdirp = require 'mkdirp'
request = require 'sync-request'
semver = require 'semver'
untar = require 'untar.js'
userHome = require 'user-home'
ver... | true | # load packages
autocode = require '../autocode'
colors = require 'colors'
error = require '../error'
fs = require 'fs'
gunzip = require 'gunzip-maybe'
mkdirp = require 'mkdirp'
request = require 'sync-request'
semver = require 'semver'
untar = require 'untar.js'
userHome = require 'user-home'
ver... |
[
{
"context": ".resolve(\n [\n Promise.resolve({name: \"Jim\"}),\n Promise.resolve({name: \"Sally\"})\n ",
"end": 5350,
"score": 0.9998568892478943,
"start": 5347,
"tag": "NAME",
"value": "Jim"
},
{
"context": "e({name: \"Jim\"}),\n Promise.resolve({name: ... | test/common/kozu/promises_test.coffee | jamesmacaulay/kozu | 2 | {expect} = require("chai")
sinon = require("sinon")
core = require("../../../../../lib/kozu/core")
promises = require("../../../../../lib/kozu/promises")
inc = (x) -> 1 + x
args = -> arguments
plus = (a,b) -> a + b
describe "kozu.promises.isThenable(x)", ->
it "returns false if argument is null", ->
expect(prom... | 8464 | {expect} = require("chai")
sinon = require("sinon")
core = require("../../../../../lib/kozu/core")
promises = require("../../../../../lib/kozu/promises")
inc = (x) -> 1 + x
args = -> arguments
plus = (a,b) -> a + b
describe "kozu.promises.isThenable(x)", ->
it "returns false if argument is null", ->
expect(prom... | true | {expect} = require("chai")
sinon = require("sinon")
core = require("../../../../../lib/kozu/core")
promises = require("../../../../../lib/kozu/promises")
inc = (x) -> 1 + x
args = -> arguments
plus = (a,b) -> a + b
describe "kozu.promises.isThenable(x)", ->
it "returns false if argument is null", ->
expect(prom... |
[
{
"context": "users = [\n \"name\" : \"Based and Jedpilled\"\n \"stats\":\n \"spos\": 73.5\n \"alle\": 70.0\n ",
"end": 41,
"score": 0.9998061060905457,
"start": 22,
"tag": "NAME",
"value": "Based and Jedpilled"
},
{
"context": "9\n \"perc\": 73.3\n \"cmdy\": 79.7\n,\... | scripts/users.coffee | DualPlay/polcompballvalues.github.io | 0 | users = [
"name" : "Based and Jedpilled"
"stats":
"spos": 73.5
"alle": 70.0
"expr": 66.7
"pers": 75.0
"horn": 8.3
"fame": 59.0
"shwr": 43.5
"sani": 79.3
"rela": 73.9
"fedp": 60.7
"actn": 52.6
"purp": 78.9
"perc": 73.3
"cmdy": 79.7
,
"name" : "nguyenreich"
... | 87361 | users = [
"name" : "<NAME>"
"stats":
"spos": 73.5
"alle": 70.0
"expr": 66.7
"pers": 75.0
"horn": 8.3
"fame": 59.0
"shwr": 43.5
"sani": 79.3
"rela": 73.9
"fedp": 60.7
"actn": 52.6
"purp": 78.9
"perc": 73.3
"cmdy": 79.7
,
"name" : "<NAME>"
"stats":
"spos... | true | users = [
"name" : "PI:NAME:<NAME>END_PI"
"stats":
"spos": 73.5
"alle": 70.0
"expr": 66.7
"pers": 75.0
"horn": 8.3
"fame": 59.0
"shwr": 43.5
"sani": 79.3
"rela": 73.9
"fedp": 60.7
"actn": 52.6
"purp": 78.9
"perc": 73.3
"cmdy": 79.7
,
"name" : "PI:NAME:<NAME>... |
[
{
"context": "modelsim = 1\n\n isCoreName: (key) ->\n key in ['gcc_clang', 'apm_test', 'java', 'python', 'modelsim']\n",
"end": 1093,
"score": 0.9859957695007324,
"start": 1084,
"tag": "KEY",
"value": "gcc_clang"
},
{
"context": "\n isCoreName: (key) ->\n key in ['gcc_clang',... | lib/profiles/profiles.coffee | fstiewitz/build-tools-cpp | 3 | {Disposable} = require 'atom'
module.exports =
profiles:
gcc_clang: require './gcc_clang'
apm_test: require './apm_test'
java: require './javac'
python: require './python'
modelsim: require './modelsim'
versions:
gcc_clang: 1
apm_test: 1
java: 1
python: 1
modelsim: 1
add... | 58914 | {Disposable} = require 'atom'
module.exports =
profiles:
gcc_clang: require './gcc_clang'
apm_test: require './apm_test'
java: require './javac'
python: require './python'
modelsim: require './modelsim'
versions:
gcc_clang: 1
apm_test: 1
java: 1
python: 1
modelsim: 1
add... | true | {Disposable} = require 'atom'
module.exports =
profiles:
gcc_clang: require './gcc_clang'
apm_test: require './apm_test'
java: require './javac'
python: require './python'
modelsim: require './modelsim'
versions:
gcc_clang: 1
apm_test: 1
java: 1
python: 1
modelsim: 1
add... |
[
{
"context": " Twitter extends ServiceProvider\n consumerKey = 'w0uohox91TgpKETJmscYIQ'\n name: 'twitter'\n\n constructor: ->\n super\n ",
"end": 164,
"score": 0.9960448145866394,
"start": 142,
"tag": "KEY",
"value": "w0uohox91TgpKETJmscYIQ"
}
] | lib/services/twitter.coffee | chaplinjs/chaplin-auth | 3 | utils = require 'lib/utils'
ServiceProvider = require 'lib/services/service_provider'
class Twitter extends ServiceProvider
consumerKey = 'w0uohox91TgpKETJmscYIQ'
name: 'twitter'
constructor: ->
super
@subscribeEvent '!logout', @logout
loadSDK: ->
return if @state() is 'resolved' or @loading
... | 51032 | utils = require 'lib/utils'
ServiceProvider = require 'lib/services/service_provider'
class Twitter extends ServiceProvider
consumerKey = '<KEY>'
name: 'twitter'
constructor: ->
super
@subscribeEvent '!logout', @logout
loadSDK: ->
return if @state() is 'resolved' or @loading
@loading = true
... | true | utils = require 'lib/utils'
ServiceProvider = require 'lib/services/service_provider'
class Twitter extends ServiceProvider
consumerKey = 'PI:KEY:<KEY>END_PI'
name: 'twitter'
constructor: ->
super
@subscribeEvent '!logout', @logout
loadSDK: ->
return if @state() is 'resolved' or @loading
@loa... |
[
{
"context": "ages\n# hubot andym me - As above\n#\n# Author:\n# Ryan Tomlinson\n\nmetcalfes = [\n \"http://slayermusings.files.word",
"end": 177,
"score": 0.9997074007987976,
"start": 163,
"tag": "NAME",
"value": "Ryan Tomlinson"
}
] | src/scripts/metcalfe.coffee | ryantomlinson/hubot-scripts | 0 | # Description:
# metcalfe me - The one and only
#
# Commands:
# hubot metcalfe me - An array of Partridge images
# hubot andym me - As above
#
# Author:
# Ryan Tomlinson
metcalfes = [
"http://slayermusings.files.wordpress.com/2012/11/sports-casual.jpg",
"http://cdn.images.express.co.uk/img/dynamic/79/285x2... | 140873 | # Description:
# metcalfe me - The one and only
#
# Commands:
# hubot metcalfe me - An array of Partridge images
# hubot andym me - As above
#
# Author:
# <NAME>
metcalfes = [
"http://slayermusings.files.wordpress.com/2012/11/sports-casual.jpg",
"http://cdn.images.express.co.uk/img/dynamic/79/285x214/34350... | true | # Description:
# metcalfe me - The one and only
#
# Commands:
# hubot metcalfe me - An array of Partridge images
# hubot andym me - As above
#
# Author:
# PI:NAME:<NAME>END_PI
metcalfes = [
"http://slayermusings.files.wordpress.com/2012/11/sports-casual.jpg",
"http://cdn.images.express.co.uk/img/dynamic/79... |
[
{
"context": "documentation for testing on\n# https://github.com/jsilvestre/cozy-fixtures#automatic-tests\nfixtures = require ",
"end": 81,
"score": 0.9997464418411255,
"start": 71,
"tag": "USERNAME",
"value": "jsilvestre"
},
{
"context": " = _.once done\n imap = new Imap\n ... | tests/helpers.coffee | gelnior/cozy-emails | 0 |
# See cozy-fixtures documentation for testing on
# https://github.com/jsilvestre/cozy-fixtures#automatic-tests
fixtures = require 'cozy-fixtures'
{exec} = require 'child_process'
DovecotTesting = require 'dovecot-testing'
Imap = require '../server/imap/connection'
_ = require 'lodash'
Client = require('request-json').... | 104893 |
# See cozy-fixtures documentation for testing on
# https://github.com/jsilvestre/cozy-fixtures#automatic-tests
fixtures = require 'cozy-fixtures'
{exec} = require 'child_process'
DovecotTesting = require 'dovecot-testing'
Imap = require '../server/imap/connection'
_ = require 'lodash'
Client = require('request-json').... | true |
# See cozy-fixtures documentation for testing on
# https://github.com/jsilvestre/cozy-fixtures#automatic-tests
fixtures = require 'cozy-fixtures'
{exec} = require 'child_process'
DovecotTesting = require 'dovecot-testing'
Imap = require '../server/imap/connection'
_ = require 'lodash'
Client = require('request-json').... |
[
{
"context": "#\n# Dialog main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 61,
"score": 0.9998834133148193,
"start": 44,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/dialog/main.coffee | lovely-io/lovely.io-stl | 2 | #
# Dialog main file
#
# Copyright (C) 2012 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
$ = require('dom')
UI = require('ui')
Ajax = require('ajax')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
Input = $.Input
Modal = UI.Modal
# ... | 68397 | #
# Dialog main file
#
# Copyright (C) 2012 <NAME>
#
# hook up dependencies
core = require('core')
$ = require('dom')
UI = require('ui')
Ajax = require('ajax')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
Input = $.Input
Modal = UI.Modal
# glue in you... | true | #
# Dialog main file
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
$ = require('dom')
UI = require('ui')
Ajax = require('ajax')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
Input = $.Input
Modal = UI.Modal
... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998704791069031,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/services/NotificationService.spec.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 130900 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "###\n# test/mocha/models/user.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Tests for our ",
"end": 58,
"score": 0.9997538924217224,
"start": 47,
"tag": "NAME",
"value": "Dan Nichols"
},
{
"context": "ne) ->\n user = Factory.build('user', em... | test/mocha/models/user.coffee | dlnichols/h_media | 0 | ###
# test/mocha/models/user.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Tests for our User model
###
'use strict'
# External libs
expect = require('chai').expect
# Internal libs
Factory = require '../../lib/factory'
User = require '../../../lib/models/user'
###
# User model test cases
###
de... | 194146 | ###
# test/mocha/models/user.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Tests for our User model
###
'use strict'
# External libs
expect = require('chai').expect
# Internal libs
Factory = require '../../lib/factory'
User = require '../../../lib/models/user'
###
# User model test cases
###
describ... | true | ###
# test/mocha/models/user.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Tests for our User model
###
'use strict'
# External libs
expect = require('chai').expect
# Internal libs
Factory = require '../../lib/factory'
User = require '../../../lib/models/user'
###
# User model test cas... |
[
{
"context": "@Config =\n\tname: 'Who Would You Rather?'\n\ttitle: 'Marry, HookUpWith or Kill'\n\tsubtitle: ",
"end": 38,
"score": 0.9743109941482544,
"start": 18,
"tag": "NAME",
"value": "Who Would You Rather"
},
{
"context": "alMedia:\n\t\tfacebook:\n\t\t\turl: 'http://facebook.com... | both/_config/_config.coffee | Innarticles/whowouldyourather-meteorjs-app | 0 | @Config =
name: 'Who Would You Rather?'
title: 'Marry, HookUpWith or Kill'
subtitle: 'Nigeria and Ghana Celebrity Edition'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + 'v1.0' + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
username: false
homeRoute: '/'
... | 109014 | @Config =
name: '<NAME>?'
title: 'Marry, HookUpWith or Kill'
subtitle: 'Nigeria and Ghana Celebrity Edition'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + 'v1.0' + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
username: false
homeRoute: '/'
dashboardRoute... | true | @Config =
name: 'PI:NAME:<NAME>END_PI?'
title: 'Marry, HookUpWith or Kill'
subtitle: 'Nigeria and Ghana Celebrity Edition'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + 'v1.0' + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
username: false
homeRoute: '/'
... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.9996104836463928,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/views/sort_button_view.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 34072 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": " => \n App.User.create id: 1, firstName: \"Lance\", callback\n (callback) =>\n App.Us",
"end": 436,
"score": 0.9983924031257629,
"start": 431,
"tag": "NAME",
"value": "Lance"
},
{
"context": ") =>\n App.User.create id: 2, firstName: \"D... | test/cases/model/scopeTest.coffee | vjsingh/tower | 1 | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Scope (Tower.Store.#{store.name})", ->
beforeEach (done) ->
async.series [
(callback) => store.clean(callback)
(callback) =>
App.User.store(store)
A... | 215056 | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Scope (Tower.Store.#{store.name})", ->
beforeEach (done) ->
async.series [
(callback) => store.clean(callback)
(callback) =>
App.User.store(store)
A... | true | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Scope (Tower.Store.#{store.name})", ->
beforeEach (done) ->
async.series [
(callback) => store.clean(callback)
(callback) =>
App.User.store(store)
A... |
[
{
"context": " responds with a random WITS image\n#\n# Author:\n# aaronbassett\n\nwitimgs = [\n \"http://i.imgur.com/g5GET.jpg\",",
"end": 399,
"score": 0.8560912609100342,
"start": 388,
"tag": "USERNAME",
"value": "aaronbasset"
},
{
"context": "th a random WITS image\n#\n# Auth... | src/scripts/wits.coffee | Reelhouse/hubot-scripts | 1,450 | # Description
# When Hubot hears anyone say "What is this shit?"
# it responds with a relevant meme image
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# wtf is this shit - responds with a random WITS image
# what the hell is this crap - responds with a random WITS image
# what the fu... | 58992 | # Description
# When Hubot hears anyone say "What is this shit?"
# it responds with a relevant meme image
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# wtf is this shit - responds with a random WITS image
# what the hell is this crap - responds with a random WITS image
# what the fu... | true | # Description
# When Hubot hears anyone say "What is this shit?"
# it responds with a relevant meme image
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# wtf is this shit - responds with a random WITS image
# what the hell is this crap - responds with a random WITS image
# what the fu... |
[
{
"context": " #\n # 2002/01/09 modified by Makoto Matsumoto #\n ###\n @mt[@mti] &= 0xffff",
"end": 1478,
"score": 0.9998478293418884,
"start": 1462,
"tag": "NAME",
"value": "Makoto Matsumoto"
}
] | lib/asteroids/util/mersenne_twister.coffee | darkoverlordofdata/asteroids-cocoonjs | 1 | ###
###
class MersenneTwister
# Period parameters
N = 624
M = 397
MATRIX_A = 0x9908b0df # constant vector a
UPPER_MASK = 0x80000000 # most significant w-r bits
LOWER_MASK = 0x7fffffff # least significant r bits
mt: null # the array for the state vector
mti: N+1 ... | 159385 | ###
###
class MersenneTwister
# Period parameters
N = 624
M = 397
MATRIX_A = 0x9908b0df # constant vector a
UPPER_MASK = 0x80000000 # most significant w-r bits
LOWER_MASK = 0x7fffffff # least significant r bits
mt: null # the array for the state vector
mti: N+1 ... | true | ###
###
class MersenneTwister
# Period parameters
N = 624
M = 397
MATRIX_A = 0x9908b0df # constant vector a
UPPER_MASK = 0x80000000 # most significant w-r bits
LOWER_MASK = 0x7fffffff # least significant r bits
mt: null # the array for the state vector
mti: N+1 ... |
[
{
"context": "\n method: \"POST\"\n body: {name: \"brian\"}\n headers: {\n \"x-token\": \"ab",
"end": 1433,
"score": 0.9980216026306152,
"start": 1428,
"tag": "NAME",
"value": "brian"
},
{
"context": "an\"}\n headers: {\n \"x-... | packages/driver/test/cypress/integration/commands/request_spec.coffee | flozender/cypress | 1 | _ = Cypress._
Promise = Cypress.Promise
RESPONSE_TIMEOUT = 22222
describe "src/cy/commands/request", ->
context "#request", ->
beforeEach ->
cy.stub(Cypress, "backend").callThrough()
Cypress.config("responseTimeout", RESPONSE_TIMEOUT)
describe "argument signature", ->
beforeEach ->
... | 37559 | _ = Cypress._
Promise = Cypress.Promise
RESPONSE_TIMEOUT = 22222
describe "src/cy/commands/request", ->
context "#request", ->
beforeEach ->
cy.stub(Cypress, "backend").callThrough()
Cypress.config("responseTimeout", RESPONSE_TIMEOUT)
describe "argument signature", ->
beforeEach ->
... | true | _ = Cypress._
Promise = Cypress.Promise
RESPONSE_TIMEOUT = 22222
describe "src/cy/commands/request", ->
context "#request", ->
beforeEach ->
cy.stub(Cypress, "backend").callThrough()
Cypress.config("responseTimeout", RESPONSE_TIMEOUT)
describe "argument signature", ->
beforeEach ->
... |
[
{
"context": "n = 'left'\n\n\t\t\thash = {\n\t\t\t\ttype: 'Text'\n\t\t\t\tname: name\n\t\t\t\ttext: originalText\n\t\t\t\ttextType: textType\n\t\t\t",
"end": 18502,
"score": 0.8244946599006653,
"start": 18498,
"tag": "NAME",
"value": "name"
},
{
"context": "\t\t}\n\t\telse\n\t\t\thas... | PhotoshopScript/Baum.coffee | hadoumune/Baum2 | 0 | class Baum
@version = '0.7.0'
@build = '1.0.3'
@maxLength = 1920
run: ->
@saveFolder = null
if app.documents.length == 0
filePaths = File.openDialog("Select a file", "*", true)
for filePath in filePaths
app.activeDocument = app.open(File(filePath))
@runOneFile(true)
else
@runOneFile(false)
... | 142066 | class Baum
@version = '0.7.0'
@build = '1.0.3'
@maxLength = 1920
run: ->
@saveFolder = null
if app.documents.length == 0
filePaths = File.openDialog("Select a file", "*", true)
for filePath in filePaths
app.activeDocument = app.open(File(filePath))
@runOneFile(true)
else
@runOneFile(false)
... | true | class Baum
@version = '0.7.0'
@build = '1.0.3'
@maxLength = 1920
run: ->
@saveFolder = null
if app.documents.length == 0
filePaths = File.openDialog("Select a file", "*", true)
for filePath in filePaths
app.activeDocument = app.open(File(filePath))
@runOneFile(true)
else
@runOneFile(false)
... |
[
{
"context": ": 'tem_cwG3HZjEyb6QE493hZuUra'\n password_reset: 'tem_wbQUMRtLY9xhec8BSCykLA'\n teacher_drip_day_0: 'tem_cfWT9mXjJrw9P6VPwGdpp",
"end": 1464,
"score": 0.9988920092582703,
"start": 1438,
"tag": "PASSWORD",
"value": "tem_wbQUMRtLY9xhec8BSCykLA"
}
] | server/sendwithus.coffee | gugumiao/codecombat | 0 | config = require '../server_config'
sendwithusAPI = require 'sendwithus'
swuAPIKey = config.mail.sendwithusAPIKey
log = require 'winston'
Promise = require 'bluebird'
module.exports.setupRoutes = (app) ->
return
debug = not config.isProduction
module.exports.api =
send: (context, cb) ->
log.debug('Tried to se... | 210383 | config = require '../server_config'
sendwithusAPI = require 'sendwithus'
swuAPIKey = config.mail.sendwithusAPIKey
log = require 'winston'
Promise = require 'bluebird'
module.exports.setupRoutes = (app) ->
return
debug = not config.isProduction
module.exports.api =
send: (context, cb) ->
log.debug('Tried to se... | true | config = require '../server_config'
sendwithusAPI = require 'sendwithus'
swuAPIKey = config.mail.sendwithusAPIKey
log = require 'winston'
Promise = require 'bluebird'
module.exports.setupRoutes = (app) ->
return
debug = not config.isProduction
module.exports.api =
send: (context, cb) ->
log.debug('Tried to se... |
[
{
"context": "8E8E']\n\tfmap reviews.val, (r) ->\n\t\tuser =\n\t\t\tname: r.user\n\t\t\tinitials: head r.user\n\t\t\tcolor: colors[he",
"end": 1600,
"score": 0.42602476477622986,
"start": 1599,
"tag": "NAME",
"value": "r"
},
{
"context": "8E']\n\tfmap reviews.val, (r) ->\n\t\tuser =\... | examples/restaurant-reviewer/src/base/lifters.coffee | Cottin/oublie | 0 | {compose, curry, filter, find, has, head, isEmpty, isNil, mean, merge, pluck, prop, reverse, sortBy, toLower, type, values, whereEq} = R = require 'ramda' #auto_require:ramda
{cc, fmap, fmapObjIndexed} = require 'ramda-extras' #auto_require:ramda-extras
denorm = curry (data, o) ->
fmapObjIndexed o, (v, k) ->
if ! h... | 79555 | {compose, curry, filter, find, has, head, isEmpty, isNil, mean, merge, pluck, prop, reverse, sortBy, toLower, type, values, whereEq} = R = require 'ramda' #auto_require:ramda
{cc, fmap, fmapObjIndexed} = require 'ramda-extras' #auto_require:ramda-extras
denorm = curry (data, o) ->
fmapObjIndexed o, (v, k) ->
if ! h... | true | {compose, curry, filter, find, has, head, isEmpty, isNil, mean, merge, pluck, prop, reverse, sortBy, toLower, type, values, whereEq} = R = require 'ramda' #auto_require:ramda
{cc, fmap, fmapObjIndexed} = require 'ramda-extras' #auto_require:ramda-extras
denorm = curry (data, o) ->
fmapObjIndexed o, (v, k) ->
if ! h... |
[
{
"context": "e('gapi')\n .value 'GoogleApp', \n apiKey: '1234'\n clientId: 'abcd'\n \n\n beforeEach module",
"end": 218,
"score": 0.998245120048523,
"start": 214,
"tag": "KEY",
"value": "1234"
},
{
"context": "pp = {\n oauthToken: {\n access_token: '1234... | test/spec/PlusSpec.coffee | Ritvik1512/GAPI-Community-Project | 0 | describe 'GAPI', ->
{
GAPI,Plus,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($injector) ->
GAP... | 9076 | describe 'GAPI', ->
{
GAPI,Plus,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($injector) ->
GA... | true | describe 'GAPI', ->
{
GAPI,Plus,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach inject ($inject... |
[
{
"context": "e home for this device', ->\n @sut.login 'Repete', '54321'\n @rootScope.$digest()\n ",
"end": 2092,
"score": 0.9103009700775146,
"start": 2086,
"tag": "NAME",
"value": "Repete"
}
] | test/login-controller-spec.coffee | octoblu/blu-web | 3 | describe 'LoginController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@authenticatorService = {}
@location = {}
@rootScope = $rootScope
@location = { path: sinon.spy() }
@cookies = {}
@sut = $controller('LoginController', {
... | 225448 | describe 'LoginController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@authenticatorService = {}
@location = {}
@rootScope = $rootScope
@location = { path: sinon.spy() }
@cookies = {}
@sut = $controller('LoginController', {
... | true | describe 'LoginController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@authenticatorService = {}
@location = {}
@rootScope = $rootScope
@location = { path: sinon.spy() }
@cookies = {}
@sut = $controller('LoginController', {
... |
[
{
"context": "t'\n baseDN: 'dc=foo,dc=net'\n username: 'conf'\n password: 'room'\n }\n\n @activedirecto",
"end": 272,
"score": 0.9993535280227661,
"start": 268,
"tag": "USERNAME",
"value": "conf"
},
{
"context": "o,dc=net'\n username: 'conf'\n password:... | test/connector-spec.coffee | octoblu/meshblu-connector-activedirectory | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
options = {
url: 'LDAP://LPD.foo.net'
baseDN: 'dc=foo,dc=net'
username: 'conf'
password: 'room'
}
@activedirec... | 123386 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
options = {
url: 'LDAP://LPD.foo.net'
baseDN: 'dc=foo,dc=net'
username: 'conf'
password: '<PASSWORD>'
}
@activ... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
options = {
url: 'LDAP://LPD.foo.net'
baseDN: 'dc=foo,dc=net'
username: 'conf'
password: 'PI:PASSWORD:<PASSWORD>END_PI'... |
[
{
"context": " CleverStyle Music\n * @category app\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 85,
"score": 0.9998925924301147,
"start": 69,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": " * @category app\n * @author N... | js/ac.music_settings.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category app
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
cs.music_settings = do ->
settings = localStorage.settings
settings =
if settings
JSON.parse(settin... | 45909 | ###*
* @package CleverStyle Music
* @category app
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
cs.music_settings = do ->
settings = localStorage.settings
settings =
if settings
JSON.parse(settings)
else
repeat : 'all'
... | true | ###*
* @package CleverStyle Music
* @category app
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
cs.music_settings = do ->
settings = localStorage.settings
settings =
if settings
JSON.pa... |
[
{
"context": "###\n\t(c) 2016 Julian Gonggrijp\n###\n\ncasper.test.begin 'The visitor is welcomed t",
"end": 30,
"score": 0.9998789429664612,
"start": 14,
"tag": "NAME",
"value": "Julian Gonggrijp"
}
] | functional-tests/welcome.coffee | NBOCampbellToets/CampbellSoup | 0 | ###
(c) 2016 Julian Gonggrijp
###
casper.test.begin 'The visitor is welcomed to the index page', (test) ->
casper.start 'http://localhost:8000'
casper.then () ->
casper.waitForSelectorTextChange 'main'
casper.then () ->
test.assertTitle 'CampbellSoup'
test.assertExists 'h1'
test.assertSelectorHasText 'h1',... | 34463 | ###
(c) 2016 <NAME>
###
casper.test.begin 'The visitor is welcomed to the index page', (test) ->
casper.start 'http://localhost:8000'
casper.then () ->
casper.waitForSelectorTextChange 'main'
casper.then () ->
test.assertTitle 'CampbellSoup'
test.assertExists 'h1'
test.assertSelectorHasText 'h1', 'Campbell... | true | ###
(c) 2016 PI:NAME:<NAME>END_PI
###
casper.test.begin 'The visitor is welcomed to the index page', (test) ->
casper.start 'http://localhost:8000'
casper.then () ->
casper.waitForSelectorTextChange 'main'
casper.then () ->
test.assertTitle 'CampbellSoup'
test.assertExists 'h1'
test.assertSelectorHasText '... |
[
{
"context": "ype() isnt 'tEXt'\n\n if chunk.key() is 'filename'\n original = chunk.value().toStrin",
"end": 1402,
"score": 0.5971666574478149,
"start": 1394,
"tag": "KEY",
"value": "filename"
},
{
"context": "eStream dest\n\n else if chunk.key() ... | src/png.coffee | ricardobeat/filr | 31 | fs = require 'fs'
os = require 'os'
path = require 'path'
rice = require 'chunky-rice'
getTempFile = (ext) ->
path.join(os.tmpdir(), "filr-#{Date.now().toString(36)}.#{ext}")
# Encode data into PNG
# -----------------------------------------------------------------------------
encode = (file, dest, callback)... | 5758 | fs = require 'fs'
os = require 'os'
path = require 'path'
rice = require 'chunky-rice'
getTempFile = (ext) ->
path.join(os.tmpdir(), "filr-#{Date.now().toString(36)}.#{ext}")
# Encode data into PNG
# -----------------------------------------------------------------------------
encode = (file, dest, callback)... | true | fs = require 'fs'
os = require 'os'
path = require 'path'
rice = require 'chunky-rice'
getTempFile = (ext) ->
path.join(os.tmpdir(), "filr-#{Date.now().toString(36)}.#{ext}")
# Encode data into PNG
# -----------------------------------------------------------------------------
encode = (file, dest, callback)... |
[
{
"context": " wrapped `Thing`s\n find: (key)->\n key = new Label(key) unless key instanceof Thing\n results = @",
"end": 4224,
"score": 0.6863783001899719,
"start": 4218,
"tag": "KEY",
"value": "Label("
}
] | code/Paws/Source/data.coffee | mitchellurgero/illacceptanything | 1 | require('./utilities.coffee').infect global
uuid = require 'node-uuid'
util = require 'util'
{EventEmitter} = require 'events'
module.exports =
Paws = new Object
Paws.debugging = require('./additional.coffee').debugging
Paws.debugging.inject Paws
# Core data-types
# ---------------
#---
# XXX: I'm not sure of... | 90342 | require('./utilities.coffee').infect global
uuid = require 'node-uuid'
util = require 'util'
{EventEmitter} = require 'events'
module.exports =
Paws = new Object
Paws.debugging = require('./additional.coffee').debugging
Paws.debugging.inject Paws
# Core data-types
# ---------------
#---
# XXX: I'm not sure of... | true | require('./utilities.coffee').infect global
uuid = require 'node-uuid'
util = require 'util'
{EventEmitter} = require 'events'
module.exports =
Paws = new Object
Paws.debugging = require('./additional.coffee').debugging
Paws.debugging.inject Paws
# Core data-types
# ---------------
#---
# XXX: I'm not sure of... |
[
{
"context": ".png']\n github: 'http://www.github.com/caseyross/portfolio'\n }\n {\n name: ",
"end": 1085,
"score": 0.9995768666267395,
"start": 1076,
"tag": "USERNAME",
"value": "caseyross"
},
{
"context": "2cox']\n github: 'http://www.... | public/portfolio.coffee | caseyross/portfolio | 0 | portfolio = angular.module 'portfolio', []
portfolio.controller 'PortfolioController', ->
@projects = [
{
name: 'Volunteer platform redesign'
year: '2015'
type: 'school / work'
skillset: 'both'
title: 'UX evaluation and redesign for stemfire.com'
... | 69751 | portfolio = angular.module 'portfolio', []
portfolio.controller 'PortfolioController', ->
@projects = [
{
name: 'Volunteer platform redesign'
year: '2015'
type: 'school / work'
skillset: 'both'
title: 'UX evaluation and redesign for stemfire.com'
... | true | portfolio = angular.module 'portfolio', []
portfolio.controller 'PortfolioController', ->
@projects = [
{
name: 'Volunteer platform redesign'
year: '2015'
type: 'school / work'
skillset: 'both'
title: 'UX evaluation and redesign for stemfire.com'
... |
[
{
"context": "module.exports = [\n {\n id: 'Blue'\n name: 'Blue Whale'\n scientificName: 'Bala",
"end": 36,
"score": 0.9995338916778564,
"start": 32,
"tag": "NAME",
"value": "Blue"
},
{
"context": "module.exports = [\n {\n id: 'Blue'\n name: 'Blue Whale'\n scienti... | scripts/sightingsTemplate.coffee | mcclintock-lab/safe-passages-reports | 0 | module.exports = [
{
id: 'Blue'
name: 'Blue Whale'
scientificName: 'Balaenoptera musculus'
count: 0
count_tot: 6094
},
{
id: 'Humpback'
name: 'Humpback Whale'
scientificName: 'Megaptera novaeangliae'
count: 0
count_tot: 8554
},
{
id: 'Gray'
name: 'Gray Whale'
... | 201899 | module.exports = [
{
id: '<NAME>'
name: '<NAME>'
scientificName: 'Balaenoptera musculus'
count: 0
count_tot: 6094
},
{
id: '<NAME>'
name: '<NAME>'
scientificName: '<NAME>aptera novaeangliae'
count: 0
count_tot: 8554
},
{
id: '<NAME>'
name: '<NAME>'
scientifi... | true | module.exports = [
{
id: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
scientificName: 'Balaenoptera musculus'
count: 0
count_tot: 6094
},
{
id: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
scientificName: 'PI:NAME:<NAME>END_PIaptera novaeangliae'
count: 0
coun... |
[
{
"context": "ports.Cylinder extends Entity\n\n\tentity :\n\t\tname: \"Cylinder\",\n\t\ttype: \"a-cylinder\"\n\n\t# ----------------------",
"end": 114,
"score": 0.9554445743560791,
"start": 106,
"tag": "NAME",
"value": "Cylinder"
}
] | src/Cylinder.coffee | etiennepinchon/hologram | 89 | {entityAttribute, Entity} = require "./Entity"
class exports.Cylinder extends Entity
entity :
name: "Cylinder",
type: "a-cylinder"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "height", entityAtt... | 157464 | {entityAttribute, Entity} = require "./Entity"
class exports.Cylinder extends Entity
entity :
name: "<NAME>",
type: "a-cylinder"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "height", entityAttri... | true | {entityAttribute, Entity} = require "./Entity"
class exports.Cylinder extends Entity
entity :
name: "PI:NAME:<NAME>END_PI",
type: "a-cylinder"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "height... |
[
{
"context": " resultsSent = 0\n minResults = 10\n\n key = \"nm:#{keyword}\"\n opt =\n start: key\n end: key + Strin",
"end": 542,
"score": 0.9960676431655884,
"start": 528,
"tag": "KEY",
"value": "nm:#{keyword}\""
}
] | src/index.coffee | EmmanuelCuillier/kerplunk-city-autocomplete-master | 0 | es = require 'event-stream'
Hifo = require 'hifo-stream'
module.exports = (System) ->
citySearch = (keyword) ->
return unless keyword?.toLowerCase
createReadStream = System.getMethod 'kerplunk-place', 'createReadStream'
PlaceTransforms = System.getMethod 'kerplunk-place', 'transforms'
return console... | 25910 | es = require 'event-stream'
Hifo = require 'hifo-stream'
module.exports = (System) ->
citySearch = (keyword) ->
return unless keyword?.toLowerCase
createReadStream = System.getMethod 'kerplunk-place', 'createReadStream'
PlaceTransforms = System.getMethod 'kerplunk-place', 'transforms'
return console... | true | es = require 'event-stream'
Hifo = require 'hifo-stream'
module.exports = (System) ->
citySearch = (keyword) ->
return unless keyword?.toLowerCase
createReadStream = System.getMethod 'kerplunk-place', 'createReadStream'
PlaceTransforms = System.getMethod 'kerplunk-place', 'transforms'
return console... |
[
{
"context": "t current info for the tracking id\n#\n# Author:\n# François de Metz\n\nAftership = require('aftership')(process.env.AFT",
"end": 263,
"score": 0.9998583197593689,
"start": 247,
"tag": "NAME",
"value": "François de Metz"
}
] | src/aftership.coffee | francois2metz/hubot-aftership | 1 | # Description
# Track your packages
#
# Configuration:
# AFTERSHIP_API_KEY
# AFTERSHIP_SECRET
#
# Commands:
# hubot track me <trackingnumber> - Track package
# hubot track info <id> - get current info for the tracking id
#
# Author:
# François de Metz
Aftership = require('aftership')(process.env.AFTERSHIP_... | 169346 | # Description
# Track your packages
#
# Configuration:
# AFTERSHIP_API_KEY
# AFTERSHIP_SECRET
#
# Commands:
# hubot track me <trackingnumber> - Track package
# hubot track info <id> - get current info for the tracking id
#
# Author:
# <NAME>
Aftership = require('aftership')(process.env.AFTERSHIP_API_KEY)
u... | true | # Description
# Track your packages
#
# Configuration:
# AFTERSHIP_API_KEY
# AFTERSHIP_SECRET
#
# Commands:
# hubot track me <trackingnumber> - Track package
# hubot track info <id> - get current info for the tracking id
#
# Author:
# PI:NAME:<NAME>END_PI
Aftership = require('aftership')(process.env.AFTERS... |
[
{
"context": "ser = {username: $scope.user.username, password: $scope.user.password}\n $http.post(\"/login\", user)\n .succ",
"end": 3021,
"score": 0.9868027567863464,
"start": 3002,
"tag": "PASSWORD",
"value": "scope.user.password"
}
] | app/assets/javascripts/controller.coffee | dtb11288/flashcard_demo | 0 | app = angular.module("app", ['ui.bootstrap'])
app.controller "controlCard", ($scope, $http) ->
$('.flip').click ->
$(this).find('.card').toggleClass('flipped')
$scope.cards = []
$scope.card = {word: null, read: null, mean: null}
$scope.getCards = () =>
$http.get("/cards")
.su... | 88330 | app = angular.module("app", ['ui.bootstrap'])
app.controller "controlCard", ($scope, $http) ->
$('.flip').click ->
$(this).find('.card').toggleClass('flipped')
$scope.cards = []
$scope.card = {word: null, read: null, mean: null}
$scope.getCards = () =>
$http.get("/cards")
.su... | true | app = angular.module("app", ['ui.bootstrap'])
app.controller "controlCard", ($scope, $http) ->
$('.flip').click ->
$(this).find('.card').toggleClass('flipped')
$scope.cards = []
$scope.card = {word: null, read: null, mean: null}
$scope.getCards = () =>
$http.get("/cards")
.su... |
[
{
"context": "->\n @redisClient = Redis.createClient(\"6379\", \"127.0.0.1\")\n\n infoCheck: (request, response, next) =>\n ",
"end": 329,
"score": 0.9997491836547852,
"start": 320,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "oldPassword\n query = {}\n que... | app/controllers/forgot-password-controller.coffee | DesertEagleX/meshblu-sms-plugin-3.0 | 0 | debug = require('debug')('meshblu-authenticator-email-password:forgot-controller')
Redis = require 'redis'
_ = require 'lodash'
url = require 'url'
querystring = require 'querystring'
class ForgotPasswordController
constructor: ({@deviceModel, @forgotPasswordModel}) ->
@redisClient = Redis.createClient("6379", "... | 45317 | debug = require('debug')('meshblu-authenticator-email-password:forgot-controller')
Redis = require 'redis'
_ = require 'lodash'
url = require 'url'
querystring = require 'querystring'
class ForgotPasswordController
constructor: ({@deviceModel, @forgotPasswordModel}) ->
@redisClient = Redis.createClient("6379", "... | true | debug = require('debug')('meshblu-authenticator-email-password:forgot-controller')
Redis = require 'redis'
_ = require 'lodash'
url = require 'url'
querystring = require 'querystring'
class ForgotPasswordController
constructor: ({@deviceModel, @forgotPasswordModel}) ->
@redisClient = Redis.createClient("6379", "... |
[
{
"context": "om.Model', ->\n model = null\n data =\n name: \"Peter Cetera\"\n site: 'petercetera.com'\n\n songs: [\n ",
"end": 631,
"score": 0.9998817443847656,
"start": 619,
"tag": "NAME",
"value": "Peter Cetera"
},
{
"context": " I Fall', year: 1986 }\n ],\n ... | specs/coffee/model_spec.js.coffee | coroutine/crom | 0 | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
class TestModel extends Crom.Model
defaults:
name: null
site... | 62808 | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
class TestModel extends Crom.Model
defaults:
name: null
site... | true | # ------------------------------------------------------------------------------
# Basic Defs for Test
# ------------------------------------------------------------------------------
class TestCollection extends Crom.Collection
model: Crom.Model
class TestModel extends Crom.Model
defaults:
name: null
site... |
[
{
"context": "fruitsData = [\n {\n name: \"Banana\"\n }, {\n name: \"Apple\"\n }, {\n name: \"Peach",
"end": 36,
"score": 0.9852864742279053,
"start": 30,
"tag": "NAME",
"value": "Banana"
},
{
"context": "Data = [\n {\n name: \"Banana\"\n }, {\n name: \"Apple\"\n ... | src/demo/data/fruits-data.coffee | Prevole/backbone.admin | 0 | fruitsData = [
{
name: "Banana"
}, {
name: "Apple"
}, {
name: "Peach"
}, {
name: "Grape"
}, {
name: "Grapefruits"
}, {
name: "Lemon"
}, {
name: "Orange"
}, {
name: "Tomato"
}, {
name: "Apricot"
}, {
name: "Avocado"
}, {
name: "Cherry"
}, {
name: "C... | 202036 | fruitsData = [
{
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAME>"
}, {
name: "<NAM... | true | fruitsData = [
{
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<NAME>END_PI"
}, {
name: "PI:NAME:<N... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9593666195869446,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/infoTab.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# The Client Information tab on the client file page.
Imm = require 'immutable'
Moment = require 'moment'
Config = re... | 152069 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# The Client Information tab on the client file page.
Imm = require 'immutable'
Moment = require 'moment'
Config = re... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# The Client Information tab on the client file page.
Imm = require 'immutable'
Moment = require 'moment... |
[
{
"context": "te = $newsTicker.attr(\"data-date\")\n cookieKey = \"hide-news-ticker\"\n\n return if $newsTicker.attr(\"data-news-hide\") ",
"end": 157,
"score": 0.811087965965271,
"start": 141,
"tag": "KEY",
"value": "hide-news-ticker"
}
] | app/assets/javascripts/init.news.coffee | eientei/moebooru | 0 | $ = jQuery
$(document).on "ready page:load", ->
$newsTicker = $("#news-ticker")
newsDate = $newsTicker.attr("data-date")
cookieKey = "hide-news-ticker"
return if $newsTicker.attr("data-news-hide") == "1"
if Cookies(cookieKey) != newsDate
$newsTicker.show()
$newsTicker.find(".close-link").click (e) -... | 152584 | $ = jQuery
$(document).on "ready page:load", ->
$newsTicker = $("#news-ticker")
newsDate = $newsTicker.attr("data-date")
cookieKey = "<KEY>"
return if $newsTicker.attr("data-news-hide") == "1"
if Cookies(cookieKey) != newsDate
$newsTicker.show()
$newsTicker.find(".close-link").click (e) ->
e.pre... | true | $ = jQuery
$(document).on "ready page:load", ->
$newsTicker = $("#news-ticker")
newsDate = $newsTicker.attr("data-date")
cookieKey = "PI:KEY:<KEY>END_PI"
return if $newsTicker.attr("data-news-hide") == "1"
if Cookies(cookieKey) != newsDate
$newsTicker.show()
$newsTicker.find(".close-link").click (e)... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998558163642883,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/index.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 61047 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.99992835521698,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/components/tags/tag-line-detail/tag-line-detail.controller.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>
#
# 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 the
# License, or (at your option) any later version.
... | 42819 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <<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 the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <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 General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": "y-aye man\n# hubot fog on the tyne\n#\n# Author:\n# pstack\n\ngeordies = [\n \"http://static.squarespace.com/st",
"end": 161,
"score": 0.999698281288147,
"start": 155,
"tag": "USERNAME",
"value": "pstack"
},
{
"context": "d \"I have no idea what he's saying. I canno... | src/scripts/geordie.coffee | ryantomlinson/hubot-scripts | 0 | # Description:
# Following on from the spudme theme, this is NOT racist :)
#
# Commands:
# hubot whey-aye man
# hubot fog on the tyne
#
# Author:
# pstack
geordies = [
"http://static.squarespace.com/static/5011abbee4b0253ab1204ac0/t/511b569ae4b0dcc6d89c9db5/1360746138704/GAzza.jpeg",
"http://www.assetstorag... | 130446 | # Description:
# Following on from the spudme theme, this is NOT racist :)
#
# Commands:
# hubot whey-aye man
# hubot fog on the tyne
#
# Author:
# pstack
geordies = [
"http://static.squarespace.com/static/5011abbee4b0253ab1204ac0/t/511b569ae4b0dcc6d89c9db5/1360746138704/GAzza.jpeg",
"http://www.assetstorag... | true | # Description:
# Following on from the spudme theme, this is NOT racist :)
#
# Commands:
# hubot whey-aye man
# hubot fog on the tyne
#
# Author:
# pstack
geordies = [
"http://static.squarespace.com/static/5011abbee4b0253ab1204ac0/t/511b569ae4b0dcc6d89c9db5/1360746138704/GAzza.jpeg",
"http://www.assetstorag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.