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": "'question', 'type']\n# contact: [\n# 'firstName'\n# 'lastName'\n# photos: ['url', '",
"end": 318,
"score": 0.9978651404380798,
"start": 309,
"tag": "NAME",
"value": "firstName"
},
{
"context": " contact: [\n# 'firstName'\n# ... | test/integration.spec.coffee | jamesknelson/angular-deputy | 1 | # TODO: set up a big test which uses all the features, using the following model:
# studyListOptions =
# action: 'partiallist'
# method: 'POST'
# force: true
# select: [
# 'answer'
# 'active'
# 'locked'
# question: ['question', 'type']
# contact: [
# 'firstName'
... | 19068 | # TODO: set up a big test which uses all the features, using the following model:
# studyListOptions =
# action: 'partiallist'
# method: 'POST'
# force: true
# select: [
# 'answer'
# 'active'
# 'locked'
# question: ['question', 'type']
# contact: [
# '<NAME>'
# ... | true | # TODO: set up a big test which uses all the features, using the following model:
# studyListOptions =
# action: 'partiallist'
# method: 'POST'
# force: true
# select: [
# 'answer'
# 'active'
# 'locked'
# question: ['question', 'type']
# contact: [
# 'PI:NAME:<NA... |
[
{
"context": " id: 'acti_'+faker.random.uuid()\n to: ['teacher1@example.com']\n sender: 'Sales McClose <sales_1@codecomba",
"end": 354,
"score": 0.9999292492866516,
"start": 334,
"tag": "EMAIL",
"value": "teacher1@example.com"
},
{
"context": " to: ['teacher1@exam... | spec/scripts/sales/closeFactories.coffee | l34kr/codecombat | 0 | _ = require 'lodash'
moment = require 'moment'
faker = require 'faker'
makeTasksResult = (total_results) ->
return {
total_results
has_more: false
data: []
}
makeActivityResult = ({ auto1, auto2, they_replied } = {}) ->
activities = []
if auto1
activity = {
id: 'acti_'+faker.random.uuid(... | 108202 | _ = require 'lodash'
moment = require 'moment'
faker = require 'faker'
makeTasksResult = (total_results) ->
return {
total_results
has_more: false
data: []
}
makeActivityResult = ({ auto1, auto2, they_replied } = {}) ->
activities = []
if auto1
activity = {
id: 'acti_'+faker.random.uuid(... | true | _ = require 'lodash'
moment = require 'moment'
faker = require 'faker'
makeTasksResult = (total_results) ->
return {
total_results
has_more: false
data: []
}
makeActivityResult = ({ auto1, auto2, they_replied } = {}) ->
activities = []
if auto1
activity = {
id: 'acti_'+faker.random.uuid(... |
[
{
"context": "key,value,prevValue) ->\n key = key.replace('AllSelected','')\n @_allFilters(key).isEvery('isFiltering')",
"end": 2552,
"score": 0.9857697486877441,
"start": 2544,
"tag": "KEY",
"value": "Selected"
}
] | app/mixins/filter-params.coffee | zkwentz/ember-filter-params | 8 | `import Ember from 'ember'`
FilterParamsMixin = Ember.Mixin.create(
filters: Ember.computed(->
[]
)
multiFilters: Ember.computed(->
[]
)
_filters: (->
Ember.keys(@get('filters'))
).property('filters')
_multiFilters: (->
Ember.keys(@get('multiFilters'))
).property('multiFilters')
i... | 189404 | `import Ember from 'ember'`
FilterParamsMixin = Ember.Mixin.create(
filters: Ember.computed(->
[]
)
multiFilters: Ember.computed(->
[]
)
_filters: (->
Ember.keys(@get('filters'))
).property('filters')
_multiFilters: (->
Ember.keys(@get('multiFilters'))
).property('multiFilters')
i... | true | `import Ember from 'ember'`
FilterParamsMixin = Ember.Mixin.create(
filters: Ember.computed(->
[]
)
multiFilters: Ember.computed(->
[]
)
_filters: (->
Ember.keys(@get('filters'))
).property('filters')
_multiFilters: (->
Ember.keys(@get('multiFilters'))
).property('multiFilters')
i... |
[
{
"context": "ges with observer pattern.\n * @function\n * @author İsmail Demirbilek\n###\nangular.module 'esef.frontend.storage'\n .fac",
"end": 236,
"score": 0.9998894929885864,
"start": 219,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | src/storage/coffee/services/storage.coffee | egemsoft/esef-frontend | 0 | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.storage.services:storage
* @description
* Storage service which stores key/value objects and notifies changes with observer pattern.
* @function
* @author İsmail Demirbilek
###
angular.module 'esef.frontend.storage'
.factory 'storage', ->
storage = {... | 142162 | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.storage.services:storage
* @description
* Storage service which stores key/value objects and notifies changes with observer pattern.
* @function
* @author <NAME>
###
angular.module 'esef.frontend.storage'
.factory 'storage', ->
storage = {}
obser... | true | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.storage.services:storage
* @description
* Storage service which stores key/value objects and notifies changes with observer pattern.
* @function
* @author PI:NAME:<NAME>END_PI
###
angular.module 'esef.frontend.storage'
.factory 'storage', ->
storage ... |
[
{
"context": ": $scope.email\n \"password\": $scope.password\n \"remember\": Boolean($scop",
"end": 439,
"score": 0.9372374415397644,
"start": 424,
"tag": "PASSWORD",
"value": "$scope.password"
}
] | v2.5/src/app/controllers/loginController.coffee | sharonlucong/compass-intel-rsa-dist | 0 | define(['./baseController'], ()->
'use strict';
angular.module('compass.controllers')
.controller 'loginCtrl', ['$scope', '$state', 'authService', 'userFactory',
($scope, $state, authService, userFactory) ->
$scope.alerts = []
$scope.login = ->
... | 177667 | define(['./baseController'], ()->
'use strict';
angular.module('compass.controllers')
.controller 'loginCtrl', ['$scope', '$state', 'authService', 'userFactory',
($scope, $state, authService, userFactory) ->
$scope.alerts = []
$scope.login = ->
... | true | define(['./baseController'], ()->
'use strict';
angular.module('compass.controllers')
.controller 'loginCtrl', ['$scope', '$state', 'authService', 'userFactory',
($scope, $state, authService, userFactory) ->
$scope.alerts = []
$scope.login = ->
... |
[
{
"context": "ql:\n admin_db: 'root'\n admin_password: 'rootme'\n admin_username: 'root'\n engine: 'mysq",
"end": 108,
"score": 0.999264657497406,
"start": 102,
"tag": "PASSWORD",
"value": "rootme"
},
{
"context": " admin_password: 'rootme'\n admin_username:... | packages/db/env/mysql/test.coffee | wdavidw/node-mecano | 0 |
module.exports =
tags:
db: true
db:
mysql:
admin_db: 'root'
admin_password: 'rootme'
admin_username: 'root'
engine: 'mysql'
host: 'mysql'
port: 3306
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
... | 158288 |
module.exports =
tags:
db: true
db:
mysql:
admin_db: 'root'
admin_password: '<PASSWORD>'
admin_username: 'root'
engine: 'mysql'
host: 'mysql'
port: 3306
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
... | true |
module.exports =
tags:
db: true
db:
mysql:
admin_db: 'root'
admin_password: 'PI:PASSWORD:<PASSWORD>END_PI'
admin_username: 'root'
engine: 'mysql'
host: 'mysql'
port: 3306
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: p... |
[
{
"context": "\n asp = new ASP { progress_hook }\n userids = [ 'maxtaco@keybase.io', 'you@yahoo.com' ]\n passphrase = Buffer.from \"c",
"end": 647,
"score": 0.9999245405197144,
"start": 629,
"tag": "EMAIL",
"value": "maxtaco@keybase.io"
},
{
"context": "gress_hook }\n userids = [... | dev/gen.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../src/keymanager'
{bufferify,ASP} = require '../src/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../src/keybase/encode'
{Encryptor} = require 'triplesec'
progress_hook = (obj) ->
if obj.p?
s = obj.p.toString()
s = "#{s[0...3]}....#{s[(s.length-6)...]... | 187113 | {KeyManager} = require '../src/keymanager'
{bufferify,ASP} = require '../src/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../src/keybase/encode'
{Encryptor} = require 'triplesec'
progress_hook = (obj) ->
if obj.p?
s = obj.p.toString()
s = "#{s[0...3]}....#{s[(s.length-6)...]... | true | {KeyManager} = require '../src/keymanager'
{bufferify,ASP} = require '../src/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../src/keybase/encode'
{Encryptor} = require 'triplesec'
progress_hook = (obj) ->
if obj.p?
s = obj.p.toString()
s = "#{s[0...3]}....#{s[(s.length-6)...]... |
[
{
"context": " user2', (done) ->\n fileData =\n fileKey: '2107ff00571d2cf89eebbd0ddabbdeb38fb0'\n fileName: 'ic_favorite_task.png'\n fil",
"end": 434,
"score": 0.9997634291648865,
"start": 398,
"tag": "KEY",
"value": "2107ff00571d2cf89eebbd0ddabbdeb38fb0"
},
{
"cont... | talk-api2x/test/controllers/story.coffee | ikingye/talk-os | 3,084 | should = require 'should'
async = require 'async'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, prepareAsync, cleanup, request, requestAsync} = app
{
StoryModel
NotificationModel
} = limbo.use 'talk'
describe 'Story#CURD', ->
before prepare
it 'should create a private... | 62954 | should = require 'should'
async = require 'async'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, prepareAsync, cleanup, request, requestAsync} = app
{
StoryModel
NotificationModel
} = limbo.use 'talk'
describe 'Story#CURD', ->
before prepare
it 'should create a private... | true | should = require 'should'
async = require 'async'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, prepareAsync, cleanup, request, requestAsync} = app
{
StoryModel
NotificationModel
} = limbo.use 'talk'
describe 'Story#CURD', ->
before prepare
it 'should create a private... |
[
{
"context": "ypeLookup.CardSkin # category of cosmetic\n\tname: \"Healing Mystic Bandai Namco\"\n\tshopDescription: \"Heal",
"end": 44622,
"score": 0.7467601299285889,
"start": 44620,
"tag": "NAME",
"value": "He"
},
{
"context": "category of cosmetic\n\tname: \"Healing Mystic Bandai... | app/sdk/cosmetics/cosmeticsFactory.coffee | willroberts/duelyst | 5 | # do not add this file to any resource package
# it is handled by special processing
_ = require 'underscore'
moment = require 'moment'
RSX = require('app/data/resources')
CosmeticsLookup = require './cosmeticsLookup'
CosmeticsTypeLookup = require './cosmeticsTypeLookup'
CosmeticsChestTypeLookup = require './cosmeticsC... | 13111 | # do not add this file to any resource package
# it is handled by special processing
_ = require 'underscore'
moment = require 'moment'
RSX = require('app/data/resources')
CosmeticsLookup = require './cosmeticsLookup'
CosmeticsTypeLookup = require './cosmeticsTypeLookup'
CosmeticsChestTypeLookup = require './cosmeticsC... | true | # do not add this file to any resource package
# it is handled by special processing
_ = require 'underscore'
moment = require 'moment'
RSX = require('app/data/resources')
CosmeticsLookup = require './cosmeticsLookup'
CosmeticsTypeLookup = require './cosmeticsTypeLookup'
CosmeticsChestTypeLookup = require './cosmeticsC... |
[
{
"context": "ject.freeze [\n {\n _id: 'user1'\n username: 'user1'\n password: 'password1'\n profile: name: 'Te",
"end": 74,
"score": 0.9973582029342651,
"start": 69,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "_id: 'user1'\n username: 'user1'\n password: ... | tests/fixtures/users.coffee | aramk/meteor-events | 3 | Fixtures.users = Object.freeze [
{
_id: 'user1'
username: 'user1'
password: 'password1'
profile: name: 'Test User'
roles: ['reader']
}
{
_id: 'user2'
username: 'user2'
password: 'password2'
profile: name: 'Test User 2'
roles: ['reader', 'writer']
}
]
| 48879 | Fixtures.users = Object.freeze [
{
_id: 'user1'
username: 'user1'
password: '<PASSWORD>'
profile: name: 'Test User'
roles: ['reader']
}
{
_id: 'user2'
username: 'user2'
password: '<PASSWORD>'
profile: name: 'Test User 2'
roles: ['reader', 'writer']
}
]
| true | Fixtures.users = Object.freeze [
{
_id: 'user1'
username: 'user1'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
profile: name: 'Test User'
roles: ['reader']
}
{
_id: 'user2'
username: 'user2'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
profile: name: 'Test User 2'
roles: ['reader',... |
[
{
"context": " path.join(buildDir, 'installer')\n authors: 'Chase Sillevis'\n loadingGif: path.resolve(__dirname, '..', ",
"end": 3007,
"score": 0.9998917579650879,
"start": 2993,
"tag": "NAME",
"value": "Chase Sillevis"
},
{
"context": " iconUrl: 'https://raw.githubus... | build/Gruntfile.coffee | DeviaVir/inbox-web | 1 | fs = require 'fs'
path = require 'path'
os = require 'os'
# Add support for obselete APIs of vm module so we can make some third-party
# modules work under node v0.11.x.
require 'vm-compatibility-layer'
_ = require 'underscore-plus'
packageJson = require '../package.json'
# Shim harmony collections in case grunt wa... | 181087 | fs = require 'fs'
path = require 'path'
os = require 'os'
# Add support for obselete APIs of vm module so we can make some third-party
# modules work under node v0.11.x.
require 'vm-compatibility-layer'
_ = require 'underscore-plus'
packageJson = require '../package.json'
# Shim harmony collections in case grunt wa... | true | fs = require 'fs'
path = require 'path'
os = require 'os'
# Add support for obselete APIs of vm module so we can make some third-party
# modules work under node v0.11.x.
require 'vm-compatibility-layer'
_ = require 'underscore-plus'
packageJson = require '../package.json'
# Shim harmony collections in case grunt wa... |
[
{
"context": " down along the road met a nicens little boy named baby tuckoo...\\n\\nHis father told him that story: his fa",
"end": 3464,
"score": 0.7299613952636719,
"start": 3458,
"tag": "NAME",
"value": "baby t"
},
{
"context": "s baby tuckoo. The moocow came down the road where ... | js/lesson_plans.coffee | khl2bb/LearnBlockChain | 0 | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Writing in Markdown is not that hard!"
renderedAnswer: "<p>Writing in Markdown is <em>not</em> that hard!</p>"
1:
startingText: "I will complete these lessons!"
renderedAnswer: "<p>I <strong>will</strong> complete thes... | 114331 | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Writing in Markdown is not that hard!"
renderedAnswer: "<p>Writing in Markdown is <em>not</em> that hard!</p>"
1:
startingText: "I will complete these lessons!"
renderedAnswer: "<p>I <strong>will</strong> complete thes... | true | ---
---
root = exports ? this
root.lessons =
1:
0:
startingText: "Writing in Markdown is not that hard!"
renderedAnswer: "<p>Writing in Markdown is <em>not</em> that hard!</p>"
1:
startingText: "I will complete these lessons!"
renderedAnswer: "<p>I <strong>will</strong> complete thes... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.\n\nPermission is hereby",
"end": 56,
"score": 0.9998115301132202,
"start": 40,
"tag": "NAME",
"value": "Juan Cruz Viotti"
}
] | lib/utils.coffee | jviotti/wary | 1 | ###
The MIT License
Copyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.
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... | 214662 | ###
The MIT License
Copyright (c) 2015 <NAME>. https://jviotti.github.io.
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... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI. https://jviotti.github.io.
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 right... |
[
{
"context": "email.test =\n match:\n flags: 'g'\n sample: 'johnny@gmail.com tommy92@mail.co.nz don.+.juan_julio@sanjuan.io kz",
"end": 526,
"score": 0.9998931884765625,
"start": 510,
"tag": "EMAIL",
"value": "johnny@gmail.com"
},
{
"context": "atch:\n flags: 'g'\n sampl... | node_modules/xemplar/lib/patterns/information.coffee | DORCAS12345/lamisplus-angular | 0 | patterns =
email: /[\w!#$%&'*+/=?^`{|}~-]+(?:\.[\w!#$%&'*+/=?^`{|}~-]+)*@(?:[a-z\d](?:[a-z\d-]*[a-z\d])?\.)+(?:[a-z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum)\b/i
phone:
us: /(?:[\(])?([2-9]\d{2})(?:[\)])?(?:[\.-])?(\d{3})(?:[\.-])?(\d{4})/
credit_card: /(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|... | 132942 | patterns =
email: /[\w!#$%&'*+/=?^`{|}~-]+(?:\.[\w!#$%&'*+/=?^`{|}~-]+)*@(?:[a-z\d](?:[a-z\d-]*[a-z\d])?\.)+(?:[a-z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum)\b/i
phone:
us: /(?:[\(])?([2-9]\d{2})(?:[\)])?(?:[\.-])?(\d{3})(?:[\.-])?(\d{4})/
credit_card: /(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|... | true | patterns =
email: /[\w!#$%&'*+/=?^`{|}~-]+(?:\.[\w!#$%&'*+/=?^`{|}~-]+)*@(?:[a-z\d](?:[a-z\d-]*[a-z\d])?\.)+(?:[a-z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum)\b/i
phone:
us: /(?:[\(])?([2-9]\d{2})(?:[\)])?(?:[\.-])?(\d{3})(?:[\.-])?(\d{4})/
credit_card: /(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|... |
[
{
"context": "e.log window.atob(sitcon_secret)\n console.log \"SGVsbG8lMkMlMjAlRTUlQTYlODIlRTYlOUUlOUMlRTQlQkQlQTAlRTYlOTglQUYlRTUlQUQlQjglRTclOTQlOUYlRUYlQkMlOEMlRTYlQUQlQTElRTglQkYlOEUlRTUlOEElQTAlRTUlODUlQTUlRTQlQjklOEIlRTUlQkUlOEMlRTUlOEQlQjMlRTUlQjAlODclRTYlODglOTAlRTclQUIlOEIlRTclOUElODQlMjBTSVRDT04lMj... | coffeescripts/main.coffee | sitcon-tw/2014 | 1 | ###
# Preload Elements
###
$window = $(window)
$dom = $("html")
screenWidth = $window.width()
screenHeight = $window.height()
$menu = $("#main-menu ul")
$menuItems = $menu.children('.item')
$menuItem = [
$($menuItems[0])
$($menuItems[1])
$($menuItems[2])
$($menuItems[3])
$($menuItems[4])
$($menuItems[5])
]... | 181098 | ###
# Preload Elements
###
$window = $(window)
$dom = $("html")
screenWidth = $window.width()
screenHeight = $window.height()
$menu = $("#main-menu ul")
$menuItems = $menu.children('.item')
$menuItem = [
$($menuItems[0])
$($menuItems[1])
$($menuItems[2])
$($menuItems[3])
$($menuItems[4])
$($menuItems[5])
]... | true | ###
# Preload Elements
###
$window = $(window)
$dom = $("html")
screenWidth = $window.width()
screenHeight = $window.height()
$menu = $("#main-menu ul")
$menuItems = $menu.children('.item')
$menuItem = [
$($menuItems[0])
$($menuItems[1])
$($menuItems[2])
$($menuItems[3])
$($menuItems[4])
$($menuItems[5])
]... |
[
{
"context": " the same ID', () ->\n anAccount = new Account 'foobar', 'Foo Bar'\n otherAccount = new Account 'fooba",
"end": 171,
"score": 0.9420756697654724,
"start": 165,
"tag": "USERNAME",
"value": "foobar"
},
{
"context": "oobar', 'Foo Bar'\n otherAccount = new Account ... | test/dummy/spec/javascripts/Account_spec.js.coffee | railsc0d0r/global8ball_game | 0 | #= require game/Account
Account = global8ball.Account
describe 'Account', () ->
it 'equals another account with the same ID', () ->
anAccount = new Account 'foobar', 'Foo Bar'
otherAccount = new Account 'foobar', 'Bar Foo'
expect(anAccount.equals otherAccount).toBeTruthy()
it 'does not equal another... | 220369 | #= require game/Account
Account = global8ball.Account
describe 'Account', () ->
it 'equals another account with the same ID', () ->
anAccount = new Account 'foobar', 'Foo Bar'
otherAccount = new Account 'foobar', 'Bar Foo'
expect(anAccount.equals otherAccount).toBeTruthy()
it 'does not equal another... | true | #= require game/Account
Account = global8ball.Account
describe 'Account', () ->
it 'equals another account with the same ID', () ->
anAccount = new Account 'foobar', 'Foo Bar'
otherAccount = new Account 'foobar', 'Bar Foo'
expect(anAccount.equals otherAccount).toBeTruthy()
it 'does not equal another... |
[
{
"context": "l\n eventType = null\n context =\n name: \"Jonas\"\n iWasClicked: (view, context, event) ->\n ",
"end": 510,
"score": 0.9993677139282227,
"start": 505,
"tag": "NAME",
"value": "Jonas"
},
{
"context": "ct(nodeName).to.eql(\"A\")\n expect(name).to.eql... | test/integration/events.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the context action when triggered', ->
context = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', context
@fireEvent @body.querySelector('div'), 'click'
expec... | 212655 | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the context action when triggered', ->
context = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', context
@fireEvent @body.querySelector('div'), 'click'
expec... | true | require './../spec_helper'
describe 'Events', ->
beforeEach ->
@setupDom()
it 'attaches an event which calls the context action when triggered', ->
context = { iWasClicked: -> @clicked = true }
@render 'div[event:click=iWasClicked]', context
@fireEvent @body.querySelector('div'), 'click'
expec... |
[
{
"context": "# @author Justin Lau <justin@tclau.com>\n# @copyright Copyright (c) 201",
"end": 23,
"score": 0.9998646378517151,
"start": 13,
"tag": "NAME",
"value": "Justin Lau"
},
{
"context": "# @author Justin Lau <justin@tclau.com>\n# @copyright Copyright (c) 2014 Justin Lau... | src/scripts/directives/ui-iconpicker.coffee | Sontan/ui-iconpicker | 27 | # @author Justin Lau <justin@tclau.com>
# @copyright Copyright (c) 2014 Justin Lau <justin@tclau.com>
# @license The MIT License (MIT)
#
# 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 w... | 213520 | # @author <NAME> <<EMAIL>>
# @copyright Copyright (c) 2014 <NAME> <<EMAIL>>
# @license The MIT License (MIT)
#
# 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, includ... | true | # @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @copyright Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @license The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Softwar... |
[
{
"context": "t-a-uuid-probably'\n meshblu_auth_token: 'totally-a-token'\n Accept: \"application/json, text/plain,",
"end": 966,
"score": 0.997692883014679,
"start": 951,
"tag": "PASSWORD",
"value": "totally-a-token"
}
] | test/device-service-spec.coffee | octoblu/blu-web | 3 | describe 'DeviceService', ->
beforeEach ->
module 'blu', ($provide) =>
return
inject ($httpBackend, DeviceService) =>
@sut = DeviceService
@httpBackend = $httpBackend
it 'should exist', ->
expect(@sut).to.exist
describe '->getDevice', ->
it 'should be a function', ->
... | 87288 | describe 'DeviceService', ->
beforeEach ->
module 'blu', ($provide) =>
return
inject ($httpBackend, DeviceService) =>
@sut = DeviceService
@httpBackend = $httpBackend
it 'should exist', ->
expect(@sut).to.exist
describe '->getDevice', ->
it 'should be a function', ->
... | true | describe 'DeviceService', ->
beforeEach ->
module 'blu', ($provide) =>
return
inject ($httpBackend, DeviceService) =>
@sut = DeviceService
@httpBackend = $httpBackend
it 'should exist', ->
expect(@sut).to.exist
describe '->getDevice', ->
it 'should be a function', ->
... |
[
{
"context": "###\n * fs-filesysteminfo\n * https://github.com/cookch10/node-fs-filesysteminfo\n *\n * Copyright (c) 2016 ",
"end": 57,
"score": 0.9996155500411987,
"start": 49,
"tag": "USERNAME",
"value": "cookch10"
},
{
"context": "0/node-fs-filesysteminfo\n *\n * Copyright (c)... | src/index.coffee | cookch10/node-fs-filesysteminfo | 4 | ###
* fs-filesysteminfo
* https://github.com/cookch10/node-fs-filesysteminfo
*
* Copyright (c) 2016 Christopher M. Cook
* Licensed under the MIT license.
###
"use strict"
IO = require("./fs-filesysteminfo.js").Util.System.IO
exports.FileSystemInfo = IO.FileSystemInfo
exports.DirectoryInfo = IO.DirectoryInfo
... | 9233 | ###
* fs-filesysteminfo
* https://github.com/cookch10/node-fs-filesysteminfo
*
* Copyright (c) 2016 <NAME>
* Licensed under the MIT license.
###
"use strict"
IO = require("./fs-filesysteminfo.js").Util.System.IO
exports.FileSystemInfo = IO.FileSystemInfo
exports.DirectoryInfo = IO.DirectoryInfo
exports.FileI... | true | ###
* fs-filesysteminfo
* https://github.com/cookch10/node-fs-filesysteminfo
*
* Copyright (c) 2016 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
IO = require("./fs-filesysteminfo.js").Util.System.IO
exports.FileSystemInfo = IO.FileSystemInfo
exports.DirectoryInfo = IO.DirectoryInfo... |
[
{
"context": "@options.key_sep)\n\t\t\tkey = new RegExp \"^#{_.last(s)+b+c}$\"\n\t\t\n\t\tif !_.isRegExp(key)\n\t\t\t@emit \"error\", new E",
"end": 3185,
"score": 0.7752351760864258,
"start": 3180,
"tag": "KEY",
"value": "b+c}$"
}
] | src/resource.coffee | tyler-johnson/json-toolkit | 2 | ###
# This file provides a basic JSON object handling
###
json = require '../main'
_ = require 'underscore'
fs = require 'fs'
SRPClass = require('./SRPClass')
class JSONResource extends SRPClass
constructor: (v, options) ->
@options = _.defaults options,
from_file: false,
key_sep: ":",
pretty_output: fals... | 116503 | ###
# This file provides a basic JSON object handling
###
json = require '../main'
_ = require 'underscore'
fs = require 'fs'
SRPClass = require('./SRPClass')
class JSONResource extends SRPClass
constructor: (v, options) ->
@options = _.defaults options,
from_file: false,
key_sep: ":",
pretty_output: fals... | true | ###
# This file provides a basic JSON object handling
###
json = require '../main'
_ = require 'underscore'
fs = require 'fs'
SRPClass = require('./SRPClass')
class JSONResource extends SRPClass
constructor: (v, options) ->
@options = _.defaults options,
from_file: false,
key_sep: ":",
pretty_output: fals... |
[
{
"context": "r = robot.brain.userForId \"1\",\n name: \"mocha\"\n email: \"mocha@example.com\"\n ",
"end": 764,
"score": 0.5681964755058289,
"start": 759,
"tag": "NAME",
"value": "mocha"
},
{
"context": "1\",\n name: \"mocha\"\n em... | test/command_spec.coffee | Furchin/hubot-tangocard-highfive | 0 | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment variables
process.env.HUBOT_H... | 121947 | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment variables
process.env.HUBOT_H... | true | # Hubot classes
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
path = require 'path'
# Load assertion methods to this scope
{ expect } = require 'chai'
nock = require 'nock'
nock.disableNetConnect()
# Globals
robot = user = {}
# Test environment variables
process.env.HUBOT_H... |
[
{
"context": "ey for reading/writing to local storage\n key: 'weather-locations'\n\n # Refresh period for caching updates\n # ",
"end": 229,
"score": 0.983734130859375,
"start": 212,
"tag": "KEY",
"value": "weather-locations"
}
] | assets/config.coffee | thelucre/weather | 0 | ###
Global App Config
###
module.exports =
# Schema for user-defined preferences
settings:
units: 'imperial'
# Local storage settings
cache:
# Key for reading/writing to local storage
key: 'weather-locations'
# Refresh period for caching updates
# If weather data for a given unit system i... | 140562 | ###
Global App Config
###
module.exports =
# Schema for user-defined preferences
settings:
units: 'imperial'
# Local storage settings
cache:
# Key for reading/writing to local storage
key: '<KEY>'
# Refresh period for caching updates
# If weather data for a given unit system is younger th... | true | ###
Global App Config
###
module.exports =
# Schema for user-defined preferences
settings:
units: 'imperial'
# Local storage settings
cache:
# Key for reading/writing to local storage
key: 'PI:KEY:<KEY>END_PI'
# Refresh period for caching updates
# If weather data for a given unit system ... |
[
{
"context": "me) \"top message\" \"bottom message\"\n#\n# Author:\n# lilybethshields\n# waynegraham\n\nUtil = require 'util'\n\nmemes =\n ",
"end": 295,
"score": 0.9980314373970032,
"start": 280,
"tag": "USERNAME",
"value": "lilybethshields"
},
{
"context": "ottom message\"\n#\n... | src/memes.coffee | waynegraham/hubot-memes | 6 | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme show - Show all memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = ... | 39143 | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme show - Show all memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = ... | true | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme show - Show all memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = ... |
[
{
"context": "n object\n\t###\n\tget: (playerId) ->\n\t\ttokenKey = keyPrefix() + playerId\n\t\t@redis.hgetallAsync(tokenKey) # re",
"end": 3326,
"score": 0.8051453232765198,
"start": 3320,
"tag": "KEY",
"value": "Prefix"
},
{
"context": "} token id\n\t###\n\tgetId: (playerId) ->\n\t... | server/redis/r-tokenmanager.coffee | willroberts/duelyst | 5 | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
uuid = require 'node-uuid'
warlock = require '@counterplay/warlock'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
GameType = require '../../app/sdk/gameType.coffee'
env... | 101409 | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
uuid = require 'node-uuid'
warlock = require '@counterplay/warlock'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
GameType = require '../../app/sdk/gameType.coffee'
env... | true | _ = require 'underscore'
Promise = require 'bluebird'
moment = require 'moment'
crypto = require 'crypto'
uuid = require 'node-uuid'
warlock = require '@counterplay/warlock'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
GameType = require '../../app/sdk/gameType.coffee'
env... |
[
{
"context": " .visit(\"http://localhost:3434/jquery.html?email=brian@cypress.io\")\n\n context \"issue #272: responses which are nev",
"end": 2992,
"score": 0.9999134540557861,
"start": 2976,
"tag": "EMAIL",
"value": "brian@cypress.io"
}
] | packages/server/test/support/fixtures/projects/e2e/cypress/integration/visit_spec.coffee | Everworks/cypress | 3 | describe "visits", ->
it "scrolls automatically to div with id=foo", ->
cy
.visit("/hash.html#foo")
.window().its("scrollY").should("eq", 1000)
it "can load an http page with a huge amount of elements without timing out", ->
cy.visit("http://localhost:3434/elements.html", {timeout: 5000})
it... | 17040 | describe "visits", ->
it "scrolls automatically to div with id=foo", ->
cy
.visit("/hash.html#foo")
.window().its("scrollY").should("eq", 1000)
it "can load an http page with a huge amount of elements without timing out", ->
cy.visit("http://localhost:3434/elements.html", {timeout: 5000})
it... | true | describe "visits", ->
it "scrolls automatically to div with id=foo", ->
cy
.visit("/hash.html#foo")
.window().its("scrollY").should("eq", 1000)
it "can load an http page with a huge amount of elements without timing out", ->
cy.visit("http://localhost:3434/elements.html", {timeout: 5000})
it... |
[
{
"context": " assert.isNotNull ent\n eql 'Bo André Tenström', ent.display_name\n\n describe 'initFromSelfEnt",
"end": 437,
"score": 0.9998834729194641,
"start": 420,
"tag": "NAME",
"value": "Bo André Tenström"
},
{
"context": " assert.isNotNull e\n... | test/test-entity-init.coffee | cwonrails/yakyak | 4,508 | init = require './init.json'
entity = require '../src/ui/models/entity'
describe 'entity', ->
beforeEach ->
entity._reset()
describe 'initFromEntities', ->
it 'populates lookup', ->
added = entity._initFromEntities init.entities
eql 2, added
eql 2, entit... | 122245 | init = require './init.json'
entity = require '../src/ui/models/entity'
describe 'entity', ->
beforeEach ->
entity._reset()
describe 'initFromEntities', ->
it 'populates lookup', ->
added = entity._initFromEntities init.entities
eql 2, added
eql 2, entit... | true | init = require './init.json'
entity = require '../src/ui/models/entity'
describe 'entity', ->
beforeEach ->
entity._reset()
describe 'initFromEntities', ->
it 'populates lookup', ->
added = entity._initFromEntities init.entities
eql 2, added
eql 2, entit... |
[
{
"context": "##\n backbone-mongo.js 0.6.10\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo\n Li",
"end": 60,
"score": 0.9993670582771301,
"start": 52,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/... | src/lib/connection_queries.coffee | vidigami/backbone-mongo | 1 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports = [
'slaveOk', 'slave_ok'
'maxPoolSize', 'poolSize'
'autoReconnect', 'auto_reconnect'
'ssl'
'replicaSet', 'rs_name'
... | 143511 | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports = [
'slaveOk', 'slave_ok'
'maxPoolSize', 'poolSize'
'autoReconnect', 'auto_reconnect'
'ssl'
'replicaSet', 'rs_name'
... | true | ###
backbone-mongo.js 0.6.10
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports = [
'slaveOk', 'slave_ok'
'maxPoolSize', 'poolSize'
'autoReconnect', 'auto_reconnect'
'ssl'
'replicaSet'... |
[
{
"context": " subject.search(type: 'Patient', query: {name: 'maud'}).then((-> done()))\n null\n\n it \"CRUD\", (",
"end": 903,
"score": 0.9570697546005249,
"start": 899,
"tag": "NAME",
"value": "maud"
}
] | src/spec.coffee | william-vw/fhir.js | 349 | tu = require('../src/testUtils')
assert = require('assert')
Chance = require('chance')
exports.baseUrl = 'http://hapi.fhir.org/baseDstu3'
exports.spec_for = (title, impl, baseUrl)->
chance = new Chance()
genPatient = ()->
resourceType: "Patient"
text:{ status: "generated", div: "<div>Generated</div>"}
... | 165683 | tu = require('../src/testUtils')
assert = require('assert')
Chance = require('chance')
exports.baseUrl = 'http://hapi.fhir.org/baseDstu3'
exports.spec_for = (title, impl, baseUrl)->
chance = new Chance()
genPatient = ()->
resourceType: "Patient"
text:{ status: "generated", div: "<div>Generated</div>"}
... | true | tu = require('../src/testUtils')
assert = require('assert')
Chance = require('chance')
exports.baseUrl = 'http://hapi.fhir.org/baseDstu3'
exports.spec_for = (title, impl, baseUrl)->
chance = new Chance()
genPatient = ()->
resourceType: "Patient"
text:{ status: "generated", div: "<div>Generated</div>"}
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993663430213928,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-autolibs.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... | 107590 | # 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": " apost = new PostClass [{text: \"woot\"}], {name: \"bob\"}\n assert.equal apost.authorName(), \"bob\"\n ",
"end": 1148,
"score": 0.6509196162223816,
"start": 1145,
"tag": "NAME",
"value": "bob"
},
{
"context": "key, value) -> @data[key] = value\n\n name = -> \... | node_modules/dependable/test/test.coffee | headNshoulders/mean_openShift | 2 |
{container} = require '../index'
assert = require 'assert'
fs = require 'fs'
os = require 'os'
path = require 'path'
describe 'inject', ->
it 'should create a container', ->
deps = container()
it 'should return module without deps', ->
Abc = -> "abc"
deps = container()
deps.register "abc", Abc
... | 139918 |
{container} = require '../index'
assert = require 'assert'
fs = require 'fs'
os = require 'os'
path = require 'path'
describe 'inject', ->
it 'should create a container', ->
deps = container()
it 'should return module without deps', ->
Abc = -> "abc"
deps = container()
deps.register "abc", Abc
... | true |
{container} = require '../index'
assert = require 'assert'
fs = require 'fs'
os = require 'os'
path = require 'path'
describe 'inject', ->
it 'should create a container', ->
deps = container()
it 'should return module without deps', ->
Abc = -> "abc"
deps = container()
deps.register "abc", Abc
... |
[
{
"context": "atom.config.get('jenkins.username'),\n password: atom.config.get('jenkins.password')\n }\n\n rest.get(url, options)",
"end": 353,
"score": 0.9893333315849304,
"start": 338,
"tag": "PASSWORD",
"value": "atom.config.get"
}
] | lib/jenkins-gateway.coffee | benmills/atom-jenkins | 0 | {View} = require 'atom'
rest = require 'restler'
xml2js = require 'xml2js'
_ = require "lodash"
_checkConfig = () ->
atom.config.get('jenkins.username') &&
atom.config.get('jenkins.password') &&
atom.config.get('jenkins.ccxmlUrl')
_get = (url, cb) ->
options = {
username: atom.config.get('jenkins.username... | 223941 | {View} = require 'atom'
rest = require 'restler'
xml2js = require 'xml2js'
_ = require "lodash"
_checkConfig = () ->
atom.config.get('jenkins.username') &&
atom.config.get('jenkins.password') &&
atom.config.get('jenkins.ccxmlUrl')
_get = (url, cb) ->
options = {
username: atom.config.get('jenkins.username... | true | {View} = require 'atom'
rest = require 'restler'
xml2js = require 'xml2js'
_ = require "lodash"
_checkConfig = () ->
atom.config.get('jenkins.username') &&
atom.config.get('jenkins.password') &&
atom.config.get('jenkins.ccxmlUrl')
_get = (url, cb) ->
options = {
username: atom.config.get('jenkins.username... |
[
{
"context": ".API_URL\n .get '/demo'\n .reply 200, {name: 'Zorium'}\n\n flare\n .get '/'\n .expect 20",
"end": 820,
"score": 0.6171684265136719,
"start": 819,
"tag": "NAME",
"value": "Z"
},
{
"context": "API_URL\n .get '/demo'\n .reply 200, {name: 'Zorium'}\... | test/server/index.coffee | rachelmcquirk/hiking | 0 | flareGun = require 'flare-gun'
nock = require 'nock'
should = require('chai').should()
app = require '../../server'
config = require '../../src/config'
flare = flareGun.express(app)
before ->
nock.enableNetConnect('0.0.0.0')
after ->
flare.close()
describe 'server', ->
it 'is healthy', ->
nock config.API... | 96668 | flareGun = require 'flare-gun'
nock = require 'nock'
should = require('chai').should()
app = require '../../server'
config = require '../../src/config'
flare = flareGun.express(app)
before ->
nock.enableNetConnect('0.0.0.0')
after ->
flare.close()
describe 'server', ->
it 'is healthy', ->
nock config.API... | true | flareGun = require 'flare-gun'
nock = require 'nock'
should = require('chai').should()
app = require '../../server'
config = require '../../src/config'
flare = flareGun.express(app)
before ->
nock.enableNetConnect('0.0.0.0')
after ->
flare.close()
describe 'server', ->
it 'is healthy', ->
nock config.API... |
[
{
"context": "tput'\nmax_concurrent_crawls = 3\nrepos = [\n \"adam-p/markdown-here\",\n \"addyosmani/backbone-fundamenta",
"end": 334,
"score": 0.6505542397499084,
"start": 333,
"tag": "USERNAME",
"value": "p"
},
{
"context": "crawls = 3\nrepos = [\n \"adam-p/markdown-here\",\n \... | crawler/src/cli.coffee | scharissis/liberator | 0 | async = require 'async'
co = require 'co'
log = require './log'
RepoCrawlRequest = require './repo_crawl_request'
GithubCrawler = require './github_crawler'
LocalFileSystem = require './local_file_system'
# Configurable params - will be externalised at some point
output_dir = './output'
max_concurrent_crawls = 3
repos... | 82426 | async = require 'async'
co = require 'co'
log = require './log'
RepoCrawlRequest = require './repo_crawl_request'
GithubCrawler = require './github_crawler'
LocalFileSystem = require './local_file_system'
# Configurable params - will be externalised at some point
output_dir = './output'
max_concurrent_crawls = 3
repos... | true | async = require 'async'
co = require 'co'
log = require './log'
RepoCrawlRequest = require './repo_crawl_request'
GithubCrawler = require './github_crawler'
LocalFileSystem = require './local_file_system'
# Configurable params - will be externalised at some point
output_dir = './output'
max_concurrent_crawls = 3
repos... |
[
{
"context": "######\n# @file: scope-finder.coffee\n# @author: Danny Buonocore\n# @desc: This class parses the text to extract",
"end": 139,
"score": 0.9892820119857788,
"start": 124,
"tag": "NAME",
"value": "Danny Buonocore"
}
] | lib/scope-finder.coffee | dannyBuonocore/atom-hopper | 0 | ###############################################################################
# @file: scope-finder.coffee
# @author: Danny Buonocore
# @desc: This class parses the text to extract the individual scopes.
###############################################################################
exports.ScopeFinder =
cl... | 2878 | ###############################################################################
# @file: scope-finder.coffee
# @author: <NAME>
# @desc: This class parses the text to extract the individual scopes.
###############################################################################
exports.ScopeFinder =
class Scope... | true | ###############################################################################
# @file: scope-finder.coffee
# @author: PI:NAME:<NAME>END_PI
# @desc: This class parses the text to extract the individual scopes.
###############################################################################
exports.ScopeFinder =... |
[
{
"context": "og \"-- not included:#{sel_id}\"\n dim_key = \"#{sel_key}_#{sel_id}\"\n dim_ids = get_data_array $proc, 'dimmer",
"end": 3008,
"score": 0.9932376146316528,
"start": 2986,
"tag": "KEY",
"value": "\"#{sel_key}_#{sel_id}\""
},
{
"context": ">\n $pr... | app/assets/javascripts/proc_graph.coffee | prototypefund/gremien | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
($ document).on 'turbolinks:load', ->
console.log '> script @ proc_graph.coffee'
# --- Variables ----... | 18950 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
($ document).on 'turbolinks:load', ->
console.log '> script @ proc_graph.coffee'
# --- Variables ----... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
($ document).on 'turbolinks:load', ->
console.log '> script @ proc_graph.coffee'
# --- Variables ----... |
[
{
"context": "end the current battle\n#\n# Author:\n# github.com/mattantonelli\n\nenv = process.env\n\n# Types (vs grass, fire, wate",
"end": 523,
"score": 0.9996426701545715,
"start": 510,
"tag": "USERNAME",
"value": "mattantonelli"
},
{
"context": "fect: 'attack', power: 40 }\n\n... | src/pokemon-battle.coffee | mattantonelli/hubot-pokemon-battle | 0 | # Description
# A simple Pokémon battler.
#
# Configuration:
# BULBASAUR_EMOJI - Emoji keyword for Bulbasaur (default: :bulbasaur:)
# CHARMANDER_EMOJI - Emoji keyword for Charmander (default: :charmander:)
# SQUIRTLE_EMOJI - Emoji keyword for Squirtle (default: :squirtle:)
#
# Commands:
# hubot poke bat... | 40396 | # Description
# A simple Pokémon battler.
#
# Configuration:
# BULBASAUR_EMOJI - Emoji keyword for Bulbasaur (default: :bulbasaur:)
# CHARMANDER_EMOJI - Emoji keyword for Charmander (default: :charmander:)
# SQUIRTLE_EMOJI - Emoji keyword for Squirtle (default: :squirtle:)
#
# Commands:
# hubot poke bat... | true | # Description
# A simple Pokémon battler.
#
# Configuration:
# BULBASAUR_EMOJI - Emoji keyword for Bulbasaur (default: :bulbasaur:)
# CHARMANDER_EMOJI - Emoji keyword for Charmander (default: :charmander:)
# SQUIRTLE_EMOJI - Emoji keyword for Squirtle (default: :squirtle:)
#
# Commands:
# hubot poke bat... |
[
{
"context": "+ 4}\n ]\n\n string = \"you say you're 'certain', but are you really?\"\n expect(@fixture.chec",
"end": 3764,
"score": 0.6190311908721924,
"start": 3761,
"tag": "NAME",
"value": "ain"
},
{
"context": ").toEqual []\n\n string = \"you say you're 'serta... | spec/spellchecker-spec.coffee | fvulich/node-spellchecker | 4 | {Spellchecker} = require '../lib/spellchecker'
fs = require 'fs'
path = require 'path'
enUS = "A robot is a mechanical or virtual artificial agent, usually an electronic machine"
deDE = "ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen."
frFR = "les ro... | 193632 | {Spellchecker} = require '../lib/spellchecker'
fs = require 'fs'
path = require 'path'
enUS = "A robot is a mechanical or virtual artificial agent, usually an electronic machine"
deDE = "ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen."
frFR = "les ro... | true | {Spellchecker} = require '../lib/spellchecker'
fs = require 'fs'
path = require 'path'
enUS = "A robot is a mechanical or virtual artificial agent, usually an electronic machine"
deDE = "ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen."
frFR = "les ro... |
[
{
"context": "otocol is documented here:\n#\n# https://github.com/josephg/ShareJS/wiki/Wire-Protocol\n\ntestCase = require('n",
"end": 113,
"score": 0.9997211694717407,
"start": 106,
"tag": "USERNAME",
"value": "josephg"
},
{
"context": " @model\n\n @server.listen =>\n @n... | node_modules/share/test/browserchannel.coffee | abraarsyed/workshare | 2 | # Tests for the server's browserchannel frontend. The protocol is documented here:
#
# https://github.com/josephg/ShareJS/wiki/Wire-Protocol
testCase = require('nodeunit').testCase
assert = require 'assert'
{BCSocket} = require 'browserchannel'
server = require '../src/server'
types = require '../src/types'
helpers ... | 63222 | # Tests for the server's browserchannel frontend. The protocol is documented here:
#
# https://github.com/josephg/ShareJS/wiki/Wire-Protocol
testCase = require('nodeunit').testCase
assert = require 'assert'
{BCSocket} = require 'browserchannel'
server = require '../src/server'
types = require '../src/types'
helpers ... | true | # Tests for the server's browserchannel frontend. The protocol is documented here:
#
# https://github.com/josephg/ShareJS/wiki/Wire-Protocol
testCase = require('nodeunit').testCase
assert = require 'assert'
{BCSocket} = require 'browserchannel'
server = require '../src/server'
types = require '../src/types'
helpers ... |
[
{
"context": "kes you never want to leave parties.\n *\n * @name Clingy\n * @prerequisite Join 250 parties\n * @effect -1",
"end": 131,
"score": 0.988340437412262,
"start": 125,
"tag": "NAME",
"value": "Clingy"
}
] | src/character/personalities/Clingy.coffee | sadbear-/IdleLands | 3 |
Personality = require "../base/Personality"
`/**
* This personality makes you never want to leave parties.
*
* @name Clingy
* @prerequisite Join 250 parties
* @effect -100 partyLeavePercent
* @effect More likely to join parties
* @category Personalities
* @package Player
*/`
class Clingy extends Perso... | 195997 |
Personality = require "../base/Personality"
`/**
* This personality makes you never want to leave parties.
*
* @name <NAME>
* @prerequisite Join 250 parties
* @effect -100 partyLeavePercent
* @effect More likely to join parties
* @category Personalities
* @package Player
*/`
class Clingy extends Perso... | true |
Personality = require "../base/Personality"
`/**
* This personality makes you never want to leave parties.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite Join 250 parties
* @effect -100 partyLeavePercent
* @effect More likely to join parties
* @category Personalities
* @package Player
*/`
class Clingy... |
[
{
"context": "(require('prerender-node').set('prerenderToken', 'tVzH3bYtDlOZkQuLaEHI').blacklisted('^/api/v1').set('protocol', 'https'",
"end": 786,
"score": 0.9708030223846436,
"start": 766,
"tag": "PASSWORD",
"value": "tVzH3bYtDlOZkQuLaEHI"
}
] | chutter.coffee | chutterbox/chutter | 14 | # TODO: move to ENV variables
#if process.env.NODE_ENV is "production"
# require "newrelic"
# gaID = process.env.GOOGLE_ANALYTICS_PRODUCTION
#else
# gaID = process.env.GOOGLE_ANALYTICS_STAGING
express = require("express")
cluster = require("cluster")
compress = require('compression')
favicon = require("serve-favic... | 114490 | # TODO: move to ENV variables
#if process.env.NODE_ENV is "production"
# require "newrelic"
# gaID = process.env.GOOGLE_ANALYTICS_PRODUCTION
#else
# gaID = process.env.GOOGLE_ANALYTICS_STAGING
express = require("express")
cluster = require("cluster")
compress = require('compression')
favicon = require("serve-favic... | true | # TODO: move to ENV variables
#if process.env.NODE_ENV is "production"
# require "newrelic"
# gaID = process.env.GOOGLE_ANALYTICS_PRODUCTION
#else
# gaID = process.env.GOOGLE_ANALYTICS_STAGING
express = require("express")
cluster = require("cluster")
compress = require('compression')
favicon = require("serve-favic... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9671869874000549,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | src/lib/staticServer.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other 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... | 142795 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other 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... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other 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 limi... |
[
{
"context": "->\n @_super arguments...\n\n @foreignKey = \"#{name}Id\"\n\n owner.field(@foreignKey, type: \"Id\")\n\n ",
"end": 212,
"score": 0.9986451864242554,
"start": 202,
"tag": "KEY",
"value": "\"#{name}Id"
}
] | node_modules/tower/packages/tower-model/shared/relation/belongsTo.coffee | MagicPower2/Power | 1 | _ = Tower._
class Tower.ModelRelationBelongsTo extends Tower.ModelRelation
@reopen
isBelongsTo: true
init: (owner, name, options = {}) ->
@_super arguments...
@foreignKey = "#{name}Id"
owner.field(@foreignKey, type: "Id")
# this is kind of a hack until it becomes clear how to ... | 223501 | _ = Tower._
class Tower.ModelRelationBelongsTo extends Tower.ModelRelation
@reopen
isBelongsTo: true
init: (owner, name, options = {}) ->
@_super arguments...
@foreignKey = <KEY>"
owner.field(@foreignKey, type: "Id")
# this is kind of a hack until it becomes clear how to accom... | true | _ = Tower._
class Tower.ModelRelationBelongsTo extends Tower.ModelRelation
@reopen
isBelongsTo: true
init: (owner, name, options = {}) ->
@_super arguments...
@foreignKey = PI:KEY:<KEY>END_PI"
owner.field(@foreignKey, type: "Id")
# this is kind of a hack until it becomes clear... |
[
{
"context": " 'From', field: 'from'}\n ] }\n\n { name: \"Shakespeare\", url: '/shakespeare/:name/:from', fields: [\n ",
"end": 856,
"score": 0.9992568492889404,
"start": 845,
"tag": "NAME",
"value": "Shakespeare"
},
{
"context": " 'From', field: 'from'}\n ] }\n\n ... | lib/operations.coffee | philipmuir/foaas | 1 |
module.exports = (app) ->
app.get '/operations', (req, res) ->
res.send [
{ name: "Fuck Off", url: '/off/:name/:from', fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
] }
{ name: "Fuck You", url: '/you/:name/:from', fields: [
{ name: 'Name', fie... | 137680 |
module.exports = (app) ->
app.get '/operations', (req, res) ->
res.send [
{ name: "Fuck Off", url: '/off/:name/:from', fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
] }
{ name: "Fuck You", url: '/you/:name/:from', fields: [
{ name: 'Name', fie... | true |
module.exports = (app) ->
app.get '/operations', (req, res) ->
res.send [
{ name: "Fuck Off", url: '/off/:name/:from', fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
] }
{ name: "Fuck You", url: '/you/:name/:from', fields: [
{ name: 'Name', fie... |
[
{
"context": "cle',\n display: 'The Friendship and Flight of Andy Warhol, Philip Pearlstein, and ...',\n image_url: 'h",
"end": 339,
"score": 0.9997984170913696,
"start": 328,
"tag": "NAME",
"value": "Andy Warhol"
},
{
"context": "isplay: 'The Friendship and Flight of Andy ... | src/mobile/components/search_results/test/template.coffee | kanaabe/force | 1 | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
SearchResult = require '../../../models/search_result'
describe 'result.jade', ->
before ->
@fixture = {
model: 'article',
display_model: 'Article',
display: 'The Friendship and Fl... | 14255 | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
SearchResult = require '../../../models/search_result'
describe 'result.jade', ->
before ->
@fixture = {
model: 'article',
display_model: 'Article',
display: 'The Friendship and Fl... | true | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
SearchResult = require '../../../models/search_result'
describe 'result.jade', ->
before ->
@fixture = {
model: 'article',
display_model: 'Article',
display: 'The Friendship and Fl... |
[
{
"context": " 15\n $or:\n content:\n $like: \"Dummy\"\n featured:\n $exists:true\n $",
"end": 6500,
"score": 0.9738500714302063,
"start": 6495,
"tag": "NAME",
"value": "Dummy"
},
{
"context": "me'}\"\n \n a = new testModel\n first_n... | test/bq-test.coffee | apiaryio/backbone_query | 40 | # Requires
assert = require('assert')
{QueryCollection} = require "../src/backbone-query"
Backbone = require('backbone')
create = ->
new QueryCollection [
{title:"Home", colors:["red","yellow","blue"], likes:12, featured:true, content: "Dummy content about coffeescript"}
{title:"About", colors:["red"], likes... | 62987 | # Requires
assert = require('assert')
{QueryCollection} = require "../src/backbone-query"
Backbone = require('backbone')
create = ->
new QueryCollection [
{title:"Home", colors:["red","yellow","blue"], likes:12, featured:true, content: "Dummy content about coffeescript"}
{title:"About", colors:["red"], likes... | true | # Requires
assert = require('assert')
{QueryCollection} = require "../src/backbone-query"
Backbone = require('backbone')
create = ->
new QueryCollection [
{title:"Home", colors:["red","yellow","blue"], likes:12, featured:true, content: "Dummy content about coffeescript"}
{title:"About", colors:["red"], likes... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.997692346572876,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-set-encoding.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... | 212332 | # 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": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998800158500671,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | test/MD5Test.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 179883 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
Testin... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "ss.env[\"#{appPrefix}_DATABASE_NAME\"]\n password: process.env[\"#{appPrefix}_DATABASE_PASSWORD\"]\n port: process",
"end": 640,
"score": 0.9375680685043335,
"start": 629,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "refix}_DATABASE_NAME\"]\n pass... | src/Utility/Server.coffee | braintapper/braintapper-sveltekit-server-tools | 0 | import { browser, dev, mode } from "$app/env"
import debug from "./Console.coffee"
import Sugar from "sugar-and-spice"
Sugar.extend()
`const appPrefix = import.meta.env.VITE_ENV_PREFIX`
# import PgForwardMigration from "../Database/PostgresqlMigration.coffee"
import Database from "../Database/Postgresql.coffee"
S... | 25972 | import { browser, dev, mode } from "$app/env"
import debug from "./Console.coffee"
import Sugar from "sugar-and-spice"
Sugar.extend()
`const appPrefix = import.meta.env.VITE_ENV_PREFIX`
# import PgForwardMigration from "../Database/PostgresqlMigration.coffee"
import Database from "../Database/Postgresql.coffee"
S... | true | import { browser, dev, mode } from "$app/env"
import debug from "./Console.coffee"
import Sugar from "sugar-and-spice"
Sugar.extend()
`const appPrefix = import.meta.env.VITE_ENV_PREFIX`
# import PgForwardMigration from "../Database/PostgresqlMigration.coffee"
import Database from "../Database/Postgresql.coffee"
S... |
[
{
"context": "henticate in their profile\n application_secret: \"5d6578d2d8e38a251550cdf9d31dc2e349e328bf\"\n\n # once a given user authenticates the registe",
"end": 477,
"score": 0.9997605085372925,
"start": 437,
"tag": "KEY",
"value": "5d6578d2d8e38a251550cdf9d31dc2e349e328bf"
}
] | lib/assets/javascripts/code_sync/backends/gist.coffee | datapimp/code_sync | 3 | window.backend ||= {}
backend.authentication ||=
# there must be an application registered with github
# whose domain matches the domain making the request to
# the gist api on behalf of the user
# this is set in the application registration
application_client_id: "1d70d6fe89bb1e381b5c"
# this is generat... | 110581 | window.backend ||= {}
backend.authentication ||=
# there must be an application registered with github
# whose domain matches the domain making the request to
# the gist api on behalf of the user
# this is set in the application registration
application_client_id: "1d70d6fe89bb1e381b5c"
# this is generat... | true | window.backend ||= {}
backend.authentication ||=
# there must be an application registered with github
# whose domain matches the domain making the request to
# the gist api on behalf of the user
# this is set in the application registration
application_client_id: "1d70d6fe89bb1e381b5c"
# this is generat... |
[
{
"context": "orm = new FormData\n form.append('password', @password)\n fetch(\"/api/recipes/#{@ver}\", {method: '",
"end": 360,
"score": 0.990267276763916,
"start": 351,
"tag": "PASSWORD",
"value": "@password"
}
] | view/src/coffee/uploader.coffee | ponkotuy/FactorioRecipe | 0 | $(document).ready ->
fetch('/api/recipes/versions').then (res) ->
res.json().then (json) ->
render(json)
render = (json) ->
new Vue
el: '#versions'
data:
versions: json
ver: json[0]
password: ''
alert: null
methods:
deleteRecipe: ->
form = new FormData
... | 75248 | $(document).ready ->
fetch('/api/recipes/versions').then (res) ->
res.json().then (json) ->
render(json)
render = (json) ->
new Vue
el: '#versions'
data:
versions: json
ver: json[0]
password: ''
alert: null
methods:
deleteRecipe: ->
form = new FormData
... | true | $(document).ready ->
fetch('/api/recipes/versions').then (res) ->
res.json().then (json) ->
render(json)
render = (json) ->
new Vue
el: '#versions'
data:
versions: json
ver: json[0]
password: ''
alert: null
methods:
deleteRecipe: ->
form = new FormData
... |
[
{
"context": "\n\n\n# 'colorThief' module v1.0\n# by Marc Krenn, July 1st, 2016 | marc.krenn@gmail.com | @marc_kr",
"end": 45,
"score": 0.9999078512191772,
"start": 35,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "ief' module v1.0\n# by Marc Krenn, July 1st, 2016 | marc.kren... | 29colorThief.framer/modules/colorThief.coffee | gremjua-forks/100daysofframer | 26 |
# 'colorThief' module v1.0
# by Marc Krenn, July 1st, 2016 | marc.krenn@gmail.com | @marc_krenn
# ... based on colorThief.js by by Lokesh Dhakar http://www.lokeshdhakar.com
# and kulturaveshchi
# The 'colorThief' module allows you to extract the dominant color(s) of images.
# -----------------------------------... | 45472 |
# 'colorThief' module v1.0
# by <NAME>, July 1st, 2016 | <EMAIL> | @marc_krenn
# ... based on colorThief.js by by <NAME> http://www.lokeshdhakar.com
# and kulturaveshchi
# The 'colorThief' module allows you to extract the dominant color(s) of images.
# -----------------------------------------------------------... | true |
# 'colorThief' module v1.0
# by PI:NAME:<NAME>END_PI, July 1st, 2016 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# ... based on colorThief.js by by PI:NAME:<NAME>END_PI http://www.lokeshdhakar.com
# and kulturaveshchi
# The 'colorThief' module allows you to extract the dominant color(s) of images.
# ----------------... |
[
{
"context": " cb\n\nCreate.account = (index, cb) ->\n\tuserName = 'user' + Faker.random.number()\n\tdisplayName = 'userDisp",
"end": 7586,
"score": 0.9974149465560913,
"start": 7582,
"tag": "USERNAME",
"value": "user"
},
{
"context": " = 'user' + Faker.random.number()\n\tdisplayName... | seeds/create.coffee | LogicalOutcomes/KoNote | 1 | Imm = require 'immutable'
Faker = require 'faker'
Async = require 'async'
Moment = require 'moment'
Config = require '../src/config'
{Users, TimestampFormat, generateId} = require '../src/persist'
{ProgramColors, EventTypeColors} = require '../src/colors'
{stripMetadata} = require '../src/persist/utils'
Create = {}
... | 94414 | Imm = require 'immutable'
Faker = require 'faker'
Async = require 'async'
Moment = require 'moment'
Config = require '../src/config'
{Users, TimestampFormat, generateId} = require '../src/persist'
{ProgramColors, EventTypeColors} = require '../src/colors'
{stripMetadata} = require '../src/persist/utils'
Create = {}
... | true | Imm = require 'immutable'
Faker = require 'faker'
Async = require 'async'
Moment = require 'moment'
Config = require '../src/config'
{Users, TimestampFormat, generateId} = require '../src/persist'
{ProgramColors, EventTypeColors} = require '../src/colors'
{stripMetadata} = require '../src/persist/utils'
Create = {}
... |
[
{
"context": "s an id', (done) ->\n# bob = new Flat({name: 'Bob'})\n# assert.equal(bob.get('name'), 'Bob', 'n",
"end": 1635,
"score": 0.9912055730819702,
"start": 1632,
"tag": "NAME",
"value": "Bob"
},
{
"context": "me: 'Bob'})\n# assert.equal(bob.get('name'), 'Bob', '... | test/generators/flat/sync.coffee | michaelBenin/backbone-orm | 1 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... | 82708 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... | true | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... |
[
{
"context": " emailAddress: @getAccount()\n password: @getPassword()\n success: (resp) =>\n controll",
"end": 2878,
"score": 0.9078353047370911,
"start": 2866,
"tag": "PASSWORD",
"value": "@getPassword"
},
{
"context": "phoneNumber: @getAccount()\n ... | talk-account/client/app/signin.coffee | ikingye/talk-os | 3,084 | React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory requ... | 60144 | React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory requ... | true | React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
analytics = require '../util/analytics'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory requ... |
[
{
"context": "\"Rechtliches\"\n about: \"Über\"\n contact: \"Kontakt\"\n twitter_follow: \"Twitter\"\n employers: \"Mi",
"end": 1238,
"score": 0.5291073322296143,
"start": 1235,
"tag": "NAME",
"value": "akt"
},
{
"context": "Über\"\n contact: \"Kontakt\"\n twitter_f... | app/locale/de-DE.coffee | Melondonut/codecombat | 0 | module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription: "German (Germany)", translation:
common:
loading: "Lade..."
saving: "Speichere..."
sending: "Übertrage..."
send: "Senden"
cancel: "Abbrechen"
save: "Speichern"
publish: "Publiziere"
create: "Erstelle"
... | 80197 | module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription: "German (Germany)", translation:
common:
loading: "Lade..."
saving: "Speichere..."
sending: "Übertrage..."
send: "Senden"
cancel: "Abbrechen"
save: "Speichern"
publish: "Publiziere"
create: "Erstelle"
... | true | module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription: "German (Germany)", translation:
common:
loading: "Lade..."
saving: "Speichere..."
sending: "Übertrage..."
send: "Senden"
cancel: "Abbrechen"
save: "Speichern"
publish: "Publiziere"
create: "Erstelle"
... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998875856399536,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/feedback.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 190464 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ase = @thisPageConfig.base;\n\n\n\t\tdocument.title = \"Daniele Pelagatti - \"+@thisPageConfig.meta.title\n\n\t\tobj3D = @page3",
"end": 6911,
"score": 0.9997891187667847,
"start": 6894,
"tag": "NAME",
"value": "Daniele Pelagatti"
}
] | src/coffee/App.coffee | daniele-pelagatti/danielepelagatti.com | 0 | #import utils/MotionAnalysis
#import utils/QueryString
class App
CONTAINER_X : 200;
SCREEN_WIDTH : window.innerWidth - @CONTAINER_X;
SCREEN_HEIGHT : window.innerHeight;
FLOOR : -50;
TRANSITION_DURATION : 0.5;
PAGE_SCALE_MULTIPLIER : 0.1;
SCENE_SCA... | 24908 | #import utils/MotionAnalysis
#import utils/QueryString
class App
CONTAINER_X : 200;
SCREEN_WIDTH : window.innerWidth - @CONTAINER_X;
SCREEN_HEIGHT : window.innerHeight;
FLOOR : -50;
TRANSITION_DURATION : 0.5;
PAGE_SCALE_MULTIPLIER : 0.1;
SCENE_SCA... | true | #import utils/MotionAnalysis
#import utils/QueryString
class App
CONTAINER_X : 200;
SCREEN_WIDTH : window.innerWidth - @CONTAINER_X;
SCREEN_HEIGHT : window.innerHeight;
FLOOR : -50;
TRANSITION_DURATION : 0.5;
PAGE_SCALE_MULTIPLIER : 0.1;
SCENE_SCA... |
[
{
"context": "Through()\n input = 'https://github.com/janraasch?tab=repositories'\n\n $('#typeahead')\n ",
"end": 3063,
"score": 0.999727725982666,
"start": 3054,
"tag": "USERNAME",
"value": "janraasch"
},
{
"context": " $('#typeahead')\n ... | test/popup.spec.coffee | leao-nardo/tab-ahead | 80 | describe 'Tab Ahead. Popup', ->
# --> Constants shared with `options.coffee`
QUERY =
ALL: 'all'
CURRENT: 'current'
PREF_QUERY = 'pref/query'
# Constants shared with `options.coffee` <--
# Mocking birds
window.chrome =
windows:
update: (windowId, updateInfo, ... | 48181 | describe 'Tab Ahead. Popup', ->
# --> Constants shared with `options.coffee`
QUERY =
ALL: 'all'
CURRENT: 'current'
PREF_QUERY = 'pref/query'
# Constants shared with `options.coffee` <--
# Mocking birds
window.chrome =
windows:
update: (windowId, updateInfo, ... | true | describe 'Tab Ahead. Popup', ->
# --> Constants shared with `options.coffee`
QUERY =
ALL: 'all'
CURRENT: 'current'
PREF_QUERY = 'pref/query'
# Constants shared with `options.coffee` <--
# Mocking birds
window.chrome =
windows:
update: (windowId, updateInfo, ... |
[
{
"context": "###\nGlobal Functionalities and Boot Up\n\n@author\t\tMichael Owens\n@website\t\thttp://www.michaelowens.nl\n@copyright\tM",
"end": 62,
"score": 0.9998984336853027,
"start": 49,
"tag": "NAME",
"value": "Michael Owens"
},
{
"context": "s\n@website\t\thttp://www.michaelow... | plugins/global.coffee | andreineculau/coffee-bot | 0 | ###
Global Functionalities and Boot Up
@author Michael Owens
@website http://www.michaelowens.nl
@copyright Michael Owens 2011
###
Plugin = require '../lib/plugin'
Channel = require '../lib/channel'
module.exports = class PluginGlobal extends Plugin
onNumeric: (context) ->
# 376 is end of MOTD/modes
retur... | 15916 | ###
Global Functionalities and Boot Up
@author <NAME>
@website http://www.michaelowens.nl
@copyright <NAME> 2011
###
Plugin = require '../lib/plugin'
Channel = require '../lib/channel'
module.exports = class PluginGlobal extends Plugin
onNumeric: (context) ->
# 376 is end of MOTD/modes
return if context.... | true | ###
Global Functionalities and Boot Up
@author PI:NAME:<NAME>END_PI
@website http://www.michaelowens.nl
@copyright PI:NAME:<NAME>END_PI 2011
###
Plugin = require '../lib/plugin'
Channel = require '../lib/channel'
module.exports = class PluginGlobal extends Plugin
onNumeric: (context) ->
# 376 is end of MOTD/m... |
[
{
"context": "le: 'test'\n inspired: no\n users: [\n {email: 'house@gmail.com', name: 'house'}\n {email: 'cuddy@gmail.com', n",
"end": 167,
"score": 0.999921441078186,
"start": 152,
"tag": "EMAIL",
"value": "house@gmail.com"
},
{
"context": "\n users: [\n {email: 'house@g... | profile.coffee | jaekwon/CoffeeMugg | 3 | coffeemugg = require './src/coffeemugg'
profiler = require 'profiler'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'house@gmail.com', name: 'house'}
{email: 'cuddy@gmail.com', name: 'cuddy'}
{email: 'wilson@gmail.com', name: 'wilson'}
]
coffeemugg_template = ->
@doctype ... | 48161 | coffeemugg = require './src/coffeemugg'
profiler = require 'profiler'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: '<EMAIL>', name: 'house'}
{email: '<EMAIL>', name: 'cuddy'}
{email: '<EMAIL>', name: '<NAME>'}
]
coffeemugg_template = ->
@doctype 5
@html lang: 'en', ->
... | true | coffeemugg = require './src/coffeemugg'
profiler = require 'profiler'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'house'}
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'cuddy'}
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'PI:NAME:<NAME>END_PI'}
]
co... |
[
{
"context": "> approves - Approve of something\n#\n# Developed by One Mighty Roar (http://github.com/onemightyroar)\n\nmodule.exports",
"end": 159,
"score": 0.9990497827529907,
"start": 144,
"tag": "NAME",
"value": "One Mighty Roar"
},
{
"context": "# Developed by One Mighty Roar (h... | src/scripts/romanemperor.coffee | aroben/hubot-scripts | 1 | # Approve or disapprove of something
#
# <user> disapproves - Disapprove of something
# <user> approves - Approve of something
#
# Developed by One Mighty Roar (http://github.com/onemightyroar)
module.exports = (robot) ->
robot.respond /@?([\w .-_]+) disapproves/i, (msg) ->
name = msg.match[1]
user = msg.me... | 24646 | # Approve or disapprove of something
#
# <user> disapproves - Disapprove of something
# <user> approves - Approve of something
#
# Developed by <NAME> (http://github.com/onemightyroar)
module.exports = (robot) ->
robot.respond /@?([\w .-_]+) disapproves/i, (msg) ->
name = msg.match[1]
user = msg.message.use... | true | # Approve or disapprove of something
#
# <user> disapproves - Disapprove of something
# <user> approves - Approve of something
#
# Developed by PI:NAME:<NAME>END_PI (http://github.com/onemightyroar)
module.exports = (robot) ->
robot.respond /@?([\w .-_]+) disapproves/i, (msg) ->
name = msg.match[1]
user = m... |
[
{
"context": "r).length\n $.ajax\n url: \"//formspree.io/andrew@skotzko.com\",\n method: \"POST\",\n data: $(formSel",
"end": 152,
"score": 0.9998996257781982,
"start": 134,
"tag": "EMAIL",
"value": "andrew@skotzko.com"
}
] | js/app.coffee | skotzko/oldblog | 0 | ---
---
window.submitForm = (containerSelector, formSelector) ->
if $(formSelector).length
$.ajax
url: "//formspree.io/andrew@skotzko.com",
method: "POST",
data: $(formSelector).serialize(),
dataType: "json",
success: hideForm(containerSelector)
window.showLoading = ->
... | 115518 | ---
---
window.submitForm = (containerSelector, formSelector) ->
if $(formSelector).length
$.ajax
url: "//formspree.io/<EMAIL>",
method: "POST",
data: $(formSelector).serialize(),
dataType: "json",
success: hideForm(containerSelector)
window.showLoading = ->
$('#loading... | true | ---
---
window.submitForm = (containerSelector, formSelector) ->
if $(formSelector).length
$.ajax
url: "//formspree.io/PI:EMAIL:<EMAIL>END_PI",
method: "POST",
data: $(formSelector).serialize(),
dataType: "json",
success: hideForm(containerSelector)
window.showLoading = -... |
[
{
"context": "UD_PLATFORM_GOOGLE_CLOUD_PLATFORM_CLIENT_SECRET: \"blahblahblah\"\nENDO_GOOGLE_CLOUD_PLATFORM_GOOGLE_CLOUD_PLATFORM",
"end": 459,
"score": 0.9775752425193787,
"start": 447,
"tag": "KEY",
"value": "blahblahblah"
}
] | environment_REMOTE_862.cson | ratokeshi/endo-google-cloud-platform | 0 | PORT: 8080
ENDO_GOOGLE_CLOUD_PLATFORM_SERVICE_URL: "https://endogooglecloudplatform.localtunnel.me"
APP_OCTOBLU_HOST: "https://app.octoblu.com/"
ENDO_GOOGLE_CLOUD_PLATFORM_MANAGER_URL: "https://endo-manager.octoblu.com"
MESHBLU_PRIVATE_KEY: "U"
MESHBLU_UUID: ""
MESHBLU_TOKEN: ""
ENDO_GOOGLE_CLOUD_PLATFORM_GOOGLE_CLOUD_... | 167923 | PORT: 8080
ENDO_GOOGLE_CLOUD_PLATFORM_SERVICE_URL: "https://endogooglecloudplatform.localtunnel.me"
APP_OCTOBLU_HOST: "https://app.octoblu.com/"
ENDO_GOOGLE_CLOUD_PLATFORM_MANAGER_URL: "https://endo-manager.octoblu.com"
MESHBLU_PRIVATE_KEY: "U"
MESHBLU_UUID: ""
MESHBLU_TOKEN: ""
ENDO_GOOGLE_CLOUD_PLATFORM_GOOGLE_CLOUD_... | true | PORT: 8080
ENDO_GOOGLE_CLOUD_PLATFORM_SERVICE_URL: "https://endogooglecloudplatform.localtunnel.me"
APP_OCTOBLU_HOST: "https://app.octoblu.com/"
ENDO_GOOGLE_CLOUD_PLATFORM_MANAGER_URL: "https://endo-manager.octoblu.com"
MESHBLU_PRIVATE_KEY: "U"
MESHBLU_UUID: ""
MESHBLU_TOKEN: ""
ENDO_GOOGLE_CLOUD_PLATFORM_GOOGLE_CLOUD_... |
[
{
"context": " pos_y = args.y\n [\n Common.Name.merge(name: 'Skree')\n Common.Enemy.merge\n hp: Enemy.Skree.ge",
"end": 176,
"score": 0.8020471334457397,
"start": 171,
"tag": "NAME",
"value": "Skree"
},
{
"context": "s_y = args.y + 8\n [\n Common.Name.merge(name: 'Zo... | src/javascript/game/entity/enemies/factory.coffee | dcrosby42/metroid-clone | 5 | Enemy = require('./components')
Common = require('../components')
F = {}
F.basicSkree = (args) ->
pos_x = args.x + 8
pos_y = args.y
[
Common.Name.merge(name: 'Skree')
Common.Enemy.merge
hp: Enemy.Skree.get('max_hp')
Enemy.Skree
Common.Harmful.merge
damage: 8
Common.Animation.merg... | 11760 | Enemy = require('./components')
Common = require('../components')
F = {}
F.basicSkree = (args) ->
pos_x = args.x + 8
pos_y = args.y
[
Common.Name.merge(name: '<NAME>')
Common.Enemy.merge
hp: Enemy.Skree.get('max_hp')
Enemy.Skree
Common.Harmful.merge
damage: 8
Common.Animation.mer... | true | Enemy = require('./components')
Common = require('../components')
F = {}
F.basicSkree = (args) ->
pos_x = args.x + 8
pos_y = args.y
[
Common.Name.merge(name: 'PI:NAME:<NAME>END_PI')
Common.Enemy.merge
hp: Enemy.Skree.get('max_hp')
Enemy.Skree
Common.Harmful.merge
damage: 8
Common... |
[
{
"context": "nselectify: true,\n\n layout: {\n name: 'dagre'\n nodeSep: 50, # the separation between ad",
"end": 307,
"score": 0.9960009455680847,
"start": 302,
"tag": "NAME",
"value": "dagre"
}
] | app/coffee/modules/lib/views/dagre/index.coffee | tetherless-world/magellan | 0 |
class DagreGraph extends Mn.LayoutView
template: require './templates/dagre'
className: 'row'
renderGraph: (elements) ->
@cy = window.cytoscape({
container: document.getElementById('cy'),
boxSelectionEnabled: false,
autounselectify: true,
layout: {
name: 'dagre'
nod... | 78338 |
class DagreGraph extends Mn.LayoutView
template: require './templates/dagre'
className: 'row'
renderGraph: (elements) ->
@cy = window.cytoscape({
container: document.getElementById('cy'),
boxSelectionEnabled: false,
autounselectify: true,
layout: {
name: '<NAME>'
no... | true |
class DagreGraph extends Mn.LayoutView
template: require './templates/dagre'
className: 'row'
renderGraph: (elements) ->
@cy = window.cytoscape({
container: document.getElementById('cy'),
boxSelectionEnabled: false,
autounselectify: true,
layout: {
name: 'PI:NAME:<NAME>END_... |
[
{
"context": "tance, the following are valid values:\n# http://12.34.56.78\n# https://bothost.example.com\n# htt",
"end": 933,
"score": 0.5677956938743591,
"start": 932,
"tag": "IP_ADDRESS",
"value": "1"
},
{
"context": "nce, the following are valid values:\n# http://12.34.56... | src/index.coffee | bmuller/hubot-aws-sesame | 6 | # Description
# Open / close ports on security groups automatically in AWS based on a user's presence
#
# Dependencies:
# "aws-sesame": "0.0.1"
#
# Configuration:
# HUBOT_AWS_REGION
# HUBOT_AWS_KEY_ID
# HUBOT_AWS_SECRET_KEY
# HUBOT_AWS_SEC_RULES
# HUBOT_ROOT_URL
#
# Commands:
# hubot show firewall - Sho... | 185254 | # Description
# Open / close ports on security groups automatically in AWS based on a user's presence
#
# Dependencies:
# "aws-sesame": "0.0.1"
#
# Configuration:
# HUBOT_AWS_REGION
# HUBOT_AWS_KEY_ID
# HUBOT_AWS_SECRET_KEY
# HUBOT_AWS_SEC_RULES
# HUBOT_ROOT_URL
#
# Commands:
# hubot show firewall - Sho... | true | # Description
# Open / close ports on security groups automatically in AWS based on a user's presence
#
# Dependencies:
# "aws-sesame": "0.0.1"
#
# Configuration:
# HUBOT_AWS_REGION
# HUBOT_AWS_KEY_ID
# HUBOT_AWS_SECRET_KEY
# HUBOT_AWS_SEC_RULES
# HUBOT_ROOT_URL
#
# Commands:
# hubot show firewall - Sho... |
[
{
"context": " email: smartnoraConfig.email\n password: smartnoraConfig.password\n group: smartnoraConfig.group\n vali",
"end": 1004,
"score": 0.9993510842323303,
"start": 980,
"tag": "PASSWORD",
"value": "smartnoraConfig.password"
},
{
"context": "tatus) =>\n... | adapters/blinds.coffee | bertreb/pimatic-smartnora | 0 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
childProcess = require("child_process")
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connectio... | 103371 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
childProcess = require("child_process")
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connectio... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
childProcess = require("child_process")
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connectio... |
[
{
"context": "###\nAuthor: Chris Baigorri\n###\n\n$ ->\n\n",
"end": 26,
"score": 0.9998815655708313,
"start": 12,
"tag": "NAME",
"value": "Chris Baigorri"
}
] | app/src/js/script.coffee | cbaigorri/ExpressBoilerplate | 0 | ###
Author: Chris Baigorri
###
$ ->
| 63913 | ###
Author: <NAME>
###
$ ->
| true | ###
Author: PI:NAME:<NAME>END_PI
###
$ ->
|
[
{
"context": "atchers'\n\n# TinyColor v1.3.0\n# https://github.com/bgrins/TinyColor\n# Brian Grinstead, MIT License\n# Conver",
"end": 99,
"score": 0.9995337128639221,
"start": 93,
"tag": "USERNAME",
"value": "bgrins"
},
{
"context": "lor v1.3.0\n# https://github.com/bgrins/TinyColor... | lib/modules/helper/TinyColor.coffee | puranjayjain/chrome-color-picker | 17 | ColorMatchers = require './TinyColor/ColorMatchers'
# TinyColor v1.3.0
# https://github.com/bgrins/TinyColor
# Brian Grinstead, MIT License
# Converted to coffescript
# convert colors between formats
module.exports =
class TinyColor extends ColorMatchers
tinyCounter: 0
# Big List of Colors
# ------------------
... | 27178 | ColorMatchers = require './TinyColor/ColorMatchers'
# TinyColor v1.3.0
# https://github.com/bgrins/TinyColor
# <NAME>, MIT License
# Converted to coffescript
# convert colors between formats
module.exports =
class TinyColor extends ColorMatchers
tinyCounter: 0
# Big List of Colors
# ------------------
# <http... | true | ColorMatchers = require './TinyColor/ColorMatchers'
# TinyColor v1.3.0
# https://github.com/bgrins/TinyColor
# PI:NAME:<NAME>END_PI, MIT License
# Converted to coffescript
# convert colors between formats
module.exports =
class TinyColor extends ColorMatchers
tinyCounter: 0
# Big List of Colors
# --------------... |
[
{
"context": "ent, ctrl, shift, alt, meta, raw}={}) ->\n key = \"U+#{key.charCodeAt(0).toString(16)}\" unless key is 'es",
"end": 1357,
"score": 0.7604110240936279,
"start": 1353,
"tag": "KEY",
"value": "U+#{"
},
{
"context": " meta, raw}={}) ->\n key = \"U+#{key.charCodeAt(0).toSt... | spec/spec-helper.coffee | oslerw/ex-mode | 194 | ExState = require '../lib/ex-state'
GlobalExState = require '../lib/global-ex-state'
beforeEach ->
atom.workspace ||= {}
activateExMode = ->
atom.workspace.open().then ->
atom.commands.dispatch(atom.views.getView(atom.workspace), 'ex-mode:open')
keydown('escape')
atom.workspace.getActivePane().destroy... | 76288 | ExState = require '../lib/ex-state'
GlobalExState = require '../lib/global-ex-state'
beforeEach ->
atom.workspace ||= {}
activateExMode = ->
atom.workspace.open().then ->
atom.commands.dispatch(atom.views.getView(atom.workspace), 'ex-mode:open')
keydown('escape')
atom.workspace.getActivePane().destroy... | true | ExState = require '../lib/ex-state'
GlobalExState = require '../lib/global-ex-state'
beforeEach ->
atom.workspace ||= {}
activateExMode = ->
atom.workspace.open().then ->
atom.commands.dispatch(atom.views.getView(atom.workspace), 'ex-mode:open')
keydown('escape')
atom.workspace.getActivePane().destroy... |
[
{
"context": "uddy.Inputs.Text\n model: model\n key: @id\n mask: @attributes.mask\n attributes",
"end": 506,
"score": 0.6218137741088867,
"start": 503,
"tag": "KEY",
"value": "@id"
}
] | app/vendor/kalnoy/cruddy/resources/assets/coffee/fields/input.coffee | EH7AN/lawyers | 0 | class Cruddy.Fields.Input extends Cruddy.Fields.Base
createEditableInput: (model, inputId) ->
input = @createBaseInput model, inputId
if @attributes.prepend or @attributes.append
return new Cruddy.Fields.Input.PrependAppendWrapper
prepend: @attributes.prepend
... | 77769 | class Cruddy.Fields.Input extends Cruddy.Fields.Base
createEditableInput: (model, inputId) ->
input = @createBaseInput model, inputId
if @attributes.prepend or @attributes.append
return new Cruddy.Fields.Input.PrependAppendWrapper
prepend: @attributes.prepend
... | true | class Cruddy.Fields.Input extends Cruddy.Fields.Base
createEditableInput: (model, inputId) ->
input = @createBaseInput model, inputId
if @attributes.prepend or @attributes.append
return new Cruddy.Fields.Input.PrependAppendWrapper
prepend: @attributes.prepend
... |
[
{
"context": "tact the project team at the address below:\n\n Professor Chris Lintott\n Oxford Astrophysics\n Den",
"end": 10959,
"score": 0.992951512336731,
"start": 10950,
"tag": "NAME",
"value": "Professor"
},
{
"context": "roject team at the address below:\n\n ... | app/pages/privacy-policy.cjsx | Crentist/Panoptes-frontend-spanish | 1 | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = require 'markdownz'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
privacy:
title: 'Zooniverse User Agreement and Privacy Policy'
userAgreement: '''
## User Agreement
**Summary**
... | 21670 | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = require 'markdownz'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
privacy:
title: 'Zooniverse User Agreement and Privacy Policy'
userAgreement: '''
## User Agreement
**Summary**
... | true | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = require 'markdownz'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
privacy:
title: 'Zooniverse User Agreement and Privacy Policy'
userAgreement: '''
## User Agreement
**Summary**
... |
[
{
"context": " # Integration based on token and events. e.g. weibo/firim\n # These integration requests are made b",
"end": 3470,
"score": 0.6625989675521851,
"start": 3467,
"tag": "USERNAME",
"value": "ibo"
},
{
"context": "\n events.forEach (event) ->\n taskKey = \"... | src/worker.coffee | jianliaoim/talk-node-sdk | 4 | {EventEmitter} = require 'events'
Promise = require 'bluebird'
logger = require 'graceful-logger'
{CronJob} = require 'cron'
_util = require 'util'
class Worker extends EventEmitter
constructor: (options = {}) ->
@tasks = {}
@fetchTasksPromise = @fetchTasks()
@bindEvents()
@options =
interval:... | 23231 | {EventEmitter} = require 'events'
Promise = require 'bluebird'
logger = require 'graceful-logger'
{CronJob} = require 'cron'
_util = require 'util'
class Worker extends EventEmitter
constructor: (options = {}) ->
@tasks = {}
@fetchTasksPromise = @fetchTasks()
@bindEvents()
@options =
interval:... | true | {EventEmitter} = require 'events'
Promise = require 'bluebird'
logger = require 'graceful-logger'
{CronJob} = require 'cron'
_util = require 'util'
class Worker extends EventEmitter
constructor: (options = {}) ->
@tasks = {}
@fetchTasksPromise = @fetchTasks()
@bindEvents()
@options =
interval:... |
[
{
"context": "#\n# Based on implementation by Neil Bartlett\n# https://github.com/neilbartlett/color-temperatu",
"end": 44,
"score": 0.999902069568634,
"start": 31,
"tag": "NAME",
"value": "Neil Bartlett"
},
{
"context": "lementation by Neil Bartlett\n# https://github.com/neilbartlet... | node_modules/chroma-js/src/converter/out/rgb2temperature.coffee | Dozacode/ResumeChain | 15 | #
# Based on implementation by Neil Bartlett
# https://github.com/neilbartlett/color-temperature
#
# @requires utils temperature2rgb
rgb2temperature = () ->
[r,g,b] = unpack arguments
minTemp = 1000
maxTemp = 40000
eps = 0.4
while maxTemp - minTemp > eps
temp = (maxTemp + minTemp) * 0.5
... | 3462 | #
# Based on implementation by <NAME>
# https://github.com/neilbartlett/color-temperature
#
# @requires utils temperature2rgb
rgb2temperature = () ->
[r,g,b] = unpack arguments
minTemp = 1000
maxTemp = 40000
eps = 0.4
while maxTemp - minTemp > eps
temp = (maxTemp + minTemp) * 0.5
r... | true | #
# Based on implementation by PI:NAME:<NAME>END_PI
# https://github.com/neilbartlett/color-temperature
#
# @requires utils temperature2rgb
rgb2temperature = () ->
[r,g,b] = unpack arguments
minTemp = 1000
maxTemp = 40000
eps = 0.4
while maxTemp - minTemp > eps
temp = (maxTemp + minTemp) *... |
[
{
"context": " 'must be at least 3 characters'\n password: 'must be present'\n\n assert.calledWith(form.username.$setValidit",
"end": 655,
"score": 0.9992018342018127,
"start": 640,
"tag": "PASSWORD",
"value": "must be present"
},
{
"context": " 'must be at least 3 characters... | h/static/scripts/test/form-respond-test.coffee | noscripter/h | 2 | {module, inject} = angular.mock
describe 'form-respond', ->
$scope = null
formRespond = null
form = null
before ->
angular.module('h', [])
.service('formRespond', require('../form-respond'))
beforeEach module('h')
beforeEach inject (_$rootScope_, _formRespond_) ->
$scope = _$rootScope_.$new()... | 132162 | {module, inject} = angular.mock
describe 'form-respond', ->
$scope = null
formRespond = null
form = null
before ->
angular.module('h', [])
.service('formRespond', require('../form-respond'))
beforeEach module('h')
beforeEach inject (_$rootScope_, _formRespond_) ->
$scope = _$rootScope_.$new()... | true | {module, inject} = angular.mock
describe 'form-respond', ->
$scope = null
formRespond = null
form = null
before ->
angular.module('h', [])
.service('formRespond', require('../form-respond'))
beforeEach module('h')
beforeEach inject (_$rootScope_, _formRespond_) ->
$scope = _$rootScope_.$new()... |
[
{
"context": "#####################\n# Title: HomeView\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 101,
"score": 0.9999076128005981,
"start": 87,
"tag": "EMAIL",
"value": "kevin@wintr.us"
},
{
"context": "####\n# Title: HomeView\n# Author: ... | source/javascripts/views/HomeView.coffee | WikiEducationFoundation/WikiEduWizard | 1 | #########################################################
# Title: HomeView
# Author: kevin@wintr.us @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
HomeTemplate = require('../templates/Hom... | 187592 | #########################################################
# Title: HomeView
# Author: <EMAIL> @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
HomeTemplate = require('../templates/HomeTempla... | true | #########################################################
# Title: HomeView
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
HomeTemplate = require('../templ... |
[
{
"context": "###\n@Author: Kristinita\n@Date: 2017-01-30 13:33:35\n@Last Modified time:",
"end": 23,
"score": 0.9997961521148682,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
},
{
"context": "it.ly/2Iq1nGs ;\n\tReplace eval: https://github.com/eslint/eslint/issues/7861#issuec... | content/coffee/personal/Kristinita/gcse.coffee | Kristinita/KristinitaPelicanCI | 0 | ###
@Author: Kristinita
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
###############################
# Google Custom Search Engine #
###############################
# Custom Search Engine:
# https://www.google.com/cse/
# [WARNING]: New search engine, because in old error “X-Frame-Options”:
... | 120455 | ###
@Author: <NAME>
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
###############################
# Google Custom Search Engine #
###############################
# Custom Search Engine:
# https://www.google.com/cse/
# [WARNING]: New search engine, because in old error “X-Frame-Options”:
# ht... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:39:59
###
###############################
# Google Custom Search Engine #
###############################
# Custom Search Engine:
# https://www.google.com/cse/
# [WARNING]: New search engine, because in old error “X-Frame-... |
[
{
"context": "ser'+_.uniqueId()+'@example.com'\n password: 'password'\n anonymous: false\n }, options)\n user ",
"end": 1550,
"score": 0.9995297193527222,
"start": 1542,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "get('email') or user.get('name')\n pa... | spec/server/utils.coffee | mohancm/codecombat | 1 | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
User = require '../../server/models/User'
Level = require '../../server/models/Level'
Achievement = require '../../server/models/Achievement'
Campaign = require '../../server/models/Campaign'
Course = require... | 158862 | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
User = require '../../server/models/User'
Level = require '../../server/models/Level'
Achievement = require '../../server/models/Achievement'
Campaign = require '../../server/models/Campaign'
Course = require... | true | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
User = require '../../server/models/User'
Level = require '../../server/models/Level'
Achievement = require '../../server/models/Achievement'
Campaign = require '../../server/models/Campaign'
Course = require... |
[
{
"context": "Each ->\n co =>\n yield @room.user.say 'alice', '@hubot whois'\n yield delayer()\n\n # r",
"end": 416,
"score": 0.9394735097885132,
"start": 411,
"tag": "NAME",
"value": "alice"
},
{
"context": "event\n @room.messages.should.eql [\n ['a... | test/scripts/test_whois.coffee | NandanSharma/AIDetails | 0 | helper = new Helper('../scripts/whois.js')
# test ping script
describe 'scripts/whois.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.users', users
# Tes... | 57981 | helper = new Helper('../scripts/whois.js')
# test ping script
describe 'scripts/whois.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.users', users
# Tes... | true | helper = new Helper('../scripts/whois.js')
# test ping script
describe 'scripts/whois.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.users', users
# Tes... |
[
{
"context": "er, strategy } = {}\n\n beforeEach ->\n token = 't0k3n'\n provider = _.clone providers.oauthtest, true",
"end": 616,
"score": 0.9958196878433228,
"start": 611,
"tag": "PASSWORD",
"value": "t0k3n"
}
] | test/unit/strategies/oauth/resourceOwnerAuthorization.coffee | Zacaria/connect | 0 | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
providers = require '../../../../providers'
User = proxyquire('.... | 11385 | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
providers = require '../../../../providers'
User = proxyquire('.... | true | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
providers = require '../../../../providers'
User = proxyquire('.... |
[
{
"context": "omentous-nav'\n #adding hours option in update -Ryan\n if @curView == @minutesView\n navFormat =",
"end": 3419,
"score": 0.6593993902206421,
"start": 3415,
"tag": "NAME",
"value": "Ryan"
}
] | src/momentous.coffee | thom801/momentous | 3 | class Momentous
constructor: (placeholder, options, controller) ->
@placeholder = $ placeholder.html dropdownTemplate
@events = $ this
@options = options
@timeFormat = @options.timeFormat # 12 or 24
@minuteGranularity = @options.minuteGranularity or 15 # 1, 5, 10, 15... | 192956 | class Momentous
constructor: (placeholder, options, controller) ->
@placeholder = $ placeholder.html dropdownTemplate
@events = $ this
@options = options
@timeFormat = @options.timeFormat # 12 or 24
@minuteGranularity = @options.minuteGranularity or 15 # 1, 5, 10, 15... | true | class Momentous
constructor: (placeholder, options, controller) ->
@placeholder = $ placeholder.html dropdownTemplate
@events = $ this
@options = options
@timeFormat = @options.timeFormat # 12 or 24
@minuteGranularity = @options.minuteGranularity or 15 # 1, 5, 10, 15... |
[
{
"context": "uld insert every other character', ->\n text = \"cat\"\n delta = new Delta(3, 6, [new RetainOp(0, 1),",
"end": 2122,
"score": 0.6260939836502075,
"start": 2119,
"tag": "NAME",
"value": "cat"
},
{
"context": "should delete the last character', ->\n text = \"cat\... | tests/applyDeltaToText.coffee | tandem/tandem-core | 2 | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... | 113788 | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... | true | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... |
[
{
"context": "###*\n *\n * 进度条\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Component, ",
"end": 32,
"score": 0.9996593594551086,
"start": 26,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * 进度条\n * @author vfasky <vfasky@gmail.com>\n###\n'use stric... | src/coffee/progressBar.coffee | vfasky/mcore-weui | 0 | ###*
*
* 进度条
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Component, Template, util} = require 'mcore'
class ProgressBar extends Component
init: ->
@render require('../tpl/progressBar.html')
watch: ->
@on 'change:value', (value)->
@set 'progress', value if util.isNum... | 107879 | ###*
*
* 进度条
* @author vfasky <<EMAIL>>
###
'use strict'
{Component, Template, util} = require 'mcore'
class ProgressBar extends Component
init: ->
@render require('../tpl/progressBar.html')
watch: ->
@on 'change:value', (value)->
@set 'progress', value if util.isNumber value... | true | ###*
*
* 进度条
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Component, Template, util} = require 'mcore'
class ProgressBar extends Component
init: ->
@render require('../tpl/progressBar.html')
watch: ->
@on 'change:value', (value)->
@set 'progress', value if util... |
[
{
"context": "PLOY_URL\n2. UDEPLOY_USER_ID\n3. UDEPLOY_PASSWORD\n4. AUTHREALM\n\nDependencies:\n1. request\n###\n\nudeploy_url = proc",
"end": 1465,
"score": 0.7773334980010986,
"start": 1456,
"tag": "USERNAME",
"value": "AUTHREALM"
},
{
"context": "ffee (error,stdout,stderr) ->\n\t\... | scripts/udeploy/scripts-hipchat/udeploy.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 57885 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": "oud API client_id for this to work\n#\n# Author:\n# Joe Fleming (@w33ble)\n\nmodule.exports = (robot) ->\n robot.he",
"end": 381,
"score": 0.9998542666435242,
"start": 370,
"tag": "NAME",
"value": "Joe Fleming"
},
{
"context": "nt_id for this to work\n#\n# Author:\n#... | src/scripts/soundcloud-info.coffee | contolini/hubot-scripts | 1,450 | # Description
# Show sound information when Soundcloud URLs are seen.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SOUNDCLOUD_CLIENTID: API client_id for SoundCloud
#
# Commands:
# None
#
# Notes:
# For text-based adapters like IRC.
# Set the environment var HUBOT_SOUNDCLOUD_CLIENTID to your SoundClo... | 102873 | # Description
# Show sound information when Soundcloud URLs are seen.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SOUNDCLOUD_CLIENTID: API client_id for SoundCloud
#
# Commands:
# None
#
# Notes:
# For text-based adapters like IRC.
# Set the environment var HUBOT_SOUNDCLOUD_CLIENTID to your SoundClo... | true | # Description
# Show sound information when Soundcloud URLs are seen.
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SOUNDCLOUD_CLIENTID: API client_id for SoundCloud
#
# Commands:
# None
#
# Notes:
# For text-based adapters like IRC.
# Set the environment var HUBOT_SOUNDCLOUD_CLIENTID to your SoundClo... |
[
{
"context": "# @author mrdoob / http://mrdoob.com/\n# @author aladjev.andrew@gma",
"end": 16,
"score": 0.9996793270111084,
"start": 10,
"tag": "USERNAME",
"value": "mrdoob"
},
{
"context": "# @author mrdoob / http://mrdoob.com/\n# @author aladjev.andrew@gmail.com\n\n#= require new_s... | source/javascripts/new_src/loaders/image.coffee | andrew-aladev/three.js | 0 | # @author mrdoob / http://mrdoob.com/
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/loader
class ImageLoader extends THREE.Loader
load: (url, callback) ->
image = new Image()
image.onload = =>
callback image
@onLoadComplete()
image.crossOrigin = @crossOrigin
image.src... | 54750 | # @author mrdoob / http://mrdoob.com/
# @author <EMAIL>
#= require new_src/loaders/loader
class ImageLoader extends THREE.Loader
load: (url, callback) ->
image = new Image()
image.onload = =>
callback image
@onLoadComplete()
image.crossOrigin = @crossOrigin
image.src = path
@onLo... | true | # @author mrdoob / http://mrdoob.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/loader
class ImageLoader extends THREE.Loader
load: (url, callback) ->
image = new Image()
image.onload = =>
callback image
@onLoadComplete()
image.crossOrigin = @crossOrigin
image.src =... |
[
{
"context": "uire 'bluebird'\nYAML = require 'yamljs'\n\nidKey = 'id'\n\nmodule.exports =\n\n savedData: {}\n\n loadFixtur",
"end": 150,
"score": 0.9964660406112671,
"start": 148,
"tag": "KEY",
"value": "id"
}
] | src/fixtures-loader.coffee | louie007/loopback-component-fixturing | 0 | _ = require 'lodash'
faker = require 'faker'
fs = require 'fs'
path = require 'path'
Promise = require 'bluebird'
YAML = require 'yamljs'
idKey = 'id'
module.exports =
savedData: {}
loadFixtures: (models, fixturesPath) ->
# Get all yml files
fixturePath = path.join process.cwd(), fixturesPath
fixtur... | 145626 | _ = require 'lodash'
faker = require 'faker'
fs = require 'fs'
path = require 'path'
Promise = require 'bluebird'
YAML = require 'yamljs'
idKey = '<KEY>'
module.exports =
savedData: {}
loadFixtures: (models, fixturesPath) ->
# Get all yml files
fixturePath = path.join process.cwd(), fixturesPath
fix... | true | _ = require 'lodash'
faker = require 'faker'
fs = require 'fs'
path = require 'path'
Promise = require 'bluebird'
YAML = require 'yamljs'
idKey = 'PI:KEY:<KEY>END_PI'
module.exports =
savedData: {}
loadFixtures: (models, fixturesPath) ->
# Get all yml files
fixturePath = path.join process.cwd(), fixture... |
[
{
"context": "der: ->\r\n patients = [\r\n ['301', '王大锤', '男']\r\n ['302', '张本煜', '男']\r\n ",
"end": 2185,
"score": 0.9998329877853394,
"start": 2182,
"tag": "NAME",
"value": "王大锤"
},
{
"context": " ['301', '王大锤', '男']\r\n ['302', '... | src/base/coffee/zd-patient-list-page.coffee | ben7th/zdmockup | 0 | @TijianSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>体检</span>
</h2>
<div className='select'>
<div className="ui card... | 216304 | @TijianSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>体检</span>
</h2>
<div className='select'>
<div className="ui card... | true | @TijianSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>体检</span>
</h2>
<div className='select'>
<div className="ui card... |
[
{
"context": "\":\n colors:\n macro: \"#96b5b4\"\n token: \"#8fa1b3\"\n \"atom-terminal-panel\": {}\n build:\n panelVi",
"end": 258,
"score": 0.8230383992195129,
"start": 250,
"tag": "KEY",
"value": "\"#8fa1b3"
},
{
"context": " \"*racertmp*\"\n ]\n proje... | atom/config.cson | 9999years/dotfiles-1 | 16 | "*":
"atom-beautify":
_analyticsUserId: "d37d4d49-4d1b-41ef-8126-cd6a27f1ea80"
"atom-ctags":
extraTagFiles: "tags"
"atom-ide-ui":
"atom-ide-diagnostics-ui": {}
"atom-language-rust":
colors:
macro: "#96b5b4"
token: "#8fa1b3"
"atom-terminal-panel": {}
build:
panelVisibility: "S... | 77570 | "*":
"atom-beautify":
_analyticsUserId: "d37d4d49-4d1b-41ef-8126-cd6a27f1ea80"
"atom-ctags":
extraTagFiles: "tags"
"atom-ide-ui":
"atom-ide-diagnostics-ui": {}
"atom-language-rust":
colors:
macro: "#96b5b4"
token: <KEY>"
"atom-terminal-panel": {}
build:
panelVisibility: "Show... | true | "*":
"atom-beautify":
_analyticsUserId: "d37d4d49-4d1b-41ef-8126-cd6a27f1ea80"
"atom-ctags":
extraTagFiles: "tags"
"atom-ide-ui":
"atom-ide-diagnostics-ui": {}
"atom-language-rust":
colors:
macro: "#96b5b4"
token: PI:KEY:<KEY>END_PI"
"atom-terminal-panel": {}
build:
panelVisi... |
[
{
"context": "art of butterfly\n#\n# butterfly Copyright (C) 2014 Florian Mounier\n# This program is free software: you can redistri",
"end": 106,
"score": 0.9998855590820312,
"start": 91,
"tag": "NAME",
"value": "Florian Mounier"
},
{
"context": "forked from term.js\n#\n# Copyrig... | butterfly/coffees/term.coffee | binRick/thc.digital | 0 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 Florian Mounier
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (... | 216317 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 <NAME>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your o... | true | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 PI:NAME:<NAME>END_PI
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, o... |
[
{
"context": "listedEmails).toEqual jasmine.objectContaining [ 'bonnie_2@example.com', 'bonnie_3@example.com', 'bonnie_4@example.com',",
"end": 512,
"score": 0.9999231100082397,
"start": 492,
"tag": "EMAIL",
"value": "bonnie_2@example.com"
},
{
"context": "smine.objectContaining [ 'b... | spec/javascripts/admin_views/users_view_spec.js.coffee | projectcypress/bonnie | 0 | describe 'UsersViews', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture("ajax/users.json")
users = new Thorax.Collections.Users(users_index)
users.trigger('reset', users, {});
@view = new Thorax.Views.Users(collection: users)
@view.render()
it 'initializ... | 13210 | describe 'UsersViews', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture("ajax/users.json")
users = new Thorax.Collections.Users(users_index)
users.trigger('reset', users, {});
@view = new Thorax.Views.Users(collection: users)
@view.render()
it 'initializ... | true | describe 'UsersViews', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture("ajax/users.json")
users = new Thorax.Collections.Users(users_index)
users.trigger('reset', users, {});
@view = new Thorax.Views.Users(collection: users)
@view.render()
it 'initializ... |
[
{
"context": "an\", ->\n query = db.products.find({\"id >\" : \"steve\"})\n query.sql.should.equal(\"SELECT * FROM pr",
"end": 2042,
"score": 0.9883984327316284,
"start": 2037,
"tag": "NAME",
"value": "steve"
},
{
"context": "an\", ->\n query = db.products.find({\"id <... | test/pg_query_spec.coffee | dmorosinotto/massive-js | 1 | massive = require("../index")
should = require("should")
util = require("util")
helper = require('./pg_helper')
describe "Postgres Queries", ->
db = null
before (done) ->
massive.connect helper.connectionString(), (err,_db) ->
db = _db
done()
describe "initialization", ->
it "sets the table... | 182579 | massive = require("../index")
should = require("should")
util = require("util")
helper = require('./pg_helper')
describe "Postgres Queries", ->
db = null
before (done) ->
massive.connect helper.connectionString(), (err,_db) ->
db = _db
done()
describe "initialization", ->
it "sets the table... | true | massive = require("../index")
should = require("should")
util = require("util")
helper = require('./pg_helper')
describe "Postgres Queries", ->
db = null
before (done) ->
massive.connect helper.connectionString(), (err,_db) ->
db = _db
done()
describe "initialization", ->
it "sets the table... |
[
{
"context": "iguration:\n# HUBOT_WPGTRANSIT_KEY=ABCDEFGHIJKLMNOPXRSTUVWXYZ (Required)\n# HUBOT_WPGTRANSIT_URL=http",
"end": 149,
"score": 0.5384020805358887,
"start": 146,
"tag": "KEY",
"value": "OPX"
},
{
"context": "nt bus schedule for specified stop\n#\n# Author:\n# Jordan ... | scripts/wpgtransit.coffee | neufeldtech/hubot-wpgtransit | 0 | # Description:
# Gets Bus Schedule Information via the Winnipeg Transit Open Data api
#
# Configuration:
# HUBOT_WPGTRANSIT_KEY=ABCDEFGHIJKLMNOPXRSTUVWXYZ (Required)
# HUBOT_WPGTRANSIT_URL=https://api.winnipegtransit.com/v2/ (Optional)
#
# Dependencies:
# "moment": "^2.15.1"
# "moment-timezone": "^0.5.6"
#
#... | 124335 | # Description:
# Gets Bus Schedule Information via the Winnipeg Transit Open Data api
#
# Configuration:
# HUBOT_WPGTRANSIT_KEY=ABCDEFGHIJKLMN<KEY>RSTUVWXYZ (Required)
# HUBOT_WPGTRANSIT_URL=https://api.winnipegtransit.com/v2/ (Optional)
#
# Dependencies:
# "moment": "^2.15.1"
# "moment-timezone": "^0.5.6"
#... | true | # Description:
# Gets Bus Schedule Information via the Winnipeg Transit Open Data api
#
# Configuration:
# HUBOT_WPGTRANSIT_KEY=ABCDEFGHIJKLMNPI:KEY:<KEY>END_PIRSTUVWXYZ (Required)
# HUBOT_WPGTRANSIT_URL=https://api.winnipegtransit.com/v2/ (Optional)
#
# Dependencies:
# "moment": "^2.15.1"
# "moment-timezone... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998749494552612,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/DetailMapGenerator.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.DetailMapGenerator
constructor: (mapResolution) ->
# load shaders
@shader = xgl.loadProgram("detailMapGenerator")
#@shader.uniforms = xgl.getProgramUniforms(@shader, ["randomSee... | 11304 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.DetailMapGenerator
constructor: (mapResolution) ->
# load shaders
@shader = xgl.loadProgram("detailMapGenerator")
#@shader.uniforms = xgl.getProgramUniforms(@shader, ["randomSeed"])
... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.DetailMapGenerator
constructor: (mapResolution) ->
# load shaders
@shader = xgl.loadProgram("detailMapGenerator")
#@shader.uniforms = xgl.getProgramUniforms(@shader, ["r... |
[
{
"context": " require('sizeof').sizeof\n obj1 =\n name: 'Daniel'\n age: 18\n assert.equal sizeof(obj1),'34'",
"end": 184,
"score": 0.9997353553771973,
"start": 178,
"tag": "NAME",
"value": "Daniel"
}
] | coffee/test/other.coffee | mick-whats/selfmemo | 0 | {assert} = require 'chai'
_ = require 'lodash'
# その他のnpmモジュール
describe "sizeof", ->
it "オブジェクトのサイズを計ってくれる", ->
sizeof = require('sizeof').sizeof
obj1 =
name: 'Daniel'
age: 18
assert.equal sizeof(obj1),'34'
assert.equal sizeof(obj1,true),'34B'
| 81590 | {assert} = require 'chai'
_ = require 'lodash'
# その他のnpmモジュール
describe "sizeof", ->
it "オブジェクトのサイズを計ってくれる", ->
sizeof = require('sizeof').sizeof
obj1 =
name: '<NAME>'
age: 18
assert.equal sizeof(obj1),'34'
assert.equal sizeof(obj1,true),'34B'
| true | {assert} = require 'chai'
_ = require 'lodash'
# その他のnpmモジュール
describe "sizeof", ->
it "オブジェクトのサイズを計ってくれる", ->
sizeof = require('sizeof').sizeof
obj1 =
name: 'PI:NAME:<NAME>END_PI'
age: 18
assert.equal sizeof(obj1),'34'
assert.equal sizeof(obj1,true),'34B'
|
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998683929443359,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/line_chart_options.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# 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... | 10686 | # Copyright 2012 <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 writin... | true | # Copyright 2012 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 agree... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998455047607422,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/bilateral.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... | 112204 | ###
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": " { id: 'NRM_Avon', name: 'Avon' },\n { id: 'NRM_Border",
"end": 15877,
"score": 0.932566225528717,
"start": 15873,
"tag": "NAME",
"value": "Avon"
},
{
"context": " { id: 'NRM_Burdekin', name: 'Burdekin'... | climas-ng/climasng/src/coffee/reports/views/app.coffee | DanielBaird/CliMAS-Next-Generation | 0 |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
# MapLayer = require '../models/maplayer'
require '../util/shims' # help IE to get up to date
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript ... | 113041 |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
# MapLayer = require '../models/maplayer'
require '../util/shims' # help IE to get up to date
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript ... | true |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
# MapLayer = require '../models/maplayer'
require '../util/shims' # help IE to get up to date
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript ... |
[
{
"context": "gexp#=~ used in case statements.\n #\n # a = \"HELLO\"\n # R(/^[a-z]*$/)['==='](a) # => false\n # ",
"end": 2106,
"score": 0.802518367767334,
"start": 2101,
"tag": "NAME",
"value": "HELLO"
}
] | lib/oo/regexp.coffee | hasclass/core-lib | 1 | class RubyJS.Regexp extends RubyJS.Object
# TODO: remove and document this. not needed/making sense in JS.
IGNORECASE: 1
EXTENDED: 2
MULTILINE: 4
# ---- Constructors & Typecast ----------------------------------------------
constructor: (@__native__) ->
@new: (arg) ->
if typeof arg is 'string'
... | 149334 | class RubyJS.Regexp extends RubyJS.Object
# TODO: remove and document this. not needed/making sense in JS.
IGNORECASE: 1
EXTENDED: 2
MULTILINE: 4
# ---- Constructors & Typecast ----------------------------------------------
constructor: (@__native__) ->
@new: (arg) ->
if typeof arg is 'string'
... | true | class RubyJS.Regexp extends RubyJS.Object
# TODO: remove and document this. not needed/making sense in JS.
IGNORECASE: 1
EXTENDED: 2
MULTILINE: 4
# ---- Constructors & Typecast ----------------------------------------------
constructor: (@__native__) ->
@new: (arg) ->
if typeof arg is 'string'
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.