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": " checkMeeting presence.meeting\n connections[@connection.id] = presence.id\n presence.updated = new Date\n",
"end": 649,
"score": 0.7229645252227783,
"start": 636,
"tag": "EMAIL",
"value": "connection.id"
}
] | lib/presence.coffee | diomidov/comingle | 0 | import {Mongo} from 'meteor/mongo'
import {check, Match} from 'meteor/check'
import {validId, checkId} from './id.coffee'
import {checkMeeting} from './meetings.coffee'
export Presence = new Mongo.Collection 'presence'
## Mapping from Meteor connection id to presenceId [server only]
export connections = {}
Meteor.m... | 199997 | import {Mongo} from 'meteor/mongo'
import {check, Match} from 'meteor/check'
import {validId, checkId} from './id.coffee'
import {checkMeeting} from './meetings.coffee'
export Presence = new Mongo.Collection 'presence'
## Mapping from Meteor connection id to presenceId [server only]
export connections = {}
Meteor.m... | true | import {Mongo} from 'meteor/mongo'
import {check, Match} from 'meteor/check'
import {validId, checkId} from './id.coffee'
import {checkMeeting} from './meetings.coffee'
export Presence = new Mongo.Collection 'presence'
## Mapping from Meteor connection id to presenceId [server only]
export connections = {}
Meteor.m... |
[
{
"context": " NEED_HEADROW: false\n PERSON_FULL_NAME: 'Chodorow, Stanley A. '\n FK_SPM_SPCL_MTG_CD: ' '\n ",
"end": 678,
"score": 0.9997825622558594,
"start": 659,
"tag": "NAME",
"value": "Chodorow, Stanley A"
},
{
"context": " NEED_HEADROW: false\n... | src/schedule.coffee | SheepTester/uxdy | 1 | # This is my schedule! I'm hard-coding it for now
window.schedule =
[
{
END_MM_TIME: 50
LONG_DESC: ' '
TERM_CODE: 'FA21'
SECT_CREDIT_HRS: 4
BEGIN_HH_TIME: 9
SECTION_NUMBER: 50710
SUBJ_CODE: 'CAT '
GRADE_OPTN_CD_PLUS: ' '
WT_POS: '... | 121041 | # This is my schedule! I'm hard-coding it for now
window.schedule =
[
{
END_MM_TIME: 50
LONG_DESC: ' '
TERM_CODE: 'FA21'
SECT_CREDIT_HRS: 4
BEGIN_HH_TIME: 9
SECTION_NUMBER: 50710
SUBJ_CODE: 'CAT '
GRADE_OPTN_CD_PLUS: ' '
WT_POS: '... | true | # This is my schedule! I'm hard-coding it for now
window.schedule =
[
{
END_MM_TIME: 50
LONG_DESC: ' '
TERM_CODE: 'FA21'
SECT_CREDIT_HRS: 4
BEGIN_HH_TIME: 9
SECTION_NUMBER: 50710
SUBJ_CODE: 'CAT '
GRADE_OPTN_CD_PLUS: ' '
WT_POS: '... |
[
{
"context": "or form', ->\n @rendered.should.containEql 'Edit Halley Johnson'\n @rendered.should.containEql 'value=\"Halley J",
"end": 1254,
"score": 0.8815126419067383,
"start": 1240,
"tag": "NAME",
"value": "Halley Johnson"
},
{
"context": " Johnson'\n @rendered.should.co... | src/client/apps/settings/test/client/authors/author_modal.test.coffee | craigspaeth/positron | 76 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
fixtures = require '../../../../../../test/helpers/fixtures'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
r =
find: ... | 82521 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
fixtures = require '../../../../../../test/helpers/fixtures'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
r =
find: ... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
fixtures = require '../../../../../../test/helpers/fixtures'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
r =
find: ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999141693115234,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/nav-button.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @NavButton
constructor: ->
@containers = document.getElementsByClassName 'js-nav-button--container'
@items = document.getElements... | 180467 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @NavButton
constructor: ->
@containers = document.getElementsByClassName 'js-nav-button--container'
@items = document.getElementsByClass... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @NavButton
constructor: ->
@containers = document.getElementsByClassName 'js-nav-button--container'
@items = document.get... |
[
{
"context": "User({role: 'teacher'})\n# yield utils.loginUser(@teacher)\n# done()\n# \n# describe 'when recipientID is",
"end": 430,
"score": 0.9011542797088623,
"start": 422,
"tag": "USERNAME",
"value": "@teacher"
},
{
"context": "# done()\n# \n# describe 'when recipie... | spec/server/functional/contact.spec.coffee | johanvl/codecombat | 2 | utils = require '../utils'
sendwithus = require '../../../server/sendwithus'
request = require '../request'
User = require '../../../server/models/User'
# TODO: need to update this test since /contact calls external Close.io API now
#xdescribe 'POST /contact', ->
#
# beforeEach utils.wrap (done) ->
# spyOn(sendw... | 58558 | utils = require '../utils'
sendwithus = require '../../../server/sendwithus'
request = require '../request'
User = require '../../../server/models/User'
# TODO: need to update this test since /contact calls external Close.io API now
#xdescribe 'POST /contact', ->
#
# beforeEach utils.wrap (done) ->
# spyOn(sendw... | true | utils = require '../utils'
sendwithus = require '../../../server/sendwithus'
request = require '../request'
User = require '../../../server/models/User'
# TODO: need to update this test since /contact calls external Close.io API now
#xdescribe 'POST /contact', ->
#
# beforeEach utils.wrap (done) ->
# spyOn(sendw... |
[
{
"context": "ength\n\t\t\tdeepEq {id: 3, sex: 'F', age: 34, name: 'Elaine Benes'}, res[2]\n\n\t\t# TODO\n\t\t# it.only 'date', ->\n\t\t# \tr",
"end": 849,
"score": 0.9998611211776733,
"start": 837,
"tag": "NAME",
"value": "Elaine Benes"
},
{
"context": "son: _ {name: {like: '%Mi%'}}... | src/test__ramda.coffee | Cottin/popsiql | 0 | {F, gt, gte, join, length, lt, lte, pluck, where} = R = require 'ramda' # auto_require: ramda
{$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːid, ːtext, ːamount, ːage, ːsex, ːname, ːALL] = ['id', 'text', 'amount', 'age', 'sex', 'name', 'ALL'] #auto_sugar
{eq, deepEq} = require 'testhelp' #auto_require:... | 50738 | {F, gt, gte, join, length, lt, lte, pluck, where} = R = require 'ramda' # auto_require: ramda
{$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːid, ːtext, ːamount, ːage, ːsex, ːname, ːALL] = ['id', 'text', 'amount', 'age', 'sex', 'name', 'ALL'] #auto_sugar
{eq, deepEq} = require 'testhelp' #auto_require:... | true | {F, gt, gte, join, length, lt, lte, pluck, where} = R = require 'ramda' # auto_require: ramda
{$} = RE = require 'ramda-extras' # auto_require: ramda-extras
[ːid, ːtext, ːamount, ːage, ːsex, ːname, ːALL] = ['id', 'text', 'amount', 'age', 'sex', 'name', 'ALL'] #auto_sugar
{eq, deepEq} = require 'testhelp' #auto_require:... |
[
{
"context": "#\n knockback.js 0.19.1\n Copyright (c) 2011-2014 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 67,
"score": 0.9997554421424866,
"start": 53,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/triggering/triggered-observable.coffee | metacommunications/knockback | 0 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Backbone... | 46281 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###... | true | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Ba... |
[
{
"context": "put#user_email'\n username: '.js-form input#user_username'\n password: '.js-form input#user_password'\n ",
"end": 357,
"score": 0.77559494972229,
"start": 349,
"tag": "USERNAME",
"value": "username"
},
{
"context": "name: '.js-form input#user_username'\n pass... | app/assets/javascripts/views/authentication/signup.coffee | brettclanton001/Dashous | 4 | class Dashous.Views.Authentication.Signup extends Dashous.Views.Authentication.Base
template: 'authentication/signup'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessages: '.js-form .js-error-message'
email: '.js-form input#user_email'
us... | 34765 | class Dashous.Views.Authentication.Signup extends Dashous.Views.Authentication.Base
template: 'authentication/signup'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessages: '.js-form .js-error-message'
email: '.js-form input#user_email'
us... | true | class Dashous.Views.Authentication.Signup extends Dashous.Views.Authentication.Base
template: 'authentication/signup'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessages: '.js-form .js-error-message'
email: '.js-form input#user_email'
us... |
[
{
"context": "disallow unnecessary curly braces in JSX\n# @author Jacky Ho\n###\n'use strict'\n\n# For better readability on tes",
"end": 104,
"score": 0.999799907207489,
"start": 96,
"tag": "NAME",
"value": "Jacky Ho"
}
] | src/tests/rules/jsx-curly-brace-presence.coffee | helixbass/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce curly braces or disallow unnecessary curly braces in JSX
# @author Jacky Ho
###
'use strict'
# For better readability on tests involving quotes
### eslint-disable quotes ###
### eslint-disable coffee/no-template-curly-in-string ###
# --------------------------------------------------------... | 208015 | ###*
# @fileoverview Enforce curly braces or disallow unnecessary curly braces in JSX
# @author <NAME>
###
'use strict'
# For better readability on tests involving quotes
### eslint-disable quotes ###
### eslint-disable coffee/no-template-curly-in-string ###
# ----------------------------------------------------------... | true | ###*
# @fileoverview Enforce curly braces or disallow unnecessary curly braces in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# For better readability on tests involving quotes
### eslint-disable quotes ###
### eslint-disable coffee/no-template-curly-in-string ###
# --------------------------------------------... |
[
{
"context": "ERRORS_KEY = \"signinErrors\"\n\nTemplate.signin.created = ->\n Session.se",
"end": 20,
"score": 0.5901243090629578,
"start": 14,
"tag": "KEY",
"value": "signin"
},
{
"context": "l is required\" unless email\n errors.password = \"Password is required\" unless passwo... | client/templates/auth-signin.coffee | mcgwier/workhandle | 0 | ERRORS_KEY = "signinErrors"
Template.signin.created = ->
Session.set ERRORS_KEY, {}
Template.signin.helpers
errorMessages: ->
_.values Session.get(ERRORS_KEY)
errorClass: (key) ->
Session.get(ERRORS_KEY)[key] and "error"
Template.signin.events submit: (event, template) ->
event.preventDefault()
em... | 191523 | ERRORS_KEY = "<KEY>Errors"
Template.signin.created = ->
Session.set ERRORS_KEY, {}
Template.signin.helpers
errorMessages: ->
_.values Session.get(ERRORS_KEY)
errorClass: (key) ->
Session.get(ERRORS_KEY)[key] and "error"
Template.signin.events submit: (event, template) ->
event.preventDefault()
ema... | true | ERRORS_KEY = "PI:KEY:<KEY>END_PIErrors"
Template.signin.created = ->
Session.set ERRORS_KEY, {}
Template.signin.helpers
errorMessages: ->
_.values Session.get(ERRORS_KEY)
errorClass: (key) ->
Session.get(ERRORS_KEY)[key] and "error"
Template.signin.events submit: (event, template) ->
event.preventDe... |
[
{
"context": "dsc.models.page\n\n@edsc.help = do ($=jQuery, config=@edsc.config, wait = @edsc.util.xhr.wait, page=@edsc.page, Pre",
"end": 153,
"score": 0.8411334156990051,
"start": 141,
"tag": "USERNAME",
"value": "@edsc.config"
},
{
"context": "ns = $.extend({}, defaultHelpOptions,... | app/assets/javascripts/modules/help.js.coffee | kant/earthdata-search | 1 |
#= require models/data/preferences
data = @edsc.models.data
ui = @edsc.models.ui
ns = @edsc.models.page
@edsc.help = do ($=jQuery, config=@edsc.config, wait = @edsc.util.xhr.wait, page=@edsc.page, PreferencesModel = data.Preferences, urlUtil=@edsc.util.url) ->
tourOptions =
tour_end:
title: 'Tour Ended... | 61551 |
#= require models/data/preferences
data = @edsc.models.data
ui = @edsc.models.ui
ns = @edsc.models.page
@edsc.help = do ($=jQuery, config=@edsc.config, wait = @edsc.util.xhr.wait, page=@edsc.page, PreferencesModel = data.Preferences, urlUtil=@edsc.util.url) ->
tourOptions =
tour_end:
title: 'Tour Ended... | true |
#= require models/data/preferences
data = @edsc.models.data
ui = @edsc.models.ui
ns = @edsc.models.page
@edsc.help = do ($=jQuery, config=@edsc.config, wait = @edsc.util.xhr.wait, page=@edsc.page, PreferencesModel = data.Preferences, urlUtil=@edsc.util.url) ->
tourOptions =
tour_end:
title: 'Tour Ended... |
[
{
"context": " true\n keys:\n user:\n title: \"Username\"\n description: \"the username to log into",
"end": 2750,
"score": 0.887231171131134,
"start": 2742,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "ype: 'string'\n password:\n ... | src/configSchema.coffee | alinex/node-mailman | 2 | # Configuration Schema
# =================================================
email = require('alinex-mail/lib/configSchema.js').email
# Complete Schema Definition
# -------------------------------------------------
command =
title: "Command Setup"
description: "the definition of a single command to execute"
type:... | 28172 | # Configuration Schema
# =================================================
email = require('alinex-mail/lib/configSchema.js').email
# Complete Schema Definition
# -------------------------------------------------
command =
title: "Command Setup"
description: "the definition of a single command to execute"
type:... | true | # Configuration Schema
# =================================================
email = require('alinex-mail/lib/configSchema.js').email
# Complete Schema Definition
# -------------------------------------------------
command =
title: "Command Setup"
description: "the definition of a single command to execute"
type:... |
[
{
"context": "exports =\n classic:\n move:\n key: 'classic-move'\n src: classicDir + 'move.wav'\n rotate:\n ",
"end": 129,
"score": 0.6950150728225708,
"start": 125,
"tag": "KEY",
"value": "move"
},
{
"context": ": classicDir + 'move.wav'\n rotate:\n key: 'cl... | app/coffee/tetris/player/player-sounds.coffee | tanguymario/Phaser-Tetris | 0 | mainDir = 'assets/snd/effects/'
classicDir = mainDir + 'classic/'
module.exports =
classic:
move:
key: 'classic-move'
src: classicDir + 'move.wav'
rotate:
key: 'classic-rotate'
src: classicDir + 'rotate.wav'
fixed:
key: 'classic-fixed'
src: classicDir + 'fixed.wav'
... | 56587 | mainDir = 'assets/snd/effects/'
classicDir = mainDir + 'classic/'
module.exports =
classic:
move:
key: 'classic-<KEY>'
src: classicDir + 'move.wav'
rotate:
key: '<KEY>rotate'
src: classicDir + 'rotate.wav'
fixed:
key: '<KEY>'
src: classicDir + 'fixed.wav'
end:
... | true | mainDir = 'assets/snd/effects/'
classicDir = mainDir + 'classic/'
module.exports =
classic:
move:
key: 'classic-PI:KEY:<KEY>END_PI'
src: classicDir + 'move.wav'
rotate:
key: 'PI:KEY:<KEY>END_PIrotate'
src: classicDir + 'rotate.wav'
fixed:
key: 'PI:KEY:<KEY>END_PI'
src:... |
[
{
"context": "STER_PASSWORD set! Run again with MASTER_PASSWORD=yourcrazypassword\")\n process.exit(1)\n\nsockets = []\nwaitingForContr",
"end": 300,
"score": 0.9989976286888123,
"start": 283,
"tag": "PASSWORD",
"value": "yourcrazypassword"
},
{
"context": "authentication: ({passwor... | index.coffee | socoded/so-slot-car-socket | 2 | fs = require('fs')
io = require("socket.io").listen(12346)
track = io.of("/track")
master = io.of("/master")
MASTER_PASSWORD = process.env.MASTER_PASSWORD
if !MASTER_PASSWORD? or MASTER_PASSWORD.match(/^\s*$/)
console.error("No MASTER_PASSWORD set! Run again with MASTER_PASSWORD=yourcrazypassword")
process.exit(1)... | 92989 | fs = require('fs')
io = require("socket.io").listen(12346)
track = io.of("/track")
master = io.of("/master")
MASTER_PASSWORD = process.env.MASTER_PASSWORD
if !MASTER_PASSWORD? or MASTER_PASSWORD.match(/^\s*$/)
console.error("No MASTER_PASSWORD set! Run again with MASTER_PASSWORD=<PASSWORD>")
process.exit(1)
socke... | true | fs = require('fs')
io = require("socket.io").listen(12346)
track = io.of("/track")
master = io.of("/master")
MASTER_PASSWORD = process.env.MASTER_PASSWORD
if !MASTER_PASSWORD? or MASTER_PASSWORD.match(/^\s*$/)
console.error("No MASTER_PASSWORD set! Run again with MASTER_PASSWORD=PI:PASSWORD:<PASSWORD>END_PI")
proc... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 895,
"score": 0.9995624423027039,
"start": 888,
"tag": "NAME",
"value": "Patient"
},
{
"context": " \"localId\" : \"3\",\n ... | test/elm/reusable/data.coffee | luis1van/cql-execution-1 | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ExpressionDef
library TestSnippet version '1'
using QUICK
context Patient
define Foo: 'Bar'
###
module.exports[... | 188045 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ExpressionDef
library TestSnippet version '1'
using QUICK
context Patient
define Foo: 'Bar'
###
module.exports[... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ExpressionDef
library TestSnippet version '1'
using QUICK
context Patient
define Foo: 'Bar'
###
module.exports[... |
[
{
"context": "rty()\n query = DataModel.where 'name', equal: 'enju'\n expect(query).toMatchSnapshot()\n\ntest 'Save ",
"end": 7350,
"score": 0.9504369497299194,
"start": 7346,
"tag": "NAME",
"value": "enju"
},
{
"context": "ersion: 0\n data = new DataModel\n name: 'en... | __tests__/document.coffee | kelp404/enju | 12 | config = require 'config'
enju = require '../'
utils = require '../lib/utils'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@_settings =
analysis:
n... | 93135 | config = require 'config'
enju = require '../'
utils = require '../lib/utils'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@_settings =
analysis:
n... | true | config = require 'config'
enju = require '../'
utils = require '../lib/utils'
Query = require '../lib/query'
exceptions = require '../lib/exceptions'
DataModel = null
generateDataModel = ->
class DataModel extends enju.Document
@_index = 'index'
@_settings =
analysis:
n... |
[
{
"context": "# Copyright (c) 2014-2015 Riceball LEE, MIT License\npath = require('pat",
"end": 38,
"score": 0.9997751116752625,
"start": 26,
"tag": "NAME",
"value": "Riceball LEE"
}
] | src/cache-factory.coffee | snowyu/cache-factory | 0 | # Copyright (c) 2014-2015 Riceball LEE, MIT License
path = require('path.js/lib/path').path
customFactory = require('custom-factory')
injectMethods = require('util-ex/lib/injectMethods')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require('inherit... | 169219 | # Copyright (c) 2014-2015 <NAME>, MIT License
path = require('path.js/lib/path').path
customFactory = require('custom-factory')
injectMethods = require('util-ex/lib/injectMethods')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require('inherits-ex/l... | true | # Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI, MIT License
path = require('path.js/lib/path').path
customFactory = require('custom-factory')
injectMethods = require('util-ex/lib/injectMethods')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require(... |
[
{
"context": "f Oz')\n book.meta.author.should.equal('L. Frank Baum')\n book.meta.bookId.should.equal('this",
"end": 612,
"score": 0.9998003244400024,
"start": 599,
"tag": "NAME",
"value": "L. Frank Baum"
}
] | scripts/test/loadepub.coffee | baldurbjarnason/bookmaker | 1 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
testbook = {}
describe 'EpubLoader',
() ->
beforeEach (done) ->
load = (err, book) ->
testbook = book
done()
book = Book.fromEpub('test/files/test.epub', 'test/files/epubloader... | 142390 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
testbook = {}
describe 'EpubLoader',
() ->
beforeEach (done) ->
load = (err, book) ->
testbook = book
done()
book = Book.fromEpub('test/files/test.epub', 'test/files/epubloader... | true | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Book = index.Book
testbook = {}
describe 'EpubLoader',
() ->
beforeEach (done) ->
load = (err, book) ->
testbook = book
done()
book = Book.fromEpub('test/files/test.epub', 'test/files/epubloader... |
[
{
"context": "@robot = robot\n\n save: ->\n attrs =\n name: @name\n score: @score\n @robot.brain.set 'ast",
"end": 121,
"score": 0.599962055683136,
"start": 121,
"tag": "NAME",
"value": ""
},
{
"context": "er.name} <#{player.email}>\"\n mailgun.sendText \"noreply+... | src/models/team.coffee | airbrake/hubot-scrum | 3 | Player = require('./player')
class Team
constructor: (robot) ->
@robot = robot
save: ->
attrs =
name: @name
score: @score
@robot.brain.set 'astroscrum-team', attrs
name: ->
@robot.adapter.client.team.name
score: ->
10
players: ->
players = []
for own key, user of... | 107698 | Player = require('./player')
class Team
constructor: (robot) ->
@robot = robot
save: ->
attrs =
name:<NAME> @name
score: @score
@robot.brain.set 'astroscrum-team', attrs
name: ->
@robot.adapter.client.team.name
score: ->
10
players: ->
players = []
for own key, u... | true | Player = require('./player')
class Team
constructor: (robot) ->
@robot = robot
save: ->
attrs =
name:PI:NAME:<NAME>END_PI @name
score: @score
@robot.brain.set 'astroscrum-team', attrs
name: ->
@robot.adapter.client.team.name
score: ->
10
players: ->
players = []
... |
[
{
"context": "login = ->\n Auth.login(\n username: $scope.username\n password: $scope.password\n rememberMe:",
"end": 335,
"score": 0.6590627431869507,
"start": 327,
"tag": "USERNAME",
"value": "username"
},
{
"context": "n(\n username: $scope.username\n p... | src/main/webapp/scripts/app/account/login/login.controller.coffee | BulkSecurityGeneratorProject/solrpress | 0 | 'use strict'
angular.module('solrpressApp').controller 'LoginController', ($rootScope, $scope, $state, $timeout, Auth) ->
$scope.user = {}
$scope.errors = {}
$scope.rememberMe = true
$timeout ->
angular.element('[ng-model="username"]').focus()
return
$scope.login = ->
Auth.login(
username: ... | 135545 | 'use strict'
angular.module('solrpressApp').controller 'LoginController', ($rootScope, $scope, $state, $timeout, Auth) ->
$scope.user = {}
$scope.errors = {}
$scope.rememberMe = true
$timeout ->
angular.element('[ng-model="username"]').focus()
return
$scope.login = ->
Auth.login(
username: ... | true | 'use strict'
angular.module('solrpressApp').controller 'LoginController', ($rootScope, $scope, $state, $timeout, Auth) ->
$scope.user = {}
$scope.errors = {}
$scope.rememberMe = true
$timeout ->
angular.element('[ng-model="username"]').focus()
return
$scope.login = ->
Auth.login(
username: ... |
[
{
"context": "verview Tests for the no-new-symbol rule\n# @author Alberto Rodríguez\n###\n\n'use strict'\n\n#-----------------------------",
"end": 81,
"score": 0.9998635053634644,
"start": 64,
"tag": "NAME",
"value": "Alberto Rodríguez"
}
] | src/tests/rules/no-new-symbol.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for the no-new-symbol rule
# @author Alberto Rodríguez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-new-sym... | 152828 | ###*
# @fileoverview Tests for the no-new-symbol rule
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-new-symbol'
{RuleT... | true | ###*
# @fileoverview Tests for the no-new-symbol rule
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-new-... |
[
{
"context": " header:\n showAll: 'Zooniverse Team'\n adamMcMaster:\n title: 'Infrastructure Engineer'",
"end": 506,
"score": 0.5740760564804077,
"start": 502,
"tag": "USERNAME",
"value": "adam"
},
{
"context": " title: 'Infrastructure Engineer'\n bio: '''A... | app/pages/about/team-page.cjsx | tlalka/Panoptes-Front-End | 0 | counterpart = require 'counterpart'
React = require 'react'
createReactClass = require 'create-react-class'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'The Adler Planetarium'
minnesota: 'M... | 67286 | counterpart = require 'counterpart'
React = require 'react'
createReactClass = require 'create-react-class'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'The Adler Planetarium'
minnesota: 'M... | true | counterpart = require 'counterpart'
React = require 'react'
createReactClass = require 'create-react-class'
Translate = require 'react-translate-component'
counterpart.registerTranslations 'en',
team:
nav:
showAll: 'Show All'
oxford: 'Oxford'
chicago: 'The Adler Planetarium'
minnesota: 'M... |
[
{
"context": "z: \"form-control\", group:\"details\"},\n {field: \"username\", type: 'text', label: \"User\", clazz: \"form-contr",
"end": 126,
"score": 0.9861356616020203,
"start": 118,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\"},\n {field: \"username\", type: ... | src/packages/carpool-admin/client/UsersAdmin.coffee | ArnoldasSid/vilnius-carpool | 11 | userForm = [
{field: "email", type: 'text', label: "Email", clazz: "form-control", group:"details"},
{field: "username", type: 'text', label: "User", clazz: "form-control", group:"details"},
{field: "name", type: 'text', label: "Name", clazz: "form-control", group:"details"},
{field: "password", type: '... | 95542 | userForm = [
{field: "email", type: 'text', label: "Email", clazz: "form-control", group:"details"},
{field: "username", type: 'text', label: "User", clazz: "form-control", group:"details"},
{field: "name", type: 'text', label: "Name", clazz: "form-control", group:"details"},
{field: "password", type: '... | true | userForm = [
{field: "email", type: 'text', label: "Email", clazz: "form-control", group:"details"},
{field: "username", type: 'text', label: "User", clazz: "form-control", group:"details"},
{field: "name", type: 'text', label: "Name", clazz: "form-control", group:"details"},
{field: "password", type: '... |
[
{
"context": "h at one point). \n keyTimeslot = [\"Y#{row.key.shift()}Q#{row.key.shift()}\"]\n ",
"end": 1105,
"score": 0.8464520573616028,
"start": 1099,
"tag": "KEY",
"value": "Y#{row"
},
{
"context": "e point). \n keyTimeslot = [\"Y#{row... | lists/chart.coffee | IKS/Proggis | 2 | (head, req) ->
view = req.path.pop()
groupLevel = req.query.group_level
taskFilter = Number req.query.task_filter
roundNumber = (rnum, rlength) ->
Math.round(parseFloat(rnum) * Math.pow(10, rlength)) / Math.pow(10, rlength)
# We fill this structure for a stacked Jit Chart
# `values` is... | 36929 | (head, req) ->
view = req.path.pop()
groupLevel = req.query.group_level
taskFilter = Number req.query.task_filter
roundNumber = (rnum, rlength) ->
Math.round(parseFloat(rnum) * Math.pow(10, rlength)) / Math.pow(10, rlength)
# We fill this structure for a stacked Jit Chart
# `values` is... | true | (head, req) ->
view = req.path.pop()
groupLevel = req.query.group_level
taskFilter = Number req.query.task_filter
roundNumber = (rnum, rlength) ->
Math.round(parseFloat(rnum) * Math.pow(10, rlength)) / Math.pow(10, rlength)
# We fill this structure for a stacked Jit Chart
# `values` is... |
[
{
"context": "###\n@author Martin Wawrusch (martin@wawrusch.com)\n###\n\nHoek = require 'hoek'\n",
"end": 27,
"score": 0.9998791813850403,
"start": 12,
"tag": "NAME",
"value": "Martin Wawrusch"
},
{
"context": "###\n@author Martin Wawrusch (martin@wawrusch.com)\n###\n\nHoek = require... | src/index.coffee | codedoctor/hapi-routes-oauth-management | 1 | ###
@author Martin Wawrusch (martin@wawrusch.com)
###
Hoek = require 'hoek'
i18n = require './i18n'
###
Main entry point for the plugin
@param [Plugin] plugin the HAPI plugin
@param [Object] options the plugin options
@option options [String|Function] _tenantId the account id to use, or an async function.
@option op... | 10293 | ###
@author <NAME> (<EMAIL>)
###
Hoek = require 'hoek'
i18n = require './i18n'
###
Main entry point for the plugin
@param [Plugin] plugin the HAPI plugin
@param [Object] options the plugin options
@option options [String|Function] _tenantId the account id to use, or an async function.
@option options [String] baseUr... | true | ###
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
Hoek = require 'hoek'
i18n = require './i18n'
###
Main entry point for the plugin
@param [Plugin] plugin the HAPI plugin
@param [Object] options the plugin options
@option options [String|Function] _tenantId the account id to use, or an async function.
@o... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999130368232727,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/contest-entry/uploader.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, form, input, i } from 'react-dom-factories'
el = React.createElement
export class Uploader extends ... | 162571 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, form, input, i } from 'react-dom-factories'
el = React.createElement
export class Uploader extends React.C... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, form, input, i } from 'react-dom-factories'
el = React.createElement
export class Uploader ... |
[
{
"context": ":32 UTC 2015\"\ndate_output = \"#{date}\\n\"\n\nemail = \"user@example.com\"\noscrc_file = \"email = #{email}\"\n\n# helpers to sp",
"end": 659,
"score": 0.9999105334281921,
"start": 643,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": "c file does not conta... | spec/changelog-entry-spec.coffee | lslezak/language-changes | 0 |
ChangelogEntry = require("../lib/changelog-entry")
child_process = require('child_process')
fs = require('fs')
# the provided waitsForPromise helper fails when the promise is resolved to a failure
# this is a complement helper for failed promises
# see https://goo.gl/VtFGVn
waitsForFailedPromise = (fn) ->
promise =... | 76158 |
ChangelogEntry = require("../lib/changelog-entry")
child_process = require('child_process')
fs = require('fs')
# the provided waitsForPromise helper fails when the promise is resolved to a failure
# this is a complement helper for failed promises
# see https://goo.gl/VtFGVn
waitsForFailedPromise = (fn) ->
promise =... | true |
ChangelogEntry = require("../lib/changelog-entry")
child_process = require('child_process')
fs = require('fs')
# the provided waitsForPromise helper fails when the promise is resolved to a failure
# this is a complement helper for failed promises
# see https://goo.gl/VtFGVn
waitsForFailedPromise = (fn) ->
promise =... |
[
{
"context": "l: user.emailAddresses[0].address,\n name: user.name,\n role: request.session.passport.member.",
"end": 788,
"score": 0.9585224986076355,
"start": 779,
"tag": "NAME",
"value": "user.name"
}
] | app/controllers/data_controller.coffee | HoistRnD/data.hoi.io | 0 |
hoist = require 'hoist-core'
Model= hoist.data.Model
throat = require 'throat'
User=hoist.models.User
DataRuleCollection=hoist.models.DataRuleCollection
ruleRunner=hoist.data.ruleRunner
errors=require '../platform/errors'
_=require 'underscore'
q=hoist.q
class DataController
getCurrentUser:(request) ->
#no user... | 112890 |
hoist = require 'hoist-core'
Model= hoist.data.Model
throat = require 'throat'
User=hoist.models.User
DataRuleCollection=hoist.models.DataRuleCollection
ruleRunner=hoist.data.ruleRunner
errors=require '../platform/errors'
_=require 'underscore'
q=hoist.q
class DataController
getCurrentUser:(request) ->
#no user... | true |
hoist = require 'hoist-core'
Model= hoist.data.Model
throat = require 'throat'
User=hoist.models.User
DataRuleCollection=hoist.models.DataRuleCollection
ruleRunner=hoist.data.ruleRunner
errors=require '../platform/errors'
_=require 'underscore'
q=hoist.q
class DataController
getCurrentUser:(request) ->
#no user... |
[
{
"context": "weet Button Prototype for Twitter on Android\n# By: Jason Valenti\n# If you have any questions tweet me: @jval3nti\n\n",
"end": 67,
"score": 0.9998628497123718,
"start": 54,
"tag": "NAME",
"value": "Jason Valenti"
},
{
"context": "ason Valenti\n# If you have any questio... | framer/backup.coffee | doctoroakin/FramerJS-Tweet-Button | 0 | # Tweet Button Prototype for Twitter on Android
# By: Jason Valenti
# If you have any questions tweet me: @jval3nti
# Setting up my images as layers
timeline = new Layer
x:0, y:0, width:1080, height:1919, image:"images/TwitterTweet_2.png"
timeline.visible = true
tweetBR = new Layer
x:0, y:0, width:1080, height... | 206541 | # Tweet Button Prototype for Twitter on Android
# By: <NAME>
# If you have any questions tweet me: @jval3nti
# Setting up my images as layers
timeline = new Layer
x:0, y:0, width:1080, height:1919, image:"images/TwitterTweet_2.png"
timeline.visible = true
tweetBR = new Layer
x:0, y:0, width:1080, height:1920, ... | true | # Tweet Button Prototype for Twitter on Android
# By: PI:NAME:<NAME>END_PI
# If you have any questions tweet me: @jval3nti
# Setting up my images as layers
timeline = new Layer
x:0, y:0, width:1080, height:1919, image:"images/TwitterTweet_2.png"
timeline.visible = true
tweetBR = new Layer
x:0, y:0, width:1080,... |
[
{
"context": "ll/salt.netapi.rest_cherrypy.html>\n#\n# Author:\n# HenryCook <henry@havingatinker.uk>\n\n{spawn, exec} = requir",
"end": 544,
"score": 0.9991105198860168,
"start": 535,
"tag": "NAME",
"value": "HenryCook"
},
{
"context": "pi.rest_cherrypy.html>\n#\n# Author:\n# He... | scripts/salt.coffee | HenryCook/hubot-scripts | 0 | # Description:
# Interacts with Salt minions
#
# Commands:
# hubot salt ping <host> - Salt Master pings the Salt minion.
# hubot salt puppet <host> - Runs Puppet on Salt minion.
#
# Configuration:
# SALT_API_ENDPOINT - The endpoint for Salt's REST API e.g. https://salt-master.foo.bar:8000
# SALT_API_USER - Sa... | 214289 | # Description:
# Interacts with Salt minions
#
# Commands:
# hubot salt ping <host> - Salt Master pings the Salt minion.
# hubot salt puppet <host> - Runs Puppet on Salt minion.
#
# Configuration:
# SALT_API_ENDPOINT - The endpoint for Salt's REST API e.g. https://salt-master.foo.bar:8000
# SALT_API_USER - Sa... | true | # Description:
# Interacts with Salt minions
#
# Commands:
# hubot salt ping <host> - Salt Master pings the Salt minion.
# hubot salt puppet <host> - Runs Puppet on Salt minion.
#
# Configuration:
# SALT_API_ENDPOINT - The endpoint for Salt's REST API e.g. https://salt-master.foo.bar:8000
# SALT_API_USER - Sa... |
[
{
"context": "#Language: European Portuguese\n#Translators: Tiago Silva\n\npt_PT =\n\n add: \"adicionar\"\n and: \"e\"\n back: \"",
"end": 56,
"score": 0.9998148679733276,
"start": 45,
"tag": "NAME",
"value": "Tiago Silva"
},
{
"context": "r\"\n and: \"e\"\n back: \"voltar\"\n ... | t9n/pt_PT.coffee | softwarerero/meteor-accounts-t9n | 80 | #Language: European Portuguese
#Translators: Tiago Silva
pt_PT =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "Alterar palavra-passe"
choosePassword: "Escolha uma palavra-passe"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createAccount: "Criar uma ... | 11018 | #Language: European Portuguese
#Translators: <NAME>
pt_PT =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createAccount: "Criar uma Conta"
currentPassword: "<PAS... | true | #Language: European Portuguese
#Translators: PI:NAME:<NAME>END_PI
pt_PT =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createA... |
[
{
"context": "& user.email == req.body.email && user.password == req.body.password\n\t\t\t\t\treturn res.json {\n\t\t\t\t\t\temail: user.email,\n\t",
"end": 3011,
"score": 0.6872391700744629,
"start": 2994,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | test/acceptance/coffee/helpers/MockV1Api.coffee | shyoshyo/web-sharelatex | 1 | express = require("express")
app = express()
bodyParser = require('body-parser')
sinon = require 'sinon'
app.use(bodyParser.json())
v1Id = 1000
module.exports = MockV1Api =
nextV1Id: -> v1Id++
users: { }
setUser: (id, user) ->
@users[id] = user
exportId: null
exportParams: null
setExportId: (id) ->
@e... | 190212 | express = require("express")
app = express()
bodyParser = require('body-parser')
sinon = require 'sinon'
app.use(bodyParser.json())
v1Id = 1000
module.exports = MockV1Api =
nextV1Id: -> v1Id++
users: { }
setUser: (id, user) ->
@users[id] = user
exportId: null
exportParams: null
setExportId: (id) ->
@e... | true | express = require("express")
app = express()
bodyParser = require('body-parser')
sinon = require 'sinon'
app.use(bodyParser.json())
v1Id = 1000
module.exports = MockV1Api =
nextV1Id: -> v1Id++
users: { }
setUser: (id, user) ->
@users[id] = user
exportId: null
exportParams: null
setExportId: (id) ->
@e... |
[
{
"context": "sion.envArrayToObject([\n\t\t\t'key1= test',\n\t\t\t'key2=test\\ntest',\n\t\t\t'key3=test ',\n\t\t\t'key4= test '\n\t\t\t'key5=test",
"end": 1095,
"score": 0.939504861831665,
"start": 1085,
"tag": "KEY",
"value": "test\\ntest"
},
{
"context": "test',\n\t\t\t'key3=test '... | test/15-conversions.spec.coffee | metamorfoso/balena-supervisor | 0 | { expect } = require './lib/chai-config'
conversion = require '../src/lib/conversions'
describe 'conversions', ->
describe 'envArrayToObject', ->
it 'should convert an env array to an object', ->
expect(conversion.envArrayToObject([
'key=value'
'test1=test2'
'k=v'
'equalsvalue=thisvaluehasan=ch... | 124857 | { expect } = require './lib/chai-config'
conversion = require '../src/lib/conversions'
describe 'conversions', ->
describe 'envArrayToObject', ->
it 'should convert an env array to an object', ->
expect(conversion.envArrayToObject([
'key=value'
'test1=test2'
'k=v'
'equalsvalue=thisvaluehasan=ch... | true | { expect } = require './lib/chai-config'
conversion = require '../src/lib/conversions'
describe 'conversions', ->
describe 'envArrayToObject', ->
it 'should convert an env array to an object', ->
expect(conversion.envArrayToObject([
'key=value'
'test1=test2'
'k=v'
'equalsvalue=thisvaluehasan=ch... |
[
{
"context": "ist` module unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set \"/n",
"end": 82,
"score": 0.9998832941055298,
"start": 65,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/node_list_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `NodeList` module unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
Test.set "/node_list.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one"></div>
<div id="two"><... | 38642 | #
# The `NodeList` module unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
Test.set "/node_list.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one"></div>
<div id="two"></div>
... | true | #
# The `NodeList` module unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
Test.set "/node_list.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<div id="one"></div>
<div id="two... |
[
{
"context": "dn'\n\npayload = {\n \"headers\": {\n \"x-real-ip\": \"42.121.112.219\",\n \"x-forwarded-for\": \"42.121.112.219\",\n \"h",
"end": 210,
"score": 0.9997230172157288,
"start": 196,
"tag": "IP_ADDRESS",
"value": "42.121.112.219"
},
{
"context": "al-ip\": \"42.121... | test/services/csdn.coffee | jianliaoim/talk-services | 40 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$csdn = loader.load 'csdn'
payload = {
"headers": {
"x-real-ip": "42.121.112.219",
"x-forwarded-for": "42.121.112.219",
"host": "talk.ai",
"x-nginx-proxy": "true",
"connectio... | 140045 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$csdn = loader.load 'csdn'
payload = {
"headers": {
"x-real-ip": "172.16.31.10",
"x-forwarded-for": "172.16.31.10",
"host": "talk.ai",
"x-nginx-proxy": "true",
"connection": ... | true | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$csdn = loader.load 'csdn'
payload = {
"headers": {
"x-real-ip": "PI:IP_ADDRESS:172.16.31.10END_PI",
"x-forwarded-for": "PI:IP_ADDRESS:172.16.31.10END_PI",
"host": "talk.ai",
"x-... |
[
{
"context": "###\n- Author : Iain M Hamilton - <iain@beakable.com> - http://www.beakable.com\n ",
"end": 30,
"score": 0.9998841881752014,
"start": 15,
"tag": "NAME",
"value": "Iain M Hamilton"
},
{
"context": "###\n- Author : Iain M Hamilton - <iain@beakable.com> - http://www.beakab... | jsiso/utils.coffee | WahlbergRu/Go-In-Shadow | 0 | ###
- Author : Iain M Hamilton - <iain@beakable.com> - http://www.beakable.com
Twitter: @beakable
###
###* jsiso/utils simple common functions used throughout JsIso *###
define ->
{
roundTo: (num, dec) ->
Math.round(num * 10 ** dec) / 10 ** dec
rand: (l, u) ->
Math.floor Math.random() * (u - ... | 149148 | ###
- Author : <NAME> - <<EMAIL>> - http://www.beakable.com
Twitter: @beakable
###
###* jsiso/utils simple common functions used throughout JsIso *###
define ->
{
roundTo: (num, dec) ->
Math.round(num * 10 ** dec) / 10 ** dec
rand: (l, u) ->
Math.floor Math.random() * (u - l + 1) + l
rem... | true | ###
- Author : PI:NAME:<NAME>END_PI - <PI:EMAIL:<EMAIL>END_PI> - http://www.beakable.com
Twitter: @beakable
###
###* jsiso/utils simple common functions used throughout JsIso *###
define ->
{
roundTo: (num, dec) ->
Math.round(num * 10 ** dec) / 10 ** dec
rand: (l, u) ->
Math.floor Math.random... |
[
{
"context": "parsed_parent_key'\n bucket_key: 'BUCKET.key'\n\n link_generator: Drug.getDru",
"end": 10583,
"score": 0.6168470978736877,
"start": 10577,
"tag": "KEY",
"value": "BUCKET"
},
{
"context": "template_data:\n bucket_key: ... | src/glados/static/coffee/MainPageApp.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | # Class in charge of rendering the index page of the ChEMBL web ui
class MainPageApp
# ----------------------------------------------------------------------------------------------------------------------
# Initialization
# ----------------------------------------------------------------------------------------------... | 23624 | # Class in charge of rendering the index page of the ChEMBL web ui
class MainPageApp
# ----------------------------------------------------------------------------------------------------------------------
# Initialization
# ----------------------------------------------------------------------------------------------... | true | # Class in charge of rendering the index page of the ChEMBL web ui
class MainPageApp
# ----------------------------------------------------------------------------------------------------------------------
# Initialization
# ----------------------------------------------------------------------------------------------... |
[
{
"context": "wn extends Region\n\n constructor: ->\n\n @name = \"Maeles Town\"\n @desc = \"Strength boost and artisan sh",
"end": 302,
"score": 0.5217328071594238,
"start": 300,
"tag": "NAME",
"value": "ae"
}
] | src/character/regions/MaelesTown.coffee | sadbear-/IdleLands | 0 |
Region = require "../base/Region"
`/**
* This region gives you strength and makes shops have better results.
*
* @name Maeles Town
* @effect +5% STR
* @effect Shop quality boost
* @category Norkos
* @package World Regions
*/`
class MaelesTown extends Region
constructor: ->
@name = "Maeles Town"
@desc ... | 211962 |
Region = require "../base/Region"
`/**
* This region gives you strength and makes shops have better results.
*
* @name Maeles Town
* @effect +5% STR
* @effect Shop quality boost
* @category Norkos
* @package World Regions
*/`
class MaelesTown extends Region
constructor: ->
@name = "M<NAME>les Town"
@d... | true |
Region = require "../base/Region"
`/**
* This region gives you strength and makes shops have better results.
*
* @name Maeles Town
* @effect +5% STR
* @effect Shop quality boost
* @category Norkos
* @package World Regions
*/`
class MaelesTown extends Region
constructor: ->
@name = "MPI:NAME:<NAME>END_PI... |
[
{
"context": " 'http'\n uuid: 'tentacle-uuid'\n token: 'tentacle-token'\n\n afterEach 'tear down meshblu', (done) ->\n ",
"end": 525,
"score": 0.9589356184005737,
"start": 511,
"tag": "PASSWORD",
"value": "tentacle-token"
},
{
"context": "etup message', ->\n spaces... | test/message-to-protobuf-spec.coffee | redaphid/meshblu-message-transformer-protobuf | 0 | shmock = require 'shmock'
enableDestroy = require 'server-destroy'
TestHelper = require './helpers'
MessageTransformer = require '..'
spaceshipSchema = require './data/spaceship-schema.json'
describe 'MessageToProtobuf', ->
beforeEach 'setup meshblu', (done) ->
@meshblu... | 208148 | shmock = require 'shmock'
enableDestroy = require 'server-destroy'
TestHelper = require './helpers'
MessageTransformer = require '..'
spaceshipSchema = require './data/spaceship-schema.json'
describe 'MessageToProtobuf', ->
beforeEach 'setup meshblu', (done) ->
@meshblu... | true | shmock = require 'shmock'
enableDestroy = require 'server-destroy'
TestHelper = require './helpers'
MessageTransformer = require '..'
spaceshipSchema = require './data/spaceship-schema.json'
describe 'MessageToProtobuf', ->
beforeEach 'setup meshblu', (done) ->
@meshblu... |
[
{
"context": "\tPerson:\n\t\n\t\tclass Person\n\t\t\n\t\t\tconstructor: ( id, firstName, lastName, phoneNumber, emailAddress, photoURL, c",
"end": 866,
"score": 0.9909998774528503,
"start": 857,
"tag": "NAME",
"value": "firstName"
},
{
"context": "\t\tclass Person\n\t\t\n\t\t\tconstr... | src/main/coffee/mygps/mygps/model/Person.coffee | vandsonlima/SSP | 17 | #
# Licensed to Apereo under one or more contributor license
# agreements. See the NOTICE file distributed with this work
# for additional information regarding copyright ownership.
# Apereo licenses this file to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file
# except in complian... | 127532 | #
# Licensed to Apereo under one or more contributor license
# agreements. See the NOTICE file distributed with this work
# for additional information regarding copyright ownership.
# Apereo licenses this file to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file
# except in complian... | true | #
# Licensed to Apereo under one or more contributor license
# agreements. See the NOTICE file distributed with this work
# for additional information regarding copyright ownership.
# Apereo licenses this file to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file
# except in complian... |
[
{
"context": "e: third\n the_field: rest\n\ncontenders: [\n \"Michael Phelps\"\n \"Liu Xiang\"\n \"Yao Ming\"\n \"Allyson Felix\"\n \"",
"end": 301,
"score": 0.999873697757721,
"start": 287,
"tag": "NAME",
"value": "Michael Phelps"
},
{
"context": "field: rest\n\ncontende... | test/fixtures/execution/test_splats.coffee | tlrobinson/coffee-script | 1 | func: first, second, rest... =>
rest.join(' ')
result: func(1, 2, 3, 4, 5)
print(result is "3 4 5")
gold: silver: bronze: the_field: null
medalists: first, second, third, rest... =>
gold: first
silver: second
bronze: third
the_field: rest
contenders: [
"Michael Phelps"
"Liu Xiang"
"... | 131898 | func: first, second, rest... =>
rest.join(' ')
result: func(1, 2, 3, 4, 5)
print(result is "3 4 5")
gold: silver: bronze: the_field: null
medalists: first, second, third, rest... =>
gold: first
silver: second
bronze: third
the_field: rest
contenders: [
"<NAME>"
"<NAME>"
"<NAME>"
"... | true | func: first, second, rest... =>
rest.join(' ')
result: func(1, 2, 3, 4, 5)
print(result is "3 4 5")
gold: silver: bronze: the_field: null
medalists: first, second, third, rest... =>
gold: first
silver: second
bronze: third
the_field: rest
contenders: [
"PI:NAME:<NAME>END_PI"
"PI:NAME:... |
[
{
"context": "\n\n \"comment\" : \"comments\"\n \"foobar\" : \"foobars\"\n \"newsletter\" : \"newsletters\"\n\n \"old_news\" ",
"end": 1498,
"score": 0.9904502034187317,
"start": 1491,
"tag": "NAME",
"value": "foobars"
},
{
"context": ": 'Actionwebservice'\n \"david'... | node_modules/underscore.inflections/test/inflections_test.coffee | npupillo/json-server | 1 | root = exports ? @
_ = root._ or require 'underscore'
if typeof exports isnt "undefined"
_.mixin require '../src/underscore.inflections'
defaultUncountables = [
'equipment', 'information', 'rice', 'money', 'species', 'series',
'fish', 'sheep', 'jeans', 'moose', 'deer', 'news'
]
singularToPlural =
"search" ... | 181069 | root = exports ? @
_ = root._ or require 'underscore'
if typeof exports isnt "undefined"
_.mixin require '../src/underscore.inflections'
defaultUncountables = [
'equipment', 'information', 'rice', 'money', 'species', 'series',
'fish', 'sheep', 'jeans', 'moose', 'deer', 'news'
]
singularToPlural =
"search" ... | true | root = exports ? @
_ = root._ or require 'underscore'
if typeof exports isnt "undefined"
_.mixin require '../src/underscore.inflections'
defaultUncountables = [
'equipment', 'information', 'rice', 'money', 'species', 'series',
'fish', 'sheep', 'jeans', 'moose', 'deer', 'news'
]
singularToPlural =
"search" ... |
[
{
"context": "://www.tcs.de\n# a little tool based on the work of Lee Machin used to capture image of your webcam right in you",
"end": 127,
"score": 0.9997201561927795,
"start": 117,
"tag": "NAME",
"value": "Lee Machin"
}
] | src/static/js/cheesecake.coffee | exinferis/cheeseCake | 0 | # # CheeseCake
# Team Centric Software GmbH, Exinferis 2012
# http://www.tcs.de
# a little tool based on the work of Lee Machin used to capture image of your webcam right in your browser
# and uploading them to s3 directly using a node.js based service for generating the s3 Signature and Policy.
# Will not work on an... | 89225 | # # CheeseCake
# Team Centric Software GmbH, Exinferis 2012
# http://www.tcs.de
# a little tool based on the work of <NAME> used to capture image of your webcam right in your browser
# and uploading them to s3 directly using a node.js based service for generating the s3 Signature and Policy.
# Will not work on anythi... | true | # # CheeseCake
# Team Centric Software GmbH, Exinferis 2012
# http://www.tcs.de
# a little tool based on the work of PI:NAME:<NAME>END_PI used to capture image of your webcam right in your browser
# and uploading them to s3 directly using a node.js based service for generating the s3 Signature and Policy.
# Will not ... |
[
{
"context": "already taken.')\n else\n password = hash password\n db.run \"INSERT INTO Users (Username, Pa",
"end": 768,
"score": 0.95660400390625,
"start": 755,
"tag": "PASSWORD",
"value": "hash password"
},
{
"context": "password ]\n return done n... | src/passport.coffee | MWPuppire/auth | 0 | LocalStrategy = require('passport-local').Strategy
crypto = require 'crypto'
hash = (str) ->
crypto.createHash('sha256').update(str).digest 'hex'
module.exports = (passport, db) ->
passport.serializeUser (user, done) ->
done null, user
passport.deserializeUser (user, done) ->
done null,... | 210897 | LocalStrategy = require('passport-local').Strategy
crypto = require 'crypto'
hash = (str) ->
crypto.createHash('sha256').update(str).digest 'hex'
module.exports = (passport, db) ->
passport.serializeUser (user, done) ->
done null, user
passport.deserializeUser (user, done) ->
done null,... | true | LocalStrategy = require('passport-local').Strategy
crypto = require 'crypto'
hash = (str) ->
crypto.createHash('sha256').update(str).digest 'hex'
module.exports = (passport, db) ->
passport.serializeUser (user, done) ->
done null, user
passport.deserializeUser (user, done) ->
done null,... |
[
{
"context": " nickname :\n label : 'Nickname'\n cssClass : 'custom-link-view'\n ",
"end": 6454,
"score": 0.8320363163948059,
"start": 6446,
"tag": "NAME",
"value": "Nickname"
}
] | client/app/lib/providers/machinesettingsgeneralview.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
KDView = kd.View
Encoder = require 'htmlencode'
Machine = require './machine'
isKoding = require 'app/util/isKoding'
showError = require 'app/util/showError'
selectText = requi... | 4268 | kd = require 'kd'
KDView = kd.View
Encoder = require 'htmlencode'
Machine = require './machine'
isKoding = require 'app/util/isKoding'
showError = require 'app/util/showError'
selectText = requi... | true | kd = require 'kd'
KDView = kd.View
Encoder = require 'htmlencode'
Machine = require './machine'
isKoding = require 'app/util/isKoding'
showError = require 'app/util/showError'
selectText = requi... |
[
{
"context": "Formbuilder.registerField 'textarea',\n\n name: 'Long Answer'\n\n order: 5\n\n view: \"\"\"\n <textarea class='rf",
"end": 59,
"score": 0.8853768110275269,
"start": 48,
"tag": "NAME",
"value": "Long Answer"
}
] | src/scripts/fields/textarea.coffee | ahashmi929/formbuilder | 0 | Formbuilder.registerField 'textarea',
name: 'Long Answer'
order: 5
view: """
<textarea class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>'></textarea>
"""
edit: """
<%= Formbuilder.templates['edit/populate_from']({ rf: rf }) %>
"""
addButton: """
<span class="fa fa-paragraph"><... | 168763 | Formbuilder.registerField 'textarea',
name: '<NAME>'
order: 5
view: """
<textarea class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>'></textarea>
"""
edit: """
<%= Formbuilder.templates['edit/populate_from']({ rf: rf }) %>
"""
addButton: """
<span class="fa fa-paragraph"></span... | true | Formbuilder.registerField 'textarea',
name: 'PI:NAME:<NAME>END_PI'
order: 5
view: """
<textarea class='rf-size-<%= rf.get(Formbuilder.options.mappings.SIZE) %>'></textarea>
"""
edit: """
<%= Formbuilder.templates['edit/populate_from']({ rf: rf }) %>
"""
addButton: """
<span class="fa fa-par... |
[
{
"context": ": window.current_url()\n name: name\n caption: window.current_level_name()\n ",
"end": 2753,
"score": 0.9952427744865417,
"start": 2749,
"tag": "NAME",
"value": "name"
}
] | app/assets/javascripts/packs/show-facebook.js.coffee | MichaelHoste/sokoban | 1 | $ ->
# connect to facebook
window.fbAsyncInit = ->
FB.init(
appId: $('meta[property="fb:app_id"]').attr('content')
channelUrl: '//sokoban-game.com/channel.html'
status: true
xfbml: true
cookie: true
frictionlessRequests: true
)
window.current_level_id = ->
$('#leve... | 157368 | $ ->
# connect to facebook
window.fbAsyncInit = ->
FB.init(
appId: $('meta[property="fb:app_id"]').attr('content')
channelUrl: '//sokoban-game.com/channel.html'
status: true
xfbml: true
cookie: true
frictionlessRequests: true
)
window.current_level_id = ->
$('#leve... | true | $ ->
# connect to facebook
window.fbAsyncInit = ->
FB.init(
appId: $('meta[property="fb:app_id"]').attr('content')
channelUrl: '//sokoban-game.com/channel.html'
status: true
xfbml: true
cookie: true
frictionlessRequests: true
)
window.current_level_id = ->
$('#leve... |
[
{
"context": "###\njQuery Gridly\nCopyright 2013 Kevin Sylvestre\n1.2.3\n###\n\n\"use strict\"\n\n$ = jQuery\n\nclass Animat",
"end": 48,
"score": 0.9998623132705688,
"start": 33,
"tag": "NAME",
"value": "Kevin Sylvestre"
}
] | javascripts/jquery.gridly.coffee | jiji262/jquery-gridly | 2 | ###
jQuery Gridly
Copyright 2013 Kevin Sylvestre
1.2.3
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
r... | 44401 | ###
jQuery Gridly
Copyright 2013 <NAME>
1.2.3
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
return res... | true | ###
jQuery Gridly
Copyright 2013 PI:NAME:<NAME>END_PI
1.2.3
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
... |
[
{
"context": "').notEmpty().isEmail()\n req.assert('password', 'Password cannot be blank.').notEmpty()\n redirect = req.param('redir",
"end": 1048,
"score": 0.5888108015060425,
"start": 1030,
"tag": "PASSWORD",
"value": "Password cannot be"
},
{
"context": ".user.id).then (user) ->... | src/controllers/user_controller.coffee | dwetterau/delta | 0 | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('email', 'Email is not valid.').isEmail()
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.').equals(req.body.passwor... | 154279 | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('email', 'Email is not valid.').isEmail()
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.').equals(req.body.passwor... | true | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('email', 'Email is not valid.').isEmail()
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.').equals(req.body.passwor... |
[
{
"context": "ngs.findOne({space: Session.get(\"spaceId\"), key: \"contacts_hidden_users\"})\n\t\t\t\t\t\treturn setting?.values || []\n\t\t\t\toptiona",
"end": 279,
"score": 0.7541078329086304,
"start": 258,
"tag": "KEY",
"value": "contacts_hidden_users"
}
] | creator/packages/steedos-creator/client/views/contacts_settings_hidden_modal.coffee | yicone/steedos-platform | 42 | Template.contacts_settings_hidden_modal.helpers
users_schema: ()->
fields =
hidden_users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "contacts_hidden_users"})
return setting?.values || []
... | 71509 | Template.contacts_settings_hidden_modal.helpers
users_schema: ()->
fields =
hidden_users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "<KEY>"})
return setting?.values || []
optional: fals... | true | Template.contacts_settings_hidden_modal.helpers
users_schema: ()->
fields =
hidden_users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "PI:KEY:<KEY>END_PI"})
return setting?.values || []
o... |
[
{
"context": " host: \"web-prod.in.koding.com\",\n# login: \"guest\",\n# password: \"x1srTA7!%Vb}$n|S\"\n# }\noption",
"end": 98,
"score": 0.9882626533508301,
"start": 93,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "ding.com\",\n# login: \"guest\",\n# pa... | node_modules_koding/broker/examples/exchange2exchange.coffee | ezgikaysi/koding | 1 | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "x1srTA7!%Vb}$n|S"
# }
options = {host: "localhost"}
destination = "destinationExchange"
source = "sourceExchange"
broker = new Broker options
broker.bindExchange destination, source, "test"
| 144458 | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "<PASSWORD>"
# }
options = {host: "localhost"}
destination = "destinationExchange"
source = "sourceExchange"
broker = new Broker options
broker.bindExchange destination, source, "test"
| true | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "PI:PASSWORD:<PASSWORD>END_PI"
# }
options = {host: "localhost"}
destination = "destinationExchange"
source = "sourceExchange"
broker = new Broker options
broker.bindExchange destination, source, "tes... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n# Elements setup",
"end": 146,
"score": 0.9994388818740845,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 74newuber.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: ""
# Elements setup
bg = new BackgroundLayer
backgroundColor: "gray"
mapClip = new Layer
width: Screen.width * 1.5
height: Screen.width * 1... | 500 | # 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: ""
# Elements setup
bg = new BackgroundLayer
backgroundColor: "gray"
mapClip = new Layer
width: Screen.width * 1.5
height: Screen.width *... | 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: ""
# Elements setup
bg = new BackgroundLayer
backgroundColor: "gray"
mapClip = new Layer
width: Screen.width * 1.5
height: ... |
[
{
"context": "ge-section-subheading').text().should.containEql 'Pablo Picasso'\n",
"end": 1657,
"score": 0.9997685551643372,
"start": 1644,
"tag": "NAME",
"value": "Pablo Picasso"
}
] | src/desktop/apps/fair/test/client/overview.coffee | kanaabe/force | 1 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Fair = require '../../../../models/fair.coffee'
xdescribe 'ForYouView', ->
before (done) ->
... | 140367 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Fair = require '../../../../models/fair.coffee'
xdescribe 'ForYouView', ->
before (done) ->
... | true | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
Backbone = require 'backbone'
sinon = require 'sinon'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Fair = require '../../../../models/fair.coffee'
xdescribe 'ForYouView', ->
before (done) ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9995357394218445,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-beforeexit-event.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... | 52981 | # 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": "Scratch way\nopen-source under the MIT license, (c) Ethan Arterberry, 2015\n\n<broadcast.coffee>\nwritten in CoffeeScript",
"end": 122,
"score": 0.9998762011528015,
"start": 106,
"tag": "NAME",
"value": "Ethan Arterberry"
}
] | broadcast.coffee | sargeant45/broadcast | 0 | ###
broadcast 1.2
JavaScript function passing done the Scratch way
open-source under the MIT license, (c) Ethan Arterberry, 2015
<broadcast.coffee>
written in CoffeeScript, JavaScript done right
###
class Broadcast
constructor: ->
@broadcasts = {}
console?.log "New Broadcast class created."
create: (id, e... | 113838 | ###
broadcast 1.2
JavaScript function passing done the Scratch way
open-source under the MIT license, (c) <NAME>, 2015
<broadcast.coffee>
written in CoffeeScript, JavaScript done right
###
class Broadcast
constructor: ->
@broadcasts = {}
console?.log "New Broadcast class created."
create: (id, execute) ->... | true | ###
broadcast 1.2
JavaScript function passing done the Scratch way
open-source under the MIT license, (c) PI:NAME:<NAME>END_PI, 2015
<broadcast.coffee>
written in CoffeeScript, JavaScript done right
###
class Broadcast
constructor: ->
@broadcasts = {}
console?.log "New Broadcast class created."
create: (i... |
[
{
"context": "otator.Plugin.Touch.utils = do ->\n # Pinched from Paul Irish's blog.\n # See: http://paulirish.com/2011/req",
"end": 2629,
"score": 0.7603439092636108,
"start": 2622,
"tag": "NAME",
"value": "Paul Ir"
}
] | src/touch/utils.coffee | ck--/annotator.touch.js | 40 | # Adds a new "tap" event to jQuery. This offers improved performance over
# click for touch devices whcih often have up to a 300ms delay before
# triggering callbacks. Instead it uses a combination of touchstart and
# touchend events to to create a fake click. It will also cancel the event
# after 300ms (to allow the u... | 105824 | # Adds a new "tap" event to jQuery. This offers improved performance over
# click for touch devices whcih often have up to a 300ms delay before
# triggering callbacks. Instead it uses a combination of touchstart and
# touchend events to to create a fake click. It will also cancel the event
# after 300ms (to allow the u... | true | # Adds a new "tap" event to jQuery. This offers improved performance over
# click for touch devices whcih often have up to a 300ms delay before
# triggering callbacks. Instead it uses a combination of touchstart and
# touchend events to to create a fake click. It will also cancel the event
# after 300ms (to allow the u... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991607069969177,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-setup-master-argv.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... | 111417 | # 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": "hubot <text>なんとか - <text>っぽい日本酒を探す\n#\n# Author:\n# yagizombie <yanagihara+zombie@brainpad.co.jp>\n\nhttp = requir",
"end": 346,
"score": 0.9996864795684814,
"start": 336,
"tag": "USERNAME",
"value": "yagizombie"
},
{
"context": "んとか - <text>っぽい日本酒を探す\n#\n# Author:\n#... | src/conomi-sake.coffee | yagizombie/hubot-conomi-sake | 1 | # Description
# 日本酒の情報を取得する
# https://www.sakenote.com/access_tokens (Sakenote Database API)
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot <text(都道府県)>の酒 - <text(都道府県)>のお酒を探す
# hubot <text>ってお酒 - <text>についての日本酒情報を表示する
# hubot <text>なんとか - <text>っぽい日本酒を探す
... | 152357 | # Description
# 日本酒の情報を取得する
# https://www.sakenote.com/access_tokens (Sakenote Database API)
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot <text(都道府県)>の酒 - <text(都道府県)>のお酒を探す
# hubot <text>ってお酒 - <text>についての日本酒情報を表示する
# hubot <text>なんとか - <text>っぽい日本酒を探す
... | true | # Description
# 日本酒の情報を取得する
# https://www.sakenote.com/access_tokens (Sakenote Database API)
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot <text(都道府県)>の酒 - <text(都道府県)>のお酒を探す
# hubot <text>ってお酒 - <text>についての日本酒情報を表示する
# hubot <text>なんとか - <text>っぽい日本酒を探す
... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.999871551990509,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/Bounds.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.Box
constructor: (x0 = 0, y0 = 0, z0 = 0, x1 = 1, y1 = 1, z1 = 1) ->
@min = vec2.fromValues(x0, y0, z0)
@max = vec2.fromValues(x1, y1, z1)
normalize: ->
for i in [0..2]
if ... | 89449 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.Box
constructor: (x0 = 0, y0 = 0, z0 = 0, x1 = 1, y1 = 1, z1 = 1) ->
@min = vec2.fromValues(x0, y0, z0)
@max = vec2.fromValues(x1, y1, z1)
normalize: ->
for i in [0..2]
if @min[i... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.Box
constructor: (x0 = 0, y0 = 0, z0 = 0, x1 = 1, y1 = 1, z1 = 1) ->
@min = vec2.fromValues(x0, y0, z0)
@max = vec2.fromValues(x1, y1, z1)
normalize: ->
for i in [0..2... |
[
{
"context": "###\n# cedux.coffee\n# @author Sidharth Mishra - sidmishraw\n# @description A minimal redux clone",
"end": 44,
"score": 0.999885082244873,
"start": 29,
"tag": "NAME",
"value": "Sidharth Mishra"
},
{
"context": "###\n# cedux.coffee\n# @author Sidharth Mishra - sidmishraw... | src/cfs/cedux.coffee | sidmishraw/cedux | 1 | ###
# cedux.coffee
# @author Sidharth Mishra - sidmishraw
# @description A minimal redux clone in coffeescript
# @created Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
# @last-modified Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
###
#===========================================================#
# /𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝/ ... | 179376 | ###
# cedux.coffee
# @author <NAME> - sidmishraw
# @description A minimal redux clone in coffeescript
# @created Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
# @last-modified Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
###
#===========================================================#
# /𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝/ ... | true | ###
# cedux.coffee
# @author PI:NAME:<NAME>END_PI - sidmishraw
# @description A minimal redux clone in coffeescript
# @created Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
# @last-modified Sun Nov 19 2017 23:05:43 GMT-0800 (PST)
###
#===========================================================#
# /𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝𝞝/ ... |
[
{
"context": "lor Picker for the Generator for WolfCage\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 76,
"score": 0.9998515844345093,
"start": 62,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": "e\n\n@author Destin Moulton\n@git htt... | src/MultiColorPicker.coffee | destinmoulton/cagen | 0 | ###
The Color Picker for the Generator for WolfCage
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Add color pickers with color inputs.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.coffee")
co... | 216797 | ###
The Color Picker for the Generator for WolfCage
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Add color pickers with color inputs.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.coffee")
colors = r... | true | ###
The Color Picker for the Generator for WolfCage
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
Add color pickers with color inputs.
###
DOM = require("./DOM.coffee")
Templates = require("./Templates.coffe... |
[
{
"context": "eorge.rhcloud.com/shuttle/\"\n localHost = \"http://127.0.0.1:8000/shuttle/\"\n\n host = externalHost\n\n useLocal",
"end": 172,
"score": 0.9983551502227783,
"start": 163,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ey('')\n login: (user, password) ... | js/services/core.coffee | bassoGeorge/shuttle-up-2015 | 0 | angular.module 'shuttleApp.services', []
.provider('saApiEndpoints', () ->
externalHost = "http://django-bassogeorge.rhcloud.com/shuttle/"
localHost = "http://127.0.0.1:8000/shuttle/"
host = externalHost
useLocalHost: (b) ->
if Boolean(b)
host = localHost
else
host = externalHost
$get: ... | 29144 | angular.module 'shuttleApp.services', []
.provider('saApiEndpoints', () ->
externalHost = "http://django-bassogeorge.rhcloud.com/shuttle/"
localHost = "http://127.0.0.1:8000/shuttle/"
host = externalHost
useLocalHost: (b) ->
if Boolean(b)
host = localHost
else
host = externalHost
$get: ... | true | angular.module 'shuttleApp.services', []
.provider('saApiEndpoints', () ->
externalHost = "http://django-bassogeorge.rhcloud.com/shuttle/"
localHost = "http://127.0.0.1:8000/shuttle/"
host = externalHost
useLocalHost: (b) ->
if Boolean(b)
host = localHost
else
host = externalHost
$get: ... |
[
{
"context": "werOptions.map (answerOption) =>\n key = \"question_#{questionId}_answer_#{answerOption.id}\"\n li\n classNa",
"end": 1015,
"score": 0.9949952363967896,
"start": 983,
"tag": "KEY",
"value": "question_#{questionId}_answer_#{"
},
{
"context": ... | app/assets/javascripts/components/question.coffee | roqua/screensmart | 2 | {div, h1, p, em, ul, li, input, label, i} = React.DOM
@Question = React.createClass
displayName: 'Question'
mixins: [ScrollToOnMountMixin]
propTypes:
question: React.PropTypes.object.isRequired
onAnswerChange: React.PropTypes.func.isRequired
editable: React.PropTypes.bool.isRequired
onOptionClic... | 104270 | {div, h1, p, em, ul, li, input, label, i} = React.DOM
@Question = React.createClass
displayName: 'Question'
mixins: [ScrollToOnMountMixin]
propTypes:
question: React.PropTypes.object.isRequired
onAnswerChange: React.PropTypes.func.isRequired
editable: React.PropTypes.bool.isRequired
onOptionClic... | true | {div, h1, p, em, ul, li, input, label, i} = React.DOM
@Question = React.createClass
displayName: 'Question'
mixins: [ScrollToOnMountMixin]
propTypes:
question: React.PropTypes.object.isRequired
onAnswerChange: React.PropTypes.func.isRequired
editable: React.PropTypes.bool.isRequired
onOptionClic... |
[
{
"context": " if passwordChanged\n $scope.user.password = $scope.userData.password\n $scope.user.$update().then ->\n postU",
"end": 714,
"score": 0.9799529910087585,
"start": 690,
"tag": "PASSWORD",
"value": "$scope.userData.password"
},
{
"context": "l: $scope.us... | frontend/src/controllers/private/profile.coffee | greysteil/evaluator | 1 | angular.module 'evaluator'
.controller 'ProfileController', ($scope, UserAuth, GUC_ID_REGEX, $state) ->
$scope.processing = false
$scope.user = UserAuth.user
$scope.userData = {}
$scope.loading = true
$scope.user.reload().then ->
$scope.loading = false
$scope.update = ->
return i... | 93824 | angular.module 'evaluator'
.controller 'ProfileController', ($scope, UserAuth, GUC_ID_REGEX, $state) ->
$scope.processing = false
$scope.user = UserAuth.user
$scope.userData = {}
$scope.loading = true
$scope.user.reload().then ->
$scope.loading = false
$scope.update = ->
return i... | true | angular.module 'evaluator'
.controller 'ProfileController', ($scope, UserAuth, GUC_ID_REGEX, $state) ->
$scope.processing = false
$scope.user = UserAuth.user
$scope.userData = {}
$scope.loading = true
$scope.user.reload().then ->
$scope.loading = false
$scope.update = ->
return i... |
[
{
"context": "iplayer coin-gathering arena.'\n }\n {\n name: 'Harrowland'\n difficulty: 2\n id: 'harrowland'\n image",
"end": 3034,
"score": 0.7411518096923828,
"start": 3024,
"tag": "NAME",
"value": "Harrowland"
},
{
"context": "eir friends!'\n }\n]\n\noldArenas = [\n... | app/views/ladder/MainLadderView.coffee | adamcsillag/codecombat | 1 | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... | 138963 | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... | true | RootView = require 'views/core/RootView'
template = require 'templates/play/ladder_home'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''
model: LevelSession
constructor: (model) ->
super()
@ur... |
[
{
"context": "': \"\"\"\n {\n ${1}\n @author(Name <x@y.at>)\n @abstract(a short description)\n ",
"end": 6023,
"score": 0.9997918009757996,
"start": 6017,
"tag": "EMAIL",
"value": "x@y.at"
},
{
"context": "': \"\"\"\n {\n ${1}\n @au... | snippets/language-pascal.cson | eisenwinter/atom-language-pascal-hgb | 0 | '.source.pascal':
'array declaration (var)':
'prefix': 'arrayd'
'body': 'ARRAY[0..${1:size}] OF $0'
'array declaration (const)':
'prefix': 'arrayc'
'body': 'ARRAY[0..${1:size}] OF = ($0)'
'begin … end':
'prefix': 'begin'
'body': """
BEGIN
\t$0
END;
"""
'case … end':... | 129153 | '.source.pascal':
'array declaration (var)':
'prefix': 'arrayd'
'body': 'ARRAY[0..${1:size}] OF $0'
'array declaration (const)':
'prefix': 'arrayc'
'body': 'ARRAY[0..${1:size}] OF = ($0)'
'begin … end':
'prefix': 'begin'
'body': """
BEGIN
\t$0
END;
"""
'case … end':... | true | '.source.pascal':
'array declaration (var)':
'prefix': 'arrayd'
'body': 'ARRAY[0..${1:size}] OF $0'
'array declaration (const)':
'prefix': 'arrayc'
'body': 'ARRAY[0..${1:size}] OF = ($0)'
'begin … end':
'prefix': 'begin'
'body': """
BEGIN
\t$0
END;
"""
'case … end':... |
[
{
"context": "n. can disable with this\n # https://github.com/webpack/webpack/issues/4240\n node:\n Buffer: false",
"end": 5811,
"score": 0.9968959093093872,
"start": 5804,
"tag": "USERNAME",
"value": "webpack"
},
{
"context": "tches, (match) ->\n key = match.replace('p... | Gulpfile.coffee | FreeRoamApp/free-roam | 14 | fs = require 'fs'
del = require 'del'
_defaults = require 'lodash/defaults'
_defaultsDeep = require 'lodash/defaultsDeep'
_map = require 'lodash/map'
_mapValues = require 'lodash/mapValues'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'webpack'
autoprefixer = require 'autoprefixer'
manifest = req... | 168101 | fs = require 'fs'
del = require 'del'
_defaults = require 'lodash/defaults'
_defaultsDeep = require 'lodash/defaultsDeep'
_map = require 'lodash/map'
_mapValues = require 'lodash/mapValues'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'webpack'
autoprefixer = require 'autoprefixer'
manifest = req... | true | fs = require 'fs'
del = require 'del'
_defaults = require 'lodash/defaults'
_defaultsDeep = require 'lodash/defaultsDeep'
_map = require 'lodash/map'
_mapValues = require 'lodash/mapValues'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'webpack'
autoprefixer = require 'autoprefixer'
manifest = req... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999159574508667,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/fancy-graph.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyGraph
container: document.getElementsByClassName('js-fancy-graph')
constructor: ->
$(window).on 'throttled-resize', @resize... | 164591 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyGraph
container: document.getElementsByClassName('js-fancy-graph')
constructor: ->
$(window).on 'throttled-resize', @resize
$(... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FancyGraph
container: document.getElementsByClassName('js-fancy-graph')
constructor: ->
$(window).on 'throttled-resize',... |
[
{
"context": "ut mostly focuses on helping allies.\n *\n * @name Cleric\n * @magical\n * @support\n * @hp 40+[level*12]+[",
"end": 172,
"score": 0.6327959299087524,
"start": 166,
"tag": "NAME",
"value": "Cleric"
}
] | src/character/classes/Cleric.coffee | sadbear-/IdleLands | 0 |
Class = require "./../base/Class"
`/**
* This class is a healing class. It has some powerful damaging spells, but mostly focuses on helping allies.
*
* @name Cleric
* @magical
* @support
* @hp 40+[level*12]+[con*5]
* @mp 150+[level*3]+[int*2]+[wis*4]
* @itemScore int*0.7 + wis*1.5 - str*0.4 - dex*0.4
... | 39705 |
Class = require "./../base/Class"
`/**
* This class is a healing class. It has some powerful damaging spells, but mostly focuses on helping allies.
*
* @name <NAME>
* @magical
* @support
* @hp 40+[level*12]+[con*5]
* @mp 150+[level*3]+[int*2]+[wis*4]
* @itemScore int*0.7 + wis*1.5 - str*0.4 - dex*0.4
... | true |
Class = require "./../base/Class"
`/**
* This class is a healing class. It has some powerful damaging spells, but mostly focuses on helping allies.
*
* @name PI:NAME:<NAME>END_PI
* @magical
* @support
* @hp 40+[level*12]+[con*5]
* @mp 150+[level*3]+[int*2]+[wis*4]
* @itemScore int*0.7 + wis*1.5 - str*... |
[
{
"context": "rty : 'value'\n auth:\n username : 'Afmrak'\n password : 'stubby'\n response :\n ",
"end": 399,
"score": 0.9980559349060059,
"start": 393,
"tag": "USERNAME",
"value": "Afmrak"
},
{
"context": " username : 'Afmrak'\n password... | spec/contract.spec.coffee | bbc/stubby4node | 0 | sut = null
assert = require 'assert'
describe 'contract', ->
data = null
beforeEach ->
sut = require('../lib/models/contract')
data =
request :
url : "something"
method : 'POST'
query :
first: 'value1'
second: 'value2'
post : 'form data'
he... | 57487 | sut = null
assert = require 'assert'
describe 'contract', ->
data = null
beforeEach ->
sut = require('../lib/models/contract')
data =
request :
url : "something"
method : 'POST'
query :
first: 'value1'
second: 'value2'
post : 'form data'
he... | true | sut = null
assert = require 'assert'
describe 'contract', ->
data = null
beforeEach ->
sut = require('../lib/models/contract')
data =
request :
url : "something"
method : 'POST'
query :
first: 'value1'
second: 'value2'
post : 'form data'
he... |
[
{
"context": "r.show()\n )\n\n _pageOptions: (e) =>\n KEY = 'optionsView'\n\n row = $(e.target).parents('.page-listing')\n",
"end": 3666,
"score": 0.986200213432312,
"start": 3655,
"tag": "KEY",
"value": "optionsView"
},
{
"context": "end(ich.tpl_show_user({\n username... | jotleaf/static/js/views_home.coffee | reverie/jotleaf.com | 1 | # views_home.coffee is for TopViews other than those that are related just to authentication/accounts and the leaf-viewer
class IndexView extends BaseRegistration
@bodyClass: 'landing-page'
documentTitle: 'Welcome to Jotleaf'
render: =>
context = @commonContext()
content = ich.tpl_index(context)
@s... | 51791 | # views_home.coffee is for TopViews other than those that are related just to authentication/accounts and the leaf-viewer
class IndexView extends BaseRegistration
@bodyClass: 'landing-page'
documentTitle: 'Welcome to Jotleaf'
render: =>
context = @commonContext()
content = ich.tpl_index(context)
@s... | true | # views_home.coffee is for TopViews other than those that are related just to authentication/accounts and the leaf-viewer
class IndexView extends BaseRegistration
@bodyClass: 'landing-page'
documentTitle: 'Welcome to Jotleaf'
render: =>
context = @commonContext()
content = ich.tpl_index(context)
@s... |
[
{
"context": ")\n ok keypath.base is @obj\n equal keypath.key, 'foo.bar.baz'\n\n\n###\n# get(key)\n###\ntest 'get(key) with a simpl",
"end": 676,
"score": 0.9577027559280396,
"start": 665,
"tag": "KEY",
"value": "foo.bar.baz"
},
{
"context": ", 'newVal'\n equal oldVal, 'quxVal'\n ... | tests/batman/observable/observable_test.coffee | davidcornu/batman | 0 | getPropertyAccessor = ->
get: createSpy ->
set: createSpy()
unset: createSpy()
QUnit.module 'Batman.Observable',
setup: ->
@obj = Batman
foo: Batman
bar: Batman
baz: Batman
qux: 'quxVal'
@obj.foo.bar.baz.event('corge', @corgeEventSpy = createSpy())
@obj.accesso... | 13613 | getPropertyAccessor = ->
get: createSpy ->
set: createSpy()
unset: createSpy()
QUnit.module 'Batman.Observable',
setup: ->
@obj = Batman
foo: Batman
bar: Batman
baz: Batman
qux: 'quxVal'
@obj.foo.bar.baz.event('corge', @corgeEventSpy = createSpy())
@obj.accesso... | true | getPropertyAccessor = ->
get: createSpy ->
set: createSpy()
unset: createSpy()
QUnit.module 'Batman.Observable',
setup: ->
@obj = Batman
foo: Batman
bar: Batman
baz: Batman
qux: 'quxVal'
@obj.foo.bar.baz.event('corge', @corgeEventSpy = createSpy())
@obj.accesso... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9973180890083313,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "nL=SF\\nO=Joyent\\nOU=Node.js\\nCN=ca1\\nemailAddress=ry@clouds.org\nexports.parseCertString =... | lib/tls.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... | 34140 | # 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": "-durationpicker editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-boots",
"end": 97,
"score": 0.9998739957809448,
"start": 81,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/bbf-bootstrap-durationpicker.coffee | tomi77/backbone-forms-bootstrap-durationpicker | 0 | ###
Backbone-Forms Bootstrap-durationpicker editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-bootstrap-durationpicker
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['backbone-forms', '... | 211541 | ###
Backbone-Forms Bootstrap-durationpicker editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-bootstrap-durationpicker
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['backbone-forms', 'bootstrap-... | true | ###
Backbone-Forms Bootstrap-durationpicker editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-bootstrap-durationpicker
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['backbone-forms... |
[
{
"context": "?.UnprocessedItems[ @config.tablenameFiles ]\n\t\t\t\t#@stateinfo.iTodo += _putR.length\n\t\t\t\t#@stateinfo.capacityUni",
"end": 3281,
"score": 0.8570001125335693,
"start": 3271,
"tag": "EMAIL",
"value": "@stateinfo"
},
{
"context": "iles ]\n\t\t\t\t#@stateinfo.iTodo +... | _src/lib/dynamo.coffee | mpneuried/tcs_migrate-media-api | 0 | AWS = require('aws-sdk')
_ = require 'lodash'
async = require "async"
config = require( "./config" )
class Dynamo extends require( "mpbasic" )( config )
defaults: =>
return @extend {}, super,
accessKeyId: null
secretAccessKey: null
region: "eu-west-1"
apiVersion: "2012-08-10"
tablenameDomains: n... | 30851 | AWS = require('aws-sdk')
_ = require 'lodash'
async = require "async"
config = require( "./config" )
class Dynamo extends require( "mpbasic" )( config )
defaults: =>
return @extend {}, super,
accessKeyId: null
secretAccessKey: null
region: "eu-west-1"
apiVersion: "2012-08-10"
tablenameDomains: n... | true | AWS = require('aws-sdk')
_ = require 'lodash'
async = require "async"
config = require( "./config" )
class Dynamo extends require( "mpbasic" )( config )
defaults: =>
return @extend {}, super,
accessKeyId: null
secretAccessKey: null
region: "eu-west-1"
apiVersion: "2012-08-10"
tablenameDomains: n... |
[
{
"context": " describe \"/temp\", ->\n userData = {username: 'temp', password: '2'}\n cookies = null\n\n it \"Shou",
"end": 181,
"score": 0.9962843656539917,
"start": 177,
"tag": "USERNAME",
"value": "temp"
},
{
"context": ", ->\n userData = {username: 'temp', password:... | lobby/test/int/controllers/auth-int-test.coffee | towerstorm/game | 11 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require('assert')
describe "/auth", ->
describe "/temp", ->
userData = {username: 'temp', password: '2'}
cookies = null
it "Should create a temporary user when called with username and password variables", (done) ->
... | 153216 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require('assert')
describe "/auth", ->
describe "/temp", ->
userData = {username: 'temp', password: '<PASSWORD>'}
cookies = null
it "Should create a temporary user when called with username and password variables", (d... | true | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require('assert')
describe "/auth", ->
describe "/temp", ->
userData = {username: 'temp', password: 'PI:PASSWORD:<PASSWORD>END_PI'}
cookies = null
it "Should create a temporary user when called with username and passw... |
[
{
"context": " @namespace COOLSTRAP\n * @class App\n * \n * @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n * \n###",
"end": 125,
"score": 0.9998928308486938,
"start": 110,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": "RAP\n * @class App\n * \n * @aut... | coolstrap-core/app/assets/javascripts/coolstrap/_Coolstrap.App.coffee | cristianferrarig/coolstrap | 0 | ###
* Coolstrapp Application
* Inspired by LungoJs
*
* @namespace COOLSTRAP
* @class App
*
* @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
*
###
# Main App Namespace
COOLSTRAP.App = ((cool) ->
_sessionId = undefined
_launchOptions =
name: "coolstrap"
log_level: -1
# setu... | 18541 | ###
* Coolstrapp Application
* Inspired by LungoJs
*
* @namespace COOLSTRAP
* @class App
*
* @author <NAME> <<EMAIL>> || @abraham_barrera
*
###
# Main App Namespace
COOLSTRAP.App = ((cool) ->
_sessionId = undefined
_launchOptions =
name: "coolstrap"
log_level: -1
# setup framework
_setupF... | true | ###
* Coolstrapp Application
* Inspired by LungoJs
*
* @namespace COOLSTRAP
* @class App
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
*
###
# Main App Namespace
COOLSTRAP.App = ((cool) ->
_sessionId = undefined
_launchOptions =
name: "coolstrap"
log_level: -1
... |
[
{
"context": "one) ->\n process.env.HUBOT_GITHUB_TOKEN = \"789abc\"\n network.matchHeader(\"Authorization\", \"to",
"end": 912,
"score": 0.9856200814247131,
"start": 906,
"tag": "PASSWORD",
"value": "789abc"
},
{
"context": " network.matchHeader(\"Authorization\", ... | test/request.coffee | dennybaa/githubot | 68 | [ gh, assert, nock, mock_robot ] = require "./test_helper"
describe "github api", ->
describe "general purpose", ->
network = null
success = (done) ->
(body) ->
network.done()
done()
describe "request", ->
response = [ { name: "foo", commit: { sha: "abcdef", url: "xxx" } } ]
... | 210518 | [ gh, assert, nock, mock_robot ] = require "./test_helper"
describe "github api", ->
describe "general purpose", ->
network = null
success = (done) ->
(body) ->
network.done()
done()
describe "request", ->
response = [ { name: "foo", commit: { sha: "abcdef", url: "xxx" } } ]
... | true | [ gh, assert, nock, mock_robot ] = require "./test_helper"
describe "github api", ->
describe "general purpose", ->
network = null
success = (done) ->
(body) ->
network.done()
done()
describe "request", ->
response = [ { name: "foo", commit: { sha: "abcdef", url: "xxx" } } ]
... |
[
{
"context": ":\"#D1D5DA\"\n color:\"#000\"\n specialKeyBG:\"#ACB3BD\"\n keyBG:\"#F7F7F7\"\n shadowY: ios.px(1)\n ",
"end": 4269,
"score": 0.9994684457778931,
"start": 4262,
"tag": "KEY",
"value": "#ACB3BD"
},
{
"context": ":\"#000\"\n specialKeyBG:\"#ACB3BD\... | ios-kit/ios-kit-keyboard.coffee | andrzej-poniatowski/framer-ios-kit | 599 | ios = require 'ios-kit'
exports.defaults =
style:"light"
shift:true
output:undefined
returnText:"return"
state:"letters"
hidden:false
returnColor:"blue"
superLayer:undefined
#Responsabile for keyboard dimensions
device =
"iphone-5":
popUpChar:40
popUpTop:4
height:215
lineHeight:36
... | 113749 | ios = require 'ios-kit'
exports.defaults =
style:"light"
shift:true
output:undefined
returnText:"return"
state:"letters"
hidden:false
returnColor:"blue"
superLayer:undefined
#Responsabile for keyboard dimensions
device =
"iphone-5":
popUpChar:40
popUpTop:4
height:215
lineHeight:36
... | true | ios = require 'ios-kit'
exports.defaults =
style:"light"
shift:true
output:undefined
returnText:"return"
state:"letters"
hidden:false
returnColor:"blue"
superLayer:undefined
#Responsabile for keyboard dimensions
device =
"iphone-5":
popUpChar:40
popUpTop:4
height:215
lineHeight:36
... |
[
{
"context": "\"\n\nnetuno.callbacks =\n create: (func)->\n key = netuno.newUid()\n netuno.callbacks[key] = func\n return key",
"end": 726,
"score": 0.8779361844062805,
"start": 713,
"tag": "KEY",
"value": "netuno.newUid"
},
{
"context": "nfig\n if (config.name == null)\n ... | bundle/base/web/netuno/scripts/sbadmin/netuno/core.coffee | netuno-org/platform | 19 |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... | 138050 |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... | true |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... |
[
{
"context": "player\"\n\n characters = [\n Player\n name: \"STEVE\"\n url: \"http://2.pixiecdn.com/sprites/131822",
"end": 447,
"score": 0.9992182850837708,
"start": 442,
"tag": "NAME",
"value": "STEVE"
},
{
"context": " conversation: [{\n text: \"\"\"\n ... | map.coffee | STRd6/ld33 | 2 | module.exports = ->
tileWidth = 32
tileHeight = 32
tvURL = "http://1.pixiecdn.com/sprites/131781/original."
t = 0
tiles = [
"http://0.pixiecdn.com/sprites/131780/original."
"http://3.pixiecdn.com/sprites/131775/original."
"http://0.pixiecdn.com/sprites/131788/original."
].map (name) ->
im... | 23183 | module.exports = ->
tileWidth = 32
tileHeight = 32
tvURL = "http://1.pixiecdn.com/sprites/131781/original."
t = 0
tiles = [
"http://0.pixiecdn.com/sprites/131780/original."
"http://3.pixiecdn.com/sprites/131775/original."
"http://0.pixiecdn.com/sprites/131788/original."
].map (name) ->
im... | true | module.exports = ->
tileWidth = 32
tileHeight = 32
tvURL = "http://1.pixiecdn.com/sprites/131781/original."
t = 0
tiles = [
"http://0.pixiecdn.com/sprites/131780/original."
"http://3.pixiecdn.com/sprites/131775/original."
"http://0.pixiecdn.com/sprites/131788/original."
].map (name) ->
im... |
[
{
"context": "an the values provided in configuration.\n# @author Burak Yigit Kaya aka BYK\n###\n\n'use strict'\n\n#---------------------",
"end": 152,
"score": 0.9998920559883118,
"start": 136,
"tag": "NAME",
"value": "Burak Yigit Kaya"
},
{
"context": "d in configuration.\n# @autho... | src/rules/id-length.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule that warns when identifier names are shorter or longer
# than the values provided in configuration.
# @author Burak Yigit Kaya aka BYK
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------... | 67685 | ###*
# @fileoverview Rule that warns when identifier names are shorter or longer
# than the values provided in configuration.
# @author <NAME> aka BYK
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#---------------------------------------------------... | true | ###*
# @fileoverview Rule that warns when identifier names are shorter or longer
# than the values provided in configuration.
# @author PI:NAME:<NAME>END_PI aka BYK
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------... |
[
{
"context": "er destructuring from arrays and objects\n# @author Alex LaFroscia\n###\n'use strict'\n\n#------------------------------",
"end": 90,
"score": 0.999838650226593,
"start": 76,
"tag": "NAME",
"value": "Alex LaFroscia"
}
] | src/rules/prefer-destructuring.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author Alex LaFroscia
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
doc... | 210445 | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
... | true | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999912440776825,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/top-ranks.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-detail-list'
import * as React from 'react'
import { div, h2, h... | 62889 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-detail-list'
import * as React from 'react'
import { div, h2, h3, ul, ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-detail-list'
import * as React from 'react'
import { di... |
[
{
"context": "###\n# @author Will Steinmetz\n# jQuery notification plug-in inspired by the not",
"end": 28,
"score": 0.9998626708984375,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ation style of Windows 8\n# Copyright (c)2013-2015, Will Steinmetz\n# Licens... | public/third_party/notific8/grunt/contrib-watch.coffee | pvndn/spa | 130 | ###
# @author Will Steinmetz
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('watch',
options:
atBegin: ['copy:... | 189751 | ###
# @author <NAME>
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('watch',
options:
atBegin: ['copy:font']
sass:... | true | ###
# @author PI:NAME:<NAME>END_PI
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('watch',
options:
atBe... |
[
{
"context": "customCoffee = new Coffee({\n functions: {\n marius: {\n color: 'red'\n },\n valjean: {",
"end": 195,
"score": 0.7001802921295166,
"start": 189,
"tag": "NAME",
"value": "marius"
},
{
"context": " marius: {\n color: 'red'\n },\n ... | test/src/cstest.coffee | takeratta/droplet | 145 | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
marius: {
color: 'red'
},
valjean: {},
eponine: {
value: true,
color: 'purplish'
},... | 128236 | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
<NAME>: {
color: 'red'
},
<NAME>: {},
eponine: {
value: true,
color: 'purplish'
},
... | true | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
PI:NAME:<NAME>END_PI: {
color: 'red'
},
PI:NAME:<NAME>END_PI: {},
eponine: {
value: true,
... |
[
{
"context": "_key\n\tif offset_y && !offset_x\n\t\tif align_key == 'top-left' || align_key == 'bottom-left'\n\t\t\tadd_offset_x = ",
"end": 7004,
"score": 0.8783443570137024,
"start": 6996,
"tag": "KEY",
"value": "top-left"
},
{
"context": "t_x\n\t\tif align_key == 'top-left' || ali... | components/Align.coffee | lerp-io/editor-gui | 2 | MIN_HEIGHT = 10
MIN_WIDTH = 300
BAR_DIM = 12
REBAR_DIM = 4
#neveragain
guessAlign = (width,height,ctx,x,y)->
if !ctx.align
pre_align = initAlign(ctx,x,y,width,height)
else
pre_align = ctx.align
switch pre_align
when 'right-down'
return ctx.vert && 'right-down' || 'bottom-right'
when 'right-up'
retur... | 168228 | MIN_HEIGHT = 10
MIN_WIDTH = 300
BAR_DIM = 12
REBAR_DIM = 4
#neveragain
guessAlign = (width,height,ctx,x,y)->
if !ctx.align
pre_align = initAlign(ctx,x,y,width,height)
else
pre_align = ctx.align
switch pre_align
when 'right-down'
return ctx.vert && 'right-down' || 'bottom-right'
when 'right-up'
retur... | true | MIN_HEIGHT = 10
MIN_WIDTH = 300
BAR_DIM = 12
REBAR_DIM = 4
#neveragain
guessAlign = (width,height,ctx,x,y)->
if !ctx.align
pre_align = initAlign(ctx,x,y,width,height)
else
pre_align = ctx.align
switch pre_align
when 'right-down'
return ctx.vert && 'right-down' || 'bottom-right'
when 'right-up'
retur... |
[
{
"context": "# Animation Collections\n# by Isaac Weinhausen\n# http://isaacw.com\n\n\n\n\n# Import modules\n# ------",
"end": 45,
"score": 0.9998903870582581,
"start": 29,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | AnimationCollections.framer/app.coffee | ekfuhrmann/framer-animation-collections | 0 | # Animation Collections
# by Isaac Weinhausen
# http://isaacw.com
# Import modules
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# App
# -------------------------------------
# Override defaults
Framer.Defaults.Layer.backgrou... | 65528 | # Animation Collections
# by <NAME>
# http://isaacw.com
# Import modules
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# App
# -------------------------------------
# Override defaults
Framer.Defaults.Layer.backgroundColor = ... | true | # Animation Collections
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
# Import modules
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# App
# -------------------------------------
# Override defaults
Framer.Defaults.Layer.back... |
[
{
"context": "module.exports =\n name: 'Contact'\n primaryKey: 'hash'\n properties:\n name:\n ",
"end": 33,
"score": 0.9878815412521362,
"start": 26,
"tag": "NAME",
"value": "Contact"
}
] | src/api/models/contact.coffee | marcus433/dropmail | 0 | module.exports =
name: 'Contact'
primaryKey: 'hash'
properties:
name:
type: 'string'
default: ''
address:
type: 'string'
indexed: true
hash: 'string'
addressHash: 'string'
cached:
type: 'bool'
default: false
uncacheable:
type: 'bool'
default:... | 199897 | module.exports =
name: '<NAME>'
primaryKey: 'hash'
properties:
name:
type: 'string'
default: ''
address:
type: 'string'
indexed: true
hash: 'string'
addressHash: 'string'
cached:
type: 'bool'
default: false
uncacheable:
type: 'bool'
default: ... | true | module.exports =
name: 'PI:NAME:<NAME>END_PI'
primaryKey: 'hash'
properties:
name:
type: 'string'
default: ''
address:
type: 'string'
indexed: true
hash: 'string'
addressHash: 'string'
cached:
type: 'bool'
default: false
uncacheable:
type: 'bool'
... |
[
{
"context": "uired'\n looksGood: 'Looks good'\n userName: 'User name'\n badChars: \"Only letters, numbers, '.', '_', ",
"end": 536,
"score": 0.9995316863059998,
"start": 527,
"tag": "USERNAME",
"value": "User name"
},
{
"context": "tPassword: 'Forget your password?'\n pa... | app/partials/register-form.cjsx | Crentist/Panoptes-frontend-spanish | 0 | counterpart = require 'counterpart'
React = require 'react'
PromiseToSetState = require '../lib/promise-to-set-state'
auth = require 'panoptes-client/lib/auth'
Translate = require 'react-translate-component'
LoadingIndicator = require '../components/loading-indicator'
debounce = require 'debounce'
apiClient = require '... | 38893 | counterpart = require 'counterpart'
React = require 'react'
PromiseToSetState = require '../lib/promise-to-set-state'
auth = require 'panoptes-client/lib/auth'
Translate = require 'react-translate-component'
LoadingIndicator = require '../components/loading-indicator'
debounce = require 'debounce'
apiClient = require '... | true | counterpart = require 'counterpart'
React = require 'react'
PromiseToSetState = require '../lib/promise-to-set-state'
auth = require 'panoptes-client/lib/auth'
Translate = require 'react-translate-component'
LoadingIndicator = require '../components/loading-indicator'
debounce = require 'debounce'
apiClient = require '... |
[
{
"context": " json: true, qs: { q: args, api_key: 'dc6zaTOxFJmzC' }\n })\n return msg.reply 'No ",
"end": 3358,
"score": 0.5229266881942749,
"start": 3356,
"tag": "KEY",
"value": "za"
}
] | modules/image.coffee | ChetAlv/TamagoMusic | 27 | Chance = require 'chance'
request = require 'request'
# sorry about this, i lost a bet
tumblr = require('tumblr.js').createClient { consumer_key: process.env.TUMBLR_CONSUMER_KEY }
# Google Image Search API
CSE = require('request-promise').defaults {
baseUrl: 'https://www.googleapis.com/customsearch/'
simple: true
... | 219176 | Chance = require 'chance'
request = require 'request'
# sorry about this, i lost a bet
tumblr = require('tumblr.js').createClient { consumer_key: process.env.TUMBLR_CONSUMER_KEY }
# Google Image Search API
CSE = require('request-promise').defaults {
baseUrl: 'https://www.googleapis.com/customsearch/'
simple: true
... | true | Chance = require 'chance'
request = require 'request'
# sorry about this, i lost a bet
tumblr = require('tumblr.js').createClient { consumer_key: process.env.TUMBLR_CONSUMER_KEY }
# Google Image Search API
CSE = require('request-promise').defaults {
baseUrl: 'https://www.googleapis.com/customsearch/'
simple: true
... |
[
{
"context": "bluConfig =\n uuid: 'user-uuid'\n token: 'user-token'\n hostname: 'localhost'\n port: 0xd00d\n ",
"end": 741,
"score": 0.9076917171478271,
"start": 731,
"tag": "PASSWORD",
"value": "user-token"
},
{
"context": " .reply 201, uuid: \"inquisitor-uui... | test/connect-spec.coffee | octoblu/inquisitor | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
URL = require 'url'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describ... | 105183 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
URL = require 'url'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describ... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
URL = require 'url'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describ... |
[
{
"context": " ->\n $http.post '/login',\n username: username\n password: password\n .success (da",
"end": 180,
"score": 0.9991062879562378,
"start": 172,
"tag": "USERNAME",
"value": "username"
},
{
"context": ",\n username: username\n ... | src/scripts/services/UserService.coffee | zodoz/EC2Manager | 0 | angular.module 'EC2Manager'
.factory 'UserService', ($rootScope, $http, Session)->
login = (username, password, cb) ->
$http.post '/login',
username: username
password: password
.success (data) ->
Session.create data.id, data.user
cb null, data.user
.e... | 30632 | angular.module 'EC2Manager'
.factory 'UserService', ($rootScope, $http, Session)->
login = (username, password, cb) ->
$http.post '/login',
username: username
password: <PASSWORD>
.success (data) ->
Session.create data.id, data.user
cb null, data.user
... | true | angular.module 'EC2Manager'
.factory 'UserService', ($rootScope, $http, Session)->
login = (username, password, cb) ->
$http.post '/login',
username: username
password: PI:PASSWORD:<PASSWORD>END_PI
.success (data) ->
Session.create data.id, data.user
cb null, ... |
[
{
"context": "{}\"\n\t\t\t\t\tfields: \"object:{}\"\n\t\t\tgroup:\n\t\t\t\tkeys: \"object:{_id:1}\"\n\t\t\t\tcondition: \"object:{}\"\n\t\t\t\tinitial: \"object:{",
"end": 7066,
"score": 0.986841082572937,
"start": 7051,
"tag": "KEY",
"value": "object:{_id:1}\""
},
{
"context": "ope:... | lib/src_modules/models/Report.coffee | tifroz/macxplore | 0 | _ = require 'underscore'
MongoDoc = require 'macmodel'
events = require 'events'
Seq = require 'seq'
coffee = require 'coffeescript'
util = require 'util'
streamify = require "stream-array"
mr2FlatJson = require("helpers").streams.mr2FlatJson
logger = console
class Report extends MongoD... | 177213 | _ = require 'underscore'
MongoDoc = require 'macmodel'
events = require 'events'
Seq = require 'seq'
coffee = require 'coffeescript'
util = require 'util'
streamify = require "stream-array"
mr2FlatJson = require("helpers").streams.mr2FlatJson
logger = console
class Report extends MongoD... | true | _ = require 'underscore'
MongoDoc = require 'macmodel'
events = require 'events'
Seq = require 'seq'
coffee = require 'coffeescript'
util = require 'util'
streamify = require "stream-array"
mr2FlatJson = require("helpers").streams.mr2FlatJson
logger = console
class Report extends MongoD... |
[
{
"context": "name: \"Simon Bramble\"\njob_title: \"Content Designer\"\ngrade: \"SEO\"\nsalar",
"end": 20,
"score": 0.9998955726623535,
"start": 7,
"tag": "NAME",
"value": "Simon Bramble"
},
{
"context": "\"Business Transformation Group\"\nmanager:\n name: \"Tom Adams\"\n phone: \"... | app/data/users/simon.cson | dwpdigitaltech/DWPwelcome | 0 | name: "Simon Bramble"
job_title: "Content Designer"
grade: "SEO"
salary: "£40,000"
pay_date: "25 April 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "Tom Adams"
phone: "0789 126 4474"
office: "Newcastle, Benton Park View"
role: [
"As a con... | 178881 | name: "<NAME>"
job_title: "Content Designer"
grade: "SEO"
salary: "£40,000"
pay_date: "25 April 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "<NAME>"
phone: "0789 126 4474"
office: "Newcastle, Benton Park View"
role: [
"As a content desig... | true | name: "PI:NAME:<NAME>END_PI"
job_title: "Content Designer"
grade: "SEO"
salary: "£40,000"
pay_date: "25 April 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "PI:NAME:<NAME>END_PI"
phone: "0789 126 4474"
office: "Newcastle, Benton Park View"
r... |
[
{
"context": "author: <span><a key={0} href=\"https://github.com/PHELiOX\">Artoria</a></span>\n displayName: <span><FontAwe",
"end": 3753,
"score": 0.9989209175109863,
"start": 3746,
"tag": "USERNAME",
"value": "PHELiOX"
},
{
"context": "span><a key={0} href=\"https://github.com/PHE... | index.cjsx | PHELiOX/plugin-quest-tracker | 0 | {ROOT, EXROOT} = global
{ROOT, layout, _, $, $$, React, ReactBootstrap} = window
{Label, OverlayTrigger, Tooltip} = ReactBootstrap
fs = require 'fs-extra'
path = require 'path'
CSON = require 'cson'
{log, warn, error} = require(path.join(ROOT, 'lib', 'utils'))
questDataPath = path.join(EXROOT, 'questdata.cson')
subm... | 178044 | {ROOT, EXROOT} = global
{ROOT, layout, _, $, $$, React, ReactBootstrap} = window
{Label, OverlayTrigger, Tooltip} = ReactBootstrap
fs = require 'fs-extra'
path = require 'path'
CSON = require 'cson'
{log, warn, error} = require(path.join(ROOT, 'lib', 'utils'))
questDataPath = path.join(EXROOT, 'questdata.cson')
subm... | true | {ROOT, EXROOT} = global
{ROOT, layout, _, $, $$, React, ReactBootstrap} = window
{Label, OverlayTrigger, Tooltip} = ReactBootstrap
fs = require 'fs-extra'
path = require 'path'
CSON = require 'cson'
{log, warn, error} = require(path.join(ROOT, 'lib', 'utils'))
questDataPath = path.join(EXROOT, 'questdata.cson')
subm... |
[
{
"context": "------------------\n\nclass Animal\n constructor: (@name) ->\n\n move: (meters) ->\n alert @name + \" move",
"end": 84,
"score": 0.7628734111785889,
"start": 80,
"tag": "USERNAME",
"value": "name"
},
{
"context": "ert \"Galloping...\"\n super 45\n\nsam = new Sna... | spec/coffeescript.coffee | mdeboer/tone-syntax | 91 |
# 1. Example ----------------------------------
class Animal
constructor: (@name) ->
move: (meters) ->
alert @name + " moved #{meters}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
move: ->
alert "Galloping..."
super 45
sam = new Snake ... | 80302 |
# 1. Example ----------------------------------
class Animal
constructor: (@name) ->
move: (meters) ->
alert @name + " moved #{meters}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
move: ->
alert "Galloping..."
super 45
sam = new Snake ... | true |
# 1. Example ----------------------------------
class Animal
constructor: (@name) ->
move: (meters) ->
alert @name + " moved #{meters}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
class Horse extends Animal
move: ->
alert "Galloping..."
super 45
sam = new Snake ... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author mikael emtinger / ",
"end": 17,
"score": 0.9887886643409729,
"start": 10,
"tag": "NAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author mikael emtinger / http://gomo.se/\n# @author ... | source/javascripts/new_src/cameras/camera.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author mikael emtinger / http://gomo.se/
# @author aladjev.andrew@gmail.com
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
class Camera extends THREE.Object3D
constructor: ->
super()
@matrixWorldInverse = new THREE.Matrix4()
@projection... | 140584 | # @author <NAME> / http://mrdoob.com/
# @author <NAME> / http://gomo.se/
# @author <EMAIL>
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
class Camera extends THREE.Object3D
constructor: ->
super()
@matrixWorldInverse = new THREE.Matrix4()
@projectionMatrix = new THREE.... | true | # @author PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author PI:NAME:<NAME>END_PI / http://gomo.se/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/object_3d
#= require new_src/core/matrix_4
class Camera extends THREE.Object3D
constructor: ->
super()
@matrixWorldInverse = new THREE.Matrix4()... |
[
{
"context": "#\n# * grunt-express-server\n# * https://github.com/ericclemmons/grunt-express-server\n# *\n# * Copyright (c) 2013 E",
"end": 62,
"score": 0.998761773109436,
"start": 50,
"tag": "USERNAME",
"value": "ericclemmons"
},
{
"context": "ns/grunt-express-server\n# *\n# * Copyr... | tasks/express-server.coffee | davemaurakis/sumbro | 3 | #
# * grunt-express-server
# * https://github.com/ericclemmons/grunt-express-server
# *
# * Copyright (c) 2013 Eric Clemmons
# * Licensed under the MIT license.
#
path = require 'path'
server = null # Store server between live reloads to close/restart express
module.exports = (grunt) ->
@registerTask 'express-keepal... | 224538 | #
# * grunt-express-server
# * https://github.com/ericclemmons/grunt-express-server
# *
# * Copyright (c) 2013 <NAME>
# * Licensed under the MIT license.
#
path = require 'path'
server = null # Store server between live reloads to close/restart express
module.exports = (grunt) ->
@registerTask 'express-keepalive', '... | true | #
# * grunt-express-server
# * https://github.com/ericclemmons/grunt-express-server
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
path = require 'path'
server = null # Store server between live reloads to close/restart express
module.exports = (grunt) ->
@registerTask 'express... |
[
{
"context": "d make requests to redmine server\n#\n# 10.03.2015\n# Kirill Temnov\n#\n\n# coffeelint: disable=max_line_length, enable=",
"end": 115,
"score": 0.9998652935028076,
"start": 102,
"tag": "NAME",
"value": "Kirill Temnov"
}
] | index.coffee | KirillTemnov/redmine-eye | 1 | #!/usr/bin/env coffee
#
# Read data from config and make requests to redmine server
#
# 10.03.2015
# Kirill Temnov
#
# coffeelint: disable=max_line_length, enable=colon_assignment_spacing
usage = """
Usage: ry COMMAND [--debug] [--pid PROJECT_ID]
COMMANDS:
projects - list projects(--limit, --offset)
log ... | 180895 | #!/usr/bin/env coffee
#
# Read data from config and make requests to redmine server
#
# 10.03.2015
# <NAME>
#
# coffeelint: disable=max_line_length, enable=colon_assignment_spacing
usage = """
Usage: ry COMMAND [--debug] [--pid PROJECT_ID]
COMMANDS:
projects - list projects(--limit, --offset)
log ... | true | #!/usr/bin/env coffee
#
# Read data from config and make requests to redmine server
#
# 10.03.2015
# PI:NAME:<NAME>END_PI
#
# coffeelint: disable=max_line_length, enable=colon_assignment_spacing
usage = """
Usage: ry COMMAND [--debug] [--pid PROJECT_ID]
COMMANDS:
projects - list projects(--limit, --offset)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.