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": "# Description\n# Oh man, I want a looping gif of @coreyhaines and @tenderlove doing the COMPUTERING motion at t",
"end": 62,
"score": 0.9971858263015747,
"start": 50,
"tag": "USERNAME",
"value": "@coreyhaines"
},
{
"context": " Oh man, I want a looping gif of @coreyh... | scripts/charismatic-duo.coffee | RiotGamesMinions/lefay | 7 | # Description
# Oh man, I want a looping gif of @coreyhaines and @tenderlove doing the COMPUTERING motion at the same time.
#
# Author:
# ivey
computering = [
"https://peepcode.com/blog/2013/charismatic-duo/img/dinosaur-hands.gif",
"https://peepcode.com/blog/2013/charismatic-duo/img/howiprogram.gif"
]
module.... | 43947 | # Description
# Oh man, I want a looping gif of @coreyhaines and @tenderlove doing the COMPUTERING motion at the same time.
#
# Author:
# <NAME> <NAME>
computering = [
"https://peepcode.com/blog/2013/charismatic-duo/img/dinosaur-hands.gif",
"https://peepcode.com/blog/2013/charismatic-duo/img/howiprogram.gif"
]
... | true | # Description
# Oh man, I want a looping gif of @coreyhaines and @tenderlove doing the COMPUTERING motion at the same time.
#
# Author:
# PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI
computering = [
"https://peepcode.com/blog/2013/charismatic-duo/img/dinosaur-hands.gif",
"https://peepcode.com/blog/2013/charismatic... |
[
{
"context": "OL': 'true'\n}\n\ntestTarget1 = {\n\tlocal: {\n\t\tname: 'aDevice'\n\t\tconfig: {\n\t\t\t'HOST_CONFIG_gpu_mem': '256",
"end": 1046,
"score": 0.5715608596801758,
"start": 1045,
"tag": "NAME",
"value": "a"
},
{
"context": "'\n\t\t}\n\t\tapps: [\n\t\t\t{\n\t\t\t\tappId: '1... | test/05-device-state.spec.coffee | XevoInc/balena-supervisor | 0 | Promise = require 'bluebird'
_ = require 'lodash'
{ stub } = require 'sinon'
chai = require './lib/chai-config'
chai.use(require('chai-events'))
{ expect } = chai
prepare = require './lib/prepare'
DeviceState = require '../src/device-state'
{ DB } = require('../src/db')
{ Config } = require('../src/config')
{ RPiConfi... | 834 | Promise = require 'bluebird'
_ = require 'lodash'
{ stub } = require 'sinon'
chai = require './lib/chai-config'
chai.use(require('chai-events'))
{ expect } = chai
prepare = require './lib/prepare'
DeviceState = require '../src/device-state'
{ DB } = require('../src/db')
{ Config } = require('../src/config')
{ RPiConfi... | true | Promise = require 'bluebird'
_ = require 'lodash'
{ stub } = require 'sinon'
chai = require './lib/chai-config'
chai.use(require('chai-events'))
{ expect } = chai
prepare = require './lib/prepare'
DeviceState = require '../src/device-state'
{ DB } = require('../src/db')
{ Config } = require('../src/config')
{ RPiConfi... |
[
{
"context": " environment:\n USER: root\n PASS: really_secret\n volumes:\n - /var/lib/mysql\n ena",
"end": 709,
"score": 0.9993074536323547,
"start": 696,
"tag": "PASSWORD",
"value": "really_secret"
},
{
"context": " environment:\n USER:... | lib/utils.tests.coffee | ICTU/docker-dashboard | 33 | { assert } = require 'meteor/practicalmeteor:chai'
{ AppDef } = require './utils'
testAppDef =
def: """
name: nginx
version: latest
#tags: autorun infra
www:
image: nginx
endpoint: :80
environment:
- PORT=5000
- URL=http://www.nginx.project.ictu
depends_on:
... | 128879 | { assert } = require 'meteor/practicalmeteor:chai'
{ AppDef } = require './utils'
testAppDef =
def: """
name: nginx
version: latest
#tags: autorun infra
www:
image: nginx
endpoint: :80
environment:
- PORT=5000
- URL=http://www.nginx.project.ictu
depends_on:
... | true | { assert } = require 'meteor/practicalmeteor:chai'
{ AppDef } = require './utils'
testAppDef =
def: """
name: nginx
version: latest
#tags: autorun infra
www:
image: nginx
endpoint: :80
environment:
- PORT=5000
- URL=http://www.nginx.project.ictu
depends_on:
... |
[
{
"context": "don't step on eachother's toes\n @storageKey = \"dropbox-auth:#{@scope}:#{client.appHash()}\"\n @\n\n # Stores a Dropbox.Cli",
"end": 2746,
"score": 0.9923908710479736,
"start": 2721,
"tag": "KEY",
"value": "dropbox-auth:#{@scope}:#{"
},
{
"context": "geKey = \"d... | src/auth_driver/browser.coffee | mclaughj/datastore-js | 0 | # Base class for OAuth drivers that run in the browser.
#
# Inheriting from this class makes a driver use HTML5 localStorage to preserve
# OAuth tokens across page reloads.
class Dropbox.AuthDriver.BrowserBase
# Sets up the OAuth driver.
#
# Subclasses should pass the options object they receive to the superclass... | 64391 | # Base class for OAuth drivers that run in the browser.
#
# Inheriting from this class makes a driver use HTML5 localStorage to preserve
# OAuth tokens across page reloads.
class Dropbox.AuthDriver.BrowserBase
# Sets up the OAuth driver.
#
# Subclasses should pass the options object they receive to the superclass... | true | # Base class for OAuth drivers that run in the browser.
#
# Inheriting from this class makes a driver use HTML5 localStorage to preserve
# OAuth tokens across page reloads.
class Dropbox.AuthDriver.BrowserBase
# Sets up the OAuth driver.
#
# Subclasses should pass the options object they receive to the superclass... |
[
{
"context": "es: easy-table, syslogd-middleware\n#\n# Author:\n# Leon van Kammen\n#\n\nlogserver = require 'syslogd-middleware'\nsy",
"end": 554,
"score": 0.9996992945671082,
"start": 539,
"tag": "NAME",
"value": "Leon van Kammen"
}
] | src/syslog.coffee | coderofsalvation/hubot-syslogd | 2 | # Description:
# interface to syslog
#
# Commands:
# hubot syslog - get overview of filters
# hubot syslog config [variable] [value] - show [or edit] filter config
# hubot syslog add <filter> [regex] - add filter
# hubot syslog remove <id> - stop and remove a filter
# hubot syslog enab... | 88782 | # Description:
# interface to syslog
#
# Commands:
# hubot syslog - get overview of filters
# hubot syslog config [variable] [value] - show [or edit] filter config
# hubot syslog add <filter> [regex] - add filter
# hubot syslog remove <id> - stop and remove a filter
# hubot syslog enab... | true | # Description:
# interface to syslog
#
# Commands:
# hubot syslog - get overview of filters
# hubot syslog config [variable] [value] - show [or edit] filter config
# hubot syslog add <filter> [regex] - add filter
# hubot syslog remove <id> - stop and remove a filter
# hubot syslog enab... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
"score": 0.7568966746330261,
"start": 16,
"tag": "EMAIL",
"value": "jtlebi.fr"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Permiss... | src/lib/sanitize.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... | 52832 | ###
# Copyright <EMAIL> <<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, modify... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PI <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 limitation t... |
[
{
"context": "\"angle-up\"\n unicode: \"f106\"\n }\n {\n name: \"angry\"\n unicode: \"f556\"\n }\n {\n name: \"ankh\"\n ",
"end": 1146,
"score": 0.6536956429481506,
"start": 1141,
"tag": "NAME",
"value": "angry"
},
{
"context": "e: \"angry\"\n unicode: \"f556\"\n... | character-list/character-list.cson | gluons/font-awesome-icon-chars | 10 | solid: [
{
name: "ad"
unicode: "f641"
}
{
name: "address-book"
unicode: "f2b9"
}
{
name: "address-card"
unicode: "f2bb"
}
{
name: "adjust"
unicode: "f042"
}
{
name: "air-freshener"
unicode: "f5d0"
}
{
name: "align-center"
unicode: "f037"
}
{
... | 29356 | solid: [
{
name: "ad"
unicode: "f641"
}
{
name: "address-book"
unicode: "f2b9"
}
{
name: "address-card"
unicode: "f2bb"
}
{
name: "adjust"
unicode: "f042"
}
{
name: "air-freshener"
unicode: "f5d0"
}
{
name: "align-center"
unicode: "f037"
}
{
... | true | solid: [
{
name: "ad"
unicode: "f641"
}
{
name: "address-book"
unicode: "f2b9"
}
{
name: "address-card"
unicode: "f2bb"
}
{
name: "adjust"
unicode: "f042"
}
{
name: "air-freshener"
unicode: "f5d0"
}
{
name: "align-center"
unicode: "f037"
}
{
... |
[
{
"context": " input name: 'pass', type: 'password'\n \n ",
"end": 423,
"score": 0.999186635017395,
"start": 415,
"tag": "PASSWORD",
"value": "password"
}
] | examples/auth/lib/LoginForm.coffee | nero-networks/floyd | 0 |
module.exports =
##
##
##
class LoginForm extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
template: ->
div ->
div class: 'login', ->
... | 57585 |
module.exports =
##
##
##
class LoginForm extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
template: ->
div ->
div class: 'login', ->
... | true |
module.exports =
##
##
##
class LoginForm extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
template: ->
div ->
div class: 'login', ->
... |
[
{
"context": "Match(\n encodeURIComponent('customerId=\"2878df1a-ea36-4434-a473-a8adcf1fc385\"')\n )\n ",
"end": 4473,
"score": 0.625236451625824,
"start": 4467,
"tag": "PASSWORD",
"value": "878df1"
},
{
"context": "orderExport._exportOptions.where = \"customerI... | src/spec/orderexport.spec.coffee | celeste-horgan/sphere-order-export | 3 | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
OrderExport = require '../lib/orderexport'
Config = require '../config'
unsyncedOrders = (channelId) -> [
{id: 'aaa', syncInfo: [{channel: {typeId: 'channel', id: 'foo'}}]} # unsynced
{id: 'bbb'} # unsynced
{id: 'ccc', syn... | 161436 | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
OrderExport = require '../lib/orderexport'
Config = require '../config'
unsyncedOrders = (channelId) -> [
{id: 'aaa', syncInfo: [{channel: {typeId: 'channel', id: 'foo'}}]} # unsynced
{id: 'bbb'} # unsynced
{id: 'ccc', syn... | true | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
OrderExport = require '../lib/orderexport'
Config = require '../config'
unsyncedOrders = (channelId) -> [
{id: 'aaa', syncInfo: [{channel: {typeId: 'channel', id: 'foo'}}]} # unsynced
{id: 'bbb'} # unsynced
{id: 'ccc', syn... |
[
{
"context": "bbedApiData = \n\t\t\ttemplate:{_id:\"12312321\", name:\"bob\"}\n\t\t\ttag: {name:\"tag name\"}\n\n\t\t@TemplatesWebContr",
"end": 634,
"score": 0.9697288870811462,
"start": 631,
"tag": "NAME",
"value": "bob"
},
{
"context": "edApiData\n\t\t\t\tdone()\n\n\t\t\t@req.para... | test/UnitTests/coffee/Templates/TemplatesWebControllerTests.coffee | ukasiu/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Templates/TemplatesWebController"
expect = require("chai").expect
describe "TemplatesWebController", ... | 182639 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Templates/TemplatesWebController"
expect = require("chai").expect
describe "TemplatesWebController", ... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Templates/TemplatesWebController"
expect = require("chai").expect
describe "TemplatesWebController", ... |
[
{
"context": "# Copyright 2014 Rico Simke, Leipzig University Library\n# http://www.ub.uni-l",
"end": 27,
"score": 0.9998430013656616,
"start": 17,
"tag": "NAME",
"value": "Rico Simke"
}
] | app/assets/javascripts/bootstrap.js.coffee | ubleipzig/mdmap | 2 | # Copyright 2014 Rico Simke, Leipzig University Library
# http://www.ub.uni-leipzig.de
# This code is the result of the project "Die Bibliothek der Milliarden Wörter".
# This project is funded by the European Social Fund. "Die Bibliothek der
# Milliarden Wörter" is a cooperation project between the Leipzig University
... | 141873 | # Copyright 2014 <NAME>, Leipzig University Library
# http://www.ub.uni-leipzig.de
# This code is the result of the project "Die Bibliothek der Milliarden Wörter".
# This project is funded by the European Social Fund. "Die Bibliothek der
# Milliarden Wörter" is a cooperation project between the Leipzig University
# Li... | true | # Copyright 2014 PI:NAME:<NAME>END_PI, Leipzig University Library
# http://www.ub.uni-leipzig.de
# This code is the result of the project "Die Bibliothek der Milliarden Wörter".
# This project is funded by the European Social Fund. "Die Bibliothek der
# Milliarden Wörter" is a cooperation project between the Leipzig U... |
[
{
"context": "loginUser(user)\n yield utils.makeLevel({name: 'Taken Name'})\n level = yield utils.makeLevel({name: ",
"end": 2073,
"score": 0.8107781410217285,
"start": 2068,
"tag": "NAME",
"value": "Taken"
},
{
"context": " json = _.extend({}, level.toObject(), {name: 'Take... | spec/server/functional/level.spec.coffee | mcgilvrayb/codecombat | 1 | require '../common'
Campaign = require '../../../server/models/Campaign'
Classroom = require '../../../server/models/Classroom'
Course = require '../../../server/models/Course'
CourseInstance = require '../../../server/models/CourseInstance'
Level = require '../../../server/models/Level'
LevelSession = require '../../.... | 182340 | require '../common'
Campaign = require '../../../server/models/Campaign'
Classroom = require '../../../server/models/Classroom'
Course = require '../../../server/models/Course'
CourseInstance = require '../../../server/models/CourseInstance'
Level = require '../../../server/models/Level'
LevelSession = require '../../.... | true | require '../common'
Campaign = require '../../../server/models/Campaign'
Classroom = require '../../../server/models/Classroom'
Course = require '../../../server/models/Course'
CourseInstance = require '../../../server/models/CourseInstance'
Level = require '../../../server/models/Level'
LevelSession = require '../../.... |
[
{
"context": "nt interface\n#\n# September, 2013 year\n#\n# Author - Vladimir Andreev\n#\n# E-Mail: volodya@netfolder.ru\n\n# Supported met",
"end": 84,
"score": 0.999875545501709,
"start": 68,
"tag": "NAME",
"value": "Vladimir Andreev"
},
{
"context": "013 year\n#\n# Author - Vladim... | src/merchant-interface.coffee | listepo/webmoney | 1 | # WebMoney merchant interface
#
# September, 2013 year
#
# Author - Vladimir Andreev
#
# E-Mail: volodya@netfolder.ru
# Supported methods: X18, X20 - X22
# Merchant interface
MerchantInterface =
#
TransGet:
sign: true
md5: true
secret: true
order: ['wmid', 'lmi_payee_purse', 'lmi_payment_no']
#
TransR... | 86227 | # WebMoney merchant interface
#
# September, 2013 year
#
# Author - <NAME>
#
# E-Mail: <EMAIL>
# Supported methods: X18, X20 - X22
# Merchant interface
MerchantInterface =
#
TransGet:
sign: true
md5: true
secret: true
order: ['wmid', 'lmi_payee_purse', 'lmi_payment_no']
#
TransRequest:
sign: true
... | true | # WebMoney merchant interface
#
# September, 2013 year
#
# Author - PI:NAME:<NAME>END_PI
#
# E-Mail: PI:EMAIL:<EMAIL>END_PI
# Supported methods: X18, X20 - X22
# Merchant interface
MerchantInterface =
#
TransGet:
sign: true
md5: true
secret: true
order: ['wmid', 'lmi_payee_purse', 'lmi_payment_no']
#
... |
[
{
"context": "dress when signing up through email.\n *password*: User's password when signing up through email.\n *twitter-data*: ",
"end": 437,
"score": 0.8943057060241699,
"start": 422,
"tag": "PASSWORD",
"value": "User's password"
},
{
"context": "dress when signing up through e... | routes/users.coffee | craigspaeth/nfd-api | 0 | { insert, toJSON, update, findOne, resetPassword, createAccessToken,
getAlertHTML } = require '../dal/users'
async = require 'async'
ClientApplications = require '../dal/client-applications'
auth = require '../lib/middleware/auth'
_ = require 'underscore'
module.exports =
'POST /users':
desc: """
Creates ... | 2570 | { insert, toJSON, update, findOne, resetPassword, createAccessToken,
getAlertHTML } = require '../dal/users'
async = require 'async'
ClientApplications = require '../dal/client-applications'
auth = require '../lib/middleware/auth'
_ = require 'underscore'
module.exports =
'POST /users':
desc: """
Creates ... | true | { insert, toJSON, update, findOne, resetPassword, createAccessToken,
getAlertHTML } = require '../dal/users'
async = require 'async'
ClientApplications = require '../dal/client-applications'
auth = require '../lib/middleware/auth'
_ = require 'underscore'
module.exports =
'POST /users':
desc: """
Creates ... |
[
{
"context": "ay.length, 1\n assert.equal spec.array[0].key, 'fruit'\n assert.equal spec.array[0].default, 'apple'\n",
"end": 5653,
"score": 0.9784224033355713,
"start": 5648,
"tag": "KEY",
"value": "fruit"
},
{
"context": "ay.length, 1\n assert.equal spec.array[0].key, 'fru... | test/lib/test.coffee | elidoran/endeo-special | 0 | assert = require 'assert'
buildSpecials = require '../../lib/index.coffee'
{Specials, Special} = buildSpecials
describe 'test Specials', ->
it 'should build', -> assert buildSpecials()
it 'allows types option', ->
specials = buildSpecials types: {custom:true}
assert.equal specials.types.custom, true
... | 51004 | assert = require 'assert'
buildSpecials = require '../../lib/index.coffee'
{Specials, Special} = buildSpecials
describe 'test Specials', ->
it 'should build', -> assert buildSpecials()
it 'allows types option', ->
specials = buildSpecials types: {custom:true}
assert.equal specials.types.custom, true
... | true | assert = require 'assert'
buildSpecials = require '../../lib/index.coffee'
{Specials, Special} = buildSpecials
describe 'test Specials', ->
it 'should build', -> assert buildSpecials()
it 'allows types option', ->
specials = buildSpecials types: {custom:true}
assert.equal specials.types.custom, true
... |
[
{
"context": " Actions.setUnreadThreads({\n threads: [@_thread],\n source: \"Thread Selected\",\n ",
"end": 6685,
"score": 0.8189780116081238,
"start": 6676,
"tag": "USERNAME",
"value": "[@_thread"
},
{
"context": "ad subject\n hidden: false,\n ... | packages/client-app/src/flux/stores/message-store.coffee | cnheider/nylas-mail | 24,369 | NylasStore = require "nylas-store"
Actions = require("../actions").default
Message = require("../models/message").default
Thread = require("../models/thread").default
Utils = require '../models/utils'
DatabaseStore = require("./database-store").default
FocusedPerspectiveStore = require('./focused-perspective-store').de... | 143727 | NylasStore = require "nylas-store"
Actions = require("../actions").default
Message = require("../models/message").default
Thread = require("../models/thread").default
Utils = require '../models/utils'
DatabaseStore = require("./database-store").default
FocusedPerspectiveStore = require('./focused-perspective-store').de... | true | NylasStore = require "nylas-store"
Actions = require("../actions").default
Message = require("../models/message").default
Thread = require("../models/thread").default
Utils = require '../models/utils'
DatabaseStore = require("./database-store").default
FocusedPerspectiveStore = require('./focused-perspective-store').de... |
[
{
"context": "\"}\n password: {type: \"string\", description: \"Password of the user\"}\n email: {type: \"string\", description: \"Ema",
"end": 8437,
"score": 0.9991655349731445,
"start": 8417,
"tag": "PASSWORD",
"value": "Password of the user"
},
{
"context": "thor: {type:... | src/docker-api-description.coffee | teemow/fokker | 1 | module.exports = [{
resource: "container"
actions: [{
name: "list"
request: "/containers/json"
method: "GET"
parameter:
all: {type: "boolean", description: "Show all containers. Only running containers are shown by default"}
limit: {type: "number", description: "Show limit last created c... | 189848 | module.exports = [{
resource: "container"
actions: [{
name: "list"
request: "/containers/json"
method: "GET"
parameter:
all: {type: "boolean", description: "Show all containers. Only running containers are shown by default"}
limit: {type: "number", description: "Show limit last created c... | true | module.exports = [{
resource: "container"
actions: [{
name: "list"
request: "/containers/json"
method: "GET"
parameter:
all: {type: "boolean", description: "Show all containers. Only running containers are shown by default"}
limit: {type: "number", description: "Show limit last created c... |
[
{
"context": " done()\n item = list.where(record: key: 'anyone')[0]\n item.record.val = 2\n list.trigger 'up",
"end": 1609,
"score": 0.8550833463668823,
"start": 1606,
"tag": "KEY",
"value": "one"
},
{
"context": " done()\n item = list.where(record: key: 'noone')[0... | test/components/list/sortable_list_test.coffee | pieces-js/pieces-list | 0 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.Sortable", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
... | 70299 | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.Sortable", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
... | true | 'use strict'
h = require 'pieces-list/test/helpers'
utils = pi.utils
Nod = pi.Nod
describe "List.Sortable", ->
root = h.test_cont(pi.Nod.body)
after ->
root.remove()
test_div = list = null
beforeEach ->
test_div = Nod.create('div')
test_div.style position:'relative'
root.append test_div
... |
[
{
"context": " #Original for comparison\n $scope.original =\n firstName: ''\n lastName: ''\n email: ''\n\n $scope.pack",
"end": 271,
"score": 0.726098895072937,
"start": 262,
"tag": "NAME",
"value": "firstName"
},
{
"context": "mparison\n $scope.original =\n firstName... | app/views/packageScan/packageScan.coffee | jluchiji/tranzit | 0 | angular.module 'Tranzit.app.views.packageScan', []
.controller 'PackageScanController', ($scope) ->
undefined
.controller 'PackagePackageScanController', ($scope, TranzitAuthSession, AppSession, AppData) ->
#Original for comparison
$scope.original =
firstName: ''
lastName: ''
email: ''
$scope.pac... | 156833 | angular.module 'Tranzit.app.views.packageScan', []
.controller 'PackageScanController', ($scope) ->
undefined
.controller 'PackagePackageScanController', ($scope, TranzitAuthSession, AppSession, AppData) ->
#Original for comparison
$scope.original =
<NAME>: ''
<NAME>: ''
email: ''
$scope.packageO... | true | angular.module 'Tranzit.app.views.packageScan', []
.controller 'PackageScanController', ($scope) ->
undefined
.controller 'PackagePackageScanController', ($scope, TranzitAuthSession, AppSession, AppData) ->
#Original for comparison
$scope.original =
PI:NAME:<NAME>END_PI: ''
PI:NAME:<NAME>END_PI: ''
... |
[
{
"context": " three.faces.push 0\n # <bai> andresj: sounds like your vertices are just in the\n ",
"end": 1477,
"score": 0.4524434208869934,
"start": 1474,
"tag": "USERNAME",
"value": "and"
},
{
"context": "three.faces.push 0\n # <bai> andre... | gmshToThree.coffee | ariofrio/goatee | 1 | module.exports = gmshToThree = (msh) ->
three =
metadata: formatVersion: 3
vertices: []
faces: []
materials: []
normals: []
colors: []
uvs: []
lines = msh.split '\n'
section = null
countDone = no
for line, i in lines
if line.indexOf('$End') == 0
unless line[4..] == se... | 44983 | module.exports = gmshToThree = (msh) ->
three =
metadata: formatVersion: 3
vertices: []
faces: []
materials: []
normals: []
colors: []
uvs: []
lines = msh.split '\n'
section = null
countDone = no
for line, i in lines
if line.indexOf('$End') == 0
unless line[4..] == se... | true | module.exports = gmshToThree = (msh) ->
three =
metadata: formatVersion: 3
vertices: []
faces: []
materials: []
normals: []
colors: []
uvs: []
lines = msh.split '\n'
section = null
countDone = no
for line, i in lines
if line.indexOf('$End') == 0
unless line[4..] == se... |
[
{
"context": " continue\n\n cols.push(key)\n\n if key != 'texths'\n x = i_json.kv[key]\n\n if typeof(x)",
"end": 590,
"score": 0.9938125610351562,
"start": 584,
"tag": "KEY",
"value": "texths"
}
] | database/functions1/mtp_upsert_cf2.coffee | mabotech/maboss | 0 |
#init
cols = []
vals = []
v_sql = ""
result = null
#input
v_table = i_json.table
v_id = i_json.kv.id
languageid = i_json.context.languageid
v_user = i_json.context.user
v_rowversion = i_json.kv.rowversion
if not v_rowversion
v_rowversion = 1
if not languageid
#throw("please provide languageid")
re... | 130998 |
#init
cols = []
vals = []
v_sql = ""
result = null
#input
v_table = i_json.table
v_id = i_json.kv.id
languageid = i_json.context.languageid
v_user = i_json.context.user
v_rowversion = i_json.kv.rowversion
if not v_rowversion
v_rowversion = 1
if not languageid
#throw("please provide languageid")
re... | true |
#init
cols = []
vals = []
v_sql = ""
result = null
#input
v_table = i_json.table
v_id = i_json.kv.id
languageid = i_json.context.languageid
v_user = i_json.context.user
v_rowversion = i_json.kv.rowversion
if not v_rowversion
v_rowversion = 1
if not languageid
#throw("please provide languageid")
re... |
[
{
"context": "ty.\n #\n # @access public\n # @author Chris Sauve\n # @since 0.0.1\n # @returns {String",
"end": 1302,
"score": 0.9998000860214233,
"start": 1295,
"tag": "NAME",
"value": "Chris S"
},
{
"context": "rs.\n #\n # @access public\n # ... | assets/bigfoot/src/coffee/bigfoot.coffee | lessignorance/arabica-acv | 450 | # ___ ___ ___ ___
# _____ ___ / /\ / /\ / /\ / /\ ___
# / /::\ / /\ / /:/_ / /:/_ / /::\ / /::\ / /\
# / /:/\:\ / /:/ / /:/ /\ / /:/ /\/ /:/\:\ / /:/\:\ / /:/
# ... | 199455 | # ___ ___ ___ ___
# _____ ___ / /\ / /\ / /\ / /\ ___
# / /::\ / /\ / /:/_ / /:/_ / /::\ / /::\ / /\
# / /:/\:\ / /:/ / /:/ /\ / /:/ /\/ /:/\:\ / /:/\:\ / /:/
# ... | true | # ___ ___ ___ ___
# _____ ___ / /\ / /\ / /\ / /\ ___
# / /::\ / /\ / /:/_ / /:/_ / /::\ / /::\ / /\
# / /:/\:\ / /:/ / /:/ /\ / /:/ /\/ /:/\:\ / /:/\:\ / /:/
# ... |
[
{
"context": "kipValidation: true\n\n draftIdStorageKey: ->\n \"project-#{@options.project_id}-response-id\"\n\n constructor: ",
"end": 740,
"score": 0.9175689220428467,
"start": 730,
"tag": "KEY",
"value": "project-#{"
},
{
"context": "dStorageKey: ->\n \"project-#{@options.... | render/src/main.coffee | johan--/Encuestas | 1 | window.FormRenderer = FormRenderer = Backbone.View.extend
defaults:
enableAutosave: true
enableBeforeUnload: true
enablePages: true
enableErrorAlertBar: true
enableBottomStatusBar: true
enableLocalstorage: true
screendoorBase: 'https://screendoor.dobt.co'
target: '[data-formrenderer]'
... | 47578 | window.FormRenderer = FormRenderer = Backbone.View.extend
defaults:
enableAutosave: true
enableBeforeUnload: true
enablePages: true
enableErrorAlertBar: true
enableBottomStatusBar: true
enableLocalstorage: true
screendoorBase: 'https://screendoor.dobt.co'
target: '[data-formrenderer]'
... | true | window.FormRenderer = FormRenderer = Backbone.View.extend
defaults:
enableAutosave: true
enableBeforeUnload: true
enablePages: true
enableErrorAlertBar: true
enableBottomStatusBar: true
enableLocalstorage: true
screendoorBase: 'https://screendoor.dobt.co'
target: '[data-formrenderer]'
... |
[
{
"context": "L}/api/v1/sets\"\n cache: true\n data: { key: 'partners:featured-partners' }\n success: (sets) ->\n set = sets.first(",
"end": 319,
"score": 0.9856458902359009,
"start": 293,
"tag": "KEY",
"value": "partners:featured-partners"
}
] | src/mobile/apps/partners/routes.coffee | zephraph/force | 1 | sd = require('sharify').data
Backbone = require 'backbone'
Partner = require '../../models/partner'
Profiles = require '../../collections/profiles'
module.exports.index = (req, res) ->
new Backbone.Collection([]).fetch
url: "#{sd.API_URL}/api/v1/sets"
cache: true
data: { key: 'partners:featured-partners'... | 46438 | sd = require('sharify').data
Backbone = require 'backbone'
Partner = require '../../models/partner'
Profiles = require '../../collections/profiles'
module.exports.index = (req, res) ->
new Backbone.Collection([]).fetch
url: "#{sd.API_URL}/api/v1/sets"
cache: true
data: { key: '<KEY>' }
success: (sets... | true | sd = require('sharify').data
Backbone = require 'backbone'
Partner = require '../../models/partner'
Profiles = require '../../collections/profiles'
module.exports.index = (req, res) ->
new Backbone.Collection([]).fetch
url: "#{sd.API_URL}/api/v1/sets"
cache: true
data: { key: 'PI:KEY:<KEY>END_PI' }
s... |
[
{
"context": "\n# console.log 'hore'\n\n# sniOptions =\n# email: 'damaera@live.com'\n# agreeTos: true\n# ports:\n# http: 2020\n#",
"end": 3515,
"score": 0.9999222755432129,
"start": 3499,
"tag": "EMAIL",
"value": "damaera@live.com"
}
] | src/app.coffee | damaera/framesia-code | 1 | path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
session = require 'express-session'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
i18n = require 'i18n'
helmet = require 'helmet'
csrf = require 'csurf'
MongoStore = (require 'connect-mongo') session
express ... | 222686 | path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
session = require 'express-session'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
i18n = require 'i18n'
helmet = require 'helmet'
csrf = require 'csurf'
MongoStore = (require 'connect-mongo') session
express ... | true | path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
session = require 'express-session'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
i18n = require 'i18n'
helmet = require 'helmet'
csrf = require 'csurf'
MongoStore = (require 'connect-mongo') session
express ... |
[
{
"context": "verview Tests for the no-new-object rule\n# @author Matt DuVall <http://www.mattduvall.com/>\n###\n\n'use strict'\n\n#",
"end": 75,
"score": 0.9998094439506531,
"start": 64,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/tests/rules/no-new-object.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for the no-new-object rule
# @author Matt DuVall <http://www.mattduvall.com/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'esli... | 158539 | ###*
# @fileoverview Tests for the no-new-object rule
# @author <NAME> <http://www.mattduvall.com/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/li... | true | ###*
# @fileoverview Tests for the no-new-object rule
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = requ... |
[
{
"context": " newKey = KEY_FOR_EMPTY_STRING\n else\n newKey = \"#{key}\"\n return newKey\n\nclass QUOTA_EXCEEDED_ERR ex",
"end": 545,
"score": 0.6185997128486633,
"start": 542,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "ers\n oldValue = this.getItem(key)\n key = _es... | LocalStorage.coffee | trasherdk/node-localstorage | 389 | path = require('path')
fs = require('fs')
events = require('events')
writeSync = require('write-file-atomic').sync
KEY_FOR_EMPTY_STRING = '---.EMPTY_STRING.---' # Chose something that no one is likely to ever use
_emptyDirectory = (target) ->
_rm(path.join(target, p)) for p in fs.readdirSync(target)
_rm = (target... | 168879 | path = require('path')
fs = require('fs')
events = require('events')
writeSync = require('write-file-atomic').sync
KEY_FOR_EMPTY_STRING = '---.EMPTY_STRING.---' # Chose something that no one is likely to ever use
_emptyDirectory = (target) ->
_rm(path.join(target, p)) for p in fs.readdirSync(target)
_rm = (target... | true | path = require('path')
fs = require('fs')
events = require('events')
writeSync = require('write-file-atomic').sync
KEY_FOR_EMPTY_STRING = '---.EMPTY_STRING.---' # Chose something that no one is likely to ever use
_emptyDirectory = (target) ->
_rm(path.join(target, p)) for p in fs.readdirSync(target)
_rm = (target... |
[
{
"context": "le is part of the Mooch package.\n\nCopyright © 2014 Erin Millard\n\nFor the full copyright and license information, ",
"end": 74,
"score": 0.9997825622558594,
"start": 62,
"tag": "NAME",
"value": "Erin Millard"
}
] | src/Server.coffee | vanwars/twitter-proxy-cors | 19 | ###
This file is part of the Mooch package.
Copyright © 2014 Erin Millard
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
querystring = require 'querystring'
url = require 'url'
util = require 'util'
Logger = require './Logger'
module.expo... | 112003 | ###
This file is part of the Mooch package.
Copyright © 2014 <NAME>
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
querystring = require 'querystring'
url = require 'url'
util = require 'util'
Logger = require './Logger'
module.exports = ... | true | ###
This file is part of the Mooch package.
Copyright © 2014 PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
querystring = require 'querystring'
url = require 'url'
util = require 'util'
Logger = require './Logger'
mod... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\n{Emitter, Disposable, Comp",
"end": 35,
"score": 0.9996753931045532,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/event-registery.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
{Emitter, Disposable, CompositeDisposable} = require 'atom'
matchesSelector = require 'matches-selector'
{calculateSpecificity} = require 'clear-cut'
SequenceCount = 0
SpecificityCache = {}
class EventRegistery
constructor: (@rootElement) ->
@bubbleList... | 177131 | # Copyright (c) 2015 <NAME>. All rights reserved.
{Emitter, Disposable, CompositeDisposable} = require 'atom'
matchesSelector = require 'matches-selector'
{calculateSpecificity} = require 'clear-cut'
SequenceCount = 0
SpecificityCache = {}
class EventRegistery
constructor: (@rootElement) ->
@bubbleListenersByE... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
{Emitter, Disposable, CompositeDisposable} = require 'atom'
matchesSelector = require 'matches-selector'
{calculateSpecificity} = require 'clear-cut'
SequenceCount = 0
SpecificityCache = {}
class EventRegistery
constructor: (@rootElement) ->
@bubb... |
[
{
"context": "ce\n\n\t\t_removeRbAngularMocks: (paths) ->\n\t\t\tkey = 'angular-mocks'\n\t\t\tif paths.absolute.length\n\t\t\t\tindex = null\n\t\t\t",
"end": 4252,
"score": 0.9976983666419983,
"start": 4239,
"tag": "KEY",
"value": "angular-mocks"
}
] | src/helpers/bower.coffee | rapid-build/rapid-build | 5 | # API
# bowerHelper.has.bower appOrRb
# bowerHelper.has.installed.pkg 'angular', appOrRb
# bowerHelper.get.json.from.appOrRb appOrRb
# bowerHelper.get.json.from.pkg 'angular', appOrRb
# bowerHelper.get.pkgs.from.appOrRb appOrRb
# bowerHelper.get.pkgs.to.install appOrRb
# bowerHelper.get.pkgs.to.install appOrRb, true
# ... | 159985 | # API
# bowerHelper.has.bower appOrRb
# bowerHelper.has.installed.pkg 'angular', appOrRb
# bowerHelper.get.json.from.appOrRb appOrRb
# bowerHelper.get.json.from.pkg 'angular', appOrRb
# bowerHelper.get.pkgs.from.appOrRb appOrRb
# bowerHelper.get.pkgs.to.install appOrRb
# bowerHelper.get.pkgs.to.install appOrRb, true
# ... | true | # API
# bowerHelper.has.bower appOrRb
# bowerHelper.has.installed.pkg 'angular', appOrRb
# bowerHelper.get.json.from.appOrRb appOrRb
# bowerHelper.get.json.from.pkg 'angular', appOrRb
# bowerHelper.get.pkgs.from.appOrRb appOrRb
# bowerHelper.get.pkgs.to.install appOrRb
# bowerHelper.get.pkgs.to.install appOrRb, true
# ... |
[
{
"context": "@html)\n $('.artist-name').text().should.equal 'Pablo Picasso'\n\n it 'contains artwork display label', ->\n $",
"end": 803,
"score": 0.9998520612716675,
"start": 790,
"tag": "NAME",
"value": "Pablo Picasso"
}
] | src/mobile/apps/artwork/components/image/test/template.coffee | streamich/force | 1 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... | 18496 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... | true | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... |
[
{
"context": " user: config.get(\"db_username\")\n password: config.get(\"db_password\")\n database: config.get(\"databa",
"end": 1206,
"score": 0.6494559049606323,
"start": 1196,
"tag": "PASSWORD",
"value": "config.get"
},
{
"context": "ig.get(\"db_username\")\n pas... | src/index.coffee | dwetterau/base-node-app | 0 | bodyParser = require 'body-parser'
busboy = require 'connect-busboy'
cookieParser = require 'cookie-parser'
express = require 'express'
favicon = require 'serve-favicon'
flash = require 'express-flash'
logger = require 'morgan'
methodOverride = require 'method-override'
path = require 'path'
validator = require 'expres... | 153970 | bodyParser = require 'body-parser'
busboy = require 'connect-busboy'
cookieParser = require 'cookie-parser'
express = require 'express'
favicon = require 'serve-favicon'
flash = require 'express-flash'
logger = require 'morgan'
methodOverride = require 'method-override'
path = require 'path'
validator = require 'expres... | true | bodyParser = require 'body-parser'
busboy = require 'connect-busboy'
cookieParser = require 'cookie-parser'
express = require 'express'
favicon = require 'serve-favicon'
flash = require 'express-flash'
logger = require 'morgan'
methodOverride = require 'method-override'
path = require 'path'
validator = require 'expres... |
[
{
"context": "=baz&inga=42&quux\nhttp://✪df.ws/123\nhttp://userid:password@example.com:8080\nhttp://userid:password@example.com:8080/\nhtt",
"end": 352,
"score": 0.9573014378547668,
"start": 332,
"tag": "EMAIL",
"value": "password@example.com"
},
{
"context": ":password@example.com:8... | tests/24-url.coffee | jhiver/validate-nosuck | 0 | { check, validate } = require '../lib/index'
_ = require 'lodash'
MATCH = """
http://foo.com/blah_blah
http://foo.com/blah_blah/
http://foo.com/blah_blah_(wikipedia)
http://foo.com/blah_blah_(wikipedia)_(again)
http://www.example.com/wpstyle/?p=364
https://www.example.com/foo/?bar=baz&inga=42&quux
http://✪df.ws/123
ht... | 188926 | { check, validate } = require '../lib/index'
_ = require 'lodash'
MATCH = """
http://foo.com/blah_blah
http://foo.com/blah_blah/
http://foo.com/blah_blah_(wikipedia)
http://foo.com/blah_blah_(wikipedia)_(again)
http://www.example.com/wpstyle/?p=364
https://www.example.com/foo/?bar=baz&inga=42&quux
http://✪df.ws/123
ht... | true | { check, validate } = require '../lib/index'
_ = require 'lodash'
MATCH = """
http://foo.com/blah_blah
http://foo.com/blah_blah/
http://foo.com/blah_blah_(wikipedia)
http://foo.com/blah_blah_(wikipedia)_(again)
http://www.example.com/wpstyle/?p=364
https://www.example.com/foo/?bar=baz&inga=42&quux
http://✪df.ws/123
ht... |
[
{
"context": "geObject[\"Message-ID\"]\n \"Reply-To\": \"feedback@ecohealth.io\"\n )\n else\n Meteor.setTim",
"end": 1647,
"score": 0.9999160170555115,
"start": 1626,
"tag": "EMAIL",
"value": "feedback@ecohealth.io"
}
] | routes/email.coffee | ecohealthalliance/grits-diagnostic-dashboard-release | 0 | Results = @grits.Results
Router.map () ->
@route('submit-by-email', {
path: '/internal/submit-by-email'
where: 'server'
action: () ->
messageObject = JSON.parse(@request.body.email)
from = messageObject["From"].split("<")?[1]?.split(">")?[0]
date = messageObject["Date"]
content =... | 84672 | Results = @grits.Results
Router.map () ->
@route('submit-by-email', {
path: '/internal/submit-by-email'
where: 'server'
action: () ->
messageObject = JSON.parse(@request.body.email)
from = messageObject["From"].split("<")?[1]?.split(">")?[0]
date = messageObject["Date"]
content =... | true | Results = @grits.Results
Router.map () ->
@route('submit-by-email', {
path: '/internal/submit-by-email'
where: 'server'
action: () ->
messageObject = JSON.parse(@request.body.email)
from = messageObject["From"].split("<")?[1]?.split(">")?[0]
date = messageObject["Date"]
content =... |
[
{
"context": "# Author: Josh Bass\n# Description: The React View for the Header bar ",
"end": 19,
"score": 0.999880313873291,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/utilities/DateUtils.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
# Description: The React View for the Header bar at the top of the mast diagnostic display.
exports.getPrettyDate = (date_string) ->
Date date = new Date(date_string)
ret_val = (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear();
| 77304 | # Author: <NAME>
# Description: The React View for the Header bar at the top of the mast diagnostic display.
exports.getPrettyDate = (date_string) ->
Date date = new Date(date_string)
ret_val = (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear();
| true | # Author: PI:NAME:<NAME>END_PI
# Description: The React View for the Header bar at the top of the mast diagnostic display.
exports.getPrettyDate = (date_string) ->
Date date = new Date(date_string)
ret_val = (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear();
|
[
{
"context": "\"Galloping...\"\n super 45\n\nsam = new Snake \"Sammy the python\"\ntom = new Horse \"Tommy the palomino\"\n\nsam.move()",
"end": 839,
"score": 0.9490734338760376,
"start": 823,
"tag": "NAME",
"value": "Sammy the python"
},
{
"context": "m = new Snake \"Sammy th... | 002.basic-syntax/src/010.class.coffee | goosman-lei/coffee-lear | 0 | ###
这里是coffeescript的基础继承实现
extend = function(child, parent) {
// 类静态成员拷贝
for (var key in parent) {
if (hasProp.call(parent, key))
child[key] = parent[key];
}
// 通过ctor中转:
// 得到child的prototype指向父类,
// 但构造函数是子类的,
// 同时给子类增加一个静态成员__super__保存父类原型引用
function ctor() {
... | 128576 | ###
这里是coffeescript的基础继承实现
extend = function(child, parent) {
// 类静态成员拷贝
for (var key in parent) {
if (hasProp.call(parent, key))
child[key] = parent[key];
}
// 通过ctor中转:
// 得到child的prototype指向父类,
// 但构造函数是子类的,
// 同时给子类增加一个静态成员__super__保存父类原型引用
function ctor() {
... | true | ###
这里是coffeescript的基础继承实现
extend = function(child, parent) {
// 类静态成员拷贝
for (var key in parent) {
if (hasProp.call(parent, key))
child[key] = parent[key];
}
// 通过ctor中转:
// 得到child的prototype指向父类,
// 但构造函数是子类的,
// 同时给子类增加一个静态成员__super__保存父类原型引用
function ctor() {
... |
[
{
"context": "d what an axial coordinates system is.\n#\n# @author Cédric ZUGER\n#\n\nclass @Map extends AxialGrid\n\n # Create a map",
"end": 187,
"score": 0.9998408555984497,
"start": 175,
"tag": "NAME",
"value": "Cédric ZUGER"
},
{
"context": "\", \"x = #{event.pageX}, y = #{even... | app/assets/javascripts/local_libs/map.coffee | czuger/coffhex-dev | 1 | # This class represents the current map
#
# Please read http://www.redblobgames.com/grids/hexagons/#coordinates to understand what an axial coordinates system is.
#
# @author Cédric ZUGER
#
class @Map extends AxialGrid
# Create a map
#
# @param hex_ray [Integer] the size of an hexagon. Please read : http://www.... | 224431 | # This class represents the current map
#
# Please read http://www.redblobgames.com/grids/hexagons/#coordinates to understand what an axial coordinates system is.
#
# @author <NAME>
#
class @Map extends AxialGrid
# Create a map
#
# @param hex_ray [Integer] the size of an hexagon. Please read : http://www.redblo... | true | # This class represents the current map
#
# Please read http://www.redblobgames.com/grids/hexagons/#coordinates to understand what an axial coordinates system is.
#
# @author PI:NAME:<NAME>END_PI
#
class @Map extends AxialGrid
# Create a map
#
# @param hex_ray [Integer] the size of an hexagon. Please read : htt... |
[
{
"context": " }\n }, {\n \"name\" : \"Year\",\n \"context\" : \"Patient\",\n ",
"end": 1570,
"score": 0.992732584476471,
"start": 1566,
"tag": "NAME",
"value": "Year"
},
{
"context": " }\n }, {\n \"nam... | Src/coffeescript/cql-execution/test/elm/datetime/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateTime
library TestSnippet version '1'
using QUICK
context Patient
define Year: DateTime(2012)
define Month... | 27034 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateTime
library TestSnippet version '1'
using QUICK
context Patient
define Year: DateTime(2012)
define Month... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateTime
library TestSnippet version '1'
using QUICK
context Patient
define Year: DateTime(2012)
define Month... |
[
{
"context": "orie\n Benjamin Blundell - ben@section9.co.uk\n ",
"end": 453,
"score": 0.9998823404312134,
"start": 436,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " ... | src/main/misc/equatorie-src/src/equatorie.coffee | UoMLibrary/cudl-viewer | 1 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | 166625 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | true | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998908638954163,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/index.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require './routes'
... | 61950 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require './routes'
# use bodyParser fo... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require './... |
[
{
"context": "# Tâmia © 2013 Artem Sapegin http://sapegin.me\n# Basic form controls\n\n'use str",
"end": 28,
"score": 0.9999018907546997,
"start": 15,
"tag": "NAME",
"value": "Artem Sapegin"
}
] | gh-pages/tamia/modules/form/script.coffee | b0n3v/XRB-facebook | 0 | # Tâmia © 2013 Artem Sapegin http://sapegin.me
# Basic form controls
'use strict'
$ = jQuery
_formElementsSelector = '.field,.button,.disablable'
_disabledClass = 'is-disabled'
_enableDisable = (elem, enable) ->
formElements = ($ elem).find(_formElementsSelector).addBack(_formElementsSelector)
formElements[if en... | 170460 | # Tâmia © 2013 <NAME> http://sapegin.me
# Basic form controls
'use strict'
$ = jQuery
_formElementsSelector = '.field,.button,.disablable'
_disabledClass = 'is-disabled'
_enableDisable = (elem, enable) ->
formElements = ($ elem).find(_formElementsSelector).addBack(_formElementsSelector)
formElements[if enable th... | true | # Tâmia © 2013 PI:NAME:<NAME>END_PI http://sapegin.me
# Basic form controls
'use strict'
$ = jQuery
_formElementsSelector = '.field,.button,.disablable'
_disabledClass = 'is-disabled'
_enableDisable = (elem, enable) ->
formElements = ($ elem).find(_formElementsSelector).addBack(_formElementsSelector)
formElement... |
[
{
"context": "Get in touch with us</h3>\n <a href=\"mailto:business@#{mailDomain}\" class='contact-item sales'>business@#{mailDomai",
"end": 2067,
"score": 0.7985642552375793,
"start": 2046,
"tag": "EMAIL",
"value": "business@#{mailDomain"
},
{
"context": "rt@#{mailDomain}</a>... | client/about/lib/aboutappview.coffee | ezgikaysi/koding | 1 | globals = require 'globals'
JView = require 'app/jview'
FooterView = require 'app/commonviews/footerview'
module.exports = class AboutAppView extends JView
constructor: ->
super
@once 'viewAppended', -> global.scrollTo 0, 0
@footer = new FooterView
pistachio : ->
mailDomain = globals.config.... | 127860 | globals = require 'globals'
JView = require 'app/jview'
FooterView = require 'app/commonviews/footerview'
module.exports = class AboutAppView extends JView
constructor: ->
super
@once 'viewAppended', -> global.scrollTo 0, 0
@footer = new FooterView
pistachio : ->
mailDomain = globals.config.... | true | globals = require 'globals'
JView = require 'app/jview'
FooterView = require 'app/commonviews/footerview'
module.exports = class AboutAppView extends JView
constructor: ->
super
@once 'viewAppended', -> global.scrollTo 0, 0
@footer = new FooterView
pistachio : ->
mailDomain = globals.config.... |
[
{
"context": "#Language: French\r\n#Translators: djhi\r\n\r\nfr =\r\n\r\n t9Name: 'Français'\r\n\r\n add: \"Ajoute",
"end": 37,
"score": 0.9911726713180542,
"start": 33,
"tag": "USERNAME",
"value": "djhi"
},
{
"context": "\"Modifier le mot de passe\"\r\n choosePassword: \"Choisir ... | t9n/fr.coffee | softwarerero/meteor-accounts-t9n | 80 | #Language: French
#Translators: djhi
fr =
t9Name: 'Français'
add: "Ajouter"
and: "et"
back: "retour"
cancel: "Annuler"
changePassword: "Modifier le mot de passe"
choosePassword: "Choisir le mot de passe"
clickAgree: "En cliquant sur « S'enregistrer », vous acceptez nos"
configure: "Co... | 84827 | #Language: French
#Translators: djhi
fr =
t9Name: 'Français'
add: "Ajouter"
and: "et"
back: "retour"
cancel: "Annuler"
changePassword: "Modifier le mot de passe"
choosePassword: "Cho<PASSWORD> de passe"
clickAgree: "En cliquant sur « S'enregistrer », vous acceptez nos"
configure: "Con... | true | #Language: French
#Translators: djhi
fr =
t9Name: 'Français'
add: "Ajouter"
and: "et"
back: "retour"
cancel: "Annuler"
changePassword: "Modifier le mot de passe"
choosePassword: "ChoPI:PASSWORD:<PASSWORD>END_PI de passe"
clickAgree: "En cliquant sur « S'enregistrer », vous acceptez nos"
... |
[
{
"context": "ns:\n directory: \".\"\n hostname: \"0.0.0.0\"\n\n # release\n tagrelease:\n file: 'pack",
"end": 1877,
"score": 0.9993298649787903,
"start": 1870,
"tag": "IP_ADDRESS",
"value": "0.0.0.0"
},
{
"context": "\n all:\n options:\n ... | Gruntfile.coffee | storagebot/hammer.js | 0 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# meta options
meta:
banner: '
/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n
* <%= pkg.homepage %>\n
*\n
* Copyright (c) <%= grunt.template.today("yyyy") %>... | 158263 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# meta options
meta:
banner: '
/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n
* <%= pkg.homepage %>\n
*\n
* Copyright (c) <%= grunt.template.today("yyyy") %>... | true | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# meta options
meta:
banner: '
/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n
* <%= pkg.homepage %>\n
*\n
* Copyright (c) <%= grunt.template.today("yyyy") %>... |
[
{
"context": "> coffee foo.coffee\nThe three dogs are names Benjamin, Samba, and Bernie.\n",
"end": 53,
"score": 0.9998122453689575,
"start": 45,
"tag": "NAME",
"value": "Benjamin"
},
{
"context": "ffee foo.coffee\nThe three dogs are names Benjamin, Samba, and Bernie.\n",
"end": ... | Task/Case-sensitivity-of-identifiers/CoffeeScript/case-sensitivity-of-identifiers-2.coffee | LaudateCorpus1/RosettaCodeData | 1 | > coffee foo.coffee
The three dogs are names Benjamin, Samba, and Bernie.
| 3273 | > coffee foo.coffee
The three dogs are names <NAME>, <NAME>, and <NAME>.
| true | > coffee foo.coffee
The three dogs are names PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, and PI:NAME:<NAME>END_PI.
|
[
{
"context": "ire '../index'\n\ntwitterKeys = {\n consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXX'\n consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"end": 126,
"score": 0.9946525692939758,
"start": 101,
"tag": "KEY",
"value": "XXXXXXXXXXXXXXXXXXXXXXXXX"
},
{
"context": " 'XXXXXXXXXXXXX... | test/general.test.coffee | Lissy93/fetch-tweets | 1 | expect = require('chai').expect
fetchTweets = require '../index'
twitterKeys = {
consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXX'
consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
}
describe 'Check the modules basic functionality', ()->
it 'Should create a new instance of fetch-tweets with twit... | 63527 | expect = require('chai').expect
fetchTweets = require '../index'
twitterKeys = {
consumer_key : '<KEY>'
consumer_secret : '<KEY>'
}
describe 'Check the modules basic functionality', ()->
it 'Should create a new instance of fetch-tweets with twitter keys and default second param', ()->
newInstance = new fe... | true | expect = require('chai').expect
fetchTweets = require '../index'
twitterKeys = {
consumer_key : 'PI:KEY:<KEY>END_PI'
consumer_secret : 'PI:KEY:<KEY>END_PI'
}
describe 'Check the modules basic functionality', ()->
it 'Should create a new instance of fetch-tweets with twitter keys and default second param', ()-... |
[
{
"context": "ittle Mocha Reference ========\nhttps://github.com/visionmedia/should.js\nhttps://github.com/visionmedia/mocha\n##",
"end": 256,
"score": 0.9993570446968079,
"start": 245,
"tag": "USERNAME",
"value": "visionmedia"
},
{
"context": "thub.com/visionmedia/should.js\nhttps:/... | nodejs/flarebyte.net/0.8/node/magma/node_modules/magma-rendering/test/magma-rendering_test.coffee | flarebyte/wonderful-bazar | 0 | 'use strict'
init = require("fb-custom-init")
magma_rendering = require('magma-rendering')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
###
describe '... | 118467 | 'use strict'
init = require("fb-custom-init")
magma_rendering = require('magma-rendering')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
###
describe '... | true | 'use strict'
init = require("fb-custom-init")
magma_rendering = require('magma-rendering')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
###
describe '... |
[
{
"context": " $('form')\n button = $('button')\n new_password = $('#new_password')\n form.submit (e) ->\n disable button\n val",
"end": 2203,
"score": 0.990861177444458,
"start": 2187,
"tag": "PASSWORD",
"value": "$('#new_password"
}
] | views/app.coffee | e0da/account_manager | 0 | form = null
new_password = null
validation = false
flash = null
enable = (el) ->
el.removeClass('disabled').attr('disabled', null)
disable = (el) ->
el.addClass('disabled').attr('disabled', 'disabled')
error = (msg) ->
flash = $('#help .flash.error')
if flash.length == 0
flash = $('<div id=js_flash><ul c... | 169431 | form = null
new_password = null
validation = false
flash = null
enable = (el) ->
el.removeClass('disabled').attr('disabled', null)
disable = (el) ->
el.addClass('disabled').attr('disabled', 'disabled')
error = (msg) ->
flash = $('#help .flash.error')
if flash.length == 0
flash = $('<div id=js_flash><ul c... | true | form = null
new_password = null
validation = false
flash = null
enable = (el) ->
el.removeClass('disabled').attr('disabled', null)
disable = (el) ->
el.addClass('disabled').attr('disabled', 'disabled')
error = (msg) ->
flash = $('#help .flash.error')
if flash.length == 0
flash = $('<div id=js_flash><ul c... |
[
{
"context": "[\n {\n uuid: 'hello'\n token: 'this-should-exist'\n meshblu:\n createdAt: 'Tue Jul 05 2001 2",
"end": 53,
"score": 0.9991875886917114,
"start": 36,
"tag": "PASSWORD",
"value": "this-should-exist"
},
{
"context": "700 (MST)'\n }\n {\n uuid: 'oh-boy'\... | test/migrations/remove-device-tokens/assets/new-devices.cson | octoblu/meshblu-core-migrations | 0 | [
{
uuid: 'hello'
token: 'this-should-exist'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
{
uuid: 'oh-boy'
token: 'this-should-exist'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
]
| 50191 | [
{
uuid: 'hello'
token: '<PASSWORD>'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
{
uuid: 'oh-boy'
token: '<PASSWORD>'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
]
| true | [
{
uuid: 'hello'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
{
uuid: 'oh-boy'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
meshblu:
createdAt: 'Tue Jul 05 2001 23:13:19 GMT-0700 (MST)'
}
]
|
[
{
"context": "\n # admin:\n # path: '/admin'\n # username: 'test'\n # password: 'test'\n\n api:\n '/':\n ty",
"end": 130,
"score": 0.9994426369667053,
"start": 126,
"tag": "USERNAME",
"value": "test"
},
{
"context": " '/admin'\n # username: 'test'\n # passwor... | test/index.coffee | devjam/micra | 0 | 'use strict'
micra = require '../'
micra
basedir: __dirname
src: '/api'
# admin:
# path: '/admin'
# username: 'test'
# password: 'test'
api:
'/':
type: 'config object'
path: '/'
'/function/:a?/:b?': (req)->
type: 'config function has params'
path: req.path
pa... | 61051 | 'use strict'
micra = require '../'
micra
basedir: __dirname
src: '/api'
# admin:
# path: '/admin'
# username: 'test'
# password: '<PASSWORD>'
api:
'/':
type: 'config object'
path: '/'
'/function/:a?/:b?': (req)->
type: 'config function has params'
path: req.path
... | true | 'use strict'
micra = require '../'
micra
basedir: __dirname
src: '/api'
# admin:
# path: '/admin'
# username: 'test'
# password: 'PI:PASSWORD:<PASSWORD>END_PI'
api:
'/':
type: 'config object'
path: '/'
'/function/:a?/:b?': (req)->
type: 'config function has params'
... |
[
{
"context": " by RollingRateLimiter (namespace+k)\n\t\tkeyName = \"RateLimit:#{endpointName}:{#{subject}}\"\n\t\trclient.del keyName,",
"end": 792,
"score": 0.7632827758789062,
"start": 780,
"tag": "KEY",
"value": "RateLimit:#{"
},
{
"context": "namespace+k)\n\t\tkeyName = \"RateLim... | app/coffee/infrastructure/RateLimiter.coffee | davidmehren/web-sharelatex | 0 | settings = require("settings-sharelatex")
RedisWrapper = require('./RedisWrapper')
rclient = RedisWrapper.client('ratelimiter')
RollingRateLimiter = require('rolling-rate-limiter')
module.exports = RateLimiter =
addCount: (opts, callback = (err, shouldProcess)->)->
namespace = "RateLimit:#{opts.endpointName}:"
... | 136077 | settings = require("settings-sharelatex")
RedisWrapper = require('./RedisWrapper')
rclient = RedisWrapper.client('ratelimiter')
RollingRateLimiter = require('rolling-rate-limiter')
module.exports = RateLimiter =
addCount: (opts, callback = (err, shouldProcess)->)->
namespace = "RateLimit:#{opts.endpointName}:"
... | true | settings = require("settings-sharelatex")
RedisWrapper = require('./RedisWrapper')
rclient = RedisWrapper.client('ratelimiter')
RollingRateLimiter = require('rolling-rate-limiter')
module.exports = RateLimiter =
addCount: (opts, callback = (err, shouldProcess)->)->
namespace = "RateLimit:#{opts.endpointName}:"
... |
[
{
"context": "'\n dfd = null\n\n user =\n uid: \"support@ewide.biz\"\n\n response = {\n \"access_token\": \"R6c",
"end": 181,
"score": 0.9999237656593323,
"start": 164,
"tag": "EMAIL",
"value": "support@ewide.biz"
},
{
"context": "biz\"\n\n respon... | test/test/unit/ng-token-auth/custom-response-interceptors.coffee | Neil-Ni/ng-token-auth | 1,216 | suite 'custom response interceptors', ->
suite 'login', ->
suite 'single config', ->
apiUrl = '/stevia'
dfd = null
user =
uid: "support@ewide.biz"
response = {
"access_token": "R6cwCGmt7GDOwgt91DlYDcaic5-bFrS8bBJG-QdtM3VFiPA",
"token_type": "bearer",
... | 25851 | suite 'custom response interceptors', ->
suite 'login', ->
suite 'single config', ->
apiUrl = '/stevia'
dfd = null
user =
uid: "<EMAIL>"
response = {
"access_token": "<KEY>",
"token_type": "bearer",
"expires_in": 86399,
"userName": "<EMA... | true | suite 'custom response interceptors', ->
suite 'login', ->
suite 'single config', ->
apiUrl = '/stevia'
dfd = null
user =
uid: "PI:EMAIL:<EMAIL>END_PI"
response = {
"access_token": "PI:KEY:<KEY>END_PI",
"token_type": "bearer",
"expires_in": 86399,
... |
[
{
"context": "@Wolf = @Wolf ? {}\n@Wolf.Trans = @Wolf.Trans ? {}\n\n@Wol",
"end": 5,
"score": 0.9977546334266663,
"start": 0,
"tag": "USERNAME",
"value": "@Wolf"
},
{
"context": "oles ? {\n half: \"混血儿\",\n seer: \"预言家\",\n witch: \"女巫\",\n hunter: \"猎人\",\n savior: \"守卫\",\n i... | lib/assets/javascripts/trans.js.coffee | goshan/werewolf | 8 | @Wolf = @Wolf ? {}
@Wolf.Trans = @Wolf.Trans ? {}
@Wolf.Trans.Roles = @Wolf.Trans.Roles ? {
half: "混血儿",
seer: "预言家",
witch: "女巫",
hunter: "猎人",
savior: "守卫",
idiot: "白痴",
magician: "魔术师",
augur: "占卜师",
knight: "骑士",
chief_wolf: "白狼王",
lord_wolf: "狼王",
long_wolf: "大灰狼",
ghost_rider: "恶灵骑士",
... | 225383 | @Wolf = @Wolf ? {}
@Wolf.Trans = @Wolf.Trans ? {}
@Wolf.Trans.Roles = @Wolf.Trans.Roles ? {
half: "混血儿",
seer: "预言家",
witch: "女<NAME>",
hunter: "<NAME>",
savior: "守卫",
idiot: "白痴",
magician: "魔术师",
augur: "占卜师",
knight: "骑士",
chief_wolf: "白狼王",
lord_wolf: "狼王",
long_wolf: "大灰狼",
ghost_rider: ... | true | @Wolf = @Wolf ? {}
@Wolf.Trans = @Wolf.Trans ? {}
@Wolf.Trans.Roles = @Wolf.Trans.Roles ? {
half: "混血儿",
seer: "预言家",
witch: "女PI:NAME:<NAME>END_PI",
hunter: "PI:NAME:<NAME>END_PI",
savior: "守卫",
idiot: "白痴",
magician: "魔术师",
augur: "占卜师",
knight: "骑士",
chief_wolf: "白狼王",
lord_wolf: "狼王",
long_... |
[
{
"context": "##*\n * @fileOverview 将AMD匿名模块转化为具名模块的类库\n * @author pangjg\n * @date 2015年11月26日22:13:31\n * @version $id$\n###",
"end": 58,
"score": 0.9996941089630127,
"start": 52,
"tag": "USERNAME",
"value": "pangjg"
},
{
"context": "md5(_content) #压缩前的md5戳\n _curKey = _... | node_modules/vbuilder/lib/jsCtl/index.coffee | duolaimi/v.builder.site | 0 | ###*
* @fileOverview 将AMD匿名模块转化为具名模块的类库
* @author pangjg
* @date 2015年11月26日22:13:31
* @version $id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
vfs = require 'vinyl-fs'
plumber = require 'gulp-plumber'
gutil = require 'gulp-util'
# rjs = require 'gulp-requirejs'
color ... | 9204 | ###*
* @fileOverview 将AMD匿名模块转化为具名模块的类库
* @author pangjg
* @date 2015年11月26日22:13:31
* @version $id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
vfs = require 'vinyl-fs'
plumber = require 'gulp-plumber'
gutil = require 'gulp-util'
# rjs = require 'gulp-requirejs'
color ... | true | ###*
* @fileOverview 将AMD匿名模块转化为具名模块的类库
* @author pangjg
* @date 2015年11月26日22:13:31
* @version $id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
vfs = require 'vinyl-fs'
plumber = require 'gulp-plumber'
gutil = require 'gulp-util'
# rjs = require 'gulp-requirejs'
color ... |
[
{
"context": ".Definition 'user', {}, (f) ->\n f.name = 'Peter'\n f.email = 'peter@parker.com'\n\n Rogu",
"end": 259,
"score": 0.9995334148406982,
"start": 254,
"tag": "NAME",
"value": "Peter"
},
{
"context": ") ->\n f.name = 'Peter'\n f.email = 'pe... | spec/rogue_girl/builder_spec.coffee | smolnar/rogue-girl | 0 | #= require spec_helper
describe 'RogueGirl.Builder', ->
describe '#populate', ->
afterEach ->
RogueGirl.Definitions.clear()
it 'populates definition', ->
definition = new RogueGirl.Definition 'user', {}, (f) ->
f.name = 'Peter'
f.email = 'peter@parker.com'
RogueGirl.Defin... | 195717 | #= require spec_helper
describe 'RogueGirl.Builder', ->
describe '#populate', ->
afterEach ->
RogueGirl.Definitions.clear()
it 'populates definition', ->
definition = new RogueGirl.Definition 'user', {}, (f) ->
f.name = '<NAME>'
f.email = '<EMAIL>'
RogueGirl.Definitions.a... | true | #= require spec_helper
describe 'RogueGirl.Builder', ->
describe '#populate', ->
afterEach ->
RogueGirl.Definitions.clear()
it 'populates definition', ->
definition = new RogueGirl.Definition 'user', {}, (f) ->
f.name = 'PI:NAME:<NAME>END_PI'
f.email = 'PI:EMAIL:<EMAIL>END_PI'
... |
[
{
"context": "e event \n# triggers and/or workflows. \n# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]\n# =============",
"end": 264,
"score": 0.9999016523361206,
"start": 249,
"tag": "NAME",
"value": "Robbie Saunders"
},
{
"context": "lues change.\nexports.REAVER_DEFAU... | src/config.coffee | eibbors/reavetard | 1 | # Reavetard - Reaver WPS (+Wash) extension scripts
# config.coffee :: This module contains user-defined constants, default values
# for some variables/arguments, and functions that control runtime event
# triggers and/or workflows.
# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]
# ===================... | 158252 | # Reavetard - Reaver WPS (+Wash) extension scripts
# config.coffee :: This module contains user-defined constants, default values
# for some variables/arguments, and functions that control runtime event
# triggers and/or workflows.
# Author: <NAME> http://eibbors.com/[/p/reavetard]
# ============================... | true | # Reavetard - Reaver WPS (+Wash) extension scripts
# config.coffee :: This module contains user-defined constants, default values
# for some variables/arguments, and functions that control runtime event
# triggers and/or workflows.
# Author: PI:NAME:<NAME>END_PI http://eibbors.com/[/p/reavetard]
# ==============... |
[
{
"context": "= mailer.createTransport(\"smtps://#{hubotEmail}:#{hubotPass}@smtp.gmail.com\")\n\t\tmailData =\n\t\t\tfrom: '\"Hubot\" <hubot@resin.io>",
"end": 425,
"score": 0.9327036738395691,
"start": 400,
"tag": "EMAIL",
"value": "hubotPass}@smtp.gmail.com"
},
{
"context": "@smtp.... | index.coffee | resin-io-modules/hubot-utility | 0 | module.exports =
createSender: (context) ->
context.send.bind(context)
createReplier: (context) ->
context.reply.bind(context)
notify: (subject, info, respond) ->
mailer = require 'nodemailer'
hubotEmail = encodeURIComponent(process.env.HUBOT_GMAIL_EMAIL)
hubotPass = encodeURIComponent(process.env.HUBOT_... | 27028 | module.exports =
createSender: (context) ->
context.send.bind(context)
createReplier: (context) ->
context.reply.bind(context)
notify: (subject, info, respond) ->
mailer = require 'nodemailer'
hubotEmail = encodeURIComponent(process.env.HUBOT_GMAIL_EMAIL)
hubotPass = encodeURIComponent(process.env.HUBOT_... | true | module.exports =
createSender: (context) ->
context.send.bind(context)
createReplier: (context) ->
context.reply.bind(context)
notify: (subject, info, respond) ->
mailer = require 'nodemailer'
hubotEmail = encodeURIComponent(process.env.HUBOT_GMAIL_EMAIL)
hubotPass = encodeURIComponent(process.env.HUBOT_... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n This example replaces all ",
"end": 61,
"score": 0.9998787641525269,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.replacePokeStops.coffee | BuloZB/pokemon-go-mitm-node | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
This example replaces all PokeStops with beautiful kitten images :)
Be aware: this is just visible to you and won't gain you any special powers
but makes the the gaming experience a lot more fun :-)
###
PokemonGoMITM = ... | 51693 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
This example replaces all PokeStops with beautiful kitten images :)
Be aware: this is just visible to you and won't gain you any special powers
but makes the the gaming experience a lot more fun :-)
###
PokemonGoMITM = require './lib/pokemon-g... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This example replaces all PokeStops with beautiful kitten images :)
Be aware: this is just visible to you and won't gain you any special powers
but makes the the gaming experience a lot more fun :-)
###
PokemonGoMI... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick: https://github.com/zot/Leisure\n\n(licensed with Z",
"end": 36,
"score": 0.9998208284378052,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": "yright (C) 2013, Bill Burdick: https://github.com/zot/Leisure\n\n(lic... | src/base.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | 3390 | ###
Copyright (C) 2013, <NAME>: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this softwa... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to u... |
[
{
"context": "---------------------------------------\n# Authors: Maksym Melnyk <maxim@slatestudio.com>,\n# Alexander Kra",
"end": 104,
"score": 0.9998672604560852,
"start": 91,
"tag": "NAME",
"value": "Maksym Melnyk"
},
{
"context": "-----------------------\n# Authors: Maks... | app/assets/javascripts/inputs/chart_table.coffee | slate-studio/insights | 0 | # -----------------------------------------------------------------------------
# Authors: Maksym Melnyk <maxim@slatestudio.com>,
# Alexander Kravets <alex@slatestudio.com>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# IN... | 106022 | # -----------------------------------------------------------------------------
# Authors: <NAME> <<EMAIL>>,
# <NAME> <<EMAIL>>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INPUT CHART
# ---------------------------------... | true | # -----------------------------------------------------------------------------
# Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# Slate Studio (http://www.slatestudio.com)
# ---------------------------------------------------------------------... |
[
{
"context": "should be encoded\", ->\n p = new @Product {name: \"Cool Snowboard\", cost: 12.99}\n deepEqual p.toJSON(), {name: \"Co",
"end": 311,
"score": 0.8065311908721924,
"start": 297,
"tag": "NAME",
"value": "Cool Snowboard"
},
{
"context": "rd\", cost: 12.99}\n deepEqual p.... | tests/batman/model/encoders_test.coffee | nickjs/batman | 1 | QUnit.module "Batman.Model: encoding/decoding to/from JSON"
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@accessor 'excitingName'
get: -> @get('name').toUpperCase()
test "keys marked for encoding should be encoded", ->
p = new @Product {name: "Cool Snowboard", cost: ... | 158660 | QUnit.module "Batman.Model: encoding/decoding to/from JSON"
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@accessor 'excitingName'
get: -> @get('name').toUpperCase()
test "keys marked for encoding should be encoded", ->
p = new @Product {name: "<NAME>", cost: 12.99}
... | true | QUnit.module "Batman.Model: encoding/decoding to/from JSON"
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@accessor 'excitingName'
get: -> @get('name').toUpperCase()
test "keys marked for encoding should be encoded", ->
p = new @Product {name: "PI:NAME:<NAME>END_PI", ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9971287250518799,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "et.end \"echo\"\n return\n ).listen common.PORT, \"127.0.0.1\"\n net.createServer((socket... | test/simple/test-cluster-disconnect.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... | 161113 | # 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": "\t\t\tlayerA = new Layer frame: Screen.frame, name: \"Koen\", image: \"../static/test.png\"\n\t\t\tlayerB = new Lay",
"end": 5671,
"score": 0.9994696378707886,
"start": 5667,
"tag": "NAME",
"value": "Koen"
},
{
"context": "ponent.wrap(layerA)\n\n\t\t\tscroll.name.should... | test/tests/ScrollComponentTest.coffee | antoniotrento/Framer | 0 | assert = require "assert"
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
scroll.content.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
it "should have the right content frame ... | 220785 | assert = require "assert"
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
scroll.content.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
it "should have the right content frame ... | true | assert = require "assert"
describe "ScrollComponent", ->
it "should have the right size", ->
scroll = new ScrollComponent
size: 300
scroll.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
scroll.content.frame.should.eql {x: 0, y: 0, width: 300, height: 300}
it "should have the right content frame ... |
[
{
"context": "ll Frontal JavaScript Conference Twitter Wall by\n# Remy Sharp (http://2009.full-frontal.org/screen/).\n#\n#######",
"end": 206,
"score": 0.9998347163200378,
"start": 196,
"tag": "NAME",
"value": "Remy Sharp"
}
] | src/delayedqueue.coffee | devanandb/twitter-wall | 1 | ################################################################################
#
# Queue that consumes itself.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# Remy Sharp (http://2009.full-frontal.org/screen/).
#
#######################################################################... | 38670 | ################################################################################
#
# Queue that consumes itself.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# <NAME> (http://2009.full-frontal.org/screen/).
#
###########################################################################... | true | ################################################################################
#
# Queue that consumes itself.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# PI:NAME:<NAME>END_PI (http://2009.full-frontal.org/screen/).
#
#############################################################... |
[
{
"context": "\").init\nnbContacts = 0\ncontacts = [\n {name: \"Dr Claude Lambda\" , address: \"claude.lambda@cozytest.cc\"},\n {",
"end": 263,
"score": 0.9997896552085876,
"start": 250,
"tag": "NAME",
"value": "Claude Lambda"
},
{
"context": "s = [\n {name: \"Dr Claude La... | client/tests/casper/unit/activity.coffee | gelnior/cozy-emails | 58 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
nbContacts = 0
contacts = [
{name: "Dr Claude Lambda" , address: "claude.lambda@cozytest.cc"},
{name: "... | 97622 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
nbContacts = 0
contacts = [
{name: "Dr <NAME>" , address: "<EMAIL>"},
{name: "Dr <NAME>" , address:... | true | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
nbContacts = 0
contacts = [
{name: "Dr PI:NAME:<NAME>END_PI" , address: "PI:EMAIL:<EMAIL>END_PI"},
{nam... |
[
{
"context": "ate]\n type: @type?.title() || '?'\n name: @name\n arguments: @arguments.map((x) -> x.titl",
"end": 811,
"score": 0.9554638862609863,
"start": 811,
"tag": "NAME",
"value": ""
},
{
"context": "e]\n type: @type?.title() || '?'\n name: @name\n ... | lib/furnace-xray/app/assets/javascripts/lib/nodes/function.js.coffee | evilmartians/furnace-xray | 4 | class @FunctionNode extends Node
update: (data, map) ->
@name = data['name']
@type = @locate(data['return_type'], map)
@present = false
@arguments = data['argument_ids'].map (id) => @locate(id, map)
@reassign @blockIds, data['basic_block_ids'], (removed, added) =>
removed.each (id) =... | 84312 | class @FunctionNode extends Node
update: (data, map) ->
@name = data['name']
@type = @locate(data['return_type'], map)
@present = false
@arguments = data['argument_ids'].map (id) => @locate(id, map)
@reassign @blockIds, data['basic_block_ids'], (removed, added) =>
removed.each (id) =... | true | class @FunctionNode extends Node
update: (data, map) ->
@name = data['name']
@type = @locate(data['return_type'], map)
@present = false
@arguments = data['argument_ids'].map (id) => @locate(id, map)
@reassign @blockIds, data['basic_block_ids'], (removed, added) =>
removed.each (id) =... |
[
{
"context": "Name = newName\n topic.mocks.newName = \"Ginger\"\n topic.mocks.plantWidget.observatory.",
"end": 3104,
"score": 0.9983022212982178,
"start": 3098,
"tag": "NAME",
"value": "Ginger"
}
] | test/unit/uiLayer-test.coffee | TheSoftwareGreenhouse/ourSquareFeet | 1 | vows = require 'vows'
assert = require 'assert'
ObservatoryModule = require '../../server/public/javascript/observatory.coffee'
UiLayerModule = require '../../server/public/javascript/uiLayer.coffee'
vows.describe('UiLayer').addBatch({
'when a new UiLayer is created': {
topic: () ->
mocks = {}
mocks.... | 225973 | vows = require 'vows'
assert = require 'assert'
ObservatoryModule = require '../../server/public/javascript/observatory.coffee'
UiLayerModule = require '../../server/public/javascript/uiLayer.coffee'
vows.describe('UiLayer').addBatch({
'when a new UiLayer is created': {
topic: () ->
mocks = {}
mocks.... | true | vows = require 'vows'
assert = require 'assert'
ObservatoryModule = require '../../server/public/javascript/observatory.coffee'
UiLayerModule = require '../../server/public/javascript/uiLayer.coffee'
vows.describe('UiLayer').addBatch({
'when a new UiLayer is created': {
topic: () ->
mocks = {}
mocks.... |
[
{
"context": "class @spideyGeom\n\n\tledInterval: 6.9\n\tsteps: 0\n\tledUISize: 3\n\n\tpadI",
"end": 17,
"score": 0.7771545052528381,
"start": 7,
"tag": "USERNAME",
"value": "spideyGeom"
},
{
"context": "\t\t// Header file generated by SpideySim HTML\n\t\t\t// Rob Dobson, 2015\n\n\n\... | spideyGeom.coffee | robdobsn/SpideySim | 0 | class @spideyGeom
ledInterval: 6.9
steps: 0
ledUISize: 3
padInfo: [
{ chainIdx: 780, startPos: 0, endPos: -1, hiddenLeds: 47, anticlockwise: true }, #0
{ chainIdx: 540, startPos: 0.35, endPos: 0.99, hiddenLeds: 0, anticlockwise: true }, #1
{ chainIdx: 878, startPos: 0, endPos: -1, hiddenLeds: 17, anticlockw... | 13173 | class @spideyGeom
ledInterval: 6.9
steps: 0
ledUISize: 3
padInfo: [
{ chainIdx: 780, startPos: 0, endPos: -1, hiddenLeds: 47, anticlockwise: true }, #0
{ chainIdx: 540, startPos: 0.35, endPos: 0.99, hiddenLeds: 0, anticlockwise: true }, #1
{ chainIdx: 878, startPos: 0, endPos: -1, hiddenLeds: 17, anticlockw... | true | class @spideyGeom
ledInterval: 6.9
steps: 0
ledUISize: 3
padInfo: [
{ chainIdx: 780, startPos: 0, endPos: -1, hiddenLeds: 47, anticlockwise: true }, #0
{ chainIdx: 540, startPos: 0.35, endPos: 0.99, hiddenLeds: 0, anticlockwise: true }, #1
{ chainIdx: 878, startPos: 0, endPos: -1, hiddenLeds: 17, anticlockw... |
[
{
"context": " 'Lighter Blog'\n\t\tusername\t:\tprocess.env.USER || 'admin'\n\t\tpassword\t:\tprocess.env.PASSWORD || 'admin' \n\t\t",
"end": 794,
"score": 0.997702956199646,
"start": 789,
"tag": "USERNAME",
"value": "admin"
},
{
"context": ":\tprocess.env.USER || 'admin'\n\t\tpasswo... | applications/lighter/settings.coffee | nodebenchmark/benchmarks | 13 | module.exports = ()->
class Settings
constructor:(app) ->
@mongoose = require('mongoose')
@Promise = require('node-promise').Promise
@GridStore = require('mongodb').GridStore
# init mongo
url = process.env.MONGODB_URI || process.env.MONGOLAB_URI || 'mongodb://localhost/lighter'
@mongoose.... | 63667 | module.exports = ()->
class Settings
constructor:(app) ->
@mongoose = require('mongoose')
@Promise = require('node-promise').Promise
@GridStore = require('mongodb').GridStore
# init mongo
url = process.env.MONGODB_URI || process.env.MONGOLAB_URI || 'mongodb://localhost/lighter'
@mongoose.... | true | module.exports = ()->
class Settings
constructor:(app) ->
@mongoose = require('mongoose')
@Promise = require('node-promise').Promise
@GridStore = require('mongodb').GridStore
# init mongo
url = process.env.MONGODB_URI || process.env.MONGOLAB_URI || 'mongodb://localhost/lighter'
@mongoose.... |
[
{
"context": "ml.should.containEql '<div class=\"article-author\">Elena Soboleva</div>'\n\n it 'renders sections', ->\n html = re",
"end": 2709,
"score": 0.999886155128479,
"start": 2695,
"tag": "NAME",
"value": "Elena Soboleva"
}
] | desktop/apps/article/test/templates.coffee | dblock/force | 0 | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Channel = require '../../../models/channel'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures'
render = (templ... | 212786 | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Channel = require '../../../models/channel'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures'
render = (templ... | true | _ = require 'underscore'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Channel = require '../../../models/channel'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures'
render = (templ... |
[
{
"context": "rs', () ->\n\n playersData =\n first:\n id: 'first'\n name: 'First'\n second:\n id: 'secon",
"end": 139,
"score": 0.8252034187316895,
"start": 134,
"tag": "NAME",
"value": "first"
},
{
"context": "sData =\n first:\n id: 'first'\n name:... | test/dummy/spec/javascripts/Players_spec.js.coffee | railsc0d0r/global8ball_game | 0 | #= require game/Players
createPlayers = global8ball.Players.create
describe 'Players', () ->
playersData =
first:
id: 'first'
name: 'First'
second:
id: 'second'
name: 'Second'
thirdAccount =
id: 'third'
name: 'Third'
it 'exposes the viewer', () ->
players = createPl... | 16488 | #= require game/Players
createPlayers = global8ball.Players.create
describe 'Players', () ->
playersData =
first:
id: '<NAME>'
name: '<NAME>'
second:
id: 'second'
name: '<NAME>'
thirdAccount =
id: 'third'
name: '<NAME>'
it 'exposes the viewer', () ->
players = creat... | true | #= require game/Players
createPlayers = global8ball.Players.create
describe 'Players', () ->
playersData =
first:
id: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
second:
id: 'second'
name: 'PI:NAME:<NAME>END_PI'
thirdAccount =
id: 'third'
name: 'PI:NAME:<NAME>END_P... |
[
{
"context": ".O.R.T.A.L'\n title: 'P.O.R.T.A.L'\n url: 'http://127.0.0.1:5000'\n port: 5000\n token:\n secret: 'IhoiUHyu",
"end": 158,
"score": 0.9996629357337952,
"start": 149,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "27.0.0.1:5000'\n port: 5000\n token:\... | server/config/development.coffee | stevelacy/portal | 0 | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/portal'
name: 'P.O.R.T.A.L'
title: 'P.O.R.T.A.L'
url: 'http://127.0.0.1:5000'
port: 5000
token:
secret: 'IhoiUHyu6gt5HJHhjhhGfddsESEWsfgHJjhhjFDdsseseRDSTDfgghhjHJljklkjuiuyyUYUtytrRERerererERerererRTGHghj'
mongo:
url: ... | 117084 | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/portal'
name: 'P.O.R.T.A.L'
title: 'P.O.R.T.A.L'
url: 'http://127.0.0.1:5000'
port: 5000
token:
secret: '<KEY>'
mongo:
url: 'mongodb://127.0.0.1:27017/portal'
host: '127.0.0.1'
port: 27017
name: 'portal'
| true | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/portal'
name: 'P.O.R.T.A.L'
title: 'P.O.R.T.A.L'
url: 'http://127.0.0.1:5000'
port: 5000
token:
secret: 'PI:KEY:<KEY>END_PI'
mongo:
url: 'mongodb://127.0.0.1:27017/portal'
host: '127.0.0.1'
port: 27017
name:... |
[
{
"context": " ()->\n username = document.getElementById 'username'\n password = document.getElementById 'pass",
"end": 2063,
"score": 0.9984979629516602,
"start": 2055,
"tag": "USERNAME",
"value": "username"
},
{
"context": "name'\n password = document.getElemen... | src/public/js/panel.coffee | breeswish/swall-server | 2 | signin = (postData)->
$.ajax
type: 'POST'
url: '/signin'
data: postData
timeout: 3000
success: open_screen
create = (postData)->
$.ajax
type: 'POST'
url: '/create_activity'
data: postData
timeout: 3000
remove_panel = ()->
$('#panel'... | 140455 | signin = (postData)->
$.ajax
type: 'POST'
url: '/signin'
data: postData
timeout: 3000
success: open_screen
create = (postData)->
$.ajax
type: 'POST'
url: '/create_activity'
data: postData
timeout: 3000
remove_panel = ()->
$('#panel'... | true | signin = (postData)->
$.ajax
type: 'POST'
url: '/signin'
data: postData
timeout: 3000
success: open_screen
create = (postData)->
$.ajax
type: 'POST'
url: '/create_activity'
data: postData
timeout: 3000
remove_panel = ()->
$('#panel'... |
[
{
"context": "\n\n config:\n maskings:\n key: 'masking'\n stores: null\n\n popup: null\n\n ",
"end": 123,
"score": 0.9823930263519287,
"start": 116,
"tag": "KEY",
"value": "masking"
}
] | sencha/common/coffee/src/override/Component.coffee | liverbool/c.com | 0 | Ext.define 'Ext.override.Component',
override: 'Ext.Component'
config:
maskings:
key: 'masking'
stores: null
popup: null
privates:
_maskings: no
_loading: 0
initComponent: ->
@callParent arguments
# setup popup
# @see: ... | 156352 | Ext.define 'Ext.override.Component',
override: 'Ext.Component'
config:
maskings:
key: '<KEY>'
stores: null
popup: null
privates:
_maskings: no
_loading: 0
initComponent: ->
@callParent arguments
# setup popup
# @see: ht... | true | Ext.define 'Ext.override.Component',
override: 'Ext.Component'
config:
maskings:
key: 'PI:KEY:<KEY>END_PI'
stores: null
popup: null
privates:
_maskings: no
_loading: 0
initComponent: ->
@callParent arguments
# setup popup
... |
[
{
"context": "==\n## Project: Ember Facebook\n## Copyright: ©2012 Luan Santos\n## License: Licensed under MIT license (see LIC",
"end": 137,
"score": 0.9995869994163513,
"start": 126,
"tag": "NAME",
"value": "Luan Santos"
}
] | src/ember-facebook.coffee | PAM-AS/ember-facebook | 0 | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 Luan Santos
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
((exports) ->
Ember.Facebook = Ember.Mixin.cre... | 45967 | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 <NAME>
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
((exports) ->
Ember.Facebook = Ember.Mixin.create
... | true | ## ==========================================================================
## Project: Ember Facebook
## Copyright: ©2012 PI:NAME:<NAME>END_PI
## License: Licensed under MIT license (see LICENSE)
## ==========================================================================
((exports) ->
Ember.Facebook = Ember.... |
[
{
"context": "_objectToURLParamsArray() in\n https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/util/u",
"end": 476,
"score": 0.9990625381469727,
"start": 471,
"tag": "USERNAME",
"value": "jitsi"
},
{
"context": "ExternalAPI.constructor() in\n https://github.com/ji... | client/TabJitsi.coffee | mehtank/comingle | 0 | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {getDark} from './Settings'
import {Tabs} from '/lib/tabs'
export TabJitsi = React.memo ({tabId, room}) ->
tab = useTracker ->
Tabs.findOne tabId
, [tabId]
re... | 45842 | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {getDark} from './Settings'
import {Tabs} from '/lib/tabs'
export TabJitsi = React.memo ({tabId, room}) ->
tab = useTracker ->
Tabs.findOne tabId
, [tabId]
re... | true | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {getDark} from './Settings'
import {Tabs} from '/lib/tabs'
export TabJitsi = React.memo ({tabId, room}) ->
tab = useTracker ->
Tabs.findOne tabId
, [tabId]
re... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n# Setup\n{SVGLaye",
"end": 146,
"score": 0.9991093277931213,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 62snap.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
# Setup
{SVGLayer} = require "SVGLayer"
bg = new Layer
size: Screen
image: "images/IMG_4190.PNG"
iconCover = new Layer
size: 110, back... | 4150 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
# Setup
{SVGLayer} = require "SVGLayer"
bg = new Layer
size: Screen
image: "images/IMG_4190.PNG"
iconCover = new Layer
size: 110, ba... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
# Setup
{SVGLayer} = require "SVGLayer"
bg = new Layer
size: Screen
image: "images/IMG_4190.PNG"
iconCover = new Layer
... |
[
{
"context": "ow functions in executable class bodies.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 101,
"score": 0.9998527765274048,
"start": 89,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/no-private-function-fat-arrows.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
me... | 76540 | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
... | true | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.export... |
[
{
"context": "onName: associator\n key: \"#{association}_ref\"\n polymorphic: true\n }\n ",
"end": 1125,
"score": 0.5460506677627563,
"start": 1125,
"tag": "KEY",
"value": ""
},
{
"context": " key: \"#{inflection.singularize(association)}_ids\"\n... | src/model.coffee | mavenlink/brainstem-js | 8 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = require 'jquery' # TODO remove after upgrading to backbone 1.2+
inflection = require 'inflection'
{ knownResponseKeys } = require './constants'
Utils = require './utils'
StorageManager = require './storage-manager'
isDateAttr = ... | 96116 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = require 'jquery' # TODO remove after upgrading to backbone 1.2+
inflection = require 'inflection'
{ knownResponseKeys } = require './constants'
Utils = require './utils'
StorageManager = require './storage-manager'
isDateAttr = ... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = require 'jquery' # TODO remove after upgrading to backbone 1.2+
inflection = require 'inflection'
{ knownResponseKeys } = require './constants'
Utils = require './utils'
StorageManager = require './storage-manager'
isDateAttr = ... |
[
{
"context": "---\ntitle: 'Dawn Lisa Borowski | Certified Health and Wellness Coach'\n---\n\ndocty",
"end": 30,
"score": 0.9998348355293274,
"start": 12,
"tag": "NAME",
"value": "Dawn Lisa Borowski"
},
{
"context": " a '.masthead', href: '/', ->\n h1 'Dawn Lisa Borowsk... | src/layouts/default.html.coffee | momentumdesigns/mychristianhealthcoach.docpad | 0 | ---
title: 'Dawn Lisa Borowski | Certified Health and Wellness Coach'
---
doctype 5
html lang: 'en', ->
head ->
# Standard
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'vie... | 218680 | ---
title: '<NAME> | Certified Health and Wellness Coach'
---
doctype 5
html lang: 'en', ->
head ->
# Standard
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'viewport', cont... | true | ---
title: 'PI:NAME:<NAME>END_PI | Certified Health and Wellness Coach'
---
doctype 5
html lang: 'en', ->
head ->
# Standard
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'v... |
[
{
"context": "x\n type: 'POST'\n data:\n username: username\n password: password\n account_id: @a",
"end": 196,
"score": 0.9991363883018494,
"start": 188,
"tag": "USERNAME",
"value": "username"
},
{
"context": "data:\n username: username\n ... | client.coffee | emdagon/meteor-truevault-auth | 0 |
class TrueVault
constructor: (@account_id, @ROOT_URL = "https://api.truevault.com/v1") ->
login: (username, password) ->
$.ajax
type: 'POST'
data:
username: username
password: password
account_id: @account_id
url: "#{@ROOT_URL}/auth/login"
dataType: 'json'
l... | 63544 |
class TrueVault
constructor: (@account_id, @ROOT_URL = "https://api.truevault.com/v1") ->
login: (username, password) ->
$.ajax
type: 'POST'
data:
username: username
password: <PASSWORD>
account_id: @account_id
url: "#{@ROOT_URL}/auth/login"
dataType: 'json'
... | true |
class TrueVault
constructor: (@account_id, @ROOT_URL = "https://api.truevault.com/v1") ->
login: (username, password) ->
$.ajax
type: 'POST'
data:
username: username
password: PI:PASSWORD:<PASSWORD>END_PI
account_id: @account_id
url: "#{@ROOT_URL}/auth/login"
d... |
[
{
"context": "e'].size()\n# @.by_Type._keys().assert_Is ['participant-remote','participant']\n# @.by_Funded['yes'].size(",
"end": 608,
"score": 0.9122012257575989,
"start": 590,
"tag": "KEY",
"value": "participant-remote"
}
] | src/server/test/Tickets.test.coffee | shooking/owasp-summit-2017 | 101 | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Tickets', ->
tickets = null
beforeEach ->
tickets = new Jekyll_Data().tickets
using tickets,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Tickets.file_Name().assert_Is 'tickets.yml'
it 'map_Tickets', ->
... | 43982 | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Tickets', ->
tickets = null
beforeEach ->
tickets = new Jekyll_Data().tickets
using tickets,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Tickets.file_Name().assert_Is 'tickets.yml'
it 'map_Tickets', ->
... | true | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Tickets', ->
tickets = null
beforeEach ->
tickets = new Jekyll_Data().tickets
using tickets,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Tickets.file_Name().assert_Is 'tickets.yml'
it 'map_Tickets', ->
... |
[
{
"context": "createdWith: ->\n @doc.text 'Created with toggl.com', 473, 1, width: 0\n\n shortDuration: (seconds) =>",
"end": 1639,
"score": 0.8717604279518127,
"start": 1636,
"tag": "EMAIL",
"value": "com"
},
{
"context": " {\n tag: 'Tags'\n task: 'Tasks'\n user: 'Use... | app/report.coffee | meeDamian/toggl-pdf | 1 | PDFDocument = require 'pdfkit'
bugsnag = require 'bugsnag'
timeFormat = require 'time-format-utils'
class Report
# 72 PPI A4 size in pixels
@PAGE_WIDTH = 595
@PAGE_HEIGHT = 842
@MARGIN_BOTTOM = 50
constructor: (@data) ->
@pageNum = 1
@posX = @posY = 0
@doc = new PDFDocument size: 'A4'
... | 129634 | PDFDocument = require 'pdfkit'
bugsnag = require 'bugsnag'
timeFormat = require 'time-format-utils'
class Report
# 72 PPI A4 size in pixels
@PAGE_WIDTH = 595
@PAGE_HEIGHT = 842
@MARGIN_BOTTOM = 50
constructor: (@data) ->
@pageNum = 1
@posX = @posY = 0
@doc = new PDFDocument size: 'A4'
... | true | PDFDocument = require 'pdfkit'
bugsnag = require 'bugsnag'
timeFormat = require 'time-format-utils'
class Report
# 72 PPI A4 size in pixels
@PAGE_WIDTH = 595
@PAGE_HEIGHT = 842
@MARGIN_BOTTOM = 50
constructor: (@data) ->
@pageNum = 1
@posX = @posY = 0
@doc = new PDFDocument size: 'A4'
... |
[
{
"context": "alice-send-channel' })\n @alice = new MyClient(\"Alice\", @str, 0, @aliceSendChannel)\n .appendTo(@el",
"end": 2141,
"score": 0.9982050061225891,
"start": 2136,
"tag": "NAME",
"value": "Alice"
},
{
"context": "l)\n .appendTo(@el)\n @alice.el.attr({ id: '... | coffee/visualization.coffee | BoltDoggy/operational-transformation.github.com | 0 | Client = ot.Client
Server = ot.Server
TextOperation = ot.TextOperation
WrappedOperation = ot.WrappedOperation
CodeMirrorAdapter = ot.CodeMirrorAdapter
# View
View =
appendTo: (el) ->
@el.appendTo(el)
@
# Operation
operationToHtml = (operation) ->
html = ''
for op, i in operation.ops
html += ", "... | 139085 | Client = ot.Client
Server = ot.Server
TextOperation = ot.TextOperation
WrappedOperation = ot.WrappedOperation
CodeMirrorAdapter = ot.CodeMirrorAdapter
# View
View =
appendTo: (el) ->
@el.appendTo(el)
@
# Operation
operationToHtml = (operation) ->
html = ''
for op, i in operation.ops
html += ", "... | true | Client = ot.Client
Server = ot.Server
TextOperation = ot.TextOperation
WrappedOperation = ot.WrappedOperation
CodeMirrorAdapter = ot.CodeMirrorAdapter
# View
View =
appendTo: (el) ->
@el.appendTo(el)
@
# Operation
operationToHtml = (operation) ->
html = ''
for op, i in operation.ops
html += ", "... |
[
{
"context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp",
"end": 30,
"score": 0.9998787045478821,
"start": 21,
"tag": "NAME",
"value": "Jeff Mott"
}
] | node_modules/triplesec/src/sha3.iced | seekersapp2013/new | 157 | ##
##
## Forked from Jeff Mott's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray,X64Word,X64WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=======================================================================
class Global
#------------------
constructor : ->
# C... | 98939 | ##
##
## Forked from <NAME>'s CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray,X64Word,X64WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=======================================================================
class Global
#------------------
constructor : ->
# Cons... | true | ##
##
## Forked from PI:NAME:<NAME>END_PI's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray,X64Word,X64WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=======================================================================
class Global
#------------------
constructor : ... |
[
{
"context": "require '../'\n\ntest = ->\n people =\n john:\n first_name: 'john'\n last_name: 'doe'\n",
"end": 44,
"score": 0.9166843891143799,
"start": 40,
"tag": "NAME",
"value": "john"
},
{
"context": "test = ->\n people =\n john:\n first_name: 'john'\n ... | node_modules/coffee-trace/test/test.coffee | jpietrok-pnnl/wiki | 0 | require '../'
test = ->
people =
john:
first_name: 'john'
last_name: 'doe'
mary:
first_name: 'mary'
last_name: 'jane'
console.log("Welcome", people[p].first_name, people[p].last_name, "!!!") for p in ['john', 'mary', 'josh']
process.nextTick test
| 41627 | require '../'
test = ->
people =
<NAME>:
first_name: '<NAME>'
last_name: '<NAME>'
<NAME>:
first_name: '<NAME>'
last_name: '<NAME>'
console.log("Welcome", people[p].first_name, people[p].last_name, "!!!") for p in ['<NAME>', '<NAME>', '<NAME>']
process.nextTick test
| true | require '../'
test = ->
people =
PI:NAME:<NAME>END_PI:
first_name: 'PI:NAME:<NAME>END_PI'
last_name: 'PI:NAME:<NAME>END_PI'
PI:NAME:<NAME>END_PI:
first_name: 'PI:NAME:<NAME>END_PI'
last_name: 'PI:NAME:<NAME>END_PI'
console.log("Welcome", people[p].first_name, people[p].last_name,... |
[
{
"context": " executer function.\n#\n# :copyright: (c) 2012 by Zaur Nasibov.\n# :license: MIT, see LICENSE for more details",
"end": 202,
"score": 0.9998859763145447,
"start": 190,
"tag": "NAME",
"value": "Zaur Nasibov"
}
] | kaylee/client/klbenchmark.coffee | BasicWolf/archived-kaylee | 2 | ###
# klbenchmark.coffee
# ~~~~~~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
# It contains a benchmark executer function.
#
# :copyright: (c) 2012 by Zaur Nasibov.
# :license: MIT, see LICENSE for more details.
###
kl._test_node = () ->
bWorker = !!window.Worker
if ... | 101029 | ###
# klbenchmark.coffee
# ~~~~~~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
# It contains a benchmark executer function.
#
# :copyright: (c) 2012 by <NAME>.
# :license: MIT, see LICENSE for more details.
###
kl._test_node = () ->
bWorker = !!window.Worker
if not bW... | true | ###
# klbenchmark.coffee
# ~~~~~~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
# It contains a benchmark executer function.
#
# :copyright: (c) 2012 by PI:NAME:<NAME>END_PI.
# :license: MIT, see LICENSE for more details.
###
kl._test_node = () ->
bWorker = !!window.Worker... |
[
{
"context": "###\n * cena_auth\n * https://github.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan Gaus\n * Li",
"end": 46,
"score": 0.9972541928291321,
"start": 39,
"tag": "USERNAME",
"value": "1egoman"
},
{
"context": "thub.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan ... | src/routes/index.coffee | 1egoman/cena_app | 0 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
'use strict';
# require all routes
module.exports = (app) ->
require("./foodandlists").index app
require("./auth") app
require("./shops") app
require("./tags") app
| 136176 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
'use strict';
# require all routes
module.exports = (app) ->
require("./foodandlists").index app
require("./auth") app
require("./shops") app
require("./tags") app
| true | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict';
# require all routes
module.exports = (app) ->
require("./foodandlists").index app
require("./auth") app
require("./shops") app
require("./tags") app
|
[
{
"context": " icpwd: (facility, newPassword) =>\n @password = newPassword\n \"at_icpwd=\\\"#{facility}\\\",#{@password},\\\"#{ne",
"end": 10124,
"score": 0.8371938467025757,
"start": 10113,
"tag": "PASSWORD",
"value": "newPassword"
},
{
"context": "hiip and qos and apn and use... | lib/commander.coffee | io-digital/hughes-bgan-base | 0 |
module.exports = class Commander
constructor: (@password = '', @lineEnding = '\r\n') ->
unless @password
throw new Error('A password is required')
$$: (prefix, mode) =>
if prefix and mode
"at ??=\"#{prefix}\",#{mode}#{@lineEnding}"
else if prefix
"at ??=\"#{prefix}\"#{@lineEnding}"
... | 196266 |
module.exports = class Commander
constructor: (@password = '', @lineEnding = '\r\n') ->
unless @password
throw new Error('A password is required')
$$: (prefix, mode) =>
if prefix and mode
"at ??=\"#{prefix}\",#{mode}#{@lineEnding}"
else if prefix
"at ??=\"#{prefix}\"#{@lineEnding}"
... | true |
module.exports = class Commander
constructor: (@password = '', @lineEnding = '\r\n') ->
unless @password
throw new Error('A password is required')
$$: (prefix, mode) =>
if prefix and mode
"at ??=\"#{prefix}\",#{mode}#{@lineEnding}"
else if prefix
"at ??=\"#{prefix}\"#{@lineEnding}"
... |
[
{
"context": "#\n# ngModal\n# by Adam Albrecht\n# http://adamalbrecht.com\n#\n# Source Code: https:",
"end": 30,
"score": 0.999897837638855,
"start": 17,
"tag": "NAME",
"value": "Adam Albrecht"
},
{
"context": "malbrecht.com\n#\n# Source Code: https://github.com/adamalbrecht/ngModal\... | src/ng-modal.coffee | dancingfrog/mdModal | 76 | #
# ngModal
# by Adam Albrecht
# http://adamalbrecht.com
#
# Source Code: https://github.com/adamalbrecht/ngModal
#
# Compatible with Angular 1.2.x
#
app = angular.module("ngModal", [])
app.provider "ngModalDefaults", ->
options: {
closeButtonHtml: "<span class='ng-modal-close-x'>X</span>"
}
$get: ->
@o... | 162262 | #
# ngModal
# by <NAME>
# http://adamalbrecht.com
#
# Source Code: https://github.com/adamalbrecht/ngModal
#
# Compatible with Angular 1.2.x
#
app = angular.module("ngModal", [])
app.provider "ngModalDefaults", ->
options: {
closeButtonHtml: "<span class='ng-modal-close-x'>X</span>"
}
$get: ->
@options
... | true | #
# ngModal
# by PI:NAME:<NAME>END_PI
# http://adamalbrecht.com
#
# Source Code: https://github.com/adamalbrecht/ngModal
#
# Compatible with Angular 1.2.x
#
app = angular.module("ngModal", [])
app.provider "ngModalDefaults", ->
options: {
closeButtonHtml: "<span class='ng-modal-close-x'>X</span>"
}
$get: ->... |
[
{
"context": "s sessions\n\t_sessionKey: (sessionId) ->\n\t\treturn \"sess:#{sessionId}\"\n\n\ttrackSession: (user, sessionId, cal",
"end": 350,
"score": 0.7389336824417114,
"start": 344,
"tag": "KEY",
"value": "sess:#"
}
] | app/coffee/Features/User/UserSessionsManager.coffee | davidmehren/web-sharelatex | 1 | Settings = require('settings-sharelatex')
logger = require("logger-sharelatex")
Async = require('async')
_ = require('underscore')
UserSessionsRedis = require('./UserSessionsRedis')
rclient = UserSessionsRedis.client()
module.exports = UserSessionsManager =
# mimic the key used by the express sessions
_sessionKey: (... | 5986 | Settings = require('settings-sharelatex')
logger = require("logger-sharelatex")
Async = require('async')
_ = require('underscore')
UserSessionsRedis = require('./UserSessionsRedis')
rclient = UserSessionsRedis.client()
module.exports = UserSessionsManager =
# mimic the key used by the express sessions
_sessionKey: (... | true | Settings = require('settings-sharelatex')
logger = require("logger-sharelatex")
Async = require('async')
_ = require('underscore')
UserSessionsRedis = require('./UserSessionsRedis')
rclient = UserSessionsRedis.client()
module.exports = UserSessionsManager =
# mimic the key used by the express sessions
_sessionKey: (... |
[
{
"context": "\n * This region has some nice wares.\n *\n * @name Frigri Town\n * @effect Shops have very good items.\n * @c",
"end": 95,
"score": 0.7802773118019104,
"start": 90,
"tag": "NAME",
"value": "rigri"
},
{
"context": "own extends Region\n\n constructor: ->\n\n @name = \"... | src/character/regions/FrigriTown.coffee | sadbear-/IdleLands | 0 |
Region = require "../base/Region"
`/**
* This region has some nice wares.
*
* @name Frigri Town
* @effect Shops have very good items.
* @category Norkos
* @package World Regions
*/`
class FrigriTown extends Region
constructor: ->
@name = "Frigri Town"
@desc = "Better shopping experience"
@luck: -> 5... | 161025 |
Region = require "../base/Region"
`/**
* This region has some nice wares.
*
* @name F<NAME> Town
* @effect Shops have very good items.
* @category Norkos
* @package World Regions
*/`
class FrigriTown extends Region
constructor: ->
@name = "<NAME>"
@desc = "Better shopping experience"
@luck: -> 5
@... | true |
Region = require "../base/Region"
`/**
* This region has some nice wares.
*
* @name FPI:NAME:<NAME>END_PI Town
* @effect Shops have very good items.
* @category Norkos
* @package World Regions
*/`
class FrigriTown extends Region
constructor: ->
@name = "PI:NAME:<NAME>END_PI"
@desc = "Better shopping ex... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998345375061035,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/session.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 39227 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
[
{
"context": "model.session.fetch data: {email: email, password: password}, success: @sessionCreated, error: @processErrors",
"end": 625,
"score": 0.7989425659179688,
"start": 617,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/web/views/users/session_new.js.coffee | JulienGuizot/voxe | 5 | class window.SessionNewView extends Backbone.View
initialize: (options)->
@model.bind 'change:token', @sessionCreated, @
# options
@theater = options.theater
className: "new-session"
events:
"click a": "createSession"
"keypress input": "keypress"
keypress: (e) ->
if (e.ke... | 48851 | class window.SessionNewView extends Backbone.View
initialize: (options)->
@model.bind 'change:token', @sessionCreated, @
# options
@theater = options.theater
className: "new-session"
events:
"click a": "createSession"
"keypress input": "keypress"
keypress: (e) ->
if (e.ke... | true | class window.SessionNewView extends Backbone.View
initialize: (options)->
@model.bind 'change:token', @sessionCreated, @
# options
@theater = options.theater
className: "new-session"
events:
"click a": "createSession"
"keypress input": "keypress"
keypress: (e) ->
if (e.ke... |
[
{
"context": "ch have.\n\nUsage:\n $ casperjs googlematch.coffee nicolas chuck borris\n nicolas: 69600000\n chuck: 4",
"end": 158,
"score": 0.9251191020011902,
"start": 151,
"tag": "NAME",
"value": "nicolas"
},
{
"context": "sage:\n $ casperjs googlematch.coffee nicolas... | samples/googlematch.coffee | majorleaguesoccer/casperjs | 1 | ###
Takes provided terms passed as arguments and query google for the number of
estimated results each have.
Usage:
$ casperjs googlematch.coffee nicolas chuck borris
nicolas: 69600000
chuck: 49500000
borris: 2370000
winner is "nicolas" with 69600000 results
###
casper = require("casper").creat... | 170867 | ###
Takes provided terms passed as arguments and query google for the number of
estimated results each have.
Usage:
$ casperjs googlematch.coffee <NAME> ch<NAME> <NAME>
<NAME>: 69600000
chuck: 49500000
<NAME>: 2370000
winner is "<NAME>" with 69600000 results
###
casper = require("casper").creat... | true | ###
Takes provided terms passed as arguments and query google for the number of
estimated results each have.
Usage:
$ casperjs googlematch.coffee PI:NAME:<NAME>END_PI chPI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI
PI:NAME:<NAME>END_PI: 69600000
chuck: 49500000
PI:NAME:<NAME>END_PI: 2370000
winner i... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde",
"end": 23,
"score": 0.9994179606437683,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | auto_saver.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 126818 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... |
[
{
"context": "with properties\", ->\n object = Serenade(name: \"Jonas\")\n expect(object.name).to.eql(\"Jonas\")\n exp",
"end": 200,
"score": 0.9988857507705688,
"start": 195,
"tag": "NAME",
"value": "Jonas"
},
{
"context": "de(name: \"Jonas\")\n expect(object.name).to.eq... | test/serenade.spec.coffee | jnicklas/serenade.js | 1 | require "./spec_helper"
Serenade = require("../lib/serenade")
describe "Serenade", ->
beforeEach -> @setupDom()
it "can decorate an object with properties", ->
object = Serenade(name: "Jonas")
expect(object.name).to.eql("Jonas")
expect(-> object.name = "John").to.emit(object["@name"])
it "can decor... | 157936 | require "./spec_helper"
Serenade = require("../lib/serenade")
describe "Serenade", ->
beforeEach -> @setupDom()
it "can decorate an object with properties", ->
object = Serenade(name: "<NAME>")
expect(object.name).to.eql("<NAME>")
expect(-> object.name = "<NAME>").to.emit(object["@name"])
it "can d... | true | require "./spec_helper"
Serenade = require("../lib/serenade")
describe "Serenade", ->
beforeEach -> @setupDom()
it "can decorate an object with properties", ->
object = Serenade(name: "PI:NAME:<NAME>END_PI")
expect(object.name).to.eql("PI:NAME:<NAME>END_PI")
expect(-> object.name = "PI:NAME:<NAME>END_... |
[
{
"context": "jax\n type: 'POST'\n url: '//formspree.io/contact@bradmallow.com'\n data: req.params\n dataType: 'json'\n ",
"end": 297,
"score": 0.9951608777046204,
"start": 275,
"tag": "EMAIL",
"value": "contact@bradmallow.com"
}
] | assets/coffee/component/contact.coffee | briznad/bmdotcom-source | 0 | bmdotcom = bmdotcom or {}
bmdotcom.contact = do ->
'use strict'
send = (req) ->
formType = _establishFormType req.params.typeOfContact
return false if not formType or not _validate[formType] req.params
$.ajax
type: 'POST'
url: '//formspree.io/contact@bradmallow.com'
data: req.param... | 173938 | bmdotcom = bmdotcom or {}
bmdotcom.contact = do ->
'use strict'
send = (req) ->
formType = _establishFormType req.params.typeOfContact
return false if not formType or not _validate[formType] req.params
$.ajax
type: 'POST'
url: '//formspree.io/<EMAIL>'
data: req.params
dataTyp... | true | bmdotcom = bmdotcom or {}
bmdotcom.contact = do ->
'use strict'
send = (req) ->
formType = _establishFormType req.params.typeOfContact
return false if not formType or not _validate[formType] req.params
$.ajax
type: 'POST'
url: '//formspree.io/PI:EMAIL:<EMAIL>END_PI'
data: req.param... |
[
{
"context": "###*\n* Copyright 2013 Louis Li\n*\n* Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9995643496513367,
"start": 22,
"tag": "NAME",
"value": "Louis Li"
}
] | src/backbone.timer.coffee | Halit-Batur/backbone.timer | 0 | ###*
* Copyright 2013 Louis Li
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, so... | 154611 | ###*
* Copyright 2013 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | true | ###*
* Copyright 2013 PI:NAME:<NAME>END_PI
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
[
{
"context": "nt\n\n # if note.isPrivate() and note.userId isnt @userId\n # throw new Meteor.Error 'notes.insert.acce",
"end": 1249,
"score": 0.8445994853973389,
"start": 1242,
"tag": "USERNAME",
"value": "@userId"
},
{
"context": "orized',\n 'Cannot edit this note'\... | imports/api/notes/methods.coffee | jean/BulletNotes | 7 | import { Meteor } from 'meteor/meteor'
import { _ } from 'meteor/underscore'
import { ValidatedMethod } from 'meteor/mdg:validated-method'
import SimpleSchema from 'simpl-schema'
import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'
import { Random } from 'meteor/random'
import rankDenormalizer from './rankDenormal... | 150406 | import { Meteor } from 'meteor/meteor'
import { _ } from 'meteor/underscore'
import { ValidatedMethod } from 'meteor/mdg:validated-method'
import SimpleSchema from 'simpl-schema'
import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'
import { Random } from 'meteor/random'
import rankDenormalizer from './rankDenormal... | true | import { Meteor } from 'meteor/meteor'
import { _ } from 'meteor/underscore'
import { ValidatedMethod } from 'meteor/mdg:validated-method'
import SimpleSchema from 'simpl-schema'
import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'
import { Random } from 'meteor/random'
import rankDenormalizer from './rankDenormal... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.