entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "\": [\n {\n \"name\": {\n \"last\": \"Jones\",\n \"first\": \"Richard\"\n }\n },",
"end": 2289,
"score": 0.9996662139892578,
"start": 2284,
"tag": "NAME",
"value": "Jones"
},
{
"context": " {\n \"last\": \"Jones\",\n ... | server/use/dissemin.coffee | leviathanindustries/noddy | 2 |
# at 17/01/2016 dissemin searches crossref, base, sherpa/romeo, zotero primarily,
# and arxiv, hal, pmc, openaire, doaj, perse, cairn.info, numdam secondarily via oa-pmh
# see http://dissem.in/sources
# http://dev.dissem.in/api.html
API.use ?= {}
API.use.dissemin = {}
API.add 'use/dissemin/doi/:doipre/:doipost',
... | 192776 |
# at 17/01/2016 dissemin searches crossref, base, sherpa/romeo, zotero primarily,
# and arxiv, hal, pmc, openaire, doaj, perse, cairn.info, numdam secondarily via oa-pmh
# see http://dissem.in/sources
# http://dev.dissem.in/api.html
API.use ?= {}
API.use.dissemin = {}
API.add 'use/dissemin/doi/:doipre/:doipost',
... | true |
# at 17/01/2016 dissemin searches crossref, base, sherpa/romeo, zotero primarily,
# and arxiv, hal, pmc, openaire, doaj, perse, cairn.info, numdam secondarily via oa-pmh
# see http://dissem.in/sources
# http://dev.dissem.in/api.html
API.use ?= {}
API.use.dissemin = {}
API.add 'use/dissemin/doi/:doipre/:doipost',
... |
[
{
"context": "age = 29\nname = \"Jacob\"\n\nif true\n console.log \"True!\"\nelse\n console.lo",
"end": 22,
"score": 0.9997655749320984,
"start": 17,
"tag": "NAME",
"value": "Jacob"
},
{
"context": " constructor: (@name) ->\n\nstudent = new Student(\"Mohammed\")\n\nconsole.log stu... | CoffeeScript/main.coffee | jgphilpott/babel | 1 | age = 29
name = "Jacob"
if true
console.log "True!"
else
console.log "False!"
letters = ["a", "b", "c", "d", "e", "f", "g"]
for letter in letters
console.log letter
greet = (message) ->
console.log message
greet("Hello World!")
class Student
constructor: (@name) ->
student = new Student("Mohammed")
co... | 187315 | age = 29
name = "<NAME>"
if true
console.log "True!"
else
console.log "False!"
letters = ["a", "b", "c", "d", "e", "f", "g"]
for letter in letters
console.log letter
greet = (message) ->
console.log message
greet("Hello World!")
class Student
constructor: (@name) ->
student = new Student("<NAME>")
con... | true | age = 29
name = "PI:NAME:<NAME>END_PI"
if true
console.log "True!"
else
console.log "False!"
letters = ["a", "b", "c", "d", "e", "f", "g"]
for letter in letters
console.log letter
greet = (message) ->
console.log message
greet("Hello World!")
class Student
constructor: (@name) ->
student = new Student(... |
[
{
"context": " new Vanity(url: \"http://localhost:3003\", token: \"secret\")\n split = vanity.split(\"foo-bar\")\n # Recor",
"end": 561,
"score": 0.638130247592926,
"start": 555,
"tag": "PASSWORD",
"value": "secret"
},
{
"context": "\n # Record participants\n Async.forEac... | server/test/api_split_test.coffee | assaf/vanity.js | 2 | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
EventSource = require("./event_source")
redis = require("../config/redis")
Vanity ... | 68491 | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
EventSource = require("./event_source")
redis = require("../config/redis")
Vanity ... | true | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
EventSource = require("./event_source")
redis = require("../config/redis")
Vanity ... |
[
{
"context": "(err) if err?\n# \n# data.password = data2.password\n# client.users.redeem data, (err, user) =",
"end": 1237,
"score": 0.9991844892501831,
"start": 1223,
"tag": "PASSWORD",
"value": "data2.password"
},
{
"context": " @log('')\n# @l... | lib/app/commands/user.coffee | awesomebox/awesomebox | 1 | {chalk} = require 'commandment'
errors = require '../errors'
# exports.reserve = (cb) ->
# @prompt.get
# properties:
# email:
# required: true
# , (err, data) =>
# return cb(err) if err?
#
# client = @client()
# client.users.reserve data, (err, user) =>
# return cb(err) if ... | 73378 | {chalk} = require 'commandment'
errors = require '../errors'
# exports.reserve = (cb) ->
# @prompt.get
# properties:
# email:
# required: true
# , (err, data) =>
# return cb(err) if err?
#
# client = @client()
# client.users.reserve data, (err, user) =>
# return cb(err) if ... | true | {chalk} = require 'commandment'
errors = require '../errors'
# exports.reserve = (cb) ->
# @prompt.get
# properties:
# email:
# required: true
# , (err, data) =>
# return cb(err) if err?
#
# client = @client()
# client.users.reserve data, (err, user) =>
# return cb(err) if ... |
[
{
"context": "if value instanceof Date\n full_path_key = \"#{prefix}#{key}\"\n key_to_type[full_path_key] = \"Date\"\n\n ",
"end": 835,
"score": 0.9872434139251709,
"start": 818,
"tag": "KEY",
"value": "\"#{prefix}#{key}\""
},
{
"context": "peof value isnt 'functio... | lib/shared.coffee | gterrono/houston | 508 | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._custom_method_name = (collection_name, method_name) ->
Houston._houstonize("#{collection_name}/#{method_name}")
# change _MAX_DOCS_TO_EXPLORE if you need us to explore more docs
Houston._MAX_DOCS_TO_EXPLORE = 100
... | 51855 | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._custom_method_name = (collection_name, method_name) ->
Houston._houstonize("#{collection_name}/#{method_name}")
# change _MAX_DOCS_TO_EXPLORE if you need us to explore more docs
Houston._MAX_DOCS_TO_EXPLORE = 100
... | true | root = exports ? this
root.Houston ?= {}
Houston._houstonize = (name) -> "_houston_#{name}"
Houston._custom_method_name = (collection_name, method_name) ->
Houston._houstonize("#{collection_name}/#{method_name}")
# change _MAX_DOCS_TO_EXPLORE if you need us to explore more docs
Houston._MAX_DOCS_TO_EXPLORE = 100
... |
[
{
"context": "l\"\n input:\n api_key: \"baz\"\n \"first name\": \"baz\"\n last_name: \"foo\"\n array: [\n {\n ",
"end": 512,
"score": 0.9965750575065613,
"start": 509,
"tag": "NAME",
"value": "baz"
},
{
"context": "ey: \"baz\"\n \"first name\": \"baz\"\n ... | test/fixtures.coffee | vgrbr/normalize-object | 0 | fixtures = []
fixtures.push
name: "simple (defaults to camel)"
input:
key_key: [Key: "baz"]
output:
keyKey: [key: "baz"]
fixtures.push
name: "simple pascal"
method: "pascal"
input:
key_key: [Key: "baz"]
output:
KeyKey: [Key: "baz"]
fixtures.push
name: "simple camel"
method: "camel... | 114702 | fixtures = []
fixtures.push
name: "simple (defaults to camel)"
input:
key_key: [Key: "baz"]
output:
keyKey: [key: "baz"]
fixtures.push
name: "simple pascal"
method: "pascal"
input:
key_key: [Key: "baz"]
output:
KeyKey: [Key: "baz"]
fixtures.push
name: "simple camel"
method: "camel... | true | fixtures = []
fixtures.push
name: "simple (defaults to camel)"
input:
key_key: [Key: "baz"]
output:
keyKey: [key: "baz"]
fixtures.push
name: "simple pascal"
method: "pascal"
input:
key_key: [Key: "baz"]
output:
KeyKey: [Key: "baz"]
fixtures.push
name: "simple camel"
method: "camel... |
[
{
"context": "me comments': null\n group1:\n key1a: '\"value1a\"'\n '# comment': null\n key1b: '1'\n ",
"end": 592,
"score": 0.9929466247558594,
"start": 585,
"tag": "KEY",
"value": "value1a"
},
{
"context": "lue1a\"'\n '# comment': null\n key... | packages/core/test/misc.ini/stringify_multi_brackets.coffee | chibanemourad/node-nikita | 0 |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini stringify_multi_brackets', ->
it 'stringify test eol', ->
res = ini.stringify_multi_brackets
user: preference: color: true
group:
name: 'us'
, eol: '|'
res.should.eql '[user]| [... | 28796 |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini stringify_multi_brackets', ->
it 'stringify test eol', ->
res = ini.stringify_multi_brackets
user: preference: color: true
group:
name: 'us'
, eol: '|'
res.should.eql '[user]| [... | true |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini stringify_multi_brackets', ->
it 'stringify test eol', ->
res = ini.stringify_multi_brackets
user: preference: color: true
group:
name: 'us'
, eol: '|'
res.should.eql '[user]| [... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991855621337891,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-timers-this.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... | 159697 | # 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": "e'\n\nLayoutCtrl = ($scope) ->\n $scope.albert = \"Albert\"\n\napp.controller('LayoutCtrl', ['$scope', LayoutC",
"end": 84,
"score": 0.9988563060760498,
"start": 78,
"tag": "NAME",
"value": "Albert"
}
] | client/layout/layout.ng.coffee | albertsgrc/cmm-frontend | 0 | import '/client/app.ng.coffee'
LayoutCtrl = ($scope) ->
$scope.albert = "Albert"
app.controller('LayoutCtrl', ['$scope', LayoutCtrl]) | 163254 | import '/client/app.ng.coffee'
LayoutCtrl = ($scope) ->
$scope.albert = "<NAME>"
app.controller('LayoutCtrl', ['$scope', LayoutCtrl]) | true | import '/client/app.ng.coffee'
LayoutCtrl = ($scope) ->
$scope.albert = "PI:NAME:<NAME>END_PI"
app.controller('LayoutCtrl', ['$scope', LayoutCtrl]) |
[
{
"context": "@User = class User extends MockClass\n name: 'default name'\n\nasyncTest 'it should pull in objects for f",
"end": 215,
"score": 0.8179405927658081,
"start": 208,
"tag": "NAME",
"value": "default"
},
{
"context": " class User extends MockClass\n name: 'default... | tests/batman/view/formfor_rendering_test.coffee | nickjs/batman | 1 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: 'default name'
asyncTest 'it should pull in objects for form rendering', 1, ->
source = '''
<form data-formf... | 121970 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: '<NAME> <PASSWORD>'
asyncTest 'it should pull in objects for form rendering', 1, ->
source = '''
<form data-... | true | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: 'PI:NAME:<NAME>END_PI PI:PASSWORD:<PASSWORD>END_PI'
asyncTest 'it should pull in objects for form rendering', 1,... |
[
{
"context": " =\n\t\t\tid: @v1Id\n\t\t\temail: @user.email\n\t\t\tpassword: @user.password\n\t\t\tprofile:\n\t\t\t\tid: @v1Id\n\t\t\t\temail: @user.email\n",
"end": 291,
"score": 0.999183177947998,
"start": 277,
"tag": "PASSWORD",
"value": "@user.password"
},
{
"context": " @v1Id\n\... | test/acceptance/coffee/SettingsTests.coffee | shyoshyo/web-sharelatex | 1 | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
MockV1Api = require './helpers/MockV1Api'
describe 'SettingsPage', ->
before (done) ->
@user = new User()
@v1Id = 1234
@v1User =
id: @v1Id
email: @user.email
password: @user.password
profile:
id: @v1Id
... | 118308 | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
MockV1Api = require './helpers/MockV1Api'
describe 'SettingsPage', ->
before (done) ->
@user = new User()
@v1Id = 1234
@v1User =
id: @v1Id
email: @user.email
password: <PASSWORD>
profile:
id: @v1Id
em... | true | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
MockV1Api = require './helpers/MockV1Api'
describe 'SettingsPage', ->
before (done) ->
@user = new User()
@v1Id = 1234
@v1User =
id: @v1Id
email: @user.email
password: PI:PASSWORD:<PASSWORD>END_PI
profile:
... |
[
{
"context": "# JSControl - User action control class\n# Coded by Hajime Oh-yake 2013.03.29\n#*************************************",
"end": 108,
"score": 0.9998967051506042,
"start": 94,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/03_JSControl.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSControl - User action control class
# Coded by Hajime Oh-yake 2013.03.29
#*****************************************
class JSControl extends JSView
constructor:(frame)->
super(frame)
@_enable = true
addTarget: (@action) ->
setEnable:(@_enable)... | 214925 | #*****************************************
# JSControl - User action control class
# Coded by <NAME> 2013.03.29
#*****************************************
class JSControl extends JSView
constructor:(frame)->
super(frame)
@_enable = true
addTarget: (@action) ->
setEnable:(@_enable)->
... | true | #*****************************************
# JSControl - User action control class
# Coded by PI:NAME:<NAME>END_PI 2013.03.29
#*****************************************
class JSControl extends JSView
constructor:(frame)->
super(frame)
@_enable = true
addTarget: (@action) ->
setEnable:(@_e... |
[
{
"context": "creating test users'\n\n users = [\n email: 'admin@example.com'\n password: 'admin'\n name: 'Admin'\n ",
"end": 147,
"score": 0.9999295473098755,
"start": 130,
"tag": "EMAIL",
"value": "admin@example.com"
},
{
"context": " email: 'admin@example... | server/app.coffee | mliradelc/peakaboo | 7 | Meteor.startup ->
if Meteor.users.find().fetch().length is 0
console.log 'creating test users'
users = [
email: 'admin@example.com'
password: 'admin'
name: 'Admin'
roles: ['admin']
,
email: 'view@example.com'
password: 'view'
name: 'View'
roles: ['view-room... | 162276 | Meteor.startup ->
if Meteor.users.find().fetch().length is 0
console.log 'creating test users'
users = [
email: '<EMAIL>'
password: '<PASSWORD>'
name: 'Admin'
roles: ['admin']
,
email: '<EMAIL>'
password: '<PASSWORD>'
name: 'View'
roles: ['view-rooms']
... | true | Meteor.startup ->
if Meteor.users.find().fetch().length is 0
console.log 'creating test users'
users = [
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
name: 'Admin'
roles: ['admin']
,
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PA... |
[
{
"context": "preter)\n#\n# See README for more information\n#\n# by Pjotr Prins (c) 2013\n\nVERSION = '0.1.2'\n\nprint \"# Heyu-run #{",
"end": 143,
"score": 0.9998863339424133,
"start": 132,
"tag": "NAME",
"value": "Pjotr Prins"
},
{
"context": "VERSION = '0.1.2'\n\nprint \"# Heyu-... | bin/heyu-run.coffee | pjotrp/heyu-run | 1 | # Script for HEYU runner with state machine (target spidermonkey javascript interpreter)
#
# See README for more information
#
# by Pjotr Prins (c) 2013
VERSION = '0.1.2'
print "# Heyu-run #{VERSION} by Pjotr Prins"
time=new Date()
print "#",time.toTimeString()
local_date = time.toLocaleFormat("%Y-%m-%d")
local_time ... | 69728 | # Script for HEYU runner with state machine (target spidermonkey javascript interpreter)
#
# See README for more information
#
# by <NAME> (c) 2013
VERSION = '0.1.2'
print "# Heyu-run #{VERSION} by <NAME>"
time=new Date()
print "#",time.toTimeString()
local_date = time.toLocaleFormat("%Y-%m-%d")
local_time = time.toL... | true | # Script for HEYU runner with state machine (target spidermonkey javascript interpreter)
#
# See README for more information
#
# by PI:NAME:<NAME>END_PI (c) 2013
VERSION = '0.1.2'
print "# Heyu-run #{VERSION} by PI:NAME:<NAME>END_PI"
time=new Date()
print "#",time.toTimeString()
local_date = time.toLocaleFormat("%Y-%... |
[
{
"context": " person = @subject.create.call @, 'user', name: 'john'\n person.save().then @async (saved) =>\n saved",
"end": 765,
"score": 0.9910280704498291,
"start": 761,
"tag": "NAME",
"value": "john"
},
{
"context": "e().then @async (saved) =>\n saved.set 'name', 'updated... | spec/revs-adapter_spec.coffee | ekrabismi/CRUD-Ember-couchdb | 0 | Ember.ENV.TESTING = true
module 'EmberCouchDBKit.RevsAdapter',
setup: ->
unless window.testing
window.subject = new TestEnv()
window.testing = true
@subject = window.subject
@async = window.async
test 'belongsTo relation', 1, ->
person = @subject.create.call @, 'user', name: 'name'
person... | 174891 | Ember.ENV.TESTING = true
module 'EmberCouchDBKit.RevsAdapter',
setup: ->
unless window.testing
window.subject = new TestEnv()
window.testing = true
@subject = window.subject
@async = window.async
test 'belongsTo relation', 1, ->
person = @subject.create.call @, 'user', name: 'name'
person... | true | Ember.ENV.TESTING = true
module 'EmberCouchDBKit.RevsAdapter',
setup: ->
unless window.testing
window.subject = new TestEnv()
window.testing = true
@subject = window.subject
@async = window.async
test 'belongsTo relation', 1, ->
person = @subject.create.call @, 'user', name: 'name'
person... |
[
{
"context": "name: 'summon'\ncycleMarkers: [\n\t{\n\t\ttype: 'entity-id'\n\t\tvalu",
"end": 10,
"score": 0.7640376091003418,
"start": 7,
"tag": "NAME",
"value": "sum"
},
{
"context": "name: 'summon'\ncycleMarkers: [\n\t{\n\t\ttype: 'entity-id'\n\t\tvalue: ",
"end": 13,
"scor... | commands/commands/summon.cson | Czaplicki/mcfunction-support-data | 0 | name: 'summon'
cycleMarkers: [
{
type: 'entity-id'
value: 'name'
}
{
type: 'coord'
value: 'x y z'
}
{
type: 'nbt'
value: 'nbt'
}
]
| 102842 | name: '<NAME>mon'
cycleMarkers: [
{
type: 'entity-id'
value: 'name'
}
{
type: 'coord'
value: 'x y z'
}
{
type: 'nbt'
value: 'nbt'
}
]
| true | name: 'PI:NAME:<NAME>END_PImon'
cycleMarkers: [
{
type: 'entity-id'
value: 'name'
}
{
type: 'coord'
value: 'x y z'
}
{
type: 'nbt'
value: 'nbt'
}
]
|
[
{
"context": "o be claimed by the next barista\n#\n#\n# Author:\n# brent@kiratalent.com, Kira Talent Inc.\n\ndateformat = require 'dateform",
"end": 831,
"score": 0.9999186992645264,
"start": 811,
"tag": "EMAIL",
"value": "brent@kiratalent.com"
},
{
"context": " msg.send \"A b... | src/coffee.coffee | kiratalent/hubot-coffee | 3 | # Description
# A hubot script for announcing & claiming coffee
#
# Configuration:
# HUBOT_COFFEE_DIBS_LIMIT Set the dibs limit (Default 6)
# HUBOT_COFFEE_DIBS_DURATION Set the dibs time limit in seconds (Default 600 seconds (10 minutes))
#
# Commands:
# hubot brewing - Start a new brewing lineup
# hubot fres... | 147760 | # Description
# A hubot script for announcing & claiming coffee
#
# Configuration:
# HUBOT_COFFEE_DIBS_LIMIT Set the dibs limit (Default 6)
# HUBOT_COFFEE_DIBS_DURATION Set the dibs time limit in seconds (Default 600 seconds (10 minutes))
#
# Commands:
# hubot brewing - Start a new brewing lineup
# hubot fres... | true | # Description
# A hubot script for announcing & claiming coffee
#
# Configuration:
# HUBOT_COFFEE_DIBS_LIMIT Set the dibs limit (Default 6)
# HUBOT_COFFEE_DIBS_DURATION Set the dibs time limit in seconds (Default 600 seconds (10 minutes))
#
# Commands:
# hubot brewing - Start a new brewing lineup
# hubot fres... |
[
{
"context": "#\t> File Name: Gruntfile.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: S",
"end": 46,
"score": 0.9987780451774597,
"start": 44,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "le Name: Gruntfile.coffee\n#\t> Author: LY\n#\t> Mail: ly.fra... | rdir/generateHTML/Gruntfile.coffee | laiy/rdir | 6 | # > File Name: Gruntfile.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Sunday, November 23, 2014 AM10:42:51 CST
module.exports = (grunt)->
grunt.initConfig
watch:
compile:
files: [
'src/coffee/**/*.coffee'
'src/sass... | 189362 | # > File Name: Gruntfile.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Sunday, November 23, 2014 AM10:42:51 CST
module.exports = (grunt)->
grunt.initConfig
watch:
compile:
files: [
'src/coffee/**/*.coffee'
'src/sass/**/*.sass'
... | true | # > File Name: Gruntfile.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Sunday, November 23, 2014 AM10:42:51 CST
module.exports = (grunt)->
grunt.initConfig
watch:
compile:
files: [
'src/coffee/**/*.coffee'
'src/s... |
[
{
"context": " class=\"btn btn-default\" cradmin-legacy-use-this=\"Peter Pan\" cradmin-legacy-fieldid=\"id_name\">\n Use th",
"end": 728,
"score": 0.9997124671936035,
"start": 719,
"tag": "NAME",
"value": "Peter Pan"
}
] | cradmin_legacy/static/cradmin_legacy/src/lib/forms/usethisbutton.coffee | appressoas/cradmin_legacy | 0 | angular.module('cradminLegacy.forms.usethisbutton', [])
.directive('cradminLegacyUseThis', [
'$window'
($window) ->
###
The cradmin-legacy-use-this directive is used to select elements for
the ``cradmin-legacy-model-choice-field`` directive. You add this directive
to a button or a-element within an... | 55359 | angular.module('cradminLegacy.forms.usethisbutton', [])
.directive('cradminLegacyUseThis', [
'$window'
($window) ->
###
The cradmin-legacy-use-this directive is used to select elements for
the ``cradmin-legacy-model-choice-field`` directive. You add this directive
to a button or a-element within an... | true | angular.module('cradminLegacy.forms.usethisbutton', [])
.directive('cradminLegacyUseThis', [
'$window'
($window) ->
###
The cradmin-legacy-use-this directive is used to select elements for
the ``cradmin-legacy-model-choice-field`` directive. You add this directive
to a button or a-element within an... |
[
{
"context": " '.' + options.suffix\n token = new Token('link_open', 'a', 1)\n token.attrs = [ [\n 'href'\n ",
"end": 761,
"score": 0.4660593867301941,
"start": 757,
"tag": "PASSWORD",
"value": "open"
}
] | index.coffee | DavidParkin/markdown-it-vimwiki | 0 | 'use strict'
_ = undefined
vimwikiReplace = undefined
_ = require('underscore')
vimwikiReplace = (md, options, Token) ->
arrayReplaceAt = undefined
createTokens = undefined
defaults = undefined
pattern = undefined
splitTextToken = undefined
arrayReplaceAt = md.utils.arrayReplaceAt
defaults = suffix: 'wik... | 142093 | 'use strict'
_ = undefined
vimwikiReplace = undefined
_ = require('underscore')
vimwikiReplace = (md, options, Token) ->
arrayReplaceAt = undefined
createTokens = undefined
defaults = undefined
pattern = undefined
splitTextToken = undefined
arrayReplaceAt = md.utils.arrayReplaceAt
defaults = suffix: 'wik... | true | 'use strict'
_ = undefined
vimwikiReplace = undefined
_ = require('underscore')
vimwikiReplace = (md, options, Token) ->
arrayReplaceAt = undefined
createTokens = undefined
defaults = undefined
pattern = undefined
splitTextToken = undefined
arrayReplaceAt = md.utils.arrayReplaceAt
defaults = suffix: 'wik... |
[
{
"context": "fileoverview Tests for no-return-assign.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 71,
"score": 0.9997806549072266,
"start": 59,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-return-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-return-assign.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-return-assign'
{RuleTe... | 88039 | ###*
# @fileoverview Tests for no-return-assign.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-return-assign'
{RuleTester} ... | true | ###*
# @fileoverview Tests for no-return-assign.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-return-assign'... |
[
{
"context": "### Author James \"The Jamesernator\" Browning\n 2016\n###\n\"use str",
"end": 16,
"score": 0.9990818500518799,
"start": 11,
"tag": "NAME",
"value": "James"
},
{
"context": "### Author James \"The Jamesernator\" Browning\n 2016\n###\n\"use strict\"\nGeneratorFunc"... | async.coffee | Jamesernator/simple-async | 0 | ### Author James "The Jamesernator" Browning
2016
###
"use strict"
GeneratorFunction = Object.getPrototypeOf(-> yield return).constructor
async = (genFunc) ->
### async converts a GeneratorFunction into a ES7 async function ###
unless genFunc instanceof GeneratorFunction
# If we don't have a genera... | 222565 | ### Author <NAME> "<NAME>" <NAME>
2016
###
"use strict"
GeneratorFunction = Object.getPrototypeOf(-> yield return).constructor
async = (genFunc) ->
### async converts a GeneratorFunction into a ES7 async function ###
unless genFunc instanceof GeneratorFunction
# If we don't have a generator stop an... | true | ### Author PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
2016
###
"use strict"
GeneratorFunction = Object.getPrototypeOf(-> yield return).constructor
async = (genFunc) ->
### async converts a GeneratorFunction into a ES7 async function ###
unless genFunc instanceof GeneratorFunction
... |
[
{
"context": " \"undefined\")\n bot.replyPromisified(\"My name is bob\", \"Hello, Bob.\")\n .then ->\n bot.uservar(\"name",
"end": 1440,
"score": 0.9835101962089539,
"start": 1437,
"tag": "NAME",
"value": "bob"
},
{
"context": " bot.replyPromisified(\"My name is bob\", \"He... | test/test-promises-begin.coffee | rundexter/rivescript-js | 1 | TestCase = require("./test-promises-base")
################################################################################
# BEGIN Block Tests
################################################################################
exports.test_no_begin_block = (test) ->
bot = new TestCase(test, """
+ hello bot
- ... | 27128 | TestCase = require("./test-promises-base")
################################################################################
# BEGIN Block Tests
################################################################################
exports.test_no_begin_block = (test) ->
bot = new TestCase(test, """
+ hello bot
- ... | true | TestCase = require("./test-promises-base")
################################################################################
# BEGIN Block Tests
################################################################################
exports.test_no_begin_block = (test) ->
bot = new TestCase(test, """
+ hello bot
- ... |
[
{
"context": "# name: coffeescript.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Update: 沈",
"end": 39,
"score": 0.9998928904533386,
"start": 36,
"tag": "NAME",
"value": "沈维忠"
},
{
"context": "# name: coffeescript.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n... | dev/splited_tasks_for_gulp/coffeescript.coffee | gitter-badger/is-object-brace | 0 | # name: coffeescript.js
#
# author: 沈维忠 ( Shen Weizhong / Tony Stark )
#
# Last Update: 沈维忠 ( Shen Weizhong / Tony Stark )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
clp = require './clp'
lazypipe = require 'lazypipe'
_coffeelin... | 203289 | # name: coffeescript.js
#
# author: <NAME> ( <NAME> / <NAME> )
#
# Last Update: <NAME> ( <NAME> / <NAME> )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
clp = require './clp'
lazypipe = require 'lazypipe'
_coffeelint = lazypipe()
... | true | # name: coffeescript.js
#
# author: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
#
# Last Update: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
clp... |
[
{
"context": "el: '#emailAddressFieldLabel'\n passwordField: '#passwordField'\n passwordFieldLabel: '#passwordFieldLabel'\n",
"end": 1051,
"score": 0.9978083968162537,
"start": 1036,
"tag": "PASSWORD",
"value": "'#passwordField"
},
{
"context": "dField: '#passwordField'\n ... | src/app/controller/Account.coffee | Purple-Services/app | 2 | Ext.define 'Purple.controller.Account',
extend: 'Ext.app.Controller'
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountForm: 'accountform'
vehicles: 'vehicles'
orders: 'orders'
# LoginForm elements
loginForm: 'loginform'
loginButtonCont... | 22658 | Ext.define 'Purple.controller.Account',
extend: 'Ext.app.Controller'
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountForm: 'accountform'
vehicles: 'vehicles'
orders: 'orders'
# LoginForm elements
loginForm: 'loginform'
loginButtonCont... | true | Ext.define 'Purple.controller.Account',
extend: 'Ext.app.Controller'
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountForm: 'accountform'
vehicles: 'vehicles'
orders: 'orders'
# LoginForm elements
loginForm: 'loginform'
loginButtonCont... |
[
{
"context": ">\n nikita\n $templated: true\n key_1: 'value 1'\n key_2: 'value 2 and {{config.key_1}}'\n ",
"end": 197,
"score": 0.9426977038383484,
"start": 190,
"tag": "KEY",
"value": "value 1"
},
{
"context": "d: true\n key_1: 'value 1'\n key_2: 'val... | packages/core/test/plugins/templated.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.templated', ->
return unless tags.api
it 'access config', ->
nikita
$templated: true
key_1: 'value 1'
key_2: 'value 2 and {{config.key_1}}'
$handler: ({config}) -> config
.should.be.finally.containEql
... | 158112 |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.templated', ->
return unless tags.api
it 'access config', ->
nikita
$templated: true
key_1: '<KEY>'
key_2: 'value <KEY> and {{config.key_1}}'
$handler: ({config}) -> config
.should.be.finally.containEql
... | true |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.templated', ->
return unless tags.api
it 'access config', ->
nikita
$templated: true
key_1: 'PI:KEY:<KEY>END_PI'
key_2: 'value PI:KEY:<KEY>END_PI and {{config.key_1}}'
$handler: ({config}) -> config
.should.... |
[
{
"context": "js\n // version: <%= pkg.version %> \n // author: Arturo Castillo Delgado \n // license: MIT \n // https://github.com/acs",
"end": 105,
"score": 0.9998966455459595,
"start": 82,
"tag": "NAME",
"value": "Arturo Castillo Delgado"
},
{
"context": "ado \n // licens... | node_modules/alerts/Gruntfile.coffee | kathleenfrench/target | 1 | bannerGlobal = """
// alerts.js
// version: <%= pkg.version %>
// author: Arturo Castillo Delgado
// license: MIT
// https://github.com/acstll/alerts
(function () {\n\n
"""
bannerAMD = """
// alerts.js
// version: <%= pkg.version %>
// author: Arturo Castillo Delgado
// license: MIT
... | 56694 | bannerGlobal = """
// alerts.js
// version: <%= pkg.version %>
// author: <NAME>
// license: MIT
// https://github.com/acstll/alerts
(function () {\n\n
"""
bannerAMD = """
// alerts.js
// version: <%= pkg.version %>
// author: <NAME>
// license: MIT
// https://github.com/acstll/ale... | true | bannerGlobal = """
// alerts.js
// version: <%= pkg.version %>
// author: PI:NAME:<NAME>END_PI
// license: MIT
// https://github.com/acstll/alerts
(function () {\n\n
"""
bannerAMD = """
// alerts.js
// version: <%= pkg.version %>
// author: PI:NAME:<NAME>END_PI
// license: MIT
// h... |
[
{
"context": "don't know yet what this should be\n author: 'aulast' # author should actually be au, but aulast works",
"end": 18769,
"score": 0.9445488452911377,
"start": 18763,
"tag": "USERNAME",
"value": "aulast"
},
{
"context": "lank\">[2]</a>' if this.config.terms\n p... | static/embed/oab_embed.coffee | bit2u/website-12 | 0 |
# start with a simple set of helper functions
@_L =
api: 'https://api.lvatn.com'
_L.gebi = (id) -> return document.getElementById id.replace('#','')
_L.gebc = (cls) -> return document.getElementsByClassName cls.replace('.','')
_L.gebn = (n) ->
r = document.getElementsByTagName n.replace('<','').replace('>','') # e... | 11432 |
# start with a simple set of helper functions
@_L =
api: 'https://api.lvatn.com'
_L.gebi = (id) -> return document.getElementById id.replace('#','')
_L.gebc = (cls) -> return document.getElementsByClassName cls.replace('.','')
_L.gebn = (n) ->
r = document.getElementsByTagName n.replace('<','').replace('>','') # e... | true |
# start with a simple set of helper functions
@_L =
api: 'https://api.lvatn.com'
_L.gebi = (id) -> return document.getElementById id.replace('#','')
_L.gebc = (cls) -> return document.getElementsByClassName cls.replace('.','')
_L.gebn = (n) ->
r = document.getElementsByTagName n.replace('<','').replace('>','') # e... |
[
{
"context": "onForDeletedUser: ->\n json =\n firstName: \"deleted\"\n lastName: \" \"\n fullName: \"deleted\"\n ",
"end": 367,
"score": 0.8878745436668396,
"start": 360,
"tag": "NAME",
"value": "deleted"
}
] | model/conversion/json/UserConverter._coffee | CyberCRI/KnowNodes | 5 | NodeConverter = require './NodeConverter'
module.exports = class UserConverter extends NodeConverter
@toJSON: (user, _) ->
json = super(user, _)
delete json.dateOfBirth
delete json.email
delete json.__CreatedOn__
delete json.password
json.fullName = user.fullName
json
@getJsonForDelet... | 127524 | NodeConverter = require './NodeConverter'
module.exports = class UserConverter extends NodeConverter
@toJSON: (user, _) ->
json = super(user, _)
delete json.dateOfBirth
delete json.email
delete json.__CreatedOn__
delete json.password
json.fullName = user.fullName
json
@getJsonForDelet... | true | NodeConverter = require './NodeConverter'
module.exports = class UserConverter extends NodeConverter
@toJSON: (user, _) ->
json = super(user, _)
delete json.dateOfBirth
delete json.email
delete json.__CreatedOn__
delete json.password
json.fullName = user.fullName
json
@getJsonForDelet... |
[
{
"context": "inch.js - Powerfully simple javascript routing\n\tby Rick Allen (stoodder) and Greg Smith (smrq)\n\n\tVersion 0.5.15",
"end": 67,
"score": 0.9998860359191895,
"start": 57,
"tag": "NAME",
"value": "Rick Allen"
},
{
"context": "erfully simple javascript routing\n\tby Rick... | coffee/banner.coffee | GerHobbelt/finchjs | 0 | ###
Finch.js - Powerfully simple javascript routing
by Rick Allen (stoodder) and Greg Smith (smrq)
Version 0.5.15
Full source at https://github.com/stoodder/finchjs
Copyright (c) 2011 RokkinCat, http://www.rokkincat.com
MIT License, https://github.com/stoodder/finchjs/blob/master/LICENSE.md
This file is genera... | 20903 | ###
Finch.js - Powerfully simple javascript routing
by <NAME> (stoodder) and <NAME> (smrq)
Version 0.5.15
Full source at https://github.com/stoodder/finchjs
Copyright (c) 2011 RokkinCat, http://www.rokkincat.com
MIT License, https://github.com/stoodder/finchjs/blob/master/LICENSE.md
This file is generated by `... | true | ###
Finch.js - Powerfully simple javascript routing
by PI:NAME:<NAME>END_PI (stoodder) and PI:NAME:<NAME>END_PI (smrq)
Version 0.5.15
Full source at https://github.com/stoodder/finchjs
Copyright (c) 2011 RokkinCat, http://www.rokkincat.com
MIT License, https://github.com/stoodder/finchjs/blob/master/LICENSE.md
... |
[
{
"context": " document\n author: @ReferenceField Person, ['username', 'displayName', 'field1', 'field2'], true, 'post",
"end": 527,
"score": 0.5380920767784119,
"start": 519,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ngoDB projections, as an array\n reviewers... | tests.coffee | peerlibrary/meteor-peerdb | 78 | WAIT_FOR_DATABASE_TIMEOUT = 2000 # ms
# The order of documents here tests delayed definitions
# Just to make sure things are sane
assert.equal Document._delayed.length, 0
assert _.isEqual Document.list, []
assert _.isEqual Document._collections, {}
globalTestTriggerCounters = {}
class Post extends Document
# Othe... | 119565 | WAIT_FOR_DATABASE_TIMEOUT = 2000 # ms
# The order of documents here tests delayed definitions
# Just to make sure things are sane
assert.equal Document._delayed.length, 0
assert _.isEqual Document.list, []
assert _.isEqual Document._collections, {}
globalTestTriggerCounters = {}
class Post extends Document
# Othe... | true | WAIT_FOR_DATABASE_TIMEOUT = 2000 # ms
# The order of documents here tests delayed definitions
# Just to make sure things are sane
assert.equal Document._delayed.length, 0
assert _.isEqual Document.list, []
assert _.isEqual Document._collections, {}
globalTestTriggerCounters = {}
class Post extends Document
# Othe... |
[
{
"context": "ngs.ENCRYPTION_KEY or settings.SESSION_SECRET or '5random7493nonsens!e'\n gzip = zlib.createGzip()\n st = null\n ",
"end": 1447,
"score": 0.7267846465110779,
"start": 1427,
"tag": "KEY",
"value": "5random7493nonsens!e"
},
{
"context": "ngs.ENCRYPTION_KEY or se... | src/storage.coffee | ndxbxrme/ndxdb | 1 | 'use strict'
settings = require './settings'
async = require 'async'
crypto = require 'crypto'
jsonStream = require 'JSONStream'
es = require 'event-stream'
zlib = require 'zlib'
module.exports = ->
algorithm = settings.ENCRYPTION_ALGORITHM or 'aes-256-ctr'
doencrypt = !settings.DO_NOT_ENCRYPT
dozip = !setting... | 222991 | 'use strict'
settings = require './settings'
async = require 'async'
crypto = require 'crypto'
jsonStream = require 'JSONStream'
es = require 'event-stream'
zlib = require 'zlib'
module.exports = ->
algorithm = settings.ENCRYPTION_ALGORITHM or 'aes-256-ctr'
doencrypt = !settings.DO_NOT_ENCRYPT
dozip = !setting... | true | 'use strict'
settings = require './settings'
async = require 'async'
crypto = require 'crypto'
jsonStream = require 'JSONStream'
es = require 'event-stream'
zlib = require 'zlib'
module.exports = ->
algorithm = settings.ENCRYPTION_ALGORITHM or 'aes-256-ctr'
doencrypt = !settings.DO_NOT_ENCRYPT
dozip = !setting... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde",
"end": 23,
"score": 0.999565601348877,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | src/fm_index.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 116470 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... |
[
{
"context": "rd events\n\n channel = new RemoteQueue\n name: \"greeting\"\n transport: transport\n \n channel\n\n\ntest",
"end": 317,
"score": 0.993945300579071,
"start": 309,
"tag": "USERNAME",
"value": "greeting"
},
{
"context": "n 'on' handler\", ->\n assert... | test/remote-queue.coffee | GemHQ/mutual | 6 | Transport = require "../src/redis-transport"
RemoteQueue = require "../src/remote-queue"
helpers = require "./helpers"
{testify, assert, events} = helpers
make = ->
transport = new Transport
host: "localhost"
port: 6379
transport.events.forward events
channel = new RemoteQueue
name: "greeting"
... | 7675 | Transport = require "../src/redis-transport"
RemoteQueue = require "../src/remote-queue"
helpers = require "./helpers"
{testify, assert, events} = helpers
make = ->
transport = new Transport
host: "localhost"
port: 6379
transport.events.forward events
channel = new RemoteQueue
name: "greeting"
... | true | Transport = require "../src/redis-transport"
RemoteQueue = require "../src/remote-queue"
helpers = require "./helpers"
{testify, assert, events} = helpers
make = ->
transport = new Transport
host: "localhost"
port: 6379
transport.events.forward events
channel = new RemoteQueue
name: "greeting"
... |
[
{
"context": "console.log(user)\n hashPwd = user.password || 'unknown'\n salt=''\n hashKey = (crypto.pbkdf2Sync opt",
"end": 3029,
"score": 0.9859483242034912,
"start": 3022,
"tag": "PASSWORD",
"value": "unknown"
}
] | _attachments/app/models/User.coffee | jongoz/coconut-analytice | 3 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
BackbonePouch = require 'backbone-pouch'
Cookies = require 'js-cookie'
moment = require 'moment'
crypto = require('crypto')
Config = require './Config'
class User extends Backbone.Model
sync: BackbonePouch.sync
db: Cocon... | 121925 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
BackbonePouch = require 'backbone-pouch'
Cookies = require 'js-cookie'
moment = require 'moment'
crypto = require('crypto')
Config = require './Config'
class User extends Backbone.Model
sync: BackbonePouch.sync
db: Cocon... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
BackbonePouch = require 'backbone-pouch'
Cookies = require 'js-cookie'
moment = require 'moment'
crypto = require('crypto')
Config = require './Config'
class User extends Backbone.Model
sync: BackbonePouch.sync
db: Cocon... |
[
{
"context": "\"a\", [\"A$\"]],\n [\"a\", [\"AAA\"]],\n [\"a\", [\"Andaluc\"]],\n [\"a\", [\"Armat\"]],\n [\"a\", [\"Asturias\"]],\n",
"end": 1575,
"score": 0.6830939054489136,
"start": 1573,
"tag": "NAME",
"value": "uc"
},
{
"context": "\"a\", [\"AAA\"]],\n [\"a\", [\"An... | generate/GenerateArticledata.coffee | chadkirby/Articles | 22 | fs = require 'fs'
###
http://home.nerbonne.org/A-vs-An/
http://stackoverflow.com/questions/1288291/how-can-i-correctly-prefix-a-word-with-a-and-an/1288473#1288473
This page determines whether "a" or "an" should precede a
word. It does this using the method described in this
stackoverflow response. The dataset used is ... | 60281 | fs = require 'fs'
###
http://home.nerbonne.org/A-vs-An/
http://stackoverflow.com/questions/1288291/how-can-i-correctly-prefix-a-word-with-a-and-an/1288473#1288473
This page determines whether "a" or "an" should precede a
word. It does this using the method described in this
stackoverflow response. The dataset used is ... | true | fs = require 'fs'
###
http://home.nerbonne.org/A-vs-An/
http://stackoverflow.com/questions/1288291/how-can-i-correctly-prefix-a-word-with-a-and-an/1288473#1288473
This page determines whether "a" or "an" should precede a
word. It does this using the method described in this
stackoverflow response. The dataset used is ... |
[
{
"context": "s a collection of your favorite tweets.\n# Author: Divshot, Inc.\n\n(($, window) ->\n pluginName = 'tweetscrol",
"end": 160,
"score": 0.8448241949081421,
"start": 153,
"tag": "NAME",
"value": "Divshot"
}
] | coffee/jquery.tweetscroller.coffee | divshot/tweetscroller | 5 | # Project: TweetScroller
# Description: A pseudo-infinite tweet scroller that automatically refreshes a collection of your favorite tweets.
# Author: Divshot, Inc.
(($, window) ->
pluginName = 'tweetscroller'
document = window.document
defaults =
url: ''
tweet: '.tweet'
template: '#tweet-template'... | 38420 | # Project: TweetScroller
# Description: A pseudo-infinite tweet scroller that automatically refreshes a collection of your favorite tweets.
# Author: <NAME>, Inc.
(($, window) ->
pluginName = 'tweetscroller'
document = window.document
defaults =
url: ''
tweet: '.tweet'
template: '#tweet-template'
... | true | # Project: TweetScroller
# Description: A pseudo-infinite tweet scroller that automatically refreshes a collection of your favorite tweets.
# Author: PI:NAME:<NAME>END_PI, Inc.
(($, window) ->
pluginName = 'tweetscroller'
document = window.document
defaults =
url: ''
tweet: '.tweet'
template: '#tw... |
[
{
"context": "offee - Markov chains in CoffeeScript.\ngithub.com/SyntaxColoring/Markov-Word-Generator\n\nReleased under the MIT lic",
"end": 76,
"score": 0.9777269959449768,
"start": 62,
"tag": "USERNAME",
"value": "SyntaxColoring"
},
{
"context": "eleased under the MIT license.\n\nC... | markov.coffee | SyntaxColoring/Markov-Word-Generator | 33 | ###
Markov.coffee - Markov chains in CoffeeScript.
github.com/SyntaxColoring/Markov-Word-Generator
Released under the MIT license.
Copyright (c) 2013 Max Marrone
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal ... | 41120 | ###
Markov.coffee - Markov chains in CoffeeScript.
github.com/SyntaxColoring/Markov-Word-Generator
Released under the MIT license.
Copyright (c) 2013 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
th... | true | ###
Markov.coffee - Markov chains in CoffeeScript.
github.com/SyntaxColoring/Markov-Word-Generator
Released under the MIT license.
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"),... |
[
{
"context": "rs.insertOne(\n emails: [\n { address: 'alice@example.com', verified: true }\n ]\n )\n alice = awai",
"end": 1363,
"score": 0.999917209148407,
"start": 1346,
"tag": "EMAIL",
"value": "alice@example.com"
},
{
"context": " ]\n )\n alice = awai... | test/PerformAirdrop.test.coffee | DenisGorbachev/talloc | 0 | import _ from 'lodash'
import moment from 'moment'
import { MongoClient } from 'mongodb'
import PerformAirdrop from '../src/Functor/PerformAirdrop'
import { perms } from '../src/helpers'
import { complete } from '../src/test_helpers'
describe 'PerformAirdrop', ->
connection = null
db = null
beforeAll ->
con... | 140884 | import _ from 'lodash'
import moment from 'moment'
import { MongoClient } from 'mongodb'
import PerformAirdrop from '../src/Functor/PerformAirdrop'
import { perms } from '../src/helpers'
import { complete } from '../src/test_helpers'
describe 'PerformAirdrop', ->
connection = null
db = null
beforeAll ->
con... | true | import _ from 'lodash'
import moment from 'moment'
import { MongoClient } from 'mongodb'
import PerformAirdrop from '../src/Functor/PerformAirdrop'
import { perms } from '../src/helpers'
import { complete } from '../src/test_helpers'
describe 'PerformAirdrop', ->
connection = null
db = null
beforeAll ->
con... |
[
{
"context": "qual\n deq = deepEqual\n\n john = {firstname: 'John', lastname: 'Silver', age: 30}\n john_id = john",
"end": 238,
"score": 0.9996370077133179,
"start": 234,
"tag": "NAME",
"value": "John"
},
{
"context": "pEqual\n\n john = {firstname: 'John', lastname: 'Silv... | tests/test.coffee | dundalek/warehouse | 74 |
@run_tests = (store, name) ->
name = if typeof name == 'undefined' then store.constructor.name else name
if typeof qinit != 'undefined'
qinit(QUnit)
eq = strictEqual
deq = deepEqual
john = {firstname: 'John', lastname: 'Silver', age: 30}
john_id = john[store.keyPath] = 1
james = ... | 70572 |
@run_tests = (store, name) ->
name = if typeof name == 'undefined' then store.constructor.name else name
if typeof qinit != 'undefined'
qinit(QUnit)
eq = strictEqual
deq = deepEqual
john = {firstname: '<NAME>', lastname: '<NAME>', age: 30}
john_id = john[store.keyPath] = 1
james ... | true |
@run_tests = (store, name) ->
name = if typeof name == 'undefined' then store.constructor.name else name
if typeof qinit != 'undefined'
qinit(QUnit)
eq = strictEqual
deq = deepEqual
john = {firstname: 'PI:NAME:<NAME>END_PI', lastname: 'PI:NAME:<NAME>END_PI', age: 30}
john_id = john[s... |
[
{
"context": "###\n# config/secrets.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module lo",
"end": 50,
"score": 0.9997211694717407,
"start": 39,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/config/secrets.coffee | dlnichols/h_media | 0 | ###
# config/secrets.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module loads and merges all JSON in the secrets folder and places them
# in the env for the application to use
###
'use strict'
# External libs
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
debug = require('debug'... | 104354 | ###
# config/secrets.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module loads and merges all JSON in the secrets folder and places them
# in the env for the application to use
###
'use strict'
# External libs
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
debug = require('debug') 'hM... | true | ###
# config/secrets.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module loads and merges all JSON in the secrets folder and places them
# in the env for the application to use
###
'use strict'
# External libs
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
debug = requir... |
[
{
"context": "# Hot Tech Boy of the Week: Zach Holman\n# A side-effect of http://social-proof.org/post/1",
"end": 39,
"score": 0.9995604753494263,
"start": 28,
"tag": "NAME",
"value": "Zach Holman"
},
{
"context": "76795/hot-tech-boy-of-the-week-zach-holman\n#\n# ask holman - Answer ... | src/scripts/holman.coffee | iangreenleaf/hubot-scripts | 0 | # Hot Tech Boy of the Week: Zach Holman
# A side-effect of http://social-proof.org/post/18387776795/hot-tech-boy-of-the-week-zach-holman
#
# ask holman - Answer with tech hotness from Zach "Fork Me" Holman
module.exports = (robot) ->
robot.hear /ask holman/i, (msg) ->
quotes = [
"Hard hitting qu... | 90988 | # Hot Tech Boy of the Week: <NAME>
# A side-effect of http://social-proof.org/post/18387776795/hot-tech-boy-of-the-week-zach-holman
#
# ask holman - Answer with tech hotness from Zach "Fork Me" <NAME>
module.exports = (robot) ->
robot.hear /ask holman/i, (msg) ->
quotes = [
"Hard hitting questio... | true | # Hot Tech Boy of the Week: PI:NAME:<NAME>END_PI
# A side-effect of http://social-proof.org/post/18387776795/hot-tech-boy-of-the-week-zach-holman
#
# ask holman - Answer with tech hotness from Zach "Fork Me" PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /ask holman/i, (msg) ->
quotes = [
... |
[
{
"context": " project: atom.project.getPaths()[0]\n name: 'Test'\n command: 'echo %f'\n wd: '.'\n env",
"end": 280,
"score": 0.9976068139076233,
"start": 276,
"tag": "NAME",
"value": "Test"
}
] | spec/modifier-wildcards-spec.coffee | fstiewitz/build-tools-cpp | 3 | Wildcards = require '../lib/modifier/wildcards'
Command = require '../lib/provider/command'
path = require 'path'
describe 'Command Modifier - Wildcards', ->
command = null
beforeEach ->
command = new Command({
project: atom.project.getPaths()[0]
name: 'Test'
command: 'echo %f'
wd: '.'... | 196256 | Wildcards = require '../lib/modifier/wildcards'
Command = require '../lib/provider/command'
path = require 'path'
describe 'Command Modifier - Wildcards', ->
command = null
beforeEach ->
command = new Command({
project: atom.project.getPaths()[0]
name: '<NAME>'
command: 'echo %f'
wd: '... | true | Wildcards = require '../lib/modifier/wildcards'
Command = require '../lib/provider/command'
path = require 'path'
describe 'Command Modifier - Wildcards', ->
command = null
beforeEach ->
command = new Command({
project: atom.project.getPaths()[0]
name: 'PI:NAME:<NAME>END_PI'
command: 'echo %... |
[
{
"context": ": ->\n returnValue = {}\n returnValue.key = @_id if @_id\n returnValue.secret = @_secret if @_se",
"end": 2492,
"score": 0.6964929103851318,
"start": 2490,
"tag": "KEY",
"value": "id"
},
{
"context": " if @_tokenKey\n returnValue.tokenKey = @_tokenK... | src/util/oauth.coffee | fatihacet/dropbox-js | 1 | # Stripped-down OAuth 2 implementation that works with the Dropbox API server.
class Dropbox.Util.Oauth
# Creates an Oauth instance that manages an application's key and token data.
#
# @private
# This constructor is called by {Dropbox.Client}. This class should not be
# instantiated directly.
#
# @param ... | 72455 | # Stripped-down OAuth 2 implementation that works with the Dropbox API server.
class Dropbox.Util.Oauth
# Creates an Oauth instance that manages an application's key and token data.
#
# @private
# This constructor is called by {Dropbox.Client}. This class should not be
# instantiated directly.
#
# @param ... | true | # Stripped-down OAuth 2 implementation that works with the Dropbox API server.
class Dropbox.Util.Oauth
# Creates an Oauth instance that manages an application's key and token data.
#
# @private
# This constructor is called by {Dropbox.Client}. This class should not be
# instantiated directly.
#
# @param ... |
[
{
"context": "h'\n\nuserAgent = 'sdmx-rest4js (https://github.com/sosna/sdmx-rest4js)'\n\ncheckStatus = (query, response) -",
"end": 1154,
"score": 0.999626636505127,
"start": 1149,
"tag": "USERNAME",
"value": "sosna"
},
{
"context": "ely\n# sdmxrest.getDataQuery({flow: 'EXR', key:... | src/index.coffee | sosna/sdmx-rest.js | 16 | {DataQuery} = require './data/data-query'
{DataFormat} = require './data/data-format'
{DataDetail} = require './data/data-detail'
{MetadataQuery} = require './metadata/metadata-query'
{MetadataFormat} = require './metadata/metadata-format'
{MetadataDetail} = require './metadata/metadata-detail'
{MetadataReferences} = r... | 40850 | {DataQuery} = require './data/data-query'
{DataFormat} = require './data/data-format'
{DataDetail} = require './data/data-detail'
{MetadataQuery} = require './metadata/metadata-query'
{MetadataFormat} = require './metadata/metadata-format'
{MetadataDetail} = require './metadata/metadata-detail'
{MetadataReferences} = r... | true | {DataQuery} = require './data/data-query'
{DataFormat} = require './data/data-format'
{DataDetail} = require './data/data-detail'
{MetadataQuery} = require './metadata/metadata-query'
{MetadataFormat} = require './metadata/metadata-format'
{MetadataDetail} = require './metadata/metadata-detail'
{MetadataReferences} = r... |
[
{
"context": "de headers allcaps prude plaintext\n#\n# Author:\n# yves trublin\n\nmodule.exports = (robot) ->\n robot.hear /lorem(",
"end": 310,
"score": 0.9990768432617188,
"start": 298,
"tag": "NAME",
"value": "yves trublin"
}
] | src/lorem-ipsum.coffee | PHSDigitalAgency/hubot-loremipsum | 0 | # Description:
# Generate Lorem Ipsum from loripsum.net API
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot lorem - Generate Lorem Ipsum - eg: lorem (integer) short|medium|long|verylong decorate link ul ol dl bq code headers allcaps prude plaintext
#
# Author:
# yves trublin
module.e... | 213708 | # Description:
# Generate Lorem Ipsum from loripsum.net API
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot lorem - Generate Lorem Ipsum - eg: lorem (integer) short|medium|long|verylong decorate link ul ol dl bq code headers allcaps prude plaintext
#
# Author:
# <NAME>
module.exports... | true | # Description:
# Generate Lorem Ipsum from loripsum.net API
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot lorem - Generate Lorem Ipsum - eg: lorem (integer) short|medium|long|verylong decorate link ul ol dl bq code headers allcaps prude plaintext
#
# Author:
# PI:NAME:<NAME>END_PI
... |
[
{
"context": "ync @OAUTH2_REDEEM_URL, data,\n username: @OAUTH2_CLIENT_ID\n password: @OAUTH2_CLIENT_SECRET",
"end": 2117,
"score": 0.5682895183563232,
"start": 2112,
"tag": "USERNAME",
"value": "AUTH2"
},
{
"context": " username: @OAUTH2_CLIENT_ID\n password... | api/services/provider.coffee | twhtanghk/oauth2_code | 0 | _ = require 'lodash'
uuid = require 'node-uuid'
url = require 'url'
Promise = require 'bluebird'
http = Promise.promisifyAll require 'needle'
class Provider
constructor: (opts = sails.config.oauth2) ->
_.extend @,
_.pick opts, [
'OAUTH2_CLIENT_ID'
'OAUTH2_CLIENT_SECRET'
'OAUTH2_SCOP... | 159158 | _ = require 'lodash'
uuid = require 'node-uuid'
url = require 'url'
Promise = require 'bluebird'
http = Promise.promisifyAll require 'needle'
class Provider
constructor: (opts = sails.config.oauth2) ->
_.extend @,
_.pick opts, [
'OAUTH2_CLIENT_ID'
'OAUTH2_CLIENT_SECRET'
'OAUTH2_SCOP... | true | _ = require 'lodash'
uuid = require 'node-uuid'
url = require 'url'
Promise = require 'bluebird'
http = Promise.promisifyAll require 'needle'
class Provider
constructor: (opts = sails.config.oauth2) ->
_.extend @,
_.pick opts, [
'OAUTH2_CLIENT_ID'
'OAUTH2_CLIENT_SECRET'
'OAUTH2_SCOP... |
[
{
"context": "empty()\n passed = yes\n pool.set [{ name: 'bob' }]\n expect(passed).to.be.true()\n \n it 'shou",
"end": 483,
"score": 0.9985114336013794,
"start": 480,
"tag": "NAME",
"value": "bob"
},
{
"context": "\n func added, removed\n pool.set [{ name: 'bob' ... | test/diff-pool.coffee | metocean/redwire-consul | 0 | expect = require('chai').expect
DiffPool = require '../src/diff-pool'
describe 'Diff Pool', ->
it 'should handle an empty array', ->
passed = yes
pool = new DiffPool (added, removed) -> passed = no
pool.set []
expect(passed).to.be.true()
it 'should pass new items in added', ->
passed = no
... | 24787 | expect = require('chai').expect
DiffPool = require '../src/diff-pool'
describe 'Diff Pool', ->
it 'should handle an empty array', ->
passed = yes
pool = new DiffPool (added, removed) -> passed = no
pool.set []
expect(passed).to.be.true()
it 'should pass new items in added', ->
passed = no
... | true | expect = require('chai').expect
DiffPool = require '../src/diff-pool'
describe 'Diff Pool', ->
it 'should handle an empty array', ->
passed = yes
pool = new DiffPool (added, removed) -> passed = no
pool.set []
expect(passed).to.be.true()
it 'should pass new items in added', ->
passed = no
... |
[
{
"context": "SettingsHelper.setCredentials 'foo@bar.baz', '0123456789abcdef0123456789abcdef'\n SettingsHelper.setCu",
"end": 912,
"score": 0.6074473857879639,
"start": 906,
"tag": "KEY",
"value": "456789"
},
{
"context": "etCredentials 'foo@bar.baz', '0123456789abcdef0123456789... | spec/views/claim-core-view-spec.coffee | lukehoban/spark-dev | 1 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Claim Core View', ->
activationPromise = null
originalProfile = null
sparkIde = null
claimCoreView = null
befo... | 161040 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Claim Core View', ->
activationPromise = null
originalProfile = null
sparkIde = null
claimCoreView = null
befo... | true | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Claim Core View', ->
activationPromise = null
originalProfile = null
sparkIde = null
claimCoreView = null
befo... |
[
{
"context": " CleverStyle Music\n * @category app\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 85,
"score": 0.9998961687088013,
"start": 69,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": " * @category app\n * @author N... | js/ac.sound_processing.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
###
window.AudioContext = AudioContext || webkitAudioContext
music_settings = cs.music_settings
cs.sound_proce... | 65897 | ###*
* @package CleverStyle Music
* @category app
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
window.AudioContext = AudioContext || webkitAudioContext
music_settings = cs.music_settings
cs.sound_processing = do ->
frequencies_to_con... | 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
###
window.AudioContext = AudioContext || webkitAudioContext
music_settings = cs.music_settings
cs.s... |
[
{
"context": "()\n\t\t\t\"../../models/User\": { User: @UserModel }\n\t\t@user =\n\t\t\t_id: ObjectId()\n\t\t\temail: @email = \"USER",
"end": 1961,
"score": 0.6065766215324402,
"start": 1961,
"tag": "USERNAME",
"value": ""
},
{
"context": "\n\t\t@user =\n\t\t\t_id: ObjectId()\n\t\t\... | test/unit/coffee/Authentication/AuthenticationControllerTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
chai = require('chai')
sinonChai = require "sinon-chai"
chai.use sinonChai
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
tk = require("time... | 24744 | sinon = require('sinon')
chai = require('chai')
sinonChai = require "sinon-chai"
chai.use sinonChai
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
tk = require("time... | true | sinon = require('sinon')
chai = require('chai')
sinonChai = require "sinon-chai"
chai.use sinonChai
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
tk = require("time... |
[
{
"context": "toLowerCase()) === 0 \n# || data.name.indexOf(\" reau \") !== -1 \n# || data.content.toLowerCase().in",
"end": 828,
"score": 0.9532831907272339,
"start": 824,
"tag": "NAME",
"value": "reau"
}
] | example/inline_function.coffee | FGRibreau/node-ast-inlining | 1 | inliner = require '../index'
# or
# inliner = require 'ast-inlining'
f =
testInput: (data) ->
# Method calls that will be inlined
a._startWith(data.content, 'ipsum') || f._contains(data.name, 'reau') || a._startWith(data.content, 'Lorem')
_substr: (where, what) ->
where.indexOf(what) != -1
_co... | 225144 | inliner = require '../index'
# or
# inliner = require 'ast-inlining'
f =
testInput: (data) ->
# Method calls that will be inlined
a._startWith(data.content, 'ipsum') || f._contains(data.name, 'reau') || a._startWith(data.content, 'Lorem')
_substr: (where, what) ->
where.indexOf(what) != -1
_co... | true | inliner = require '../index'
# or
# inliner = require 'ast-inlining'
f =
testInput: (data) ->
# Method calls that will be inlined
a._startWith(data.content, 'ipsum') || f._contains(data.name, 'reau') || a._startWith(data.content, 'Lorem')
_substr: (where, what) ->
where.indexOf(what) != -1
_co... |
[
{
"context": "els first.'\n 'server_msg.wrong_password': 'Wrong channel password!'\n 'server_msg.cannot_leave_own_channel': 'S",
"end": 775,
"score": 0.9991416931152344,
"start": 753,
"tag": "PASSWORD",
"value": "Wrong channel password"
},
{
"context": "'Channel name'\n... | src/webclient/translate_module.coffee | Atanamo/IRC-Gateway | 0 |
class Translation
# English translated texts
TEXTS_EN = {
'server_msg.invalid_input': 'Invalid input!'
'server_msg.illegal_length_of_channel_name': 'The requested channel name is too short or too long!'
'server_msg.channel_password_too_short': 'The requested channel password is too sho... | 74673 |
class Translation
# English translated texts
TEXTS_EN = {
'server_msg.invalid_input': 'Invalid input!'
'server_msg.illegal_length_of_channel_name': 'The requested channel name is too short or too long!'
'server_msg.channel_password_too_short': 'The requested channel password is too sho... | true |
class Translation
# English translated texts
TEXTS_EN = {
'server_msg.invalid_input': 'Invalid input!'
'server_msg.illegal_length_of_channel_name': 'The requested channel name is too short or too long!'
'server_msg.channel_password_too_short': 'The requested channel password is too sho... |
[
{
"context": "w Tests for template-curly-spacing rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 84,
"score": 0.9998725056648254,
"start": 70,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/template-curly-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for template-curly-spacing rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/template-cur... | 84936 | ###*
# @fileoverview Tests for template-curly-spacing rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/template-curly-spaci... | true | ###*
# @fileoverview Tests for template-curly-spacing rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/templa... |
[
{
"context": " throw err if err\n tx.insert(\"people\", {name: 'Stephen', location: 'Montreal'}).execute()\n tx.select(",
"end": 272,
"score": 0.9995850920677185,
"start": 265,
"tag": "NAME",
"value": "Stephen"
},
{
"context": " visible\")\n t.deepEqual(res.rows[0], {name:... | test/integration/transaction.test.coffee | kamholz/gesundheit | 0 | #!/usr/bin/env coffee
helpers = require('./helpers')
tables = people: {name: 'varchar(255)', location: 'varchar(255)'}
helpers.eachEngine "Transactions", tables, (db, t) ->
t.plan(3)
db.begin (err, tx) ->
throw err if err
tx.insert("people", {name: 'Stephen', location: 'Montreal'}).execute()
tx.selec... | 115170 | #!/usr/bin/env coffee
helpers = require('./helpers')
tables = people: {name: 'varchar(255)', location: 'varchar(255)'}
helpers.eachEngine "Transactions", tables, (db, t) ->
t.plan(3)
db.begin (err, tx) ->
throw err if err
tx.insert("people", {name: '<NAME>', location: 'Montreal'}).execute()
tx.select... | true | #!/usr/bin/env coffee
helpers = require('./helpers')
tables = people: {name: 'varchar(255)', location: 'varchar(255)'}
helpers.eachEngine "Transactions", tables, (db, t) ->
t.plan(3)
db.begin (err, tx) ->
throw err if err
tx.insert("people", {name: 'PI:NAME:<NAME>END_PI', location: 'Montreal'}).execute()... |
[
{
"context": "lytics'\nanalytics = new GoogleAnalytics account: 'UA-1224199-33'\n\nmodule.exports = window.app = { api, navigation",
"end": 1564,
"score": 0.9803232550621033,
"start": 1551,
"tag": "KEY",
"value": "UA-1224199-33"
}
] | app/main.coffee | zooniverse/Cyclone-Center | 2 | translate = require 't7e'
enUs = require './lib/en-us'
translate.load enUs
Api = require 'zooniverse/lib/api'
api = if window.location.hostname is 'www.cyclonecenter.org'
new Api project: 'cyclone_center', host: 'https://www.cyclonecenter.org', path: '/_ouroboros_api/proxy'
else
new Api project: 'cyclone_center'
... | 197810 | translate = require 't7e'
enUs = require './lib/en-us'
translate.load enUs
Api = require 'zooniverse/lib/api'
api = if window.location.hostname is 'www.cyclonecenter.org'
new Api project: 'cyclone_center', host: 'https://www.cyclonecenter.org', path: '/_ouroboros_api/proxy'
else
new Api project: 'cyclone_center'
... | true | translate = require 't7e'
enUs = require './lib/en-us'
translate.load enUs
Api = require 'zooniverse/lib/api'
api = if window.location.hostname is 'www.cyclonecenter.org'
new Api project: 'cyclone_center', host: 'https://www.cyclonecenter.org', path: '/_ouroboros_api/proxy'
else
new Api project: 'cyclone_center'
... |
[
{
"context": " ]\n assert.deepEqual res.body.kommuner, [ 'Samnanger', 'Vaksdal', 'Osterøy', 'Bergen', 'Voss' ]\n ",
"end": 1528,
"score": 0.9916565418243408,
"start": 1519,
"tag": "NAME",
"value": "Samnanger"
},
{
"context": "sert.deepEqual res.body.kommuner, [ 'Samnanger... | test/routes/api_v1-spec.coffee | Turistforeningen/Geoserver | 10 | assert = require 'assert'
request = require 'supertest'
resolve = require('path').resolve
app = require '../../src/server'
mongo = require '../../src/mongo'
trail = require '../assets/trail.json'
req = request app
base = '/api/v1'
describe '/', ->
it 'should do return API documentation', (done) ->
re... | 89474 | assert = require 'assert'
request = require 'supertest'
resolve = require('path').resolve
app = require '../../src/server'
mongo = require '../../src/mongo'
trail = require '../assets/trail.json'
req = request app
base = '/api/v1'
describe '/', ->
it 'should do return API documentation', (done) ->
re... | true | assert = require 'assert'
request = require 'supertest'
resolve = require('path').resolve
app = require '../../src/server'
mongo = require '../../src/mongo'
trail = require '../assets/trail.json'
req = request app
base = '/api/v1'
describe '/', ->
it 'should do return API documentation', (done) ->
re... |
[
{
"context": " Classroom], done)\n beforeEach (done) -> loginJoe (@joe) => done()\n beforeEach init.course()\n beforeEac",
"end": 326,
"score": 0.9996342062950134,
"start": 321,
"tag": "USERNAME",
"value": "(@joe"
},
{
"context": "('/db/course_instance')\n data = {\n name:... | spec/server/functional/course_instance.spec.coffee | teplyja1/codecombat | 1 | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
init = require '../init'
describe 'POST /db/course_instance', ->
beforeEach (done) -> clearModels([CourseInstance, Course, User, Classroom], done)
beforeEach (done) -> loginJoe... | 217512 | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
init = require '../init'
describe 'POST /db/course_instance', ->
beforeEach (done) -> clearModels([CourseInstance, Course, User, Classroom], done)
beforeEach (done) -> loginJoe... | true | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
init = require '../init'
describe 'POST /db/course_instance', ->
beforeEach (done) -> clearModels([CourseInstance, Course, User, Classroom], done)
beforeEach (done) -> loginJoe... |
[
{
"context": "ileoverview Tests for no-lonely-if rule.\n# @author Brandon Mills\n###\n'use strict'\n\n#------------------------------",
"end": 73,
"score": 0.9986366033554077,
"start": 60,
"tag": "NAME",
"value": "Brandon Mills"
}
] | src/tests/rules/no-lonely-if.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-lonely-if rule.
# @author Brandon Mills
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-lonely-if'
{RuleTeste... | 84410 | ###*
# @fileoverview Tests for no-lonely-if rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-lonely-if'
{RuleTester} = re... | true | ###*
# @fileoverview Tests for no-lonely-if rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-lonely-if'
{Ru... |
[
{
"context": "r: second\n theField: rest\n\ncontenders: [\n \"Michael Phelps\"\n \"Liu Xiang\"\n \"Yao Ming\"\n \"Allyson Felix\"\n \"",
"end": 167,
"score": 0.9998190999031067,
"start": 153,
"tag": "NAME",
"value": "Michael Phelps"
},
{
"context": "Field: rest\n\ncontend... | documentation/coffee/splats.coffee | khaled/coffee-script | 1 | gold: silver: theField: "unknown"
awardMedals: (first, second, rest...) ->
gold: first
silver: second
theField: rest
contenders: [
"Michael Phelps"
"Liu Xiang"
"Yao Ming"
"Allyson Felix"
"Shawn Johnson"
"Roman Sebrle"
"Guo Jingjing"
"Tyson Gay"
"Asafa Powell"
"Usain Bolt"
]
award... | 193588 | gold: silver: theField: "unknown"
awardMedals: (first, second, rest...) ->
gold: first
silver: second
theField: rest
contenders: [
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
]
awardMedals contenders...
alert "Gold: " + gold
alert "S... | true | gold: silver: theField: "unknown"
awardMedals: (first, second, rest...) ->
gold: first
silver: second
theField: rest
contenders: [
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END... |
[
{
"context": "@KimaAttachments = new Mongo.Collection 'kimaattachments'\n\n\n# { \"_",
"end": 16,
"score": 0.9435830116271973,
"start": 1,
"tag": "USERNAME",
"value": "KimaAttachments"
},
{
"context": "dcd7dea84ce.jpg\", \"type\" : \"image/jpeg\", \"key\" : \"AdurnCp4wQPbEMuJp_144049... | config/collections/files/kimaattachments.coffee | sawima/kimashare | 0 | @KimaAttachments = new Mongo.Collection 'kimaattachments'
# { "_id" : "yC7Mw5Yjofj8Mq32b", "name" : "photo-1438216983993-cdcd7dea84ce.jpg", "type" : "image/jpeg", "key" : "AdurnCp4wQPbEMuJp_1440495327132_photo-1438216983993-cdcd7dea84ce.jpg", "size" : 8451333, "path" : "/Products/AdurnCp4wQPbEMuJp_1440495327132_photo... | 75092 | @KimaAttachments = new Mongo.Collection 'kimaattachments'
# { "_id" : "yC7Mw5Yjofj8Mq32b", "name" : "photo-1438216983993-cdcd7dea84ce.jpg", "type" : "image/jpeg", "key" : "<KEY>", "size" : 8451333, "path" : "/Products/AdurnCp4wQPbEMuJp_1440495327132_photo-1438216983993-cdcd7dea84ce.jpg", "folderpath" : "/Products", "... | true | @KimaAttachments = new Mongo.Collection 'kimaattachments'
# { "_id" : "yC7Mw5Yjofj8Mq32b", "name" : "photo-1438216983993-cdcd7dea84ce.jpg", "type" : "image/jpeg", "key" : "PI:KEY:<KEY>END_PI", "size" : 8451333, "path" : "/Products/AdurnCp4wQPbEMuJp_1440495327132_photo-1438216983993-cdcd7dea84ce.jpg", "folderpath" : "... |
[
{
"context": "elper.defaultGateway.customer.create {firstName: 'Bob', lastName: lastName}, (err, response) ->\n ",
"end": 281,
"score": 0.999756932258606,
"start": 278,
"tag": "NAME",
"value": "Bob"
},
{
"context": "elper.defaultGateway.customer.create {firstName: 'Ryan', lastN... | spec/integration/braintree/customer_search_spec.coffee | StreamCo/braintree_node | 0 | require("../../spec_helper")
{Config} = require('../../../lib/braintree/config')
describe "CustomerSearch", ->
describe "search", ->
lastName = null
before (done) ->
lastName = specHelper.randomId()
specHelper.defaultGateway.customer.create {firstName: 'Bob', lastName: lastName}, (err, response)... | 171012 | require("../../spec_helper")
{Config} = require('../../../lib/braintree/config')
describe "CustomerSearch", ->
describe "search", ->
lastName = null
before (done) ->
lastName = specHelper.randomId()
specHelper.defaultGateway.customer.create {firstName: '<NAME>', lastName: lastName}, (err, respon... | true | require("../../spec_helper")
{Config} = require('../../../lib/braintree/config')
describe "CustomerSearch", ->
describe "search", ->
lastName = null
before (done) ->
lastName = specHelper.randomId()
specHelper.defaultGateway.customer.create {firstName: 'PI:NAME:<NAME>END_PI', lastName: lastName}... |
[
{
"context": "moryDataSource(@records)\n @let 'records', -> ['Rose Tyler', 'Martha Jones', 'Amy Pond', 'Rory Pond', 'unkno",
"end": 910,
"score": 0.9997937083244324,
"start": 900,
"tag": "NAME",
"value": "Rose Tyler"
},
{
"context": "(@records)\n @let 'records', -> ['Rose Tyler... | spec/javascripts/data_source_builder_spec.js.coffee | beeflamian/shuttle | 327 | # Copyright 2014 Square Inc.
#
# 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 ... | 218727 | # Copyright 2014 Square Inc.
#
# 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 ... | true | # Copyright 2014 Square Inc.
#
# 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 ... |
[
{
"context": " 'Test'\n Authors.insert postId: id, fullname: 'Max Nowack'\n Authors.insert postId: id, fullname: 'John D",
"end": 507,
"score": 0.9998874664306641,
"start": 497,
"tag": "NAME",
"value": "Max Nowack"
},
{
"context": "Nowack'\n Authors.insert postId: id, fullna... | tests/server-transform.coffee | maximalmeteor/server-transform | 44 | Meteor.startup ->
Posts = new Mongo.Collection 'posts'
Comments = new Mongo.Collection 'comments'
Authors = new Mongo.Collection 'authors'
if Meteor.isServer
ServerTransform.enableLogging()
Comments.allow
insert: -> true
update: -> true
remove: -> true
Comments.deny
insert: ... | 203210 | Meteor.startup ->
Posts = new Mongo.Collection 'posts'
Comments = new Mongo.Collection 'comments'
Authors = new Mongo.Collection 'authors'
if Meteor.isServer
ServerTransform.enableLogging()
Comments.allow
insert: -> true
update: -> true
remove: -> true
Comments.deny
insert: ... | true | Meteor.startup ->
Posts = new Mongo.Collection 'posts'
Comments = new Mongo.Collection 'comments'
Authors = new Mongo.Collection 'authors'
if Meteor.isServer
ServerTransform.enableLogging()
Comments.allow
insert: -> true
update: -> true
remove: -> true
Comments.deny
insert: ... |
[
{
"context": "otypal ones.\nclass Cat\n constructor: -> @name = 'Whiskers'\n breed: 'tabby'\n hair: 'cream'\n\nwhiskers = ne",
"end": 3028,
"score": 0.99942946434021,
"start": 3020,
"tag": "NAME",
"value": "Whiskers"
}
] | QProjectManager/node_modules/jade/support/coffee-script/test/test_comprehensions.coffee | rkoyama1623/Quantum | 35 | # Basic array comprehensions.
nums = n * n for n in [1, 2, 3] when n % 2 isnt 0
results = n * 2 for n in nums
ok results.join(',') is '2,18'
# Basic object comprehensions.
obj = {one: 1, two: 2, three: 3}
names = prop + '!' for prop of obj
odds = prop + '!' for prop, value of obj when value % 2 isnt 0
ok name... | 49415 | # Basic array comprehensions.
nums = n * n for n in [1, 2, 3] when n % 2 isnt 0
results = n * 2 for n in nums
ok results.join(',') is '2,18'
# Basic object comprehensions.
obj = {one: 1, two: 2, three: 3}
names = prop + '!' for prop of obj
odds = prop + '!' for prop, value of obj when value % 2 isnt 0
ok name... | true | # Basic array comprehensions.
nums = n * n for n in [1, 2, 3] when n % 2 isnt 0
results = n * 2 for n in nums
ok results.join(',') is '2,18'
# Basic object comprehensions.
obj = {one: 1, two: 2, three: 3}
names = prop + '!' for prop of obj
odds = prop + '!' for prop, value of obj when value % 2 isnt 0
ok name... |
[
{
"context": "ter: index\n options: \n clientId: \"53af466e96ab7635384b71fa\"\n _tenantId: \"53af466e96ab7635384b71fb\"\n",
"end": 710,
"score": 0.9777336120605469,
"start": 686,
"tag": "KEY",
"value": "53af466e96ab7635384b71fa"
},
{
"context": "\"53af466e96a... | test/support/load-server.coffee | codedoctor/hapi-auth-bearer-mw | 1 | _ = require 'underscore'
Hapi = require "hapi"
mongoose = require 'mongoose'
databaseCleaner = require './database-cleaner'
index = require '../../lib/index'
hapiUserStoreMultiTenant = require 'hapi-user-store-multi-tenant'
hapiOauthStoreMultiTenant = require 'hapi-oauth-store-multi-tenant'
loggingEnabled = false
te... | 115858 | _ = require 'underscore'
Hapi = require "hapi"
mongoose = require 'mongoose'
databaseCleaner = require './database-cleaner'
index = require '../../lib/index'
hapiUserStoreMultiTenant = require 'hapi-user-store-multi-tenant'
hapiOauthStoreMultiTenant = require 'hapi-oauth-store-multi-tenant'
loggingEnabled = false
te... | true | _ = require 'underscore'
Hapi = require "hapi"
mongoose = require 'mongoose'
databaseCleaner = require './database-cleaner'
index = require '../../lib/index'
hapiUserStoreMultiTenant = require 'hapi-user-store-multi-tenant'
hapiOauthStoreMultiTenant = require 'hapi-oauth-store-multi-tenant'
loggingEnabled = false
te... |
[
{
"context": "nstanceName', 'serviceName', ssh: users: {user1: 'passw1', user2: 'passw2'}\n assertBasicProperties co",
"end": 2408,
"score": 0.9957825541496277,
"start": 2402,
"tag": "PASSWORD",
"value": "passw1"
},
{
"context": "rviceName', ssh: users: {user1: 'passw1', user2: ... | imports/server/ssh-container.tests.coffee | ICTU/docker-dashboard | 33 | { assert, expect } = require 'meteor/practicalmeteor:chai'
SshContainer = require './ssh-container'
assertBasicProperties = (config) ->
expect(config, 'Configuration object').to.be.a('object')
assert.equal config.image, 'ictu/docker-ssh'
assert.equal config.container_name, 'projectName-instanceName-serviceName-s... | 33821 | { assert, expect } = require 'meteor/practicalmeteor:chai'
SshContainer = require './ssh-container'
assertBasicProperties = (config) ->
expect(config, 'Configuration object').to.be.a('object')
assert.equal config.image, 'ictu/docker-ssh'
assert.equal config.container_name, 'projectName-instanceName-serviceName-s... | true | { assert, expect } = require 'meteor/practicalmeteor:chai'
SshContainer = require './ssh-container'
assertBasicProperties = (config) ->
expect(config, 'Configuration object').to.be.a('object')
assert.equal config.image, 'ictu/docker-ssh'
assert.equal config.container_name, 'projectName-instanceName-serviceName-s... |
[
{
"context": "map to a dictionary-like string', ->\n hash = {'Jonathan': 24, 'Bash': 23, 'Matt': 26}\n\n it 'should not",
"end": 5519,
"score": 0.9990134239196777,
"start": 5511,
"tag": "NAME",
"value": "Jonathan"
},
{
"context": "ing', ->\n hash = {'Jonathan': 24, 'Bash': 2... | coffee/test/test_humanize.spec.coffee | kevinsawicki/humanize | 2 |
describe 'Millions as word', ->
it 'should pass', ->
expect(Humanize).toBeDefined()
expect(Humanize.intword(123456789, 6)).toEqual('123.45M')
describe 'Ordinal value of numbers Test Suite', ->
describe 'Ordinal value for numbers ending in zero', ->
it 'should return 0 if the number is 0 (cos 0... | 30242 |
describe 'Millions as word', ->
it 'should pass', ->
expect(Humanize).toBeDefined()
expect(Humanize.intword(123456789, 6)).toEqual('123.45M')
describe 'Ordinal value of numbers Test Suite', ->
describe 'Ordinal value for numbers ending in zero', ->
it 'should return 0 if the number is 0 (cos 0... | true |
describe 'Millions as word', ->
it 'should pass', ->
expect(Humanize).toBeDefined()
expect(Humanize.intword(123456789, 6)).toEqual('123.45M')
describe 'Ordinal value of numbers Test Suite', ->
describe 'Ordinal value for numbers ending in zero', ->
it 'should return 0 if the number is 0 (cos 0... |
[
{
"context": "\n# Commands:\n# hubot \n# hubot \n#\n# Author:\n# Sambhav Thakur <sambhavkumar228@gmail.com>\n\nutils = require './u",
"end": 164,
"score": 0.9998932480812073,
"start": 150,
"tag": "NAME",
"value": "Sambhav Thakur"
},
{
"context": "hubot \n# hubot \n#\n# Author... | scripts/1_general.coffee | sambhav228/AAE-Chat-bot | 3 | # Description:
# Handle Help Options
# also: internet speed checks and critical system status
#
# Commands:
# hubot
# hubot
#
# Author:
# Sambhav Thakur <sambhavkumar228@gmail.com>
utils = require './utils'
module.exports = (robot) ->
robot.respond /(get|show|create|generate)+[ ]+(my|the|all)*[ ]*(repo... | 110396 | # Description:
# Handle Help Options
# also: internet speed checks and critical system status
#
# Commands:
# hubot
# hubot
#
# Author:
# <NAME> <<EMAIL>>
utils = require './utils'
module.exports = (robot) ->
robot.respond /(get|show|create|generate)+[ ]+(my|the|all)*[ ]*(reports|sfdc reports|report|sf... | true | # Description:
# Handle Help Options
# also: internet speed checks and critical system status
#
# Commands:
# hubot
# hubot
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
utils = require './utils'
module.exports = (robot) ->
robot.respond /(get|show|create|generate)+[ ]+(my|the|all)*[ ]*(r... |
[
{
"context": " onCheck = => @onCheck index\n img key: index, className: 'captcha-icon', src: imageUrl, onClic",
"end": 1969,
"score": 0.5469022393226624,
"start": 1964,
"tag": "KEY",
"value": "index"
}
] | talk-account/client/app/captcha-icons.coffee | ikingye/talk-os | 3,084 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
{div, button, form, img, input, span, a} = React.DOM
module.exports = React... | 122931 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
{div, button, form, img, input, span, a} = React.DOM
module.exports = React... | true |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
{div, button, form, img, input, span, a} = React.DOM
module.exports = React... |
[
{
"context": "s req.query -> Mongoose model find options\n@author Alex Suslov <suslov@me.com>\n@copyright MIT\n###\n\nQuery =\n wor",
"end": 174,
"score": 0.9997479915618896,
"start": 163,
"tag": "NAME",
"value": "Alex Suslov"
},
{
"context": " Mongoose model find options\n@author A... | coffee/old.coffee | alexsuslov/wcQuery | 1 | 'use strict'
mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
###
Express req.query -> Mongoose model find options
@author Alex Suslov <suslov@me.com>
@copyright MIT
###
Query =
words:
limit:(self)->
self.options.limit = parseInt self.query.limit
skip:(self)->
... | 158555 | 'use strict'
mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
###
Express req.query -> Mongoose model find options
@author <NAME> <<EMAIL>>
@copyright MIT
###
Query =
words:
limit:(self)->
self.options.limit = parseInt self.query.limit
skip:(self)->
self.o... | true | 'use strict'
mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
###
Express req.query -> Mongoose model find options
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@copyright MIT
###
Query =
words:
limit:(self)->
self.options.limit = parseInt self.query.limit
... |
[
{
"context": "ote, Monty Python and the Holy Grail]\n ____\n Dennis: Come and see the violence inherent in the system",
"end": 4802,
"score": 0.7334281802177429,
"start": 4796,
"tag": "NAME",
"value": "Dennis"
},
{
"context": " the system. Help! Help! I'm being repressed!\n\n ... | src/asciidoc.coffee | gaybro8777/hubot-asciidoc | 0 | # Description:
# A way to discover the Asciidoc(tor) markup.
#
# Commands:
# hubot asciidoc comment
# hubot asciidoc comment block
# hubot asciidoc delimited blocks
# hubot asciidoc example block
# hubot asciidoc listing block
# hubot asciidoc source block
# hubot asciidoc literal block
# hubot asciid... | 155511 | # Description:
# A way to discover the Asciidoc(tor) markup.
#
# Commands:
# hubot asciidoc comment
# hubot asciidoc comment block
# hubot asciidoc delimited blocks
# hubot asciidoc example block
# hubot asciidoc listing block
# hubot asciidoc source block
# hubot asciidoc literal block
# hubot asciid... | true | # Description:
# A way to discover the Asciidoc(tor) markup.
#
# Commands:
# hubot asciidoc comment
# hubot asciidoc comment block
# hubot asciidoc delimited blocks
# hubot asciidoc example block
# hubot asciidoc listing block
# hubot asciidoc source block
# hubot asciidoc literal block
# hubot asciid... |
[
{
"context": "store.remove done\n\n beforeEach ->\n @redisKey = uuid.v1()\n @jobManager = new JobManager\n client: ",
"end": 650,
"score": 0.9944137930870056,
"start": 643,
"tag": "KEY",
"value": "uuid.v1"
}
] | test/enqueue-jobs-for-webhooks-broadcast-received-spec.coffee | octoblu/meshblu-core-task-enqueue-jobs-for-webhooks-broadcast-received | 0 | redis = require 'fakeredis'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
mongojs = require 'mongojs'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForWebhooks... | 92516 | redis = require 'fakeredis'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
mongojs = require 'mongojs'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForWebhooks... | true | redis = require 'fakeredis'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
mongojs = require 'mongojs'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForWebhooks... |
[
{
"context": "[0]\n\n\n\nfor t in test_data\n key = 'testing auto-format #'+(i++)\n add_test key, t\n\n# vows\n# .describ",
"end": 1556,
"score": 0.5380566716194153,
"start": 1548,
"tag": "KEY",
"value": "format #"
}
] | dw.js/test/auto-format-test.coffee | webvariants/datawrapper | 1 |
root._ = require 'underscore'
root.Globalize = require 'globalize'
vows = require 'vows'
assert = require 'assert'
dw = require '../dw-2.0.js'
test_data = []
test_data.push ['5.4', 5.4, 4.2, 4, 3.6, 3.4]
test_data.push ['33k', 33030, 27540]
test_data.push ['33,030', 33030, 33100]
test_data.push ['5', 5, 7, 9, 10, 1... | 203959 |
root._ = require 'underscore'
root.Globalize = require 'globalize'
vows = require 'vows'
assert = require 'assert'
dw = require '../dw-2.0.js'
test_data = []
test_data.push ['5.4', 5.4, 4.2, 4, 3.6, 3.4]
test_data.push ['33k', 33030, 27540]
test_data.push ['33,030', 33030, 33100]
test_data.push ['5', 5, 7, 9, 10, 1... | true |
root._ = require 'underscore'
root.Globalize = require 'globalize'
vows = require 'vows'
assert = require 'assert'
dw = require '../dw-2.0.js'
test_data = []
test_data.push ['5.4', 5.4, 4.2, 4, 3.6, 3.4]
test_data.push ['33k', 33030, 27540]
test_data.push ['33,030', 33030, 33100]
test_data.push ['5', 5, 7, 9, 10, 1... |
[
{
"context": "on'\n gOptions =\n dirname: '.'\n users:\n zhuangbiaowei:\n name: \"BiaoWei Zhuang\"\n email: [\n",
"end": 914,
"score": 0.9918866157531738,
"start": 901,
"tag": "USERNAME",
"value": "zhuangbiaowei"
},
{
"context": ".'\n users:\n zhuang... | test/get-contributors-test.coffee | snowyu/get-contributors.js | 1 | fs = require 'fs'
cson = require 'cson'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
mockery = require 'mockery'
_ = require 'lodash'
should = chai.should()
expect = chai.expect
assert =... | 93067 | fs = require 'fs'
cson = require 'cson'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
mockery = require 'mockery'
_ = require 'lodash'
should = chai.should()
expect = chai.expect
assert =... | true | fs = require 'fs'
cson = require 'cson'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
mockery = require 'mockery'
_ = require 'lodash'
should = chai.should()
expect = chai.expect
assert =... |
[
{
"context": "anyName ?= 'GitHub, Inc'\n submitUrl ?= 'http://54.249.141.255:1127/post'\n autoSubmit ?= true\n ignoreSyste",
"end": 329,
"score": 0.9708980917930603,
"start": 315,
"tag": "IP_ADDRESS",
"value": "54.249.141.255"
}
] | atom/common/api/lib/crash-reporter.coffee | gstack/fresh-shell | 2 | {spawn} = require 'child_process'
binding = process.atomBinding 'crash_reporter'
class CrashReporter
start: (options={}) ->
{productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra} = options
productName ?= 'Atom-Shell'
companyName ?= 'GitHub, Inc'
submitUrl ?= 'http://54.24... | 47469 | {spawn} = require 'child_process'
binding = process.atomBinding 'crash_reporter'
class CrashReporter
start: (options={}) ->
{productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra} = options
productName ?= 'Atom-Shell'
companyName ?= 'GitHub, Inc'
submitUrl ?= 'http://172.1... | true | {spawn} = require 'child_process'
binding = process.atomBinding 'crash_reporter'
class CrashReporter
start: (options={}) ->
{productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra} = options
productName ?= 'Atom-Shell'
companyName ?= 'GitHub, Inc'
submitUrl ?= 'http://PI:IP... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9929454922676086,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-symlink-dir-junction-relative.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... | 138130 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "#\n# String class extensions\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\next String.prototype,\n #\n # Checks if the str",
"end": 68,
"score": 0.9998761415481567,
"start": 51,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/lang/src/string.coffee | lovely-io/lovely.io-stl | 2 | #
# String class extensions
#
# Copyright (C) 2011 Nikolay Nemshilov
#
ext String.prototype,
#
# Checks if the string is an empty string
#
# @return {Boolean} check result
#
empty: -> `this == ''`
#
# Checks if the string contains only white-spaces
#
# @return {Boolean} check result
#
blank: ->... | 119871 | #
# String class extensions
#
# Copyright (C) 2011 <NAME>
#
ext String.prototype,
#
# Checks if the string is an empty string
#
# @return {Boolean} check result
#
empty: -> `this == ''`
#
# Checks if the string contains only white-spaces
#
# @return {Boolean} check result
#
blank: -> `this == f... | true | #
# String class extensions
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
ext String.prototype,
#
# Checks if the string is an empty string
#
# @return {Boolean} check result
#
empty: -> `this == ''`
#
# Checks if the string contains only white-spaces
#
# @return {Boolean} check result
#
blank:... |
[
{
"context": "ication\n# HUBOT_WUNDERLIST_SMTP_AUTH_PASSWORD - password for authentication\n#\n# Commands:\n# hubot wunderlist",
"end": 602,
"score": 0.7983406782150269,
"start": 590,
"tag": "PASSWORD",
"value": "password for"
},
{
"context": " all todos are added to the Inbox.\... | src/scripts/wunderlist.coffee | neilprosser/hubot-scripts | 1 | # Description:
# wunderlist allows you to add todos to your wunderlist directly from hubot
#
# Dependencies:
# "mailer": "0.6.7"
#
# Configuration:
# HUBOT_WUNDERLIST_SMTP_HOST - your smtp host e.g. smtp.gmail.com
# HUBOT_WUNDERLIST_SMTP_PORT - the port to connect to
# HUBOT_WUNDERLIST_SMTP_USESSL - wether yo... | 38932 | # Description:
# wunderlist allows you to add todos to your wunderlist directly from hubot
#
# Dependencies:
# "mailer": "0.6.7"
#
# Configuration:
# HUBOT_WUNDERLIST_SMTP_HOST - your smtp host e.g. smtp.gmail.com
# HUBOT_WUNDERLIST_SMTP_PORT - the port to connect to
# HUBOT_WUNDERLIST_SMTP_USESSL - wether yo... | true | # Description:
# wunderlist allows you to add todos to your wunderlist directly from hubot
#
# Dependencies:
# "mailer": "0.6.7"
#
# Configuration:
# HUBOT_WUNDERLIST_SMTP_HOST - your smtp host e.g. smtp.gmail.com
# HUBOT_WUNDERLIST_SMTP_PORT - the port to connect to
# HUBOT_WUNDERLIST_SMTP_USESSL - wether yo... |
[
{
"context": "peString = \"Hobby Servo\"\n when 0x40 # TODO(Matt Zhao): Implement when these are implemented\n ",
"end": 1913,
"score": 0.9994476437568665,
"start": 1904,
"tag": "NAME",
"value": "Matt Zhao"
},
{
"context": "ring = \"Grizzly Bear v3\"\n when 0x8... | app/scripts/robot/read_descriptor.coffee | sutkarsh/daemon | 0 | angular.module('daemon.read_descriptor', [])
.service('read_descriptor', [
->
buffer = requireNode("buffer")
readString = (buf, startIndex) ->
length = buf.readUInt8(startIndex)
description = buf.slice(startIndex + 1, length + startIndex + 1)
[
description.toString("utf8")
l... | 17721 | angular.module('daemon.read_descriptor', [])
.service('read_descriptor', [
->
buffer = requireNode("buffer")
readString = (buf, startIndex) ->
length = buf.readUInt8(startIndex)
description = buf.slice(startIndex + 1, length + startIndex + 1)
[
description.toString("utf8")
l... | true | angular.module('daemon.read_descriptor', [])
.service('read_descriptor', [
->
buffer = requireNode("buffer")
readString = (buf, startIndex) ->
length = buf.readUInt8(startIndex)
description = buf.slice(startIndex + 1, length + startIndex + 1)
[
description.toString("utf8")
l... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998898506164551,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/resources/userstories.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 9350 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": ": the Shell.\"\n\n user = @userForId('1', {name: \"Shell\"})\n\n process.stdin.resume()\n process.stdin.",
"end": 322,
"score": 0.9930880665779114,
"start": 317,
"tag": "USERNAME",
"value": "Shell"
},
{
"context": "Timeout =>\n user = @userForId('1', {na... | src/hubot/shell.coffee | harperreed/hubot | 1 | Robot = require 'robot'
class Shell extends Robot
send: (user, strings...) ->
strings.forEach (str) ->
console.log str
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
run: ->
console.log "Hubot: the Shell."
user = @userForId('1', {name: "She... | 94626 | Robot = require 'robot'
class Shell extends Robot
send: (user, strings...) ->
strings.forEach (str) ->
console.log str
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
run: ->
console.log "Hubot: the Shell."
user = @userForId('1', {name: "She... | true | Robot = require 'robot'
class Shell extends Robot
send: (user, strings...) ->
strings.forEach (str) ->
console.log str
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
run: ->
console.log "Hubot: the Shell."
user = @userForId('1', {name: "She... |
[
{
"context": "cd'\n\n customerMock: ->\n firstName = uniqueId 'Heinz'\n lastName = uniqueId 'Mayer'\n\n customerNum",
"end": 2896,
"score": 0.999392569065094,
"start": 2891,
"tag": "NAME",
"value": "Heinz"
},
{
"context": "tName = uniqueId 'Heinz'\n lastName = uniqueId '... | src/spec/helper.coffee | celeste-horgan/sphere-order-export | 3 | _ = require 'underscore'
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
module.exports =
orderPaymentInfo: (container, orderId) ->
container: container
key: orderId
value:
paymentMethod: 'Cash'
paymentID: '7'
shippingMethodMock: (zone, taxCategory) ->
name: u... | 158755 | _ = require 'underscore'
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
module.exports =
orderPaymentInfo: (container, orderId) ->
container: container
key: orderId
value:
paymentMethod: 'Cash'
paymentID: '7'
shippingMethodMock: (zone, taxCategory) ->
name: u... | true | _ = require 'underscore'
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
module.exports =
orderPaymentInfo: (container, orderId) ->
container: container
key: orderId
value:
paymentMethod: 'Cash'
paymentID: '7'
shippingMethodMock: (zone, taxCategory) ->
name: u... |
[
{
"context": "が入室したぞ!\n inlog:(room,player)->\n name=\"#{player.name}\"\n pr=\"\"\n unless room.blind in [\"co",
"end": 1613,
"score": 0.9083701968193054,
"start": 1602,
"tag": "USERNAME",
"value": "player.name"
},
{
"context": "alid:player.realid\n ... | server/rpc/game/game.coffee | Yukimir/jinrou | 0 | #,type シェアするやつ
Shared=
game:require '../../../client/code/shared/game.coffee'
prize:require '../../../client/code/shared/prize.coffee'
cron=require 'cron'
# 浅いコピー
copyObject=(obj)->
result=Object.create Object.getPrototypeOf obj
for key in Object.keys(obj)
result[key]=obj[key]
result
# ゲー... | 111496 | #,type シェアするやつ
Shared=
game:require '../../../client/code/shared/game.coffee'
prize:require '../../../client/code/shared/prize.coffee'
cron=require 'cron'
# 浅いコピー
copyObject=(obj)->
result=Object.create Object.getPrototypeOf obj
for key in Object.keys(obj)
result[key]=obj[key]
result
# ゲー... | true | #,type シェアするやつ
Shared=
game:require '../../../client/code/shared/game.coffee'
prize:require '../../../client/code/shared/prize.coffee'
cron=require 'cron'
# 浅いコピー
copyObject=(obj)->
result=Object.create Object.getPrototypeOf obj
for key in Object.keys(obj)
result[key]=obj[key]
result
# ゲー... |
[
{
"context": "rbitrary-sized positive integers\n# Author: Austin Ewens (aewens)\n# Copyright: (C) Austin Ewens 2015\n",
"end": 157,
"score": 0.9998970031738281,
"start": 145,
"tag": "NAME",
"value": "Austin Ewens"
},
{
"context": "positive integers\n# Author: Aus... | src/pasta.coffee | aewens/pastajs | 0 | # File: pasta.js
# Version: 0.1
# Purpose: Utility for doing math to arbitrary-sized positive integers
# Author: Austin Ewens (aewens)
# Copyright: (C) Austin Ewens 2015
define [], () ->
class Pasta
constructor: (value) ->
return "Not a string" unless typeof ... | 23256 | # File: pasta.js
# Version: 0.1
# Purpose: Utility for doing math to arbitrary-sized positive integers
# Author: <NAME> (aewens)
# Copyright: (C) <NAME> 2015
define [], () ->
class Pasta
constructor: (value) ->
return "Not a string" unless typeof value is "st... | true | # File: pasta.js
# Version: 0.1
# Purpose: Utility for doing math to arbitrary-sized positive integers
# Author: PI:NAME:<NAME>END_PI (aewens)
# Copyright: (C) PI:NAME:<NAME>END_PI 2015
define [], () ->
class Pasta
constructor: (value) ->
return "Not a string... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993101954460144,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-stat.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... | 17808 | # 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": "e66e209\n vpc_id: vpc-ef17be8a\n ssh_username: ubuntu\n tags:\n Name: koding-test\n - type: virtu",
"end": 2321,
"score": 0.9939321875572205,
"start": 2315,
"tag": "USERNAME",
"value": "ubuntu"
},
{
"context": "ubuntu-14.04.2-server-amd64.iso'\n ssh_us... | client/app/lib/util/stacks/defaulttemplate.coffee | lionheart1022/koding | 0 | module.exports = {
json: '''
{
"provider": {
"aws": {
"access_key": "${var.aws_access_key}",
"secret_key": "${var.aws_secret_key}"
}
},
"resource": {
"aws_instance": {
"example-instance": {
"tags": {
"Name": "${var.koding_user_username}-${v... | 156237 | module.exports = {
json: '''
{
"provider": {
"aws": {
"access_key": "${var.aws_access_key}",
"secret_key": "${var.aws_secret_key}"
}
},
"resource": {
"aws_instance": {
"example-instance": {
"tags": {
"Name": "${var.koding_user_username}-${v... | true | module.exports = {
json: '''
{
"provider": {
"aws": {
"access_key": "${var.aws_access_key}",
"secret_key": "${var.aws_secret_key}"
}
},
"resource": {
"aws_instance": {
"example-instance": {
"tags": {
"Name": "${var.koding_user_username}-${v... |
[
{
"context": "ands:\n# none\n#\n# Notes:\n# None\n#\n# Author:\n# Brad Clark <bdashrad@gmail.com>\n\nmodule.exports = (robot) ->",
"end": 461,
"score": 0.9998636245727539,
"start": 451,
"tag": "NAME",
"value": "Brad Clark"
},
{
"context": "e\n#\n# Notes:\n# None\n#\n# Author:... | src/jiralinks.coffee | bdashrad/hubot-jira-links | 0 | # Description:
# Automatically post jira links when issue numbers are seen
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_DOMAIN - domain when your jira instance lives (e.g. "example.atlassian.com")
# HUBOT_JIRA_PROJECTS - comma separated list of project prefixes (e.g. "AB,CD,EF")
# HUBOT_JIRA_INSEC... | 192901 | # Description:
# Automatically post jira links when issue numbers are seen
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_DOMAIN - domain when your jira instance lives (e.g. "example.atlassian.com")
# HUBOT_JIRA_PROJECTS - comma separated list of project prefixes (e.g. "AB,CD,EF")
# HUBOT_JIRA_INSEC... | true | # Description:
# Automatically post jira links when issue numbers are seen
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_DOMAIN - domain when your jira instance lives (e.g. "example.atlassian.com")
# HUBOT_JIRA_PROJECTS - comma separated list of project prefixes (e.g. "AB,CD,EF")
# HUBOT_JIRA_INSEC... |
[
{
"context": " expect(jsonClone samp).toEqual { keyMap: { 0: 'aa', 1: 'ab' } }\n\n it 'does one observation', (do",
"end": 537,
"score": 0.5386722087860107,
"start": 535,
"tag": "KEY",
"value": "aa"
},
{
"context": "(jsonClone samp).toEqual { keyMap: { 0: 'aa', 1: 'ab' } }\n\n ... | server/spec/recorder.spec.coffee | triggerrally/triggerrally.github.io | 1 | describe 'recorder', ->
# TODO test:
# key mapping
# freq (record skipping)
# playback
recorder = require '../public/scripts/util/recorder'
data1 =
aa: 1
ab: 2
ac: 3
keys1 =
aa: 2
ab: 1
data2 =
x: 0
keys2 =
x: 1
jsonClone = (obj) -> JSON.parse JSON.stringify obj
... | 64531 | describe 'recorder', ->
# TODO test:
# key mapping
# freq (record skipping)
# playback
recorder = require '../public/scripts/util/recorder'
data1 =
aa: 1
ab: 2
ac: 3
keys1 =
aa: 2
ab: 1
data2 =
x: 0
keys2 =
x: 1
jsonClone = (obj) -> JSON.parse JSON.stringify obj
... | true | describe 'recorder', ->
# TODO test:
# key mapping
# freq (record skipping)
# playback
recorder = require '../public/scripts/util/recorder'
data1 =
aa: 1
ab: 2
ac: 3
keys1 =
aa: 2
ab: 1
data2 =
x: 0
keys2 =
x: 1
jsonClone = (obj) -> JSON.parse JSON.stringify obj
... |
[
{
"context": "business.ru/api/WcfService.svc'\n @.APP_NAME = 'Clarins'\n\n @.GEOLOCATION_TIMEOUT_ANDROID = 3000\n @.",
"end": 217,
"score": 0.9963892102241516,
"start": 210,
"tag": "NAME",
"value": "Clarins"
}
] | client/coffee/core/Config.coffee | HiPiH/App1 | 0 | class Config
@.VIRTICAL_DEVICE_MIN_WIDTH = 420
@.HORIZONTAL_DEVICE_MIN_WIDTH = 600
@.DEFAULT_LANGUAGE = 'ru'
@.SERVER_URL = 'https://cc.orange-business.ru/api/WcfService.svc'
@.APP_NAME = 'Clarins'
@.GEOLOCATION_TIMEOUT_ANDROID = 3000
@.GEOLOCATION_TIMEOUT_OTHER = 3000
@.LOADING_TIME_... | 168945 | class Config
@.VIRTICAL_DEVICE_MIN_WIDTH = 420
@.HORIZONTAL_DEVICE_MIN_WIDTH = 600
@.DEFAULT_LANGUAGE = 'ru'
@.SERVER_URL = 'https://cc.orange-business.ru/api/WcfService.svc'
@.APP_NAME = '<NAME>'
@.GEOLOCATION_TIMEOUT_ANDROID = 3000
@.GEOLOCATION_TIMEOUT_OTHER = 3000
@.LOADING_TIME_O... | true | class Config
@.VIRTICAL_DEVICE_MIN_WIDTH = 420
@.HORIZONTAL_DEVICE_MIN_WIDTH = 600
@.DEFAULT_LANGUAGE = 'ru'
@.SERVER_URL = 'https://cc.orange-business.ru/api/WcfService.svc'
@.APP_NAME = 'PI:NAME:<NAME>END_PI'
@.GEOLOCATION_TIMEOUT_ANDROID = 3000
@.GEOLOCATION_TIMEOUT_OTHER = 3000
@.... |
[
{
"context": "haves similarly to a physical credit card.\n@author Ken Keiter <ken@kenkeiter.com>\n@updated 2013-07-25\n@website ",
"end": 295,
"score": 0.9998683929443359,
"start": 285,
"tag": "NAME",
"value": "Ken Keiter"
},
{
"context": "ly to a physical credit card.\n@author Ken K... | javascripts/src/Skeuocard.coffee | mueslico/skeuocard | 416 | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author Ken Keiter <ken@kenkeiter.com>
@upd... | 64527 | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author <NAME> <<EMAIL>>
@updated 2013-07-2... | true | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMA... |
[
{
"context": " Commands:\n# hubot deploy to production - Deploy Ralph to production.\n\napps = [\n 'argos',\n 'levelup-or",
"end": 100,
"score": 0.7660766839981079,
"start": 95,
"tag": "NAME",
"value": "Ralph"
}
] | scripts/deploy.coffee | TheLevelUp/hubot-ralph | 4 | # Description:
# Causes heart attacks.
#
# Commands:
# hubot deploy to production - Deploy Ralph to production.
apps = [
'argos',
'levelup-order-ahead-production',
'levelup-production',
'order-ahead-network-production',
'plutus-production'
]
emojis = [
':+1:',
':dance:',
':party_poop:',
':party_... | 101850 | # Description:
# Causes heart attacks.
#
# Commands:
# hubot deploy to production - Deploy <NAME> to production.
apps = [
'argos',
'levelup-order-ahead-production',
'levelup-production',
'order-ahead-network-production',
'plutus-production'
]
emojis = [
':+1:',
':dance:',
':party_poop:',
':party... | true | # Description:
# Causes heart attacks.
#
# Commands:
# hubot deploy to production - Deploy PI:NAME:<NAME>END_PI to production.
apps = [
'argos',
'levelup-order-ahead-production',
'levelup-production',
'order-ahead-network-production',
'plutus-production'
]
emojis = [
':+1:',
':dance:',
':party_poo... |
[
{
"context": " expand tags', ->\n tags = [\n { name: \"first\" },\n { name: \"second\" },\n ]\n\n ex",
"end": 337,
"score": 0.6835723519325256,
"start": 332,
"tag": "NAME",
"value": "first"
},
{
"context": "s = [\n { name: \"first\" },\n { n... | test/filter/tag_expand-spec.coffee | PriviPK/privipk-webapp | 47 | define ['angular', 'angularMocks', 'baobab.filter'], (angular) ->
describe 'tag_expand filter', ->
tag_expand = null
beforeEach ->
angular.mock.module("baobab.filter")
angular.mock.inject ($filter) ->
tag_expand = $filter("tag_expand")
it 'should expand tags', ->
tags = [
... | 220980 | define ['angular', 'angularMocks', 'baobab.filter'], (angular) ->
describe 'tag_expand filter', ->
tag_expand = null
beforeEach ->
angular.mock.module("baobab.filter")
angular.mock.inject ($filter) ->
tag_expand = $filter("tag_expand")
it 'should expand tags', ->
tags = [
... | true | define ['angular', 'angularMocks', 'baobab.filter'], (angular) ->
describe 'tag_expand filter', ->
tag_expand = null
beforeEach ->
angular.mock.module("baobab.filter")
angular.mock.inject ($filter) ->
tag_expand = $filter("tag_expand")
it 'should expand tags', ->
tags = [
... |
[
{
"context": "ed\"\n state:\n firstPage: 1\n sortKey: \"surname\"\n pageSize: 20\n\n parse: (response) -> \n ",
"end": 3886,
"score": 0.8457931280136108,
"start": 3879,
"tag": "NAME",
"value": "surname"
},
{
"context": "mns: [\n {\n ... | src/app.coffee | digihum/hispanicliverpool | 0 | require [
"jquery"
"underscore"
"backbone"
"bootstrap"
"backbone.paginator"
"backbone-relational"
], ($, _, Backbone, Bootstrap, PageableCollection) ->
htmlEncode = (value) ->
$("<div/>").text(value).html()
$.fn.serializeObject = ->
o = {}
a = @serializeArray()
$.each a, ->
if o[@n... | 201316 | require [
"jquery"
"underscore"
"backbone"
"bootstrap"
"backbone.paginator"
"backbone-relational"
], ($, _, Backbone, Bootstrap, PageableCollection) ->
htmlEncode = (value) ->
$("<div/>").text(value).html()
$.fn.serializeObject = ->
o = {}
a = @serializeArray()
$.each a, ->
if o[@n... | true | require [
"jquery"
"underscore"
"backbone"
"bootstrap"
"backbone.paginator"
"backbone-relational"
], ($, _, Backbone, Bootstrap, PageableCollection) ->
htmlEncode = (value) ->
$("<div/>").text(value).html()
$.fn.serializeObject = ->
o = {}
a = @serializeArray()
$.each a, ->
if o[@n... |
[
{
"context": "motePlayer()\n 'starter AI': -> computerPlayer 'monte-carlo', 500\n 'smart AI': -> computerPlayer 'minimax'",
"end": 1950,
"score": 0.8450912237167358,
"start": 1939,
"tag": "NAME",
"value": "monte-carlo"
},
{
"context": "te-carlo', 500\n 'smart AI': -> compute... | app/src/index.coffee | jordao76/ultimate-tic-tac-toe | 5 | # coffeelint: disable=max_line_length
$ = jQuery
{X, O, decode} = require 'aye-aye/lib/games/bin-tic-tac-toe'
{UltimateTicTacToe} = require 'aye-aye/lib/games/ultimate-tic-tac-toe'
{showSpinner, hideSpinner} = require './spinner'
require './highlight'
{RTC} = require './web-rtc'
$ ->
game = null
lastAction = ... | 216223 | # coffeelint: disable=max_line_length
$ = jQuery
{X, O, decode} = require 'aye-aye/lib/games/bin-tic-tac-toe'
{UltimateTicTacToe} = require 'aye-aye/lib/games/ultimate-tic-tac-toe'
{showSpinner, hideSpinner} = require './spinner'
require './highlight'
{RTC} = require './web-rtc'
$ ->
game = null
lastAction = ... | true | # coffeelint: disable=max_line_length
$ = jQuery
{X, O, decode} = require 'aye-aye/lib/games/bin-tic-tac-toe'
{UltimateTicTacToe} = require 'aye-aye/lib/games/ultimate-tic-tac-toe'
{showSpinner, hideSpinner} = require './spinner'
require './highlight'
{RTC} = require './web-rtc'
$ ->
game = null
lastAction = ... |
[
{
"context": "kids =\n brother:\n name: \"Max\"\n age: 11\n sister:\n name: \"Ida\"\n age: ",
"end": 32,
"score": 0.9998598694801331,
"start": 29,
"tag": "NAME",
"value": "Max"
},
{
"context": " name: \"Max\"\n age: 11\n sister:\n name: \"Ida\"\n age: 9\... | packages/coffee/test/fixtures/bar.coffee | jbucaran/fly | 729 | kids =
brother:
name: "Max"
age: 11
sister:
name: "Ida"
age: 9
| 160147 | kids =
brother:
name: "<NAME>"
age: 11
sister:
name: "<NAME>"
age: 9
| true | kids =
brother:
name: "PI:NAME:<NAME>END_PI"
age: 11
sister:
name: "PI:NAME:<NAME>END_PI"
age: 9
|
[
{
"context": "s.dynamicDampingFactor = 0.9\n\n controls.keys = [ 65, 83, 68 ]\n\n curves = new WorkerFlyingCurves visibilityDi",
"end": 9771,
"score": 0.9732385873794556,
"start": 9761,
"tag": "KEY",
"value": "65, 83, 68"
},
{
"context": "|0\n y = Math.round(Math.sin(u1)*r) |0\n... | 3d/singlerot3d.coffee | dmishin/singlerot-smooth | 18 | {parseFieldDescriptionlLanguage} = require "../fdl_parser"
{parseUri} = require "../parseuri"
container = undefined
stats = undefined
camera = undefined
scene = undefined
renderer = undefined
controls = undefined
curves = undefined
stepsPerMs = 10 / 1000
visibilityDistance = 10000
#Parameter of the splitted proce... | 103884 | {parseFieldDescriptionlLanguage} = require "../fdl_parser"
{parseUri} = require "../parseuri"
container = undefined
stats = undefined
camera = undefined
scene = undefined
renderer = undefined
controls = undefined
curves = undefined
stepsPerMs = 10 / 1000
visibilityDistance = 10000
#Parameter of the splitted proce... | true | {parseFieldDescriptionlLanguage} = require "../fdl_parser"
{parseUri} = require "../parseuri"
container = undefined
stats = undefined
camera = undefined
scene = undefined
renderer = undefined
controls = undefined
curves = undefined
stepsPerMs = 10 / 1000
visibilityDistance = 10000
#Parameter of the splitted proce... |
[
{
"context": "bject: 'Hey {{name}}'\n body: 'h1= name'\n name: 'kieron'",
"end": 159,
"score": 0.999800980091095,
"start": 153,
"tag": "NAME",
"value": "kieron"
}
] | src/test/test.coffee | ndxbxrme/ndx-email | 0 | 'use strict'
ndx =
settings: {}
require('../index.js') ndx
ndx.email.send
to: ''
from: ''
subject: 'Hey {{name}}'
body: 'h1= name'
name: 'kieron' | 163340 | 'use strict'
ndx =
settings: {}
require('../index.js') ndx
ndx.email.send
to: ''
from: ''
subject: 'Hey {{name}}'
body: 'h1= name'
name: '<NAME>' | true | 'use strict'
ndx =
settings: {}
require('../index.js') ndx
ndx.email.send
to: ''
from: ''
subject: 'Hey {{name}}'
body: 'h1= name'
name: 'PI:NAME:<NAME>END_PI' |
[
{
"context": "g 'Caught error in longjohn. Please report this to matt.insler@gmail.com.'\n lines.push(frames.map(exports.format_stack_fr",
"end": 1605,
"score": 0.9998778104782104,
"start": 1584,
"tag": "EMAIL",
"value": "matt.insler@gmail.com"
}
] | lib/longjohn.coffee | john-aws/longjohn | 546 | {EventEmitter} = require 'events'
if EventEmitter.prototype.on?['longjohn']
return module.exports = EventEmitter.prototype.on['longjohn']
source_map = require 'source-map-support'
source_map.install()
filename = __filename
current_trace_error = null
in_prepare = 0
exports.empty_frame = '---------------------------... | 23744 | {EventEmitter} = require 'events'
if EventEmitter.prototype.on?['longjohn']
return module.exports = EventEmitter.prototype.on['longjohn']
source_map = require 'source-map-support'
source_map.install()
filename = __filename
current_trace_error = null
in_prepare = 0
exports.empty_frame = '---------------------------... | true | {EventEmitter} = require 'events'
if EventEmitter.prototype.on?['longjohn']
return module.exports = EventEmitter.prototype.on['longjohn']
source_map = require 'source-map-support'
source_map.install()
filename = __filename
current_trace_error = null
in_prepare = 0
exports.empty_frame = '---------------------------... |
[
{
"context": "name: 'uhn'}\n else\n {username: $scope.username, password: $scope.password}\n $scope.clearMes",
"end": 689,
"score": 0.832491397857666,
"start": 681,
"tag": "USERNAME",
"value": "username"
},
{
"context": "else\n {username: $scope.username, pass... | src/main/client/authentication/authentication-controller.coffee | morungos/turalt-openmentor | 0 | angular
.module 'openmentor.authentication'
.controller 'LoginController', Array '$scope', '$state', 'authenticationService', ($scope, $state, authenticationService) ->
$scope.prompt = null
console.log "State params", $state.params
if $state.params.prompt != 'default'
$scope.prompt = $state.par... | 24581 | angular
.module 'openmentor.authentication'
.controller 'LoginController', Array '$scope', '$state', 'authenticationService', ($scope, $state, authenticationService) ->
$scope.prompt = null
console.log "State params", $state.params
if $state.params.prompt != 'default'
$scope.prompt = $state.par... | true | angular
.module 'openmentor.authentication'
.controller 'LoginController', Array '$scope', '$state', 'authenticationService', ($scope, $state, authenticationService) ->
$scope.prompt = null
console.log "State params", $state.params
if $state.params.prompt != 'default'
$scope.prompt = $state.par... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.