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": "ethod, url, data)\n user = \"name\": \"huawei\"\n\n return [200, user, {}]; \n ",
"end": 722,
"score": 0.999102771282196,
"start": 716,
"tag": "USERNAME",
"value": "huawei"
},
{
"context": "ditable\": true,\n \"creat... | v2.5/src/app/server/testServer.coffee | sharonlucong/compass-intel-rsa-dist | 0 | define(['angular','angularMocks'
], (ng)->
'use strict';
# class Server
# constructor: (@httpBackend, @settings, @$http) ->
ng.module('compass.testServer', ['ngMockE2E'])
.constant('settings',{
apiUrlBase: '/api'
metadataUrlBase: 'data'
monitoringUrlBase: '/moni... | 139191 | define(['angular','angularMocks'
], (ng)->
'use strict';
# class Server
# constructor: (@httpBackend, @settings, @$http) ->
ng.module('compass.testServer', ['ngMockE2E'])
.constant('settings',{
apiUrlBase: '/api'
metadataUrlBase: 'data'
monitoringUrlBase: '/moni... | true | define(['angular','angularMocks'
], (ng)->
'use strict';
# class Server
# constructor: (@httpBackend, @settings, @$http) ->
ng.module('compass.testServer', ['ngMockE2E'])
.constant('settings',{
apiUrlBase: '/api'
metadataUrlBase: 'data'
monitoringUrlBase: '/moni... |
[
{
"context": "rview Tests for no-unsafe-negation rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 80,
"score": 0.999859631061554,
"start": 66,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/no-unsafe-negation.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-unsafe-negation rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unsafe-negati... | 45774 | ###*
# @fileoverview Tests for no-unsafe-negation rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unsafe-negation'
{Rul... | true | ###*
# @fileoverview Tests for no-unsafe-negation rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unsafe-... |
[
{
"context": "lt native-key-bindings', =>\n @div \"iksh edgsiughis\", outlet: 'resultsView'\n\n initialize: ->\n ato",
"end": 197,
"score": 0.4799724221229553,
"start": 192,
"tag": "NAME",
"value": "ughis"
}
] | lib/cache-list-view.coffee | UGroup/AtomDialogTest | 0 | {$, $$$, ScrollView} = require 'atom'
module.exports =
class CacheListView extends ScrollView
@content: ->
@div class: 'ask-stack-result native-key-bindings', =>
@div "iksh edgsiughis", outlet: 'resultsView'
initialize: ->
atom.workspaceView.command "cache-modal-dialog:toggle2", => @toggle()
#@... | 186924 | {$, $$$, ScrollView} = require 'atom'
module.exports =
class CacheListView extends ScrollView
@content: ->
@div class: 'ask-stack-result native-key-bindings', =>
@div "iksh edgsi<NAME>", outlet: 'resultsView'
initialize: ->
atom.workspaceView.command "cache-modal-dialog:toggle2", => @toggle()
#... | true | {$, $$$, ScrollView} = require 'atom'
module.exports =
class CacheListView extends ScrollView
@content: ->
@div class: 'ask-stack-result native-key-bindings', =>
@div "iksh edgsiPI:NAME:<NAME>END_PI", outlet: 'resultsView'
initialize: ->
atom.workspaceView.command "cache-modal-dialog:toggle2", => @... |
[
{
"context": "t.Name += \" 1\"\n\t\tapp.Universe.Games.push \n\t\t\tName: name\n\t\t\tStartingNumberOfLives: 9\n\t\t\tPlanets : [planet]",
"end": 1561,
"score": 0.5680721402168274,
"start": 1557,
"tag": "NAME",
"value": "name"
}
] | game/scripts/Game/Constructor/old/GameOptions.coffee | belczyk/robbo | 5 | window.app = window.app ? {}
app = window.app
class app.GameDesigner
constructor: () ->
@gameName = ko.observable()
@planetName = ko.observable()
@lives = ko.observable()
@bolts = ko.observable()
@width = ko.observable()
@height = ko.observable()
@optionsPanel = $('.options-panel')
@games = ko.observ... | 31090 | window.app = window.app ? {}
app = window.app
class app.GameDesigner
constructor: () ->
@gameName = ko.observable()
@planetName = ko.observable()
@lives = ko.observable()
@bolts = ko.observable()
@width = ko.observable()
@height = ko.observable()
@optionsPanel = $('.options-panel')
@games = ko.observ... | true | window.app = window.app ? {}
app = window.app
class app.GameDesigner
constructor: () ->
@gameName = ko.observable()
@planetName = ko.observable()
@lives = ko.observable()
@bolts = ko.observable()
@width = ko.observable()
@height = ko.observable()
@optionsPanel = $('.options-panel')
@games = ko.observ... |
[
{
"context": "wnProperty(\"tense\")\n key += \".#{options.tense}\"\n if options.hasOwnProperty(\"count\")\n swit",
"end": 468,
"score": 0.5611642003059387,
"start": 468,
"tag": "KEY",
"value": ""
},
{
"context": "re: ->\n @_store ||= {}\n\n # https://github.com/svenf... | src/tower/support/i18n.coffee | vjsingh/tower | 1 | # @module
Tower.Support.I18n =
PATTERN: /(?:%%|%\{(\w+)\}|%<(\w+)>(.*?\d*\.?\d*[bBdiouxXeEfgGcps]))/g
defaultLanguage: "en"
load: (pathOrObject, language = @defaultLanguage) ->
store = @store()
language = store[language] ||= {}
_.deepMerge(language, if typeof(pathOrObject) == "string" then requi... | 127473 | # @module
Tower.Support.I18n =
PATTERN: /(?:%%|%\{(\w+)\}|%<(\w+)>(.*?\d*\.?\d*[bBdiouxXeEfgGcps]))/g
defaultLanguage: "en"
load: (pathOrObject, language = @defaultLanguage) ->
store = @store()
language = store[language] ||= {}
_.deepMerge(language, if typeof(pathOrObject) == "string" then requi... | true | # @module
Tower.Support.I18n =
PATTERN: /(?:%%|%\{(\w+)\}|%<(\w+)>(.*?\d*\.?\d*[bBdiouxXeEfgGcps]))/g
defaultLanguage: "en"
load: (pathOrObject, language = @defaultLanguage) ->
store = @store()
language = store[language] ||= {}
_.deepMerge(language, if typeof(pathOrObject) == "string" then requi... |
[
{
"context": ".getTranslator(\"en\")\n @user = null\n @token = null\n\n @checkCookie()\n @last_active = Date.now()",
"end": 492,
"score": 0.5138739943504333,
"start": 488,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "ccessfully!\")]\n token: @content.createTok... | server/session/session.coffee | karlmolina/microstudio | 0 | SHA256 = require("crypto-js/sha256")
ProjectManager = require __dirname+"/projectmanager.js"
RegexLib = require __dirname+"/../../static/js/util/regexlib.js"
ForumSession = require __dirname+"/../forum/forumsession.js"
JSZip = require "jszip"
class @Session
constructor:(@server,@socket)->
#console.info "new sess... | 195746 | SHA256 = require("crypto-js/sha256")
ProjectManager = require __dirname+"/projectmanager.js"
RegexLib = require __dirname+"/../../static/js/util/regexlib.js"
ForumSession = require __dirname+"/../forum/forumsession.js"
JSZip = require "jszip"
class @Session
constructor:(@server,@socket)->
#console.info "new sess... | true | SHA256 = require("crypto-js/sha256")
ProjectManager = require __dirname+"/projectmanager.js"
RegexLib = require __dirname+"/../../static/js/util/regexlib.js"
ForumSession = require __dirname+"/../forum/forumsession.js"
JSZip = require "jszip"
class @Session
constructor:(@server,@socket)->
#console.info "new sess... |
[
{
"context": "nd displayed page numbers.\n * @function\n * @author İsmail Demirbilek\n###\nangular.module 'esef.frontend.pagination'\n .",
"end": 270,
"score": 0.9998948574066162,
"start": 253,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | src/pagination/coffee/services/pagination.coffee | egemsoft/esef-frontend | 0 | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.pagination.services:pagination
* @description
* Pagination helper service. Makes calculations for current page, offset fix, number of pages and displayed page numbers.
* @function
* @author İsmail Demirbilek
###
angular.module 'esef.frontend.pagination'
.... | 216968 | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.pagination.services:pagination
* @description
* Pagination helper service. Makes calculations for current page, offset fix, number of pages and displayed page numbers.
* @function
* @author <NAME>
###
angular.module 'esef.frontend.pagination'
.factory 'pa... | true | 'use strict'
###*
* @ngdoc service
* @name esef.frontend.pagination.services:pagination
* @description
* Pagination helper service. Makes calculations for current page, offset fix, number of pages and displayed page numbers.
* @function
* @author PI:NAME:<NAME>END_PI
###
angular.module 'esef.frontend.pagination'
... |
[
{
"context": " await @krb5.delprinc\n principal: \"nikita@#{krb5.realm}\"\n await @krb5.addprinc\n ",
"end": 1048,
"score": 0.9425027966499329,
"start": 1042,
"tag": "EMAIL",
"value": "nikita"
},
{
"context": "it @krb5.delprinc\n principal: \"nik... | packages/krb5/test/ticket.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, krb5} = require './test'
they = require('mocha-they')(config)
return unless tags.krb5_addprinc
describe 'krb5.ticket', ->
describe 'schema', ->
it 'password or keytab must be provided', ->
nikita
krb5: admin: krb5
, ->
@krb5.tic... | 145430 |
nikita = require '@nikitajs/core/lib'
{tags, config, krb5} = require './test'
they = require('mocha-they')(config)
return unless tags.krb5_addprinc
describe 'krb5.ticket', ->
describe 'schema', ->
it 'password or keytab must be provided', ->
nikita
krb5: admin: krb5
, ->
@krb5.tic... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, krb5} = require './test'
they = require('mocha-they')(config)
return unless tags.krb5_addprinc
describe 'krb5.ticket', ->
describe 'schema', ->
it 'password or keytab must be provided', ->
nikita
krb5: admin: krb5
, ->
@krb5.tic... |
[
{
"context": "n/env coffee\n#\n# cli.coffee\n#\n# Copyright (c) 2016 Junpei Kawamoto\n#\n# This software is released under the MIT Licen",
"end": 76,
"score": 0.9998316168785095,
"start": 61,
"tag": "NAME",
"value": "Junpei Kawamoto"
}
] | src/cli.coffee | jkawamoto/community-centre-search-fukuoka | 1 | #! /usr/bin/env coffee
#
# cli.coffee
#
# Copyright (c) 2016 Junpei Kawamoto
#
# This software is released under the MIT License.
#
# http://opensource.org/licenses/mit-license.php
#
yargs = require "yargs"
{area, building, institution, status} = require "../lib/scraper"
argv = yargs
.usage "Usage: $0 <command> [opt... | 92469 | #! /usr/bin/env coffee
#
# cli.coffee
#
# Copyright (c) 2016 <NAME>
#
# This software is released under the MIT License.
#
# http://opensource.org/licenses/mit-license.php
#
yargs = require "yargs"
{area, building, institution, status} = require "../lib/scraper"
argv = yargs
.usage "Usage: $0 <command> [options]"
... | true | #! /usr/bin/env coffee
#
# cli.coffee
#
# Copyright (c) 2016 PI:NAME:<NAME>END_PI
#
# This software is released under the MIT License.
#
# http://opensource.org/licenses/mit-license.php
#
yargs = require "yargs"
{area, building, institution, status} = require "../lib/scraper"
argv = yargs
.usage "Usage: $0 <command>... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998898506164551,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Translator/Translator.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
Finder = use('@Konsserto/Component/Finder/Finder')
T... | 98691 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
Finder = use('@Konsserto/Component/Finder/Finder')
Tools = use('@Konsser... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
Finder = use('@Konsserto/Component/Finder/F... |
[
{
"context": " just turned our user into a subscribing customer. Chapeau!\n # Show some links so that we can fetch som",
"end": 3197,
"score": 0.9800167679786682,
"start": 3190,
"tag": "NAME",
"value": "Chapeau"
}
] | examples/express.coffee | jaybryant/paypal-recurring | 25 | # Demo application of the paypal-recurring package.
#
# If coffeescript confuses you, go wild with http://js2coffee.org/
#
# Do only use this for personal testing and make sure to
# use HTTPS on your own server when using the package in production.
#
# Enter your own credentials below, or you won't be able
# to run thi... | 18123 | # Demo application of the paypal-recurring package.
#
# If coffeescript confuses you, go wild with http://js2coffee.org/
#
# Do only use this for personal testing and make sure to
# use HTTPS on your own server when using the package in production.
#
# Enter your own credentials below, or you won't be able
# to run thi... | true | # Demo application of the paypal-recurring package.
#
# If coffeescript confuses you, go wild with http://js2coffee.org/
#
# Do only use this for personal testing and make sure to
# use HTTPS on your own server when using the package in production.
#
# Enter your own credentials below, or you won't be able
# to run thi... |
[
{
"context": "odels.RoleMapping\n\n User.create [\n username: \"admin\"\n email: \"admin@admin.com\"\n password: \"admi",
"end": 153,
"score": 0.9992639422416687,
"start": 148,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " User.create [\n username: \"admin\"\n ... | application/user/server/boot/users.coffee | darkoverlordofdata/games | 0 | module.exports = (app) ->
User = app.models.User
Role = app.models.Role
RoleMapping = app.models.RoleMapping
User.create [
username: "admin"
email: "admin@admin.com"
password: "admin"
], (err, users) ->
return console.error(err) if err
# Create the admin role
Role.create
... | 150430 | module.exports = (app) ->
User = app.models.User
Role = app.models.Role
RoleMapping = app.models.RoleMapping
User.create [
username: "admin"
email: "<EMAIL>"
password: "<PASSWORD>"
], (err, users) ->
return console.error(err) if err
# Create the admin role
Role.create
nam... | true | module.exports = (app) ->
User = app.models.User
Role = app.models.Role
RoleMapping = app.models.RoleMapping
User.create [
username: "admin"
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
], (err, users) ->
return console.error(err) if err
# Create the adm... |
[
{
"context": " queryBuilder\n .start({ name: 'Kieve' })\n .toString().should.equal ",
"end": 5506,
"score": 0.9996065497398376,
"start": 5501,
"tag": "NAME",
"value": "Kieve"
},
{
"context": " .getParams().name.should.equal 'Kiev... | test/test.cypher.coffee | kievechua/js-neo4j | 2 | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Cypher', ->
neo = new Neo4js()
testNode = null
before (done) ->
Q.all([
neo.createNode(... | 17350 | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Cypher', ->
neo = new Neo4js()
testNode = null
before (done) ->
Q.all([
neo.createNode(... | true | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Cypher', ->
neo = new Neo4js()
testNode = null
before (done) ->
Q.all([
neo.createNode(... |
[
{
"context": " : buf(u16)\n bin32_key : buf(u32)\n double_key : 3.1415927e3\n uint8_key : u8\n uint16_key : u16\n uint32_key ",
"end": 623,
"score": 0.9955138564109802,
"start": 612,
"tag": "KEY",
"value": "3.1415927e3"
}
] | testdata/megatest.iced | marceloneil/msgpackzip | 5 | #
# run:
# iced megatest.iced > megatest.b64
#
{pack} = require 'purepack'
buf = (x) -> new Buffer ((i&0xff) for i in [0...x])
str = (x) -> (new Buffer ((i % 26) + 'a'.charCodeAt(0) for i in [0...x])).toString('utf8')
arr = (x) -> ((i & 0x3f) for i in [0...x])
map = (x) ->
r = {}
for i in [0...x]
k = (new B... | 198855 | #
# run:
# iced megatest.iced > megatest.b64
#
{pack} = require 'purepack'
buf = (x) -> new Buffer ((i&0xff) for i in [0...x])
str = (x) -> (new Buffer ((i % 26) + 'a'.charCodeAt(0) for i in [0...x])).toString('utf8')
arr = (x) -> ((i & 0x3f) for i in [0...x])
map = (x) ->
r = {}
for i in [0...x]
k = (new B... | true | #
# run:
# iced megatest.iced > megatest.b64
#
{pack} = require 'purepack'
buf = (x) -> new Buffer ((i&0xff) for i in [0...x])
str = (x) -> (new Buffer ((i % 26) + 'a'.charCodeAt(0) for i in [0...x])).toString('utf8')
arr = (x) -> ((i & 0x3f) for i in [0...x])
map = (x) ->
r = {}
for i in [0...x]
k = (new B... |
[
{
"context": "\n options =\n name: \"Lol\"\n username: \"lollerblades\"\n email: \"lollerblades@lollerblades.com\"\n ",
"end": 617,
"score": 0.9995690584182739,
"start": 605,
"tag": "USERNAME",
"value": "lollerblades"
},
{
"context": "Lol\"\n username: \"loll... | test/index.iced | taterbase/node-keybase | 10 | USERNAME_OR_EMAIL = process.env['KEYBASE_USERNAME_OR_EMAIL']
PASSPHRASE = process.env['KEYBASE_PASSPHRASE']
PUBLIC_KEY = process.env['KEYBASE_PUBLIC_KEY'] or require './publickey'
PRIVATE_KEY = process.env['KEYBASE_PRIVATE_KEY'] or require './privatekey'
Keybase = require '../'
keybase = new Keybase USERNAME_OR_EMAIL... | 45043 | USERNAME_OR_EMAIL = process.env['KEYBASE_USERNAME_OR_EMAIL']
PASSPHRASE = process.env['KEYBASE_PASSPHRASE']
PUBLIC_KEY = process.env['KEYBASE_PUBLIC_KEY'] or require './publickey'
PRIVATE_KEY = process.env['KEYBASE_PRIVATE_KEY'] or require './privatekey'
Keybase = require '../'
keybase = new Keybase USERNAME_OR_EMAIL... | true | USERNAME_OR_EMAIL = process.env['KEYBASE_USERNAME_OR_EMAIL']
PASSPHRASE = process.env['KEYBASE_PASSPHRASE']
PUBLIC_KEY = process.env['KEYBASE_PUBLIC_KEY'] or require './publickey'
PRIVATE_KEY = process.env['KEYBASE_PRIVATE_KEY'] or require './privatekey'
Keybase = require '../'
keybase = new Keybase USERNAME_OR_EMAIL... |
[
{
"context": " })\n .when('/users/edit/:firstName/:lastName', {\n templateUrl: '/assets/partial",
"end": 632,
"score": 0.6030091047286987,
"start": 624,
"tag": "NAME",
"value": "lastName"
}
] | app/assets/javascripts/app.coffee | jock71/nigstore | 0 |
dependencies = [
'ngRoute',
'ui.bootstrap',
'myApp.filters',
'myApp.services',
'myApp.controllers',
'myApp.directives',
'myApp.common',
'myApp.routeConfig'
]
app = angular.module('myApp', dependencies)
angular.module('myApp.routeConfig', ['ngRoute'])
.config(['$routeProvider', ($r... | 64063 |
dependencies = [
'ngRoute',
'ui.bootstrap',
'myApp.filters',
'myApp.services',
'myApp.controllers',
'myApp.directives',
'myApp.common',
'myApp.routeConfig'
]
app = angular.module('myApp', dependencies)
angular.module('myApp.routeConfig', ['ngRoute'])
.config(['$routeProvider', ($r... | true |
dependencies = [
'ngRoute',
'ui.bootstrap',
'myApp.filters',
'myApp.services',
'myApp.controllers',
'myApp.directives',
'myApp.common',
'myApp.routeConfig'
]
app = angular.module('myApp', dependencies)
angular.module('myApp.routeConfig', ['ngRoute'])
.config(['$routeProvider', ($r... |
[
{
"context": "data'\n process.env.FOURSQUARE_CLIENT_SECRET = 'somedata'\n process.env.FOURSQUARE_ACCESS_TOKEN = 'somed",
"end": 322,
"score": 0.7423150539398193,
"start": 314,
"tag": "KEY",
"value": "somedata"
},
{
"context": "edata'\n process.env.FOURSQUARE_ACCESS_TOKEN = '... | test/foursquare-locator_test.coffee | watson/hubot-foursquare-locator | 1 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'foursquare-locator', ->
beforeEach ->
# Must be defined so as to avoid throwing errors in lower scripts
process.env.FOURSQUARE_CLIENT_ID = 'somedata'
process.env.FOURSQUARE_CLIENT_SECRET = 'someda... | 205160 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'foursquare-locator', ->
beforeEach ->
# Must be defined so as to avoid throwing errors in lower scripts
process.env.FOURSQUARE_CLIENT_ID = 'somedata'
process.env.FOURSQUARE_CLIENT_SECRET = '<KEY>'... | true | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'foursquare-locator', ->
beforeEach ->
# Must be defined so as to avoid throwing errors in lower scripts
process.env.FOURSQUARE_CLIENT_ID = 'somedata'
process.env.FOURSQUARE_CLIENT_SECRET = 'PI:KEY... |
[
{
"context": "r a Go proverb\n#\n# Notes:\n# None\n#\n# Author:\n# Michael Ivey <michael.ivey@riotgames.com>\n\nproverbs = [\n\t\"Don'",
"end": 239,
"score": 0.9998641014099121,
"start": 227,
"tag": "NAME",
"value": "Michael Ivey"
},
{
"context": "#\n# Notes:\n# None\n#\n# Auth... | scripts/go-proverbs.coffee | RiotGamesMinions/lefay | 7 | # Description:
# Hear one of Rob Pike's Go Proverbs
# http://go-proverbs.github.io
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# go proverb - hear a Go proverb
#
# Notes:
# None
#
# Author:
# Michael Ivey <michael.ivey@riotgames.com>
proverbs = [
"Don't communicate by sharing memory... | 93065 | # Description:
# Hear one of Rob Pike's Go Proverbs
# http://go-proverbs.github.io
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# go proverb - hear a Go proverb
#
# Notes:
# None
#
# Author:
# <NAME> <<EMAIL>>
proverbs = [
"Don't communicate by sharing memory, share memory by communi... | true | # Description:
# Hear one of Rob Pike's Go Proverbs
# http://go-proverbs.github.io
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# go proverb - hear a Go proverb
#
# Notes:
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
proverbs = [
"Don't communicate by sharing me... |
[
{
"context": " father(abe, homer). \n father(homer, bart). \n father(homer, lisa).\"\n quer",
"end": 977,
"score": 0.6586806774139404,
"start": 973,
"tag": "NAME",
"value": "bart"
}
] | test/prolog.coffee | mattsouth/dprolog | 7 | should = require('chai').should()
Prolog = require '../src/prolog'
# NB Prolog parser is identical to Simple parser, hence no tests
describe 'Prolog', ->
it 'should match terms', ->
kb = Prolog.parseKb "english(jack).
english(jill)."
query = Prolog.parseQuery "english(X)"
iter... | 214205 | should = require('chai').should()
Prolog = require '../src/prolog'
# NB Prolog parser is identical to Simple parser, hence no tests
describe 'Prolog', ->
it 'should match terms', ->
kb = Prolog.parseKb "english(jack).
english(jill)."
query = Prolog.parseQuery "english(X)"
iter... | true | should = require('chai').should()
Prolog = require '../src/prolog'
# NB Prolog parser is identical to Simple parser, hence no tests
describe 'Prolog', ->
it 'should match terms', ->
kb = Prolog.parseKb "english(jack).
english(jill)."
query = Prolog.parseQuery "english(X)"
iter... |
[
{
"context": " beforeEach ->\n @view.$('#password').val('test password')\n spyOn @view.model, 'sync'\n clickSubm",
"end": 1224,
"score": 0.9992348551750183,
"start": 1211,
"tag": "PASSWORD",
"value": "test password"
},
{
"context": "->\n beforeEach ->\n @vie... | spec/javascripts/langtrainer_app/views/dialogs/sign_in_spec.js.coffee | beorc/langtrainer_frontend_backbone | 0 | describe "Langtrainer.LangtrainerApp.Views.Dialogs.SignIn", ->
clickSubmitButton = (view) ->
view.$('.js-submit').click()
beforeEach ->
Langtrainer.LangtrainerApp.clearCookies()
worldData = getJSONFixture('world.json')
@world = new Langtrainer.LangtrainerApp.Models.World
Langtrainer.Langtraine... | 71527 | describe "Langtrainer.LangtrainerApp.Views.Dialogs.SignIn", ->
clickSubmitButton = (view) ->
view.$('.js-submit').click()
beforeEach ->
Langtrainer.LangtrainerApp.clearCookies()
worldData = getJSONFixture('world.json')
@world = new Langtrainer.LangtrainerApp.Models.World
Langtrainer.Langtraine... | true | describe "Langtrainer.LangtrainerApp.Views.Dialogs.SignIn", ->
clickSubmitButton = (view) ->
view.$('.js-submit').click()
beforeEach ->
Langtrainer.LangtrainerApp.clearCookies()
worldData = getJSONFixture('world.json')
@world = new Langtrainer.LangtrainerApp.Models.World
Langtrainer.Langtraine... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998894929885864,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Dom/Traversal/ElementTraversal.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 33431 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
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,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <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 the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "id: 2\nname: \"Find pension contact details\"\ndescription: \"Lets users",
"end": 17,
"score": 0.5761334300041199,
"start": 13,
"tag": "NAME",
"value": "Find"
},
{
"context": "vision\"\nlocation: \"Newcastle\"\nphase: \"live\"\nsro: \"Graeme Wallace\"\nservice_man: \"Da... | app/data/projects/find-lost-pension.cson | tsmorgan/dwp-ux-work | 0 | id: 2
name: "Find pension contact details"
description: "Lets users find contact details for pension schemes they may have paid into so they can get money they may be owed."
theme: "Retirement Provision"
location: "Newcastle"
phase: "live"
sro: "Graeme Wallace"
service_man: "Daniel McLauglin"
phase_history:
discovery... | 190301 | id: 2
name: "<NAME> pension contact details"
description: "Lets users find contact details for pension schemes they may have paid into so they can get money they may be owed."
theme: "Retirement Provision"
location: "Newcastle"
phase: "live"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
{
... | true | id: 2
name: "PI:NAME:<NAME>END_PI pension contact details"
description: "Lets users find contact details for pension schemes they may have paid into so they can get money they may be owed."
theme: "Retirement Provision"
location: "Newcastle"
phase: "live"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
... |
[
{
"context": ") ->\n\t\n\tconsole.log \"// Framer #{version} (c) 2014 Koen Bok\"\n\tconsole.log \"// https://github.com/koenbok/Fram",
"end": 147,
"score": 0.9982656240463257,
"start": 139,
"tag": "NAME",
"value": "Koen Bok"
},
{
"context": "014 Koen Bok\"\n\tconsole.log \"// https:/... | scripts/banner.coffee | BreezeLife/Framer | 1 | {exec} = require "child_process"
{getVersion} = require "./version"
getVersion (version) ->
console.log "// Framer #{version} (c) 2014 Koen Bok"
console.log "// https://github.com/koenbok/Framer\n"
console.log "window.FramerVersion = \"#{version}\";\n\n"
| 146536 | {exec} = require "child_process"
{getVersion} = require "./version"
getVersion (version) ->
console.log "// Framer #{version} (c) 2014 <NAME>"
console.log "// https://github.com/koenbok/Framer\n"
console.log "window.FramerVersion = \"#{version}\";\n\n"
| true | {exec} = require "child_process"
{getVersion} = require "./version"
getVersion (version) ->
console.log "// Framer #{version} (c) 2014 PI:NAME:<NAME>END_PI"
console.log "// https://github.com/koenbok/Framer\n"
console.log "window.FramerVersion = \"#{version}\";\n\n"
|
[
{
"context": " Node.js scripts,\n# see https://github.com/dannycoates/node-inspector\n#\n# Copyright 2012 Mindspace, ",
"end": 167,
"score": 0.9997045993804932,
"start": 156,
"tag": "USERNAME",
"value": "dannycoates"
},
{
"context": "\t\t\t\t\t'local_port' : 8000\n\t\t\t... | tools/webserver/run.coffee | tiarebalbi/angularjs-Quizzler | 226 | # ************************************************
# Build HTTP and HTTP_PROXY servers
#
# Note: to debug Node.js scripts,
# see https://github.com/dannycoates/node-inspector
#
# Copyright 2012 Mindspace, LLC.
# ************************************************
# Include the HTTP and HTTP Proxy classes
... | 206761 | # ************************************************
# Build HTTP and HTTP_PROXY servers
#
# Note: to debug Node.js scripts,
# see https://github.com/dannycoates/node-inspector
#
# Copyright 2012 Mindspace, LLC.
# ************************************************
# Include the HTTP and HTTP Proxy classes
... | true | # ************************************************
# Build HTTP and HTTP_PROXY servers
#
# Note: to debug Node.js scripts,
# see https://github.com/dannycoates/node-inspector
#
# Copyright 2012 Mindspace, LLC.
# ************************************************
# Include the HTTP and HTTP Proxy classes
... |
[
{
"context": ">\n router.get '/', (next) ->\n @body = \"Hi, I'm Obi.\"\n @status = 200\n yield next\n\n router.post",
"end": 103,
"score": 0.9286065101623535,
"start": 100,
"tag": "NAME",
"value": "Obi"
}
] | src/routes.coffee | burtonjc/obi | 0 | _ = require 'lodash'
module.exports = (router) ->
router.get '/', (next) ->
@body = "Hi, I'm Obi."
@status = 200
yield next
router.post '/messages', (next) ->
message = @request.body.message
plugins = [require './plugins/github']
responses = {}
_.each plugins, (plugin) ->
if plu... | 49364 | _ = require 'lodash'
module.exports = (router) ->
router.get '/', (next) ->
@body = "Hi, I'm <NAME>."
@status = 200
yield next
router.post '/messages', (next) ->
message = @request.body.message
plugins = [require './plugins/github']
responses = {}
_.each plugins, (plugin) ->
if ... | true | _ = require 'lodash'
module.exports = (router) ->
router.get '/', (next) ->
@body = "Hi, I'm PI:NAME:<NAME>END_PI."
@status = 200
yield next
router.post '/messages', (next) ->
message = @request.body.message
plugins = [require './plugins/github']
responses = {}
_.each plugins, (plugin... |
[
{
"context": "or for word representations (spaces)\n#\n# Author: Pontus Stenetorp <pontus stenetorp se>\n# Version: 2012-09-22\n\n",
"end": 167,
"score": 0.9998955726623535,
"start": 151,
"tag": "NAME",
"value": "Pontus Stenetorp"
}
] | src/coffee/picard.coffee | DrDub/picard | 1 | # vim:set ft=coffee ts=4 sw=4 sts=4 autoindent: encoding=utf-8:
# Picard - a visualiser and navigator for word representations (spaces)
#
# Author: Pontus Stenetorp <pontus stenetorp se>
# Version: 2012-09-22
$ = jQuery
# TODO: These should not be hard-coded
BORDER = 50
WIDTH = 1024
HEIGHT = 768
class Picard
... | 28055 | # vim:set ft=coffee ts=4 sw=4 sts=4 autoindent: encoding=utf-8:
# Picard - a visualiser and navigator for word representations (spaces)
#
# Author: <NAME> <pontus stenetorp se>
# Version: 2012-09-22
$ = jQuery
# TODO: These should not be hard-coded
BORDER = 50
WIDTH = 1024
HEIGHT = 768
class Picard
constr... | true | # vim:set ft=coffee ts=4 sw=4 sts=4 autoindent: encoding=utf-8:
# Picard - a visualiser and navigator for word representations (spaces)
#
# Author: PI:NAME:<NAME>END_PI <pontus stenetorp se>
# Version: 2012-09-22
$ = jQuery
# TODO: These should not be hard-coded
BORDER = 50
WIDTH = 1024
HEIGHT = 768
class Pic... |
[
{
"context": "corporates code from [markmon](https://github.com/yyjhao/markmon)\n# covered by the following terms:\n#\n# Co",
"end": 70,
"score": 0.9992453455924988,
"start": 64,
"tag": "USERNAME",
"value": "yyjhao"
},
{
"context": "ed by the following terms:\n#\n# Copyright (c) 2014... | packages/markdown-preview-plus/lib/two-dim-array.coffee | jarednipper/atom-config | 0 | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, Yao Yujian, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), ... | 208055 | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, <NAME>, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to d... | true | # This file incorporates code from [markmon](https://github.com/yyjhao/markmon)
# covered by the following terms:
#
# Copyright (c) 2014, PI:NAME:<NAME>END_PI, http://yjyao.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "So... |
[
{
"context": "36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36\"\n \"X-Redmine-API-Key\": @token\n\n options =",
"end": 9693,
"score": 0.8585287928581238,
"start": 9687,
"tag": "KEY",
"value": "537.36"
}
] | scripts/redmine.coffee | suvene/hubot-irc-scripts | 0 | # Description:
# Redmine
#
# Commands:
# #99999 - チケットのタイトルとか URL を取ってくるよ.
# hubot redmine (みんな|<nickname[,nickname]>) の実績[詳細] - 前営業日の実績を教えてもらおう!
# hubot redmine 実績チェック - 前営業日の実績をチェックするよ!
# hubot redmine <nickname> 実績チェック(する|しない) - 実績チェックの対象、または対象外にするよ!
# hubot redmine [yyyy-mm-dd] <#9999> 99[.25](h|時間) <活動... | 51688 | # Description:
# Redmine
#
# Commands:
# #99999 - チケットのタイトルとか URL を取ってくるよ.
# hubot redmine (みんな|<nickname[,nickname]>) の実績[詳細] - 前営業日の実績を教えてもらおう!
# hubot redmine 実績チェック - 前営業日の実績をチェックするよ!
# hubot redmine <nickname> 実績チェック(する|しない) - 実績チェックの対象、または対象外にするよ!
# hubot redmine [yyyy-mm-dd] <#9999> 99[.25](h|時間) <活動... | true | # Description:
# Redmine
#
# Commands:
# #99999 - チケットのタイトルとか URL を取ってくるよ.
# hubot redmine (みんな|<nickname[,nickname]>) の実績[詳細] - 前営業日の実績を教えてもらおう!
# hubot redmine 実績チェック - 前営業日の実績をチェックするよ!
# hubot redmine <nickname> 実績チェック(する|しない) - 実績チェックの対象、または対象外にするよ!
# hubot redmine [yyyy-mm-dd] <#9999> 99[.25](h|時間) <活動... |
[
{
"context": "map_y / ChunkMap.CHUNK_HEIGHT)\n chunk_key = \"#{chunk_x}x#{chunk_y}\"\n\n PLANET_MAP_BUILDINGS[COMPANY_ID_INFO[par",
"end": 19483,
"score": 0.9890111684799194,
"start": 19460,
"tag": "KEY",
"value": "\"#{chunk_x}x#{chunk_y}\""
},
{
"context": "?\n\n ... | plugins/starpeace-client/api/mock-api-configuration.coffee | Eric1212/starpeace-website-client | 0 |
import moment from 'moment'
import _ from 'lodash'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import TimeUtils from '~/plugins/starpeace-client/utils/time-utils.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import BOOKMARKS_METADATA from '~/plugins/starpe... | 79619 |
import moment from 'moment'
import _ from 'lodash'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import TimeUtils from '~/plugins/starpeace-client/utils/time-utils.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import BOOKMARKS_METADATA from '~/plugins/starpe... | true |
import moment from 'moment'
import _ from 'lodash'
import ChunkMap from '~/plugins/starpeace-client/map/chunk/chunk-map.coffee'
import TimeUtils from '~/plugins/starpeace-client/utils/time-utils.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import BOOKMARKS_METADATA from '~/plugins/starpe... |
[
{
"context": " Ember.belongsTo('Travis.Repo', key: 'repository_id')\n build: Ember.belongsTo('Travis.Build')\n com",
"end": 601,
"score": 0.6286887526512146,
"start": 599,
"tag": "KEY",
"value": "id"
},
{
"context": "'log').clear()\n\n sponsor: (->\n {\n name: \"Blue Box... | assets/scripts/app/models/job.coffee | rwjblue/travis-web | 0 | require 'travis/model'
@Travis.Job = Travis.Model.extend Travis.DurationCalculations,
repoId: Ember.attr('string', key: 'repository_id')
buildId: Ember.attr('string')
commitId: Ember.attr('string')
logId: Ember.attr('string')
queue: Ember.attr('string')
state: ... | 55575 | require 'travis/model'
@Travis.Job = Travis.Model.extend Travis.DurationCalculations,
repoId: Ember.attr('string', key: 'repository_id')
buildId: Ember.attr('string')
commitId: Ember.attr('string')
logId: Ember.attr('string')
queue: Ember.attr('string')
state: ... | true | require 'travis/model'
@Travis.Job = Travis.Model.extend Travis.DurationCalculations,
repoId: Ember.attr('string', key: 'repository_id')
buildId: Ember.attr('string')
commitId: Ember.attr('string')
logId: Ember.attr('string')
queue: Ember.attr('string')
state: ... |
[
{
"context": "exception\n assertUnreachable()\nassertEquals \"Capybara\", animal\n",
"end": 2688,
"score": 0.517824113368988,
"start": 2684,
"tag": "NAME",
"value": "bara"
}
] | deps/v8/test/mjsunit/debug-liveedit-stack-padding.coffee | lxe/io.coffee | 0 | # Copyright 2012 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 conditi... | 155052 | # Copyright 2012 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 conditi... | true | # Copyright 2012 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 conditi... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9979228377342224,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-crypto-certificate.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... | 52760 | # 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": "requestHeaders =\n authorization: \"Basic c3R1YmJ5OnBhc3N3b3Jk\"\n\n createRequest @context\n\n waits",
"end": 6790,
"score": 0.8484594821929932,
"start": 6770,
"tag": "KEY",
"value": "c3R1YmJ5OnBhc3N3b3Jk"
},
{
"context": "requestHeaders =\n ... | spec/e2e.stubs.spec.coffee | bbc/stubby4node | 0 | Stubby = require('../lib/main').Stubby
fs = require 'fs'
yaml = require 'js-yaml'
ce = require 'cloneextend'
endpointData = yaml.load (fs.readFileSync 'spec/data/e2e.yaml', 'utf8').trim()
waitsFor = require './helpers/waits-for'
assert = require 'assert'
createRequest = require './helpers/create-request'
describe 'E... | 223150 | Stubby = require('../lib/main').Stubby
fs = require 'fs'
yaml = require 'js-yaml'
ce = require 'cloneextend'
endpointData = yaml.load (fs.readFileSync 'spec/data/e2e.yaml', 'utf8').trim()
waitsFor = require './helpers/waits-for'
assert = require 'assert'
createRequest = require './helpers/create-request'
describe 'E... | true | Stubby = require('../lib/main').Stubby
fs = require 'fs'
yaml = require 'js-yaml'
ce = require 'cloneextend'
endpointData = yaml.load (fs.readFileSync 'spec/data/e2e.yaml', 'utf8').trim()
waitsFor = require './helpers/waits-for'
assert = require 'assert'
createRequest = require './helpers/create-request'
describe 'E... |
[
{
"context": "reEach ->\n SettingsHelper.setCredentials 'foo@bar.baz', '0123456789abcdef0123456789abcdef'\n ",
"end": 1210,
"score": 0.5208483338356018,
"start": 1210,
"tag": "EMAIL",
"value": ""
},
{
"context": "ch ->\n SettingsHelper.setCredentials 'foo@bar.baz', '012... | spec/cloud-variables-view-spec.coffee | particle-iot/particle-dev-cloud-variables | 0 | {$} = require 'atom-space-pen-views'
SparkStub = require('particle-dev-spec-stubs').spark
CloudVariablesView = require '../lib/cloud-variables-view'
spark = require 'spark'
SettingsHelper = null
describe 'Cloud Variables View', ->
activationPromise = null
originalProfile = null
particleDev = null
cloudVariable... | 88544 | {$} = require 'atom-space-pen-views'
SparkStub = require('particle-dev-spec-stubs').spark
CloudVariablesView = require '../lib/cloud-variables-view'
spark = require 'spark'
SettingsHelper = null
describe 'Cloud Variables View', ->
activationPromise = null
originalProfile = null
particleDev = null
cloudVariable... | true | {$} = require 'atom-space-pen-views'
SparkStub = require('particle-dev-spec-stubs').spark
CloudVariablesView = require '../lib/cloud-variables-view'
spark = require 'spark'
SettingsHelper = null
describe 'Cloud Variables View', ->
activationPromise = null
originalProfile = null
particleDev = null
cloudVariable... |
[
{
"context": "Role = ef.createJournalRole journal,\n name: \"Admin\"\n kind: \"admin\"\n can_administer_journal",
"end": 293,
"score": 0.6374794244766235,
"start": 288,
"tag": "NAME",
"value": "Admin"
}
] | test/javascripts/integration/flow_manager_admin_test.js.coffee | johan--/tahi | 1 | module 'Integration: Flow Manager Administration',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "Admin"
kind: "admin"
... | 127900 | module 'Integration: Flow Manager Administration',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "<NAME>"
kind: "admin"
... | true | module 'Integration: Flow Manager Administration',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "PI:NAME:<NAME>END_PI"
kind... |
[
{
"context": " 'credentials')\n\n serviceReady: false\n userId: 'melis-user'\n\n setup: ( ->\n Logger.debug '[fpa] service s",
"end": 986,
"score": 0.9931619763374329,
"start": 976,
"tag": "USERNAME",
"value": "melis-user"
},
{
"context": " clientId: CLIENTID\n use... | app/services/fingerprint-auth.coffee | melis-wallet/melis-cm-client | 1 | import Service, { inject as service } from '@ember/service'
import Evented from '@ember/object/evented'
import { alias } from '@ember/object/computed'
import { isBlank } from '@ember/utils'
import { get, set } from '@ember/object'
import RSVP from 'rsvp'
import subscribe from 'ember-cordova-events/utils/subscribe'
imp... | 33834 | import Service, { inject as service } from '@ember/service'
import Evented from '@ember/object/evented'
import { alias } from '@ember/object/computed'
import { isBlank } from '@ember/utils'
import { get, set } from '@ember/object'
import RSVP from 'rsvp'
import subscribe from 'ember-cordova-events/utils/subscribe'
imp... | true | import Service, { inject as service } from '@ember/service'
import Evented from '@ember/object/evented'
import { alias } from '@ember/object/computed'
import { isBlank } from '@ember/utils'
import { get, set } from '@ember/object'
import RSVP from 'rsvp'
import subscribe from 'ember-cordova-events/utils/subscribe'
imp... |
[
{
"context": "etObject {Bucket: settings.bucketName, Key: 'admin/config.json'}, (err, data) ->\r\n if (err)\r\n ",
"end": 365,
"score": 0.5529837012290955,
"start": 365,
"tag": "KEY",
"value": ""
},
{
"context": "t {Bucket: settings.bucketName, Key: 'admin/config.json'}, (err,... | src/api/blogPost/index.coffee | syaku/LambdaBlog | 0 | aws = require('aws-sdk')
async = require('async')
yaml = require('js-yaml')
moment = require('moment')
_ = require('underscore')
s3 = new aws.S3()
settings = {
bucketName: 'www.sevenspirals.net'
prefix: 'admin/posts/'
suffix: '.yml'
}
exports.handler = (event, context) ->
#サイト情報取得
s3.getObj... | 93901 | aws = require('aws-sdk')
async = require('async')
yaml = require('js-yaml')
moment = require('moment')
_ = require('underscore')
s3 = new aws.S3()
settings = {
bucketName: 'www.sevenspirals.net'
prefix: 'admin/posts/'
suffix: '.yml'
}
exports.handler = (event, context) ->
#サイト情報取得
s3.getObj... | true | aws = require('aws-sdk')
async = require('async')
yaml = require('js-yaml')
moment = require('moment')
_ = require('underscore')
s3 = new aws.S3()
settings = {
bucketName: 'www.sevenspirals.net'
prefix: 'admin/posts/'
suffix: '.yml'
}
exports.handler = (event, context) ->
#サイト情報取得
s3.getObj... |
[
{
"context": " %> <%= pkg.version %> |\n @author Valtid Caushi\n @date <%= grunt.template.today(",
"end": 2586,
"score": 0.9998909831047058,
"start": 2573,
"tag": "NAME",
"value": "Valtid Caushi"
},
{
"context": " %> <%= pkg.version %> |\n ... | Gruntfile.coffee | valtido/ason-js | 0 | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
readOptionalJSON = (filepath) ->
data = {}
try
data = grunt.file.readJSON(filepath)
catch e
data
gzip = require( "gzip-js" )
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
dst: read... | 53656 | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
readOptionalJSON = (filepath) ->
data = {}
try
data = grunt.file.readJSON(filepath)
catch e
data
gzip = require( "gzip-js" )
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
dst: read... | true | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
readOptionalJSON = (filepath) ->
data = {}
try
data = grunt.file.readJSON(filepath)
catch e
data
gzip = require( "gzip-js" )
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
dst: read... |
[
{
"context": " @service = services.dropbox\n\n #@key = \"#{@path}#{@name}\"\n\n @name = @key.match(/[^\\/]+$/)[0]\n ",
"end": 112,
"score": 0.8959318399429321,
"start": 110,
"tag": "KEY",
"value": "#{"
}
] | src/coffee/files/dropbox-file.coffee | agiza/mondrian | 226 | class DropboxFile extends File
constructor: (@key) ->
@service = services.dropbox
#@key = "#{@path}#{@name}"
@name = @key.match(/[^\/]+$/)[0]
@path = @key.substring(0, @key.length - @name.length)
@displayLocation = @key
super @key, @name, @path, @thumbnail
load: (ok = ->) ->
@get (... | 86094 | class DropboxFile extends File
constructor: (@key) ->
@service = services.dropbox
#@key = "#{@path}<KEY>@name}"
@name = @key.match(/[^\/]+$/)[0]
@path = @key.substring(0, @key.length - @name.length)
@displayLocation = @key
super @key, @name, @path, @thumbnail
load: (ok = ->) ->
@ge... | true | class DropboxFile extends File
constructor: (@key) ->
@service = services.dropbox
#@key = "#{@path}PI:KEY:<KEY>END_PI@name}"
@name = @key.match(/[^\/]+$/)[0]
@path = @key.substring(0, @key.length - @name.length)
@displayLocation = @key
super @key, @name, @path, @thumbnail
load: (ok = -... |
[
{
"context": "./index\")(robot)\n\n userInfo =\n name: \"atmos\",\n room: \"#zf-promo\"\n\n user = r",
"end": 476,
"score": 0.5608847737312317,
"start": 474,
"tag": "USERNAME",
"value": "at"
},
{
"context": "index\")(robot)\n\n userInfo =\n name... | test/scripts/http_test.coffee | JennerF/hubot-test | 0 | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.ada... | 143248 | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.ada... | true | Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
describe "Deployment Status HTTP Callbacks", () ->
user = null
robot = null
adapter = null
beforeEach (done) ->
robot = new Robot(null, "mock-adapter", true, "Hubot")
robot.ada... |
[
{
"context": "\"活动参与者\"\n\ticon: \"event\"\n\tfields:\n\t\tname:\n\t\t\tlabel:'姓名'\n\t\t\ttype:'text'\n\t\t\tomit:true\n\t\tstatus:\n\t\t\tlabel:'",
"end": 1031,
"score": 0.7636882066726685,
"start": 1029,
"tag": "NAME",
"value": "姓名"
}
] | packages/steedos-vip-card/models/vip_event_attendees.coffee | zonglu233/fuel-car | 42 |
remindTime = (alarm,start)->
remindtime = start.getTime()
if alarm!="Now"
miliseconds=0
if alarm[2]=='T'
if alarm[alarm.length-1]=='M'
i=3
mimutes=0
while i<alarm.length-1
mimutes=mimutes+alarm[i]*(Math.pow(10,alarm.length-2-i))
i++
miliseconds=mimutes*60*1000
else if alarm[alarm.... | 27295 |
remindTime = (alarm,start)->
remindtime = start.getTime()
if alarm!="Now"
miliseconds=0
if alarm[2]=='T'
if alarm[alarm.length-1]=='M'
i=3
mimutes=0
while i<alarm.length-1
mimutes=mimutes+alarm[i]*(Math.pow(10,alarm.length-2-i))
i++
miliseconds=mimutes*60*1000
else if alarm[alarm.... | true |
remindTime = (alarm,start)->
remindtime = start.getTime()
if alarm!="Now"
miliseconds=0
if alarm[2]=='T'
if alarm[alarm.length-1]=='M'
i=3
mimutes=0
while i<alarm.length-1
mimutes=mimutes+alarm[i]*(Math.pow(10,alarm.length-2-i))
i++
miliseconds=mimutes*60*1000
else if alarm[alarm.... |
[
{
"context": "orage = require 'core/storage'\nGPLUS_TOKEN_KEY = 'gplusToken'\n\n# gplus user object props to\nuserPropsToSave =\n",
"end": 168,
"score": 0.7853267192840576,
"start": 158,
"tag": "KEY",
"value": "gplusToken"
},
{
"context": "t props to\nuserPropsToSave =\n 'name.given... | app/core/social-handlers/GPlusHandler.coffee | teplyja1/codecombat | 0 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = 'gplusToken'
# gplus user object props to
userPropsToSave =
'name.givenName': 'firstName'
'name.familyName': 'lastName'
'gender': 'gender'
'id': 'gplusID'... | 7989 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = '<KEY>'
# gplus user object props to
userPropsToSave =
'name.givenName': '<NAME>'
'name.familyName': '<NAME>'
'gender': 'gender'
'id': 'gplusID'
fieldsTo... | true | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = 'PI:KEY:<KEY>END_PI'
# gplus user object props to
userPropsToSave =
'name.givenName': 'PI:NAME:<NAME>END_PI'
'name.familyName': 'PI:NAME:<NAME>END_PI'
'gend... |
[
{
"context": "d = processor.validate {'nofile': true, 'args': [\"natalya\"]}\n test.ok valid, \"Should be valid!\"\n test",
"end": 217,
"score": 0.995901882648468,
"start": 210,
"tag": "USERNAME",
"value": "natalya"
},
{
"context": "le': true, 'batch': true, 'args': [\"kiara\",... | zillow/node_modules/http-auth/node_modules/htpasswd/tests/test-processor.coffee | tspires/personal | 4 | # Importing module.
processor = require '../lib/processor'
module.exports =
# Test for validate only username.
testValidateUsername: (test) ->
valid = processor.validate {'nofile': true, 'args': ["natalya"]}
test.ok valid, "Should be valid!"
test.done()
# Test for validate only username, pas... | 190737 | # Importing module.
processor = require '../lib/processor'
module.exports =
# Test for validate only username.
testValidateUsername: (test) ->
valid = processor.validate {'nofile': true, 'args': ["natalya"]}
test.ok valid, "Should be valid!"
test.done()
# Test for validate only username, pas... | true | # Importing module.
processor = require '../lib/processor'
module.exports =
# Test for validate only username.
testValidateUsername: (test) ->
valid = processor.validate {'nofile': true, 'args': ["natalya"]}
test.ok valid, "Should be valid!"
test.done()
# Test for validate only username, pas... |
[
{
"context": "expect(loadedPlayers[0].summoner?.name).to.equal \"SummonerA\"\n\n expect(loadedPlayers[1].championId)",
"end": 2655,
"score": 0.6019388437271118,
"start": 2646,
"tag": "NAME",
"value": "SummonerA"
},
{
"context": "expect(loadedPlayers[1].summoner?.name).to.e... | test/api/matchTest.coffee | jwalton/lol-js | 30 | {expect} = require 'chai'
testUtils = require '../testUtils'
lol = require '../../src/lol'
describe 'match API', ->
describe 'populateMatch()', ->
it 'should populate players in a match', ->
client = lol.client { apiKey: 'TESTKEY', cache: lol.lruCache(50) }
testUtils.expectRe... | 206359 | {expect} = require 'chai'
testUtils = require '../testUtils'
lol = require '../../src/lol'
describe 'match API', ->
describe 'populateMatch()', ->
it 'should populate players in a match', ->
client = lol.client { apiKey: 'TESTKEY', cache: lol.lruCache(50) }
testUtils.expectRe... | true | {expect} = require 'chai'
testUtils = require '../testUtils'
lol = require '../../src/lol'
describe 'match API', ->
describe 'populateMatch()', ->
it 'should populate players in a match', ->
client = lol.client { apiKey: 'TESTKEY', cache: lol.lruCache(50) }
testUtils.expectRe... |
[
{
"context": "#\n# Ethan Mick\n# 2015\n#\n\nFuture = require('future-client')\nClien",
"end": 14,
"score": 0.9998190402984619,
"start": 4,
"tag": "NAME",
"value": "Ethan Mick"
}
] | lib/models/future.coffee | ethanmick/mustached-octo-dubstep | 0 | #
# Ethan Mick
# 2015
#
Future = require('future-client')
Client = Future.Client
Client.connect()
Client.socket.on 'task', (task)->
console.log 'GOT TASK', task
action = require "../tasks/#{task.opts.action}"
console.log 'action', action
action(task.opts)
module.exports = Future
| 41739 | #
# <NAME>
# 2015
#
Future = require('future-client')
Client = Future.Client
Client.connect()
Client.socket.on 'task', (task)->
console.log 'GOT TASK', task
action = require "../tasks/#{task.opts.action}"
console.log 'action', action
action(task.opts)
module.exports = Future
| true | #
# PI:NAME:<NAME>END_PI
# 2015
#
Future = require('future-client')
Client = Future.Client
Client.connect()
Client.socket.on 'task', (task)->
console.log 'GOT TASK', task
action = require "../tasks/#{task.opts.action}"
console.log 'action', action
action(task.opts)
module.exports = Future
|
[
{
"context": "allback) =>\n App.User.create firstName: \"Lance\", (error, record) =>\n user = record\n ",
"end": 680,
"score": 0.9996236562728882,
"start": 675,
"tag": "NAME",
"value": "Lance"
},
{
"context": " (done) ->\n # App.User.create firstName: \"L... | test/cases/model/relationTest.coffee | vjsingh/tower | 1 | require '../../config'
membership = null
group = null
user = null
_.toS = (array) ->
_.map array, (item) -> item.toString()
describeWith = (store) ->
describe 'Tower.Model.Relation', ->
beforeEach (done) ->
async.series [
(callback) =>
store.clean(callback)
(call... | 3162 | require '../../config'
membership = null
group = null
user = null
_.toS = (array) ->
_.map array, (item) -> item.toString()
describeWith = (store) ->
describe 'Tower.Model.Relation', ->
beforeEach (done) ->
async.series [
(callback) =>
store.clean(callback)
(call... | true | require '../../config'
membership = null
group = null
user = null
_.toS = (array) ->
_.map array, (item) -> item.toString()
describeWith = (store) ->
describe 'Tower.Model.Relation', ->
beforeEach (done) ->
async.series [
(callback) =>
store.clean(callback)
(call... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998559951782227,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/widgets/actionbutton.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloactionbutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
ed... | 133736 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloactionbutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
editable:... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloactionbutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
... |
[
{
"context": "n\": 1, \"Exod\": 2, \"Lev\": 3, \"Num\": 4, \"Deut\": 5, \"Josh\": 6, \"Judg\": 7, \"Ruth\": 8, \"1Sam\": 9, \"2Sam\": 10,",
"end": 330,
"score": 0.8423445224761963,
"start": 326,
"tag": "NAME",
"value": "Josh"
},
{
"context": "\": 3, \"Num\": 4, \"Deut\": 5, \"Josh\":... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/jv/translations.coffee | saiba-mais/bible-lessons | 149 | # When adding a new translation, add it both here and bcv_parser::translations.aliases
bcv_parser::regexps.translations = ///(?:
(?:JVNT)
)\b///gi
bcv_parser::translations =
aliases:
default:
osis: ""
alias: "default"
alternates: {}
default:
order:
"Gen": 1, "Exod": 2, "Lev": 3, "Num": 4, "Deut"... | 160518 | # When adding a new translation, add it both here and bcv_parser::translations.aliases
bcv_parser::regexps.translations = ///(?:
(?:JVNT)
)\b///gi
bcv_parser::translations =
aliases:
default:
osis: ""
alias: "default"
alternates: {}
default:
order:
"Gen": 1, "Exod": 2, "Lev": 3, "Num": 4, "Deut"... | true | # When adding a new translation, add it both here and bcv_parser::translations.aliases
bcv_parser::regexps.translations = ///(?:
(?:JVNT)
)\b///gi
bcv_parser::translations =
aliases:
default:
osis: ""
alias: "default"
alternates: {}
default:
order:
"Gen": 1, "Exod": 2, "Lev": 3, "Num": 4, "Deut"... |
[
{
"context": " query:\n domain: \"test_domain_2\"\n my_key: \"2017\"\nquery2:\n query:\n domain: \"test_domain_2\"\n ",
"end": 63,
"score": 0.9991161227226257,
"start": 59,
"tag": "KEY",
"value": "2017"
}
] | tests/cson/config.test.cson | cle-b/tt_demo | 0 | query1:
query:
domain: "test_domain_2"
my_key: "2017"
query2:
query:
domain: "test_domain_2"
my_key: "{{filter}}"
aggregate:
query:[
$match:
domain:"test_domain_2"
,
$group:
_id: "$my_key"
my_key:
$sum: 1
] | 77009 | query1:
query:
domain: "test_domain_2"
my_key: "<KEY>"
query2:
query:
domain: "test_domain_2"
my_key: "{{filter}}"
aggregate:
query:[
$match:
domain:"test_domain_2"
,
$group:
_id: "$my_key"
my_key:
$sum: 1
] | true | query1:
query:
domain: "test_domain_2"
my_key: "PI:KEY:<KEY>END_PI"
query2:
query:
domain: "test_domain_2"
my_key: "{{filter}}"
aggregate:
query:[
$match:
domain:"test_domain_2"
,
$group:
_id: "$my_key"
my_key:
$sum: 1
] |
[
{
"context": " of tickets_Data.by_Ticket\n if key.contains 'x24h'\n need_Room = need_Room.concat value.names",
"end": 883,
"score": 0.9841164350509644,
"start": 879,
"tag": "KEY",
"value": "x24h"
}
] | src/server/src/Tickets.coffee | shooking/owasp-summit-2017 | 101 |
class Tickets
constructor: (jekyll_Data)->
@.jekyll_Data = jekyll_Data
@.file_Json_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.json'
@.file_Yaml_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.yml'
@.file_Json_Tickets = @.jekyll_Data.folder_Data_Map... | 164905 |
class Tickets
constructor: (jekyll_Data)->
@.jekyll_Data = jekyll_Data
@.file_Json_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.json'
@.file_Yaml_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.yml'
@.file_Json_Tickets = @.jekyll_Data.folder_Data_Map... | true |
class Tickets
constructor: (jekyll_Data)->
@.jekyll_Data = jekyll_Data
@.file_Json_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.json'
@.file_Yaml_Lodges = @.jekyll_Data.folder_Data_Mapped.path_Combine 'lodges.yml'
@.file_Json_Tickets = @.jekyll_Data.folder_Data_Map... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2012 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998542666435242,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | ifs-web-service/ifs-web-core/src/main/resources/static/js/vendor/wysiwyg-editor/hallo-src/src/plugins/cleanhtml.coffee | adambirse/innovation-funding-service | 40 | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin will tidy up pasted content with help of
# the jquery-clean plugin (https://code.google.com/p/jquery-clean/).
# Also the selection save and restore m... | 76868 | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin will tidy up pasted content with help of
# the jquery-clean plugin (https://code.google.com/p/jquery-clean/).
# Also the selection save and restore module f... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin will tidy up pasted content with help of
# the jquery-clean plugin (https://code.google.com/p/jquery-clean/).
# Also the selection save and re... |
[
{
"context": "ound missingPercent}% NA\"\n\n columnLabels\n\nkey = [64, 14, 190, 99, 77, 107, 95, 26, 211, 235, 41, 125, 110, 237, 151, 148]\nencryptPassword = (password)",
"end": 5387,
"score": 0.9874954223632812,
"start": 5336,
"tag": "KEY",
"value": "64, 14, 190, 99, 77, 107, 95, 26, 211... | src/ext/modules/util.coffee | appigge/h2o-flow | 0 | validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
Flow.Util.sanitizeName filename.substr 0, filename.length - extension.length
createListControl = (parameter) ->
MaxItemsPerPage = 100
_searchTerm =... | 71738 | validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
Flow.Util.sanitizeName filename.substr 0, filename.length - extension.length
createListControl = (parameter) ->
MaxItemsPerPage = 100
_searchTerm =... | true | validateFileExtension = (filename, extension) ->
-1 isnt filename.indexOf extension, filename.length - extension.length
getFileBaseName = (filename, extension) ->
Flow.Util.sanitizeName filename.substr 0, filename.length - extension.length
createListControl = (parameter) ->
MaxItemsPerPage = 100
_searchTerm =... |
[
{
"context": " # _id: id\n\n\n _sess: (id, value) ->\n key = \"_ironTable_\" + @_collectionName() + id\n if value?\n Session.set(key, value)\n e",
"end": 2763,
"score": 0.9987639784812927,
"start": 2724,
"tag": "KEY",
"value": "\"_ironTable_\" + @_collectionName() + id"
... | shared/ironTableController.coffee | pfafman/meteor-iron-table | 1 |
#
# Iron Table Controller
#
DEBUG = false
# Capitalize first letter in string
String::capitalize = ->
@charAt(0).toUpperCase() + @slice(1)
class @IronTableController extends RouteController
classID: 'IronTableController'
increment : 20
sortColumn : '_id'
sortDirection : 1
template ... | 43072 |
#
# Iron Table Controller
#
DEBUG = false
# Capitalize first letter in string
String::capitalize = ->
@charAt(0).toUpperCase() + @slice(1)
class @IronTableController extends RouteController
classID: 'IronTableController'
increment : 20
sortColumn : '_id'
sortDirection : 1
template ... | true |
#
# Iron Table Controller
#
DEBUG = false
# Capitalize first letter in string
String::capitalize = ->
@charAt(0).toUpperCase() + @slice(1)
class @IronTableController extends RouteController
classID: 'IronTableController'
increment : 20
sortColumn : '_id'
sortDirection : 1
template ... |
[
{
"context": "\n params = @request.body\n fields = [\n 'firstName'\n 'middleName'\n 'lastName'\n 'phone",
"end": 1641,
"score": 0.9933337569236755,
"start": 1632,
"tag": "NAME",
"value": "firstName"
},
{
"context": "uest.body\n fields = [\n 'firstNam... | src/controllers/client.coffee | evanhuang8/teresa | 0 | moment = require 'moment-timezone'
db = require '../db'
Client = db.model 'Client'
Checkup = db.model 'Checkup'
Referral = db.model 'Referral'
Service = db.model 'Service'
Organization = db.model 'Organization'
sequelize = require 'sequelize'
SqlString = require 'sequelize/lib/sql-string'
queue = require '../tasks/qu... | 2026 | moment = require 'moment-timezone'
db = require '../db'
Client = db.model 'Client'
Checkup = db.model 'Checkup'
Referral = db.model 'Referral'
Service = db.model 'Service'
Organization = db.model 'Organization'
sequelize = require 'sequelize'
SqlString = require 'sequelize/lib/sql-string'
queue = require '../tasks/qu... | true | moment = require 'moment-timezone'
db = require '../db'
Client = db.model 'Client'
Checkup = db.model 'Checkup'
Referral = db.model 'Referral'
Service = db.model 'Service'
Organization = db.model 'Organization'
sequelize = require 'sequelize'
SqlString = require 'sequelize/lib/sql-string'
queue = require '../tasks/qu... |
[
{
"context": "nnel.control.indexOf(client) > -1 && password == \"delete\"\n channel.destroy(client)\n return clien",
"end": 4885,
"score": 0.9974399209022522,
"start": 4879,
"tag": "PASSWORD",
"value": "delete"
},
{
"context": "client.ack()\n else\n if channel.passw... | src/server/commands.coffee | 2called-chaos/synctube_node | 0 | COLORS = require("./colors.js")
UTIL = require("./util.js")
Channel = require("./channel.js").Class
Client = require("./client.js").Class
x = module.exports =
handleMessage: (server, client, message, msg) ->
try
return @Server["packet"].call(server, client, m[1]) if m = msg.match(/^!packet:(.+)$/i)
c... | 192392 | COLORS = require("./colors.js")
UTIL = require("./util.js")
Channel = require("./channel.js").Class
Client = require("./client.js").Class
x = module.exports =
handleMessage: (server, client, message, msg) ->
try
return @Server["packet"].call(server, client, m[1]) if m = msg.match(/^!packet:(.+)$/i)
c... | true | COLORS = require("./colors.js")
UTIL = require("./util.js")
Channel = require("./channel.js").Class
Client = require("./client.js").Class
x = module.exports =
handleMessage: (server, client, message, msg) ->
try
return @Server["packet"].call(server, client, m[1]) if m = msg.match(/^!packet:(.+)$/i)
c... |
[
{
"context": "by_2013_%282%29.jpg'\n @page.should.containEql 'Elena Soboleva'\n @page.should.not.containEql 'has-contributin",
"end": 1109,
"score": 0.990456759929657,
"start": 1095,
"tag": "NAME",
"value": "Elena Soboleva"
},
{
"context": "e correctly', ->\n @article.set('a... | src/mobile/apps/fair_organizer/test/templates/articles.test.coffee | xtina-starr/force | 1 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
Article = require '../../../../models/article'
fixtures = require '../../../../test/helpers/fixtures'
describe 'Article template', ->
beforeEach ->
@filename = path.resolve __dirname, "../../templ... | 82752 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
Article = require '../../../../models/article'
fixtures = require '../../../../test/helpers/fixtures'
describe 'Article template', ->
beforeEach ->
@filename = path.resolve __dirname, "../../templ... | true | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
Article = require '../../../../models/article'
fixtures = require '../../../../test/helpers/fixtures'
describe 'Article template', ->
beforeEach ->
@filename = path.resolve __dirname, "../../templ... |
[
{
"context": "t be undone.'\n body_class: ''\n password: false\n prompt: 'Type <strong>%s</strong> to contin",
"end": 882,
"score": 0.9990584254264832,
"start": 877,
"tag": "PASSWORD",
"value": "false"
},
{
"context": "end(confirm_button)\n\n if (password = option... | admin/vendor/assets/javascripts/confirm_with_reveal.js.coffee | okbreathe/push_type | 314 | # Examples using Rails’ link_to helper
#
# Basic usage:
# = link_to 'Delete', foo_path(foo), method: :delete, data: { confirm: true }
#
# Customization of individual links/buttons via JSON in data-confirm:
# = link_to 'Delete', foo_path(foo), method: :delete, data: {
# confirm: {
# title: 'You might w... | 16021 | # Examples using Rails’ link_to helper
#
# Basic usage:
# = link_to 'Delete', foo_path(foo), method: :delete, data: { confirm: true }
#
# Customization of individual links/buttons via JSON in data-confirm:
# = link_to 'Delete', foo_path(foo), method: :delete, data: {
# confirm: {
# title: 'You might w... | true | # Examples using Rails’ link_to helper
#
# Basic usage:
# = link_to 'Delete', foo_path(foo), method: :delete, data: { confirm: true }
#
# Customization of individual links/buttons via JSON in data-confirm:
# = link_to 'Delete', foo_path(foo), method: :delete, data: {
# confirm: {
# title: 'You might w... |
[
{
"context": "phoneType: 'FIXED_LINE'\n ]\n }\n {\n should: 'Cardiff number'\n number: ['+44 29 1234 5678']\n e",
"end": 682,
"score": 0.5752971768379211,
"start": 678,
"tag": "NAME",
"value": "Card"
}
] | test/valid-data/international-test-uk-numbers.coffee | fbatroni/phone-format | 1 | InternationalUKTestNumbers = [
{
should: 'mobile GB number w/spaces and plus sign'
number: ['+44(0)777 55 55 613']
expect: [
countryCode: 'GB'
phoneType: 'MOBILE'
]
}
{
should: 'mobile GB number - no spaces - w/ country code'
number: ['+44(0)7775555613']
expect: [
co... | 143184 | InternationalUKTestNumbers = [
{
should: 'mobile GB number w/spaces and plus sign'
number: ['+44(0)777 55 55 613']
expect: [
countryCode: 'GB'
phoneType: 'MOBILE'
]
}
{
should: 'mobile GB number - no spaces - w/ country code'
number: ['+44(0)7775555613']
expect: [
co... | true | InternationalUKTestNumbers = [
{
should: 'mobile GB number w/spaces and plus sign'
number: ['+44(0)777 55 55 613']
expect: [
countryCode: 'GB'
phoneType: 'MOBILE'
]
}
{
should: 'mobile GB number - no spaces - w/ country code'
number: ['+44(0)7775555613']
expect: [
co... |
[
{
"context": "\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\tosis: [\"Jonah\"]\n\t\tregexp: ///(^|#{bcv_parser::regexps.pre_book}",
"end": 14621,
"score": 0.8336039781570435,
"start": 14619,
"tag": "NAME",
"value": "ah"
}
] | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/cs/regexps.coffee | saiba-mais/bible-lessons | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 1212 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "\n session.set\n email : 'user@example.com'\n password : '$ecre8'\n r",
"end": 748,
"score": 0.9999191164970398,
"start": 732,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": " : 'user@example.com'\n ... | source/TextUml/Scripts/specs/application/models/session.coffee | marufsiddiqui/textuml-dotnet | 1 | define (require) ->
_ = require 'underscore'
Session = require '../../../application/models/session'
describe 'models/session', ->
session = null
beforeEach -> session = new Session
describe '#defaults', ->
it 'has #email', ->
expect(session.defaults()).to.have.property 'e... | 184245 | define (require) ->
_ = require 'underscore'
Session = require '../../../application/models/session'
describe 'models/session', ->
session = null
beforeEach -> session = new Session
describe '#defaults', ->
it 'has #email', ->
expect(session.defaults()).to.have.property 'e... | true | define (require) ->
_ = require 'underscore'
Session = require '../../../application/models/session'
describe 'models/session', ->
session = null
beforeEach -> session = new Session
describe '#defaults', ->
it 'has #email', ->
expect(session.defaults()).to.have.property 'e... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998904466629028,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/orders.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Order model
###
class Order extends Model
# initialize model
Order.i... | 149140 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Order model
###
class Order extends Model
# initialize model
Order.init
user:
allowNu... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Order model
###
class Order extends Model
# initialize model... |
[
{
"context": " (email, password) ->\n {email: email, password: password}\n\n _userChanged: ->\n if @user\n @email = ",
"end": 965,
"score": 0.9988742470741272,
"start": 957,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " password) ->\n {\"id\": userId, \"user... | app/elements/caretaker-session-manager/caretaker-session-manager.coffee | grappendorf/caretaker-webapp | 0 | Polymer
is: 'caretaker-session-manager'
behaviors: [Grapp.I18NJsBehavior]
properties:
apiUrl: {type: String }
user: {type: Object, value: {email: '', roles: [], isAdmin: false}, notify: true, observer: '_userChanged'}
token: {type: String, value: null, notify: true}
connect: ->
@$.loginDialo... | 31187 | Polymer
is: 'caretaker-session-manager'
behaviors: [Grapp.I18NJsBehavior]
properties:
apiUrl: {type: String }
user: {type: Object, value: {email: '', roles: [], isAdmin: false}, notify: true, observer: '_userChanged'}
token: {type: String, value: null, notify: true}
connect: ->
@$.loginDialo... | true | Polymer
is: 'caretaker-session-manager'
behaviors: [Grapp.I18NJsBehavior]
properties:
apiUrl: {type: String }
user: {type: Object, value: {email: '', roles: [], isAdmin: false}, notify: true, observer: '_userChanged'}
token: {type: String, value: null, notify: true}
connect: ->
@$.loginDialo... |
[
{
"context": "\n\n renderFullName: (account, query) ->\n\n { firstName, lastName, nickname } = account.profile\n ret",
"end": 1237,
"score": 0.9741612672805786,
"start": 1228,
"tag": "NAME",
"value": "firstName"
},
{
"context": "rFullName: (account, query) ->\n\n { ... | client/activity/lib/components/chatinputwidget/mentiondropbox/useritem.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
React = require 'kd-react'
immutable = require 'immutable'
classnames = require 'classnames'
DropboxItem = require 'activity/components/dropboxitem'
Avatar = require 'app/components/profile/avatar'
highlightQueryInWord = requ... | 100601 | kd = require 'kd'
React = require 'kd-react'
immutable = require 'immutable'
classnames = require 'classnames'
DropboxItem = require 'activity/components/dropboxitem'
Avatar = require 'app/components/profile/avatar'
highlightQueryInWord = requ... | true | kd = require 'kd'
React = require 'kd-react'
immutable = require 'immutable'
classnames = require 'classnames'
DropboxItem = require 'activity/components/dropboxitem'
Avatar = require 'app/components/profile/avatar'
highlightQueryInWord = requ... |
[
{
"context": "').success (data) ->\n\t\tscope.series = [\n\t\t\tname: \"Apple\"\n\t\t\tdata: data\n\t\t]\n\t\tscope.chartReady = yes\n\n]",
"end": 977,
"score": 0.970344066619873,
"start": 972,
"tag": "NAME",
"value": "Apple"
}
] | test/scripts/test.coffee | TheHippo/angular-highcharts | 1 | app = angular.module 'test-angular-highcharts', ['angular-highcharts']
app.config ['HighchartsGlobalConfigProvider', (highchartsGlobalConfigProvider) ->
highchartsGlobalConfigProvider.setGlobal
useUTC: yes
highchartsGlobalConfigProvider.setLang
decimalPoint: ','
]
app.controller 'Chart1', ['$scope', '$http', (s... | 93389 | app = angular.module 'test-angular-highcharts', ['angular-highcharts']
app.config ['HighchartsGlobalConfigProvider', (highchartsGlobalConfigProvider) ->
highchartsGlobalConfigProvider.setGlobal
useUTC: yes
highchartsGlobalConfigProvider.setLang
decimalPoint: ','
]
app.controller 'Chart1', ['$scope', '$http', (s... | true | app = angular.module 'test-angular-highcharts', ['angular-highcharts']
app.config ['HighchartsGlobalConfigProvider', (highchartsGlobalConfigProvider) ->
highchartsGlobalConfigProvider.setGlobal
useUTC: yes
highchartsGlobalConfigProvider.setLang
decimalPoint: ','
]
app.controller 'Chart1', ['$scope', '$http', (s... |
[
{
"context": "ons)\n expect(@instance._data_key).to.equal('a_select_data')\n\n it 'creates @_timestamp_key', -",
"end": 2591,
"score": 0.6981313824653625,
"start": 2591,
"tag": "KEY",
"value": ""
},
{
"context": " expect(@instance._data_key).to.equal('a_select_data')\n\n ... | spec/storagefreak_spec.coffee | skroutz/selectorablium | 7 | cleanup_tests = ->
it 'triggers "dbremote_search_reset" event', ->
spy = sinon.spy()
@instance.on 'dbremote_search_reset', spy
@instance.search(@query)
expect(spy).to.be.calledOnce
context 'when a timeout is pending', ->
it 'clears the timeout', ->
spy = sinon.spy(window, 'clearTimeout')... | 218358 | cleanup_tests = ->
it 'triggers "dbremote_search_reset" event', ->
spy = sinon.spy()
@instance.on 'dbremote_search_reset', spy
@instance.search(@query)
expect(spy).to.be.calledOnce
context 'when a timeout is pending', ->
it 'clears the timeout', ->
spy = sinon.spy(window, 'clearTimeout')... | true | cleanup_tests = ->
it 'triggers "dbremote_search_reset" event', ->
spy = sinon.spy()
@instance.on 'dbremote_search_reset', spy
@instance.search(@query)
expect(spy).to.be.calledOnce
context 'when a timeout is pending', ->
it 'clears the timeout', ->
spy = sinon.spy(window, 'clearTimeout')... |
[
{
"context": "h credentials to follow the {name: 'user', pass: 'pass'}\n * format of node-basic-auth\n *\n * @private\n * ",
"end": 1249,
"score": 0.9978294372558594,
"start": 1245,
"tag": "PASSWORD",
"value": "pass"
}
] | lib/index.coffee | carrot/publicist-middleware | 2 | basicAuth = require 'basic-auth'
minimatch = require 'minimatch'
_ = require 'lodash'
###*
* Configures options and returns a middleware function.
*
* Options:
* - auth: A basic auth user/pass in the format of 'user:password'.
*
* @param {Object} opts - options object, described above
* @return {Functi... | 189845 | basicAuth = require 'basic-auth'
minimatch = require 'minimatch'
_ = require 'lodash'
###*
* Configures options and returns a middleware function.
*
* Options:
* - auth: A basic auth user/pass in the format of 'user:password'.
*
* @param {Object} opts - options object, described above
* @return {Functi... | true | basicAuth = require 'basic-auth'
minimatch = require 'minimatch'
_ = require 'lodash'
###*
* Configures options and returns a middleware function.
*
* Options:
* - auth: A basic auth user/pass in the format of 'user:password'.
*
* @param {Object} opts - options object, described above
* @return {Functi... |
[
{
"context": "vascript\", src: \"https://www.google.com/jsapi?key=ABQIAAAAV88HHyf8NBcAL3aio53OixSEBwhbzDd0F998UkbSll3boCkrihTFj2uO3yETr_J5z25r2aIc4YCVpQ\"\n #script type: \"text/javascript\", src: \"htt",
"end": 239,
"score": 0.9995309710502625,
"start": 153,
"tag": "KEY",
"value": "ABQ... | templates/layout.coffee | jaekwon/YCatalyst | 3 | exports.template = ->
doctype 5
html ->
head ->
title @title
#script type: "text/javascript", src: "https://www.google.com/jsapi?key=ABQIAAAAV88HHyf8NBcAL3aio53OixSEBwhbzDd0F998UkbSll3boCkrihTFj2uO3yETr_J5z25r2aIc4YCVpQ"
#script type: "text/javascript", src: "https://ajax.googleapis.com/ajax/l... | 179398 | exports.template = ->
doctype 5
html ->
head ->
title @title
#script type: "text/javascript", src: "https://www.google.com/jsapi?key=<KEY>"
#script type: "text/javascript", src: "https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
for file in ["jquery-1.4.2.min.js", "unders... | true | exports.template = ->
doctype 5
html ->
head ->
title @title
#script type: "text/javascript", src: "https://www.google.com/jsapi?key=PI:KEY:<KEY>END_PI"
#script type: "text/javascript", src: "https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
for file in ["jquery-1.4.2.min... |
[
{
"context": "\nmodule.exports = () ->\n describe 'User', ->\n\n alice = null\n bob = null\n\n userModel =\n name",
"end": 221,
"score": 0.5906455516815186,
"start": 216,
"tag": "NAME",
"value": "alice"
},
{
"context": " () ->\n describe 'User', ->\n\n alice = null... | test/unit/server/mocha/controllers/user.coffee | valueflowquality/gi-security-update | 0 | _ = require 'underscore'
path = require 'path'
expect = require('chai').expect
sinon = require 'sinon'
dir = path.normalize __dirname + '../../../../../../server'
module.exports = () ->
describe 'User', ->
alice = null
bob = null
userModel =
name: 'users'
create: (json, cb) ->
cb ... | 12461 | _ = require 'underscore'
path = require 'path'
expect = require('chai').expect
sinon = require 'sinon'
dir = path.normalize __dirname + '../../../../../../server'
module.exports = () ->
describe 'User', ->
<NAME> = null
<NAME> = null
userModel =
name: 'users'
create: (json, cb) ->
... | true | _ = require 'underscore'
path = require 'path'
expect = require('chai').expect
sinon = require 'sinon'
dir = path.normalize __dirname + '../../../../../../server'
module.exports = () ->
describe 'User', ->
PI:NAME:<NAME>END_PI = null
PI:NAME:<NAME>END_PI = null
userModel =
name: 'users'
c... |
[
{
"context": ".send\n name: 'zack'\n password: '123'\n .end (err, res) ->\n entity = re",
"end": 528,
"score": 0.999300479888916,
"start": 525,
"tag": "PASSWORD",
"value": "123"
}
] | node_modules/node-odata/test/model.hidden.field.coffee | hurzelpurzel/bookstoreajs | 0 | should = require('should')
request = require('supertest')
odata = require('../.')
PORT = 0
entity = undefined
describe 'model.hidden.field', ->
before (done) ->
server = odata('mongodb://localhost/odata-test')
server.resource 'hidden-field',
name: String
password:
type: String
s... | 124822 | should = require('should')
request = require('supertest')
odata = require('../.')
PORT = 0
entity = undefined
describe 'model.hidden.field', ->
before (done) ->
server = odata('mongodb://localhost/odata-test')
server.resource 'hidden-field',
name: String
password:
type: String
s... | true | should = require('should')
request = require('supertest')
odata = require('../.')
PORT = 0
entity = undefined
describe 'model.hidden.field', ->
before (done) ->
server = odata('mongodb://localhost/odata-test')
server.resource 'hidden-field',
name: String
password:
type: String
s... |
[
{
"context": "bj) ->\n pairs = []\n pairs = (\"#{key}=\\\"#{val}\\\"\" for own key, val of obj)\n \" [#{pairs.join(\",",
"end": 376,
"score": 0.5916498303413391,
"start": 376,
"tag": "KEY",
"value": ""
}
] | src/graphviz.coffee | automatthew/djinn | 4 |
# Graphviz formatting helpers
Graphviz =
digraph_preamble: (name) ->
"""
digraph #{name} {\n
rankdir=LR;\n
node [shape=circle,fontsize=10]
edge [fontsize=16]
"""
dotEdge: (from, to) ->
[from, to].join(" -> ")
dotNode: (node, attrs) ->
"#{node}#{@dotAttrs(attrs)};\n"
dotAtt... | 202987 |
# Graphviz formatting helpers
Graphviz =
digraph_preamble: (name) ->
"""
digraph #{name} {\n
rankdir=LR;\n
node [shape=circle,fontsize=10]
edge [fontsize=16]
"""
dotEdge: (from, to) ->
[from, to].join(" -> ")
dotNode: (node, attrs) ->
"#{node}#{@dotAttrs(attrs)};\n"
dotAtt... | true |
# Graphviz formatting helpers
Graphviz =
digraph_preamble: (name) ->
"""
digraph #{name} {\n
rankdir=LR;\n
node [shape=circle,fontsize=10]
edge [fontsize=16]
"""
dotEdge: (from, to) ->
[from, to].join(" -> ")
dotNode: (node, attrs) ->
"#{node}#{@dotAttrs(attrs)};\n"
dotAtt... |
[
{
"context": ": 'AND'\n\n initialize: ->\n @preconditionKey = \"precondition_#{@precondition.id}\"\n @parentPreconditionKey = \"p",
"end": 286,
"score": 0.9431840181350708,
"start": 271,
"tag": "KEY",
"value": "precondition_#{"
},
{
"context": "alize: ->\n @preconditionKey ... | app/assets/javascripts/views/logic/precondition_logic_view.js.coffee | okeefm/bonnie | 0 | class Thorax.Views.PreconditionLogic extends Thorax.Views.BonnieView
template: JST['logic/precondition']
conjunction_map:
'allTrue':'AND'
'atLeastOneTrue':'OR'
flip_conjunction_map:
'AND': 'OR'
'OR': 'AND'
initialize: ->
@preconditionKey = "precondition_#{@precondition.id}"
@parentPrec... | 159797 | class Thorax.Views.PreconditionLogic extends Thorax.Views.BonnieView
template: JST['logic/precondition']
conjunction_map:
'allTrue':'AND'
'atLeastOneTrue':'OR'
flip_conjunction_map:
'AND': 'OR'
'OR': 'AND'
initialize: ->
@preconditionKey = "<KEY>@<KEY>condition.<KEY>
@parentPreconditio... | true | class Thorax.Views.PreconditionLogic extends Thorax.Views.BonnieView
template: JST['logic/precondition']
conjunction_map:
'allTrue':'AND'
'atLeastOneTrue':'OR'
flip_conjunction_map:
'AND': 'OR'
'OR': 'AND'
initialize: ->
@preconditionKey = "PI:KEY:<KEY>END_PI@PI:KEY:<KEY>END_PIcondition.PI... |
[
{
"context": " if @current_suggestions[@current_highlighted_suggestion]?\n @show_suggestio",
"end": 53931,
"score": 0.6408464908599854,
"start": 53909,
"tag": "USERNAME",
"value": "highlighted_suggestion"
},
{
"context": " suggest... | admin/static/coffee/dataexplorer.coffee | zadcha/rethinkdb | 21,684 | # Copyright 2010-2015 RethinkDB, all rights reserved.
app = require('./app.coffee')
system_db = app.system_db
driver = app.driver
util = require('./util.coffee')
r = require('rethinkdb')
DEFAULTS =
current_query: null
query_result: null
cursor_timed_out: true
view: 'tree'
history_state: 'hidden'
... | 199664 | # Copyright 2010-2015 RethinkDB, all rights reserved.
app = require('./app.coffee')
system_db = app.system_db
driver = app.driver
util = require('./util.coffee')
r = require('rethinkdb')
DEFAULTS =
current_query: null
query_result: null
cursor_timed_out: true
view: 'tree'
history_state: 'hidden'
... | true | # Copyright 2010-2015 RethinkDB, all rights reserved.
app = require('./app.coffee')
system_db = app.system_db
driver = app.driver
util = require('./util.coffee')
r = require('rethinkdb')
DEFAULTS =
current_query: null
query_result: null
cursor_timed_out: true
view: 'tree'
history_state: 'hidden'
... |
[
{
"context": "match.pairId is pair._id\n\t\t\t<MatchColumn\n\t\t\t\tkey={pair._id}\n\t\t\t\tpair={pair}\n\t\t\t\tcolumnClass={columnClass}\n\t\t",
"end": 708,
"score": 0.992602527141571,
"start": 700,
"tag": "KEY",
"value": "pair._id"
}
] | src/js/columns.cjsx | BS-Harou/hockey-frontend | 0 | React = require 'react'
ReactDOM = require 'react-dom'
MatchColumn = require './match-column'
PureRenderMixin = require 'react-addons-pure-render-mixin'
AddPair = require './add-pair'
css = require '../css/columns.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Columns'
openAddPa... | 172247 | React = require 'react'
ReactDOM = require 'react-dom'
MatchColumn = require './match-column'
PureRenderMixin = require 'react-addons-pure-render-mixin'
AddPair = require './add-pair'
css = require '../css/columns.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Columns'
openAddPa... | true | React = require 'react'
ReactDOM = require 'react-dom'
MatchColumn = require './match-column'
PureRenderMixin = require 'react-addons-pure-render-mixin'
AddPair = require './add-pair'
css = require '../css/columns.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Columns'
openAddPa... |
[
{
"context": "Snapshot(@get(\"$el\"))\n\n obj = {\n name: name\n body: body\n htmlAttrs: htmlAttrs\n ",
"end": 7144,
"score": 0.5681754946708679,
"start": 7140,
"tag": "NAME",
"value": "name"
},
{
"context": "ps = ->\n key = if _this.get(\"event\") th... | packages/driver/src/cypress/log.coffee | andreirogobete/cypress | 1 | _ = require("lodash")
$ = require("jquery")
clone = require("clone")
$Snapshots = require("../cy/snapshots")
$Events = require("./events")
$dom = require("../dom")
$utils = require("./utils")
## adds class methods for command, route, and agent logging
## including the intermediate $Log interface
CypressErrorRe = /(A... | 113070 | _ = require("lodash")
$ = require("jquery")
clone = require("clone")
$Snapshots = require("../cy/snapshots")
$Events = require("./events")
$dom = require("../dom")
$utils = require("./utils")
## adds class methods for command, route, and agent logging
## including the intermediate $Log interface
CypressErrorRe = /(A... | true | _ = require("lodash")
$ = require("jquery")
clone = require("clone")
$Snapshots = require("../cy/snapshots")
$Events = require("./events")
$dom = require("../dom")
$utils = require("./utils")
## adds class methods for command, route, and agent logging
## including the intermediate $Log interface
CypressErrorRe = /(A... |
[
{
"context": "refer to the FAQ: https://githubusercontent.com/bevry/docpad/wiki/FAQ\n\n templateData:\n\n # Specify s",
"end": 457,
"score": 0.7330897450447083,
"start": 454,
"tag": "USERNAME",
"value": "vry"
},
{
"context": "\n # The website author's name\n author: \"W... | docpad.coffee | wet-boew-wem/website | 0 | # The DocPad Configuration File
# Require
fsUtil = require('fs')
marked = require 'docpad-plugin-marked/node_modules/marked'
pathUtil = require('path')
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that wi... | 152374 | # The DocPad Configuration File
# Require
fsUtil = require('fs')
marked = require 'docpad-plugin-marked/node_modules/marked'
pathUtil = require('path')
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that wi... | true | # The DocPad Configuration File
# Require
fsUtil = require('fs')
marked = require 'docpad-plugin-marked/node_modules/marked'
pathUtil = require('path')
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that wi... |
[
{
"context": " \"prettyPrint()\",\n A href: \"https://github.com/jed/domo\",\n IMG\n class: \"github\"\n ",
"end": 2242,
"score": 0.9997243881225586,
"start": 2239,
"tag": "USERNAME",
"value": "jed"
},
{
"context": "f dōmo, just view \", (A href: \"https://githu... | docs/index.coffee | jed/domo | 29 | boxShadow = (values) ->
MozBoxShadow : values
WebkitBoxShadow : values
boxShadow : values
HTML lang: "en",
HEAD {},
TITLE "dōmo: Markup, style, and code in one language."
LINK
rel: "stylesheet"
type: "text/css"
href: "//fonts.googleapis.com/css?family=Titillium+Web:900&subse... | 221876 | boxShadow = (values) ->
MozBoxShadow : values
WebkitBoxShadow : values
boxShadow : values
HTML lang: "en",
HEAD {},
TITLE "dōmo: Markup, style, and code in one language."
LINK
rel: "stylesheet"
type: "text/css"
href: "//fonts.googleapis.com/css?family=Titillium+Web:900&subse... | true | boxShadow = (values) ->
MozBoxShadow : values
WebkitBoxShadow : values
boxShadow : values
HTML lang: "en",
HEAD {},
TITLE "dōmo: Markup, style, and code in one language."
LINK
rel: "stylesheet"
type: "text/css"
href: "//fonts.googleapis.com/css?family=Titillium+Web:900&subse... |
[
{
"context": "ting\"\n \"room\"\n ]\n author:\n name: \"James Halliday\"\n email: \"mail@substack.net\"\n url: \"htt",
"end": 1303,
"score": 0.9998043179512024,
"start": 1289,
"tag": "NAME",
"value": "James Halliday"
},
{
"context": "uthor:\n name: \"Ja... | deps/npm/node_modules/init-package-json/node_modules/promzard/test/basic.coffee | lxe/io.coffee | 0 | tap = require("tap")
pz = require("../promzard.js")
spawn = require("child_process").spawn
tap.test "run the example", (t) ->
respond = ->
console.error "respond", output
if output.match(/description: $/)
c.stdin.write "testing description\n"
return
if output.match(/entry point: \(index\.js\) ... | 77183 | tap = require("tap")
pz = require("../promzard.js")
spawn = require("child_process").spawn
tap.test "run the example", (t) ->
respond = ->
console.error "respond", output
if output.match(/description: $/)
c.stdin.write "testing description\n"
return
if output.match(/entry point: \(index\.js\) ... | true | tap = require("tap")
pz = require("../promzard.js")
spawn = require("child_process").spawn
tap.test "run the example", (t) ->
respond = ->
console.error "respond", output
if output.match(/description: $/)
c.stdin.write "testing description\n"
return
if output.match(/entry point: \(index\.js\) ... |
[
{
"context": "\n inputOptions :\n name : 'username'\n forceCase : 'lowercase'\n plac",
"end": 312,
"score": 0.9962128400802612,
"start": 304,
"tag": "USERNAME",
"value": "username"
},
{
"context": "pe : 'password'\n placeholde... | client/landing/site.landing/coffee/login/loginform.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
name : 'username'
... | 125198 | kd = require 'kd'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
name : 'username'
... | true | kd = require 'kd'
LoginViewInlineForm = require './loginviewinlineform'
LoginInputView = require './logininputview'
module.exports = class LoginInlineForm extends LoginViewInlineForm
constructor: ->
super
@username = new LoginInputView
inputOptions :
name : 'username'
... |
[
{
"context": "us is 'proceeding'\n loginData=account : @username , password : @password , rememberme : \"on\"\n ",
"end": 6075,
"score": 0.9950306415557861,
"start": 6066,
"tag": "USERNAME",
"value": "@username"
},
{
"context": " loginData=account : @username ,... | node_modules/mew/lib/otherweb.coffee | homepagea/mewbot | 0 | jsonrpc = require './jsonrpc.coffee'
{EventEmitter} = require 'events'
Fs = require 'fs'
http = require 'http'
mime = require 'mime'
class TimelineEvent extends EventEmitter
constructor : (@otherweb)->
@callTimeline()
callTimeline : ->
headers = Cookie : @otherweb.client.getCookies()
o... | 95922 | jsonrpc = require './jsonrpc.coffee'
{EventEmitter} = require 'events'
Fs = require 'fs'
http = require 'http'
mime = require 'mime'
class TimelineEvent extends EventEmitter
constructor : (@otherweb)->
@callTimeline()
callTimeline : ->
headers = Cookie : @otherweb.client.getCookies()
o... | true | jsonrpc = require './jsonrpc.coffee'
{EventEmitter} = require 'events'
Fs = require 'fs'
http = require 'http'
mime = require 'mime'
class TimelineEvent extends EventEmitter
constructor : (@otherweb)->
@callTimeline()
callTimeline : ->
headers = Cookie : @otherweb.client.getCookies()
o... |
[
{
"context": "#\n# Copyright (c) 2019 Alexander Sporn. All rights reserved.\n# Copyright (c) 2020 Philip",
"end": 38,
"score": 0.9998718500137329,
"start": 23,
"tag": "NAME",
"value": "Alexander Sporn"
},
{
"context": "r Sporn. All rights reserved.\n# Copyright (c) 2020 Philipp Leser... | index.coffee | zonefuenf/homebridge-enocean | 2 | #
# Copyright (c) 2019 Alexander Sporn. All rights reserved.
# Copyright (c) 2020 Philipp Leser-Wolf
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = homebri... | 128965 | #
# Copyright (c) 2019 <NAME>. All rights reserved.
# Copyright (c) 2020 <NAME>
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = homebridge.hap.Service
Cha... | true | #
# Copyright (c) 2019 PI:NAME:<NAME>END_PI. All rights reserved.
# Copyright (c) 2020 PI:NAME:<NAME>END_PI
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = ... |
[
{
"context": "key: 'open-block'\n\npatterns: [\n\n # Matches open block.\n #\n # Ex",
"end": 16,
"score": 0.9953886866569519,
"start": 6,
"tag": "KEY",
"value": "open-block"
}
] | grammars/repositories/blocks/open-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'open-block'
patterns: [
# Matches open block.
#
# Examples
#
# --
# An open block can be an anonymous container
# --
#
name: 'markup.block.open.asciidoc'
begin: '^(-{2})$'
beginCaptures:
1: name: 'constant.other.symbol.asciidoc'
patterns: [
include: '$self'
]
end: '^(\\... | 95775 | key: '<KEY>'
patterns: [
# Matches open block.
#
# Examples
#
# --
# An open block can be an anonymous container
# --
#
name: 'markup.block.open.asciidoc'
begin: '^(-{2})$'
beginCaptures:
1: name: 'constant.other.symbol.asciidoc'
patterns: [
include: '$self'
]
end: '^(\\1)$'
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches open block.
#
# Examples
#
# --
# An open block can be an anonymous container
# --
#
name: 'markup.block.open.asciidoc'
begin: '^(-{2})$'
beginCaptures:
1: name: 'constant.other.symbol.asciidoc'
patterns: [
include: '$self'
]
en... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.8476415872573853,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecHandleLayer.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
createView = (attributes) ->
view = ne... | 132819 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
createView = (attributes) ->
view = n... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
createView = (attributes) ->
... |
[
{
"context": ", ($provide) ->\n products = [{ id: 123, name: \"foo\" }, { id: 234, name: \"bar\" }]\n\n class Products",
"end": 153,
"score": 0.7543646693229675,
"start": 150,
"tag": "NAME",
"value": "foo"
}
] | client/test/unit/routes_spec.coffee | lucassus/angular-coffee-seed | 2 | describe "Application routes", ->
# stub `Products` service
beforeEach module "myApp.resources", ($provide) ->
products = [{ id: 123, name: "foo" }, { id: 234, name: "bar" }]
class Products
@query: sinon.stub().returns $promise: then: (callback) -> callback(products)
@get: sinon.stub().returns... | 38590 | describe "Application routes", ->
# stub `Products` service
beforeEach module "myApp.resources", ($provide) ->
products = [{ id: 123, name: "<NAME>" }, { id: 234, name: "bar" }]
class Products
@query: sinon.stub().returns $promise: then: (callback) -> callback(products)
@get: sinon.stub().retu... | true | describe "Application routes", ->
# stub `Products` service
beforeEach module "myApp.resources", ($provide) ->
products = [{ id: 123, name: "PI:NAME:<NAME>END_PI" }, { id: 234, name: "bar" }]
class Products
@query: sinon.stub().returns $promise: then: (callback) -> callback(products)
@get: sin... |
[
{
"context": "# @fileoverview Tests for no-empty rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 73,
"score": 0.999796450138092,
"start": 56,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-empty.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-empty rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty'
{RuleTes... | 19899 | ###*
# @fileoverview Tests for no-empty rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty'
{RuleTester} = requ... | true | ###*
# @fileoverview Tests for no-empty rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty'
{Rule... |
[
{
"context": "\n done(e)\n\n metadata = {title: 'hi', link: [{href: window.location.href}]}\n p",
"end": 9418,
"score": 0.7834463119506836,
"start": 9416,
"tag": "NAME",
"value": "hi"
},
{
"context": "urns(Promise.resolve({\n metadata: {title: 'hello'}... | src/annotator/test/guest-test.coffee | jccr/client | 1 | adder = require('../adder')
Observable = require('../util/observable').Observable
Plugin = require('../plugin')
Delegator = require('../delegator')
$ = require('jquery')
Delegator['@noCallThru'] = true
Guest = require('../guest')
rangeUtil = null
selections = null
raf = sinon.stub().yields()
raf['@noCallThru'] = tru... | 25240 | adder = require('../adder')
Observable = require('../util/observable').Observable
Plugin = require('../plugin')
Delegator = require('../delegator')
$ = require('jquery')
Delegator['@noCallThru'] = true
Guest = require('../guest')
rangeUtil = null
selections = null
raf = sinon.stub().yields()
raf['@noCallThru'] = tru... | true | adder = require('../adder')
Observable = require('../util/observable').Observable
Plugin = require('../plugin')
Delegator = require('../delegator')
$ = require('jquery')
Delegator['@noCallThru'] = true
Guest = require('../guest')
rangeUtil = null
selections = null
raf = sinon.stub().yields()
raf['@noCallThru'] = tru... |
[
{
"context": "16) ->\n\t[num, alpb, alps] = [\"0123456789\", \"ABCDEFGHIJKLMNOPQRSTUVWXTZ\", \"abcdefghiklmnopqrstuvwxyz\"]\n",
"end": 137,
"score": 0.5614303946495056,
"start": 135,
"tag": "KEY",
"value": "GH"
},
{
"context": "um, alpb, alps] = [\"0123456789\", \"ABCDEFGHIJKLMNOPQRS... | 02convert/node_modules/generate-key/lib/generate.coffee | seiche/Autoh264 | 4 | rn = (max) ->
return Math.floor (Math.random() * max)
exports.generateKey = (len = 16) ->
[num, alpb, alps] = ["0123456789", "ABCDEFGHIJKLMNOPQRSTUVWXTZ", "abcdefghiklmnopqrstuvwxyz"]
[chars, key] = [(alpb + num + alps).split(''),""]
key += chars[rn(chars.length)] for i in [1..len]
return key | 178070 | rn = (max) ->
return Math.floor (Math.random() * max)
exports.generateKey = (len = 16) ->
[num, alpb, alps] = ["0123456789", "ABCDEF<KEY>IJKLMNOP<KEY>RST<KEY>", "abcdefgh<KEY>"]
[chars, key] = [(alpb + num + alps).split(''),""]
key += chars[rn(chars.length)] for i in [1..len]
return key | true | rn = (max) ->
return Math.floor (Math.random() * max)
exports.generateKey = (len = 16) ->
[num, alpb, alps] = ["0123456789", "ABCDEFPI:KEY:<KEY>END_PIIJKLMNOPPI:KEY:<KEY>END_PIRSTPI:KEY:<KEY>END_PI", "abcdefghPI:KEY:<KEY>END_PI"]
[chars, key] = [(alpb + num + alps).split(''),""]
key += chars[rn(chars.length)]... |
[
{
"context": "de: 'usrdel'\n onlyimgdel: fileOnly\n pwd: QR.persona.getPassword()\n form[post.ID] = 'delete'\n\n link = @\n ",
"end": 1311,
"score": 0.9988619089126587,
"start": 1289,
"tag": "PASSWORD",
"value": "QR.persona.getPassword"
}
] | src/Menu/DeleteLink.coffee | ihavenoface/4chan-x | 4 | DeleteLink =
init: ->
return if !Conf['Menu'] or !Conf['Delete Link']
div = $.el 'div',
className: 'delete-link'
textContent: 'Delete'
postEl = $.el 'a',
className: 'delete-post'
href: 'javascript:;'
fileEl = $.el 'a',
className: 'delete-file'
href: 'javascript:;'
... | 127962 | DeleteLink =
init: ->
return if !Conf['Menu'] or !Conf['Delete Link']
div = $.el 'div',
className: 'delete-link'
textContent: 'Delete'
postEl = $.el 'a',
className: 'delete-post'
href: 'javascript:;'
fileEl = $.el 'a',
className: 'delete-file'
href: 'javascript:;'
... | true | DeleteLink =
init: ->
return if !Conf['Menu'] or !Conf['Delete Link']
div = $.el 'div',
className: 'delete-link'
textContent: 'Delete'
postEl = $.el 'a',
className: 'delete-post'
href: 'javascript:;'
fileEl = $.el 'a',
className: 'delete-file'
href: 'javascript:;'
... |
[
{
"context": "ceiswithyou.com\"\n EventCollectorToken : \"DarthVaderRules\"\n @message =\n somekey : \"has a va",
"end": 1733,
"score": 0.9943345785140991,
"start": 1718,
"tag": "PASSWORD",
"value": "DarthVaderRules"
}
] | test/index-spec.coffee | octoblu/meshblu-splunk-event-collector | 0 | {Plugin} = require '../index'
{EventEmitter} = require 'events'
nock = require 'nock'
request = require 'request'
describe 'EventCollectorPlugin', ->
it 'should exist', ->
expect(Plugin).to.exist
describe '->onMessage', ->
describe 'when given an invalid SplunkEventUrl in the options', ->
beforeE... | 118878 | {Plugin} = require '../index'
{EventEmitter} = require 'events'
nock = require 'nock'
request = require 'request'
describe 'EventCollectorPlugin', ->
it 'should exist', ->
expect(Plugin).to.exist
describe '->onMessage', ->
describe 'when given an invalid SplunkEventUrl in the options', ->
beforeE... | true | {Plugin} = require '../index'
{EventEmitter} = require 'events'
nock = require 'nock'
request = require 'request'
describe 'EventCollectorPlugin', ->
it 'should exist', ->
expect(Plugin).to.exist
describe '->onMessage', ->
describe 'when given an invalid SplunkEventUrl in the options', ->
beforeE... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991704821586609,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-append-file-sync.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... | 41072 | # 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": "@binaryStar = \"\"\"\n ",
"end": 11,
"score": 0.9157455563545227,
"start": 0,
"tag": "USERNAME",
"value": "@binaryStar"
},
{
"context": "ll 2013 as of Feb-27-2013 at 08:00 AM\n \nADVISOR: Naps,Thomas L UGLS J34006... | binarystar.coffee | seiyria/star-report-reader | 0 | @binaryStar = """
New Window | Help | Customize Page
S... | 122860 | @binaryStar = """
New Window | Help | Customize Page
S... | true | @binaryStar = """
New Window | Help | Customize Page
S... |
[
{
"context": "lue of exchange.responseHeaders\n if key in ['Content-Type', 'Connection', 'Date', 'Via', 'Server', 'Content",
"end": 639,
"score": 0.704582691192627,
"start": 627,
"tag": "KEY",
"value": "Content-Type"
},
{
"context": "', 'Server', 'Content-Length']\n if ke... | APIBlueprintGenerator.coffee | jdve/Paw-APIBlueprintGenerator | 0 | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
# Generate a response dictionary for the mustache context from a paw HTTPExc... | 52505 | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
# Generate a response dictionary for the mustache context from a paw HTTPExc... | true | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
# Generate a response dictionary for the mustache context from a paw HTTPExc... |
[
{
"context": "roxy'\nutils = require '../lib/utils'\n\nusername = 'mikerobe@me.com'\npassword = 'test'\ncookiesPath = path.join(__file",
"end": 249,
"score": 0.9999130964279175,
"start": 234,
"tag": "EMAIL",
"value": "mikerobe@me.com"
},
{
"context": "/utils'\n\nusername = 'mikerobe@... | test/index.coffee | mvgrimes/workflowy | 1 | assert = require 'assert'
fs = require 'fs'
Q = require 'q'
path = require 'path'
Workflowy = require '../'
FileCookieStore = require 'tough-cookie-filestore'
proxy = require '../lib/proxy'
utils = require '../lib/utils'
username = 'mikerobe@me.com'
password = 'test'
cookiesPath = path.join(__filename, '../cookies.jso... | 41268 | assert = require 'assert'
fs = require 'fs'
Q = require 'q'
path = require 'path'
Workflowy = require '../'
FileCookieStore = require 'tough-cookie-filestore'
proxy = require '../lib/proxy'
utils = require '../lib/utils'
username = '<EMAIL>'
password = '<PASSWORD>'
cookiesPath = path.join(__filename, '../cookies.json'... | true | assert = require 'assert'
fs = require 'fs'
Q = require 'q'
path = require 'path'
Workflowy = require '../'
FileCookieStore = require 'tough-cookie-filestore'
proxy = require '../lib/proxy'
utils = require '../lib/utils'
username = 'PI:EMAIL:<EMAIL>END_PI'
password = 'PI:PASSWORD:<PASSWORD>END_PI'
cookiesPath = path.j... |
[
{
"context": "\\___\\___|\n#\n\n# A hand-re-written implementation of Ben Weaver's ReParse, a parser\n# combinator, which in turn w",
"end": 322,
"score": 0.9981521964073181,
"start": 312,
"tag": "NAME",
"value": "Ben Weaver"
},
{
"context": "ARSEC. In many cases, this code is almos... | src/reparse.coffee | elfsternberg/reparse-coffeescript | 1 | #; -*- mode: coffee -*-
# ___ ___ ___ __ __
# | _ \___| _ \__ _ _ _ ___ ___ / __|___ / _|/ _|___ ___
# | / -_) _/ _` | '_(_-</ -_) | (__/ _ \ _| _/ -_) -_)
# |_|_\___|_| \__,_|_| /__/\___| \___\___/_| |_| \___\___|
#
# A hand-re-written implementation of Ben Weav... | 28723 | #; -*- mode: coffee -*-
# ___ ___ ___ __ __
# | _ \___| _ \__ _ _ _ ___ ___ / __|___ / _|/ _|___ ___
# | / -_) _/ _` | '_(_-</ -_) | (__/ _ \ _| _/ -_) -_)
# |_|_\___|_| \__,_|_| /__/\___| \___\___/_| |_| \___\___|
#
# A hand-re-written implementation of <NAME>'s... | true | #; -*- mode: coffee -*-
# ___ ___ ___ __ __
# | _ \___| _ \__ _ _ _ ___ ___ / __|___ / _|/ _|___ ___
# | / -_) _/ _` | '_(_-</ -_) | (__/ _ \ _| _/ -_) -_)
# |_|_\___|_| \__,_|_| /__/\___| \___\___/_| |_| \___\___|
#
# A hand-re-written implementation of PI:NAME:... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.6547344923019409,
"start": 29,
"tag": "NAME",
"value": "Neo Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/utils/ItemUrlResolver.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 20791 | ###
Copyright (c) 2002-2013 "<NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the Li... | true | ###
Copyright (c) 2002-2013 "PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either versi... |
[
{
"context": "###\n * Based on github.com/visionmedia/page.js\n * Licensed under the MIT license\n * Copy",
"end": 38,
"score": 0.9992603063583374,
"start": 27,
"tag": "USERNAME",
"value": "visionmedia"
},
{
"context": "* Licensed under the MIT license\n * Copyright 2012 TJ Holowaych... | public/javascripts/lib/page.coffee | w3cub/docshub-node | 3 | ###
* Based on github.com/visionmedia/page.js
* Licensed under the MIT license
* Copyright 2012 TJ Holowaychuk <tj@vision-media.ca>
###
running = false
currentState = null
callbacks = []
@page = (value, fn) ->
if typeof value is 'function'
page '*', value
else if typeof fn is 'function'
route = new Rou... | 126429 | ###
* Based on github.com/visionmedia/page.js
* Licensed under the MIT license
* Copyright 2012 <NAME> <<EMAIL>>
###
running = false
currentState = null
callbacks = []
@page = (value, fn) ->
if typeof value is 'function'
page '*', value
else if typeof fn is 'function'
route = new Route(value)
callb... | true | ###
* Based on github.com/visionmedia/page.js
* Licensed under the MIT license
* Copyright 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
running = false
currentState = null
callbacks = []
@page = (value, fn) ->
if typeof value is 'function'
page '*', value
else if typeof fn is 'function'
route... |
[
{
"context": " email = null\n# id\n login = null\n# password\n# rep\n# salt\n# updated_at\n# verified\n\n constructor:",
"end": 93,
"score": 0.8455392122268677,
"start": 90,
"tag": "PASSWORD",
"value": "rep"
},
{
"context": " = null\n# id\n login = null\n# password\n# re... | app/assets/javascripts/model/user.coffee | migueldiab/llevame | 0 | class @User
# created_at
dob = null
email = null
# id
login = null
# password
# rep
# salt
# updated_at
# verified
constructor: (_login) ->
console.log "Creating user #{_login}"
login = _login
getLogin: ->
login
setLogin: (val) ->
login = val | 23575 | class @User
# created_at
dob = null
email = null
# id
login = null
# password
# <PASSWORD>
# <PASSWORD>
# updated_at
# verified
constructor: (_login) ->
console.log "Creating user #{_login}"
login = _login
getLogin: ->
login
setLogin: (val) ->
login = val | true | class @User
# created_at
dob = null
email = null
# id
login = null
# password
# PI:PASSWORD:<PASSWORD>END_PI
# PI:PASSWORD:<PASSWORD>END_PI
# updated_at
# verified
constructor: (_login) ->
console.log "Creating user #{_login}"
login = _login
getLogin: ->
login
setLogin: (val) ->
lo... |
[
{
"context": "wUlwT6tHrC0PmYda73KzAzQ0eSoFbIi6WV'\n PARSE_KEY: 'slNZDFWnonWXkam1XjTRhSqE0fwdJo111cEjZ2lm'\n PARSE_CLASS: 'WiFi'\n initParse: -> Parse.init",
"end": 1180,
"score": 0.9997774958610535,
"start": 1140,
"tag": "KEY",
"value": "slNZDFWnonWXkam1XjTRhSqE0fwdJo111cEjZ2lm"
}
] | main.coffee | arcestia/net-test-tool | 0 | 'use strict'
spinner = require 'elegant-spinner'
{Parse} = require 'parse/node'
{exec} = require 'child_process'
logger = require 'log-update'
async = require 'async'
chalk = require 'chalk'
meow = require 'meow'
os = require 'os'
Net = require './NetCore'
prefix = switch os.platform()
when 'darw... | 62469 | 'use strict'
spinner = require 'elegant-spinner'
{Parse} = require 'parse/node'
{exec} = require 'child_process'
logger = require 'log-update'
async = require 'async'
chalk = require 'chalk'
meow = require 'meow'
os = require 'os'
Net = require './NetCore'
prefix = switch os.platform()
when 'darw... | true | 'use strict'
spinner = require 'elegant-spinner'
{Parse} = require 'parse/node'
{exec} = require 'child_process'
logger = require 'log-update'
async = require 'async'
chalk = require 'chalk'
meow = require 'meow'
os = require 'os'
Net = require './NetCore'
prefix = switch os.platform()
when 'darw... |
[
{
"context": "enMatches [\n# \tcommand: 'foo'\n# \twhen:\n# \t\tname: 'john'\n# ,\n# \tcommand: 'bar'\n# \twhen:\n# \t\tname: 'jane'\n",
"end": 1025,
"score": 0.9998459815979004,
"start": 1021,
"tag": "NAME",
"value": "john"
},
{
"context": " 'john'\n# ,\n# \tcommand: 'bar'\n# \twhen... | lib/utils.coffee | resin-io/resin-devices-operations | 2 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 85289 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | true | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... |
[
{
"context": "#version up\n config.setPasswordHash 2,\"md5\"\n user2=config.create \"id2\"\n ",
"end": 982,
"score": 0.9980154633522034,
"start": 979,
"tag": "PASSWORD",
"value": "md5"
},
{
"context": " \"hogehoge\"\n\n user.setData {... | test/user-object.coffee | uhyo/my-user | 0 | assert=require 'assert'
my_user=require '../dist/index'
describe 'User object',->
describe 'authenticate & versioning',->
config=null
beforeEach ->
config=my_user.init()
it 'user id',->
user=config.create "id"
assert.strictEqual user.id,"id"
i... | 40976 | assert=require 'assert'
my_user=require '../dist/index'
describe 'User object',->
describe 'authenticate & versioning',->
config=null
beforeEach ->
config=my_user.init()
it 'user id',->
user=config.create "id"
assert.strictEqual user.id,"id"
i... | true | assert=require 'assert'
my_user=require '../dist/index'
describe 'User object',->
describe 'authenticate & versioning',->
config=null
beforeEach ->
config=my_user.init()
it 'user id',->
user=config.create "id"
assert.strictEqual user.id,"id"
i... |
[
{
"context": "ernates.length > 1\n sayKey = require('./sayCounter').get()\n output.push \"#{indent}switch(pick",
"end": 6278,
"score": 0.5215761661529541,
"start": 6271,
"tag": "KEY",
"value": "Counter"
}
] | packages/litexa/src/parser/say.coffee | cheruvian/litexa | 34 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
lib = module.exports.lib = {}
lib[k]... | 80392 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
lib = module.exports.lib = {}
lib[k]... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
lib = module.exports.lib = {}
lib[k]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.