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": "PI.use.opendoar.index()\n API.mail.send {to: 'alert@cottagelabs.com', subject: 'Opendoar index complete', text: 'Done",
"end": 1041,
"score": 0.9999316334724426,
"start": 1020,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
},
{
"context": "s = {\n record: {\n ... | server/use/opendoar.coffee | leviathanindustries/noddy | 2 |
# docs:
# http://opendoar.org/tools/api.html
# http://opendoar.org/tools/api13manual.html
# example:
# http://opendoar.org/api13.php?fields=rname&kwd=Aberdeen%20University%20Research%20Archive
opendoar_record = new API.collection {index:"opendoar",type:"record"}
API.use ?= {}
API.use.opendoar = {}
API.add 'use/ope... | 144679 |
# docs:
# http://opendoar.org/tools/api.html
# http://opendoar.org/tools/api13manual.html
# example:
# http://opendoar.org/api13.php?fields=rname&kwd=Aberdeen%20University%20Research%20Archive
opendoar_record = new API.collection {index:"opendoar",type:"record"}
API.use ?= {}
API.use.opendoar = {}
API.add 'use/ope... | true |
# docs:
# http://opendoar.org/tools/api.html
# http://opendoar.org/tools/api13manual.html
# example:
# http://opendoar.org/api13.php?fields=rname&kwd=Aberdeen%20University%20Research%20Archive
opendoar_record = new API.collection {index:"opendoar",type:"record"}
API.use ?= {}
API.use.opendoar = {}
API.add 'use/ope... |
[
{
"context": "erval (=> @refresh()), 1000\n\n resizeToSavedKey: \"mailcatcherSeparatorHeight\"\n\n resizeTo: (height) ->\n $(\"#messages\").css\n",
"end": 10584,
"score": 0.7273908853530884,
"start": 10558,
"tag": "KEY",
"value": "mailcatcherSeparatorHeight"
}
] | assets/javascripts/mailcatcher.js.coffee | cluesque/mailcatcher | 0 | #= require modernizr
#= require jquery
#= require date
#= require favcount
#= require flexie
#= require keymaster
#= require url
# Add a new jQuery selector expression which does a case-insensitive :contains
jQuery.expr[":"].icontains = (a, i, m) ->
(a.textContent ? a.innerText ? "").toUpperCase().indexOf(m[3].toUpp... | 206961 | #= require modernizr
#= require jquery
#= require date
#= require favcount
#= require flexie
#= require keymaster
#= require url
# Add a new jQuery selector expression which does a case-insensitive :contains
jQuery.expr[":"].icontains = (a, i, m) ->
(a.textContent ? a.innerText ? "").toUpperCase().indexOf(m[3].toUpp... | true | #= require modernizr
#= require jquery
#= require date
#= require favcount
#= require flexie
#= require keymaster
#= require url
# Add a new jQuery selector expression which does a case-insensitive :contains
jQuery.expr[":"].icontains = (a, i, m) ->
(a.textContent ? a.innerText ? "").toUpperCase().indexOf(m[3].toUpp... |
[
{
"context": "top_bar.less'\n\nvisStorage = new LocalStorage key:'webvis'\n\n\nexport default App = (props) =>\n hostname = w",
"end": 937,
"score": 0.8749619126319885,
"start": 931,
"tag": "KEY",
"value": "webvis"
}
] | web/src/App.coffee | danlkv/pywebviz | 0 | import React, { useState, useEffect } from 'react'
import L from 'react-dom-factories'
L_ = React.createElement
import {Responsive, WidthProvider} from 'react-grid-layout'
import useLegimens from 'legimens'
import { useLegimensRoot } from 'legimens'
import Notebook from './modules/notebook.coffee'
import {LibvisModu... | 124708 | import React, { useState, useEffect } from 'react'
import L from 'react-dom-factories'
L_ = React.createElement
import {Responsive, WidthProvider} from 'react-grid-layout'
import useLegimens from 'legimens'
import { useLegimensRoot } from 'legimens'
import Notebook from './modules/notebook.coffee'
import {LibvisModu... | true | import React, { useState, useEffect } from 'react'
import L from 'react-dom-factories'
L_ = React.createElement
import {Responsive, WidthProvider} from 'react-grid-layout'
import useLegimens from 'legimens'
import { useLegimensRoot } from 'legimens'
import Notebook from './modules/notebook.coffee'
import {LibvisModu... |
[
{
"context": "ect'\n req:\n url: '/login?username=password'\n headers:\n host: 'localhost:",
"end": 1656,
"score": 0.7587190866470337,
"start": 1648,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ect'\n req:\n url: '/login... | spec/ToPorts.coffee | kenhkan/noflo-woute | 3 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
ToPorts = require '../components/ToPorts.coffee'
_ = require 'underscore'
else
ToPorts = require 'woute/components/ToPorts.js'
_ = require 'underscore'
describe 'ToPorts component', ->
globals = {}
beforeEach ->
globa... | 123792 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
ToPorts = require '../components/ToPorts.coffee'
_ = require 'underscore'
else
ToPorts = require 'woute/components/ToPorts.js'
_ = require 'underscore'
describe 'ToPorts component', ->
globals = {}
beforeEach ->
globa... | true | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
ToPorts = require '../components/ToPorts.coffee'
_ = require 'underscore'
else
ToPorts = require 'woute/components/ToPorts.js'
_ = require 'underscore'
describe 'ToPorts component', ->
globals = {}
beforeEach ->
globa... |
[
{
"context": "ers.coffee\n# lotto-ionic\n# v0.0.2\n# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic\n# For l",
"end": 81,
"score": 0.9998845458030701,
"start": 65,
"tag": "NAME",
"value": "Andreja Tonevski"
},
{
"context": "pyright 2016 Andreja Tonevski, ht... | www/coffee/drawn-numbers.coffee | atonevski/lotto-ionic | 0 | #
# drawn-numbers.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.drawn.numbers', []
.controller 'LottoDrawnNumbers', ($scope, $http, $ionicLoading) ->
query = """
SELECT A, B,... | 29671 | #
# drawn-numbers.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 <NAME>, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.drawn.numbers', []
.controller 'LottoDrawnNumbers', ($scope, $http, $ionicLoading) ->
query = """
SELECT A, B, P, Q, R, ... | true | #
# drawn-numbers.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 PI:NAME:<NAME>END_PI, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.drawn.numbers', []
.controller 'LottoDrawnNumbers', ($scope, $http, $ionicLoading) ->
query = """
SELECT A... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999212622642517,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/csrf_token.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 28601 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "stall casperjs\n# - git clone git://github.com/n1k0/casperjs.git\n# - cd casperjs\n# - git chec",
"end": 354,
"score": 0.9990600347518921,
"start": 350,
"tag": "USERNAME",
"value": "n1k0"
},
{
"context": "ng the login form...'\n @fill \"form\", {username: '... | levels/6/browser.coffee | industrydive/stripe-ctf-2-vm | 1 | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# ... | 163833 | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# ... | true | # Install instructions:
# - Install phantomjs 1.5+
# - wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - tar -xjvf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
# - ln -s phantomjs-1.6.1-linux-x86_64-dynamic/bin/phantomjs /usr/bin/local
# - Install casperjs
# ... |
[
{
"context": "me/dir/foo', 'file:/some/dir/#', './#']\n # From Graham Klyne Thu, 20 Feb 2003 18:08:17 +0000\n [\"http://exam",
"end": 1911,
"score": 0.9998701214790344,
"start": 1899,
"tag": "NAME",
"value": "Graham Klyne"
},
{
"context": "x%2Fy/z\", \"http://example/x%2Fy/abc\... | tests/uri.coffee | nicola/rdflib.js | 4 | ###
# nodeunit tests for uri.js
###
uri = (require '../uri.js').uri
tests = [
["foo:xyz", "bar:abc", "bar:abc"]
['http://example/x/y/z', 'http://example/x/abc', '../abc']
['http://example2/x/y/z', 'http://example/x/abc', 'http://example/x/abc']
['http://ex/x/y/z', 'http://ex/x/r', '../r']
['http:/... | 89215 | ###
# nodeunit tests for uri.js
###
uri = (require '../uri.js').uri
tests = [
["foo:xyz", "bar:abc", "bar:abc"]
['http://example/x/y/z', 'http://example/x/abc', '../abc']
['http://example2/x/y/z', 'http://example/x/abc', 'http://example/x/abc']
['http://ex/x/y/z', 'http://ex/x/r', '../r']
['http:/... | true | ###
# nodeunit tests for uri.js
###
uri = (require '../uri.js').uri
tests = [
["foo:xyz", "bar:abc", "bar:abc"]
['http://example/x/y/z', 'http://example/x/abc', '../abc']
['http://example2/x/y/z', 'http://example/x/abc', 'http://example/x/abc']
['http://ex/x/y/z', 'http://ex/x/r', '../r']
['http:/... |
[
{
"context": "# Description:\n# Display a picture of Jeremy Lin if anyone invokes \"linsanity\" or\n# says \"linspi",
"end": 50,
"score": 0.9996309280395508,
"start": 40,
"tag": "NAME",
"value": "Jeremy Lin"
},
{
"context": " invokes \"linsanity\" or\n# says \"linspire\". Cause... | src/scripts/linsanity.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Display a picture of Jeremy Lin if anyone invokes "linsanity" or
# says "linspire". Cause Lin is Linspiring!
#
# Dependecies:
# None
#
# Configuration:
# None
#
# Commands:
#
# Author:
# zackyap
images = [
"http://i.i.com.com/cnwk.1d/i/tim/2012/02/16/Jeremy_Lin_139046190_620x350.jpg"
"h... | 78095 | # Description:
# Display a picture of <NAME> if anyone invokes "linsanity" or
# says "linspire". Cause <NAME> is Linspiring!
#
# Dependecies:
# None
#
# Configuration:
# None
#
# Commands:
#
# Author:
# zackyap
images = [
"http://i.i.com.com/cnwk.1d/i/tim/2012/02/16/Jeremy_Lin_139046190_620x350.jpg"
"ht... | true | # Description:
# Display a picture of PI:NAME:<NAME>END_PI if anyone invokes "linsanity" or
# says "linspire". Cause PI:NAME:<NAME>END_PI is Linspiring!
#
# Dependecies:
# None
#
# Configuration:
# None
#
# Commands:
#
# Author:
# zackyap
images = [
"http://i.i.com.com/cnwk.1d/i/tim/2012/02/16/Jeremy_Lin_... |
[
{
"context": "#\n# * grunt-markdown-jade\n# * https://github.com/realyze/grunt-markdown-jade\n# *\n# * Copyright (c) 2013 To",
"end": 56,
"score": 0.9991689920425415,
"start": 49,
"tag": "USERNAME",
"value": "realyze"
},
{
"context": "yze/grunt-markdown-jade\n# *\n# * Copyright (c) 2... | Gruntfile.coffee | salsita/grunt-md-templator | 0 | #
# * grunt-markdown-jade
# * https://github.com/realyze/grunt-markdown-jade
# *
# * Copyright (c) 2013 Tomas Brambora
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
jshint:
all: ["Gruntfile.js", "tasks/*.js", "<%= nodeunit.tests %... | 16768 | #
# * grunt-markdown-jade
# * https://github.com/realyze/grunt-markdown-jade
# *
# * Copyright (c) 2013 <NAME>
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
jshint:
all: ["Gruntfile.js", "tasks/*.js", "<%= nodeunit.tests %>"]
... | true | #
# * grunt-markdown-jade
# * https://github.com/realyze/grunt-markdown-jade
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
jshint:
all: ["Gruntfile.js", "tasks/*.js", "<%= nodeunit.t... |
[
{
"context": ", Factory(\"Magikarp\")]\n\n @controller.makeMove(@id1, 'Splash')\n @controller.makeMove(@id2, 'Spla",
"end": 10130,
"score": 0.8751336932182312,
"start": 10126,
"tag": "USERNAME",
"value": "@id1"
},
{
"context": "akeMove(@id1, 'Splash')\n @controller.mak... | test/bw/items.coffee | sarenji/pokebattle-sim | 5 | require '../helpers'
{Item} = require('../../server/bw/data/items')
{Ability} = require('../../server/bw/data/abilities')
{Pokemon} = require '../../server/bw/pokemon'
{Attachment, Status} = require '../../server/bw/attachment'
{Move} = require '../../server/bw/move'
{Factory} = require '../factory'
util = require '..... | 18286 | require '../helpers'
{Item} = require('../../server/bw/data/items')
{Ability} = require('../../server/bw/data/abilities')
{Pokemon} = require '../../server/bw/pokemon'
{Attachment, Status} = require '../../server/bw/attachment'
{Move} = require '../../server/bw/move'
{Factory} = require '../factory'
util = require '..... | true | require '../helpers'
{Item} = require('../../server/bw/data/items')
{Ability} = require('../../server/bw/data/abilities')
{Pokemon} = require '../../server/bw/pokemon'
{Attachment, Status} = require '../../server/bw/attachment'
{Move} = require '../../server/bw/move'
{Factory} = require '../factory'
util = require '..... |
[
{
"context": "o: true\n ssh:\n host: 'target', username: 'nikita',\n # private_key_path: '~/.ssh/id_rsa'\n ",
"end": 341,
"score": 0.9996628761291504,
"start": 335,
"tag": "USERNAME",
"value": "nikita"
},
{
"context": "rivate_key_path: '~/.ssh/id_rsa'\n password... | packages/service/env/centos6/test.coffee | wdavidw/node-mecano | 0 |
module.exports =
tags:
service_install: true
service_startup: true
service_systemctl: false # cant be activated because systemctl not compatible with Docker
service:
name: 'cronie'
srv_name: 'crond'
chk_name: 'crond'
config: [
label: 'remote'
sudo: true
ssh:
host: 'targe... | 121588 |
module.exports =
tags:
service_install: true
service_startup: true
service_systemctl: false # cant be activated because systemctl not compatible with Docker
service:
name: 'cronie'
srv_name: 'crond'
chk_name: 'crond'
config: [
label: 'remote'
sudo: true
ssh:
host: 'targe... | true |
module.exports =
tags:
service_install: true
service_startup: true
service_systemctl: false # cant be activated because systemctl not compatible with Docker
service:
name: 'cronie'
srv_name: 'crond'
chk_name: 'crond'
config: [
label: 'remote'
sudo: true
ssh:
host: 'targe... |
[
{
"context": "admin_server: 'domain.com'\n kadmin_principal: 'nikita/admin@DOMAIN.COM'\n kadmin_password: 'test'\n c",
"end": 222,
"score": 0.9921003580093384,
"start": 216,
"tag": "USERNAME",
"value": "nikita"
},
{
"context": ": 'nikita/admin@DOMAIN.COM'\n kadmin_password:... | packages/krb5/test.sample.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
module.exports =
tags:
api: false
krb5: false
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: 'test'
config: [
label: 'local'
,
label: 'remo... | 79272 |
module.exports =
tags:
api: false
krb5: false
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: '<PASSWORD>'
config: [
label: 'local'
,
label:... | true |
module.exports =
tags:
api: false
krb5: false
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: 'PI:PASSWORD:<PASSWORD>END_PI'
config: [
label: 'loc... |
[
{
"context": "dleware extends PublishMiddleware\n constructor: (@name) ->\n super()\n\n added: (publish, collectio",
"end": 705,
"score": 0.9504381418228149,
"start": 699,
"tag": "USERNAME",
"value": "(@name"
},
{
"context": ").length, 2\n\n LogActions.insert\n ... | tests.coffee | peerlibrary/meteor-middleware | 12 | USERS_COLLECTION = 'Users_meteor_middleware_tests'
Users = new Meteor.Collection USERS_COLLECTION
LogActions = new Meteor.Collection 'LogActionsActions_meteor_middleware_tests'
if Meteor.isServer
# Initialize the database
Meteor.methods
'initialize-database': ->
Users.remove {}
LogActions.remove {... | 162416 | USERS_COLLECTION = 'Users_meteor_middleware_tests'
Users = new Meteor.Collection USERS_COLLECTION
LogActions = new Meteor.Collection 'LogActionsActions_meteor_middleware_tests'
if Meteor.isServer
# Initialize the database
Meteor.methods
'initialize-database': ->
Users.remove {}
LogActions.remove {... | true | USERS_COLLECTION = 'Users_meteor_middleware_tests'
Users = new Meteor.Collection USERS_COLLECTION
LogActions = new Meteor.Collection 'LogActionsActions_meteor_middleware_tests'
if Meteor.isServer
# Initialize the database
Meteor.methods
'initialize-database': ->
Users.remove {}
LogActions.remove {... |
[
{
"context": " = false\n\n# # Replace here\n# if (username is 'wbs') and (password is 'passwbs')\n# isAuthenticat",
"end": 483,
"score": 0.9981375932693481,
"start": 480,
"tag": "USERNAME",
"value": "wbs"
},
{
"context": "here\n# if (username is 'wbs') and (password is 'pas... | server.coffee | qteen/node-rtsp-rtmp-server | 0 | url = require 'url'
config = require './config'
StreamServer = require './stream_server'
Bits = require './bits'
logger = require './logger'
Bits.set_warning_fatal true
logger.setLevel logger.LEVEL_INFO
streamServer = new StreamServer
# Uncomment this block if you use Basic auth for RTSP
# streamServer.setAuthentic... | 124386 | url = require 'url'
config = require './config'
StreamServer = require './stream_server'
Bits = require './bits'
logger = require './logger'
Bits.set_warning_fatal true
logger.setLevel logger.LEVEL_INFO
streamServer = new StreamServer
# Uncomment this block if you use Basic auth for RTSP
# streamServer.setAuthentic... | true | url = require 'url'
config = require './config'
StreamServer = require './stream_server'
Bits = require './bits'
logger = require './logger'
Bits.set_warning_fatal true
logger.setLevel logger.LEVEL_INFO
streamServer = new StreamServer
# Uncomment this block if you use Basic auth for RTSP
# streamServer.setAuthentic... |
[
{
"context": " style\", style: \"anchor\"\n entity.create name: \"Javi Jiménez Villar\", when: \"10/04/1980\", url: \"http://cdn.tapquo.com",
"end": 1748,
"score": 0.9998680353164673,
"start": 1729,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": ".com/photos/soyjavi... | source/organisms/article.list.coffee | tapquo/atoms-app-kitchensink | 0 | "use strict"
class List extends Atoms.Organism.Article
@url = "assets/scaffolds/article.list.json"
render: ->
super
new Atoms.Molecule.ListExtended container: @el.find "#extended"
do @onLoadContacts
# -- Children Bubble Events --------------------------------------------------
onSearchChange: (e... | 1405 | "use strict"
class List extends Atoms.Organism.Article
@url = "assets/scaffolds/article.list.json"
render: ->
super
new Atoms.Molecule.ListExtended container: @el.find "#extended"
do @onLoadContacts
# -- Children Bubble Events --------------------------------------------------
onSearchChange: (e... | true | "use strict"
class List extends Atoms.Organism.Article
@url = "assets/scaffolds/article.list.json"
render: ->
super
new Atoms.Molecule.ListExtended container: @el.find "#extended"
do @onLoadContacts
# -- Children Bubble Events --------------------------------------------------
onSearchChange: (e... |
[
{
"context": ">\n data = _.find(config.data, key : 'FXR Ktrans')\n\n it 'should capture the FXR KTrans ",
"end": 2527,
"score": 0.9745991230010986,
"start": 2517,
"tag": "KEY",
"value": "FXR Ktrans"
}
] | test/unit/modelingChartSpec.coffee | ohsu-qin/qiprofile | 0 | define ['ngmocks', 'moment', 'k-trans', 'v-e', 'tau-i', 'modelingChart'],
(ng, moment, KTrans, VE, TauI) ->
describe 'Unit Testing the ModelingChart Service', ->
# The mock Modeling service module.
ModelingChart = null
# The mock modeling results. The router sets the modeling
# and modeli... | 40327 | define ['ngmocks', 'moment', 'k-trans', 'v-e', 'tau-i', 'modelingChart'],
(ng, moment, KTrans, VE, TauI) ->
describe 'Unit Testing the ModelingChart Service', ->
# The mock Modeling service module.
ModelingChart = null
# The mock modeling results. The router sets the modeling
# and modeli... | true | define ['ngmocks', 'moment', 'k-trans', 'v-e', 'tau-i', 'modelingChart'],
(ng, moment, KTrans, VE, TauI) ->
describe 'Unit Testing the ModelingChart Service', ->
# The mock Modeling service module.
ModelingChart = null
# The mock modeling results. The router sets the modeling
# and modeli... |
[
{
"context": " columns: [\n { data: \"id\" }\n { data: \"name\" }\n { data: \"email\" }\n { data: \"birthda",
"end": 126,
"score": 0.5133870840072632,
"start": 122,
"tag": "NAME",
"value": "name"
}
] | app/assets/javascripts/admin/users.js.coffee | shillcock/bmcweb | 0 | jQuery ->
$('#users').dataTable
ajax: $('#users').data('source')
columns: [
{ data: "id" }
{ data: "name" }
{ data: "email" }
{ data: "birthday" }
]
| 203724 | jQuery ->
$('#users').dataTable
ajax: $('#users').data('source')
columns: [
{ data: "id" }
{ data: "<NAME>" }
{ data: "email" }
{ data: "birthday" }
]
| true | jQuery ->
$('#users').dataTable
ajax: $('#users').data('source')
columns: [
{ data: "id" }
{ data: "PI:NAME:<NAME>END_PI" }
{ data: "email" }
{ data: "birthday" }
]
|
[
{
"context": "rollers\"\n\nargs = process.argv.splice 2\naddress = \"127.0.0.1\"\nport = 1337\nif args[0]\n\taddress = args[0]\nif arg",
"end": 126,
"score": 0.9989630579948425,
"start": 117,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "()\noptions =\n\tapplication:\n\t... | examples/pdf/core/app.coffee | stanislavfeldman/wheels | 1 | kiss = require "kiss.js"
controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 1337
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port:... | 8193 | kiss = require "kiss.js"
controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 1337
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port:... | true | kiss = require "kiss.js"
controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 1337
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port:... |
[
{
"context": " doc =\n email: user1\n password: '12345678'\n profile:\n first_name: faker.nam",
"end": 1827,
"score": 0.999184250831604,
"start": 1819,
"tag": "PASSWORD",
"value": "12345678"
},
{
"context": "doc =\n email: user2\n pa... | app_tests/client/customers.app-tests.coffee | Phaze1D/SA-Units | 0 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
CustomerModule = require '../../imports/api/collections/cus... | 132255 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
CustomerModule = require '../../imports/api/collections/cus... | true | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
CustomerModule = require '../../imports/api/collections/cus... |
[
{
"context": "ts.Tetrahedron extends Entity\n\n\tentity :\n\t\tname: \"Tetrahedron\"\n\t\ttype: \"a-tetrahedron\"\n\n\t# -----------",
"end": 111,
"score": 0.7039245963096619,
"start": 109,
"tag": "NAME",
"value": "Te"
}
] | src/Tetrahedron.coffee | etiennepinchon/hologram | 89 | {entityAttribute, Entity} = require "./Entity"
class exports.Tetrahedron extends Entity
entity :
name: "Tetrahedron"
type: "a-tetrahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
| 132517 | {entityAttribute, Entity} = require "./Entity"
class exports.Tetrahedron extends Entity
entity :
name: "<NAME>trahedron"
type: "a-tetrahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
| true | {entityAttribute, Entity} = require "./Entity"
class exports.Tetrahedron extends Entity
entity :
name: "PI:NAME:<NAME>END_PItrahedron"
type: "a-tetrahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
|
[
{
"context": "=\n channel: channelA,\n name: nameA\n channelAEvtA = registry.register itemAr",
"end": 2938,
"score": 0.7503465414047241,
"start": 2933,
"tag": "NAME",
"value": "nameA"
}
] | test/registry/Registry.coffee | marc-ed-raffalli/EventService | 2 | # global require
'use strict'
Registry = require '../../src/registry/Registry.js'
channelA = 'channelA'
nameA = 'nameA'
nameB = 'nameB'
registryTestRunner = ->
# ------------------------------------------------------
describe 'Registry', ->
# ----------------------------------------
describe 'Class defin... | 137197 | # global require
'use strict'
Registry = require '../../src/registry/Registry.js'
channelA = 'channelA'
nameA = 'nameA'
nameB = 'nameB'
registryTestRunner = ->
# ------------------------------------------------------
describe 'Registry', ->
# ----------------------------------------
describe 'Class defin... | true | # global require
'use strict'
Registry = require '../../src/registry/Registry.js'
channelA = 'channelA'
nameA = 'nameA'
nameB = 'nameB'
registryTestRunner = ->
# ------------------------------------------------------
describe 'Registry', ->
# ----------------------------------------
describe 'Class defin... |
[
{
"context": "e\n found = true\n found\nshow _member [6, 7, \"Bordeaux\"], 7\n\n# forEach with break\nshow '--- forEach with",
"end": 2469,
"score": 0.998315155506134,
"start": 2461,
"tag": "NAME",
"value": "Bordeaux"
},
{
"context": "e\n throw _break\n found\nshow _membe... | src-no-solutions/07-Searching.coffee | autotelicum/Smooth-CoffeeScript | 66 | require './prelude'
# Bring underscore into global
globalize _
# Road representations
show '--- Road representations ---'
roads = [
{ point1: 'Point Kiukiu', point2: 'Hanaiapa', length: 19 }
{ point1: 'Point Kiukiu', point2: 'Mt Feani', length: 15 }
] # and so on
show roads
roads =
'Point Kiukiu': [ {to: 'Hana... | 40134 | require './prelude'
# Bring underscore into global
globalize _
# Road representations
show '--- Road representations ---'
roads = [
{ point1: 'Point Kiukiu', point2: 'Hanaiapa', length: 19 }
{ point1: 'Point Kiukiu', point2: 'Mt Feani', length: 15 }
] # and so on
show roads
roads =
'Point Kiukiu': [ {to: 'Hana... | true | require './prelude'
# Bring underscore into global
globalize _
# Road representations
show '--- Road representations ---'
roads = [
{ point1: 'Point Kiukiu', point2: 'Hanaiapa', length: 19 }
{ point1: 'Point Kiukiu', point2: 'Mt Feani', length: 15 }
] # and so on
show roads
roads =
'Point Kiukiu': [ {to: 'Hana... |
[
{
"context": " user = robot.brain.userForId '1', {\n name: 'ngs'\n room: '#mocha'\n }\n adapter = robot.",
"end": 643,
"score": 0.5108789801597595,
"start": 641,
"tag": "NAME",
"value": "ng"
},
{
"context": "ser = robot.brain.userForId '1', {\n name: 'ngs'\n ... | spec/jira-lotto_spec.coffee | hubot-scripts/hubot-jira-lotto | 7 | path = require 'path'
fs = require 'fs'
# Hubot classes
Robot = require "hubot/src/robot"
{ TextMessage } = require "hubot/src/message"
# Load assertion methods to this scope
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require 'nock'
{ expect } = chai
fixtureJSON = (name)->
JS... | 87359 | path = require 'path'
fs = require 'fs'
# Hubot classes
Robot = require "hubot/src/robot"
{ TextMessage } = require "hubot/src/message"
# Load assertion methods to this scope
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require 'nock'
{ expect } = chai
fixtureJSON = (name)->
JS... | true | path = require 'path'
fs = require 'fs'
# Hubot classes
Robot = require "hubot/src/robot"
{ TextMessage } = require "hubot/src/message"
# Load assertion methods to this scope
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require 'nock'
{ expect } = chai
fixtureJSON = (name)->
JS... |
[
{
"context": "gy\n usernameField: 'email'\n passwordField: 'password'\n , (email, password, done) ->\n UserModel.fin",
"end": 733,
"score": 0.9993141889572144,
"start": 725,
"tag": "PASSWORD",
"value": "password"
}
] | config/passport.coffee | mafiuss/sandcat | 1 | LocalStrategy = require('passport-local').Strategy
UserModel = null
module.exports = (passport, model, options) ->
UserModel = model
MOUNT_PATH = if options.config.mountPath? then options.config.mountPath else ''
BASEURL = if options.config.baseURL? then options.config.baseURL else 'http://localhost:8001'
AU... | 152098 | LocalStrategy = require('passport-local').Strategy
UserModel = null
module.exports = (passport, model, options) ->
UserModel = model
MOUNT_PATH = if options.config.mountPath? then options.config.mountPath else ''
BASEURL = if options.config.baseURL? then options.config.baseURL else 'http://localhost:8001'
AU... | true | LocalStrategy = require('passport-local').Strategy
UserModel = null
module.exports = (passport, model, options) ->
UserModel = model
MOUNT_PATH = if options.config.mountPath? then options.config.mountPath else ''
BASEURL = if options.config.baseURL? then options.config.baseURL else 'http://localhost:8001'
AU... |
[
{
"context": "# Code for loading a mathbox. Mostly take from Steven Wittens (@unconed):\n# https://github.com/unconed/fullfron",
"end": 61,
"score": 0.9998703002929688,
"start": 47,
"tag": "NAME",
"value": "Steven Wittens"
},
{
"context": "loading a mathbox. Mostly take from Steven W... | mathbox/mathbox.coffee | lmjohns3/deck | 0 | # Code for loading a mathbox. Mostly take from Steven Wittens (@unconed):
# https://github.com/unconed/fullfrontal
clocks = {} # Object for storing unique clocks.
ticker = 0 # Global time variable. Updated by animation frame request.
target = 1 # Variables that control rendering speed.
speed = 1
# Rendering call... | 216984 | # Code for loading a mathbox. Mostly take from <NAME> (@unconed):
# https://github.com/unconed/fullfrontal
clocks = {} # Object for storing unique clocks.
ticker = 0 # Global time variable. Updated by animation frame request.
target = 1 # Variables that control rendering speed.
speed = 1
# Rendering callback. Th... | true | # Code for loading a mathbox. Mostly take from PI:NAME:<NAME>END_PI (@unconed):
# https://github.com/unconed/fullfrontal
clocks = {} # Object for storing unique clocks.
ticker = 0 # Global time variable. Updated by animation frame request.
target = 1 # Variables that control rendering speed.
speed = 1
# Renderin... |
[
{
"context": "JSTextView - User Interactive Text View\n# Coded by Hajime Oh-yake 2013.03.26\n#*************************************",
"end": 110,
"score": 0.999883770942688,
"start": 96,
"tag": "NAME",
"value": "Hajime Oh-yake"
},
{
"context": "textarea\").unbind(\"click\")\n\n ... | JSKit/04_JSTextView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSTextView - User Interactive Text View
# Coded by Hajime Oh-yake 2013.03.26
#*****************************************
class JSTextView extends JSScrollView
constructor: (frame) ->
super(frame)
@_editable = true
@_textSize = 8
@_textColo... | 45112 | #*****************************************
# JSTextView - User Interactive Text View
# Coded by <NAME> 2013.03.26
#*****************************************
class JSTextView extends JSScrollView
constructor: (frame) ->
super(frame)
@_editable = true
@_textSize = 8
@_textColor = JSCo... | true | #*****************************************
# JSTextView - User Interactive Text View
# Coded by PI:NAME:<NAME>END_PI 2013.03.26
#*****************************************
class JSTextView extends JSScrollView
constructor: (frame) ->
super(frame)
@_editable = true
@_textSize = 8
@_te... |
[
{
"context": "iew Disallow undeclared variables in JSX\n# @author Yannick Croissant\n###\n\n'use strict'\n\n{getAddImportFix: getFix} = re",
"end": 85,
"score": 0.9998489022254944,
"start": 68,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/rules/jsx-no-undef.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Disallow undeclared variables in JSX
# @author Yannick Croissant
###
'use strict'
{getAddImportFix: getFix} = require '../utils'
###*
# Checks if a node name match the JSX tag convention.
# @param {String} name - Name of the node to check.
# @returns {boolean} Whether or not the node name match ... | 93588 | ###*
# @fileoverview Disallow undeclared variables in JSX
# @author <NAME>
###
'use strict'
{getAddImportFix: getFix} = require '../utils'
###*
# Checks if a node name match the JSX tag convention.
# @param {String} name - Name of the node to check.
# @returns {boolean} Whether or not the node name match the JSX tag... | true | ###*
# @fileoverview Disallow undeclared variables in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{getAddImportFix: getFix} = require '../utils'
###*
# Checks if a node name match the JSX tag convention.
# @param {String} name - Name of the node to check.
# @returns {boolean} Whether or not the node name mat... |
[
{
"context": "profile = (firstName) ->\n (lastName) -> \n (age) ->\n ",
"end": 20,
"score": 0.8007014989852905,
"start": 11,
"tag": "NAME",
"value": "firstName"
},
{
"context": " \"\"\"\n First name: #{firstName}\n La... | misc/Currying/CoffeeScript/index.coffee | irynaO/JavaScript-Design-Patterns | 293 | profile = (firstName) ->
(lastName) ->
(age) ->
(gender) ->
(nationality) ->
"""
First name: #{firstName}
Last name: #{lastName}
Age: #{age}
Gender: #{gender}
... | 10965 | profile = (<NAME>) ->
(lastName) ->
(age) ->
(gender) ->
(nationality) ->
"""
First name: #{<NAME>}
Last name: #{<NAME>}
Age: #{age}
Gender: #{gender}
Nation... | true | profile = (PI:NAME:<NAME>END_PI) ->
(lastName) ->
(age) ->
(gender) ->
(nationality) ->
"""
First name: #{PI:NAME:<NAME>END_PI}
Last name: #{PI:NAME:<NAME>END_PI}
Age: #{age}
Ge... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.",
"end": 22,
"score": 0.6122265458106995,
"start": 19,
"tag": "NAME",
"value": "Bal"
},
{
"context": "ge\n\t\t\t\tis_created_by__user:\n\t\t\t\t\t$select: ['id', 'username']\n\t\t, options.relea... | lib/models/release.coffee | josecoelho/balena-sdk | 0 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribut... | 176845 | ###
Copyright 2016 <NAME>ena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PIena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... |
[
{
"context": "D_RANGE environment var\")\n routingKeys = (\"#{BACKEND_QUEUE_PREFIX}_#{id}\" for id in conf.backen",
"end": 705,
"score": 0.8289351463317871,
"start": 703,
"tag": "KEY",
"value": "#{"
},
{
"context": "vironment var\")\n routingKeys = (\"#{BACKEND_QUEUE_PR... | src/server/ot/amqp_backend_helper.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
async = require('async')
Conf = require('../conf').Conf
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = require('./constants')
class AmqpBackendHelper extends AmqpHelper
constructor: () ->
... | 225053 | _ = require('underscore')
async = require('async')
Conf = require('../conf').Conf
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = require('./constants')
class AmqpBackendHelper extends AmqpHelper
constructor: () ->
... | true | _ = require('underscore')
async = require('async')
Conf = require('../conf').Conf
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = require('./constants')
class AmqpBackendHelper extends AmqpHelper
constructor: () ->
... |
[
{
"context": "dow\"\n encrypt: true\n name: \"test\"\n }\n optionsProxy = {\n e",
"end": 216,
"score": 0.9851182699203491,
"start": 212,
"tag": "NAME",
"value": "test"
},
{
"context": "one\"\n encrypt: true\n name: ... | test/core/engineSpec.coffee | wh1100717/localDB | 59 | define (require, exports, module) ->
"use strict"
Engine = require("core/engine")
describe "Engine", ->
options = {
expire: "window"
encrypt: true
name: "test"
}
optionsProxy = {
expire: "none"
encrypt: true
na... | 3106 | define (require, exports, module) ->
"use strict"
Engine = require("core/engine")
describe "Engine", ->
options = {
expire: "window"
encrypt: true
name: "<NAME>"
}
optionsProxy = {
expire: "none"
encrypt: true
... | true | define (require, exports, module) ->
"use strict"
Engine = require("core/engine")
describe "Engine", ->
options = {
expire: "window"
encrypt: true
name: "PI:NAME:<NAME>END_PI"
}
optionsProxy = {
expire: "none"
encrypt: tru... |
[
{
"context": "e Music\n * @category Web Components\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 96,
"score": 0.9998927116394043,
"start": 80,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "y Web Components\n * @author N... | html/cs-music-library/script.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category Web Components
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
music_playlist = cs.music_playl... | 21640 | ###*
* @package CleverStyle Music
* @category Web Components
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
music_playlist = cs.music_playlist
player = document.queryS... | true | ###*
* @package CleverStyle Music
* @category Web Components
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
music_playlist = cs.m... |
[
{
"context": "ethods adapted from: [when.js](https://github.com/cujojs/when)\nCopyright (c) B Cavalier & J Hann\nOpen sour",
"end": 293,
"score": 0.9232091307640076,
"start": 287,
"tag": "USERNAME",
"value": "cujojs"
},
{
"context": ".js](https://github.com/cujojs/when)\nCopyright (c... | src/coffee/promise/Promise.coffee | bentrm/DeftJS | 46 | ###
Copyright (c) 2012-2014 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) B Cava... | 225934 | ###
Copyright (c) 2012-2014 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) <NAME>... | true | ###
Copyright (c) 2012-2014 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) PI:NAM... |
[
{
"context": "S = [\n id: 1\n title: 'Da Book'\n author: 'John Doe'\n publishedAt: new Date('2011-05-11')\n intr",
"end": 297,
"score": 0.9996919631958008,
"start": 289,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " id: 2\n title: 'My Other Book'\n auth... | app/models/post.coffee | yarec/cjlog-front | 0 | module.exports = App.Post = DS.Model.extend
format: DS.attr 'number'
name: DS.attr 'string'
desc: DS.attr 'string'
value: DS.attr 'string'
intm: DS.attr 'date'
uptm: DS.attr 'date'
module.exports = App.Post.FIXTURES = [
id: 1
title: 'Da Book'
author: 'John Doe'
publishedAt: new ... | 156245 | module.exports = App.Post = DS.Model.extend
format: DS.attr 'number'
name: DS.attr 'string'
desc: DS.attr 'string'
value: DS.attr 'string'
intm: DS.attr 'date'
uptm: DS.attr 'date'
module.exports = App.Post.FIXTURES = [
id: 1
title: 'Da Book'
author: '<NAME>'
publishedAt: new Da... | true | module.exports = App.Post = DS.Model.extend
format: DS.attr 'number'
name: DS.attr 'string'
desc: DS.attr 'string'
value: DS.attr 'string'
intm: DS.attr 'date'
uptm: DS.attr 'date'
module.exports = App.Post.FIXTURES = [
id: 1
title: 'Da Book'
author: 'PI:NAME:<NAME>END_PI'
publi... |
[
{
"context": " null\n\tdomain: null\n\taccesskey: null\n\tkeyprefix: \"clientupload\"\n\tautostart: true\n\trequestSignFn: null\n\tresultTem",
"end": 248,
"score": 0.9559204578399658,
"start": 236,
"tag": "KEY",
"value": "clientupload"
}
] | _src/lib/client.coffee | smrchy/media-api-client | 2 | dom = require( "domel" )
xhr = require( "xhr" )
utils = require( "./utils" )
Base = require( "./base" )
File = require( "./file" )
FileView = require( "./fileview" )
_defaults =
host: null
domain: null
accesskey: null
keyprefix: "clientupload"
autostart: true
requestSignFn: null
resultTemplateFn: null
maxsize... | 190711 | dom = require( "domel" )
xhr = require( "xhr" )
utils = require( "./utils" )
Base = require( "./base" )
File = require( "./file" )
FileView = require( "./fileview" )
_defaults =
host: null
domain: null
accesskey: null
keyprefix: "<KEY>"
autostart: true
requestSignFn: null
resultTemplateFn: null
maxsize: 0
ma... | true | dom = require( "domel" )
xhr = require( "xhr" )
utils = require( "./utils" )
Base = require( "./base" )
File = require( "./file" )
FileView = require( "./fileview" )
_defaults =
host: null
domain: null
accesskey: null
keyprefix: "PI:KEY:<KEY>END_PI"
autostart: true
requestSignFn: null
resultTemplateFn: null
m... |
[
{
"context": " irc:\n state: 'connected'\n nick: 'ournick'\n channels: {}\n\n beforeEach ->\n mocks.",
"end": 1165,
"score": 0.9996400475502014,
"start": 1158,
"tag": "USERNAME",
"value": "ournick"
},
{
"context": "asValidArgs()).toBe true\n\n eatCommand... | test/user_command_test.coffee | nornagon/ircv | 20 | describe 'A user command', ->
win = sayCommand = eatCommand = kickCommand = serverCommand = modeCommand = undefined
onRun = jasmine.createSpy 'onRun'
client = { determineWindow: -> win }
eatCommandDescription =
description: 'eats cake'
params: ['numCakes']
parseArgs: ->
@numCakes = parseInt @... | 110236 | describe 'A user command', ->
win = sayCommand = eatCommand = kickCommand = serverCommand = modeCommand = undefined
onRun = jasmine.createSpy 'onRun'
client = { determineWindow: -> win }
eatCommandDescription =
description: 'eats cake'
params: ['numCakes']
parseArgs: ->
@numCakes = parseInt @... | true | describe 'A user command', ->
win = sayCommand = eatCommand = kickCommand = serverCommand = modeCommand = undefined
onRun = jasmine.createSpy 'onRun'
client = { determineWindow: -> win }
eatCommandDescription =
description: 'eats cake'
params: ['numCakes']
parseArgs: ->
@numCakes = parseInt @... |
[
{
"context": "ON (fs|fs-nt)', '#REQUIRED')\n .dat('<owner>John</owner>')\n .ele('node')\n .ent('ent'",
"end": 714,
"score": 0.9627251029014587,
"start": 710,
"tag": "NAME",
"value": "John"
},
{
"context": "t').up()\n .nod('repo', 'git://github.com/oozcit... | test/callback/beginwithcallback.coffee | MarkCSmith/xmlbuilder-js | 784 | suite 'Creating XML using begin() callbacks:', ->
test 'Long form', ->
result = ''
data = (chunk, level) ->
result += chunk
doc(data)
.dec()
.dtd('root', 'hello.dtd')
.ins('pub_border', 'thin')
.ele('img', 'EMPTY')
.com('Image attributes follow')
.att('i... | 78006 | suite 'Creating XML using begin() callbacks:', ->
test 'Long form', ->
result = ''
data = (chunk, level) ->
result += chunk
doc(data)
.dec()
.dtd('root', 'hello.dtd')
.ins('pub_border', 'thin')
.ele('img', 'EMPTY')
.com('Image attributes follow')
.att('i... | true | suite 'Creating XML using begin() callbacks:', ->
test 'Long form', ->
result = ''
data = (chunk, level) ->
result += chunk
doc(data)
.dec()
.dtd('root', 'hello.dtd')
.ins('pub_border', 'thin')
.ele('img', 'EMPTY')
.com('Image attributes follow')
.att('i... |
[
{
"context": ".prototype[prop] = Array.prototype[prop]\n\nuser = \"jiyinyiyong\"\nif location.hash.match /#\\w+/\n user = location.",
"end": 383,
"score": 0.9991357922554016,
"start": 372,
"tag": "USERNAME",
"value": "jiyinyiyong"
},
{
"context": " user = location.hash.match(/#(\\w... | src/handle.coffee | tiye/github-viewer | 1 |
log = -> console?.log? arguments...
delay = (f, t) -> setTimeout t, f
q = (query) -> document.querySelector query
Node.prototype.q = (query) -> @querySelector query
Object.getOwnPropertyNames(Array.prototype).forEach (prop) ->
if Array.prototype[prop]?
if (typeof Array.prototype[prop]) is "function"
NodeLi... | 171524 |
log = -> console?.log? arguments...
delay = (f, t) -> setTimeout t, f
q = (query) -> document.querySelector query
Node.prototype.q = (query) -> @querySelector query
Object.getOwnPropertyNames(Array.prototype).forEach (prop) ->
if Array.prototype[prop]?
if (typeof Array.prototype[prop]) is "function"
NodeLi... | true |
log = -> console?.log? arguments...
delay = (f, t) -> setTimeout t, f
q = (query) -> document.querySelector query
Node.prototype.q = (query) -> @querySelector query
Object.getOwnPropertyNames(Array.prototype).forEach (prop) ->
if Array.prototype[prop]?
if (typeof Array.prototype[prop]) is "function"
NodeLi... |
[
{
"context": "r options.subject empty\n # username : 'user'\n # password : 'password'\n # ",
"end": 753,
"score": 0.9873930811882019,
"start": 749,
"tag": "USERNAME",
"value": "user"
},
{
"context": " # username : 'user'\n # password : 'pa... | Gruntfile.coffee | falsyvalues/grunt-email-builder | 47 | module.exports = (grunt) ->
grunt.initConfig
# Watch task
watch:
files: [
'<%= jshint.all %>',
'example/html/*.html',
'example/css/*.css',
]
tasks: 'test'
# JS Hint task
jshint:
options:
jshintrc: '.jshintrc'
all: [
'tasks/**/*.... | 194972 | module.exports = (grunt) ->
grunt.initConfig
# Watch task
watch:
files: [
'<%= jshint.all %>',
'example/html/*.html',
'example/css/*.css',
]
tasks: 'test'
# JS Hint task
jshint:
options:
jshintrc: '.jshintrc'
all: [
'tasks/**/*.... | true | module.exports = (grunt) ->
grunt.initConfig
# Watch task
watch:
files: [
'<%= jshint.all %>',
'example/html/*.html',
'example/css/*.css',
]
tasks: 'test'
# JS Hint task
jshint:
options:
jshintrc: '.jshintrc'
all: [
'tasks/**/*.... |
[
{
"context": "module.exports = \n\n'Uptown': [\n 'Lenox Hill'\n 'Lincoln Square'\n 'UES'\n 'UWS'\n 'East Harle",
"end": 44,
"score": 0.986018717288971,
"start": 34,
"tag": "NAME",
"value": "Lenox Hill"
},
{
"context": "t Harlem'\n 'Fort George'\n 'Hamilton Heights'\n 'Harlem'... | lib/neighborhood-groups.coffee | craigspaeth/nfd-api | 0 | module.exports =
'Uptown': [
'Lenox Hill'
'Lincoln Square'
'UES'
'UWS'
'East Harlem'
'Fort George'
'Hamilton Heights'
'Harlem'
'Inwood'
'Upper Manhattan'
'Washington Heights'
'Yorkville'
'Hudson Heights'
'Central Park'
]
'Midtown': [
'Chelsea'
'Gramercy Park'
"Hell's Kitchen"
'Kips... | 72712 | module.exports =
'Uptown': [
'<NAME>'
'Lincoln Square'
'UES'
'UWS'
'East Harlem'
'Fort George'
'Hamilton Heights'
'<NAME>'
'Inwood'
'Upper Manhattan'
'Washington Heights'
'Yorkville'
'Hudson Heights'
'Central Park'
]
'Midtown': [
'Chelsea'
'Gramercy Park'
"Hell's Kitchen"
'Kips Bay... | true | module.exports =
'Uptown': [
'PI:NAME:<NAME>END_PI'
'Lincoln Square'
'UES'
'UWS'
'East Harlem'
'Fort George'
'Hamilton Heights'
'PI:NAME:<NAME>END_PI'
'Inwood'
'Upper Manhattan'
'Washington Heights'
'Yorkville'
'Hudson Heights'
'Central Park'
]
'Midtown': [
'Chelsea'
'Gramercy Park'
... |
[
{
"context": "k'\n published: true\n author: name: 'Molly'\n }, (err, article) =>\n article.slugs",
"end": 2814,
"score": 0.9997271299362183,
"start": 2809,
"tag": "NAME",
"value": "Molly"
},
{
"context": " published: true\n author: name: 'M... | src/api/apps/articles/test/model/save.test.coffee | ashleyjelks/positron | 0 | _ = require 'underscore'
rewire = require 'rewire'
{ fabricate, empty } = require '../../../../test/helpers/db'
Save = rewire '../../model/save'
Article = require '../../model/index'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'sinon'
moment = require '... | 128893 | _ = require 'underscore'
rewire = require 'rewire'
{ fabricate, empty } = require '../../../../test/helpers/db'
Save = rewire '../../model/save'
Article = require '../../model/index'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'sinon'
moment = require '... | true | _ = require 'underscore'
rewire = require 'rewire'
{ fabricate, empty } = require '../../../../test/helpers/db'
Save = rewire '../../model/save'
Article = require '../../model/index'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'sinon'
moment = require '... |
[
{
"context": "color is #{ color } \"\n\nfamily = \nmother:\n name: 'Someone'\n age: 32\nfather:\n name: 'mood'",
"end": 146,
"score": 0.9979425072669983,
"start": 139,
"tag": "NAME",
"value": "Someone"
},
{
"context": "her:\n name: 'Someone'\n age: 32\nfather:\n name: 'mood'",
... | Dutch's File/other/test1.coffee | LOCCouncil/Tests | 0 | name = (name, age, color) -> "My name is #{ name }, I am #{ age } years old. My favorite color is #{ color } "
family =
mother:
name: 'Someone'
age: 32
father:
name: 'mood' | 220010 | name = (name, age, color) -> "My name is #{ name }, I am #{ age } years old. My favorite color is #{ color } "
family =
mother:
name: '<NAME>'
age: 32
father:
name: '<NAME>' | true | name = (name, age, color) -> "My name is #{ name }, I am #{ age } years old. My favorite color is #{ color } "
family =
mother:
name: 'PI:NAME:<NAME>END_PI'
age: 32
father:
name: 'PI:NAME:<NAME>END_PI' |
[
{
"context": ": { type: 'boolean' }\n }\n }\n data = { name: 'Bob', numbers: ['401-401-1337', '123-456-7890', '456-",
"end": 289,
"score": 0.9998179078102112,
"start": 286,
"tag": "NAME",
"value": "Bob"
},
{
"context": " and delete actions', ->\n treema.set '/name', 'Alice'\n... | test/undo-redo.coffee | lgr7/codecombattreema | 66 | describe 'Undo-redo behavior', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: ['string', 'array'] } }
address: { type: 'string' }
completed: { type: 'boolean' }
}
}
data = { name: 'Bob', numbers: ['401-401-1337', '1... | 148390 | describe 'Undo-redo behavior', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: ['string', 'array'] } }
address: { type: 'string' }
completed: { type: 'boolean' }
}
}
data = { name: '<NAME>', numbers: ['401-401-1337',... | true | describe 'Undo-redo behavior', ->
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: ['string', 'array'] } }
address: { type: 'string' }
completed: { type: 'boolean' }
}
}
data = { name: 'PI:NAME:<NAME>END_PI', numbers: ['... |
[
{
"context": "py: tool for exploring pleiotropy for two traits\n# Karl W Broman\n\nipleiotropy = (widgetdiv, lod_data, pxg_data, ch",
"end": 75,
"score": 0.9997041821479797,
"start": 62,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/ipleiotropy.coffee | cran/qtlcharts | 64 | # ipleiotropy: tool for exploring pleiotropy for two traits
# Karl W Broman
ipleiotropy = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
width ... | 127885 | # ipleiotropy: tool for exploring pleiotropy for two traits
# <NAME>
ipleiotropy = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
width = chart... | true | # ipleiotropy: tool for exploring pleiotropy for two traits
# PI:NAME:<NAME>END_PI
ipleiotropy = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
... |
[
{
"context": ", email] = data.value.split \":\"\n\t\t\t\tif username == username_sent && password == password_sent\n\t\t\t\t\tresult =\n\t\t\t\t\t\t",
"end": 577,
"score": 0.9873149991035461,
"start": 564,
"tag": "USERNAME",
"value": "username_sent"
},
{
"context": ":\"\n\t\t\t\tif u... | src/user.coffee | steven9neuf/ast_project | 0 | module.exports = (db) ->
# get(username_sent, password_sent, callback)
# Get the user which username and password match with the sent parameters
# - username_sent : sent username by the auth form
# - password_sent : sent password by the auth form
# - callback : callback function
get: (username_sent, password_sen... | 209802 | module.exports = (db) ->
# get(username_sent, password_sent, callback)
# Get the user which username and password match with the sent parameters
# - username_sent : sent username by the auth form
# - password_sent : sent password by the auth form
# - callback : callback function
get: (username_sent, password_sen... | true | module.exports = (db) ->
# get(username_sent, password_sent, callback)
# Get the user which username and password match with the sent parameters
# - username_sent : sent username by the auth form
# - password_sent : sent password by the auth form
# - callback : callback function
get: (username_sent, password_sen... |
[
{
"context": "name: process.env.HUBOT_STASH_USERNAME\n password: process.env.HUBOT_STASH_PASSWORD\n pollIntervalMilliseconds: process.env.HUBOT_STA",
"end": 106,
"score": 0.982240617275238,
"start": 74,
"tag": "PASSWORD",
"value": "process.env.HUBOT_STASH_PASSWORD"
}
] | src/config/config.coffee | klarna/hubot-stash-poll | 8 | module.exports =
username: process.env.HUBOT_STASH_USERNAME
password: process.env.HUBOT_STASH_PASSWORD
pollIntervalMilliseconds: process.env.HUBOT_STASH_POLLINTERVAL || 60000
| 76028 | module.exports =
username: process.env.HUBOT_STASH_USERNAME
password: <PASSWORD>
pollIntervalMilliseconds: process.env.HUBOT_STASH_POLLINTERVAL || 60000
| true | module.exports =
username: process.env.HUBOT_STASH_USERNAME
password: PI:PASSWORD:<PASSWORD>END_PI
pollIntervalMilliseconds: process.env.HUBOT_STASH_POLLINTERVAL || 60000
|
[
{
"context": "ee',\n moves: ['Hi Jump Kick']\n\nFactory.register 'Mew',\n ability: 'Synchronize'\n moves: ['Psychic', '",
"end": 743,
"score": 0.7021034359931946,
"start": 740,
"tag": "NAME",
"value": "Mew"
},
{
"context": "s: ['Psychic', 'AncientPower']\n\nFactory.register 'Corph... | test/factory.coffee | sarenji/pokebattle-sim | 5 | {_} = require 'underscore'
factories = {}
@Factory = Factory = (species, attributes={}) ->
if species not of factories
Factory.register(species)
cloned = _.clone(factories[species])
_.extend(cloned, attributes)
Factory.register = (species, attributes={}) ->
cloned = _.clone(attributes)
_.defaults(clone... | 33032 | {_} = require 'underscore'
factories = {}
@Factory = Factory = (species, attributes={}) ->
if species not of factories
Factory.register(species)
cloned = _.clone(factories[species])
_.extend(cloned, attributes)
Factory.register = (species, attributes={}) ->
cloned = _.clone(attributes)
_.defaults(clone... | true | {_} = require 'underscore'
factories = {}
@Factory = Factory = (species, attributes={}) ->
if species not of factories
Factory.register(species)
cloned = _.clone(factories[species])
_.extend(cloned, attributes)
Factory.register = (species, attributes={}) ->
cloned = _.clone(attributes)
_.defaults(clone... |
[
{
"context": "###\nHubot Adapter for Kandan\nhttps://github.com/kandanapp/hubot-kandan\n \nThe Hubot Adapter for Kandan is li",
"end": 57,
"score": 0.9996685981750488,
"start": 48,
"tag": "USERNAME",
"value": "kandanapp"
},
{
"context": "ubscribe\"\n message['ext'] = { auth_... | src/kandan.coffee | kandanapp/hubot-kandan | 4 | ###
Hubot Adapter for Kandan
https://github.com/kandanapp/hubot-kandan
The Hubot Adapter for Kandan is licensed under The MIT License (MIT)
###
# Hubot API
Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
# Node API
HTTP = require('ht... | 90771 | ###
Hubot Adapter for Kandan
https://github.com/kandanapp/hubot-kandan
The Hubot Adapter for Kandan is licensed under The MIT License (MIT)
###
# Hubot API
Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
# Node API
HTTP = require('ht... | true | ###
Hubot Adapter for Kandan
https://github.com/kandanapp/hubot-kandan
The Hubot Adapter for Kandan is licensed under The MIT License (MIT)
###
# Hubot API
Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
# Node API
HTTP = require('ht... |
[
{
"context": "n: -> 'chuckle brothers'\n array: ['barry', 'paul']\n empties:\n array: []\n str",
"end": 264,
"score": 0.9996073246002197,
"start": 259,
"tag": "NAME",
"value": "barry"
},
{
"context": "chuckle brothers'\n array: ['barry', 'pau... | test/validators-test.coffee | notatestuser/pedantic-pick | 0 | require 'coffee-script'
sinon = require 'sinon'
describe 'validators', ->
validators = require '../src/validators'
stuff =
object: toMe: 'toYou'
string: ' - the '
number: 2
function: -> 'chuckle brothers'
array: ['barry', 'paul']
empties:
array: []
string: '... | 161070 | require 'coffee-script'
sinon = require 'sinon'
describe 'validators', ->
validators = require '../src/validators'
stuff =
object: toMe: 'toYou'
string: ' - the '
number: 2
function: -> 'chuckle brothers'
array: ['<NAME>', '<NAME>']
empties:
array: []
string... | true | require 'coffee-script'
sinon = require 'sinon'
describe 'validators', ->
validators = require '../src/validators'
stuff =
object: toMe: 'toYou'
string: ' - the '
number: 2
function: -> 'chuckle brothers'
array: ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
empties:
... |
[
{
"context": "#\n# Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 71,
"score": 0.9998820424079895,
"start": 50,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright (c)... | example /html/src/zen-renderer.coffee | amane312/photon_generator | 0 | #
# Zen Photon Garden.
#
# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>
#
# 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... | 201527 | #
# Zen Photon Garden.
#
# Copyright (c) 2013 <NAME> <<EMAIL>>
#
# 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 ... | true | #
# Zen Photon Garden.
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including with... |
[
{
"context": "#\n# utils.coffee\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\nconnect = require 'c",
"end": 54,
"score": 0.9998703002929688,
"start": 44,
"tag": "NAME",
"value": "Nick Small"
},
{
"context": "t path segments)\n# Lifted from https://github.c... | src/tools/utils.coffee | nickjs/batman | 1 | #
# utils.coffee
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
parse = require("url").parse
cache = {}
# Recursive mkdir (creates all nonexistent path segments)
# Lifted from https://github.com/bp... | 140095 | #
# utils.coffee
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
parse = require("url").parse
cache = {}
# Recursive mkdir (creates all nonexistent path segments)
# Lifted from https://github.com/bpedro... | true | #
# utils.coffee
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
connect = require 'connect'
path = require 'path'
fs = require 'fs'
cli = require './cli'
parse = require("url").parse
cache = {}
# Recursive mkdir (creates all nonexistent path segments)
# Lifted from https://git... |
[
{
"context": ", (next) ->\n @req.set('access-key', ObjectID('5240630360d7400b18000001'))\n next()\n\n @Given /^is from an admin user$/",
"end": 455,
"score": 0.9997603893280029,
"start": 431,
"tag": "KEY",
"value": "5240630360d7400b18000001"
},
{
"context": "/, (next) ->\n ... | test/integration/server/stepDefinitions/environmentFilter.coffee | valueflowquality/gi-security-update | 0 | moment = require 'moment'
sdk = require 'gi-sdk'
ObjectID = require('mongodb').ObjectID
expect = require('chai').expect
dbHelper = require '../../../lib/dbhelper'
module.exports = () ->
@World = require('../support/world').World
@Given /^Hmac is a valid authentication method$/, (next) ->
dbHelper.setSetting '... | 88962 | moment = require 'moment'
sdk = require 'gi-sdk'
ObjectID = require('mongodb').ObjectID
expect = require('chai').expect
dbHelper = require '../../../lib/dbhelper'
module.exports = () ->
@World = require('../support/world').World
@Given /^Hmac is a valid authentication method$/, (next) ->
dbHelper.setSetting '... | true | moment = require 'moment'
sdk = require 'gi-sdk'
ObjectID = require('mongodb').ObjectID
expect = require('chai').expect
dbHelper = require '../../../lib/dbhelper'
module.exports = () ->
@World = require('../support/world').World
@Given /^Hmac is a valid authentication method$/, (next) ->
dbHelper.setSetting '... |
[
{
"context": "http://cheevos.com\") Learn more about cheevos from Bboy360 at cheevos.com\n\n \"\"\"\n contributors: \"\"\"\n ",
"end": 3802,
"score": 0.9849193692207336,
"start": 3795,
"tag": "USERNAME",
"value": "Bboy360"
},
{
"context": "\")\n h1 Contributors\n ... | issues/2017-02.coffee | STRd6/zine | 12 | Achievement = require "../lib/achievement"
Model = require "model"
Social = require "../social/social"
{parentElementOfType, emptyElement} = require "../util"
module.exports = ->
{ContextMenu, MenuBar, Modal, Progress, Util:{parseMenu}, Window} = system.UI
container = document.createElement "container"
syste... | 163564 | Achievement = require "../lib/achievement"
Model = require "model"
Social = require "../social/social"
{parentElementOfType, emptyElement} = require "../util"
module.exports = ->
{ContextMenu, MenuBar, Modal, Progress, Util:{parseMenu}, Window} = system.UI
container = document.createElement "container"
syste... | true | Achievement = require "../lib/achievement"
Model = require "model"
Social = require "../social/social"
{parentElementOfType, emptyElement} = require "../util"
module.exports = ->
{ContextMenu, MenuBar, Modal, Progress, Util:{parseMenu}, Window} = system.UI
container = document.createElement "container"
syste... |
[
{
"context": "dler\", ->\n\tbeforeEach ->\n\t\t@projectId = ObjectId(\"5bea8747c7bba6012fcaceb3\")\n\t\t@userId = ObjectId(\"5be316a9c7f6aa03802ea8fb\"",
"end": 471,
"score": 0.9498398900032043,
"start": 447,
"tag": "KEY",
"value": "5bea8747c7bba6012fcaceb3"
},
{
"context": "\"5bea87... | test/unit/coffee/Project/ProjectCollabratecDetailsTest.coffee | shyoshyo/web-sharelatex | 1 | ObjectId = require("mongojs").ObjectId
Path = require "path"
SandboxedModule = require "sandboxed-module"
assert = require "assert"
chai = require "chai"
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
expect = chai.expect
modulePath = Path.join __dirname, "../../../../app/js/Features/Proj... | 153094 | ObjectId = require("mongojs").ObjectId
Path = require "path"
SandboxedModule = require "sandboxed-module"
assert = require "assert"
chai = require "chai"
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
expect = chai.expect
modulePath = Path.join __dirname, "../../../../app/js/Features/Proj... | true | ObjectId = require("mongojs").ObjectId
Path = require "path"
SandboxedModule = require "sandboxed-module"
assert = require "assert"
chai = require "chai"
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
expect = chai.expect
modulePath = Path.join __dirname, "../../../../app/js/Features/Proj... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998895525932312,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/base.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 5592 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "online'\n\t\tn: 'There are %1 users online'\n\tlogin: 'Login'\n\tusername: 'Username'\n\nx18n.register 'de',\n\tlang",
"end": 170,
"score": 0.7168087363243103,
"start": 165,
"tag": "USERNAME",
"value": "Login"
},
{
"context": " are %1 users online'\n\tlogin: 'Login'\n\t... | spec/spec.coffee | florian/jQuery.x18n | 3 | x18n.register 'en',
language: 'Language'
welcome: 'Welcome %1'
bye: 'Bye %{name}'
users:
1: 'There is 1 user online'
n: 'There are %1 users online'
login: 'Login'
username: 'Username'
x18n.register 'de',
language: 'Sprache'
welcome: 'Willkommen %1'
bye: 'Tschüss %{name}'
users:
1: 'Es ist 1 Benutzer on... | 43590 | x18n.register 'en',
language: 'Language'
welcome: 'Welcome %1'
bye: 'Bye %{name}'
users:
1: 'There is 1 user online'
n: 'There are %1 users online'
login: 'Login'
username: 'Username'
x18n.register 'de',
language: 'Sprache'
welcome: 'Willkommen %1'
bye: 'Tschüss %{name}'
users:
1: 'Es ist 1 Benutzer on... | true | x18n.register 'en',
language: 'Language'
welcome: 'Welcome %1'
bye: 'Bye %{name}'
users:
1: 'There is 1 user online'
n: 'There are %1 users online'
login: 'Login'
username: 'Username'
x18n.register 'de',
language: 'Sprache'
welcome: 'Willkommen %1'
bye: 'Tschüss %{name}'
users:
1: 'Es ist 1 Benutzer on... |
[
{
"context": "e '/templates/test/test.js'\n expKeyUNIX = 'test/test'\n expKey = if os.platform() is 'win32'",
"end": 4915,
"score": 0.9916160106658936,
"start": 4906,
"tag": "KEY",
"value": "test/test"
},
{
"context": " expKey = if os.platform() is 'win32' the... | src/coffee/test/test.coffee | jh3y/gulp-store | 1 | assert = require 'stream-assert'
expect = require('chai').expect
tmplStore = require '../lib/index'
path = require 'path'
util = require 'gulp-util'
gulp = require 'gulp'
vm = require 'vm'
os = require 'os'
_ = require 'lodash'
PLUGIN_NAME = 'gulp-template-st... | 198616 | assert = require 'stream-assert'
expect = require('chai').expect
tmplStore = require '../lib/index'
path = require 'path'
util = require 'gulp-util'
gulp = require 'gulp'
vm = require 'vm'
os = require 'os'
_ = require 'lodash'
PLUGIN_NAME = 'gulp-template-st... | true | assert = require 'stream-assert'
expect = require('chai').expect
tmplStore = require '../lib/index'
path = require 'path'
util = require 'gulp-util'
gulp = require 'gulp'
vm = require 'vm'
os = require 'os'
_ = require 'lodash'
PLUGIN_NAME = 'gulp-template-st... |
[
{
"context": "eEntry shows a row in the user table.\n\n @author Sebastian Sachtleben\n###\nclass UserTableEntry extends TableEntryView\n\n",
"end": 193,
"score": 0.9999006390571594,
"start": 173,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/admin/views/users/tableEntry.coffee | ssachtleben/herowar | 1 | TableEntryView = require 'views/tableEntryView'
app = require 'application'
db = require 'database'
###
The UsersTableEntry shows a row in the user table.
@author Sebastian Sachtleben
###
class UserTableEntry extends TableEntryView
entityType: 'user'
deleteField: 'username'
deleteEntry: (event) ->
... | 38130 | TableEntryView = require 'views/tableEntryView'
app = require 'application'
db = require 'database'
###
The UsersTableEntry shows a row in the user table.
@author <NAME>
###
class UserTableEntry extends TableEntryView
entityType: 'user'
deleteField: 'username'
deleteEntry: (event) ->
event?.preven... | true | TableEntryView = require 'views/tableEntryView'
app = require 'application'
db = require 'database'
###
The UsersTableEntry shows a row in the user table.
@author PI:NAME:<NAME>END_PI
###
class UserTableEntry extends TableEntryView
entityType: 'user'
deleteField: 'username'
deleteEntry: (event) ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982656836509705,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-sni-option.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... | 3819 | # 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": "\n }\n }\n \n beforeEach ->\n data = { name: 'Bob', numbers: ['401-401-1337', '123-456-7890'] }\n ",
"end": 274,
"score": 0.9998069405555725,
"start": 271,
"tag": "NAME",
"value": "Bob"
}
] | test/mouse-click.coffee | lgr7/codecombattreema | 66 | describe 'Mouse click behavior', ->
treema = nameTreema = phoneTreema = null
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string' } }
}
}
beforeEach ->
data = { name: 'Bob', numbers: ['401-401-1337', '123-456-7890'] }... | 166643 | describe 'Mouse click behavior', ->
treema = nameTreema = phoneTreema = null
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string' } }
}
}
beforeEach ->
data = { name: '<NAME>', numbers: ['401-401-1337', '123-456-7890'... | true | describe 'Mouse click behavior', ->
treema = nameTreema = phoneTreema = null
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string' } }
}
}
beforeEach ->
data = { name: 'PI:NAME:<NAME>END_PI', numbers: ['401-401-1337', ... |
[
{
"context": "# 'randomND' module example project v1.0\n# by Marc Krenn, Jan. 2nd, 2016 | marc.krenn@gmail.com | @marc_kr",
"end": 56,
"score": 0.9998924136161804,
"start": 46,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "ple project v1.0\n# by Marc Krenn, Jan. 2nd, 2016 | m... | randomNDExample.framer/app.coffee | marckrenn/framer-randomND | 1 | # 'randomND' module example project v1.0
# by Marc Krenn, Jan. 2nd, 2016 | marc.krenn@gmail.com | @marc_krenn
# Include module
randomND = require "randomND"
from = 0
to = 99
deviation = 17 # Curve's width
mean = 0 # Shifts amplitude
amplitude = 2 # Curve's pointines
# Visualization
barsVis = []
for i in [from..to]
... | 215969 | # 'randomND' module example project v1.0
# by <NAME>, Jan. 2nd, 2016 | <EMAIL> | @marc_krenn
# Include module
randomND = require "randomND"
from = 0
to = 99
deviation = 17 # Curve's width
mean = 0 # Shifts amplitude
amplitude = 2 # Curve's pointines
# Visualization
barsVis = []
for i in [from..to]
bar = barsVis[i]... | true | # 'randomND' module example project v1.0
# by PI:NAME:<NAME>END_PI, Jan. 2nd, 2016 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# Include module
randomND = require "randomND"
from = 0
to = 99
deviation = 17 # Curve's width
mean = 0 # Shifts amplitude
amplitude = 2 # Curve's pointines
# Visualization
barsVis = []
for i in... |
[
{
"context": "ONGOLAB_URI\n#\n# Commands:\n# None\n#\n# Author:\n# juancoen, darvin\n#\n\n\nUrl = require \"url\"\nMongoClient = r",
"end": 277,
"score": 0.9631381034851074,
"start": 269,
"tag": "USERNAME",
"value": "juancoen"
},
{
"context": "I\n#\n# Commands:\n# None\n#\n# ... | src/scripts/mongo-brain.coffee | tessalt/hubot-scripts | 1 | # Description:
# Replaces default `redis-brain` with MongoDB one. Useful
# to those who wants to have persistence on completely free
# Heroku account.
#
# Dependencies:
# "mongodb": "*"
#
# Configuration:
# MONGOLAB_URI
#
# Commands:
# None
#
# Author:
# juancoen, darvin
#
Url = require "url"
MongoCli... | 161827 | # Description:
# Replaces default `redis-brain` with MongoDB one. Useful
# to those who wants to have persistence on completely free
# Heroku account.
#
# Dependencies:
# "mongodb": "*"
#
# Configuration:
# MONGOLAB_URI
#
# Commands:
# None
#
# Author:
# juancoen, <NAME>vin
#
Url = require "url"
Mongo... | true | # Description:
# Replaces default `redis-brain` with MongoDB one. Useful
# to those who wants to have persistence on completely free
# Heroku account.
#
# Dependencies:
# "mongodb": "*"
#
# Configuration:
# MONGOLAB_URI
#
# Commands:
# None
#
# Author:
# juancoen, PI:NAME:<NAME>END_PIvin
#
Url = requi... |
[
{
"context": " jQuery UI Color Picker Widget\n#\n# Copyright 2012, Olav Andreas Lindekleiv (http://lindekleiv.com/)\n# Available under the BS",
"end": 75,
"score": 0.999870777130127,
"start": 52,
"tag": "NAME",
"value": "Olav Andreas Lindekleiv"
},
{
"context": "gba: (h, s, l, a=1.0)... | dist/jsmm-applet/colorpicker/jquery.ui.colorPicker.coffee | Mehdi-Soltanmoradi/jsdares | 45 | # jQuery UI Color Picker Widget
#
# Copyright 2012, Olav Andreas Lindekleiv (http://lindekleiv.com/)
# Available under the BSD License
# See the LICENSE file or http://opensource.org/licenses/BSD-3-Clause
#
# Available on BitBucket at
# https://bitbucket.org/lindekleiv/jquery-ui-colorpicker
$.widget 'oal.colorPicker',... | 195486 | # jQuery UI Color Picker Widget
#
# Copyright 2012, <NAME> (http://lindekleiv.com/)
# Available under the BSD License
# See the LICENSE file or http://opensource.org/licenses/BSD-3-Clause
#
# Available on BitBucket at
# https://bitbucket.org/lindekleiv/jquery-ui-colorpicker
$.widget 'oal.colorPicker',
options:
s... | true | # jQuery UI Color Picker Widget
#
# Copyright 2012, PI:NAME:<NAME>END_PI (http://lindekleiv.com/)
# Available under the BSD License
# See the LICENSE file or http://opensource.org/licenses/BSD-3-Clause
#
# Available on BitBucket at
# https://bitbucket.org/lindekleiv/jquery-ui-colorpicker
$.widget 'oal.colorPicker',
... |
[
{
"context": "uestion sets\n \n Answer Question\n 309 Colver Rd Which one of the following addresses is",
"end": 509,
"score": 0.8884025812149048,
"start": 506,
"tag": "NAME",
"value": "Col"
},
{
"context": "the following area codes is associated with you?\n Jasper... | app/scripts/controllers/verifytwo.coffee | nerdfiles/utxo_us | 0 | "use strict"
###*
@ngdoc function
@name utxoPmc.controller:VerifytwoCtrl
@description
# VerifytwoCtrl
Controller of the utxoPmc
###
angular.module("utxoPmc").controller "VerifytwoCtrl", ($scope, person, $location, authentication) ->
$scope.person = {}
_id = null
if person and person.current and person.current.ve... | 52851 | "use strict"
###*
@ngdoc function
@name utxoPmc.controller:VerifytwoCtrl
@description
# VerifytwoCtrl
Controller of the utxoPmc
###
angular.module("utxoPmc").controller "VerifytwoCtrl", ($scope, person, $location, authentication) ->
$scope.person = {}
_id = null
if person and person.current and person.current.ve... | true | "use strict"
###*
@ngdoc function
@name utxoPmc.controller:VerifytwoCtrl
@description
# VerifytwoCtrl
Controller of the utxoPmc
###
angular.module("utxoPmc").controller "VerifytwoCtrl", ($scope, person, $location, authentication) ->
$scope.person = {}
_id = null
if person and person.current and person.current.ve... |
[
{
"context": "xports =\n meta:\n name: \"daemons\"\n author: \"Joseph\"\n version: \"0.0.1\"\n description: \"Daemon ma",
"end": 1357,
"score": 0.926619291305542,
"start": 1351,
"tag": "NAME",
"value": "Joseph"
}
] | node_modules/status/lib/plugins/daemons.coffee | DORCAS12345/lamisplus-angular | 0 | {exec} = require "child_process"
{which} = require "fractal"
boiler = (command, format, done)->
throw 'rc.d not installed' unless which 'rc.d'
exec command, (err, stdout)->
if stdout.match /usage/
done format stdout
else
throw err if err? #TODO return more useful errors
done format stdout... | 24351 | {exec} = require "child_process"
{which} = require "fractal"
boiler = (command, format, done)->
throw 'rc.d not installed' unless which 'rc.d'
exec command, (err, stdout)->
if stdout.match /usage/
done format stdout
else
throw err if err? #TODO return more useful errors
done format stdout... | true | {exec} = require "child_process"
{which} = require "fractal"
boiler = (command, format, done)->
throw 'rc.d not installed' unless which 'rc.d'
exec command, (err, stdout)->
if stdout.match /usage/
done format stdout
else
throw err if err? #TODO return more useful errors
done format stdout... |
[
{
"context": " token: $stateParams.token\n# realname: '易晓峰'\n# email: 'conis.yi@gmail.com'\n# pa",
"end": 1931,
"score": 0.9996935129165649,
"start": 1928,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "s.token\n# realname: '易晓峰'\n# email: 'conis... | src/js/member/authority-directives.coffee | Kiteam/kiteam-angular | 0 | define [
'../ng-module'
'../utils'
'./views/authority.html'
], (_module, _utils, _template) ->
_module.directiveModule
.directive('signIn', ['$location', '$state', 'API', 'NOTIFY', 'STORE', ($location, $state, API, NOTIFY, STORE)->
restrict: 'E'
replace: true
scope: true
template: _utils.extr... | 16016 | define [
'../ng-module'
'../utils'
'./views/authority.html'
], (_module, _utils, _template) ->
_module.directiveModule
.directive('signIn', ['$location', '$state', 'API', 'NOTIFY', 'STORE', ($location, $state, API, NOTIFY, STORE)->
restrict: 'E'
replace: true
scope: true
template: _utils.extr... | true | define [
'../ng-module'
'../utils'
'./views/authority.html'
], (_module, _utils, _template) ->
_module.directiveModule
.directive('signIn', ['$location', '$state', 'API', 'NOTIFY', 'STORE', ($location, $state, API, NOTIFY, STORE)->
restrict: 'E'
replace: true
scope: true
template: _utils.extr... |
[
{
"context": ") ->\n expect(creds.accessKeyId).to.equal(key || 'akid')\n expect(creds.secretAccessKey).to.equal(secret",
"end": 154,
"score": 0.7159441709518433,
"start": 150,
"tag": "KEY",
"value": "akid"
},
{
"context": "expect(creds.secretAccessKey).to.equal(secret || 'secret')\... | test/credentials.spec.coffee | selboo/scs-sdk-js | 28 | helpers = require('./helpers')
AWS = helpers.AWS
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || 'akid')
expect(creds.secretAccessKey).to.equal(secret || 'secret')
expect(creds.sessionToken).to.equal(session || 'session')
describe 'AWS.Credentials', ->
describe... | 194672 | helpers = require('./helpers')
AWS = helpers.AWS
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || '<KEY>')
expect(creds.secretAccessKey).to.equal(secret || '<KEY>')
expect(creds.sessionToken).to.equal(session || 'session')
describe 'AWS.Credentials', ->
describe... | true | helpers = require('./helpers')
AWS = helpers.AWS
validateCredentials = (creds, key, secret, session) ->
expect(creds.accessKeyId).to.equal(key || 'PI:KEY:<KEY>END_PI')
expect(creds.secretAccessKey).to.equal(secret || 'PI:KEY:<KEY>END_PI')
expect(creds.sessionToken).to.equal(session || 'session')
describe 'AWS.C... |
[
{
"context": "Dir DEST\n .withOptions\n realname: 'Octoblu, Inc'\n githubUrl: 'https://github.com/octoblu'\n",
"end": 443,
"score": 0.642471194267273,
"start": 434,
"tag": "NAME",
"value": "oblu, Inc"
},
{
"context": "oblu, Inc'\n githubUrl: 'https://github.... | test/app.spec.coffee | octoblu/generator-octoblu-cli | 0 | {before, describe, it} = global
path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'tmp', "#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
fs.mkdirsSync DEST
helper... | 164358 | {before, describe, it} = global
path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'tmp', "#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
fs.mkdirsSync DEST
helper... | true | {before, describe, it} = global
path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'tmp', "#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
fs.mkdirsSync DEST
helper... |
[
{
"context": "benchmark from:\n#\n# http://www.cl.cam.ac.uk/~mr10/Bench.html\n#\n# The benchmark was originally imple",
"end": 1685,
"score": 0.9454668760299683,
"start": 1683,
"tag": "USERNAME",
"value": "10"
},
{
"context": " benchmark was originally implemented in BCPL by\n# Ma... | deps/v8/benchmarks/richards.coffee | lxe/io.coffee | 0 | # Copyright 2006-2008 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of co... | 40488 | # Copyright 2006-2008 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of co... | true | # Copyright 2006-2008 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of co... |
[
{
"context": "se, Lighthouse, Warehouse\",\n \"Bridge Crossing: Lurker, Nobles, Duke, Conspirator, Bridge • Salvager,",
"end": 2434,
"score": 0.6060341596603394,
"start": 2432,
"tag": "NAME",
"value": "ur"
},
{
"context": "thouse, Warehouse\",\n \"Bridge Crossing: Lurker, Nobles,... | process/kingdoms.coffee | Youbi42/KingdomCreator | 1 | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... | 199761 | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... | true | Loader = require('./loader')
sets = Loader.loadSets()
findCardByShortId = (shortId) ->
for setId, set of sets
for card in set.cards
if shortId == card.shortId
return card
if set.events
for event in set.events
if shortId == event.shortId
return e... |
[
{
"context": "\n\tM.users.findOne {userid:params.userid, password:SS.server.user.crpassword(params.password)}, (err,doc)->\n\t\tif doc?\n\t\t\t# ログイ",
"end": 163,
"score": 0.8993136882781982,
"start": 138,
"tag": "PASSWORD",
"value": "SS.server.user.crpassword"
}
] | server/libs/auth.coffee | Yukimir/jinrou | 0 | #ユーザー管理の何か
#params: params.userid, params.password
exports.authenticate = (params, cb)->
M.users.findOne {userid:params.userid, password:SS.server.user.crpassword(params.password)}, (err,doc)->
if doc?
# ログイン成功
delete doc.password # 密码は隠す
doc.success=true
cb doc
else
cb {success:false}
| 182362 | #ユーザー管理の何か
#params: params.userid, params.password
exports.authenticate = (params, cb)->
M.users.findOne {userid:params.userid, password:<PASSWORD>(params.password)}, (err,doc)->
if doc?
# ログイン成功
delete doc.password # 密码は隠す
doc.success=true
cb doc
else
cb {success:false}
| true | #ユーザー管理の何か
#params: params.userid, params.password
exports.authenticate = (params, cb)->
M.users.findOne {userid:params.userid, password:PI:PASSWORD:<PASSWORD>END_PI(params.password)}, (err,doc)->
if doc?
# ログイン成功
delete doc.password # 密码は隠す
doc.success=true
cb doc
else
cb {success:false}
|
[
{
"context": "force no accesskey attribute on element.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 109,
"score": 0.999879002571106,
"start": 98,
"tag": "NAME",
"value": "Ethan Cohen"
},
{
"context": "Error]\n ,\n code: '<div accessKey={\"#... | src/tests/rules/no-access-key.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce no accesskey attribute on element.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTe... | 116177 | ### eslint-env jest ###
###*
# @fileoverview Enforce no accesskey attribute on element.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTester}... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce no accesskey attribute on element.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path... |
[
{
"context": "{\n name: 'SingleWitch'\n requires: ['Witch']\n gainPriority: (state, my",
"end": 22,
"score": 0.9715945720672607,
"start": 11,
"tag": "NAME",
"value": "SingleWitch"
}
] | strategies/SingleWitch.coffee | rspeer/dominiate | 65 | {
name: 'SingleWitch'
requires: ['Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 and my.countInDeck("Gold") > 0
"Witch" if my.countInDeck("Witch") == 0
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 <... | 139964 | {
name: '<NAME>'
requires: ['Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 and my.countInDeck("Gold") > 0
"Witch" if my.countInDeck("Witch") == 0
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < stat... | true | {
name: 'PI:NAME:<NAME>END_PI'
requires: ['Witch']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 and my.countInDeck("Gold") > 0
"Witch" if my.countInDeck("Witch") == 0
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estat... |
[
{
"context": "\n {\n \"projectId\": \"id-123\",\n \"recordKey\": \"key-123\",\n \"commitSha\": \"sha-123\",\n \"commitBranch\":",
"end": 144,
"score": 0.9659847021102905,
"start": 137,
"tag": "KEY",
"value": "key-123"
},
{
"context": "commitBranch\": \"master\",\n \"c... | packages/server/__snapshots__/record_spec.coffee | smartmanru/cypress | 0 | exports['lib/modes/record .generateProjectBuildId calls api.createRun with args 1'] = [
{
"projectId": "id-123",
"recordKey": "key-123",
"commitSha": "sha-123",
"commitBranch": "master",
"commitAuthorName": "brian",
"commitAuthorEmail": "brian@cypress.io",
"commitMessage": "such hax",
... | 77813 | exports['lib/modes/record .generateProjectBuildId calls api.createRun with args 1'] = [
{
"projectId": "id-123",
"recordKey": "<KEY>",
"commitSha": "sha-123",
"commitBranch": "master",
"commitAuthorName": "brian",
"commitAuthorEmail": "<EMAIL>",
"commitMessage": "such hax",
"remoteOrig... | true | exports['lib/modes/record .generateProjectBuildId calls api.createRun with args 1'] = [
{
"projectId": "id-123",
"recordKey": "PI:KEY:<KEY>END_PI",
"commitSha": "sha-123",
"commitBranch": "master",
"commitAuthorName": "brian",
"commitAuthorEmail": "PI:EMAIL:<EMAIL>END_PI",
"commitMessage":... |
[
{
"context": "extView: ->\n #@findNextIndex()\n @index = 0 #Miguel: test code\n @currentView(@index).fadeIn @anima",
"end": 2111,
"score": 0.8440835475921631,
"start": 2105,
"tag": "NAME",
"value": "Miguel"
}
] | app/assets/javascripts/dashing/widgets/fitbit.coffee | dasgprat/FitTrack | 0 | class Dashing.Fitbit extends Dashing.Widget
ready: ->
@visible = true
@animate = true
@determineView()
onData: (data) ->
#console.log("whatsupp")
@currentView(@index).fadeOut() if @index
clearInterval @interval if @interval
if data.error
@error = data.error
else
@... | 179948 | class Dashing.Fitbit extends Dashing.Widget
ready: ->
@visible = true
@animate = true
@determineView()
onData: (data) ->
#console.log("whatsupp")
@currentView(@index).fadeOut() if @index
clearInterval @interval if @interval
if data.error
@error = data.error
else
@... | true | class Dashing.Fitbit extends Dashing.Widget
ready: ->
@visible = true
@animate = true
@determineView()
onData: (data) ->
#console.log("whatsupp")
@currentView(@index).fadeOut() if @index
clearInterval @interval if @interval
if data.error
@error = data.error
else
@... |
[
{
"context": "ing\"\n\n result = jsck.validate\n fullName: \"Homer Simpson\"\n settings: null\n\n assert.equal result.va",
"end": 1239,
"score": 0.9997677803039551,
"start": 1226,
"tag": "NAME",
"value": "Homer Simpson"
}
] | test/draft4/adhoc.coffee | pandastrike/jsck | 176 | assert = require "assert"
Testify = require "testify"
JSCK = require("../../src/index").draft4
Testify.test "Ad hoc tests", (context) ->
context.test "undefinedness", (context) ->
jsck = new JSCK
$schema: "http://json-schema.org/draft-04/schema#"
type: "object"
properties:
foo:
... | 101803 | assert = require "assert"
Testify = require "testify"
JSCK = require("../../src/index").draft4
Testify.test "Ad hoc tests", (context) ->
context.test "undefinedness", (context) ->
jsck = new JSCK
$schema: "http://json-schema.org/draft-04/schema#"
type: "object"
properties:
foo:
... | true | assert = require "assert"
Testify = require "testify"
JSCK = require("../../src/index").draft4
Testify.test "Ad hoc tests", (context) ->
context.test "undefinedness", (context) ->
jsck = new JSCK
$schema: "http://json-schema.org/draft-04/schema#"
type: "object"
properties:
foo:
... |
[
{
"context": " cb()\n else\n $ .git \"clone git@github.com:barc/backbone.giraffe #{GH_PAGES}\", (err) ->\n ",
"end": 4889,
"score": 0.9994037747383118,
"start": 4875,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": " else\n $ .git \"... | Projfile.coffee | GerHobbelt/backbone.giraffe | 0 | fs = require('fs')
async = require('async')
pkg = require('./package.json')
exports.server =
dirname: 'dist/'
exports.project = (pm) ->
{f, $, Utils} = pm
$.registerExecutable 'git'
pm.filters require('pm-tutdown')
pm.load require('./Projtest.coffee'), ns: 'test'
changeToDist = f.tap (asset) ->
asse... | 73984 | fs = require('fs')
async = require('async')
pkg = require('./package.json')
exports.server =
dirname: 'dist/'
exports.project = (pm) ->
{f, $, Utils} = pm
$.registerExecutable 'git'
pm.filters require('pm-tutdown')
pm.load require('./Projtest.coffee'), ns: 'test'
changeToDist = f.tap (asset) ->
asse... | true | fs = require('fs')
async = require('async')
pkg = require('./package.json')
exports.server =
dirname: 'dist/'
exports.project = (pm) ->
{f, $, Utils} = pm
$.registerExecutable 'git'
pm.filters require('pm-tutdown')
pm.load require('./Projtest.coffee'), ns: 'test'
changeToDist = f.tap (asset) ->
asse... |
[
{
"context": "late.jpg\"\n alt: \"Bookplate for the library of Ernest E. Williams, showing an engraving of a lizard\"\n label: \"",
"end": 1024,
"score": 0.9998587369918823,
"start": 1006,
"tag": "NAME",
"value": "Ernest E. Williams"
},
{
"context": " \n ... | content/examples.coffee | zooniverse/sciencegossip | 3 | module.exports = [{
label: 'Type'
content: '''
We're only looking for certain types of illustrations.
'''
figures: [{
label: 'Drawing/painting/diagram'
image: "examples/drawing.jpg"
alt: "Examples of pages with a drawing, a painting and a diagram."
... | 175856 | module.exports = [{
label: 'Type'
content: '''
We're only looking for certain types of illustrations.
'''
figures: [{
label: 'Drawing/painting/diagram'
image: "examples/drawing.jpg"
alt: "Examples of pages with a drawing, a painting and a diagram."
... | true | module.exports = [{
label: 'Type'
content: '''
We're only looking for certain types of illustrations.
'''
figures: [{
label: 'Drawing/painting/diagram'
image: "examples/drawing.jpg"
alt: "Examples of pages with a drawing, a painting and a diagram."
... |
[
{
"context": "leoverview Tests for prefer-spread rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.999862015247345,
"start": 61,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/prefer-spread.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for prefer-spread rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/prefer-spread'
{... | 184213 | ###*
# @fileoverview Tests for prefer-spread rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/prefer-spread'
{RuleTest... | true | ###*
# @fileoverview Tests for prefer-spread rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/prefer-spr... |
[
{
"context": "0123456789012345')\n form.append('password', '12345')\n )\n form = req.form()\n form.append('io",
"end": 1072,
"score": 0.9993692636489868,
"start": 1067,
"tag": "PASSWORD",
"value": "12345"
},
{
"context": "890123456789012345')\n form.append('password'... | spec/server/functional/auth.spec.coffee | teplyja1/codecombat | 0 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
nock = require 'nock'
urlLogin = getURL('/auth/login')
urlReset = getURL('/auth/reset')
describe '/auth/whoami', ->
it 'returns 200', (done) ->
request.get(getURL('/auth/whoami'), (err, response) ->
expect(res... | 162067 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
nock = require 'nock'
urlLogin = getURL('/auth/login')
urlReset = getURL('/auth/reset')
describe '/auth/whoami', ->
it 'returns 200', (done) ->
request.get(getURL('/auth/whoami'), (err, response) ->
expect(res... | true | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
nock = require 'nock'
urlLogin = getURL('/auth/login')
urlReset = getURL('/auth/reset')
describe '/auth/whoami', ->
it 'returns 200', (done) ->
request.get(getURL('/auth/whoami'), (err, response) ->
expect(res... |
[
{
"context": "ge:\"Retrieve succeeded\", data:[\n [1, \"TEST1\", \"Nathan Stitt\", \"swell guy\"]\n [2, \"TEST2\", \"Nathan Stitt\", \"",
"end": 133,
"score": 0.9998787641525269,
"start": 121,
"tag": "NAME",
"value": "Nathan Stitt"
},
{
"context": "\", \"Nathan Stitt\", \"swell... | spec/hippo/components/grid/GridSpec.coffee | argosity/hippo | 3 | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "Nathan Stitt", "swell guy"]
[2, "TEST2", "Nathan Stitt", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'string'}
)
render... | 132340 | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "<NAME>", "swell guy"]
[2, "TEST2", "<NAME>", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'string'}
)
renderGrid = (q, d... | true | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "PI:NAME:<NAME>END_PI", "swell guy"]
[2, "TEST2", "PI:NAME:<NAME>END_PI", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'st... |
[
{
"context": "er = app.listen app.get 'port' , ->\n\tconsole.log \"Fantomas listening on port\", app.get 'port'",
"end": 284,
"score": 0.9983415603637695,
"start": 276,
"tag": "NAME",
"value": "Fantomas"
}
] | src/bin/www.coffee | gerardtoko/fantomas | 0 | #!/usr/bin/env node
cluster = require 'cluster'
app = require '../config/app'
nconf = require 'nconf'
config = path.resolve '../config/locale.json'
nconf.argv().env().file {file: config}
app.set 'port', nconf.get 'port'
server = app.listen app.get 'port' , ->
console.log "Fantomas listening on port", app.get 'port' | 225894 | #!/usr/bin/env node
cluster = require 'cluster'
app = require '../config/app'
nconf = require 'nconf'
config = path.resolve '../config/locale.json'
nconf.argv().env().file {file: config}
app.set 'port', nconf.get 'port'
server = app.listen app.get 'port' , ->
console.log "<NAME> listening on port", app.get 'port' | true | #!/usr/bin/env node
cluster = require 'cluster'
app = require '../config/app'
nconf = require 'nconf'
config = path.resolve '../config/locale.json'
nconf.argv().env().file {file: config}
app.set 'port', nconf.get 'port'
server = app.listen app.get 'port' , ->
console.log "PI:NAME:<NAME>END_PI listening on port", app... |
[
{
"context": "er = require(\"./minion.coffee\")\n\n# minions = {\n# goblin: { \n# cost: 50\n# }\n# dragon: {\n# cost",
"end": 135,
"score": 0.8306248784065247,
"start": 129,
"tag": "NAME",
"value": "goblin"
},
{
"context": "inions = {\n# goblin: { \n# cost: 50\n# ... | game/lib/game/helpers/minion_test.coffee | towerstorm/game | 11 |
# require("inline-mocha")(module);
# assert = require("assert")
# minionHelper = require("./minion.coffee")
# minions = {
# goblin: {
# cost: 50
# }
# dragon: {
# cost: 60
# }
# }
# describe "minionHelper", ->
# describe "getCostOfCheapestMinion", ->
# it "Should return the cheapest minion", ... | 181729 |
# require("inline-mocha")(module);
# assert = require("assert")
# minionHelper = require("./minion.coffee")
# minions = {
# <NAME>: {
# cost: 50
# }
# <NAME>: {
# cost: 60
# }
# }
# describe "minionHelper", ->
# describe "getCostOfCheapestMinion", ->
# it "Should return the cheapest minion", ... | true |
# require("inline-mocha")(module);
# assert = require("assert")
# minionHelper = require("./minion.coffee")
# minions = {
# PI:NAME:<NAME>END_PI: {
# cost: 50
# }
# PI:NAME:<NAME>END_PI: {
# cost: 60
# }
# }
# describe "minionHelper", ->
# describe "getCostOfCheapestMinion", ->
# it "Should r... |
[
{
"context": "##\n# ga\n# https://github.com/mickey/videojs-ga\n#\n# Copyright (c) 2013 Michael Bensous",
"end": 35,
"score": 0.9996491074562073,
"start": 29,
"tag": "USERNAME",
"value": "mickey"
},
{
"context": "ithub.com/mickey/videojs-ga\n#\n# Copyright (c) 2013 Michael Bensoussan... | src/videojs.ga.coffee | CompChimera/videojs-ga-videocloud | 0 | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 Michael Bensoussan
# Licensed under the MIT license.
##
videojs.plugin 'ga_gtm', (options = {}) ->
registerPlugin 'ga', (options = {}) ->
referrer = document.createElement('a')
referrer.href = document.referrer
if (self != top && window.loca... | 118458 | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
##
videojs.plugin 'ga_gtm', (options = {}) ->
registerPlugin 'ga', (options = {}) ->
referrer = document.createElement('a')
referrer.href = document.referrer
if (self != top && window.location.host ==... | true | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
##
videojs.plugin 'ga_gtm', (options = {}) ->
registerPlugin 'ga', (options = {}) ->
referrer = document.createElement('a')
referrer.href = document.referrer
if (self != top && window.lo... |
[
{
"context": " The `Math` unit extensions\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nold_Math_random = Math.random\n\nMath.random = (m",
"end": 71,
"score": 0.999888002872467,
"start": 54,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/lang/src/math.coffee | lovely-io/lovely.io-stl | 2 | #
# The `Math` unit extensions
#
# Copyright (C) 2011 Nikolay Nemshilov
#
old_Math_random = Math.random
Math.random = (min, max)->
if arguments.length is 0
return old_Math_random()
else if arguments.length is 1
max = min
min = 0
~~(old_Math_random() * (max-min+1) + ~~min)
| 99185 | #
# The `Math` unit extensions
#
# Copyright (C) 2011 <NAME>
#
old_Math_random = Math.random
Math.random = (min, max)->
if arguments.length is 0
return old_Math_random()
else if arguments.length is 1
max = min
min = 0
~~(old_Math_random() * (max-min+1) + ~~min)
| true | #
# The `Math` unit extensions
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
old_Math_random = Math.random
Math.random = (min, max)->
if arguments.length is 0
return old_Math_random()
else if arguments.length is 1
max = min
min = 0
~~(old_Math_random() * (max-min+1) + ~~min)
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994215965270996,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-next-tick-errors.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... | 23463 | # 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": "s.userData\n @requestJson =\n newpassword : null\n oldpassword : null\n events :\n \"change",
"end": 2534,
"score": 0.9948082566261292,
"start": 2530,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "n =\n newpassword : null\n oldpassw... | public/scripts/views/ChangePasswordView.coffee | MonsantoCo/cf-users | 14 |
backbone = require 'backbone'
_ = require 'underscore'
$ = require 'jquery'
spinner = require './Spinner'
require 'select2'
require 'bootstrap'
bootbox = require 'bootbox'
templateText = """<div class="container"><div class="row">
<div class="col-sm-12 h3 border-bottom">Change Password</div>
</div>
<form... | 185364 |
backbone = require 'backbone'
_ = require 'underscore'
$ = require 'jquery'
spinner = require './Spinner'
require 'select2'
require 'bootstrap'
bootbox = require 'bootbox'
templateText = """<div class="container"><div class="row">
<div class="col-sm-12 h3 border-bottom">Change Password</div>
</div>
<form... | true |
backbone = require 'backbone'
_ = require 'underscore'
$ = require 'jquery'
spinner = require './Spinner'
require 'select2'
require 'bootstrap'
bootbox = require 'bootbox'
templateText = """<div class="container"><div class="row">
<div class="col-sm-12 h3 border-bottom">Change Password</div>
</div>
<form... |
[
{
"context": " profile.get 'nickname'\n profile.get 'firstName'\n profile.get 'lastName'\n ]\n ret",
"end": 9184,
"score": 0.9968230724334717,
"start": 9175,
"tag": "NAME",
"value": "firstName"
},
{
"context": " profile.get 'firstName'\n profil... | client/activity/lib/flux/chatinput/getters.coffee | ezgikaysi/koding | 1 | immutable = require 'immutable'
toImmutable = require 'app/util/toImmutable'
ActivityFluxGetters = require 'activity/flux/getters'
calculateListSelectedIndex = require 'activity/util/calculateListSelectedIndex'
getListSelectedItem = require 'activity/util/get... | 142558 | immutable = require 'immutable'
toImmutable = require 'app/util/toImmutable'
ActivityFluxGetters = require 'activity/flux/getters'
calculateListSelectedIndex = require 'activity/util/calculateListSelectedIndex'
getListSelectedItem = require 'activity/util/get... | true | immutable = require 'immutable'
toImmutable = require 'app/util/toImmutable'
ActivityFluxGetters = require 'activity/flux/getters'
calculateListSelectedIndex = require 'activity/util/calculateListSelectedIndex'
getListSelectedItem = require 'activity/util/get... |
[
{
"context": " res =\n id: @id\n name: @name\n avatar: @avatar\n blockingS",
"end": 4010,
"score": 0.7663466930389404,
"start": 4005,
"tag": "NAME",
"value": "@name"
},
{
"context": " [@_uploadSizeLimit]\n lastActivityList = [@... | src/server/user/model.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
Model = require('../common/model').Model
DateUtils = require('../utils/date_utils').DateUtils
UserUtils = require('./utils').UserUtils
ANONYMOUS_ID = require('./constants').ANONYMOUS_ID
Conf = require('../conf').Conf
getUserInitials = require('../../share/user/utils').getUserInitials
ContactMo... | 203139 | _ = require('underscore')
Model = require('../common/model').Model
DateUtils = require('../utils/date_utils').DateUtils
UserUtils = require('./utils').UserUtils
ANONYMOUS_ID = require('./constants').ANONYMOUS_ID
Conf = require('../conf').Conf
getUserInitials = require('../../share/user/utils').getUserInitials
ContactMo... | true | _ = require('underscore')
Model = require('../common/model').Model
DateUtils = require('../utils/date_utils').DateUtils
UserUtils = require('./utils').UserUtils
ANONYMOUS_ID = require('./constants').ANONYMOUS_ID
Conf = require('../conf').Conf
getUserInitials = require('../../share/user/utils').getUserInitials
ContactMo... |
[
{
"context": "icense)\n# ####[Source (github)](http://github.com/sudhirj/simply-deferred) | [Documentation](https://github",
"end": 270,
"score": 0.9904274940490723,
"start": 263,
"tag": "USERNAME",
"value": "sudhirj"
},
{
"context": "ly-deferred) | [Documentation](https://github.com... | deferred.coffee | fossabot/simply-deferred | 23 | # #Simply Deferred
# ###Simplified Deferred Library (jQuery API) for Node and the Browser
# ####MIT Licensed.
# Portions of this code are inspired and borrowed from [underscore.js](http://underscorejs.org/) (MIT License)
# ####[Source (github)](http://github.com/sudhirj/simply-deferred) | [Documentation](https://github... | 115497 | # #Simply Deferred
# ###Simplified Deferred Library (jQuery API) for Node and the Browser
# ####MIT Licensed.
# Portions of this code are inspired and borrowed from [underscore.js](http://underscorejs.org/) (MIT License)
# ####[Source (github)](http://github.com/sudhirj/simply-deferred) | [Documentation](https://github... | true | # #Simply Deferred
# ###Simplified Deferred Library (jQuery API) for Node and the Browser
# ####MIT Licensed.
# Portions of this code are inspired and borrowed from [underscore.js](http://underscorejs.org/) (MIT License)
# ####[Source (github)](http://github.com/sudhirj/simply-deferred) | [Documentation](https://github... |
[
{
"context": "/src/topic'\n client = new Client accessToken: 'dummy'\n clock = sinon.useFakeTimers currentTime\n ",
"end": 453,
"score": 0.9872261881828308,
"start": 448,
"tag": "KEY",
"value": "dummy"
},
{
"context": "ual '<p>Yo</p>'\n expect(topic.key).to.equal 'poiuy... | test/topic_test.coffee | oneteam-dev/node-oneteam-client | 1 | {EventEmitter} = require 'events'
{expect} = require 'chai'
nock = require 'nock'
sinon = require 'sinon'
describe 'topic', ->
client = null
clock = null
nockScope = null
currentTime = 1455008759942
Topic = null
Client = null
topic = null
beforeEach ->
process.env.ONETEAM_BASE_API_URL = 'https://a... | 96951 | {EventEmitter} = require 'events'
{expect} = require 'chai'
nock = require 'nock'
sinon = require 'sinon'
describe 'topic', ->
client = null
clock = null
nockScope = null
currentTime = 1455008759942
Topic = null
Client = null
topic = null
beforeEach ->
process.env.ONETEAM_BASE_API_URL = 'https://a... | true | {EventEmitter} = require 'events'
{expect} = require 'chai'
nock = require 'nock'
sinon = require 'sinon'
describe 'topic', ->
client = null
clock = null
nockScope = null
currentTime = 1455008759942
Topic = null
Client = null
topic = null
beforeEach ->
process.env.ONETEAM_BASE_API_URL = 'https://a... |
[
{
"context": "new ContactModal()\n\n contributors: [\n {name: 'Ryan Faidley'}\n {name: 'Mischa Lewis-Norelle', github: 'mle",
"end": 574,
"score": 0.9998718500137329,
"start": 562,
"tag": "NAME",
"value": "Ryan Faidley"
},
{
"context": "ibutors: [\n {name: 'Ryan Faidley'}\n... | app/views/contribute/ScribeView.coffee | cihatislamdede/codecombat | 4,858 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/scribe'
{me} = require 'core/auth'
ContactModal = require 'views/core/ContactModal'
module.exports = class ScribeView extends ContributeClassView
id: 'scribe-view'
template: template
events:
'click [data-toggle="c... | 76462 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/scribe'
{me} = require 'core/auth'
ContactModal = require 'views/core/ContactModal'
module.exports = class ScribeView extends ContributeClassView
id: 'scribe-view'
template: template
events:
'click [data-toggle="c... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/scribe'
{me} = require 'core/auth'
ContactModal = require 'views/core/ContactModal'
module.exports = class ScribeView extends ContributeClassView
id: 'scribe-view'
template: template
events:
'click [data-toggle="c... |
[
{
"context": "e Music\n * @category Web Components\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 96,
"score": 0.9998947381973267,
"start": 80,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "y Web Components\n * @author N... | html/cs-music-equalizer-presets/script.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category Web Components
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
document.webL10n.ready ->
equalizer = document.querySelector('cs-music-equalizer')
kn... | 127452 | ###*
* @package CleverStyle Music
* @category Web Components
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
document.webL10n.ready ->
equalizer = document.querySelector('cs-music-equalizer')
known_presets = {}
known_p... | true | ###*
* @package CleverStyle Music
* @category Web Components
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
document.webL10n.ready ->
equalizer = document.querySelector('cs-music-equal... |
[
{
"context": "switch set_id\n when 'small'\n fontnick = 'djvs'\n fspath = 'DejaVuSerif.ttf'\n text ",
"end": 3618,
"score": 0.9537802338600159,
"start": 3614,
"tag": "USERNAME",
"value": "djvs"
},
{
"context": "ffirmation.\"\n when 'smalli'\n fontnick ... | dev/dbay-rustybuzz/src/helpers.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DRB/TESTS/HELPERS'
debug = CND.get_logger 'debug', badge
warn ... | 32148 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DRB/TESTS/HELPERS'
debug = CND.get_logger 'debug', badge
warn ... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DRB/TESTS/HELPERS'
debug = CND.get_logger 'debug', badge
warn ... |
[
{
"context": "------------ AuthMgr constructor'\n @admins = ['psvensson@gmail.com']\n @anonymousUsers = []\n ClientEndpoints.on",
"end": 817,
"score": 0.999912440776825,
"start": 798,
"tag": "EMAIL",
"value": "psvensson@gmail.com"
},
{
"context": "user logged out', payload: ... | app/templates/AuthenticationManager.coffee | psvensson/generator-spinproject | 0 | uuid = require('node-uuid')
defer = require('node-promise').defer
util = require('util')
OStore = require('spincycle').OStore
DB = require('spincycle').DB
QPUser = require('./server//QPUser')
ClientEndpoints = require('spincycle').ClientEndpoints
#EmailAuth ... | 61286 | uuid = require('node-uuid')
defer = require('node-promise').defer
util = require('util')
OStore = require('spincycle').OStore
DB = require('spincycle').DB
QPUser = require('./server//QPUser')
ClientEndpoints = require('spincycle').ClientEndpoints
#EmailAuth ... | true | uuid = require('node-uuid')
defer = require('node-promise').defer
util = require('util')
OStore = require('spincycle').OStore
DB = require('spincycle').DB
QPUser = require('./server//QPUser')
ClientEndpoints = require('spincycle').ClientEndpoints
#EmailAuth ... |
[
{
"context": "driver.findElement(id: 'inputPassword').sendKeys('abc')\n @driver.findElement(id: 'inputPasswordConfi",
"end": 895,
"score": 0.9994308352470398,
"start": 892,
"tag": "PASSWORD",
"value": "abc"
},
{
"context": "findElement(id: 'inputPasswordConfirm').sendKeys('abcd')\... | integration-test.coffee | catherineleung/DimSumSquad | 0 | selenium = require 'selenium-webdriver'
chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
loginInfo = Date.now().toString()
before ->
@timeout 10000
@driver = new selenium.Builder()
.withCapabilities(selenium.Capabilities.chrome())
.build()
@driver.getWindowHandle()
after ->... | 120200 | selenium = require 'selenium-webdriver'
chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
loginInfo = Date.now().toString()
before ->
@timeout 10000
@driver = new selenium.Builder()
.withCapabilities(selenium.Capabilities.chrome())
.build()
@driver.getWindowHandle()
after ->... | true | selenium = require 'selenium-webdriver'
chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
loginInfo = Date.now().toString()
before ->
@timeout 10000
@driver = new selenium.Builder()
.withCapabilities(selenium.Capabilities.chrome())
.build()
@driver.getWindowHandle()
after ->... |
[
{
"context": "d?()\n\n render: ({$el, vDomKey}) ->\n\n vDomKey = \"#{vDomKey}-pinch-zoom\"\n\n z '.z-pinch-zoom', {\n key: vDomKey\n ",
"end": 1468,
"score": 0.9977446794509888,
"start": 1446,
"tag": "KEY",
"value": "\"#{vDomKey}-pinch-zoom"
}
] | src/components/pinch_zoom/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
if window?
IScroll = require 'iscroll/build/iscroll-lite-snap-zoom.js'
require './index.styl'
DOUBLE_TAP_MS = 300
module.exports = class PinchZoom
construct... | 162807 | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
if window?
IScroll = require 'iscroll/build/iscroll-lite-snap-zoom.js'
require './index.styl'
DOUBLE_TAP_MS = 300
module.exports = class PinchZoom
construct... | true | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
if window?
IScroll = require 'iscroll/build/iscroll-lite-snap-zoom.js'
require './index.styl'
DOUBLE_TAP_MS = 300
module.exports = class PinchZoom
construct... |
[
{
"context": "]\n \n put_potion: (i, j, type) ->\n key = @_hash_map_key(i, j)\n @_potions_map[key] = type\n \n pickup_po",
"end": 9064,
"score": 0.9741015434265137,
"start": 9049,
"tag": "KEY",
"value": "@_hash_map_key("
},
{
"context": "_potion: (i, j, type) ->\n ... | js/components/state/game_state.coffee | ktchernov/7drl-lion.github.io | 27 | root = exports ? this
TRIGGERS = 0
FLOORS = 1
WALLS = 2
CREATURES = 3
NUM_LAYERS = 4
MAX_OUTPUT_LENGTH = 7
RIGHT = { n: 'ne', ne: 'e', e: 'se', se: 's', s: 'sw', sw: 'w', w: 'nw', nw: 'n' }
LEFT = { n: 'nw', ne: 'n', e: 'ne', se: 'e', s: 'se', sw: 's', w: 'sw', nw: 'w' }
REVERSE = { n: 's', ne: 'sw', e: 'w', se: 'nw... | 182241 | root = exports ? this
TRIGGERS = 0
FLOORS = 1
WALLS = 2
CREATURES = 3
NUM_LAYERS = 4
MAX_OUTPUT_LENGTH = 7
RIGHT = { n: 'ne', ne: 'e', e: 'se', se: 's', s: 'sw', sw: 'w', w: 'nw', nw: 'n' }
LEFT = { n: 'nw', ne: 'n', e: 'ne', se: 'e', s: 'se', sw: 's', w: 'sw', nw: 'w' }
REVERSE = { n: 's', ne: 'sw', e: 'w', se: 'nw... | true | root = exports ? this
TRIGGERS = 0
FLOORS = 1
WALLS = 2
CREATURES = 3
NUM_LAYERS = 4
MAX_OUTPUT_LENGTH = 7
RIGHT = { n: 'ne', ne: 'e', e: 'se', se: 's', s: 'sw', sw: 'w', w: 'nw', nw: 'n' }
LEFT = { n: 'nw', ne: 'n', e: 'ne', se: 'e', s: 'se', sw: 's', w: 'sw', nw: 'w' }
REVERSE = { n: 's', ne: 'sw', e: 'w', se: 'nw... |
[
{
"context": "s: ->\n email : null\n password : null\n rememberMe : false\n\n validate: (attribu",
"end": 263,
"score": 0.9169053435325623,
"start": 259,
"tag": "PASSWORD",
"value": "null"
}
] | source/TextUml/Scripts/application/models/session.coffee | marufsiddiqui/textuml-dotnet | 1 | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
validation = require './validation'
class Session extends Backbone.Model
url: '/api/sessions'
defaults: ->
email : null
password : null
rememberMe : false
validate: (attributes) ->... | 190938 | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
validation = require './validation'
class Session extends Backbone.Model
url: '/api/sessions'
defaults: ->
email : null
password : <PASSWORD>
rememberMe : false
validate: (attribut... | true | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
validation = require './validation'
class Session extends Backbone.Model
url: '/api/sessions'
defaults: ->
email : null
password : PI:PASSWORD:<PASSWORD>END_PI
rememberMe : false
v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.