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": "ort: 0xd00d\n uuid: 'peter'\n token: 'i-could-eat'\n privateKey: @privateKey\n appOctoblu",
"end": 1649,
"score": 0.985289454460144,
"start": 1638,
"tag": "PASSWORD",
"value": "i-could-eat"
}
] | node_modules/endo-core/test/integration/static-schemas-controller-spec.coffee | ratokeshi/endo-google-cloud-platform | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
path = require 'path'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
MockS... | 198154 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
path = require 'path'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
MockS... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
path = require 'path'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
MockS... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 508,
"score": 0.7673213481903076,
"start": 505,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/template/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/$LANG_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"... | 24589 | bcv_parser = require("../../js/$LANG_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"... | true | bcv_parser = require("../../js/$LANG_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"... |
[
{
"context": " ->\n User.updateProfile id,\n password: password\n .then ->\n console.log 'success'\n ",
"end": 550,
"score": 0.9985899329185486,
"start": 542,
"tag": "PASSWORD",
"value": "password"
}
] | frontend/scripts/main-controller.coffee | rao1219/Vedio | 0 | angular.module 'vsvs'
.controller 'MainController', [
'$rootScope'
'$scope'
'ngProgressLite'
'Session'
'User'
($rootScope, $scope, ngProgressLite, Session, User) ->
# TODO debugging
# TODO set session or get /session/me on start
if not Session.initialized
Session.updateStatus()
@curren... | 218408 | angular.module 'vsvs'
.controller 'MainController', [
'$rootScope'
'$scope'
'ngProgressLite'
'Session'
'User'
($rootScope, $scope, ngProgressLite, Session, User) ->
# TODO debugging
# TODO set session or get /session/me on start
if not Session.initialized
Session.updateStatus()
@curren... | true | angular.module 'vsvs'
.controller 'MainController', [
'$rootScope'
'$scope'
'ngProgressLite'
'Session'
'User'
($rootScope, $scope, ngProgressLite, Session, User) ->
# TODO debugging
# TODO set session or get /session/me on start
if not Session.initialized
Session.updateStatus()
@curren... |
[
{
"context": "esolution\n if @selectedHero.get('name') in ['Knight', 'Robot Walker'] # These are too big, so shrink",
"end": 14468,
"score": 0.9996364116668701,
"start": 14462,
"tag": "NAME",
"value": "Knight"
},
{
"context": " if @selectedHero.get('name') in ['Knight', 'R... | app/views/game-menu/InventoryView.coffee | enricpc/codecombat | 0 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
module.exports = c... | 70714 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
module.exports = c... | true | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
SpriteBuilder = require 'lib/sprites/SpriteBuilder'
module.exports = c... |
[
{
"context": "y UI datepicker editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 93,
"score": 0.9998753070831299,
"start": 77,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/datepicker.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI datepicker editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['unders... | 39595 | ###
Backbone-Forms jQuery UI datepicker editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'ba... | true | ###
Backbone-Forms jQuery UI datepicker editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['un... |
[
{
"context": " user: 1, product: 1 }, { unique: true })\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass User",
"end": 380,
"score": 0.9998679161071777,
"start": 368,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/UserProductSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing the relationship between an individual user and a product which they have permission to access.
@example MongoDB Collection
db.user.products
@example MongoDB Indexes
db.user.products.ensureIndex({ us... | 22597 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing the relationship between an individual user and a product which they have permission to access.
@example MongoDB Collection
db.user.products
@example MongoDB Indexes
db.user.products.ensureIndex({ us... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing the relationship between an individual user and a product which they have permission to access.
@example MongoDB Collection
db.user.products
@example MongoDB Indexes
db.user.products.ensureIndex({ us... |
[
{
"context": " (done) ->\n up.layer.root.context.rootKey = 'rootValue'\n\n up.layer.open(context: { overlayKey: 'ove",
"end": 208,
"score": 0.9848500490188599,
"start": 199,
"tag": "KEY",
"value": "rootValue"
},
{
"context": " up.layer.open(context: { overlayKey: 'overl... | spec/unpoly/classes/layer/base_spec.coffee | apollo13/unpoly | 1,129 | describe 'up.Layer', ->
beforeEach ->
up.motion.config.enabled = false
describe '#context', ->
it 'stores a per-layer context object', (done) ->
up.layer.root.context.rootKey = 'rootValue'
up.layer.open(context: { overlayKey: 'overlayValue' }).then (overlay) ->
expect(overlay.context... | 121164 | describe 'up.Layer', ->
beforeEach ->
up.motion.config.enabled = false
describe '#context', ->
it 'stores a per-layer context object', (done) ->
up.layer.root.context.rootKey = '<KEY>'
up.layer.open(context: { overlayKey: 'overlay<KEY>' }).then (overlay) ->
expect(overlay.context).to... | true | describe 'up.Layer', ->
beforeEach ->
up.motion.config.enabled = false
describe '#context', ->
it 'stores a per-layer context object', (done) ->
up.layer.root.context.rootKey = 'PI:KEY:<KEY>END_PI'
up.layer.open(context: { overlayKey: 'overlayPI:KEY:<KEY>END_PI' }).then (overlay) ->
... |
[
{
"context": "ach (done)->\n Model = createModel\n name: 'eventcheck'\n connection: createClient()\n schema:\n ",
"end": 202,
"score": 0.961986780166626,
"start": 192,
"tag": "USERNAME",
"value": "eventcheck"
},
{
"context": "reate', (inst)->\n assert inst.do... | ExampleZukaiRestApi/node_modules/zukai/test/events.coffee | radjivC/interaction-node-riak | 0 | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
describe 'Events', ->
beforeEach (done)->
Model = createModel
name: 'eventcheck'
connection: createClient()
schema:
properties:
name:
type: 'string'
... | 57532 | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
describe 'Events', ->
beforeEach (done)->
Model = createModel
name: 'eventcheck'
connection: createClient()
schema:
properties:
name:
type: 'string'
... | true | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
describe 'Events', ->
beforeEach (done)->
Model = createModel
name: 'eventcheck'
connection: createClient()
schema:
properties:
name:
type: 'string'
... |
[
{
"context": " HTTP Factory\n# @package Angular Modules\n# @author Kim Honrubia <dev.kimberlyhonrubia@gmail.com>\n###\n\nangular.mod",
"end": 93,
"score": 0.9998792409896851,
"start": 81,
"tag": "NAME",
"value": "Kim Honrubia"
},
{
"context": " @package Angular Modules\n# @author Kim... | resources/assets/coffee/common/angular_modules/httpFactory.coffee | kimberlyhonrubia/local | 0 | ###*
# HTTP Factory
#
# @class HTTP Factory
# @package Angular Modules
# @author Kim Honrubia <dev.kimberlyhonrubia@gmail.com>
###
angular.module('HttpFactory',[]).factory "HttpFactory",
['$http',
'$rootScope'
'$q'
($http,
$rootScope,
$q) ->
sendRequest : (DATA,URL,METH... | 55184 | ###*
# HTTP Factory
#
# @class HTTP Factory
# @package Angular Modules
# @author <NAME> <<EMAIL>>
###
angular.module('HttpFactory',[]).factory "HttpFactory",
['$http',
'$rootScope'
'$q'
($http,
$rootScope,
$q) ->
sendRequest : (DATA,URL,METHOD,Q_DEFER,isAJAX) ->
... | true | ###*
# HTTP Factory
#
# @class HTTP Factory
# @package Angular Modules
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
angular.module('HttpFactory',[]).factory "HttpFactory",
['$http',
'$rootScope'
'$q'
($http,
$rootScope,
$q) ->
sendRequest : (DATA,URL,METH... |
[
{
"context": "re.js')\n\npubnub = PUBNUB.init(\n subscribe_key : 'demo' # you should change this!\n publish_key : 'dem",
"end": 534,
"score": 0.9880419969558716,
"start": 530,
"tag": "KEY",
"value": "demo"
},
{
"context": "emo' # you should change this!\n publish_key : 'demo' ... | src/pubnub-redis-replicate.coffee | sunnygleason/pubnub-persistence-redis | 2 | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-replicate.coffee REDIS_ADDR CHANNEL_NAME
# - where REDIS_ADDR is the host:port
# - where CHANNEL_NAME is the Redis channel to receive updates
#
PUBNUB =... | 17227 | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-replicate.coffee REDIS_ADDR CHANNEL_NAME
# - where REDIS_ADDR is the host:port
# - where CHANNEL_NAME is the Redis channel to receive updates
#
PUBNUB =... | true | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-redis-replicate.coffee REDIS_ADDR CHANNEL_NAME
# - where REDIS_ADDR is the host:port
# - where CHANNEL_NAME is the Redis channel to receive updates
#
PUBNUB =... |
[
{
"context": " defined because this is nested document.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Airc",
"end": 387,
"score": 0.9998070001602173,
"start": 375,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/AircraftChecklistSectionSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
AircraftChecklistItemSchema = require('./AircraftChecklistItemSchema')
###
Nested Schema representing a specific checklist section.
@note This is a nested document and does not have a separate Mongo collection.
@note No indexes... | 214195 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
AircraftChecklistItemSchema = require('./AircraftChecklistItemSchema')
###
Nested Schema representing a specific checklist section.
@note This is a nested document and does not have a separate Mongo collection.
@note No indexes... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
AircraftChecklistItemSchema = require('./AircraftChecklistItemSchema')
###
Nested Schema representing a specific checklist section.
@note This is a nested document and does not have a separate Mongo collection.
@note No indexes... |
[
{
"context": "### \n Baseline is Roxanne Vitorillo's BalloonTracker3.html modified from original\n B",
"end": 36,
"score": 0.9987238645553589,
"start": 19,
"tag": "NAME",
"value": "Roxanne Vitorillo"
}
] | app/assets/javascripts/tracker.js.coffee | lnigra/PusherProblemTest | 1 | ###
Baseline is Roxanne Vitorillo's BalloonTracker3.html modified from original
BalloonTracker2.html during ISGC summer 2013 session.
Started with scripts extracted from HTML then converted to coffeescript using
js2coffee.org.
HTML extracted minus head and scripts and placed in
app/assets/views/tracker... | 12492 | ###
Baseline is <NAME>'s BalloonTracker3.html modified from original
BalloonTracker2.html during ISGC summer 2013 session.
Started with scripts extracted from HTML then converted to coffeescript using
js2coffee.org.
HTML extracted minus head and scripts and placed in
app/assets/views/tracker/index.html... | true | ###
Baseline is PI:NAME:<NAME>END_PI's BalloonTracker3.html modified from original
BalloonTracker2.html during ISGC summer 2013 session.
Started with scripts extracted from HTML then converted to coffeescript using
js2coffee.org.
HTML extracted minus head and scripts and placed in
app/assets/views/trac... |
[
{
"context": "ush(group)\n\n )\n return groups\n ).property('txo.@each.aa')\n\n\n fetchTxo: task(->\n return unless (accoun",
"end": 1483,
"score": 0.9079452753067017,
"start": 1471,
"tag": "EMAIL",
"value": "txo.@each.aa"
}
] | app/components/account/utxo-list.coffee | melis-wallet/melis-cm-client | 1 | import Component from '@ember/component'
import { inject as service } from '@ember/service'
import { get, set, setProperties } from '@ember/object'
import { A } from '@ember/array'
import { isEmpty, isPresent } from '@ember/utils'
import RSVP from 'rsvp'
import { task, taskGroup } from 'ember-concurrency'
import group... | 207348 | import Component from '@ember/component'
import { inject as service } from '@ember/service'
import { get, set, setProperties } from '@ember/object'
import { A } from '@ember/array'
import { isEmpty, isPresent } from '@ember/utils'
import RSVP from 'rsvp'
import { task, taskGroup } from 'ember-concurrency'
import group... | true | import Component from '@ember/component'
import { inject as service } from '@ember/service'
import { get, set, setProperties } from '@ember/object'
import { A } from '@ember/array'
import { isEmpty, isPresent } from '@ember/utils'
import RSVP from 'rsvp'
import { task, taskGroup } from 'ember-concurrency'
import group... |
[
{
"context": " spread operators and their expressions.\n# @author Kai Cataldo\n###\n\n'use strict'\n\n#-----------------------------",
"end": 115,
"score": 0.9998546838760376,
"start": 104,
"tag": "NAME",
"value": "Kai Cataldo"
}
] | src/tests/rules/rest-spread-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce spacing between rest and spread operators and their expressions.
# @author Kai Cataldo
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = re... | 18481 | ###*
# @fileoverview Enforce spacing between rest and spread operators and their expressions.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require... | true | ###*
# @fileoverview Enforce spacing between rest and spread operators and their expressions.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
... |
[
{
"context": "w.jaggy.options\n\nservice.config (jaggy)->\n key= 'jaggy:version'\n value= '0.1.17'\n localStorage.clear() if loca",
"end": 154,
"score": 0.9979895353317261,
"start": 141,
"tag": "KEY",
"value": "jaggy:version"
}
] | src/jaggy.angular.coffee | 59naga/Jaggy | 13 | Jaggy= require './jaggy'
service= angular.module 'jaggy',[]
service.constant 'jaggy',window.jaggy.options
service.config (jaggy)->
key= 'jaggy:version'
value= '0.1.17'
localStorage.clear() if localStorage.getItem(key) isnt value
localStorage.setItem key,value
service.directive 'jaggy',(
jaggy
$compile
)-... | 157889 | Jaggy= require './jaggy'
service= angular.module 'jaggy',[]
service.constant 'jaggy',window.jaggy.options
service.config (jaggy)->
key= '<KEY>'
value= '0.1.17'
localStorage.clear() if localStorage.getItem(key) isnt value
localStorage.setItem key,value
service.directive 'jaggy',(
jaggy
$compile
)->
scop... | true | Jaggy= require './jaggy'
service= angular.module 'jaggy',[]
service.constant 'jaggy',window.jaggy.options
service.config (jaggy)->
key= 'PI:KEY:<KEY>END_PI'
value= '0.1.17'
localStorage.clear() if localStorage.getItem(key) isnt value
localStorage.setItem key,value
service.directive 'jaggy',(
jaggy
$compi... |
[
{
"context": "\n ip: '1.1.1.1'\n user: 'root'\n ssh_key: 'overcast.key'\n ",
"end": 334,
"score": 0.6915724277496338,
"start": 330,
"tag": "USERNAME",
"value": "root"
},
{
"context": " user: 'root'\n ssh_key: 'overc... | test/unit/port.spec.coffee | skmezanul/overcast | 238 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
ssh = require('../../modules/ssh')
describe 'port', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'vm-01': {
name: 'vm-01'
ip: '1.1.1.1'
... | 129068 | cli = require('../../modules/cli')
utils = require('../../modules/utils')
ssh = require('../../modules/ssh')
describe 'port', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'vm-01': {
name: 'vm-01'
ip: '1.1.1.1'
... | true | cli = require('../../modules/cli')
utils = require('../../modules/utils')
ssh = require('../../modules/ssh')
describe 'port', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
dummy: {
instances: {
'vm-01': {
name: 'vm-01'
ip: '1.1.1.1'
... |
[
{
"context": "\"guest\"\n componentUser: \"guest\"\n password: \"guest\"\n heartbeat: 10\n vhost: \"/\"\n algolia =\n ",
"end": 1399,
"score": 0.9995433688163757,
"start": 1394,
"tag": "PASSWORD",
"value": "guest"
},
{
"context": "ons.serviceHost}\"\n port: '5432'\n... | config/credentials.default.coffee | lionheart1022/koding | 0 | module.exports = (options) ->
kiteHome = "$KONFIG_PROJECTROOT/generated/kite_home/koding"
kodingdev_master_2016_05 =
accessKeyId: ""
secretAccessKey: ""
awsKeys =
kodingdev_master_2016_05: kodingdev_master_2016_05
# s3 full access
worker_terraformer: kodingdev_master_2016_05
# s3 put onl... | 205825 | module.exports = (options) ->
kiteHome = "$KONFIG_PROJECTROOT/generated/kite_home/koding"
kodingdev_master_2016_05 =
accessKeyId: ""
secretAccessKey: ""
awsKeys =
kodingdev_master_2016_05: kodingdev_master_2016_05
# s3 full access
worker_terraformer: kodingdev_master_2016_05
# s3 put onl... | true | module.exports = (options) ->
kiteHome = "$KONFIG_PROJECTROOT/generated/kite_home/koding"
kodingdev_master_2016_05 =
accessKeyId: ""
secretAccessKey: ""
awsKeys =
kodingdev_master_2016_05: kodingdev_master_2016_05
# s3 full access
worker_terraformer: kodingdev_master_2016_05
# s3 put onl... |
[
{
"context": " service: 'facebook'\n username: 'lessthan3'\n }\n {\n service: 'tw",
"end": 274,
"score": 0.9995625019073486,
"start": 265,
"tag": "USERNAME",
"value": "lessthan3"
},
{
"context": " service: 'twitter'\n us... | bootstrap/app/setup.cson | lessthan3/dobi | 5 | {
site:
collections:
projects:
slug: 'projects'
name: 'My First Dobi App'
regions: {
header:
logo: ''
footer:
copyright: ''
social: [
{
service: 'facebook'
username: 'lessthan3'
}
{
service:... | 175659 | {
site:
collections:
projects:
slug: 'projects'
name: 'My First Dobi App'
regions: {
header:
logo: ''
footer:
copyright: ''
social: [
{
service: 'facebook'
username: 'lessthan3'
}
{
service:... | true | {
site:
collections:
projects:
slug: 'projects'
name: 'My First Dobi App'
regions: {
header:
logo: ''
footer:
copyright: ''
social: [
{
service: 'facebook'
username: 'lessthan3'
}
{
service:... |
[
{
"context": "create\", ->\n\t\t\tlayer = new Layer\n\t\t\tlayer.name = \"Test\"\n\t\t\tlayer.name.should.equal \"Test\"\n\t\t\tlayer._elem",
"end": 5183,
"score": 0.6713279485702515,
"start": 5179,
"tag": "NAME",
"value": "Test"
},
{
"context": "\t\tlayer.name = \"Test\"\n\t\t\tlaye... | test/tests/LayerTest.coffee | HydAu/FramerJS | 0 | assert = require "assert"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should set defaults", ->
Framer.Defaults =
Layer:
width: 200
height: 200
layer = new Layer()
layer.wid... | 201303 | assert = require "assert"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should set defaults", ->
Framer.Defaults =
Layer:
width: 200
height: 200
layer = new Layer()
layer.wid... | true | assert = require "assert"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should set defaults", ->
Framer.Defaults =
Layer:
width: 200
height: 200
layer = new Layer()
layer.wid... |
[
{
"context": "name = \"Michelangelo\"\nmask = \"orange\"\nweapon = \"nunchuks\"\nturtle = {na",
"end": 20,
"score": 0.9996201992034912,
"start": 8,
"tag": "NAME",
"value": "Michelangelo"
}
] | documentation/examples/objects_shorthand.coffee | Trott/coffeescript | 8,728 | name = "Michelangelo"
mask = "orange"
weapon = "nunchuks"
turtle = {name, mask, weapon}
output = "#{turtle.name} wears an #{turtle.mask} mask. Watch out for his #{turtle.weapon}!"
| 210594 | name = "<NAME>"
mask = "orange"
weapon = "nunchuks"
turtle = {name, mask, weapon}
output = "#{turtle.name} wears an #{turtle.mask} mask. Watch out for his #{turtle.weapon}!"
| true | name = "PI:NAME:<NAME>END_PI"
mask = "orange"
weapon = "nunchuks"
turtle = {name, mask, weapon}
output = "#{turtle.name} wears an #{turtle.mask} mask. Watch out for his #{turtle.weapon}!"
|
[
{
"context": "# APP INFO ###\n\tname: 'Basic Gridfw app'\n\temail: 'contact@gridfw.com'\n\tauthor: 'Gridfw team'\n\t### APP STATUS ###\n\t# mo",
"end": 111,
"score": 0.9999287724494934,
"start": 93,
"tag": "EMAIL",
"value": "contact@gridfw.com"
},
{
"context": "app'\n\temail: 'contac... | basic/assets/gridfw-config.coffee | gridfw/gridfw-tests | 0 | ###*
* Config file
###
module.exports=
### APP INFO ###
name: 'Basic Gridfw app'
email: 'contact@gridfw.com'
author: 'Gridfw team'
### APP STATUS ###
# mode
isProd: '<%= isProd %>'
### PLUGINS ###
plugins:
# # dev plugins
<% if(!isProd){ %>
devTools:
require: '../../../dev-tools'
errorHandling:
... | 115914 | ###*
* Config file
###
module.exports=
### APP INFO ###
name: 'Basic Gridfw app'
email: '<EMAIL>'
author: 'Gridfw <NAME>'
### APP STATUS ###
# mode
isProd: '<%= isProd %>'
### PLUGINS ###
plugins:
# # dev plugins
<% if(!isProd){ %>
devTools:
require: '../../../dev-tools'
errorHandling:
require: ... | true | ###*
* Config file
###
module.exports=
### APP INFO ###
name: 'Basic Gridfw app'
email: 'PI:EMAIL:<EMAIL>END_PI'
author: 'Gridfw PI:NAME:<NAME>END_PI'
### APP STATUS ###
# mode
isProd: '<%= isProd %>'
### PLUGINS ###
plugins:
# # dev plugins
<% if(!isProd){ %>
devTools:
require: '../../../dev-tools'
... |
[
{
"context": "s/sign_in\", user: { email: $scope.email, password: $scope.password })\n request.success (data) ->\n $scope.use",
"end": 718,
"score": 0.9600969552993774,
"start": 703,
"tag": "PASSWORD",
"value": "$scope.password"
}
] | app/assets/javascripts/angularjs/orders.js.coffee | richard-ma/19wu | 252 | @OrdersCtrl = ['$scope', '$http', '$window', ($scope, $http, $window) ->
$scope.disabled = $scope.event.started
$scope.user_form = 'register'
$scope.user_wants_invoice = true
$scope.errors = {}
$scope.use_login_form = ->
$scope.user_form = 'login'
$scope.use_register_form = ->
$scope.user_form = '... | 19799 | @OrdersCtrl = ['$scope', '$http', '$window', ($scope, $http, $window) ->
$scope.disabled = $scope.event.started
$scope.user_form = 'register'
$scope.user_wants_invoice = true
$scope.errors = {}
$scope.use_login_form = ->
$scope.user_form = 'login'
$scope.use_register_form = ->
$scope.user_form = '... | true | @OrdersCtrl = ['$scope', '$http', '$window', ($scope, $http, $window) ->
$scope.disabled = $scope.event.started
$scope.user_form = 'register'
$scope.user_wants_invoice = true
$scope.errors = {}
$scope.use_login_form = ->
$scope.user_form = 'login'
$scope.use_register_form = ->
$scope.user_form = '... |
[
{
"context": "an set strings', ->\n strings = { 'Hello': 'Hallo' }\n assert.deepEqual(catalog.strings, {})\n",
"end": 239,
"score": 0.7116603255271912,
"start": 234,
"tag": "NAME",
"value": "Hallo"
},
{
"context": "trieve strings', ->\n strings = { 'Hello': 'Hall... | test/unit/catalog.coffee | pungme/angular-gettext | 1 | assert = chai.assert
describe 'Catalog', ->
catalog = null
beforeEach module('gettext')
beforeEach inject (gettextCatalog) ->
catalog = gettextCatalog
it 'Can set strings', ->
strings = { 'Hello': 'Hallo' }
assert.deepEqual(catalog.strings, {})
catalog.setStrings('nl'... | 49673 | assert = chai.assert
describe 'Catalog', ->
catalog = null
beforeEach module('gettext')
beforeEach inject (gettextCatalog) ->
catalog = gettextCatalog
it 'Can set strings', ->
strings = { 'Hello': '<NAME>' }
assert.deepEqual(catalog.strings, {})
catalog.setStrings('nl... | true | assert = chai.assert
describe 'Catalog', ->
catalog = null
beforeEach module('gettext')
beforeEach inject (gettextCatalog) ->
catalog = gettextCatalog
it 'Can set strings', ->
strings = { 'Hello': 'PI:NAME:<NAME>END_PI' }
assert.deepEqual(catalog.strings, {})
catalog.... |
[
{
"context": "id', (done) ->\n product_doc =\n name: \"Cake\"\n sku: \"NOTalid090\"\n unit_price: 12",
"end": 2617,
"score": 0.7648636102676392,
"start": 2613,
"tag": "NAME",
"value": "Cake"
},
{
"context": "id', (done) ->\n product_doc =\n name:... | app_tests/client/products.app-tests.coffee | Phaze1D/SA-Units | 0 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
OrganizationModule = require '../../imports/api/collection... | 108962 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
OrganizationModule = require '../../imports/api/collection... | true | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
OrganizationModule = require '../../imports/api/collection... |
[
{
"context": "> f is 'markup/home']\n args: [ ['Michael', 'Angelo' ] ]\n ]\n ]\n\n dev:\n",
"end": 1497,
"score": 0.999852180480957,
"start": 1490,
"tag": "NAME",
"value": "Michael"
},
{
"context": "kup/home']\n args: [ ['Michael... | Gruntfile.coffee | anodynos/urequire-example-testbed | 0 | module.exports = (grunt) ->
gruntConfig =
urequire:
_all:
dependencies:
paths: bower: true
imports: lodash: ['_']
# 'when/callbacks': 'whenCallbacks'
clean: true
template: banner: true
debugLevel: 0
#verbose:true
_defaults: #for li... | 197629 | module.exports = (grunt) ->
gruntConfig =
urequire:
_all:
dependencies:
paths: bower: true
imports: lodash: ['_']
# 'when/callbacks': 'whenCallbacks'
clean: true
template: banner: true
debugLevel: 0
#verbose:true
_defaults: #for li... | true | module.exports = (grunt) ->
gruntConfig =
urequire:
_all:
dependencies:
paths: bower: true
imports: lodash: ['_']
# 'when/callbacks': 'whenCallbacks'
clean: true
template: banner: true
debugLevel: 0
#verbose:true
_defaults: #for li... |
[
{
"context": "# Alan Smith\n# MIT License\n# Updated 23-10-2016\n# github.com/s",
"end": 12,
"score": 0.9998237490653992,
"start": 2,
"tag": "NAME",
"value": "Alan Smith"
},
{
"context": "h\n# MIT License\n# Updated 23-10-2016\n# github.com/smithalan92 \n\n# URL patterns we want the ... | src/main.coffee | smithalan92/chrome-imageoid | 0 | # Alan Smith
# MIT License
# Updated 23-10-2016
# github.com/smithalan92
# URL patterns we want the context menu to appear for
targetUrls = [
"http://reddit.com/r/*"
"http://www.reddit.com/r/*"
"https://reddit.com/r/*"
"https://www.reddit.com/r/*"
]
# Context Menu Title
contextMenuTitle = 'Open on Imagoid'
# ... | 153477 | # <NAME>
# MIT License
# Updated 23-10-2016
# github.com/smithalan92
# URL patterns we want the context menu to appear for
targetUrls = [
"http://reddit.com/r/*"
"http://www.reddit.com/r/*"
"https://reddit.com/r/*"
"https://www.reddit.com/r/*"
]
# Context Menu Title
contextMenuTitle = 'Open on Imagoid'
# Cont... | true | # PI:NAME:<NAME>END_PI
# MIT License
# Updated 23-10-2016
# github.com/smithalan92
# URL patterns we want the context menu to appear for
targetUrls = [
"http://reddit.com/r/*"
"http://www.reddit.com/r/*"
"https://reddit.com/r/*"
"https://www.reddit.com/r/*"
]
# Context Menu Title
contextMenuTitle = 'Open on I... |
[
{
"context": " metric\n ws.write\n key: \"metrics:#{id}:#{timestamp}\"\n value: value\n ws.end()\n\n ",
"end": 1039,
"score": 0.5461087226867676,
"start": 1038,
"tag": "KEY",
"value": "#"
}
] | src/metrics.coffee | steven9neuf/ast_project | 0 | module.exports = (db) ->
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "metrics:", (err, data) ->
metrics = {
metrics: []
}
rs = db.createReadStream()
rs.on 'data' , (data) ... | 215967 | module.exports = (db) ->
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "metrics:", (err, data) ->
metrics = {
metrics: []
}
rs = db.createReadStream()
rs.on 'data' , (data) ... | true | module.exports = (db) ->
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "metrics:", (err, data) ->
metrics = {
metrics: []
}
rs = db.createReadStream()
rs.on 'data' , (data) ... |
[
{
"context": "Item and selectedItem._id\n\t\tsidebar_filter_key = \"organizations\"\n\t\tsidebarFilter = [ sidebar_filter_key, \"=\", sel",
"end": 116,
"score": 0.9958474040031433,
"start": 103,
"tag": "KEY",
"value": "organizations"
},
{
"context": "时,特殊处理name_field_key为name字段\n\t\t... | creator/packages/steedos-creator/client/views/grid_sidebar_organizations.coffee | steedos/object-server | 10 | setGridSidebarFilters = (selectedItem)->
if selectedItem and selectedItem._id
sidebar_filter_key = "organizations"
sidebarFilter = [ sidebar_filter_key, "=", selectedItem._id ]
Session.set "grid_sidebar_filters", sidebarFilter
else
Session.set "grid_sidebar_filters", null
resetFilters = ()->
Session.set("st... | 56718 | setGridSidebarFilters = (selectedItem)->
if selectedItem and selectedItem._id
sidebar_filter_key = "<KEY>"
sidebarFilter = [ sidebar_filter_key, "=", selectedItem._id ]
Session.set "grid_sidebar_filters", sidebarFilter
else
Session.set "grid_sidebar_filters", null
resetFilters = ()->
Session.set("standard_q... | true | setGridSidebarFilters = (selectedItem)->
if selectedItem and selectedItem._id
sidebar_filter_key = "PI:KEY:<KEY>END_PI"
sidebarFilter = [ sidebar_filter_key, "=", selectedItem._id ]
Session.set "grid_sidebar_filters", sidebarFilter
else
Session.set "grid_sidebar_filters", null
resetFilters = ()->
Session.se... |
[
{
"context": "orked from the origina [Docco](https://github.com/jashkenas/docco) project, updated with abandon*\n#\n# **Docco",
"end": 65,
"score": 0.9996953010559082,
"start": 56,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "der.\n#\n# The [source for Docco](http://githu... | node_modules/docco-husky/src/docco.coffee | timmyg/pedalwagon-api | 0 | # > *forked from the origina [Docco](https://github.com/jashkenas/docco) project, updated with abandon*
#
# **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML
# that displays your comments alongside your code. Comments are passed through
# [Markdown... | 114726 | # > *forked from the origina [Docco](https://github.com/jashkenas/docco) project, updated with abandon*
#
# **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML
# that displays your comments alongside your code. Comments are passed through
# [Markdown... | true | # > *forked from the origina [Docco](https://github.com/jashkenas/docco) project, updated with abandon*
#
# **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML
# that displays your comments alongside your code. Comments are passed through
# [Markdown... |
[
{
"context": " require('../index')\n\n\nlome =\n admin1Name: \"Maritime\"\n countryName: \"Togolese Republic\"\n featureClas",
"end": 479,
"score": 0.6061056852340698,
"start": 476,
"tag": "NAME",
"value": "ime"
},
{
"context": " \"population\": 88485,\n \"admin2Name\"... | imports/incident-resolution/test/activeCases.test.coffee | ecohealthalliance/eidr-connect | 1 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
LocationTree,
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
dail... | 154503 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
LocationTree,
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
dail... | true | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
LocationTree,
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
dail... |
[
{
"context": " ldap:\n binddn: ldap.binddn\n passwd: ldap.passwd\n uri: ldap.uri\n $ssh: ssh\n , ->\n ",
"end": 296,
"score": 0.9982772469520569,
"start": 285,
"tag": "PASSWORD",
"value": "ldap.passwd"
},
{
"context": "=nikita,#{ldap.suffix_dn}\"\n ... | packages/ldap/test/modify.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap_user
describe 'ldap.modify', ->
they 'entry with password', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: ldap.passwd
uri: ldap.uri
... | 200925 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap_user
describe 'ldap.modify', ->
they 'entry with password', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: <PASSWORD>
uri: ldap.uri
... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap_user
describe 'ldap.modify', ->
they 'entry with password', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: PI:PASSWORD:<PASSWORD>END_PI
... |
[
{
"context": "eDetection extends App.TrackFilters.Base\n name: 'Frei Chen Edge Detection'\n filterClass: WAGNER.FreiC",
"end": 87,
"score": 0.7083620429039001,
"start": 84,
"tag": "NAME",
"value": "Fre"
}
] | public-source/javascripts/models/trackFilters/freiChenEdgeDetection.coffee | lekevicius/vijual | 1 | class App.TrackFilters.FreiChenEdgeDetection extends App.TrackFilters.Base
name: 'Frei Chen Edge Detection'
filterClass: WAGNER.FreiChenEdgeDetectionPass
| 107147 | class App.TrackFilters.FreiChenEdgeDetection extends App.TrackFilters.Base
name: '<NAME>i Chen Edge Detection'
filterClass: WAGNER.FreiChenEdgeDetectionPass
| true | class App.TrackFilters.FreiChenEdgeDetection extends App.TrackFilters.Base
name: 'PI:NAME:<NAME>END_PIi Chen Edge Detection'
filterClass: WAGNER.FreiChenEdgeDetectionPass
|
[
{
"context": "# Helper of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nassert = require \"assert\"\ncr",
"end": 37,
"score": 0.9996564984321594,
"start": 29,
"tag": "USERNAME",
"value": "dreampuf"
},
{
"context": "# Helper of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nass... | helper.coffee | dreampuf/banajs | 3 | # Helper of BanaJs
# author: dreampuf(soddyque@gmail.com)
assert = require "assert"
crypto = require "crypto"
http = require "http"
https = require "https"
url = require "url"
md = require("node-markdown").Markdown
libxml = require "libxmljs"
request = require "request"
fs = require "fs"
helper = module.exports =
... | 119430 | # Helper of BanaJs
# author: dreampuf(<EMAIL>)
assert = require "assert"
crypto = require "crypto"
http = require "http"
https = require "https"
url = require "url"
md = require("node-markdown").Markdown
libxml = require "libxmljs"
request = require "request"
fs = require "fs"
helper = module.exports =
sha1: (dat... | true | # Helper of BanaJs
# author: dreampuf(PI:EMAIL:<EMAIL>END_PI)
assert = require "assert"
crypto = require "crypto"
http = require "http"
https = require "https"
url = require "url"
md = require("node-markdown").Markdown
libxml = require "libxmljs"
request = require "request"
fs = require "fs"
helper = module.exports ... |
[
{
"context": "@memoize 'wingY4', -> - (-@wingY2() + @la())\n\n # DIEDERICH\n M_Prof: @memoize 'M_Prof', -> @cruisingSpeed() ",
"end": 2876,
"score": 0.9892868995666504,
"start": 2867,
"tag": "NAME",
"value": "DIEDERICH"
}
] | app/js/lib/apps/liftDistribution/models/calculator.coffee | velaluqa/aircraft-construction-apps | 0 | # coding: utf-8
ILR.LiftDistribution ?= {}
ILR.LiftDistribution.Models ?= {}
class ILR.LiftDistribution.Models.Calculator extends ILR.Models.BaseCalculator
curveGroups: [['gamma', 'gamma_a', 'gamma_b', 'elliptic', 'C_a'], ['C_A'], ['geometry']]
COF = [
[ 2.1511 , 0.009 , -7.3509 , 7.3094 , -2.3048, -0.4104... | 209093 | # coding: utf-8
ILR.LiftDistribution ?= {}
ILR.LiftDistribution.Models ?= {}
class ILR.LiftDistribution.Models.Calculator extends ILR.Models.BaseCalculator
curveGroups: [['gamma', 'gamma_a', 'gamma_b', 'elliptic', 'C_a'], ['C_A'], ['geometry']]
COF = [
[ 2.1511 , 0.009 , -7.3509 , 7.3094 , -2.3048, -0.4104... | true | # coding: utf-8
ILR.LiftDistribution ?= {}
ILR.LiftDistribution.Models ?= {}
class ILR.LiftDistribution.Models.Calculator extends ILR.Models.BaseCalculator
curveGroups: [['gamma', 'gamma_a', 'gamma_b', 'elliptic', 'C_a'], ['C_A'], ['geometry']]
COF = [
[ 2.1511 , 0.009 , -7.3509 , 7.3094 , -2.3048, -0.4104... |
[
{
"context": "()\n params = api_params()\n params.password = password\n post_api(dfd, op_type, params).done (response",
"end": 3937,
"score": 0.9993811845779419,
"start": 3929,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/ec2_view_model.js.coffee | kazumax55/AWSSimpleConsole | 0 | AWSSC = window.AWSSC = window.AWSSC ? {}
AWSSC.EC2ViewModel = (parent, in_data) ->
self = {}
self.data = ko.observable in_data
self.region = in_data.region
self.account_name = in_data.account_name
self.name = in_data.tags.Name
api_params = ->
region: self.region
account_name: self.account_name
p... | 47753 | AWSSC = window.AWSSC = window.AWSSC ? {}
AWSSC.EC2ViewModel = (parent, in_data) ->
self = {}
self.data = ko.observable in_data
self.region = in_data.region
self.account_name = in_data.account_name
self.name = in_data.tags.Name
api_params = ->
region: self.region
account_name: self.account_name
p... | true | AWSSC = window.AWSSC = window.AWSSC ? {}
AWSSC.EC2ViewModel = (parent, in_data) ->
self = {}
self.data = ko.observable in_data
self.region = in_data.region
self.account_name = in_data.account_name
self.name = in_data.tags.Name
api_params = ->
region: self.region
account_name: self.account_name
p... |
[
{
"context": "s MyFirstPlugin\n constructor: () ->\n @name = 'My First Plugin'\n @response = null\n\n handle: (auth, spotify, ",
"end": 69,
"score": 0.7327477335929871,
"start": 54,
"tag": "NAME",
"value": "My First Plugin"
},
{
"context": "l be sent.\n @response = \"Thi... | examples/my_first_plugin.coffee | leek/crispyfi | 127 | class MyFirstPlugin
constructor: () ->
@name = 'My First Plugin'
@response = null
handle: (auth, spotify, volume) ->
if auth.command == 'plugin'
# This will be replied to the channel. If nothing is set, no reply will be sent.
@response = "This is a reply from #{@name}."
return true
... | 7338 | class MyFirstPlugin
constructor: () ->
@name = '<NAME>'
@response = null
handle: (auth, spotify, volume) ->
if auth.command == 'plugin'
# This will be replied to the channel. If nothing is set, no reply will be sent.
@response = "This is a reply from #{@name}."
return true
else
... | true | class MyFirstPlugin
constructor: () ->
@name = 'PI:NAME:<NAME>END_PI'
@response = null
handle: (auth, spotify, volume) ->
if auth.command == 'plugin'
# This will be replied to the channel. If nothing is set, no reply will be sent.
@response = "This is a reply from #{@name}."
return tr... |
[
{
"context": "ey}) ->\n collection ?= 'videos'\n key ?= 'videoUrl'\n (files, metalsmith, done) ->\n collections =",
"end": 139,
"score": 0.8554819822311401,
"start": 131,
"tag": "KEY",
"value": "videoUrl"
}
] | .metalsmith/plugins/video-scraper.coffee | leeola/kdlearn | 40 | #
# # Video Scrape
#
clone = require 'clone'
module.exports = ({collection, key}) ->
collection ?= 'videos'
key ?= 'videoUrl'
(files, metalsmith, done) ->
collections = metalsmith.metadata().collections
if not collections?
return console.warn 'videoScraper should be run after collections(... | 128877 | #
# # Video Scrape
#
clone = require 'clone'
module.exports = ({collection, key}) ->
collection ?= 'videos'
key ?= '<KEY>'
(files, metalsmith, done) ->
collections = metalsmith.metadata().collections
if not collections?
return console.warn 'videoScraper should be run after collections()'
... | true | #
# # Video Scrape
#
clone = require 'clone'
module.exports = ({collection, key}) ->
collection ?= 'videos'
key ?= 'PI:KEY:<KEY>END_PI'
(files, metalsmith, done) ->
collections = metalsmith.metadata().collections
if not collections?
return console.warn 'videoScraper should be run after co... |
[
{
"context": "_map'\n\ndescribe \"filterMap\", ->\n data = imm\n \"Samus (e2)\":\n animation: [\n { type: \"animat",
"end": 315,
"score": 0.6099522709846497,
"start": 310,
"tag": "NAME",
"value": "Samus"
},
{
"context": " \"animation\", cid: \"c1\", eid: \"e2\", spri... | spec/utils/filter_map_spec.coffee | dcrosby42/metroid-clone | 5 | Immutable = require 'immutable'
imm = Immutable.fromJS
{Map,List,Set} = Immutable
chai = require('chai')
expect = chai.expect
assert = chai.assert
expectIs = require('../helpers/expect_helpers').expectIs
filterMap = require '../../src/javascript/utils/filter_map'
describe "filterMap", ->
data = imm
"Samus (e2)... | 1856 | Immutable = require 'immutable'
imm = Immutable.fromJS
{Map,List,Set} = Immutable
chai = require('chai')
expect = chai.expect
assert = chai.assert
expectIs = require('../helpers/expect_helpers').expectIs
filterMap = require '../../src/javascript/utils/filter_map'
describe "filterMap", ->
data = imm
"<NAME> (e2... | true | Immutable = require 'immutable'
imm = Immutable.fromJS
{Map,List,Set} = Immutable
chai = require('chai')
expect = chai.expect
assert = chai.assert
expectIs = require('../helpers/expect_helpers').expectIs
filterMap = require '../../src/javascript/utils/filter_map'
describe "filterMap", ->
data = imm
"PI:NAME:<N... |
[
{
"context": "ew text\n\tmyText = new Text\n\t\twidth: auto\n\t\ttext: 'Hello'\n\t\timage: 'http://goo.gl/TY8mx3'\n\t\timagePosition:",
"end": 189,
"score": 0.9980528354644775,
"start": 184,
"tag": "NAME",
"value": "Hello"
},
{
"context": ".io/about-svg/assets/img/parts/fire.gif'\n\t... | test/dev/index.coffee | heschel6/Magic_Experiment | 201 |
App.run ->
Import 'dss'
Font 'Montserrat', '400, 700'
# Choose device to emulate
App.setDevice Device.iPhoneGold
# Create a new text
myText = new Text
width: auto
text: 'Hello'
image: 'http://goo.gl/TY8mx3'
imagePosition: center
imageScale: 1
backgroundClip: text
fontSize: 120
fontWeight: 700
... | 211939 |
App.run ->
Import 'dss'
Font 'Montserrat', '400, 700'
# Choose device to emulate
App.setDevice Device.iPhoneGold
# Create a new text
myText = new Text
width: auto
text: '<NAME>'
image: 'http://goo.gl/TY8mx3'
imagePosition: center
imageScale: 1
backgroundClip: text
fontSize: 120
fontWeight: 700... | true |
App.run ->
Import 'dss'
Font 'Montserrat', '400, 700'
# Choose device to emulate
App.setDevice Device.iPhoneGold
# Create a new text
myText = new Text
width: auto
text: 'PI:NAME:<NAME>END_PI'
image: 'http://goo.gl/TY8mx3'
imagePosition: center
imageScale: 1
backgroundClip: text
fontSize: 120
f... |
[
{
"context": "e.toJSON\", ->\n json = App.User.new(firstName: \"Lance\").toJSON()\n \n expected =\n id: ",
"end": 163,
"score": 0.999642014503479,
"start": 158,
"tag": "NAME",
"value": "Lance"
},
{
"context": " undefined,\n firstName: 'L... | test/cases/model/shared/serializationTest.coffee | jivagoalves/tower | 1 | scope = null
criteria = null
user = null
describe 'Tower.ModelSerialization', ->
test "instance.toJSON", ->
json = App.User.new(firstName: "Lance").toJSON()
expected =
id: undefined,
createdAt: undefined,
likes: 0,
tags: ... | 46253 | scope = null
criteria = null
user = null
describe 'Tower.ModelSerialization', ->
test "instance.toJSON", ->
json = App.User.new(firstName: "<NAME>").toJSON()
expected =
id: undefined,
createdAt: undefined,
likes: 0,
tags: ... | true | scope = null
criteria = null
user = null
describe 'Tower.ModelSerialization', ->
test "instance.toJSON", ->
json = App.User.new(firstName: "PI:NAME:<NAME>END_PI").toJSON()
expected =
id: undefined,
createdAt: undefined,
likes: 0,
... |
[
{
"context": "1,\n \"vm_forwarding_email\" : \"sridhar.2@choochee.com\",\n \"vm_forwarding_enabled\" :",
"end": 1017,
"score": 0.9999263286590576,
"start": 995,
"tag": "EMAIL",
"value": "sridhar.2@choochee.com"
},
{
"context": ",\n ... | models/group/fixture/get_groups.coffee | signonsridhar/sridhar_hbs | 0 | define(['can_fixture'], (can)->
can.fixture('GET /bss/group?action=getgroups', (req, resp)->
return `{ "response" : { "execution_time" : 198,
"response_code" : 100,
"response_data" : { "call_groups" : [ { "allow_member_forward" : false,
"enable_custom_greeting" : false,
... | 128615 | define(['can_fixture'], (can)->
can.fixture('GET /bss/group?action=getgroups', (req, resp)->
return `{ "response" : { "execution_time" : 198,
"response_code" : 100,
"response_data" : { "call_groups" : [ { "allow_member_forward" : false,
"enable_custom_greeting" : false,
... | true | define(['can_fixture'], (can)->
can.fixture('GET /bss/group?action=getgroups', (req, resp)->
return `{ "response" : { "execution_time" : 198,
"response_code" : 100,
"response_data" : { "call_groups" : [ { "allow_member_forward" : false,
"enable_custom_greeting" : false,
... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998380541801453,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Unordered/RuleMap.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 29887 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.6181449890136719,
"start": 25,
"tag": "NAME",
"value": "io"
}
] | lib/operations.coffee | resin-io/resin-devices-operations | 2 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 123537 | ###
Copyright 2016 Resin.<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, software
di... | true | ###
Copyright 2016 Resin.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 writin... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998481273651123,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/applied/bower.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... | 104863 | ###
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": "data\n do (property, val) =>\n key = @concatFieldName scope, property\n input = @$fiel",
"end": 6136,
"score": 0.9751220941543579,
"start": 6129,
"tag": "KEY",
"value": "@concat"
}
] | source/joosy/form.coffee | alexshuhin/joosy | 0 | #
# AJAXifies form including file uploads and stuff. Built on top of jQuery.Form.
#
# Joosy.Form automatically cares of form validation highlights. It can
# read common server error responses and add .field_with_errors class to proper
# field.
#
# If you don't have resource associated with form (#fill), it will try to ... | 108513 | #
# AJAXifies form including file uploads and stuff. Built on top of jQuery.Form.
#
# Joosy.Form automatically cares of form validation highlights. It can
# read common server error responses and add .field_with_errors class to proper
# field.
#
# If you don't have resource associated with form (#fill), it will try to ... | true | #
# AJAXifies form including file uploads and stuff. Built on top of jQuery.Form.
#
# Joosy.Form automatically cares of form validation highlights. It can
# read common server error responses and add .field_with_errors class to proper
# field.
#
# If you don't have resource associated with form (#fill), it will try to ... |
[
{
"context": "s _.startsWith header, 'x-meshblu-'\n key = _.camelCase( _.replace(header, \"x-meshblu-\", '' ))\n newM",
"end": 772,
"score": 0.773292064666748,
"start": 763,
"tag": "KEY",
"value": "camelCase"
},
{
"context": "lu-'\n key = _.camelCase( _.replace(header,... | src/helpers/job-to-http.coffee | octoblu/meshblu-core-protocol-adapter-http-streaming | 1 | _ = require 'lodash'
MeshbluAuthParser = require '../helpers/meshblu-auth-parser'
class JobToHttp
constructor: () ->
@authParser = new MeshbluAuthParser
httpToJob: ({jobType, request, toUuid, data}) ->
data ?= request.body
userMetadata = @getMetadataFromHeaders request.headers
auth = @authParser.p... | 208185 | _ = require 'lodash'
MeshbluAuthParser = require '../helpers/meshblu-auth-parser'
class JobToHttp
constructor: () ->
@authParser = new MeshbluAuthParser
httpToJob: ({jobType, request, toUuid, data}) ->
data ?= request.body
userMetadata = @getMetadataFromHeaders request.headers
auth = @authParser.p... | true | _ = require 'lodash'
MeshbluAuthParser = require '../helpers/meshblu-auth-parser'
class JobToHttp
constructor: () ->
@authParser = new MeshbluAuthParser
httpToJob: ({jobType, request, toUuid, data}) ->
data ?= request.body
userMetadata = @getMetadataFromHeaders request.headers
auth = @authParser.p... |
[
{
"context": "165 lbs'\n nada: null\n\n model.set 'name', 'John'\n model.set 'age', 22\n model.set 'height', ",
"end": 1748,
"score": 0.9982359409332275,
"start": 1744,
"tag": "NAME",
"value": "John"
},
{
"context": "175 lbs'\n\n expected = 'falsetrue ' +\n '<p>... | test/View.mocha.coffee | TheMonkeys/derby | 0 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model, ResMock} = require './mocks'
View = require '../lib/View.server'
describe 'View.render', ->
it 'supports view.render with no defined views', ->
view = new View
res = new ResMock
res.onEnd = (html) ->
expect(html).to.match /^<!DOCTY... | 207501 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model, ResMock} = require './mocks'
View = require '../lib/View.server'
describe 'View.render', ->
it 'supports view.render with no defined views', ->
view = new View
res = new ResMock
res.onEnd = (html) ->
expect(html).to.match /^<!DOCTY... | true | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model, ResMock} = require './mocks'
View = require '../lib/View.server'
describe 'View.render', ->
it 'supports view.render with no defined views', ->
view = new View
res = new ResMock
res.onEnd = (html) ->
expect(html).to.match /^<!DOCTY... |
[
{
"context": " @game = new GamingAPI.Models.Game\n name: \"test\"\n deck: \"My test description\"\n original",
"end": 231,
"score": 0.9938648343086243,
"start": 227,
"tag": "NAME",
"value": "test"
}
] | spec/javascripts/games/models/game_spec.js.coffee | Mack0856/gaming_api | 0 | describe "GamingAPI.Models.Game", ->
beforeEach ->
@platforms = new GamingAPI.Collections.Platforms([{abbreviation: "XB1"}, {abbreviation: "PS4"}, {abbreviation: "PC"}])
@game = new GamingAPI.Models.Game
name: "test"
deck: "My test description"
original_release_date: "2015-01-01"
id: 1... | 93437 | describe "GamingAPI.Models.Game", ->
beforeEach ->
@platforms = new GamingAPI.Collections.Platforms([{abbreviation: "XB1"}, {abbreviation: "PS4"}, {abbreviation: "PC"}])
@game = new GamingAPI.Models.Game
name: "<NAME>"
deck: "My test description"
original_release_date: "2015-01-01"
id:... | true | describe "GamingAPI.Models.Game", ->
beforeEach ->
@platforms = new GamingAPI.Collections.Platforms([{abbreviation: "XB1"}, {abbreviation: "PS4"}, {abbreviation: "PC"}])
@game = new GamingAPI.Models.Game
name: "PI:NAME:<NAME>END_PI"
deck: "My test description"
original_release_date: "2015-01... |
[
{
"context": "'use strict'\n# <kdb-connect srvUser=\"u\" srvPass=\"p\" target=\"h\" query=\"starting sequence\"/>\n(() ->\n ",
"end": 50,
"score": 0.9988549947738647,
"start": 49,
"tag": "PASSWORD",
"value": "p"
}
] | kdb-wc.coffee | quintanar401/kdb-wc | 60 | 'use strict'
# <kdb-connect srvUser="u" srvPass="p" target="h" query="starting sequence"/>
(() ->
try
new CustomEvent 'test'
catch
CE = (event, params) ->
params = params || bubbles: false, cancelable: false, detail: undefined
evt = document.createEvent 'CustomEvent'
evt.initCustomEvent(e... | 72238 | 'use strict'
# <kdb-connect srvUser="u" srvPass="<PASSWORD>" target="h" query="starting sequence"/>
(() ->
try
new CustomEvent 'test'
catch
CE = (event, params) ->
params = params || bubbles: false, cancelable: false, detail: undefined
evt = document.createEvent 'CustomEvent'
evt.initCust... | true | 'use strict'
# <kdb-connect srvUser="u" srvPass="PI:PASSWORD:<PASSWORD>END_PI" target="h" query="starting sequence"/>
(() ->
try
new CustomEvent 'test'
catch
CE = (event, params) ->
params = params || bubbles: false, cancelable: false, detail: undefined
evt = document.createEvent 'CustomEvent'
... |
[
{
"context": " @artwork.artists = [ fabricate('artist', name: 'Andy Warhol') ]\n benv.render resolve(__dirname, '../temp",
"end": 728,
"score": 0.9998831748962402,
"start": 717,
"tag": "NAME",
"value": "Andy Warhol"
},
{
"context": " @artwork.artists = [ fabricate('artist', na... | src/mobile/apps/artwork/components/image/test/view.coffee | kanaabe/force | 0 | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
CurrentUser = require '../../../../../models/current_user'
{ fabricate, fabricate2 } = require 'antigravity'
{ resolve } = require 'path'
describe 'ArtworkImageView', ->
before (done) ->
... | 126859 | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
CurrentUser = require '../../../../../models/current_user'
{ fabricate, fabricate2 } = require 'antigravity'
{ resolve } = require 'path'
describe 'ArtworkImageView', ->
before (done) ->
... | true | _ = require 'underscore'
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
rewire = require 'rewire'
CurrentUser = require '../../../../../models/current_user'
{ fabricate, fabricate2 } = require 'antigravity'
{ resolve } = require 'path'
describe 'ArtworkImageView', ->
before (done) ->
... |
[
{
"context": "= params.email\n passField.value = params.passw\n form.submit()\n , params\n\n g",
"end": 1834,
"score": 0.932617723941803,
"start": 1829,
"tag": "PASSWORD",
"value": "passw"
}
] | lib/vkAuth.coffee | Wenqer/node-vk-music-sync | 1 | https = require 'https'
phantom = require 'phantom'
colors = require 'colors'
code = null
params = null
getToken = (callback) ->
options =
host: 'oauth.vk.com'
port: 443
path: "/access_token?client_id=#{params.appID}" +
"&client_secret=#{params.appSecret}" +
"&code=#{code}"
https.get opti... | 188644 | https = require 'https'
phantom = require 'phantom'
colors = require 'colors'
code = null
params = null
getToken = (callback) ->
options =
host: 'oauth.vk.com'
port: 443
path: "/access_token?client_id=#{params.appID}" +
"&client_secret=#{params.appSecret}" +
"&code=#{code}"
https.get opti... | true | https = require 'https'
phantom = require 'phantom'
colors = require 'colors'
code = null
params = null
getToken = (callback) ->
options =
host: 'oauth.vk.com'
port: 443
path: "/access_token?client_id=#{params.appID}" +
"&client_secret=#{params.appSecret}" +
"&code=#{code}"
https.get opti... |
[
{
"context": "hostname = settings.hostname or settings.host or '127.0.0.1'\n u.port = settings.port or 8529\n u.auth = \"#{s",
"end": 522,
"score": 0.9526199698448181,
"start": 513,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "###\n_isReservedKey = (key) ->\n key in ... | src/arangodb.coffee | mrbatista/loopback-connector-arangodb | 15 | # node modules
# Module dependencies
arangojs = require 'arangojs'
qb = require 'aqb'
url = require 'url'
merge = require 'extend'
async = require 'async'
_ = require 'underscore'
Connector = require('loopback-connector').Connector
debug = require('debug') 'loopback:connector:arango'
###
Generate the arangodb URL f... | 191981 | # node modules
# Module dependencies
arangojs = require 'arangojs'
qb = require 'aqb'
url = require 'url'
merge = require 'extend'
async = require 'async'
_ = require 'underscore'
Connector = require('loopback-connector').Connector
debug = require('debug') 'loopback:connector:arango'
###
Generate the arangodb URL f... | true | # node modules
# Module dependencies
arangojs = require 'arangojs'
qb = require 'aqb'
url = require 'url'
merge = require 'extend'
async = require 'async'
_ = require 'underscore'
Connector = require('loopback-connector').Connector
debug = require('debug') 'loopback:connector:arango'
###
Generate the arangodb URL f... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.5482524633407593,
"start": 25,
"tag": "NAME",
"value": "io"
}
] | lib/discoverable.coffee | balena-io-modules/resin-discoverable-services | 3 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 223506 | ###
Copyright 2016 Resin.<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, software
di... | true | ###
Copyright 2016 Resin.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 writin... |
[
{
"context": ".parameters).to.be.eql(\n\t\t\t\tdatabase:\n\t\t\t\t\thost: '127.0.0.1'\n\t\t\t\t\tdatabase: 'db'\n\t\t\t\t\tuser: 'root'\n\t\t\t\t\tpassw",
"end": 4273,
"score": 0.9997056126594543,
"start": 4264,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "\tdatabase: '... | test/node/src/EasyConfiguration.coffee | sakren/node-easy-configuration | 1 | expect = require('chai').expect
path = require 'path'
EasyConfiguration = require '../../../lib/EasyConfiguration'
Extension = require '../../../lib/Extension'
dir = path.normalize(__dirname + '/../../data')
configuration = null
describe 'EasyConfiguration', ->
beforeEach( ->
configuration = new EasyConfigurati... | 50850 | expect = require('chai').expect
path = require 'path'
EasyConfiguration = require '../../../lib/EasyConfiguration'
Extension = require '../../../lib/Extension'
dir = path.normalize(__dirname + '/../../data')
configuration = null
describe 'EasyConfiguration', ->
beforeEach( ->
configuration = new EasyConfigurati... | true | expect = require('chai').expect
path = require 'path'
EasyConfiguration = require '../../../lib/EasyConfiguration'
Extension = require '../../../lib/Extension'
dir = path.normalize(__dirname + '/../../data')
configuration = null
describe 'EasyConfiguration', ->
beforeEach( ->
configuration = new EasyConfigurati... |
[
{
"context": " #\n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) #\n# ",
"end": 914,
"score": 0.9997715950012207,
"start": 904,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/views/_base/View.coffee | wrml/wrml | 47 | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... | 66490 | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... | true | ###############################################################################
# #
# WRML - Web Resource Modeling Language #
# __ __ ______ __ __ __ #
... |
[
{
"context": "allback) ->\n teamsHelpers.inviteUser browser, 'admin'\n browser.pause 3000, callback\n\n\n sendNewMemb",
"end": 7539,
"score": 0.5988506078720093,
"start": 7534,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " teamsHelpers.newInviteFromResendModal browser... | client/test/lib/helpers/myteamhelpers.coffee | ezgikaysi/koding | 1 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myTeamLink = "#{helpers.getUrl(yes)}/Home/my-team"
sectionSelector = '.HomeAppView--section.team-settings'
buttonSelector = "#{sectionSelector} .uploadInputWrapper .HomeAppView--button... | 154754 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myTeamLink = "#{helpers.getUrl(yes)}/Home/my-team"
sectionSelector = '.HomeAppView--section.team-settings'
buttonSelector = "#{sectionSelector} .uploadInputWrapper .HomeAppView--button... | true | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myTeamLink = "#{helpers.getUrl(yes)}/Home/my-team"
sectionSelector = '.HomeAppView--section.team-settings'
buttonSelector = "#{sectionSelector} .uploadInputWrapper .HomeAppView--button... |
[
{
"context": "@getAvatarUrlFromUsername = (username) ->\n\tkey = \"avatar_random_#{username}\"\n\tunless Session.get(key)?\n\t\trandom = Math.floor((",
"end": 76,
"score": 0.9974696040153503,
"start": 50,
"tag": "KEY",
"value": "avatar_random_#{username}\""
},
{
"context": "\n\n@upda... | client/lib/avatar.coffee | akio46/Stitch | 0 | @getAvatarUrlFromUsername = (username) ->
key = "avatar_random_#{username}"
unless Session.get(key)?
random = Math.floor((Math.random() * 500) + 1)
Session.set(key, random)
avatarRandom = Session.get(key)
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
return "... | 132197 | @getAvatarUrlFromUsername = (username) ->
key = "<KEY>
unless Session.get(key)?
random = Math.floor((Math.random() * 500) + 1)
Session.set(key, random)
avatarRandom = Session.get(key)
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
return "#{path}avatar/#{usern... | true | @getAvatarUrlFromUsername = (username) ->
key = "PI:KEY:<KEY>END_PI
unless Session.get(key)?
random = Math.floor((Math.random() * 500) + 1)
Session.set(key, random)
avatarRandom = Session.get(key)
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
return "#{path}a... |
[
{
"context": "om, automatically generated\n# Generator created by Renato \"Hii\" Garcia\n'.source.pwn, .source.inc':\n 'sqrtN':",
"end": 74,
"score": 0.9899902939796448,
"start": 68,
"tag": "NAME",
"value": "Renato"
},
{
"context": "atically generated\n# Generator created by Renato ... | snippets/3DTryg.cson | Wuzi/language-pawn | 4 | # Snippets for Atom, automatically generated
# Generator created by Renato "Hii" Garcia
'.source.pwn, .source.inc':
'sqrtN':
'prefix': 'sqrtN'
'body': 'sqrtN(${1:Float:value}, ${2:Float:exponent})'
'leftLabel': 'Float'
'description': 'Function from: 3DTryg'
'descriptionMoreURL': 'http://forum.sa-m... | 166874 | # Snippets for Atom, automatically generated
# Generator created by <NAME> "<NAME>" <NAME>
'.source.pwn, .source.inc':
'sqrtN':
'prefix': 'sqrtN'
'body': 'sqrtN(${1:Float:value}, ${2:Float:exponent})'
'leftLabel': 'Float'
'description': 'Function from: 3DTryg'
'descriptionMoreURL': 'http://forum.s... | true | # Snippets for Atom, automatically generated
# Generator created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
'.source.pwn, .source.inc':
'sqrtN':
'prefix': 'sqrtN'
'body': 'sqrtN(${1:Float:value}, ${2:Float:exponent})'
'leftLabel': 'Float'
'description': 'Function from: 3DTryg'... |
[
{
"context": "ssification.annotations\n annotation._key ?= Math.random()\n isPriorAnnotation = annotation isnt @pr",
"end": 307,
"score": 0.9693989753723145,
"start": 296,
"tag": "KEY",
"value": "Math.random"
},
{
"context": ", m in annotation.value\n mark.... | app/classifier/tasks/drawing/all-marks-display.cjsx | Crentist/Panoptes-frontend-spanish | 1 | React = require 'react'
module.exports = React.createClass
displayName: 'AllMarksDisplay'
getDetailsTooltipProps: ->
workflow: null
classification: null
annotation: null
render: ->
<g>
{for annotation in @props.classification.annotations
annotation._key ?= Math.random()
is... | 178322 | React = require 'react'
module.exports = React.createClass
displayName: 'AllMarksDisplay'
getDetailsTooltipProps: ->
workflow: null
classification: null
annotation: null
render: ->
<g>
{for annotation in @props.classification.annotations
annotation._key ?= <KEY>()
isPriorA... | true | React = require 'react'
module.exports = React.createClass
displayName: 'AllMarksDisplay'
getDetailsTooltipProps: ->
workflow: null
classification: null
annotation: null
render: ->
<g>
{for annotation in @props.classification.annotations
annotation._key ?= PI:KEY:<KEY>END_PI()
... |
[
{
"context": "###*\n *\n * Dialog\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Component} ",
"end": 35,
"score": 0.9995741844177246,
"start": 29,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * Dialog\n * @author vfasky <vfasky@gmail.com>\n###\n'use... | src/coffee/dialog.coffee | vfasky/mcore-weui | 0 | ###*
*
* Dialog
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Component} = require 'mcore'
_dialog = null
class Dialog extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/dialog.html'),
type... | 33807 | ###*
*
* Dialog
* @author vfasky <<EMAIL>>
###
'use strict'
{Component} = require 'mcore'
_dialog = null
class Dialog extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/dialog.html'),
type: 'alert'... | true | ###*
*
* Dialog
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Component} = require 'mcore'
_dialog = null
class Dialog extends Component
constructor: (@el = document.body, @virtualEl = null)->
super @el, @virtualEl
init: ->
@render require('../tpl/dialog.html'),
... |
[
{
"context": " \"addressRegion\"\n \"addressStreetAddress\"\n \"cardholderName\"\n \"company\"\n \"email\"\n \"fax\"\n \"firstNa",
"end": 319,
"score": 0.8745542168617249,
"start": 305,
"tag": "USERNAME",
"value": "cardholderName"
},
{
"context": "derName\"\n \"... | src/braintree/customer_search.coffee | StreamCo/braintree_node | 0 | {AdvancedSearch} = require('./advanced_search')
class CustomerSearch extends AdvancedSearch
@textFields(
"addressCountryName"
"addressExtendedAddress"
"addressFirstName"
"addressLastName"
"addressLocality"
"addressPostalCode"
"addressRegion"
"addressStreetAddress"
"cardholderName"... | 130728 | {AdvancedSearch} = require('./advanced_search')
class CustomerSearch extends AdvancedSearch
@textFields(
"addressCountryName"
"addressExtendedAddress"
"addressFirstName"
"addressLastName"
"addressLocality"
"addressPostalCode"
"addressRegion"
"addressStreetAddress"
"cardholderName"... | true | {AdvancedSearch} = require('./advanced_search')
class CustomerSearch extends AdvancedSearch
@textFields(
"addressCountryName"
"addressExtendedAddress"
"addressFirstName"
"addressLastName"
"addressLocality"
"addressPostalCode"
"addressRegion"
"addressStreetAddress"
"cardholderName"... |
[
{
"context": " type: 'primitive'\n name: name\n # doc: @commentLines[@lineM",
"end": 8242,
"score": 0.8250947594642639,
"start": 8238,
"tag": "NAME",
"value": "name"
},
{
"context": "\n ret =\n type: 'import'\n # doc: @... | src/metadata.coffee | abe33/biscotto | 2 | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
builtins = require 'builtins'
module.exports = class Metadata
constructor: (@dependencies, @parser) ->
generate: (@root) ->
@defs = {} # Local variable definitions
@exports = {}
@bindingTypes = {}
@m... | 75989 | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
builtins = require 'builtins'
module.exports = class Metadata
constructor: (@dependencies, @parser) ->
generate: (@root) ->
@defs = {} # Local variable definitions
@exports = {}
@bindingTypes = {}
@m... | true | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
builtins = require 'builtins'
module.exports = class Metadata
constructor: (@dependencies, @parser) ->
generate: (@root) ->
@defs = {} # Local variable definitions
@exports = {}
@bindingTypes = {}
@m... |
[
{
"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.9999222159385681,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/controllers/user_settings_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... | 17923 | ###
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": "ode used by Kaylee.\n#\n# :copyright: (c) 2012 by Zaur Nasibov.\n# :license: MIT, see LICENSE for more details",
"end": 200,
"score": 0.9998767375946045,
"start": 188,
"tag": "NAME",
"value": "Zaur Nasibov"
}
] | kaylee/client/klutil.coffee | BasicWolf/archived-kaylee | 2 | ###
# klutil.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains the util and shared code used by Kaylee.
#
# :copyright: (c) 2012 by Zaur Nasibov.
# :license: MIT, see LICENSE for more details.
###
kl.util = util = {}
util.is_function = (obj) ->
return typ... | 88146 | ###
# klutil.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains the util and shared code used by Kaylee.
#
# :copyright: (c) 2012 by <NAME>.
# :license: MIT, see LICENSE for more details.
###
kl.util = util = {}
util.is_function = (obj) ->
return typeof(ob... | true | ###
# klutil.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains the util and shared code used by Kaylee.
#
# :copyright: (c) 2012 by PI:NAME:<NAME>END_PI.
# :license: MIT, see LICENSE for more details.
###
kl.util = util = {}
util.is_function = (obj) ->
re... |
[
{
"context": "ileoverview Tests for no-backticks rule.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 72,
"score": 0.9998306035995483,
"start": 60,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/no-backticks.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-backticks rule.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-backticks'
{RuleTester}... | 98091 | ###*
# @fileoverview Tests for no-backticks rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-backticks'
{RuleTester} = req... | true | ###*
# @fileoverview Tests for no-backticks rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-backticks'
{Rul... |
[
{
"context": "module for J-SENS protocol\n# Originally written by Denis Shirokov\n# Contributors: Ivan Orlov, Alexey Mikhaylishin, ",
"end": 90,
"score": 0.9998689889907837,
"start": 76,
"tag": "NAME",
"value": "Denis Shirokov"
},
{
"context": "iginally written by Denis Shirokov\n# C... | client/DeviceManager.coffee | bzikst/J-SENS | 0 | # Device manager example module for J-SENS protocol
# Originally written by Denis Shirokov
# Contributors: Ivan Orlov, Alexey Mikhaylishin, Konstantin Moskalenko
# See https://github.com/bzikst/J-SENS for details
#
require 'coffee-script'
# Внешние модули
#
dgram = require 'dgram'
http = require 'htt... | 116924 | # Device manager example module for J-SENS protocol
# Originally written by <NAME>
# Contributors: <NAME>, <NAME>, <NAME>
# See https://github.com/bzikst/J-SENS for details
#
require 'coffee-script'
# Внешние модули
#
dgram = require 'dgram'
http = require 'http'
querystring = require 'querystring'... | true | # Device manager example module for J-SENS protocol
# Originally written by PI:NAME:<NAME>END_PI
# Contributors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# See https://github.com/bzikst/J-SENS for details
#
require 'coffee-script'
# Внешние модули
#
dgram = require 'dgram'
http ... |
[
{
"context": "ulate width of text from DOM element or string. By Phil Freo <http://philfreo.com>\n\t# This works but doesn't d",
"end": 2781,
"score": 0.9998528361320496,
"start": 2772,
"tag": "NAME",
"value": "Phil Freo"
}
] | www/js/calendar-tile.coffee | robdobsn/HomeTabletLocalApp | 0 | class App.CalendarTile extends App.Tile
constructor: (@app, tileDef, @calDayIndex) ->
super tileDef
@shortDayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
@calLineCount = 0; @calCharCount = 0; @calMaxLineLen = 0
@secsBetweenCalendarRefreshes = 60
return
handleAction: (action) ->
if action is ... | 81331 | class App.CalendarTile extends App.Tile
constructor: (@app, tileDef, @calDayIndex) ->
super tileDef
@shortDayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
@calLineCount = 0; @calCharCount = 0; @calMaxLineLen = 0
@secsBetweenCalendarRefreshes = 60
return
handleAction: (action) ->
if action is ... | true | class App.CalendarTile extends App.Tile
constructor: (@app, tileDef, @calDayIndex) ->
super tileDef
@shortDayNames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
@calLineCount = 0; @calCharCount = 0; @calMaxLineLen = 0
@secsBetweenCalendarRefreshes = 60
return
handleAction: (action) ->
if action is ... |
[
{
"context": "quotes = {\n Gates: '''<!-- --><b><!-- Comments are ignored --><q da",
"end": 20,
"score": 0.6732059121131897,
"start": 15,
"tag": "NAME",
"value": "Gates"
},
{
"context": "href=\"#\"><img src=\"bill-gates.jpg\"></a></q>'''\n Kernighan: ''' <q>\n Everyone k... | src/spec/html-string-spec.coffee | anthonyjb/HTMLString | 24 | quotes = {
Gates: '''<!-- --><b><!-- Comments are ignored --><q data-example>We all</q></b><q data-example> need people who will give us feedback. That's how we improve. <a href="#"><img src="bill-gates.jpg"></a></q>'''
Kernighan: ''' <q>
Everyone knows that debugging is twice as hard as writing a progr... | 114360 | quotes = {
<NAME>: '''<!-- --><b><!-- Comments are ignored --><q data-example>We all</q></b><q data-example> need people who will give us feedback. That's how we improve. <a href="#"><img src="bill-gates.jpg"></a></q>'''
<NAME>an: ''' <q>
Everyone knows that debugging is twice as hard as writing a progr... | true | quotes = {
PI:NAME:<NAME>END_PI: '''<!-- --><b><!-- Comments are ignored --><q data-example>We all</q></b><q data-example> need people who will give us feedback. That's how we improve. <a href="#"><img src="bill-gates.jpg"></a></q>'''
PI:NAME:<NAME>END_PIan: ''' <q>
Everyone knows that debugging is twic... |
[
{
"context": " than using a coin.\r\n#\r\n# Examples:\r\n#\r\n# decide \"Vodka Tonic\" \"Tom Collins\" \"Rum & Coke\"\r\n# decide \"Stay in be",
"end": 248,
"score": 0.9998594522476196,
"start": 237,
"tag": "NAME",
"value": "Vodka Tonic"
},
{
"context": "coin.\r\n#\r\n# Examples:\r\n... | src/scripts/decide.coffee | aroben/hubot-scripts | 0 | # Allows Hubot to help you decide between multiple options.
#
# decide "<option1>" "<option2>" "<optionx>" - Randomly picks an option.
# More fun than using a coin.
#
# Examples:
#
# decide "Vodka Tonic" "Tom Collins" "Rum & Coke"
# decide "Stay in bed like a lazy bastard"... | 143404 | # Allows Hubot to help you decide between multiple options.
#
# decide "<option1>" "<option2>" "<optionx>" - Randomly picks an option.
# More fun than using a coin.
#
# Examples:
#
# decide "<NAME>" "<NAME>" "<NAME>"
# decide "Stay in bed like a lazy bastard" "You have shi... | true | # Allows Hubot to help you decide between multiple options.
#
# decide "<option1>" "<option2>" "<optionx>" - Randomly picks an option.
# More fun than using a coin.
#
# Examples:
#
# decide "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"
# decide "Stay... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992642402648926,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-listen-fd0.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... | 99594 | # 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": " tytoData =\n dummy: \"yes\"\n name: \"test\"\n tyto.prototype.saveBarn JSON.stringify tyt",
"end": 566,
"score": 0.9929855465888977,
"start": 562,
"tag": "NAME",
"value": "test"
}
] | src/coffeescript/test.coffee | logorrhea/tyto | 0 | describe "tyto", ->
describe "tyto initialization", ->
it "should be available as a function", ->
expect(typeof(window.tyto)).to.equal "function"
return
return
describe "tyto actions", ->
it "should remove tyto data from localStorage using deleteSave", ->
window.localStorage.setItem "t... | 205403 | describe "tyto", ->
describe "tyto initialization", ->
it "should be available as a function", ->
expect(typeof(window.tyto)).to.equal "function"
return
return
describe "tyto actions", ->
it "should remove tyto data from localStorage using deleteSave", ->
window.localStorage.setItem "t... | true | describe "tyto", ->
describe "tyto initialization", ->
it "should be available as a function", ->
expect(typeof(window.tyto)).to.equal "function"
return
return
describe "tyto actions", ->
it "should remove tyto data from localStorage using deleteSave", ->
window.localStorage.setItem "t... |
[
{
"context": "ket_type: 'persona',\n bucket: 'persona',\n key: '078b80e8-7f79-481c-bd7c-a61a5d0a5203',\n vclock: 'a85hYGBgzGDKBVIcypz/fgZPu6SewZTImMfK",
"end": 1335,
"score": 0.9997695088386536,
"start": 1299,
"tag": "KEY",
"value": "078b80e8-7f79-481c-bd7c-a61a5d0a5203"
},
{
"con... | src/riak/mapred.coffee | joukou/joukou-api | 0 | # using search as an input to map/reduce
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | 77531 | # using search as an input to map/reduce
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | true | # using search as an input to map/reduce
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\npanelContainerPath = atom.",
"end": 35,
"score": 0.9996797442436218,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/ui/popovers.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
panelContainerPath = atom.config.resourcePath + '/src/panel-container'
PanelContainer = require panelContainerPath
panelElementPath = atom.config.resourcePath + '/src/panel-element'
PanelElement = require panelElementPath
atom.workspace.panelContainers.popover... | 178327 | # Copyright (c) 2015 <NAME>. All rights reserved.
panelContainerPath = atom.config.resourcePath + '/src/panel-container'
PanelContainer = require panelContainerPath
panelElementPath = atom.config.resourcePath + '/src/panel-element'
PanelElement = require panelElementPath
atom.workspace.panelContainers.popover = new P... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
panelContainerPath = atom.config.resourcePath + '/src/panel-container'
PanelContainer = require panelContainerPath
panelElementPath = atom.config.resourcePath + '/src/panel-element'
PanelElement = require panelElementPath
atom.workspace.panelContainers.p... |
[
{
"context": ".value? att\n params: {\n auth: { key: \"a6e2fe37faca47efa9a8f0f9c3c1a44d\" },\n steps: {\n files: {\n ",
"end": 1531,
"score": 0.9997563362121582,
"start": 1499,
"tag": "KEY",
"value": "a6e2fe37faca47efa9a8f0f9c3c1a44d"
}
] | app/browser/template/bindings/dataBind/uploadFile.coffee | mojo-js/mojojs.com | 0 | pc = require("paperclip")
bindable = require("bindable")
Url = require "url"
class UploadFileDataBinding extends pc.BaseAttrDataBinding
###
###
bind: () ->
super arguments...
###
###
_onChange: (options) ->
return unless process.browser
@onUpload = options.onUpload ? () ->
... | 48131 | pc = require("paperclip")
bindable = require("bindable")
Url = require "url"
class UploadFileDataBinding extends pc.BaseAttrDataBinding
###
###
bind: () ->
super arguments...
###
###
_onChange: (options) ->
return unless process.browser
@onUpload = options.onUpload ? () ->
... | true | pc = require("paperclip")
bindable = require("bindable")
Url = require "url"
class UploadFileDataBinding extends pc.BaseAttrDataBinding
###
###
bind: () ->
super arguments...
###
###
_onChange: (options) ->
return unless process.browser
@onUpload = options.onUpload ? () ->
... |
[
{
"context": "# phantomjs-persistent-server\n# MIT License ben@latenightsketches.com\n# Main Test Runner\n\nconsole.time 'phantomLaunch'\n",
"end": 69,
"score": 0.9999198913574219,
"start": 44,
"tag": "EMAIL",
"value": "ben@latenightsketches.com"
}
] | test/main.coffee | praneybehl/phantomjs-persistent-server | 1 | # phantomjs-persistent-server
# MIT License ben@latenightsketches.com
# Main Test Runner
console.time 'phantomLaunch'
phantomExec = phantomLaunch()
console.timeEnd 'phantomLaunch'
testAsyncMulti 'phantomjs-persistent-server - echo', [
(test, expect) ->
sample = {cow: 'horse'}
echoTest = (options, callback) ... | 53808 | # phantomjs-persistent-server
# MIT License <EMAIL>
# Main Test Runner
console.time 'phantomLaunch'
phantomExec = phantomLaunch()
console.timeEnd 'phantomLaunch'
testAsyncMulti 'phantomjs-persistent-server - echo', [
(test, expect) ->
sample = {cow: 'horse'}
echoTest = (options, callback) ->
callback ... | true | # phantomjs-persistent-server
# MIT License PI:EMAIL:<EMAIL>END_PI
# Main Test Runner
console.time 'phantomLaunch'
phantomExec = phantomLaunch()
console.timeEnd 'phantomLaunch'
testAsyncMulti 'phantomjs-persistent-server - echo', [
(test, expect) ->
sample = {cow: 'horse'}
echoTest = (options, callback) ->
... |
[
{
"context": "haves similarly to a physical credit card.\n@author Ken Keiter <ken@kenkeiter.com>\n@updated 2013-07-25\n@website ",
"end": 295,
"score": 0.9998671412467957,
"start": 285,
"tag": "NAME",
"value": "Ken Keiter"
},
{
"context": "ly to a physical credit card.\n@author Ken K... | javascripts/src/skeuocard.coffee | canerdogan/skeuocard | 0 | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author Ken Keiter <ken@kenkeiter.com>
@upd... | 179678 | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author <NAME> <<EMAIL>>
@updated 2013-07-2... | true | ###
"Skeuocard" -- A Skeuomorphic Credit-Card Input Enhancement
@description Skeuocard is a skeuomorphic credit card input plugin, supporting
progressive enhancement. It renders a credit-card input which
behaves similarly to a physical credit card.
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMA... |
[
{
"context": "#!/usr/bin/env iced\n#\n# Original script written by Vird for Arweave mining on Vird's pool (https://ar.",
"end": 52,
"score": 0.6813979744911194,
"start": 51,
"tag": "NAME",
"value": "V"
},
{
"context": "/usr/bin/env iced\n#\n# Original script written by Vird for Arwea... | proxy.coffee | wxt30/arpanel | 5 | #!/usr/bin/env iced
#
# Original script written by Vird for Arweave mining on Vird's pool (https://ar.virdpool.com/)
# Github: https://github.com/virdpool/miner/blob/master/proxy.coffee
#
# Small mods have been made for arPanel usage. Functionality has not been modified.
# Log file: logs/proxy.log
#
require "fy"
Ws_wra... | 172017 | #!/usr/bin/env iced
#
# Original script written by <NAME>ird for Arweave mining on Vird's pool (https://ar.virdpool.com/)
# Github: https://github.com/virdpool/miner/blob/master/proxy.coffee
#
# Small mods have been made for arPanel usage. Functionality has not been modified.
# Log file: logs/proxy.log
#
require "fy"
W... | true | #!/usr/bin/env iced
#
# Original script written by PI:NAME:<NAME>END_PIird for Arweave mining on Vird's pool (https://ar.virdpool.com/)
# Github: https://github.com/virdpool/miner/blob/master/proxy.coffee
#
# Small mods have been made for arPanel usage. Functionality has not been modified.
# Log file: logs/proxy.log
#
... |
[
{
"context": "1'\n\t\t\t\t\trequest.setRequestHeader 'X-Auth-Token', 'orHOAa1lK7RcM-vtcwSp28w67wAi6LZpsMBEM2DX4AY'\n\t\t\t\t\treturn\n\t\t\t\tsuccess: (result) ->\n\t\t\t\t\tdeferr",
"end": 1012,
"score": 0.9207274913787842,
"start": 969,
"tag": "PASSWORD",
"value": "orHOAa1lK7RcM-vtcwSp28w6... | packages/steedos-creator/client/views/custom_data_source.coffee | zonglu233/fuel-car | 42 | Template.custom_data_source.helpers Creator.helpers
Template.custom_data_source.helpers
Template.custom_data_source.events
Template.custom_data_source.onRendered ()->
orders = new (DevExpress.data.CustomStore)(
load: (loadOptions) ->
deferred = $.Deferred()
args = {}
if loadOptions.sort
args.ord... | 41734 | Template.custom_data_source.helpers Creator.helpers
Template.custom_data_source.helpers
Template.custom_data_source.events
Template.custom_data_source.onRendered ()->
orders = new (DevExpress.data.CustomStore)(
load: (loadOptions) ->
deferred = $.Deferred()
args = {}
if loadOptions.sort
args.ord... | true | Template.custom_data_source.helpers Creator.helpers
Template.custom_data_source.helpers
Template.custom_data_source.events
Template.custom_data_source.onRendered ()->
orders = new (DevExpress.data.CustomStore)(
load: (loadOptions) ->
deferred = $.Deferred()
args = {}
if loadOptions.sort
args.ord... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$)",
"end": 56,
"score": 0.9998692870140076,
"start": 37,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": " QuoJS 2.1\n (c) 2011, 2012 Javi Ji... | src/QuoJS/src/quo.events.manager.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
ELEMENT_ID = 1
HANDLERS = {}
EVENT_METHODS =
preventDefault: "isDefaultPrevented"
stopImmediatePropagation: "isImmediatePropagationStopped"
stopPropagation: "isPropagationSt... | 84570 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
ELEMENT_ID = 1
HANDLERS = {}
EVENT_METHODS =
preventDefault: "isDefaultPrevented"
stopImmediatePropagation: "isImmediatePropagationStopped"
stopPropagation: "isPropagationStopped"
EV... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
ELEMENT_ID = 1
HANDLERS = {}
EVENT_METHODS =
preventDefault: "isDefaultPrevented"
stopImmediatePropagation: "isImmediatePropagationStopped"
stopPropagation: "isPropagationS... |
[
{
"context": "can set/get config', ->\n papercut.set 'name', 'John'\n papercut.get('name').should.eql 'John'\n\n it",
"end": 301,
"score": 0.9996092915534973,
"start": 297,
"tag": "NAME",
"value": "John"
},
{
"context": "ame', 'John'\n papercut.get('name').should.eql 'John'... | test/papercut_test.coffee | Rafe/papercut | 33 | fs = require('fs')
sample = './images/sample.jpg'
errorSample = './images/error.jpg'
{ S3Store, FileStore, TestStore } = require('../lib/store')
describe 'papercut', ->
papercut = ''
beforeEach ->
papercut = require('../index')
it 'can set/get config', ->
papercut.set 'name', 'John'
papercut.get(... | 115673 | fs = require('fs')
sample = './images/sample.jpg'
errorSample = './images/error.jpg'
{ S3Store, FileStore, TestStore } = require('../lib/store')
describe 'papercut', ->
papercut = ''
beforeEach ->
papercut = require('../index')
it 'can set/get config', ->
papercut.set 'name', '<NAME>'
papercut.ge... | true | fs = require('fs')
sample = './images/sample.jpg'
errorSample = './images/error.jpg'
{ S3Store, FileStore, TestStore } = require('../lib/store')
describe 'papercut', ->
papercut = ''
beforeEach ->
papercut = require('../index')
it 'can set/get config', ->
papercut.set 'name', 'PI:NAME:<NAME>END_PI'
... |
[
{
"context": " properties:\n username:\n title: 'Username'\n type: 'string'\n minLength: 3\n",
"end": 311,
"score": 0.9923322200775146,
"start": 303,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "equired: true\n password:\n ... | app/assets/javascripts/controllers/users/sign_in.coffee | zhoutong/coledger | 1 | angular.module("coledger").controller("SignInController", ['$scope', '$location', '$window', 'Resources', 'flash',
($scope, $location, $window, Resources, flash) ->
$scope.user = {}
$scope.schema =
type: 'object'
title: 'User'
properties:
username:
title: 'Username'
... | 131740 | angular.module("coledger").controller("SignInController", ['$scope', '$location', '$window', 'Resources', 'flash',
($scope, $location, $window, Resources, flash) ->
$scope.user = {}
$scope.schema =
type: 'object'
title: 'User'
properties:
username:
title: 'Username'
... | true | angular.module("coledger").controller("SignInController", ['$scope', '$location', '$window', 'Resources', 'flash',
($scope, $location, $window, Resources, flash) ->
$scope.user = {}
$scope.schema =
type: 'object'
title: 'User'
properties:
username:
title: 'Username'
... |
[
{
"context": "S.Complex extends mathJS.Number\n\n PARSE_KEY = \"0c\"\n\n ###########################################",
"end": 389,
"score": 0.9937224388122559,
"start": 387,
"tag": "KEY",
"value": "0c"
}
] | js/Numbers/Complex.coffee | jneuendorf/mathJS | 0 | ###*
* @abstract
* @class Complex
* @constructor
* @param {Number} real
* Real part of the number. Either a mathJS.Number or primitive number.
* @param {Number} image
* Real part of the number. Either a mathJS.Number or primitive number.
* @extends Number
*###
# TODO: maybe extend mathJS.Vector instead?! or mix... | 225210 | ###*
* @abstract
* @class Complex
* @constructor
* @param {Number} real
* Real part of the number. Either a mathJS.Number or primitive number.
* @param {Number} image
* Real part of the number. Either a mathJS.Number or primitive number.
* @extends Number
*###
# TODO: maybe extend mathJS.Vector instead?! or mix... | true | ###*
* @abstract
* @class Complex
* @constructor
* @param {Number} real
* Real part of the number. Either a mathJS.Number or primitive number.
* @param {Number} image
* Real part of the number. Either a mathJS.Number or primitive number.
* @extends Number
*###
# TODO: maybe extend mathJS.Vector instead?! or mix... |
[
{
"context": "re = fuzzy_filter all_temp_list, query_temp, key:'name'\n # console.log filter_re\n @load_search",
"end": 3894,
"score": 0.9762274026870728,
"start": 3890,
"tag": "KEY",
"value": "name"
}
] | lib/views/template_list/package-detail-view.coffee | jcrom/emp-template-management | 1 | {$$, TextEditorView, View} = require 'atom-space-pen-views'
{CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
emp = require '../../exports/emp'
fuzzy_filter = require('fuzzaldrin').filter
AvailableTypePanel = require './available-type-panel'
AvailableTemplatePanel = require './available-template-pan... | 112309 | {$$, TextEditorView, View} = require 'atom-space-pen-views'
{CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
emp = require '../../exports/emp'
fuzzy_filter = require('fuzzaldrin').filter
AvailableTypePanel = require './available-type-panel'
AvailableTemplatePanel = require './available-template-pan... | true | {$$, TextEditorView, View} = require 'atom-space-pen-views'
{CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
emp = require '../../exports/emp'
fuzzy_filter = require('fuzzaldrin').filter
AvailableTypePanel = require './available-type-panel'
AvailableTemplatePanel = require './available-template-pan... |
[
{
"context": "fee script highlighter\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nColorifier.coffee = Colorifier.coffeescript = n",
"end": 79,
"score": 0.9998899102210999,
"start": 62,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | src/lang/coffeescript.coffee | MadRabbit/colorifier | 1 | #
# The coffee script highlighter
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
Colorifier.coffee = Colorifier.coffeescript = new Class Colorifier,
comments: "#"
keywords: "function,return,for,if,else,while,do,throw,try,catch,instanceof,class,"+
"extends,in,of,where,super,is,isnt,until,unless,then,or... | 176986 | #
# The coffee script highlighter
#
# Copyright (C) 2011-2012 <NAME>
#
Colorifier.coffee = Colorifier.coffeescript = new Class Colorifier,
comments: "#"
keywords: "function,return,for,if,else,while,do,throw,try,catch,instanceof,class,"+
"extends,in,of,where,super,is,isnt,until,unless,then,or,and,switch... | true | #
# The coffee script highlighter
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
Colorifier.coffee = Colorifier.coffeescript = new Class Colorifier,
comments: "#"
keywords: "function,return,for,if,else,while,do,throw,try,catch,instanceof,class,"+
"extends,in,of,where,super,is,isnt,until,unless,then... |
[
{
"context": " expect(Watchers::watch).to.be.calledWith(\"/Users/brian/app/cypress.json\")\n\n it.skip \"passes watchers ",
"end": 7204,
"score": 0.7623712420463562,
"start": 7199,
"tag": "USERNAME",
"value": "brian"
},
{
"context": "stub(user, \"ensureAuthToken\").resolves(\"auth... | packages/server/test/unit/project_spec.coffee | hunslater-olc/cypress | 0 | require("../spec_helper")
path = require("path")
Promise = require("bluebird")
fs = require("fs-extra")
Fixtures = require("../support/helpers/fixtures")
ids = require("#{root}lib/ids")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
cache =... | 131034 | require("../spec_helper")
path = require("path")
Promise = require("bluebird")
fs = require("fs-extra")
Fixtures = require("../support/helpers/fixtures")
ids = require("#{root}lib/ids")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
cache =... | true | require("../spec_helper")
path = require("path")
Promise = require("bluebird")
fs = require("fs-extra")
Fixtures = require("../support/helpers/fixtures")
ids = require("#{root}lib/ids")
api = require("#{root}lib/api")
user = require("#{root}lib/user")
cache =... |
[
{
"context": "tus: Dropzone.ADDED\n accepted: true\n name: \"test file name\"\n size: 123456\n type: \"text/html\"",
"end": 121,
"score": 0.8960472345352173,
"start": 117,
"tag": "NAME",
"value": "test"
},
{
"context": "zone.ADDED\n accepted: true\n name: \"test fil... | test/test.coffee | notthetup/dropzone | 1 | chai.should()
describe "Dropzone", ->
getMockFile = ->
status: Dropzone.ADDED
accepted: true
name: "test file name"
size: 123456
type: "text/html"
xhr = null
beforeEach -> xhr = sinon.useFakeXMLHttpRequest()
describe "static functions", ->
describe "Dropzone.createElement()", ->
... | 138855 | chai.should()
describe "Dropzone", ->
getMockFile = ->
status: Dropzone.ADDED
accepted: true
name: "<NAME> file <NAME>"
size: 123456
type: "text/html"
xhr = null
beforeEach -> xhr = sinon.useFakeXMLHttpRequest()
describe "static functions", ->
describe "Dropzone.createElement()",... | true | chai.should()
describe "Dropzone", ->
getMockFile = ->
status: Dropzone.ADDED
accepted: true
name: "PI:NAME:<NAME>END_PI file PI:NAME:<NAME>END_PI"
size: 123456
type: "text/html"
xhr = null
beforeEach -> xhr = sinon.useFakeXMLHttpRequest()
describe "static functions", ->
describe... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n© Copyright 2006 Goog",
"end": 39,
"score": 0.9999008178710938,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>... | src/Core/Utility.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
© Copyright 2006 Google Inc. <http://www.google.com>
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/licen... | 65021 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
© Copyright 2006 Google Inc. <http://www.google.com>
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>
Unles... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org... |
[
{
"context": ": 10.32}\n joe =\n \"_id\": 3,\n \"name\": \"joe\",\n \"quizzes\": [\n { \"id\" : 1, \"score\" ",
"end": 1523,
"score": 0.9996098279953003,
"start": 1520,
"tag": "NAME",
"value": "joe"
},
{
"context": "e\", ->\n res =\n \"_id\" : 3,\n ... | test/src/query.coffee | basaundi/chongo | 1 |
describe "Compare", ->
a = b = c = d = e = null
beforeEach () ->
a = {'x': 'y', 'foo': 9, 'bar': "xxx", 'ding': [2,4,8],\
'dong': -10, 'bang': {'foo': 8}}
b = {'x': 'y', 'foo': 0, 'bar': "yyy", 'ding': [1,3,5,7],\
'bang': {'foo': 0, 'lst': [1,2,3]}}
c = {'type': 'tool', 'x': 'y'... | 75623 |
describe "Compare", ->
a = b = c = d = e = null
beforeEach () ->
a = {'x': 'y', 'foo': 9, 'bar': "xxx", 'ding': [2,4,8],\
'dong': -10, 'bang': {'foo': 8}}
b = {'x': 'y', 'foo': 0, 'bar': "yyy", 'ding': [1,3,5,7],\
'bang': {'foo': 0, 'lst': [1,2,3]}}
c = {'type': 'tool', 'x': 'y'... | true |
describe "Compare", ->
a = b = c = d = e = null
beforeEach () ->
a = {'x': 'y', 'foo': 9, 'bar': "xxx", 'ding': [2,4,8],\
'dong': -10, 'bang': {'foo': 8}}
b = {'x': 'y', 'foo': 0, 'bar': "yyy", 'ding': [1,3,5,7],\
'bang': {'foo': 0, 'lst': [1,2,3]}}
c = {'type': 'tool', 'x': 'y'... |
[
{
"context": "###*\n * Normalize i18n object\n * @input { key: 'value1', key2:{fr: 'value', 'en': 'value'} }\n * @output ",
"end": 54,
"score": 0.7256240248680115,
"start": 48,
"tag": "KEY",
"value": "value1"
}
] | assets/_noramlize.coffee | gridfw/i18n-gulp | 0 | ###*
* Normalize i18n object
* @input { key: 'value1', key2:{fr: 'value', 'en': 'value'} }
* @output { en: {key:'value1', key2: 'value'}, fr: {key: 'value1', key2: 'value'} }
###
# normalize i18n
_normalize = (data)->
throw new Error "Normalize: Illegal input" unless typeof data is 'object' and data
# look for a... | 124823 | ###*
* Normalize i18n object
* @input { key: '<KEY>', key2:{fr: 'value', 'en': 'value'} }
* @output { en: {key:'value1', key2: 'value'}, fr: {key: 'value1', key2: 'value'} }
###
# normalize i18n
_normalize = (data)->
throw new Error "Normalize: Illegal input" unless typeof data is 'object' and data
# look for al... | true | ###*
* Normalize i18n object
* @input { key: 'PI:KEY:<KEY>END_PI', key2:{fr: 'value', 'en': 'value'} }
* @output { en: {key:'value1', key2: 'value'}, fr: {key: 'value1', key2: 'value'} }
###
# normalize i18n
_normalize = (data)->
throw new Error "Normalize: Illegal input" unless typeof data is 'object' and data
... |
[
{
"context": "key: 'mark'\n\npatterns: [\n\n # Matches mark unconstrained phr",
"end": 10,
"score": 0.7764093279838562,
"start": 6,
"tag": "KEY",
"value": "mark"
}
] | grammars/repositories/inlines/mark-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'mark'
patterns: [
# Matches mark unconstrained phrases
#
# Examples:
#
# m[role]##ark## phrase
#
name: 'markup.mark.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[[^\\]]+?\\])((##)(.+?)(##))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup.mark.asciidoc'
... | 97217 | key: '<KEY>'
patterns: [
# Matches mark unconstrained phrases
#
# Examples:
#
# m[role]##ark## phrase
#
name: 'markup.mark.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[[^\\]]+?\\])((##)(.+?)(##))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup.mark.asciidoc'
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches mark unconstrained phrases
#
# Examples:
#
# m[role]##ark## phrase
#
name: 'markup.mark.unconstrained.asciidoc'
match: '(?<!\\\\\\\\)(\\[[^\\]]+?\\])((##)(.+?)(##))'
captures:
1: name: 'markup.meta.attribute-list.asciidoc'
2: name: 'markup.ma... |
[
{
"context": "###\n knockback_factory.js\n (c) 2011-2013 Kevin Malakoff.\n Knockback.Factory is freely distributable unde",
"end": 57,
"score": 0.999787449836731,
"start": 43,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https://github.... | src/core/factory.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback_factory.js
(c) 2011-2013 Kevin Malakoff.
Knockback.Factory is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to share the hierachy of constructors and create functions by path to all... | 146983 | ###
knockback_factory.js
(c) 2011-2013 <NAME>.
Knockback.Factory is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to share the hierachy of constructors and create functions by path to allow for c... | true | ###
knockback_factory.js
(c) 2011-2013 PI:NAME:<NAME>END_PI.
Knockback.Factory is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to share the hierachy of constructors and create functions by path ... |
[
{
"context": "enerator-joomla-component\n\n\tindex.coffee\n\n\t@author Sean\n\n\t@note Created on 2014-10-04 by PhpStorm\n\t@note ",
"end": 61,
"score": 0.9991904497146606,
"start": 57,
"tag": "NAME",
"value": "Sean"
},
{
"context": "pStorm\n\t@note uses Codoc\n\t@see https://github.... | app/index.coffee | srsgores/generator-joomla-component | 16 | ###
generator-joomla-component
index.coffee
@author Sean
@note Created on 2014-10-04 by PhpStorm
@note uses Codoc
@see https://github.com/coffeedoc/codo
###
"use strict"
yeoman = require("yeoman-generator")
path = require("path")
###
@class ControllerGenerator sub-generator for joomla component controllers
... | 142098 | ###
generator-joomla-component
index.coffee
@author <NAME>
@note Created on 2014-10-04 by PhpStorm
@note uses Codoc
@see https://github.com/coffeedoc/codo
###
"use strict"
yeoman = require("yeoman-generator")
path = require("path")
###
@class ControllerGenerator sub-generator for joomla component controllers... | true | ###
generator-joomla-component
index.coffee
@author PI:NAME:<NAME>END_PI
@note Created on 2014-10-04 by PhpStorm
@note uses Codoc
@see https://github.com/coffeedoc/codo
###
"use strict"
yeoman = require("yeoman-generator")
path = require("path")
###
@class ControllerGenerator sub-generator for joomla compone... |
[
{
"context": "g (save)'] = (test) ->\n\tcount = 0\n\tModel.withKey 'benchmarkid2', (err, model) ->\n\t\tstartTime = new Date\n\t\tdo rec",
"end": 1752,
"score": 0.7083948254585266,
"start": 1740,
"tag": "KEY",
"value": "benchmarkid2"
}
] | test/benchmarks.coffee | ajorkowski/redis-model | 1 | RedisModel = require '../lib/redis-model'
redis = require("redis").createClient()
redis.flushall()
class Model extends RedisModel
constructor: ->
super redis, 'Model'
@addFields 'field1', 'field2'
Model = new Model
exports['Pure redis (read)'] = (test) ->
count = 0
redis.hset 'MODEL_id', 'field1', 'value', ... | 52961 | RedisModel = require '../lib/redis-model'
redis = require("redis").createClient()
redis.flushall()
class Model extends RedisModel
constructor: ->
super redis, 'Model'
@addFields 'field1', 'field2'
Model = new Model
exports['Pure redis (read)'] = (test) ->
count = 0
redis.hset 'MODEL_id', 'field1', 'value', ... | true | RedisModel = require '../lib/redis-model'
redis = require("redis").createClient()
redis.flushall()
class Model extends RedisModel
constructor: ->
super redis, 'Model'
@addFields 'field1', 'field2'
Model = new Model
exports['Pure redis (read)'] = (test) ->
count = 0
redis.hset 'MODEL_id', 'field1', 'value', ... |
[
{
"context": "playName in a React component definition\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 108,
"score": 0.9998201727867126,
"start": 91,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/display-name.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent missing displayName in a React component definition
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require ... | 217642 | ###*
# @fileoverview Prevent missing displayName in a React component definition
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rule... | true | ###*
# @fileoverview Prevent missing displayName in a React component definition
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = requi... |
[
{
"context": " [\"do\", \"re\", \"mi\", \"fa\", \"so\"]\n singers = {Jagger: \"Rock\", Elvis: \"Roll\"}\n $('.account').attr ",
"end": 7829,
"score": 0.5908118486404419,
"start": 7824,
"tag": "NAME",
"value": "agger"
},
{
"context": "n [47, 92, 13]\n print inspect \"My... | test/gram.coffee | hu2prod/scriptscript | 1 | assert = require 'assert'
util = require 'fy/test_util'
{_tokenize} = require '../src/tokenizer'
{_parse } = require '../src/grammar'
full = (t)->
tok = _tokenize(t)
_parse(tok, mode_full:true)
describe 'gram section', ()->
# fuckups
###
a /= b / c
###
sample_list = '''
HEAT_UP
a
+a
... | 26530 | assert = require 'assert'
util = require 'fy/test_util'
{_tokenize} = require '../src/tokenizer'
{_parse } = require '../src/grammar'
full = (t)->
tok = _tokenize(t)
_parse(tok, mode_full:true)
describe 'gram section', ()->
# fuckups
###
a /= b / c
###
sample_list = '''
HEAT_UP
a
+a
... | true | assert = require 'assert'
util = require 'fy/test_util'
{_tokenize} = require '../src/tokenizer'
{_parse } = require '../src/grammar'
full = (t)->
tok = _tokenize(t)
_parse(tok, mode_full:true)
describe 'gram section', ()->
# fuckups
###
a /= b / c
###
sample_list = '''
HEAT_UP
a
+a
... |
[
{
"context": " cacheParams = {\n key: \"#{api.fullname}-champions-#{region}-#{options.locale}-#{options.version}-\" +\n ",
"end": 1759,
"score": 0.9699857234954834,
"start": 1737,
"tag": "KEY",
"value": "champions-#{region}-#{"
},
{
"context": "api.fullname}-cha... | src/api/lolStaticData.coffee | jwalton/lol-js | 30 | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "lol-static-data-v1.2",
name: "lol-static-data",
version: "v1.2"
}
makeUrl = (region) -> "https://global.api.pvp.net/api/lol/static-data/#{region}/v1.2"
exports.methods = {
# Retrieve a list of champions
#
#... | 65976 | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "lol-static-data-v1.2",
name: "lol-static-data",
version: "v1.2"
}
makeUrl = (region) -> "https://global.api.pvp.net/api/lol/static-data/#{region}/v1.2"
exports.methods = {
# Retrieve a list of champions
#
#... | true | ld = require 'lodash'
pb = require 'promise-breaker'
api = exports.api = {
fullname: "lol-static-data-v1.2",
name: "lol-static-data",
version: "v1.2"
}
makeUrl = (region) -> "https://global.api.pvp.net/api/lol/static-data/#{region}/v1.2"
exports.methods = {
# Retrieve a list of champions
#
#... |
[
{
"context": " 0.6 }\n ]\n\nclient = new Myna.Client\n apiKey: \"092c90f6-a8f2-11e2-a2b9-7c6d628b25f7\"\n apiRoot: testApiRoot\n settings: \"myna.web.au",
"end": 407,
"score": 0.9997016191482544,
"start": 371,
"tag": "KEY",
"value": "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
}
] | src/test/reward-spec.coffee | plyfe/myna-js | 2 | expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": true
variants: [
{ id: "a", settings: { buttons: "red" }, weight: 0.2 }
{ id: "b", settings: { buttons: "green" }, weight: 0.4 }
{ id: "c", settings: { buttons: "blue" }, weight... | 127103 | expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": true
variants: [
{ id: "a", settings: { buttons: "red" }, weight: 0.2 }
{ id: "b", settings: { buttons: "green" }, weight: 0.4 }
{ id: "c", settings: { buttons: "blue" }, weight... | true | expt = new Myna.Experiment
uuid: "45923780-80ed-47c6-aa46-15e2ae7a0e8c"
id: "id"
settings: "myna.web.sticky": true
variants: [
{ id: "a", settings: { buttons: "red" }, weight: 0.2 }
{ id: "b", settings: { buttons: "green" }, weight: 0.4 }
{ id: "c", settings: { buttons: "blue" }, weight... |
[
{
"context": "\n COUNTRIES = {}\n\n users = []\n names = ['Abbot', 'Brandt', 'Compton', 'Dykes', 'Ernst', 'Fultz',",
"end": 1526,
"score": 0.9998258948326111,
"start": 1521,
"tag": "NAME",
"value": "Abbot"
},
{
"context": "TRIES = {}\n\n users = []\n names = ['Abbot', ... | test/sqlscripts.coffee | smbape/node-dblayer | 0 | async = require 'async'
_ = require 'lodash'
{squel} = require('../')
module.exports = (config, connectors, done)->
pMgr = globals.pMgr
scripts = []
languages = []
languages.push
data:
code: 'fr-FR'
key: 'FR'
label: 'Français'
translation:
... | 80296 | async = require 'async'
_ = require 'lodash'
{squel} = require('../')
module.exports = (config, connectors, done)->
pMgr = globals.pMgr
scripts = []
languages = []
languages.push
data:
code: 'fr-FR'
key: 'FR'
label: 'Français'
translation:
... | true | async = require 'async'
_ = require 'lodash'
{squel} = require('../')
module.exports = (config, connectors, done)->
pMgr = globals.pMgr
scripts = []
languages = []
languages.push
data:
code: 'fr-FR'
key: 'FR'
label: 'Français'
translation:
... |
[
{
"context": "rn\n\n User.create(name: req.body.name, password: req.body.password)\n .success (user) =>\n @res.json u",
"end": 351,
"score": 0.9726322293281555,
"start": 334,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | example/app/controllers/User.coffee | luin/Suki | 0 | module.exports = class extends Suki.Controller
@before '_checkPermission', only: 'createTask'
# GET /users/:userId
show: (@user) ->
@res.render()
# POST /users
create: ->
unless req.body.name or req.body.password
@next new Error 'Invalid params'
return
User.create(name: req.body.na... | 105460 | module.exports = class extends Suki.Controller
@before '_checkPermission', only: 'createTask'
# GET /users/:userId
show: (@user) ->
@res.render()
# POST /users
create: ->
unless req.body.name or req.body.password
@next new Error 'Invalid params'
return
User.create(name: req.body.na... | true | module.exports = class extends Suki.Controller
@before '_checkPermission', only: 'createTask'
# GET /users/:userId
show: (@user) ->
@res.render()
# POST /users
create: ->
unless req.body.name or req.body.password
@next new Error 'Invalid params'
return
User.create(name: req.body.na... |
[
{
"context": " /Liorean/g\n sample = \"Liorean said: My name is Liorean!\"\n pat = new BetterRegExp exp\n ours = sampl",
"end": 1926,
"score": 0.999792754650116,
"start": 1919,
"tag": "NAME",
"value": "Liorean"
}
] | node_modules/BetterRegExp/test/compatibility.coffee | DORCAS12345/lamisplus-angular | 1 | {util} = BetterRegExp = require '../'
should = require 'should'
require 'mocha'
# These samples are from http://www.javascriptkit.com/javatutors/redev3.shtml
describe 'instanceof', ->
it 'should be the same', (done) ->
exp = /sample/
pat = new BetterRegExp exp
(exp instanceof RegExp).should.equal true
... | 51242 | {util} = BetterRegExp = require '../'
should = require 'should'
require 'mocha'
# These samples are from http://www.javascriptkit.com/javatutors/redev3.shtml
describe 'instanceof', ->
it 'should be the same', (done) ->
exp = /sample/
pat = new BetterRegExp exp
(exp instanceof RegExp).should.equal true
... | true | {util} = BetterRegExp = require '../'
should = require 'should'
require 'mocha'
# These samples are from http://www.javascriptkit.com/javatutors/redev3.shtml
describe 'instanceof', ->
it 'should be the same', (done) ->
exp = /sample/
pat = new BetterRegExp exp
(exp instanceof RegExp).should.equal true
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.