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 \"_id\": \"53c997066567c600002a43d0\",\n \"name\": \"Dungeon Arena\",\n \"icon\": \"db/level/53173f76c269d400000543c2/11",
"end": 80,
"score": 0.9222341179847717,
"start": 67,
"tag": "NAME",
"value": "Dungeon Arena"
}
] | test/demo/views/common/level.fixture.coffee | adamcsillag/codecombat | 2 | module.exports = {
"_id": "53c997066567c600002a43d0",
"name": "Dungeon Arena",
"icon": "db/level/53173f76c269d400000543c2/11_dungeon.png",
"banner": "db/level/53173f76c269d400000543c2/dungeon_arena.png",
"employerDescription": "Players:\n* Attempt to destroy the enemy base.\n* Choose and control heroes to att... | 76871 | module.exports = {
"_id": "53c997066567c600002a43d0",
"name": "<NAME>",
"icon": "db/level/53173f76c269d400000543c2/11_dungeon.png",
"banner": "db/level/53173f76c269d400000543c2/dungeon_arena.png",
"employerDescription": "Players:\n* Attempt to destroy the enemy base.\n* Choose and control heroes to attack wit... | true | module.exports = {
"_id": "53c997066567c600002a43d0",
"name": "PI:NAME:<NAME>END_PI",
"icon": "db/level/53173f76c269d400000543c2/11_dungeon.png",
"banner": "db/level/53173f76c269d400000543c2/dungeon_arena.png",
"employerDescription": "Players:\n* Attempt to destroy the enemy base.\n* Choose and control heroes... |
[
{
"context": "e:\n *\n * Utils.execute(\"GET\", \"/search?apikey=abc\", my_callback)\n ###\n execute: (verb, uri, callb",
"end": 1913,
"score": 0.7397620677947998,
"start": 1910,
"tag": "KEY",
"value": "abc"
}
] | src/node-songkick/utils.coffee | carvil/node-songkick | 1 | http = require 'http'
querystring = require 'querystring'
module.exports =
###*
* Transforms an object in a query string
*
* @param {query} - the query object, e.g. {q: "pink floyd", apikey: "abc"}
* @returns {string} - the input string in query format
*
* Example:
*
* Utils.stringifyQuer... | 131491 | http = require 'http'
querystring = require 'querystring'
module.exports =
###*
* Transforms an object in a query string
*
* @param {query} - the query object, e.g. {q: "pink floyd", apikey: "abc"}
* @returns {string} - the input string in query format
*
* Example:
*
* Utils.stringifyQuer... | true | http = require 'http'
querystring = require 'querystring'
module.exports =
###*
* Transforms an object in a query string
*
* @param {query} - the query object, e.g. {q: "pink floyd", apikey: "abc"}
* @returns {string} - the input string in query format
*
* Example:
*
* Utils.stringifyQuer... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999133348464966,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/status-page/uptime.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createElement
export class Uptime extends React.Comp... | 216926 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createElement
export class Uptime extends React.Component
... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createElement
export class Uptime extends Re... |
[
{
"context": "mage = require 'easyimage'\n\nCREDENTIALS =\n key: '1111111'\n secret: '3333333'\n bucket: 's3-bucket-name'\n\n",
"end": 245,
"score": 0.9993012547492981,
"start": 238,
"tag": "KEY",
"value": "1111111"
},
{
"context": "image'\n\nCREDENTIALS =\n key: '1111111'\n sec... | src/spec/services/s3client.spec.coffee | sphereio/node-s3-utils | 4 | _ = require 'underscore'
Promise = require 'bluebird'
S3Client = require '../../lib/services/s3client'
Compress = require '../../lib/compress'
fs = Promise.promisifyAll require('fs')
easyimage = require 'easyimage'
CREDENTIALS =
key: '1111111'
secret: '3333333'
bucket: 's3-bucket-name'
describe 'S3Client', ->
... | 124901 | _ = require 'underscore'
Promise = require 'bluebird'
S3Client = require '../../lib/services/s3client'
Compress = require '../../lib/compress'
fs = Promise.promisifyAll require('fs')
easyimage = require 'easyimage'
CREDENTIALS =
key: '<KEY>'
secret: '<KEY>'
bucket: 's3-bucket-name'
describe 'S3Client', ->
be... | true | _ = require 'underscore'
Promise = require 'bluebird'
S3Client = require '../../lib/services/s3client'
Compress = require '../../lib/compress'
fs = Promise.promisifyAll require('fs')
easyimage = require 'easyimage'
CREDENTIALS =
key: 'PI:KEY:<KEY>END_PI'
secret: 'PI:KEY:<KEY>END_PI'
bucket: 's3-bucket-name'
des... |
[
{
"context": "hecklistSchemaInternal} object instances.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ChecklistManage",
"end": 302,
"score": 0.9998469352722168,
"start": 290,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/db/manager/ChecklistManager.coffee | qrefdev/qref | 0 | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
ObjectId = mongoose.Types.ObjectId
underscore = require('underscore')
###
Utility class used to provide common operations on {AircraftChecklistSchemaInternal} object instances.
@author Nathan Klick
@copyright QRef ... | 161266 | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
ObjectId = mongoose.Types.ObjectId
underscore = require('underscore')
###
Utility class used to provide common operations on {AircraftChecklistSchemaInternal} object instances.
@author <NAME>
@copyright QRef 2012
... | true | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
ObjectId = mongoose.Types.ObjectId
underscore = require('underscore')
###
Utility class used to provide common operations on {AircraftChecklistSchemaInternal} object instances.
@author PI:NAME:<NAME>END_PI
@copyrig... |
[
{
"context": "eEach fibrous ->\n user =\n email: 'foo@bar.com'\n id: '1a2c3ffc4'\n\n stream.sync.w",
"end": 1816,
"score": 0.9999071359634399,
"start": 1805,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "r =\n email: 'foo@bar.com'\n ... | test/rollbar_stream.test.coffee | makebbekus/rollbar-stream | 0 | RollbarStream = require '../src'
Rollbar = require 'rollbar'
sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
stackTrace = require 'stack-trace'
fibrous = require 'fibrous'
_ = require 'underscore'
describe 'RollbarStream', ->
{stream} = {}
beforeEach ->
stream = new RollbarStream({})
des... | 54733 | RollbarStream = require '../src'
Rollbar = require 'rollbar'
sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
stackTrace = require 'stack-trace'
fibrous = require 'fibrous'
_ = require 'underscore'
describe 'RollbarStream', ->
{stream} = {}
beforeEach ->
stream = new RollbarStream({})
des... | true | RollbarStream = require '../src'
Rollbar = require 'rollbar'
sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
stackTrace = require 'stack-trace'
fibrous = require 'fibrous'
_ = require 'underscore'
describe 'RollbarStream', ->
{stream} = {}
beforeEach ->
stream = new RollbarStream({})
des... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998881220817566,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/shader.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/color_or_texture
class Shader
constructor: (loader, type, effect) ->
@type = type
@effect = effect
@material = null
@loader = loader
parse:... | 218816 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/color_or_texture
class Shader
constructor: (loader, type, effect) ->
@type = type
@effect = effect
@material = null
@loader = loader
parse: (element) ->
l... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/color_or_texture
class Shader
constructor: (loader, type, effect) ->
@type = type
@effect = effect
@material = null
@loader = loader
... |
[
{
"context": ">\n p \"密码:\"\n input name:'password',type:'password'\n li ->\n p \"确认密码:\"\n input name:'repa",
"end": 267,
"score": 0.8932687044143677,
"start": 259,
"tag": "PASSWORD",
"value": "password"
}
] | views/register.coffee | dreampuf/banajs | 3 | @title = "注册"
h1 @title
p "每一个ID,都是一段美好的姻缘"
form method:'POST',->
ul ->
li ->
p "邮箱:"
input name:'email',type:'text'
li ->
p "昵称:"
input name:'nickname',type:'text'
li ->
p "密码:"
input name:'password',type:'password'
li ->
p "确认密码:"
input name:'repassw... | 116944 | @title = "注册"
h1 @title
p "每一个ID,都是一段美好的姻缘"
form method:'POST',->
ul ->
li ->
p "邮箱:"
input name:'email',type:'text'
li ->
p "昵称:"
input name:'nickname',type:'text'
li ->
p "密码:"
input name:'password',type:'<PASSWORD>'
li ->
p "确认密码:"
input name:'repas... | true | @title = "注册"
h1 @title
p "每一个ID,都是一段美好的姻缘"
form method:'POST',->
ul ->
li ->
p "邮箱:"
input name:'email',type:'text'
li ->
p "昵称:"
input name:'nickname',type:'text'
li ->
p "密码:"
input name:'password',type:'PI:PASSWORD:<PASSWORD>END_PI'
li ->
p "确认密码:"
... |
[
{
"context": "telack] set <number> - set address\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\ngoogleSheets = require 'google-",
"end": 384,
"score": 0.9996793866157532,
"start": 377,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "t <number> - set address\n#\n# Author:\n# ... | src/scripts/telack.coffee | bouzuya/hubot-telack | 1 | # Description
# A Hubot script for telack
#
# Configuration:
# HUBOT_TELACK_ROOM
# HUBOT_TELACK_TELACKBOT
# HUBOT_TELACK_GOOGLE_EMAIL
# HUBOT_TELACK_GOOGLE_KEY
# HUBOT_TELACK_GOOGLE_SHEET_KEY
#
# Commands:
# hubot [telack] get <number> <address> - get address
# hubot [telack] list - list addresses
# h... | 146812 | # Description
# A Hubot script for telack
#
# Configuration:
# HUBOT_TELACK_ROOM
# HUBOT_TELACK_TELACKBOT
# HUBOT_TELACK_GOOGLE_EMAIL
# HUBOT_TELACK_GOOGLE_KEY
# HUBOT_TELACK_GOOGLE_SHEET_KEY
#
# Commands:
# hubot [telack] get <number> <address> - get address
# hubot [telack] list - list addresses
# h... | true | # Description
# A Hubot script for telack
#
# Configuration:
# HUBOT_TELACK_ROOM
# HUBOT_TELACK_TELACKBOT
# HUBOT_TELACK_GOOGLE_EMAIL
# HUBOT_TELACK_GOOGLE_KEY
# HUBOT_TELACK_GOOGLE_SHEET_KEY
#
# Commands:
# hubot [telack] get <number> <address> - get address
# hubot [telack] list - list addresses
# h... |
[
{
"context": ": 'Ruby-Doc', rating: 10},\n {id: 2, name: 'Ruby Koans', rating: 8},\n {id: 4, name: 'Ruby Tapas',",
"end": 976,
"score": 0.8515788912773132,
"start": 966,
"tag": "NAME",
"value": "Ruby Koans"
},
{
"context": "by Koans', rating: 8},\n {id: 4, name: ... | spec/javascripts/controllers/ResourcesController_spec.coffee | kamilbielawski/knowledge_base | 0 | describe "ResourcesController", ->
scope = null
ctrl = null
location = null
routeParams = null
resource = null
httpBackend = null
resourcesResponse = null
setupController = (options = {})->
inject(($location, $routeParams, $rootScope, $resource, $httpBackend, $controller)->... | 41545 | describe "ResourcesController", ->
scope = null
ctrl = null
location = null
routeParams = null
resource = null
httpBackend = null
resourcesResponse = null
setupController = (options = {})->
inject(($location, $routeParams, $rootScope, $resource, $httpBackend, $controller)->... | true | describe "ResourcesController", ->
scope = null
ctrl = null
location = null
routeParams = null
resource = null
httpBackend = null
resourcesResponse = null
setupController = (options = {})->
inject(($location, $routeParams, $rootScope, $resource, $httpBackend, $controller)->... |
[
{
"context": "m as parameters in UTF8Loader.load() )\n#\n# @author alteredq / http://alteredqualia.com/\n# @author won3d / htt",
"end": 477,
"score": 0.9955334663391113,
"start": 469,
"tag": "USERNAME",
"value": "alteredq"
},
{
"context": "hor alteredq / http://alteredqualia.com/\n# ... | source/javascripts/new_src/loaders/utf8.coffee | andrew-aladev/three.js | 0 | # Loader for UTF8 encoded models generated by:
# http://code.google.com/p/webgl-loader/
#
# Limitations:
# - number of vertices < 65536 (this is after optimizations in compressor, input OBJ may have even less)
# - models must have normals and texture coordinates
# - texture coordinates must be only from <0,1>
# - no... | 39929 | # Loader for UTF8 encoded models generated by:
# http://code.google.com/p/webgl-loader/
#
# Limitations:
# - number of vertices < 65536 (this is after optimizations in compressor, input OBJ may have even less)
# - models must have normals and texture coordinates
# - texture coordinates must be only from <0,1>
# - no... | true | # Loader for UTF8 encoded models generated by:
# http://code.google.com/p/webgl-loader/
#
# Limitations:
# - number of vertices < 65536 (this is after optimizations in compressor, input OBJ may have even less)
# - models must have normals and texture coordinates
# - texture coordinates must be only from <0,1>
# - no... |
[
{
"context": "ponse =\n user:\n id: 777\n first_name:\"Mary\"\n last_name:\"Smith\"\n title:\"Mrs.\"\n ",
"end": 79,
"score": 0.9997881054878235,
"start": 75,
"tag": "NAME",
"value": "Mary"
},
{
"context": " id: 777\n first_name:\"Mary\"\n last_na... | test/spec/helpers/profile_helper.coffee | JulianMiller/opened.io | 1 |
authenticate = ->
response =
user:
id: 777
first_name:"Mary"
last_name:"Smith"
title:"Mrs."
full_name:"Mrs. Mary Smith"
email:"teacher@example.com"
role:"teacher"
Em.run ->
Openedui.session.authenticate '0616cc104f34c9f4012d07abfa04a153', response.user.id | 209020 |
authenticate = ->
response =
user:
id: 777
first_name:"<NAME>"
last_name:"<NAME>"
title:"Mrs."
full_name:"Mrs. <NAME>"
email:"<EMAIL>"
role:"teacher"
Em.run ->
Openedui.session.authenticate '0616cc104f34c9f4012d07abfa04a153', response.user.id | true |
authenticate = ->
response =
user:
id: 777
first_name:"PI:NAME:<NAME>END_PI"
last_name:"PI:NAME:<NAME>END_PI"
title:"Mrs."
full_name:"Mrs. PI:NAME:<NAME>END_PI"
email:"PI:EMAIL:<EMAIL>END_PI"
role:"teacher"
Em.run ->
Openedui.session.authenticate '0616cc104f34c9f... |
[
{
"context": ">\n matchKeyIndex = @matchKeys.indexOf string.toString()\n\n if matchKeyIndex > -1\n string = @",
"end": 715,
"score": 0.7270914316177368,
"start": 707,
"tag": "KEY",
"value": "toString"
}
] | components/MatchReplace.coffee | balupton/noflo-strings | 0 | noflo = require "noflo"
_ = require "underscore"
class MatchReplace extends noflo.Component
constructor: ->
@matches = {}
@matchKeys = []
@inPorts =
in: new noflo.Port()
match: new noflo.Port()
@outPorts =
out: new noflo.Port()
@inPorts.match.on "connect", =>
@matches = ... | 30130 | noflo = require "noflo"
_ = require "underscore"
class MatchReplace extends noflo.Component
constructor: ->
@matches = {}
@matchKeys = []
@inPorts =
in: new noflo.Port()
match: new noflo.Port()
@outPorts =
out: new noflo.Port()
@inPorts.match.on "connect", =>
@matches = ... | true | noflo = require "noflo"
_ = require "underscore"
class MatchReplace extends noflo.Component
constructor: ->
@matches = {}
@matchKeys = []
@inPorts =
in: new noflo.Port()
match: new noflo.Port()
@outPorts =
out: new noflo.Port()
@inPorts.match.on "connect", =>
@matches = ... |
[
{
"context": "mes = [\n # The one who makes the birds sing #\n 'JohnONolan',\n # The one who cusses like a sailor #\n 'Hanna",
"end": 62,
"score": 0.9996770620346069,
"start": 52,
"tag": "NAME",
"value": "JohnONolan"
},
{
"context": "Nolan',\n # The one who cusses like a sailor ... | lib/admins.coffee | TryGhost/Slimer-hubot | 1 | names = [
# The one who makes the birds sing #
'JohnONolan',
# The one who cusses like a sailor #
'HannahWolfe',
# The one who is also from Austria #
'sebgie',
# The one who knows all the memes #
'javorszky',
# The one who is the master of Azure #
'gotdibbs',
# The one who runs the bot #
'jgable... | 217053 | names = [
# The one who makes the birds sing #
'<NAME>',
# The one who cusses like a sailor #
'<NAME>',
# The one who is also from Austria #
'sebgie',
# The one who knows all the memes #
'javorszky',
# The one who is the master of Azure #
'gotdibbs',
# The one who runs the bot #
'jgable',
# Th... | true | names = [
# The one who makes the birds sing #
'PI:NAME:<NAME>END_PI',
# The one who cusses like a sailor #
'PI:NAME:<NAME>END_PI',
# The one who is also from Austria #
'sebgie',
# The one who knows all the memes #
'javorszky',
# The one who is the master of Azure #
'gotdibbs',
# The one who runs ... |
[
{
"context": " Auth, $location) ->\n\n $scope.user =\n email: 'admin@admin.com'\n password: 'admin'\n\n $scope.login = ->\n A",
"end": 148,
"score": 0.9999187588691711,
"start": 133,
"tag": "EMAIL",
"value": "admin@admin.com"
},
{
"context": "ser =\n email: 'admin@admin... | client/app/account/login/login.controller.coffee | scsijs/.jsbongular | 10 | 'use strict'
angular.module 'beepBoopWebsiteApp'
.controller 'LoginCtrl', ($scope, Auth, $location) ->
$scope.user =
email: 'admin@admin.com'
password: 'admin'
$scope.login = ->
Auth.login $scope.user
.then ->
$location.path '/'
window.location.reload()
.catch (err) ->
alert... | 29957 | 'use strict'
angular.module 'beepBoopWebsiteApp'
.controller 'LoginCtrl', ($scope, Auth, $location) ->
$scope.user =
email: '<EMAIL>'
password: '<PASSWORD>'
$scope.login = ->
Auth.login $scope.user
.then ->
$location.path '/'
window.location.reload()
.catch (err) ->
alert er... | true | 'use strict'
angular.module 'beepBoopWebsiteApp'
.controller 'LoginCtrl', ($scope, Auth, $location) ->
$scope.user =
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
$scope.login = ->
Auth.login $scope.user
.then ->
$location.path '/'
window.location.reload()
... |
[
{
"context": "()\n\t\tasync.series [\n\t\t\t@user.ensureUserExists.bind(@user)\n\t\t\t@user.login.bind(@user)\n\t\t\t@user.activateSudo",
"end": 213,
"score": 0.9989269971847534,
"start": 208,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "r.ensureUserExists.bind(@user)\n\t\t\t... | test/acceptance/coffee/SettingsTests.coffee | davidmehren/web-sharelatex | 0 | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
describe 'SettingsPage', ->
before (done) ->
@user = new User()
async.series [
@user.ensureUserExists.bind(@user)
@user.login.bind(@user)
@user.activateSudoMode.bind(@user)
], done
it 'load settigns page', (do... | 42152 | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
describe 'SettingsPage', ->
before (done) ->
@user = new User()
async.series [
@user.ensureUserExists.bind(@user)
@user.login.bind(@user)
@user.activateSudoMode.bind(@user)
], done
it 'load settigns page', (do... | true | should = require('chai').should()
async = require("async")
User = require "./helpers/User"
describe 'SettingsPage', ->
before (done) ->
@user = new User()
async.series [
@user.ensureUserExists.bind(@user)
@user.login.bind(@user)
@user.activateSudoMode.bind(@user)
], done
it 'load settigns page', (do... |
[
{
"context": "ith the fn['user'] object\n age: 30\n firstname: 'Dave'\n lastname: 'Woodward'\n\naUserModel = User(exampl",
"end": 316,
"score": 0.9996188879013062,
"start": 312,
"tag": "NAME",
"value": "Dave"
},
{
"context": "object\n age: 30\n firstname: 'Dave'\n lastname: 'Wo... | examples/user-usage.coffee | futuremint/fence.js | 1 | User = require('./user')( require('../lib/fence') )
# An object to represent a user model. You probably got this from CouchDB, or MongoDB, or some other database that gives you JSON objects
example =
type: 'user' # This triggers the model to extend itself with the fn['user'] object
age: 30
firstname: 'Dave'
... | 76275 | User = require('./user')( require('../lib/fence') )
# An object to represent a user model. You probably got this from CouchDB, or MongoDB, or some other database that gives you JSON objects
example =
type: 'user' # This triggers the model to extend itself with the fn['user'] object
age: 30
firstname: '<NAME>'
... | true | User = require('./user')( require('../lib/fence') )
# An object to represent a user model. You probably got this from CouchDB, or MongoDB, or some other database that gives you JSON objects
example =
type: 'user' # This triggers the model to extend itself with the fn['user'] object
age: 30
firstname: 'PI:NAME:... |
[
{
"context": " {a: (num) -> num is 10 }.a 10\n\nmoe = {\n name: 'Moe'\n greet: (salutation) ->\n salutation + \" \" + ",
"end": 336,
"score": 0.9992858171463013,
"start": 333,
"tag": "NAME",
"value": "Moe"
},
{
"context": " \"Hello\"\n 10: 'number'\n}\nok moe.hello() is \"Hell... | test/objects.coffee | chip/coffee-script | 1 | # Object Literals
# ---------------
# TODO: refactor object literal tests
# TODO: add indexing and method invocation tests: {a}['a'] is a, {a}.a()
trailingComma = {k1: "v1", k2: 4, k3: (-> true),}
ok trailingComma.k3() and (trailingComma.k2 is 4) and (trailingComma.k1 is "v1")
ok {a: (num) -> num is 10 }.a 10
moe =... | 71341 | # Object Literals
# ---------------
# TODO: refactor object literal tests
# TODO: add indexing and method invocation tests: {a}['a'] is a, {a}.a()
trailingComma = {k1: "v1", k2: 4, k3: (-> true),}
ok trailingComma.k3() and (trailingComma.k2 is 4) and (trailingComma.k1 is "v1")
ok {a: (num) -> num is 10 }.a 10
moe =... | true | # Object Literals
# ---------------
# TODO: refactor object literal tests
# TODO: add indexing and method invocation tests: {a}['a'] is a, {a}.a()
trailingComma = {k1: "v1", k2: 4, k3: (-> true),}
ok trailingComma.k3() and (trailingComma.k2 is 4) and (trailingComma.k1 is "v1")
ok {a: (num) -> num is 10 }.a 10
moe =... |
[
{
"context": "lt[0], \"Hello \"\n equal $( result[1] ).html(), \"Ann\"\n $c.foo \"world\"\n equal $c.html(), \"world\"\n",
"end": 279,
"score": 0.9981024861335754,
"start": 276,
"tag": "NAME",
"value": "Ann"
},
{
"context": "$c.find( \".name\" )[0]\n equal $element.html()... | test/properties.coffee | fengshow12345/quickui | 1 | ###
Control property declaration unit tests
###
$ ->
test "Properties: chain: root content", ->
createGreetClass()
Greet::foo = Control.chain "content"
$c = Greet.create()
result = $c.foo()
equal result[0], "Hello "
equal $( result[1] ).html(), "Ann"
$c.foo "world"
equal $c.html(),... | 70058 | ###
Control property declaration unit tests
###
$ ->
test "Properties: chain: root content", ->
createGreetClass()
Greet::foo = Control.chain "content"
$c = Greet.create()
result = $c.foo()
equal result[0], "Hello "
equal $( result[1] ).html(), "<NAME>"
$c.foo "world"
equal $c.html... | true | ###
Control property declaration unit tests
###
$ ->
test "Properties: chain: root content", ->
createGreetClass()
Greet::foo = Control.chain "content"
$c = Greet.create()
result = $c.foo()
equal result[0], "Hello "
equal $( result[1] ).html(), "PI:NAME:<NAME>END_PI"
$c.foo "world"
... |
[
{
"context": "=========\n#\n# Danbo: Scene Composition\n#\n# @author Matthew Wagerfield @mwagerfield\n#\n#=================================",
"end": 125,
"score": 0.9998229146003723,
"start": 107,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": ": Scene Composition\n#\n#... | assets/scripts/coffee/project/scene/Scene.coffee | wagerfield/danbo | 1 | ###
#============================================================
#
# Danbo: Scene Composition
#
# @author Matthew Wagerfield @mwagerfield
#
#============================================================
###
class SCENE.Scene extends Class
###
#========================================
# Class Variables
#======... | 148306 | ###
#============================================================
#
# Danbo: Scene Composition
#
# @author <NAME> @mwagerfield
#
#============================================================
###
class SCENE.Scene extends Class
###
#========================================
# Class Variables
#==================... | true | ###
#============================================================
#
# Danbo: Scene Composition
#
# @author PI:NAME:<NAME>END_PI @mwagerfield
#
#============================================================
###
class SCENE.Scene extends Class
###
#========================================
# Class Variables
#====... |
[
{
"context": "\"can sort by values, for example\", ->\n\n obj = { Bob: 50, Sharon: 100, Steve: 25 }\n result = sortOb",
"end": 359,
"score": 0.9808891415596008,
"start": 356,
"tag": "NAME",
"value": "Bob"
},
{
"context": " by values, for example\", ->\n\n obj = { Bob: 50, Sh... | spec/sortObject.coffee | aleclarson/sortObject | 1 |
sortObject = require "sortObject"
describe "sortObject()", ->
it "sorts an object based on the comparison function", ->
obj = { c: 1, b: 2, a: 3 }
result = sortObject obj, (a, b) ->
if a.key > b.key then 1 else -1
expect Object.keys(result)
.toEqual [ "a", "b", "c" ]
it "can sort by va... | 56692 |
sortObject = require "sortObject"
describe "sortObject()", ->
it "sorts an object based on the comparison function", ->
obj = { c: 1, b: 2, a: 3 }
result = sortObject obj, (a, b) ->
if a.key > b.key then 1 else -1
expect Object.keys(result)
.toEqual [ "a", "b", "c" ]
it "can sort by va... | true |
sortObject = require "sortObject"
describe "sortObject()", ->
it "sorts an object based on the comparison function", ->
obj = { c: 1, b: 2, a: 3 }
result = sortObject obj, (a, b) ->
if a.key > b.key then 1 else -1
expect Object.keys(result)
.toEqual [ "a", "b", "c" ]
it "can sort by va... |
[
{
"context": "d: \"Scotty's grocery 2\"\n reporter_id: 'Jill'\n , (error, report) ->\n assert.",
"end": 593,
"score": 0.9684202671051025,
"start": 589,
"tag": "NAME",
"value": "Jill"
},
{
"context": " 2\"\n assert.equal report.reporter_id, 'Jil... | test/cmd.test.coffee | yentsun/price_report | 0 | assert = require 'chai'
.assert
moment = require 'moment'
log_mode = process.env.TEST_LOG_MODE or 'quiet'
options =
test: true
seneca = require('seneca')(
log: log_mode
)
.use '../plugin', options
report = seneca.pin
role: 'price_report'
cmd: '*'
describe 'register', () ->
it 'registers a... | 198712 | assert = require 'chai'
.assert
moment = require 'moment'
log_mode = process.env.TEST_LOG_MODE or 'quiet'
options =
test: true
seneca = require('seneca')(
log: log_mode
)
.use '../plugin', options
report = seneca.pin
role: 'price_report'
cmd: '*'
describe 'register', () ->
it 'registers a... | true | assert = require 'chai'
.assert
moment = require 'moment'
log_mode = process.env.TEST_LOG_MODE or 'quiet'
options =
test: true
seneca = require('seneca')(
log: log_mode
)
.use '../plugin', options
report = seneca.pin
role: 'price_report'
cmd: '*'
describe 'register', () ->
it 'registers a... |
[
{
"context": "ons = \n container: '#blog-comments'\n site_key: '3uxgji3zhp1x1rwnfuyvx7t2d0zwlh1'\n topic_key: location.pathname.match(/(\\/[^\\/]*)",
"end": 119,
"score": 0.9997292160987854,
"start": 88,
"tag": "KEY",
"value": "3uxgji3zhp1x1rwnfuyvx7t2d0zwlh1"
}
] | source/javascripts/lib/juvia.coffee | mlichvar/community-website | 0 | # Our default Juvia options
juvia_options =
container: '#blog-comments'
site_key: '3uxgji3zhp1x1rwnfuyvx7t2d0zwlh1'
topic_key: location.pathname.match(/(\/[^\/]*)\/?$/)[1]
topic_url: location.href
topic_title: document.title or location.href
include_base: !window.Juvia
include_css: false
comment_order:... | 30012 | # Our default Juvia options
juvia_options =
container: '#blog-comments'
site_key: '<KEY>'
topic_key: location.pathname.match(/(\/[^\/]*)\/?$/)[1]
topic_url: location.href
topic_title: document.title or location.href
include_base: !window.Juvia
include_css: false
comment_order: 'earliest-first'
# Gener... | true | # Our default Juvia options
juvia_options =
container: '#blog-comments'
site_key: 'PI:KEY:<KEY>END_PI'
topic_key: location.pathname.match(/(\/[^\/]*)\/?$/)[1]
topic_url: location.href
topic_title: document.title or location.href
include_base: !window.Juvia
include_css: false
comment_order: 'earliest-fi... |
[
{
"context": "load.context.match(/travis-ci/)\n\n travis_name = \"Travis CI\"\n travis_icon = \"https://a.slack-edge.com",
"end": 1245,
"score": 0.5455817580223083,
"start": 1243,
"tag": "NAME",
"value": "Tr"
},
{
"context": " color: color\n author_name: trav... | lib/github-status.coffee | inovadeveloper/zfbot | 11 | # Handle the GitHub "status" event
#
# Only handles Travis-CI status at this time. If a pull request context is
# detected, uses the sha1 passed in the event to search for the related pull
# request via the GitHub API in order to display details about the origin of the
# CI build. For normal pushes, simply indicates th... | 58763 | # Handle the GitHub "status" event
#
# Only handles Travis-CI status at this time. If a pull request context is
# detected, uses the sha1 passed in the event to search for the related pull
# request via the GitHub API in order to display details about the origin of the
# CI build. For normal pushes, simply indicates th... | true | # Handle the GitHub "status" event
#
# Only handles Travis-CI status at this time. If a pull request context is
# detected, uses the sha1 passed in the event to search for the related pull
# request via the GitHub API in order to display details about the origin of the
# CI build. For normal pushes, simply indicates th... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998632073402405,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
},
{
"context": " size\n resolve:\n username: $scope... | src/app/components/navbar/nav.controller.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 34714 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "'namespaceId': 4\n# }\n# {\n# 'keyString': 'WITHDRAWS'\n# 'isPlural': false\n# 'projectId': 1\n# ",
"end": 4850,
"score": 0.55450838804245,
"start": 4848,
"tag": "KEY",
"value": "DR"
}
] | server/db/seeds/development/000010-translation-key.coffee | Contactis/translation-manager | 0 | moment = require 'moment'
translationsKeys = [
{
'keyString': 'LOGIN'
'isPlural': false
'projectId': 1
'namespaceId': 3
}
{
'keyString': 'LOG_IN'
'isPlural': false
'projectId': 1
'namespaceId': 5
}
{
'keyString': 'LOG_OUT'
'isPlural': false
'projectId': 1
'name... | 69950 | moment = require 'moment'
translationsKeys = [
{
'keyString': 'LOGIN'
'isPlural': false
'projectId': 1
'namespaceId': 3
}
{
'keyString': 'LOG_IN'
'isPlural': false
'projectId': 1
'namespaceId': 5
}
{
'keyString': 'LOG_OUT'
'isPlural': false
'projectId': 1
'name... | true | moment = require 'moment'
translationsKeys = [
{
'keyString': 'LOGIN'
'isPlural': false
'projectId': 1
'namespaceId': 3
}
{
'keyString': 'LOG_IN'
'isPlural': false
'projectId': 1
'namespaceId': 5
}
{
'keyString': 'LOG_OUT'
'isPlural': false
'projectId': 1
'name... |
[
{
"context": "angular: [\n { key: \"data.timed\" }\n]\n",
"end": 31,
"score": 0.9340160489082336,
"start": 21,
"tag": "KEY",
"value": "data.timed"
}
] | jobs/unlock/form.cson | octoblu/meshblu-connector-myo | 0 | angular: [
{ key: "data.timed" }
]
| 66611 | angular: [
{ key: "<KEY>" }
]
| true | angular: [
{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": "e /\\\\\\((.+?)\\\\\\)/g, (match, expr) ->\n token = \"xMATHJAXx#{tokenCounter++}\"\n tokens[token] = expr\n toke",
"end": 1657,
"score": 0.7921521663665771,
"start": 1646,
"tag": "KEY",
"value": "xMATHJAXx#{"
}
] | fiction.coffee | mikiec84/fiction | 1 | marked = require 'marked'
htmlparser = require 'htmlparser2'
marked.setOptions smartypants: yes
class OutlineNode
constructor: (@title, @content='', @children=[]) ->
parseOutline = (html) ->
_level = 0
_inHeading = no
_title = ''
_node = null
_content = ''
outline = [ new OutlineNode '' ]
parser = n... | 8186 | marked = require 'marked'
htmlparser = require 'htmlparser2'
marked.setOptions smartypants: yes
class OutlineNode
constructor: (@title, @content='', @children=[]) ->
parseOutline = (html) ->
_level = 0
_inHeading = no
_title = ''
_node = null
_content = ''
outline = [ new OutlineNode '' ]
parser = n... | true | marked = require 'marked'
htmlparser = require 'htmlparser2'
marked.setOptions smartypants: yes
class OutlineNode
constructor: (@title, @content='', @children=[]) ->
parseOutline = (html) ->
_level = 0
_inHeading = no
_title = ''
_node = null
_content = ''
outline = [ new OutlineNode '' ]
parser = n... |
[
{
"context": " starts: 250\n token: \"testLeftParenthesisB\"\n output: [\n starts: 25",
"end": 3647,
"score": 0.9250127077102661,
"start": 3627,
"tag": "KEY",
"value": "testLeftParenthesisB"
},
{
"context": " starts: ... | src/coffee/editor/compiler/generateSyntaxHighlighting/forToken.spec.coffee | jameswilddev/influx7 | 1 | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", -> describe "forToken", ->
rewire = require "rewire"
describe "imports", ->
editorCompilerGenerateSyntaxHighlightingForToken = rewire "./forToken"
it "itself", -> (expect editorCompilerGenerateSyntaxHighlighting... | 35749 | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", -> describe "forToken", ->
rewire = require "rewire"
describe "imports", ->
editorCompilerGenerateSyntaxHighlightingForToken = rewire "./forToken"
it "itself", -> (expect editorCompilerGenerateSyntaxHighlighting... | true | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", -> describe "forToken", ->
rewire = require "rewire"
describe "imports", ->
editorCompilerGenerateSyntaxHighlightingForToken = rewire "./forToken"
it "itself", -> (expect editorCompilerGenerateSyntaxHighlighting... |
[
{
"context": "ew AWS.S3 { params:\n Key : \"console.log-#{test.module}-#{test.name}-#{Date.now()}.log\"\n ",
"end": 1426,
"score": 0.9758709073066711,
"start": 1412,
"tag": "KEY",
"value": "console.log-#{"
},
{
"context": ":\n Key : \"c... | client/test/lib/utils/fail.coffee | lionheart1022/koding | 0 | fs = require 'fs'
NW = require '../../../../node_modules/nightwatch/lib/api/element-commands/_waitForElement.js'
AWS = require 'aws-sdk'
config = require 'koding-config-manager'
NW_ORG_FAIL = NW::fail
NW::fail = (result, actual, expected, defaultMsg) ->
api = @client.api
test = api.currentTest
... | 144410 | fs = require 'fs'
NW = require '../../../../node_modules/nightwatch/lib/api/element-commands/_waitForElement.js'
AWS = require 'aws-sdk'
config = require 'koding-config-manager'
NW_ORG_FAIL = NW::fail
NW::fail = (result, actual, expected, defaultMsg) ->
api = @client.api
test = api.currentTest
... | true | fs = require 'fs'
NW = require '../../../../node_modules/nightwatch/lib/api/element-commands/_waitForElement.js'
AWS = require 'aws-sdk'
config = require 'koding-config-manager'
NW_ORG_FAIL = NW::fail
NW::fail = (result, actual, expected, defaultMsg) ->
api = @client.api
test = api.currentTest
... |
[
{
"context": " *\n###\nmodule.exports.session = secret: \"66f0a2e652a27926372651af2b47802d\"\n\n###*\nSet the session cookie expire time The max",
"end": 895,
"score": 0.9978616833686829,
"start": 863,
"tag": "KEY",
"value": "66f0a2e652a27926372651af2b47802d"
},
{
"context":... | config/session.coffee | Negaihoshi/sails-starter-toolkit | 2 | ###*
Session Configuration
(sails.config.session)
Sails session integration leans heavily on the great work already done by
Express, but also unifies Socket.io with the Connect session store. It uses
Connect's cookie parser to normalize configuration differences between Express
and Socket.io and hooks into Sails' midd... | 219102 | ###*
Session Configuration
(sails.config.session)
Sails session integration leans heavily on the great work already done by
Express, but also unifies Socket.io with the Connect session store. It uses
Connect's cookie parser to normalize configuration differences between Express
and Socket.io and hooks into Sails' midd... | true | ###*
Session Configuration
(sails.config.session)
Sails session integration leans heavily on the great work already done by
Express, but also unifies Socket.io with the Connect session store. It uses
Connect's cookie parser to normalize configuration differences between Express
and Socket.io and hooks into Sails' midd... |
[
{
"context": "zeto '\n 'Ko '\n 'Ce '\n 'Če '\n 'Kadar '\n 'Nato '\n 'Potem '\n 'Takrat ",
"end": 507,
"score": 0.6819176077842712,
"start": 506,
"tag": "NAME",
"value": "K"
},
{
"context": "o '\n 'Ko '\n 'Ce '\n 'Če '\n 'Kadar '\... | settings/language-gherkin_sl.cson | mackoj/language-gherkin-i18n | 17 | '.text.gherkin.feature.sl':
'editor':
'completions': [
'Funkcionalnost:'
'Funkcija:'
'Možnosti:'
'Moznosti:'
'Lastnost:'
'Značilnost:'
'Kontekst:'
'Osnova:'
'Ozadje:'
'Primer:'
'Scenarij:'
'Struktura scenarija:'
'Skica:'
'Koncept:... | 83376 | '.text.gherkin.feature.sl':
'editor':
'completions': [
'Funkcionalnost:'
'Funkcija:'
'Možnosti:'
'Moznosti:'
'Lastnost:'
'Značilnost:'
'Kontekst:'
'Osnova:'
'Ozadje:'
'Primer:'
'Scenarij:'
'Struktura scenarija:'
'Skica:'
'Koncept:... | true | '.text.gherkin.feature.sl':
'editor':
'completions': [
'Funkcionalnost:'
'Funkcija:'
'Možnosti:'
'Moznosti:'
'Lastnost:'
'Značilnost:'
'Kontekst:'
'Osnova:'
'Ozadje:'
'Primer:'
'Scenarij:'
'Struktura scenarija:'
'Skica:'
'Koncept:... |
[
{
"context": "ober\", \"November\", \"December\"]\n shortMonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\"",
"end": 1827,
"score": 0.5138871669769287,
"start": 1824,
"tag": "NAME",
"value": "Jan"
}
] | src/core/locale/languages/en_US.coffee | romind/d3plus_sandbox | 0 | module.exports =
dev:
accepted: "{0} is not an accepted value for {1}, please use one of the following: {2}."
deprecated: "the {0} method has been removed, please update your code to use {1}."
noChange: "{0} was not updated because it did not change."
noContainer: "cannot find a container o... | 33234 | module.exports =
dev:
accepted: "{0} is not an accepted value for {1}, please use one of the following: {2}."
deprecated: "the {0} method has been removed, please update your code to use {1}."
noChange: "{0} was not updated because it did not change."
noContainer: "cannot find a container o... | true | module.exports =
dev:
accepted: "{0} is not an accepted value for {1}, please use one of the following: {2}."
deprecated: "the {0} method has been removed, please update your code to use {1}."
noChange: "{0} was not updated because it did not change."
noContainer: "cannot find a container o... |
[
{
"context": "\n game.add.text 4, scrH-60, 'design and code by Karl Naylor',\n {font: \"16px Arial\", fill: \"#",
"end": 5109,
"score": 0.9997697472572327,
"start": 5098,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": "#ffffff\"}\n\n game.add.text 4, scr... | main.coffee | karlorg/xxshapeshooterxx | 0 | "use strict"
{Phaser} = window
arenaBounds = { left: 8, right: 592, top: 8, bottom: 592 }
arenaWidth = arenaBounds.right - arenaBounds.left
arenaHeight = arenaBounds.bottom - arenaBounds.top
bulletSpeed = 600 / 60
chaserColor = 0xf22727
chaserDiameter = 40
chaserInertia = 0.8
chaserSpeed = 320 / 60
chargerColor = 0xe... | 190021 | "use strict"
{Phaser} = window
arenaBounds = { left: 8, right: 592, top: 8, bottom: 592 }
arenaWidth = arenaBounds.right - arenaBounds.left
arenaHeight = arenaBounds.bottom - arenaBounds.top
bulletSpeed = 600 / 60
chaserColor = 0xf22727
chaserDiameter = 40
chaserInertia = 0.8
chaserSpeed = 320 / 60
chargerColor = 0xe... | true | "use strict"
{Phaser} = window
arenaBounds = { left: 8, right: 592, top: 8, bottom: 592 }
arenaWidth = arenaBounds.right - arenaBounds.left
arenaHeight = arenaBounds.bottom - arenaBounds.top
bulletSpeed = 600 / 60
chaserColor = 0xf22727
chaserDiameter = 40
chaserInertia = 0.8
chaserSpeed = 320 / 60
chargerColor = 0xe... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9968308210372925,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/createPlanTemplateDialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog for creating a new plan template from the provided plan section(s)
Imm = require 'immutable'
Term = require '... | 208175 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog for creating a new plan template from the provided plan section(s)
Imm = require 'immutable'
Term = require '... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog for creating a new plan template from the provided plan section(s)
Imm = require 'immutable'
Te... |
[
{
"context": "ut within a single javascript runtime.\n#\n# Author: Jeeyoung Kim\n\n# Processing Pipeline\n# ===================\n# `P",
"end": 171,
"score": 0.999688446521759,
"start": 159,
"tag": "NAME",
"value": "Jeeyoung Kim"
},
{
"context": " }\n producerConfig = new PipeConfig ... | coffee/pipeline.coffee | jeeyoungk/exercise | 5 | # Pipeline framework
#
# Allows developres to create a pipeline of computation.
# Similar to Apache Storm, but within a single javascript runtime.
#
# Author: Jeeyoung Kim
# Processing Pipeline
# ===================
# `Pipe` is the basic unit of computation.
# Few things about pipes:
#
# * Pipes are stateless.
# * Pip... | 25811 | # Pipeline framework
#
# Allows developres to create a pipeline of computation.
# Similar to Apache Storm, but within a single javascript runtime.
#
# Author: <NAME>
# Processing Pipeline
# ===================
# `Pipe` is the basic unit of computation.
# Few things about pipes:
#
# * Pipes are stateless.
# * Pipe has ... | true | # Pipeline framework
#
# Allows developres to create a pipeline of computation.
# Similar to Apache Storm, but within a single javascript runtime.
#
# Author: PI:NAME:<NAME>END_PI
# Processing Pipeline
# ===================
# `Pipe` is the basic unit of computation.
# Few things about pipes:
#
# * Pipes are stateless.... |
[
{
"context": "a validation\n # @note jjv see https://github.com/acornejo/jjv\n # @return [Boolean] returns true or false i",
"end": 3305,
"score": 0.9997001886367798,
"start": 3297,
"tag": "USERNAME",
"value": "acornejo"
},
{
"context": " of a person\n # new Collection(\"person\"... | src/collection.coffee | valtido/ason-js | 0 |
# Base class for collections, Collection's behaviour is
# controlled by JOM and only keeps record of itself
class Collection
# @property [String] Name of the collection from name attr
@name : ""
# @property [Array] An array of document for the collection
@document : []
# @property [Object] a JSON Schema obj... | 161357 |
# Base class for collections, Collection's behaviour is
# controlled by JOM and only keeps record of itself
class Collection
# @property [String] Name of the collection from name attr
@name : ""
# @property [Array] An array of document for the collection
@document : []
# @property [Object] a JSON Schema obj... | true |
# Base class for collections, Collection's behaviour is
# controlled by JOM and only keeps record of itself
class Collection
# @property [String] Name of the collection from name attr
@name : ""
# @property [Array] An array of document for the collection
@document : []
# @property [Object] a JSON Schema obj... |
[
{
"context": "\"range\"\n\nnewSearch = -> new TestSearch()\nvalue = \"mail@example.com\"\n\ndescribe \"AdvancedSearch\", ->\n describe \"equal",
"end": 492,
"score": 0.9999113082885742,
"start": 476,
"tag": "EMAIL",
"value": "mail@example.com"
}
] | spec/unit/braintree/advanced_search_spec.coffee | StreamCo/braintree_node | 0 | require("../../spec_helper")
{AdvancedSearch} = require('../../../lib/braintree/advanced_search')
class TestSearch extends AdvancedSearch
@equalityFields "equality"
@partialMatchFields "partialMatch"
@textFields "text"
@keyValueFields "key"
@multipleValueField "multiple"
@multipleValueField "multipleWithAl... | 28788 | require("../../spec_helper")
{AdvancedSearch} = require('../../../lib/braintree/advanced_search')
class TestSearch extends AdvancedSearch
@equalityFields "equality"
@partialMatchFields "partialMatch"
@textFields "text"
@keyValueFields "key"
@multipleValueField "multiple"
@multipleValueField "multipleWithAl... | true | require("../../spec_helper")
{AdvancedSearch} = require('../../../lib/braintree/advanced_search')
class TestSearch extends AdvancedSearch
@equalityFields "equality"
@partialMatchFields "partialMatch"
@textFields "text"
@keyValueFields "key"
@multipleValueField "multiple"
@multipleValueField "multipleWithAl... |
[
{
"context": "addBundle 'test-bundle', [\n {\n name: 'test1'\n action: 'added'\n }\n {\n ",
"end": 202,
"score": 0.9857664704322815,
"start": 197,
"tag": "NAME",
"value": "test1"
},
{
"context": " action: 'added'\n }\n {\n name: ... | spec/bundles-spec.coffee | deprint/package-switch | 20 | { Bundles } = require '../lib/bundles'
describe 'Bundles', ->
[bundles, bundle] = []
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'test-bundle', [
{
name: 'test1'
action: 'added'
}
{
name: 'test2'
action: 'removed'
}
]
expect(bun... | 214998 | { Bundles } = require '../lib/bundles'
describe 'Bundles', ->
[bundles, bundle] = []
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'test-bundle', [
{
name: '<NAME>'
action: 'added'
}
{
name: '<NAME>'
action: 'removed'
}
]
expect(b... | true | { Bundles } = require '../lib/bundles'
describe 'Bundles', ->
[bundles, bundle] = []
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'test-bundle', [
{
name: 'PI:NAME:<NAME>END_PI'
action: 'added'
}
{
name: 'PI:NAME:<NAME>END_PI'
action: 'removed... |
[
{
"context": "names.\n#\n# Dotted notation: Key row (0) containing firstName, lastName, address.street, \n# address.city, addre",
"end": 367,
"score": 0.9944579601287842,
"start": 358,
"tag": "NAME",
"value": "firstName"
},
{
"context": "Dotted notation: Key row (0) containing firstN... | src/excel-as-json.coffee | mrbatista/excel-as-json | 1 | # Create a list of json objects; 1 object per excel sheet row
#
# Assume: Excel spreadsheet is a rectangle of data, where the first row is
# object keys and remaining rows are object values and the desired json
# is a list of objects. Alternatively, data may be column oriented with
# col 0 containing key names.
#
# Do... | 36963 | # Create a list of json objects; 1 object per excel sheet row
#
# Assume: Excel spreadsheet is a rectangle of data, where the first row is
# object keys and remaining rows are object values and the desired json
# is a list of objects. Alternatively, data may be column oriented with
# col 0 containing key names.
#
# Do... | true | # Create a list of json objects; 1 object per excel sheet row
#
# Assume: Excel spreadsheet is a rectangle of data, where the first row is
# object keys and remaining rows are object values and the desired json
# is a list of objects. Alternatively, data may be column oriented with
# col 0 containing key names.
#
# Do... |
[
{
"context": "aels\n bn = nbs(c)\n await run_mr bn, false, \"Carmichael\", T, defer()\n cb()\n",
"end": 789,
"score": 0.9718813300132751,
"start": 779,
"tag": "NAME",
"value": "Carmichael"
}
] | test/files/miller_rabin.iced | samkenxstream/kbpgp | 464 |
{miller_rabin} = require '../../lib/primegen'
numbers = require '../data/numbers.iced'
{nbs} = require '../../lib/bn'
run_mr = (p, desired, what, T, cb) ->
await miller_rabin { p, iter : 32 }, defer err, is_prime
s = p.toString()
T.assert not(err?), "#{what} #{s} had an error: #{if err? then err.toString() else... | 167175 |
{miller_rabin} = require '../../lib/primegen'
numbers = require '../data/numbers.iced'
{nbs} = require '../../lib/bn'
run_mr = (p, desired, what, T, cb) ->
await miller_rabin { p, iter : 32 }, defer err, is_prime
s = p.toString()
T.assert not(err?), "#{what} #{s} had an error: #{if err? then err.toString() else... | true |
{miller_rabin} = require '../../lib/primegen'
numbers = require '../data/numbers.iced'
{nbs} = require '../../lib/bn'
run_mr = (p, desired, what, T, cb) ->
await miller_rabin { p, iter : 32 }, defer err, is_prime
s = p.toString()
T.assert not(err?), "#{what} #{s} had an error: #{if err? then err.toString() else... |
[
{
"context": " artwork:\n artist:\n name: 'Fela Kuti'\n href: '/fela-kuti'\n artwo",
"end": 1026,
"score": 0.9997490644454956,
"start": 1017,
"tag": "NAME",
"value": "Fela Kuti"
},
{
"context": " artwork:\n artist:\n ... | src/mobile/apps/artwork/components/related_artworks/test/index.coffee | streamich/force | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Artworks = require '../../../../../collections/artworks'
Q = require 'bluebird-q'
describe 'Related Artworks', ->
describ... | 143720 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Artworks = require '../../../../../collections/artworks'
Q = require 'bluebird-q'
describe 'Related Artworks', ->
describ... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Artworks = require '../../../../../collections/artworks'
Q = require 'bluebird-q'
describe 'Related Artworks', ->
describ... |
[
{
"context": "crombie\n constructor: ->\n @id = \"abercrombie\"\n @version = \"0.0.1\"\n @size ",
"end": 71,
"score": 0.9963371753692627,
"start": 60,
"tag": "USERNAME",
"value": "abercrombie"
},
{
"context": "sion} loaded.\"\n\n # Create the ... | src/abercrombie.coffee | drobbins/abercrombie | 0 | class Abercrombie
constructor: ->
@id = "abercrombie"
@version = "0.0.1"
@size = 100 # Default px size of grid
@probeSize = 6 # Default px size of probes
@Abercrombie = Abercrombie # Abercrombie-ception
refresh: ->
@cvTop ... | 181145 | class Abercrombie
constructor: ->
@id = "abercrombie"
@version = "0.0.1"
@size = 100 # Default px size of grid
@probeSize = 6 # Default px size of probes
@Abercrombie = Abercrombie # Abercrombie-ception
refresh: ->
@cvTop ... | true | class Abercrombie
constructor: ->
@id = "abercrombie"
@version = "0.0.1"
@size = 100 # Default px size of grid
@probeSize = 6 # Default px size of probes
@Abercrombie = Abercrombie # Abercrombie-ception
refresh: ->
@cvTop ... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999216794967651,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/controllers/home_ctrl.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 187074 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "artists = artists\n @artwork.partner = { id: 'catty-partner' }\n @html = render('index')(\n artwork",
"end": 705,
"score": 0.9867372512817383,
"start": 692,
"tag": "USERNAME",
"value": "catty-partner"
},
{
"context": "}]\").first().text()\n text.sh... | src/mobile/apps/artwork/components/artist/test/template.coffee | kanaabe/force | 1 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
artists = require './fixture.coffee'
Helpers = require '../../../helpers.coffee'
render = (templateName) ->
filename = path.resolve __... | 64049 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
artists = require './fixture.coffee'
Helpers = require '../../../helpers.coffee'
render = (templateName) ->
filename = path.resolve __... | true | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
artists = require './fixture.coffee'
Helpers = require '../../../helpers.coffee'
render = (templateName) ->
filename = path.resolve __... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998458027839661,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/applied/teacup.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 141854 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "ut}/#{tagKey}\"\n metadata:\n tagKey: tagKey\n tagName: tagNames[tagKey]\n ",
"end": 938,
"score": 0.580694854259491,
"start": 935,
"tag": "KEY",
"value": "tag"
}
] | .metalsmith/plugins/paginatetags.coffee | priyadarshan/kdlearn | 40 | #
# # Paginate Tags
#
# Rather than creating paginates manually on the tags, this plugin
# automatically paginates all tags found.
#
paginate = require './paginate'
module.exports = (opts={}) ->
opts.perPage ?= 10
opts.collectionSource ?= 'tags'
(files, metalsmith, done) ->
metadata = metalsmith.... | 10414 | #
# # Paginate Tags
#
# Rather than creating paginates manually on the tags, this plugin
# automatically paginates all tags found.
#
paginate = require './paginate'
module.exports = (opts={}) ->
opts.perPage ?= 10
opts.collectionSource ?= 'tags'
(files, metalsmith, done) ->
metadata = metalsmith.... | true | #
# # Paginate Tags
#
# Rather than creating paginates manually on the tags, this plugin
# automatically paginates all tags found.
#
paginate = require './paginate'
module.exports = (opts={}) ->
opts.perPage ?= 10
opts.collectionSource ?= 'tags'
(files, metalsmith, done) ->
metadata = metalsmith.... |
[
{
"context": "e.log ' firstName: ' + $scope.signup.firstName + ' lastName: ' + $scope.signup.lastName\n $scope.signup =",
"end": 212,
"score": 0.7986474633216858,
"start": 204,
"tag": "NAME",
"value": "lastName"
}
] | app/assets/javascripts/auth/auth.coffee | hectorgool/gosantix | 0 | angular.module('myApp.auth', []).controller 'SignUpController', [
'$scope'
($scope) ->
$scope.signup = {}
$scope.addSignUp = ->
console.log ' firstName: ' + $scope.signup.firstName + ' lastName: ' + $scope.signup.lastName
$scope.signup = {}
return
return
] | 55393 | angular.module('myApp.auth', []).controller 'SignUpController', [
'$scope'
($scope) ->
$scope.signup = {}
$scope.addSignUp = ->
console.log ' firstName: ' + $scope.signup.firstName + ' <NAME>: ' + $scope.signup.lastName
$scope.signup = {}
return
return
] | true | angular.module('myApp.auth', []).controller 'SignUpController', [
'$scope'
($scope) ->
$scope.signup = {}
$scope.addSignUp = ->
console.log ' firstName: ' + $scope.signup.firstName + ' PI:NAME:<NAME>END_PI: ' + $scope.signup.lastName
$scope.signup = {}
return
return
] |
[
{
"context": " name = \"NONAME\"\n key = [\n 'led'\n name\n ].join('_')\n if",
"end": 1923,
"score": 0.6585332751274109,
"start": 1922,
"tag": "KEY",
"value": "'"
},
{
"context": " name = \"NONAME\"\n key = [\n 'led... | src/choreographer/app/assets/javascripts/eld/artwork.js.coffee | Hybrid-Ecologies/a-conversation-with-actuators | 0 | class window.Artwork
@ACTUATORS: ()->
CanvasUtil.query paper.project,
saveable: true
prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]
@ACTUATORS_IN: (device)-> CanvasUtil.query device, {prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]}
@getElem... | 48777 | class window.Artwork
@ACTUATORS: ()->
CanvasUtil.query paper.project,
saveable: true
prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]
@ACTUATORS_IN: (device)-> CanvasUtil.query device, {prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]}
@getElem... | true | class window.Artwork
@ACTUATORS: ()->
CanvasUtil.query paper.project,
saveable: true
prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]
@ACTUATORS_IN: (device)-> CanvasUtil.query device, {prefix: ["NLED", "HEATER", "PUMP", "STEPPER", "SERVO", "MOTOR"]}
@getElem... |
[
{
"context": "em'\n optionsDevelopment =\n passphrase: '1234'\n certData: apnsDevCert\n keyData: a",
"end": 319,
"score": 0.9992504715919495,
"start": 315,
"tag": "PASSWORD",
"value": "1234"
},
{
"context": "pem'\n optionsProduction =\n passphrase: '... | PushServer/server/lib/pushserver_init.coffee | Ritesh1991/mobile_app_server | 0 | root = exports ? this
if Meteor.isServer
Meteor.startup ()->
#Files are placed in the `/private` folder:
apnsDevCert = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Cert.pem'
apnsDevKey = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Key.pem'
optionsDevelopment =
passphrase: '1234'... | 192337 | root = exports ? this
if Meteor.isServer
Meteor.startup ()->
#Files are placed in the `/private` folder:
apnsDevCert = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Cert.pem'
apnsDevKey = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Key.pem'
optionsDevelopment =
passphrase: '<PASS... | true | root = exports ? this
if Meteor.isServer
Meteor.startup ()->
#Files are placed in the `/private` folder:
apnsDevCert = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Cert.pem'
apnsDevKey = Assets.getText 'ios/apn-development/HotShare_PN_DEV_Key.pem'
optionsDevelopment =
passphrase: 'PI:PA... |
[
{
"context": "n.SetSort',\n setup: ->\n @zeke = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n @fred = Batm",
"end": 73,
"score": 0.997394323348999,
"start": 69,
"tag": "NAME",
"value": "Zeke"
},
{
"context": "e = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n ... | tests/batman/set/set_sort_test.coffee | nickjs/batman | 1 | QUnit.module 'Batman.SetSort',
setup: ->
@zeke = Batman name: 'Zeke'
@mary = Batman name: 'Mary'
@fred = Batman name: 'Fred'
@jill = Batman name: 'Jill'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman author: @fred
... | 164652 | QUnit.module 'Batman.SetSort',
setup: ->
@zeke = Batman name: '<NAME>'
@mary = Batman name: '<NAME>'
@fred = Batman name: '<NAME>'
@jill = Batman name: '<NAME>'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman author:... | true | QUnit.module 'Batman.SetSort',
setup: ->
@zeke = Batman name: 'PI:NAME:<NAME>END_PI'
@mary = Batman name: 'PI:NAME:<NAME>END_PI'
@fred = Batman name: 'PI:NAME:<NAME>END_PI'
@jill = Batman name: 'PI:NAME:<NAME>END_PI'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = ... |
[
{
"context": "---------------------------------------------\n# @: The Anh\n# d: 141120\n# f: Modal module\n# -----------------",
"end": 73,
"score": 0.9993953704833984,
"start": 66,
"tag": "NAME",
"value": "The Anh"
}
] | app/assets/javascripts/extend/modal.coffee | theanh/96b0e903c0b3889b355a821204fb7dcf | 31 | # ----------------------------------------------------------
# @: The Anh
# d: 141120
# f: Modal module
# ----------------------------------------------------------
'use strict'
angular.module('ModalModule', [])
.factory 'Modal', [
'$modal',
($modal) ->
# -----------------------------------
# init variable... | 106451 | # ----------------------------------------------------------
# @: <NAME>
# d: 141120
# f: Modal module
# ----------------------------------------------------------
'use strict'
angular.module('ModalModule', [])
.factory 'Modal', [
'$modal',
($modal) ->
# -----------------------------------
# init variable
... | true | # ----------------------------------------------------------
# @: PI:NAME:<NAME>END_PI
# d: 141120
# f: Modal module
# ----------------------------------------------------------
'use strict'
angular.module('ModalModule', [])
.factory 'Modal', [
'$modal',
($modal) ->
# -----------------------------------
# ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9978284239768982,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " if cb\n return\n\n server.listen common.PORT, \"127.0.0.1\", ->\n args = [\n \"s... | test/simple/test-tls-dhe.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... | 54482 | # 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": "App.Properties.getString 'hatena_id'\n password: Ti.App.Properties.getString 'hatena_password'\n HatenaBookmark.post entry, ()",
"end": 1095,
"score": 0.9211434721946716,
"start": 1068,
"tag": "PASSWORD",
"value": "Ti.App.Properties.getString"
},
{
"context": "na_id... | Resources/webview.coffee | naoya/HBFav | 5 | Ti.include 'HatenaBookmark.js'
Ti.include 'Instapaper.js'
Ti.include 'ui.js'
Ti.include 'util.js'
win = Ti.UI.currentWindow
bookmark = win.bookmark
webview = Ti.UI.createWebView
url: bookmark.link
loading: false
# height: Ti.UI.SIZE
# widgh: 320
win.add webview
## 2.0 の bug で組み込みのインジケータが左上の方で回ってしまうので自分で作る
l... | 19035 | Ti.include 'HatenaBookmark.js'
Ti.include 'Instapaper.js'
Ti.include 'ui.js'
Ti.include 'util.js'
win = Ti.UI.currentWindow
bookmark = win.bookmark
webview = Ti.UI.createWebView
url: bookmark.link
loading: false
# height: Ti.UI.SIZE
# widgh: 320
win.add webview
## 2.0 の bug で組み込みのインジケータが左上の方で回ってしまうので自分で作る
l... | true | Ti.include 'HatenaBookmark.js'
Ti.include 'Instapaper.js'
Ti.include 'ui.js'
Ti.include 'util.js'
win = Ti.UI.currentWindow
bookmark = win.bookmark
webview = Ti.UI.createWebView
url: bookmark.link
loading: false
# height: Ti.UI.SIZE
# widgh: 320
win.add webview
## 2.0 の bug で組み込みのインジケータが左上の方で回ってしまうので自分で作る
l... |
[
{
"context": ": [20, 8]\n setView: true\n\n author:\n name: 'Reuben Cummings'\n url: 'https://www.reubano.xyz/'\n\n cm_api_ke",
"end": 2056,
"score": 0.9998919367790222,
"start": 2041,
"tag": "NAME",
"value": "Reuben Cummings"
}
] | app/config.coffee | reubano/tophubbers | 0 | debug_mobile = false
debug_canvas = false
debug_prod = false
debug_minilog = false
debug_prod_verbose = false
host = window?.location?.hostname ? require('os').hostname()
dev = host in ['localhost', 'tokpro.local', 'tokpro']
prod = not dev
gh_api_token = $PROCESS_ENV_GITHUB_TOKEN_TH ? null
query = "followers:%3E8500&ac... | 139475 | debug_mobile = false
debug_canvas = false
debug_prod = false
debug_minilog = false
debug_prod_verbose = false
host = window?.location?.hostname ? require('os').hostname()
dev = host in ['localhost', 'tokpro.local', 'tokpro']
prod = not dev
gh_api_token = $PROCESS_ENV_GITHUB_TOKEN_TH ? null
query = "followers:%3E8500&ac... | true | debug_mobile = false
debug_canvas = false
debug_prod = false
debug_minilog = false
debug_prod_verbose = false
host = window?.location?.hostname ? require('os').hostname()
dev = host in ['localhost', 'tokpro.local', 'tokpro']
prod = not dev
gh_api_token = $PROCESS_ENV_GITHUB_TOKEN_TH ? null
query = "followers:%3E8500&ac... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The simplest binning method use s",
"end": 163,
"score": 0.9998704195022583,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/bin/rect.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The simplest binning method use square tiles, and for most purposes
# this suffices, taking advantage of its computational sim... | 88851 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The simplest binning method use square tiles, and for most purposes
# this suffices, taking advantage of its computational simpliticy.... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The simplest binning method use square tiles, and for most purposes
# this suffices, taking advantage of its computation... |
[
{
"context": "###\n@Author: Kristinita\n@Date:\t 2017-01-24 18:34:57\n@Last Modified by:\t K",
"end": 23,
"score": 0.9998743534088135,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
},
{
"context": "ta\n@Date:\t 2017-01-24 18:34:57\n@Last Modified by:\t Kristinita\n@Last Modified ... | themes/sashapelican/static/coffee/Tooltipster/tooltip.coffee | Kristinita/--- | 6 | ###
@Author: Kristinita
@Date: 2017-01-24 18:34:57
@Last Modified by: Kristinita
@Last Modified time: 2017-01-24 18:35:34
###
###############
# Tooltipster #
###############
###
Custom tooltips
https://calebjacob.github.io/tooltipster/
https://ru.stackoverflow.com/a/584718/199934
###
$(document).ready ->
$SashaEle... | 78465 | ###
@Author: <NAME>
@Date: 2017-01-24 18:34:57
@Last Modified by: <NAME>
@Last Modified time: 2017-01-24 18:35:34
###
###############
# Tooltipster #
###############
###
Custom tooltips
https://calebjacob.github.io/tooltipster/
https://ru.stackoverflow.com/a/584718/199934
###
$(document).ready ->
$SashaElement = $... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2017-01-24 18:34:57
@Last Modified by: PI:NAME:<NAME>END_PI
@Last Modified time: 2017-01-24 18:35:34
###
###############
# Tooltipster #
###############
###
Custom tooltips
https://calebjacob.github.io/tooltipster/
https://ru.stackoverflow.com/a/584718/199934
###
$(document)... |
[
{
"context": " ( x ) -> @isa.object x\n \"x.key is '^reprise'\": ( x ) -> @isa.key is '^reprise'\n ",
"end": 2465,
"score": 0.7267905473709106,
"start": 2458,
"tag": "KEY",
"value": "reprise"
},
{
"context": " '^reprise'\": ( x ) -> @isa.key is ... | src/types.coffee | loveencounterflow/datamill | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS-PARSER/TYPES'
debug = CND.get_logger 'debug', badge
alert... | 188106 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS-PARSER/TYPES'
debug = CND.get_logger 'debug', badge
alert... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'MKTS-PARSER/TYPES'
debug = CND.get_logger 'debug', badge
alert... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998491406440735,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/shipped/localized.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 42701 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "Out\n\n@namespace Quo.Gestures\n@class Pinch\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 127,
"score": 0.999890923500061,
"start": 106,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "ures\n@class P... | source/quo.gestures.pinch.coffee | TNT-RoX/QuoJS | 1 | ###
Quo Pinch Gestures: pinch, pinching, pinchIn, pinchOut
@namespace Quo.Gestures
@class Pinch
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "pinch"
events : ["pinch", "pinching", "pinchIn", "pinchOut"]
handler : do (base = Quo.Gestures) ->
GAP ... | 188855 | ###
Quo Pinch Gestures: pinch, pinching, pinchIn, pinchOut
@namespace Quo.Gestures
@class Pinch
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "pinch"
events : ["pinch", "pinching", "pinchIn", "pinchOut"]
handler : do (base = Quo.Gestures) ->
GAP = 20
_target = null... | true | ###
Quo Pinch Gestures: pinch, pinching, pinchIn, pinchOut
@namespace Quo.Gestures
@class Pinch
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "pinch"
events : ["pinch", "pinching", "pinchIn", "pinchOut"]
handler : do (base = Quo.Gestures) ->
... |
[
{
"context": " =\n url: 'http://demo.gitlab.com'\n token: 'Wvjy2Krpb7y8xi93owUz'\n",
"end": 84,
"score": 0.8115798234939575,
"start": 64,
"tag": "PASSWORD",
"value": "Wvjy2Krpb7y8xi93owUz"
}
] | examples/example.credentials.coffee | lengyuedaidai/node-gitlab | 143 | module.exports =
url: 'http://demo.gitlab.com'
token: 'Wvjy2Krpb7y8xi93owUz'
| 141399 | module.exports =
url: 'http://demo.gitlab.com'
token: '<PASSWORD>'
| true | module.exports =
url: 'http://demo.gitlab.com'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
|
[
{
"context": "e type\", ->\n expect(U.areSameTypes(\"hello\", \"george\")).to.be.true\n\n it \"should say null and an obj",
"end": 3418,
"score": 0.9936331510543823,
"start": 3412,
"tag": "NAME",
"value": "george"
}
] | specs/specs/UtilSpec.coffee | city41/plunder | 1 | U = require('../../src/Util')
describe "Util", ->
describe "#toArray", ->
it "should pass arrays through", ->
a = [1,2,3]
b = U.toArray(a)
expect(b).to.eql(a)
it "should wrap non arrays into an array", ->
expect(U.toArray(12)).to.eql([12])
it "should convert null into an empty ... | 30291 | U = require('../../src/Util')
describe "Util", ->
describe "#toArray", ->
it "should pass arrays through", ->
a = [1,2,3]
b = U.toArray(a)
expect(b).to.eql(a)
it "should wrap non arrays into an array", ->
expect(U.toArray(12)).to.eql([12])
it "should convert null into an empty ... | true | U = require('../../src/Util')
describe "Util", ->
describe "#toArray", ->
it "should pass arrays through", ->
a = [1,2,3]
b = U.toArray(a)
expect(b).to.eql(a)
it "should wrap non arrays into an array", ->
expect(U.toArray(12)).to.eql([12])
it "should convert null into an empty ... |
[
{
"context": "exports = \"FOOBARBAZ\"",
"end": 20,
"score": 0.9663745760917664,
"start": 11,
"tag": "NAME",
"value": "FOOBARBAZ"
}
] | test/test_project/baz/baz_main.coffee | benforged/grunt-coffee-requires | 0 | exports = "FOOBARBAZ" | 41738 | exports = "<NAME>" | true | exports = "PI:NAME:<NAME>END_PI" |
[
{
"context": "esult\n model: 'artist',\n id: 'andy-warhol',\n display: 'Andy Warhol',\n l",
"end": 2396,
"score": 0.9775026440620422,
"start": 2385,
"tag": "USERNAME",
"value": "andy-warhol"
},
{
"context": " id: 'andy-warhol',\n ... | desktop/apps/fair/test/templates.coffee | dblock/force | 0 | _ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ AToZ } = require 'artsy-backbone-mixins'
{ fabricate, fabricate2 } = require 'antigravity'
Fair = require '../../../models/fair'
Profile = require '../../../models/prof... | 70306 | _ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ AToZ } = require 'artsy-backbone-mixins'
{ fabricate, fabricate2 } = require 'antigravity'
Fair = require '../../../models/fair'
Profile = require '../../../models/prof... | true | _ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ AToZ } = require 'artsy-backbone-mixins'
{ fabricate, fabricate2 } = require 'antigravity'
Fair = require '../../../models/fair'
Profile = require '../../../models/prof... |
[
{
"context": "spire me - Give some inspiration\r\n#\r\n# Author:\r\n# Zeger Van de Vannet\r\n\r\nsuperagent = require 'superagent'\r\n\r\nmodule.ex",
"end": 147,
"score": 0.9998636245727539,
"start": 128,
"tag": "NAME",
"value": "Zeger Van de Vannet"
}
] | src/inspirobot.coffee | zegervdv/hubot-inspirobot | 0 | # Description
# Inspirational quotes for Hubot
#
# Commands:
# hubot inspire me - Give some inspiration
#
# Author:
# Zeger Van de Vannet
superagent = require 'superagent'
module.exports = (robot) ->
robot.respond /inspire me/i, (response) ->
robot.http('https://inspirobot.me/api?generate=true')... | 164425 | # Description
# Inspirational quotes for Hubot
#
# Commands:
# hubot inspire me - Give some inspiration
#
# Author:
# <NAME>
superagent = require 'superagent'
module.exports = (robot) ->
robot.respond /inspire me/i, (response) ->
robot.http('https://inspirobot.me/api?generate=true')
.get(... | true | # Description
# Inspirational quotes for Hubot
#
# Commands:
# hubot inspire me - Give some inspiration
#
# Author:
# PI:NAME:<NAME>END_PI
superagent = require 'superagent'
module.exports = (robot) ->
robot.respond /inspire me/i, (response) ->
robot.http('https://inspirobot.me/api?generate=true'... |
[
{
"context": "User.destroy =>\n App.User.insert firstName: \"Lance\", (error, record) =>\n user = record\n ",
"end": 187,
"score": 0.9995318055152893,
"start": 182,
"tag": "NAME",
"value": "Lance"
},
{
"context": "1\n assert.equal resources[0].firstName, 'La... | test/cases/controller/server/resourcefulTest.coffee | jivagoalves/tower | 1 | controller = null
user = null
router = null
describe "Tower.ControllerResourceful", ->
beforeEach (done) ->
App.User.destroy =>
App.User.insert firstName: "Lance", (error, record) =>
user = record
done()
beforeEach (done) ->
Tower.start(done)
afterEach ->
To... | 104340 | controller = null
user = null
router = null
describe "Tower.ControllerResourceful", ->
beforeEach (done) ->
App.User.destroy =>
App.User.insert firstName: "<NAME>", (error, record) =>
user = record
done()
beforeEach (done) ->
Tower.start(done)
afterEach ->
T... | true | controller = null
user = null
router = null
describe "Tower.ControllerResourceful", ->
beforeEach (done) ->
App.User.destroy =>
App.User.insert firstName: "PI:NAME:<NAME>END_PI", (error, record) =>
user = record
done()
beforeEach (done) ->
Tower.start(done)
afte... |
[
{
"context": " \"../lib/message-participants\"\n\nuser_1 =\n name: \"User One\"\n email: \"user1@nylas.com\"\nuser_2 =\n name: \"Use",
"end": 273,
"score": 0.9957826733589172,
"start": 265,
"tag": "NAME",
"value": "User One"
},
{
"context": "ticipants\"\n\nuser_1 =\n name: \"User... | app/internal_packages/message-list/spec/message-participants-spec.cjsx | immershy/nodemail | 0 | _ = require 'underscore'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Contact, Message, DOMUtils} = require "nylas-exports"
MessageParticipants = require "../lib/message-participants"
user_1 =
name: "User One"
email: "user1@nylas.com"
user_2 =
name: "... | 186976 | _ = require 'underscore'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Contact, Message, DOMUtils} = require "nylas-exports"
MessageParticipants = require "../lib/message-participants"
user_1 =
name: "<NAME>"
email: "<EMAIL>"
user_2 =
name: "<NAME>"
... | true | _ = require 'underscore'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Contact, Message, DOMUtils} = require "nylas-exports"
MessageParticipants = require "../lib/message-participants"
user_1 =
name: "PI:NAME:<NAME>END_PI"
email: "PI:EMAIL:<EMAIL>END_PI"... |
[
{
"context": "ee: Github pull-request class\n#\n# Copyright © 2012 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Initiate class\nclass Pr",
"end": 81,
"score": 0.9998677372932434,
"start": 62,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "\n\n # List comments on ... | src/octonode/pr.coffee | noblejasper/octonode | 0 | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 Pavan Kumar Sunkara. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (err... | 36467 | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 <NAME>. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (err, s, b, h) ->... | true | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 PI:NAME:<NAME>END_PI. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (er... |
[
{
"context": " # Formula from https://en.wikipedia.org/wiki/Hue, Frank Preucil 1953\n Math.atan2(Math.sqrt(3)*(g-b), 2*r-g-b)\n\nd",
"end": 757,
"score": 0.9998071193695068,
"start": 744,
"tag": "NAME",
"value": "Frank Preucil"
}
] | js/gels.coffee | newtheatre/backstage | 3 | ---
---
GEL_TEMPLATE = "#gel-template"
GEL_CONTAINER = "#gels-list"
GEL_ELEMENTS = "#gels-list li"
GEL_DATA_CODE = "gel-code"
GEL_DATA_COLOR = "gel-color"
GEL_DATA_NAME = "gel-name"
GEL_DATA_DESCRIPTION = "gel-description"
SORT_BUTTONS = ".nav-button"
SORT_NUMERIC = "#gel-sort-numeric"
SORT_HUE = "#gel-sort-hue"
FI... | 220345 | ---
---
GEL_TEMPLATE = "#gel-template"
GEL_CONTAINER = "#gels-list"
GEL_ELEMENTS = "#gels-list li"
GEL_DATA_CODE = "gel-code"
GEL_DATA_COLOR = "gel-color"
GEL_DATA_NAME = "gel-name"
GEL_DATA_DESCRIPTION = "gel-description"
SORT_BUTTONS = ".nav-button"
SORT_NUMERIC = "#gel-sort-numeric"
SORT_HUE = "#gel-sort-hue"
FI... | true | ---
---
GEL_TEMPLATE = "#gel-template"
GEL_CONTAINER = "#gels-list"
GEL_ELEMENTS = "#gels-list li"
GEL_DATA_CODE = "gel-code"
GEL_DATA_COLOR = "gel-color"
GEL_DATA_NAME = "gel-name"
GEL_DATA_DESCRIPTION = "gel-description"
SORT_BUTTONS = ".nav-button"
SORT_NUMERIC = "#gel-sort-numeric"
SORT_HUE = "#gel-sort-hue"
FI... |
[
{
"context": "should initialize', ->\n km = new KM 'apiKey', 'evan@example.com', {queue: testQueue}\n km.apiKey.should.equal '",
"end": 257,
"score": 0.9999205470085144,
"start": 241,
"tag": "EMAIL",
"value": "evan@example.com"
},
{
"context": "should.equal 'apiKey'\n km.per... | test/mocha/kissmetrics-batch.coffee | evansolomon/kissmetrics-js | 1 | should = require 'should'
KM = require '../../src/kissmetrics'
testQueue =
queue: []
add: (data) ->
@queue.push data
get: ->
@queue
describe 'KM batch instance', ->
it 'should initialize', ->
km = new KM 'apiKey', 'evan@example.com', {queue: testQueue}
km.apiKey.should.equal 'apiKey'
k... | 65725 | should = require 'should'
KM = require '../../src/kissmetrics'
testQueue =
queue: []
add: (data) ->
@queue.push data
get: ->
@queue
describe 'KM batch instance', ->
it 'should initialize', ->
km = new KM 'apiKey', '<EMAIL>', {queue: testQueue}
km.apiKey.should.equal 'apiKey'
km.person.... | true | should = require 'should'
KM = require '../../src/kissmetrics'
testQueue =
queue: []
add: (data) ->
@queue.push data
get: ->
@queue
describe 'KM batch instance', ->
it 'should initialize', ->
km = new KM 'apiKey', 'PI:EMAIL:<EMAIL>END_PI', {queue: testQueue}
km.apiKey.should.equal 'apiKey'... |
[
{
"context": "e) ->\n @factory.createAsync {\n name: 'John Doe'\n meta:\n owner:\n age: ",
"end": 3809,
"score": 0.999852180480957,
"start": 3801,
"tag": "NAME",
"value": "John Doe"
},
{
"context": ":\n age: 30\n 'meta.owner.na... | test/mongoose.spec.coffee | goodeggs/unionized | 10 | Promise = require 'bluebird'
_ = require 'lodash'
expect = require('chai').expect
moment = require 'moment'
mongoose = require './mongoose'
unionized = require '../src'
describe 'mongoose kitten tests', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
... | 175550 | Promise = require 'bluebird'
_ = require 'lodash'
expect = require('chai').expect
moment = require 'moment'
mongoose = require './mongoose'
unionized = require '../src'
describe 'mongoose kitten tests', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
... | true | Promise = require 'bluebird'
_ = require 'lodash'
expect = require('chai').expect
moment = require 'moment'
mongoose = require './mongoose'
unionized = require '../src'
describe 'mongoose kitten tests', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9885823726654053,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/spinner.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A good-looking loading animation.
# Also provides an overlay mode that blocks the user from accessing the UI
# while... | 89921 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A good-looking loading animation.
# Also provides an overlay mode that blocks the user from accessing the UI
# while... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A good-looking loading animation.
# Also provides an overlay mode that blocks the user from accessing ... |
[
{
"context": "ing brook.scd\n\n# /*\n# A babbling brook example, by James McCartney 2007. See\n# http://www.create.ucsb.edu/pipermail/",
"end": 119,
"score": 0.999803364276886,
"start": 104,
"tag": "NAME",
"value": "James McCartney"
}
] | examples/babbling.coffee | mohayonao/CoffeeCollider | 112 | # origin: SuperCollider/examples/demonstrations/babbling brook.scd
# /*
# A babbling brook example, by James McCartney 2007. See
# http://www.create.ucsb.edu/pipermail/sc-users/2007-April/033231.html
# */
(->
a = (->
RHPF.ar(OnePole.ar(BrownNoise.ar(), 0.99), LPF.ar(BrownNoise.ar(), 14) * 400 + 500, 0.03, 0.03... | 59511 | # origin: SuperCollider/examples/demonstrations/babbling brook.scd
# /*
# A babbling brook example, by <NAME> 2007. See
# http://www.create.ucsb.edu/pipermail/sc-users/2007-April/033231.html
# */
(->
a = (->
RHPF.ar(OnePole.ar(BrownNoise.ar(), 0.99), LPF.ar(BrownNoise.ar(), 14) * 400 + 500, 0.03, 0.03)
).dup... | true | # origin: SuperCollider/examples/demonstrations/babbling brook.scd
# /*
# A babbling brook example, by PI:NAME:<NAME>END_PI 2007. See
# http://www.create.ucsb.edu/pipermail/sc-users/2007-April/033231.html
# */
(->
a = (->
RHPF.ar(OnePole.ar(BrownNoise.ar(), 0.99), LPF.ar(BrownNoise.ar(), 14) * 400 + 500, 0.03,... |
[
{
"context": " mioID = 'testID'\n mioPass = 'testPass'\n client_id = 'test dev id'\n ",
"end": 1077,
"score": 0.9992928504943848,
"start": 1069,
"tag": "PASSWORD",
"value": "testPass"
},
{
"context": " mioID: 'testID'\n mi... | test/library.mocha.coffee | KamataRyo/node-miopon-cli | 1 | expect = require('chai').expect
_ = require 'underscore'
fs = require 'fs'
mio = require '../library'
alsoTestWebCases = true
describeWebCases = if alsoTestWebCases then describe else describe.skip
describe 'Interfaces: ', ->
methods = [
['init']
['info', 'i', 'status']
['updat... | 175108 | expect = require('chai').expect
_ = require 'underscore'
fs = require 'fs'
mio = require '../library'
alsoTestWebCases = true
describeWebCases = if alsoTestWebCases then describe else describe.skip
describe 'Interfaces: ', ->
methods = [
['init']
['info', 'i', 'status']
['updat... | true | expect = require('chai').expect
_ = require 'underscore'
fs = require 'fs'
mio = require '../library'
alsoTestWebCases = true
describeWebCases = if alsoTestWebCases then describe else describe.skip
describe 'Interfaces: ', ->
methods = [
['init']
['info', 'i', 'status']
['updat... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998496174812317,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
},
{
"context": "\n]\n\ngulp.task 'watch', ['dev'], ->\n # stolen from shorrockin/noted... | gulpfile.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 195332 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softw... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... |
[
{
"context": "godb://localhost:27017/app')\n\nstaticDir = '/Users/Trey Roessig/Documents/GitHub/ng2-seed-cli/dist'\n\n\napp = expre",
"end": 333,
"score": 0.9998606443405151,
"start": 321,
"tag": "NAME",
"value": "Trey Roessig"
}
] | src/server.coffee | tro3/erm-server-seed | 0 | express = require('express')
bodyParser = require('body-parser')
methodOverride = require('method-override')
mongoose = require('mongoose')
Promise = require('bluebird')
api = require('./models')
auth = require('./auth')
mongoose.Promise = Promise
mongoose.connect('mongodb://localhost:27017/app')
staticDir = '/Users... | 176746 | express = require('express')
bodyParser = require('body-parser')
methodOverride = require('method-override')
mongoose = require('mongoose')
Promise = require('bluebird')
api = require('./models')
auth = require('./auth')
mongoose.Promise = Promise
mongoose.connect('mongodb://localhost:27017/app')
staticDir = '/Users... | true | express = require('express')
bodyParser = require('body-parser')
methodOverride = require('method-override')
mongoose = require('mongoose')
Promise = require('bluebird')
api = require('./models')
auth = require('./auth')
mongoose.Promise = Promise
mongoose.connect('mongodb://localhost:27017/app')
staticDir = '/Users... |
[
{
"context": " custom:\n argv: ['./file.apib', 'http://127.0.0.1:3000']\n env: {'NO_KEY': 'NO_VAL'}\n ",
"end": 3929,
"score": 0.9989801049232483,
"start": 3920,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ttp://127.0.0.1:3000']\n env: ... | test/unit/dredd-command-test.coffee | DMG-Cloud-Services/dmg-dredd | 0 | {assert} = require 'chai'
sinon = require 'sinon'
express = require 'express'
proxyquire = require('proxyquire').noCallThru()
options = require '../../src/options'
packageData = require '../../package.json'
loggerStub = require '../../src/logger'
interactiveConfigStub = require '../../src/interactive-config'
configUt... | 153637 | {assert} = require 'chai'
sinon = require 'sinon'
express = require 'express'
proxyquire = require('proxyquire').noCallThru()
options = require '../../src/options'
packageData = require '../../package.json'
loggerStub = require '../../src/logger'
interactiveConfigStub = require '../../src/interactive-config'
configUt... | true | {assert} = require 'chai'
sinon = require 'sinon'
express = require 'express'
proxyquire = require('proxyquire').noCallThru()
options = require '../../src/options'
packageData = require '../../package.json'
loggerStub = require '../../src/logger'
interactiveConfigStub = require '../../src/interactive-config'
configUt... |
[
{
"context": "nect: true, primary:null, poolSize: 50 },\n\tuser: 'admin',\n\tpass: '8mvclqXSvv',\n\thost: 'localhost'\n\tport: ",
"end": 138,
"score": 0.9988718032836914,
"start": 133,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "ary:null, poolSize: 50 },\n\tuser: 'admin',\n\... | init/database.coffee | winnlab/Despace | 0 | mongoose = require 'mongoose'
async = require 'async'
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
user: 'admin',
pass: '8mvclqXSvv',
host: 'localhost'
port: '27017'
database: 'Despace'
primary: null
connString = 'mongodb://'+opts.user+":"+opts.pass+"@"+opts.host+":"+opts.port+"/"+opts.... | 17774 | mongoose = require 'mongoose'
async = require 'async'
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
user: 'admin',
pass: '<PASSWORD>',
host: 'localhost'
port: '27017'
database: 'Despace'
primary: null
connString = 'mongodb://'+opts.user+":"+opts.pass+"@"+opts.host+":"+opts.port+"/"+opts.... | true | mongoose = require 'mongoose'
async = require 'async'
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
user: 'admin',
pass: 'PI:PASSWORD:<PASSWORD>END_PI',
host: 'localhost'
port: '27017'
database: 'Despace'
primary: null
connString = 'mongodb://'+opts.user+":"+opts.pass+"@"+opts.host+":"+o... |
[
{
"context": "###\n* md2conf-watcher\n* https://github.com/Layzie/md2conf-watcher\n*\n* Copyright (c) 2013 HIRAKI Sat",
"end": 49,
"score": 0.999552845954895,
"start": 43,
"tag": "USERNAME",
"value": "Layzie"
},
{
"context": ".com/Layzie/md2conf-watcher\n*\n* Copyright (c) 2013 HIRAK... | src/helper.coffee | Layzie/md2conf-watcher | 1 | ###
* md2conf-watcher
* https://github.com/Layzie/md2conf-watcher
*
* Copyright (c) 2013 HIRAKI Satoru
* Licensed under the MIT license.
###
'use strict'
# File name filter using regexp
exports.filter = (pattern, fn) ->
(filename) -> fn filename if pattern.test filename
# Return file name without suffix
exports.spl... | 219733 | ###
* md2conf-watcher
* https://github.com/Layzie/md2conf-watcher
*
* Copyright (c) 2013 <NAME>
* Licensed under the MIT license.
###
'use strict'
# File name filter using regexp
exports.filter = (pattern, fn) ->
(filename) -> fn filename if pattern.test filename
# Return file name without suffix
exports.splitFilen... | true | ###
* md2conf-watcher
* https://github.com/Layzie/md2conf-watcher
*
* Copyright (c) 2013 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict'
# File name filter using regexp
exports.filter = (pattern, fn) ->
(filename) -> fn filename if pattern.test filename
# Return file name without suffix
expo... |
[
{
"context": "b, time\nThing = ->\n thing:\n id: 666\n email: Math.random().toString()\n\nApplicationAdapter = DS.Acti",
"end": 154,
"score": 0.42987683415412903,
"start": 150,
"tag": "KEY",
"value": "Math"
},
{
"context": " ->\n thing:\n id: 666\n email: Math.random().... | tests/dummy/app/adapters/application.coffee | foxnewsnetwork/promise-button | 0 | `import Ember from 'ember'`
`import DS from 'ember-data'`
wait = (time, cb) -> window.setTimeout cb, time
Thing = ->
thing:
id: 666
email: Math.random().toString()
ApplicationAdapter = DS.ActiveModelAdapter.extend
find: ->
new Ember.RSVP.Promise (resolve) ->
wait 400, ->
Ember.run @, res... | 82278 | `import Ember from 'ember'`
`import DS from 'ember-data'`
wait = (time, cb) -> window.setTimeout cb, time
Thing = ->
thing:
id: 666
email: <KEY>.random().<KEY>()
ApplicationAdapter = DS.ActiveModelAdapter.extend
find: ->
new Ember.RSVP.Promise (resolve) ->
wait 400, ->
Ember.run @, resol... | true | `import Ember from 'ember'`
`import DS from 'ember-data'`
wait = (time, cb) -> window.setTimeout cb, time
Thing = ->
thing:
id: 666
email: PI:KEY:<KEY>END_PI.random().PI:KEY:<KEY>END_PI()
ApplicationAdapter = DS.ActiveModelAdapter.extend
find: ->
new Ember.RSVP.Promise (resolve) ->
wait 400, ->
... |
[
{
"context": "###\ni18nService.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 50,
"score": 0.9995185732841492,
"start": 42,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "#\ni18nService.coffee\nCopyright (C) 2015 ender xu <xuende... | src/extension/options/i18nService.coffee | roceys/cm | 248 | ###
i18nService.coffee
Copyright (C) 2015 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
services.factory('i18n', [
'localStorageService'
(lls)->
$code = lls.get('locale')
if not $code
$code = 'zh_CN'
# 取值
getValue = (value, def)->
if value then value els... | 108109 | ###
i18nService.coffee
Copyright (C) 2015 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
services.factory('i18n', [
'localStorageService'
(lls)->
$code = lls.get('locale')
if not $code
$code = 'zh_CN'
# 取值
getValue = (value, def)->
if value then value else def
#... | true | ###
i18nService.coffee
Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
services.factory('i18n', [
'localStorageService'
(lls)->
$code = lls.get('locale')
if not $code
$code = 'zh_CN'
# 取值
getValue = (value, def)->
if val... |
[
{
"context": "y = Campaigns\n security.currentUser.email = 'advertiser@mail.com'\n security.currentUser.token = 'ThisIsAToken",
"end": 562,
"score": 0.9999136924743652,
"start": 543,
"tag": "EMAIL",
"value": "advertiser@mail.com"
},
{
"context": "ser@mail.com'\n securi... | src/Vifeed/FrontendBundle/Tests/unit/advertiser/controllers/form-ctrl.spec.coffee | bzis/zomba | 0 | describe 'FormCtrl:', ->
beforeEach( -> module 'advertiserApp' )
describe 'Controller', ->
scope = {}
httpBackend = {}
mock = {}
campaign = {}
CampaignsFactory = {}
expect = chai.expect
beforeEach(inject ($rootScope, $httpBackend, $controller, security, Campaigns) ->
scope = $roo... | 226143 | describe 'FormCtrl:', ->
beforeEach( -> module 'advertiserApp' )
describe 'Controller', ->
scope = {}
httpBackend = {}
mock = {}
campaign = {}
CampaignsFactory = {}
expect = chai.expect
beforeEach(inject ($rootScope, $httpBackend, $controller, security, Campaigns) ->
scope = $roo... | true | describe 'FormCtrl:', ->
beforeEach( -> module 'advertiserApp' )
describe 'Controller', ->
scope = {}
httpBackend = {}
mock = {}
campaign = {}
CampaignsFactory = {}
expect = chai.expect
beforeEach(inject ($rootScope, $httpBackend, $controller, security, Campaigns) ->
scope = $roo... |
[
{
"context": "plotScanone: lod curves + (possibly) QTL effects\n# Karl W Broman\n\nHTMLWidgets.widget({\n\n name: \"iplotScanone\",\n",
"end": 67,
"score": 0.9997974634170532,
"start": 54,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/iplotScanone.coffee | Alanocallaghan/qtlcharts | 0 | # iplotScanone: lod curves + (possibly) QTL effects
# Karl W Broman
HTMLWidgets.widget({
name: "iplotScanone",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("width", width)
.attr("height", height)
.attr("class", "q... | 191182 | # iplotScanone: lod curves + (possibly) QTL effects
# <NAME>
HTMLWidgets.widget({
name: "iplotScanone",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("width", width)
.attr("height", height)
.attr("class", "qtlchart... | true | # iplotScanone: lod curves + (possibly) QTL effects
# PI:NAME:<NAME>END_PI
HTMLWidgets.widget({
name: "iplotScanone",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("width", width)
.attr("height", height)
.attr("cla... |
[
{
"context": "_user'\n\n\t\tPush.send\n\t\t\tfrom: 'push'\n\t\t\ttitle: \"@#{user.username}\"\n\t\t\ttext: TAPi18n.__ \"This_is_a_push_test_messsa",
"end": 740,
"score": 0.8311473727226257,
"start": 727,
"tag": "USERNAME",
"value": "user.username"
},
{
"context": "is_is_a_push_test_m... | server/lib/cordova.coffee | In4No/chatApp | 0 | Meteor.methods
log: ->
console.log.apply console, arguments
push_test: ->
user = Meteor.user()
if not user?
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Unauthorized'
if not RocketChat.authz.hasRole(user._id, 'admin')
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Una... | 59907 | Meteor.methods
log: ->
console.log.apply console, arguments
push_test: ->
user = Meteor.user()
if not user?
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Unauthorized'
if not RocketChat.authz.hasRole(user._id, 'admin')
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Una... | true | Meteor.methods
log: ->
console.log.apply console, arguments
push_test: ->
user = Meteor.user()
if not user?
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Unauthorized'
if not RocketChat.authz.hasRole(user._id, 'admin')
throw new Meteor.Error 'unauthorized', '[methods] push_test -> Una... |
[
{
"context": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998849034309387,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | platforms/ios/www/lib/bower_components/angular-google-maps/src/coffee/directives/rectangle.coffee | FirstDateApp/FirstDateApp.github.io | 2 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
Chentsu Lin - https://github.com/ChenTsuLin
###
angular.module("google-maps".ns()).directive "Rectangle".ns(), [
"Logger".ns()
"Rectangle".ns()
($log, Rectangle) -> Rectangle
]
| 179033 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
<NAME> - https://github.com/ChenTsuLin
###
angular.module("google-maps".ns()).directive "Rectangle".ns(), [
"Logger".ns()
"Rectangle".ns()
($log, Rectangle) -> Rectangle
]
| true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
PI:NAME:<NAME>END_PI - https://github.com/ChenTsuLin
###
angular.module("google-maps".ns()).directive "Rectangle".ns(), [
"Logger".ns()
"Rectangle".ns()
($log, Rectangle) -> Recta... |
[
{
"context": "\n\t\t\t\t\t{\n\t\t\t\t\t\tinnerInnerKey: ''\n\t\t\t\t\t\tanotherKey: 42\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t\toutput = checker('{ key: ",
"end": 229,
"score": 0.8888542652130127,
"start": 227,
"tag": "KEY",
"value": "42"
},
{
"context": "ey: 'good key'\n\t\t\t\t... | test/test_checker.coffee | BSteephenson/JS-Type-Validator | 30 |
checker = require '../src/checker'
{expect} = require 'chai'
describe 'checker', () ->
it 'should work on nested objects and arrays', () ->
val = {
key: {
inner: [
{
innerInnerKey: ''
anotherKey: 42
}
]
}
}
output = checker('{ key: {inner: [ {innerInnerKey: string, another... | 209058 |
checker = require '../src/checker'
{expect} = require 'chai'
describe 'checker', () ->
it 'should work on nested objects and arrays', () ->
val = {
key: {
inner: [
{
innerInnerKey: ''
anotherKey: <KEY>
}
]
}
}
output = checker('{ key: {inner: [ {innerInnerKey: string, anot... | true |
checker = require '../src/checker'
{expect} = require 'chai'
describe 'checker', () ->
it 'should work on nested objects and arrays', () ->
val = {
key: {
inner: [
{
innerInnerKey: ''
anotherKey: PI:KEY:<KEY>END_PI
}
]
}
}
output = checker('{ key: {inner: [ {innerInnerKey:... |
[
{
"context": "person, so the subsequent eras are named for them: Robert Brustein, Lloyd Richards, Stan Wojewodski, and James Bundy",
"end": 3405,
"score": 0.9998859167098999,
"start": 3390,
"tag": "NAME",
"value": "Robert Brustein"
},
{
"context": "bsequent eras are named for them: R... | app/assets/javascripts/components/yale-faq-page.cjsx | jakekara/ensemble-at-yale | 5 | React = require 'react'
{Navigation} = require 'react-router'
FaqPage = React.createClass
displayName : 'FaqPage'
mixins: [Navigation]
render:->
<div className='static-page-container'>
<h1>FAQ</h1>
<div className='static-page-content faq'>
<div className='static-page-right'>
... | 80700 | React = require 'react'
{Navigation} = require 'react-router'
FaqPage = React.createClass
displayName : 'FaqPage'
mixins: [Navigation]
render:->
<div className='static-page-container'>
<h1>FAQ</h1>
<div className='static-page-content faq'>
<div className='static-page-right'>
... | true | React = require 'react'
{Navigation} = require 'react-router'
FaqPage = React.createClass
displayName : 'FaqPage'
mixins: [Navigation]
render:->
<div className='static-page-container'>
<h1>FAQ</h1>
<div className='static-page-content faq'>
<div className='static-page-right'>
... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998605847358704,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
}
] | source/string.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... | 177688 | #
# Copyright (c) 2012 <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 the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 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"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "ab.3...2980.7444.0.7719.22.\" + \\\n \"22.0.0.0.0.219.2518.0j15j2.17.0....0...1c.1.64.psy-ab..5\" ",
"end": 15913,
"score": 0.8121331930160522,
"start": 15906,
"tag": "IP_ADDRESS",
"value": "2.0.0.0"
},
{
"context": "-ab.3...2980.7444.0.7719.22.\" + \\\n ... | test/src/css-selector-generator.spec.coffee | satorumpen/css-selector-generator | 0 | # coffeelint: disable=no_backticks
`if (!Array.prototype.find) {
Object.defineProperty(Array.prototype, 'find', {
enumerable: false,
configurable: true,
writable: true,
value: function(predicate) {
if (this == null) {
throw new TypeError('Array.prototype.find called on null or undefined'... | 93752 | # coffeelint: disable=no_backticks
`if (!Array.prototype.find) {
Object.defineProperty(Array.prototype, 'find', {
enumerable: false,
configurable: true,
writable: true,
value: function(predicate) {
if (this == null) {
throw new TypeError('Array.prototype.find called on null or undefined'... | true | # coffeelint: disable=no_backticks
`if (!Array.prototype.find) {
Object.defineProperty(Array.prototype, 'find', {
enumerable: false,
configurable: true,
writable: true,
value: function(predicate) {
if (this == null) {
throw new TypeError('Array.prototype.find called on null or undefined'... |
[
{
"context": "ptured.should.eql\n num: '1'\n name: 'Testing'\n\n it \"should store the results of each captur",
"end": 3705,
"score": 0.9899625182151794,
"start": 3698,
"tag": "NAME",
"value": "Testing"
},
{
"context": "ptured.should.eql\n num: '1'\n na... | test/index.coffee | timkinnane/conditioner | 1 | _ = require 'Underscore'
assert = require 'power-assert'
sinon = require 'sinon'
chai = require 'chai'
chai.should()
expect = chai.expect
Conditioner = require '../src/index'
describe 'Conditioner', ->
# setup test arguments and instances
# main class
c = new Conditioner
starts: 'who'
ends: '?'
,
... | 161638 | _ = require 'Underscore'
assert = require 'power-assert'
sinon = require 'sinon'
chai = require 'chai'
chai.should()
expect = chai.expect
Conditioner = require '../src/index'
describe 'Conditioner', ->
# setup test arguments and instances
# main class
c = new Conditioner
starts: 'who'
ends: '?'
,
... | true | _ = require 'Underscore'
assert = require 'power-assert'
sinon = require 'sinon'
chai = require 'chai'
chai.should()
expect = chai.expect
Conditioner = require '../src/index'
describe 'Conditioner', ->
# setup test arguments and instances
# main class
c = new Conditioner
starts: 'who'
ends: '?'
,
... |
[
{
"context": "('//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-572794a3251b095e')",
"end": 1374,
"score": 0.9937279224395752,
"start": 1360,
"tag": "KEY",
"value": "ra-572794a3251"
}
] | app/assets/javascripts/rails_blog/frontend/base_initializer.js.coffee | the-cocoon/RAILS_BLOG | 0 | $(document).on 'ready page:load', ->
notificator = Notifications
TheComments.init(notificator)
TheCommentsHighlight.init()
BlogSearchForm.init()
# # ODNOKLASSNIKI
# ScriptLoader.load 'https://connect.ok.ru/connect.js', ->
# OK_Script.init()
# # VKONTAKTE
# # //vk.com/js/api/openapi.js?121
# # ht... | 152192 | $(document).on 'ready page:load', ->
notificator = Notifications
TheComments.init(notificator)
TheCommentsHighlight.init()
BlogSearchForm.init()
# # ODNOKLASSNIKI
# ScriptLoader.load 'https://connect.ok.ru/connect.js', ->
# OK_Script.init()
# # VKONTAKTE
# # //vk.com/js/api/openapi.js?121
# # ht... | true | $(document).on 'ready page:load', ->
notificator = Notifications
TheComments.init(notificator)
TheCommentsHighlight.init()
BlogSearchForm.init()
# # ODNOKLASSNIKI
# ScriptLoader.load 'https://connect.ok.ru/connect.js', ->
# OK_Script.init()
# # VKONTAKTE
# # //vk.com/js/api/openapi.js?121
# # ht... |
[
{
"context": "\n {\n \"id\": 999,\n \"account_id\": 123456,\n \"name\": \"web\",\n \"host\": \"web.exam",
"end": 96,
"score": 0.9908008575439453,
"start": 90,
"tag": "KEY",
"value": "123456"
},
{
"context": "\n {\n \"id\": 888,\n \"... | test/samples/servers.coffee | marcesher/hubot-newrelic2-cfpb | 12 | module.exports = ->
{
"servers": [
{
"id": 999,
"account_id": 123456,
"name": "web",
"host": "web.example.com",
"health_status": "green",
"reporting": true,
"last_reported_at": "2014-10-31T16:58:00+00:00"
"summary": {
"cpu": 2.07,
... | 38879 | module.exports = ->
{
"servers": [
{
"id": 999,
"account_id": <KEY>,
"name": "web",
"host": "web.example.com",
"health_status": "green",
"reporting": true,
"last_reported_at": "2014-10-31T16:58:00+00:00"
"summary": {
"cpu": 2.07,
... | true | module.exports = ->
{
"servers": [
{
"id": 999,
"account_id": PI:KEY:<KEY>END_PI,
"name": "web",
"host": "web.example.com",
"health_status": "green",
"reporting": true,
"last_reported_at": "2014-10-31T16:58:00+00:00"
"summary": {
"cpu... |
[
{
"context": "rocesses: 5\n banner: '/* Copyright (2013) John Lynch, MIT License */'\n\n coffee:\n options:\n ",
"end": 1257,
"score": 0.9997402429580688,
"start": 1247,
"tag": "NAME",
"value": "John Lynch"
}
] | Gruntfile.coffee | johnthethird/makona-editor | 180 | module.exports = (grunt) ->
# Load Tasks
# ----------------------------------------
grunt.loadNpmTasks 'grunt-closurecompiler'
grunt.loadNpmTasks 'grunt-contrib-clean'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-connect'
grunt.loadNpmTasks 'grunt-contrib-copy'
grunt.load... | 56225 | module.exports = (grunt) ->
# Load Tasks
# ----------------------------------------
grunt.loadNpmTasks 'grunt-closurecompiler'
grunt.loadNpmTasks 'grunt-contrib-clean'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-connect'
grunt.loadNpmTasks 'grunt-contrib-copy'
grunt.load... | true | module.exports = (grunt) ->
# Load Tasks
# ----------------------------------------
grunt.loadNpmTasks 'grunt-closurecompiler'
grunt.loadNpmTasks 'grunt-contrib-clean'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-connect'
grunt.loadNpmTasks 'grunt-contrib-copy'
grunt.load... |
[
{
"context": "Obj = \n login: context.uLogin\n password: context.uPassword\n cobSessionToken: context.sessionToken\n b",
"end": 343,
"score": 0.9990552067756653,
"start": 326,
"tag": "PASSWORD",
"value": "context.uPassword"
}
] | workflow/cobrand_userlogin.coffee | yury-sannikov/yodlee-api-sample | 1 | workflow = new (require('events').EventEmitter)();
q = require 'q'
qx = require 'qx'
http = require 'q-io/http'
querystring = require 'querystring'
module.exports =
cbUserLogin: (context) ->
console.log ' --- Executing step ' + "Cobrand User Login".green
bodyObj =
login: context.uLogin
pass... | 185263 | workflow = new (require('events').EventEmitter)();
q = require 'q'
qx = require 'qx'
http = require 'q-io/http'
querystring = require 'querystring'
module.exports =
cbUserLogin: (context) ->
console.log ' --- Executing step ' + "Cobrand User Login".green
bodyObj =
login: context.uLogin
pass... | true | workflow = new (require('events').EventEmitter)();
q = require 'q'
qx = require 'qx'
http = require 'q-io/http'
querystring = require 'querystring'
module.exports =
cbUserLogin: (context) ->
console.log ' --- Executing step ' + "Cobrand User Login".green
bodyObj =
login: context.uLogin
pass... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999152421951294,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/osu-audio.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @OsuAudio
constructor: ->
@_player = document.getElementsByClassName('js-audio')
$(document).on 'click', '.js-audio--play', @pla... | 76083 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @OsuAudio
constructor: ->
@_player = document.getElementsByClassName('js-audio')
$(document).on 'click', '.js-audio--play', @play
... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @OsuAudio
constructor: ->
@_player = document.getElementsByClassName('js-audio')
$(document).on 'click', '.js-audio--pla... |
[
{
"context": "###\nCopyright (c) 201{5,6} Jess Austin <jess.austin@gmail.com>\nReleased under MIT Licens",
"end": 38,
"score": 0.9997916221618652,
"start": 27,
"tag": "NAME",
"value": "Jess Austin"
},
{
"context": "###\nCopyright (c) 201{5,6} Jess Austin <jess.austin@gmail.com>\nRele... | sse-driver.coffee | jessaustin/cycle-sse-driver | 7 | ###
Copyright (c) 201{5,6} Jess Austin <jess.austin@gmail.com>
Released under MIT License
Cycle.js driver for Server-Sent Events, also known as EventSource.
###
{Observable: {create}} = require 'rx'
module.exports = (url) ->
source = new EventSource url
-> # this is a source not a sink, so we don't ... | 24802 | ###
Copyright (c) 201{5,6} <NAME> <<EMAIL>>
Released under MIT License
Cycle.js driver for Server-Sent Events, also known as EventSource.
###
{Observable: {create}} = require 'rx'
module.exports = (url) ->
source = new EventSource url
-> # this is a source not a sink, so we don't care about args
... | true | ###
Copyright (c) 201{5,6} PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Released under MIT License
Cycle.js driver for Server-Sent Events, also known as EventSource.
###
{Observable: {create}} = require 'rx'
module.exports = (url) ->
source = new EventSource url
-> # this is a source not a sink, so... |
[
{
"context": "teor.users.remove {}\n\n users = [\n email: \"test1@test.com\", password: \"test14\"\n ,\n email: \"test2@te",
"end": 171,
"score": 0.9999275207519531,
"start": 157,
"tag": "EMAIL",
"value": "test1@test.com"
},
{
"context": "ers = [\n email: \"test1... | tests/users-fixture.coffee | djhi/mysessions-web | 0 | if Meteor.isServer
# create a predictable set of players and score to test with
_resetUsers = ->
Meteor.users.remove {}
users = [
email: "test1@test.com", password: "test14"
,
email: "test2@test.com", password: "test14"
,
email: "test3@test.com", password: "test14"
,
ema... | 39136 | if Meteor.isServer
# create a predictable set of players and score to test with
_resetUsers = ->
Meteor.users.remove {}
users = [
email: "<EMAIL>", password: "<PASSWORD>"
,
email: "<EMAIL>", password: "<PASSWORD>"
,
email: "<EMAIL>", password: "<PASSWORD>"
,
email: "<EMA... | true | if Meteor.isServer
# create a predictable set of players and score to test with
_resetUsers = ->
Meteor.users.remove {}
users = [
email: "PI:EMAIL:<EMAIL>END_PI", password: "PI:PASSWORD:<PASSWORD>END_PI"
,
email: "PI:EMAIL:<EMAIL>END_PI", password: "PI:PASSWORD:<PASSWORD>END_PI"
,
... |
[
{
"context": "ffee\n# Copyright 2017 9165584 Canada Corporation <legal@fuzzy.ai>\n\nutil = require 'util'\n\nvows = require 'perjury'",
"end": 92,
"score": 0.9998857378959656,
"start": 78,
"tag": "EMAIL",
"value": "legal@fuzzy.ai"
}
] | test/lemonadestand-test.coffee | enterstudio/lemonade-stand | 2 | # test/lemonadestand-test.coffee
# Copyright 2017 9165584 Canada Corporation <legal@fuzzy.ai>
util = require 'util'
vows = require 'perjury'
assert = vows.assert
request = require 'request'
process.on 'uncaughtException', (err) ->
console.error err
vows
.describe('lemonade stand')
.addBatch
'When we load ... | 159993 | # test/lemonadestand-test.coffee
# Copyright 2017 9165584 Canada Corporation <<EMAIL>>
util = require 'util'
vows = require 'perjury'
assert = vows.assert
request = require 'request'
process.on 'uncaughtException', (err) ->
console.error err
vows
.describe('lemonade stand')
.addBatch
'When we load the mod... | true | # test/lemonadestand-test.coffee
# Copyright 2017 9165584 Canada Corporation <PI:EMAIL:<EMAIL>END_PI>
util = require 'util'
vows = require 'perjury'
assert = vows.assert
request = require 'request'
process.on 'uncaughtException', (err) ->
console.error err
vows
.describe('lemonade stand')
.addBatch
'When ... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998428821563721,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/visual.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 165808 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###\n\n# # ",
"end": 27,
"score": 0.9998856782913208,
"start": 13,
"tag": "NAME",
"value": "Branko Vukelic"
},
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###... | src/lib/model.coffee | foxbunny/ribcage-soap | 0 | ###!
@author Branko Vukelic <branko@brankovukelic.com>
@license MIT
###
# # Generic SOAP client model
#
# This model hooks the model layer to SOAP service in a generic way. It cannot
# be used as is, since using a SOAP service requires parsing the response.
#
# This model is in UMD format, and will create a `ribcageSo... | 94871 | ###!
@author <NAME> <<EMAIL>>
@license MIT
###
# # Generic SOAP client model
#
# This model hooks the model layer to SOAP service in a generic way. It cannot
# be used as is, since using a SOAP service requires parsing the response.
#
# This model is in UMD format, and will create a `ribcageSoap.Model` global if
# not... | true | ###!
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license MIT
###
# # Generic SOAP client model
#
# This model hooks the model layer to SOAP service in a generic way. It cannot
# be used as is, since using a SOAP service requires parsing the response.
#
# This model is in UMD format, and will create a `ribca... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.