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": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999116659164429,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/contest-voting/voter.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div,a,i } from 'react-dom-factories'
el = React.createElement
export class Voter extends React.Component... | 42215 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div,a,i } from 'react-dom-factories'
el = React.createElement
export class Voter extends React.Component
cons... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div,a,i } from 'react-dom-factories'
el = React.createElement
export class Voter extends React.C... |
[
{
"context": "tp')\n\nSERVER_CONFIG =\n ssl: false\n privateKey: 'cert.key'\n certificate: 'cert.crt'\n port:3000\n\n\napp ",
"end": 227,
"score": 0.8920875787734985,
"start": 223,
"tag": "KEY",
"value": "cert"
},
{
"context": "\nSERVER_CONFIG =\n ssl: false\n privateKey: 'cert... | coffee/sap_bo/proxy_server.coffee | enterstudio/tableau-web-table-connector | 59 | express = require 'express'
cors = require 'cors'
http_request = require 'request'
sap = require 'bobj-access'
fs = require('fs')
https = require('https')
http = require('http')
SERVER_CONFIG =
ssl: false
privateKey: 'cert.key'
certificate: 'cert.crt'
port:3000
app = express()
app.use(cors())
app.get '/... | 70096 | express = require 'express'
cors = require 'cors'
http_request = require 'request'
sap = require 'bobj-access'
fs = require('fs')
https = require('https')
http = require('http')
SERVER_CONFIG =
ssl: false
privateKey: '<KEY>.<KEY>'
certificate: 'cert.crt'
port:3000
app = express()
app.use(cors())
app.get... | true | express = require 'express'
cors = require 'cors'
http_request = require 'request'
sap = require 'bobj-access'
fs = require('fs')
https = require('https')
http = require('http')
SERVER_CONFIG =
ssl: false
privateKey: 'PI:KEY:<KEY>END_PI.PI:KEY:<KEY>END_PI'
certificate: 'cert.crt'
port:3000
app = express()
ap... |
[
{
"context": "parseInt(frame.line) else undefined\n\t\t\t\t\t\t\t\t\tname: name\n\t\t\t\t\t\t\t\t\tpath: framePath\n\t\t\t\t\t\t\t\t\terror: if i==0 ",
"end": 3889,
"score": 0.844584047794342,
"start": 3885,
"tag": "NAME",
"value": "name"
}
] | packages/dbg-gdb/lib/main.coffee | EduProgramer/.atom | 0 | parseMi2 = require './parseMi2'
fs = require 'fs'
path = require 'path'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
escapePath = (path) ->
return (path.replace /\\/g, '/').replace /[\s\t\n]/g, '\\ '
prettyValue = (value) ->
return (value.replace /({|,)/g, '$1\n').replace /(})/g, '\n$1' # split ... | 20285 | parseMi2 = require './parseMi2'
fs = require 'fs'
path = require 'path'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
escapePath = (path) ->
return (path.replace /\\/g, '/').replace /[\s\t\n]/g, '\\ '
prettyValue = (value) ->
return (value.replace /({|,)/g, '$1\n').replace /(})/g, '\n$1' # split ... | true | parseMi2 = require './parseMi2'
fs = require 'fs'
path = require 'path'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
escapePath = (path) ->
return (path.replace /\\/g, '/').replace /[\s\t\n]/g, '\\ '
prettyValue = (value) ->
return (value.replace /({|,)/g, '$1\n').replace /(})/g, '\n$1' # split ... |
[
{
"context": "ection', ->\n conn = await connect\n host: '127.0.0.1'\n privateKeyPath: '~/.ssh/id_ed25519'\n co",
"end": 143,
"score": 0.9996649622917175,
"start": 134,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "nect\n host: '127.0.0.1'\n pri... | test/opened.coffee | adaltas/node-ssh2-connect | 2 |
connect = require '../src'
describe 'connect.opened', ->
it 'with opened connection', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: '~/.ssh/id_ed25519'
connect.opened(conn).should.be.true()
conn.end()
it 'with closed connection', ->
conn = await connect
host... | 216659 |
connect = require '../src'
describe 'connect.opened', ->
it 'with opened connection', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: <KEY>'
connect.opened(conn).should.be.true()
conn.end()
it 'with closed connection', ->
conn = await connect
host: '127.0.0.1'... | true |
connect = require '../src'
describe 'connect.opened', ->
it 'with opened connection', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: PI:KEY:<KEY>END_PI'
connect.opened(conn).should.be.true()
conn.end()
it 'with closed connection', ->
conn = await connect
host... |
[
{
"context": "3)\n new_key = config.key = config.key + \"_new\"\n\n master_info.master.master.createStr",
"end": 1918,
"score": 0.9620286226272583,
"start": 1913,
"tag": "KEY",
"value": "\"_new"
}
] | test/slave/config_updates.coffee | firebrandv2/FirebrandNetwork.ga | 342 | _ = require "underscore"
Slave = $src "slave"
Logger = $src "logger"
MasterHelper = require "../helpers/master"
# Test that stream config changes on master propagate correctly to a slave
describe "Slave Config Updates", ->
master_info = null
slave = null
before (done) ->
# u... | 194717 | _ = require "underscore"
Slave = $src "slave"
Logger = $src "logger"
MasterHelper = require "../helpers/master"
# Test that stream config changes on master propagate correctly to a slave
describe "Slave Config Updates", ->
master_info = null
slave = null
before (done) ->
# u... | true | _ = require "underscore"
Slave = $src "slave"
Logger = $src "logger"
MasterHelper = require "../helpers/master"
# Test that stream config changes on master propagate correctly to a slave
describe "Slave Config Updates", ->
master_info = null
slave = null
before (done) ->
# u... |
[
{
"context": "-u, --username <string>', 'Pingdom Username. (env: PINGDOM_USERNAME)'\n .option '-p, --password <string>', '",
"end": 725,
"score": 0.6437551379203796,
"start": 718,
"tag": "USERNAME",
"value": "PINGDOM"
},
{
"context": "rname <string>', 'Pingdom Username. (env: PINGDO... | command-results-by-tag.coffee | octoblu/pingdom-util | 0 | _ = require 'lodash'
colors = require 'colors'
program = require 'commander'
moment = require 'moment'
debug = require('debug')('pingdom-util:command-results-by-tag')
PingdomService = require './src/pingdom-service'
packageJSON = require './package.json'
program
.version p... | 123761 | _ = require 'lodash'
colors = require 'colors'
program = require 'commander'
moment = require 'moment'
debug = require('debug')('pingdom-util:command-results-by-tag')
PingdomService = require './src/pingdom-service'
packageJSON = require './package.json'
program
.version p... | true | _ = require 'lodash'
colors = require 'colors'
program = require 'commander'
moment = require 'moment'
debug = require('debug')('pingdom-util:command-results-by-tag')
PingdomService = require './src/pingdom-service'
packageJSON = require './package.json'
program
.version p... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n templateData:\n\n # Specify s",
"end": 854,
"score": 0.9725393652915955,
"start": 849,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "applicationId: '72679093514'\n username: ... | docpad.coffee | Zenithar/blog.zenithar.org | 0 | marked = require('marked');
# The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
environments:
w:
ignoreCustomPatterns: /2005|2006|2007|2008|2009|2010|2011|2012|2013/
# Plugins configurations
plugins:
ghpages:
deployRemote: 'origin'
... | 97499 | marked = require('marked');
# The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
environments:
w:
ignoreCustomPatterns: /2005|2006|2007|2008|2009|2010|2011|2012|2013/
# Plugins configurations
plugins:
ghpages:
deployRemote: 'origin'
... | true | marked = require('marked');
# The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
environments:
w:
ignoreCustomPatterns: /2005|2006|2007|2008|2009|2010|2011|2012|2013/
# Plugins configurations
plugins:
ghpages:
deployRemote: 'origin'
... |
[
{
"context": " <label class='control-label col-sm-3' for='admin_name'>Admin Name</label>\n <div class='col-sm-9'",
"end": 1140,
"score": 0.7130769491195679,
"start": 1136,
"tag": "USERNAME",
"value": "name"
},
{
"context": "name: 'My Library'\n user:\n name: '... | app/assets/javascripts/components/admin_libraries.coffee | mthorn/photo-store | 0 | @app.component 'psAdminLibraries',
template: """
<h2>Libraries</h2>
<table class='table'>
<thead>
<th>ID</th>
<th>Name</th>
</thead>
<tbody>
<tr ng-repeat='library in $ctrl.libraries track by library.id'>
<td>{{library.id}}</td>
<td>{{library.name... | 39326 | @app.component 'psAdminLibraries',
template: """
<h2>Libraries</h2>
<table class='table'>
<thead>
<th>ID</th>
<th>Name</th>
</thead>
<tbody>
<tr ng-repeat='library in $ctrl.libraries track by library.id'>
<td>{{library.id}}</td>
<td>{{library.name... | true | @app.component 'psAdminLibraries',
template: """
<h2>Libraries</h2>
<table class='table'>
<thead>
<th>ID</th>
<th>Name</th>
</thead>
<tbody>
<tr ng-repeat='library in $ctrl.libraries track by library.id'>
<td>{{library.id}}</td>
<td>{{library.name... |
[
{
"context": "ystem http://glawn.org\n#\n# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights\n# reserved. This program and the accom",
"end": 109,
"score": 0.9998950958251953,
"start": 88,
"tag": "NAME",
"value": "Eamonn O'Brien-Strain"
},
{
"context": "ipse.org/legal/epl-v10.... | coffee/main.coffee | eobrain/glan | 0 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www... | 1130 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 <NAME> All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/le... | true | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 PI:NAME:<NAME>END_PI All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.... |
[
{
"context": "fullName = user.name\n user.nickName = user.screen_name\n user.profileUrl = \"https://twitter.com/#{",
"end": 3846,
"score": 0.722100555896759,
"start": 3835,
"tag": "USERNAME",
"value": "screen_name"
},
{
"context": " firstName: user.firstName\n ... | src/twitter/api.coffee | brianshaler/kerplunk-twitter | 0 | async = require "async"
twitterApi = require "ntwitter"
PLATFORM = "twitter"
module.exports = (System) ->
Identity = System.getModel 'Identity'
ActivityItem = System.getModel 'ActivityItem'
API =
prep: (next) ->
System.getSettings (err, settings) ->
return next err if err
twitter = AP... | 191009 | async = require "async"
twitterApi = require "ntwitter"
PLATFORM = "twitter"
module.exports = (System) ->
Identity = System.getModel 'Identity'
ActivityItem = System.getModel 'ActivityItem'
API =
prep: (next) ->
System.getSettings (err, settings) ->
return next err if err
twitter = AP... | true | async = require "async"
twitterApi = require "ntwitter"
PLATFORM = "twitter"
module.exports = (System) ->
Identity = System.getModel 'Identity'
ActivityItem = System.getModel 'ActivityItem'
API =
prep: (next) ->
System.getSettings (err, settings) ->
return next err if err
twitter = AP... |
[
{
"context": "= \"-\" then \"DESC\" else \"ASC\"\n token = @_clean(token)\n controller = @controller\n\n ",
"end": 525,
"score": 0.7722862958908081,
"start": 518,
"tag": "KEY",
"value": "@_clean"
}
] | node_modules/tower/packages/tower-net/shared/param/order.coffee | MagicPower2/Power | 1 | # Specifies what properties are sortable
#
# @todo create ability limit sortable properties, in case
# you don't want to allow the user to sort specific properties
class Tower.NetParamOrder extends Tower.NetParam
parse: (value) ->
return value if _.isArray(value)
values = []
array = value.toString().... | 53957 | # Specifies what properties are sortable
#
# @todo create ability limit sortable properties, in case
# you don't want to allow the user to sort specific properties
class Tower.NetParamOrder extends Tower.NetParam
parse: (value) ->
return value if _.isArray(value)
values = []
array = value.toString().... | true | # Specifies what properties are sortable
#
# @todo create ability limit sortable properties, in case
# you don't want to allow the user to sort specific properties
class Tower.NetParamOrder extends Tower.NetParam
parse: (value) ->
return value if _.isArray(value)
values = []
array = value.toString().... |
[
{
"context": ")->\n item.set('contexts', [\n { name: 'first', _type: 'Context' },\n { name: 'second', ",
"end": 723,
"score": 0.993955671787262,
"start": 718,
"tag": "NAME",
"value": "first"
},
{
"context": "e: 'first', _type: 'Context' },\n { name: 'secon... | spec/model/deliverable_spec.coffee | transitcms/transit | 0 | describe 'Deliverable', ()->
item = null
beforeEach ()->
item = new Transit.Deliverable()
item.type = 'Page'
describe 'any instance', ()->
it 'creates a contexts object', ()->
expect(item.contexts)
.to.exist
it '.contexts is a Contexts collection', ()->
expect(... | 153160 | describe 'Deliverable', ()->
item = null
beforeEach ()->
item = new Transit.Deliverable()
item.type = 'Page'
describe 'any instance', ()->
it 'creates a contexts object', ()->
expect(item.contexts)
.to.exist
it '.contexts is a Contexts collection', ()->
expect(... | true | describe 'Deliverable', ()->
item = null
beforeEach ()->
item = new Transit.Deliverable()
item.type = 'Page'
describe 'any instance', ()->
it 'creates a contexts object', ()->
expect(item.contexts)
.to.exist
it '.contexts is a Contexts collection', ()->
expect(... |
[
{
"context": " app.robot1 = robot\n robot.name.should.eql '滴滴'\n robot.description.should.eql '睡觉啦'\n r",
"end": 2164,
"score": 0.9760259985923767,
"start": 2162,
"tag": "NAME",
"value": "滴滴"
},
{
"context": ".eql 'ok'\n data.authorName.should.eql '小艾'\n ... | talk-api2x/test/services/robot.coffee | ikingye/talk-os | 3,084 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
$service = serviceLoader.load 'robot'
app = require '../app'
{prepare, cleanup, request, requestAsync} = app
{
UserModel
RoomModel
} = limbo.use 'talk'
describe 'Service#Robot', ->
before pr... | 191086 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
$service = serviceLoader.load 'robot'
app = require '../app'
{prepare, cleanup, request, requestAsync} = app
{
UserModel
RoomModel
} = limbo.use 'talk'
describe 'Service#Robot', ->
before pr... | true | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
$service = serviceLoader.load 'robot'
app = require '../app'
{prepare, cleanup, request, requestAsync} = app
{
UserModel
RoomModel
} = limbo.use 'talk'
describe 'Service#Robot', ->
before pr... |
[
{
"context": "can read more about it here:\n# https://github.com/bevry/cson#what-is-cson\n\n'atom-workspace:not([mini])':\n",
"end": 868,
"score": 0.9992669224739075,
"start": 863,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": " ### Init Script ###\n\n # See: https://github.co... | atom/keymap.cson | shoichiaizawa/dotfiles | 1 | # Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an e... | 202803 | # Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an e... | true | # Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an e... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992146492004395,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-event-emitter-add-listeners.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... | 128686 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998830556869507,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "d under the MIT license.\n * https:... | node_modules/wiki-server/lib/random_id.coffee | jpietrok-pnnl/wiki | 0 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **random_id.coffee**
# Simple random hex generator, takes an optional number of
# chars that defaults to 16 and returns a... | 169552 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **random_id.coffee**
# Simple random hex generator, takes an optional number of
# chars that defaults to 16 and returns a random i... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **random_id.coffee**
# Simple random hex generator, takes an optional number of
# chars that defaults to 16 and retu... |
[
{
"context": "# @Author: Layne Faler <laynefaler>\n# @Date: 10-20-2016\n# @Email: lay",
"end": 22,
"score": 0.9999001622200012,
"start": 11,
"tag": "NAME",
"value": "Layne Faler"
},
{
"context": "# @Author: Layne Faler <laynefaler>\n# @Date: 10-20-2016\n# @Email: laynefaler@gma... | keymaps/misc.cson | laynefaler/atom.io-snippets | 0 | # @Author: Layne Faler <laynefaler>
# @Date: 10-20-2016
# @Email: laynefaler@gmail.com
# @Last modified by: laynefaler
# @Last modified time: 11-05-2016
# '.source.json':
# 'Single String':
# 'prefix': '_ss'
# 'body': '"${1}": "${2}",\n'
# 'Single Array':
# 'prefix': '_sa'
# 'body': '"${1}": [... | 43719 | # @Author: <NAME> <laynefaler>
# @Date: 10-20-2016
# @Email: <EMAIL>
# @Last modified by: laynefaler
# @Last modified time: 11-05-2016
# '.source.json':
# 'Single String':
# 'prefix': '_ss'
# 'body': '"${1}": "${2}",\n'
# 'Single Array':
# 'prefix': '_sa'
# 'body': '"${1}": [${2}],\n'
# 'Sin... | true | # @Author: PI:NAME:<NAME>END_PI <laynefaler>
# @Date: 10-20-2016
# @Email: PI:EMAIL:<EMAIL>END_PI
# @Last modified by: laynefaler
# @Last modified time: 11-05-2016
# '.source.json':
# 'Single String':
# 'prefix': '_ss'
# 'body': '"${1}": "${2}",\n'
# 'Single Array':
# 'prefix': '_sa'
# 'body':... |
[
{
"context": "uce module for presentation Theme\n- White\n\n@auther threeword (dev@threeword.com)\n@since 2016.07.07\n@version 0.",
"end": 81,
"score": 0.9995937943458557,
"start": 72,
"tag": "USERNAME",
"value": "threeword"
},
{
"context": "or presentation Theme\n- White\n\n@auther ... | modules/IntroThemeWhite.coffee | framer-modules/intro | 4 | ###
Prototype introduce module for presentation Theme
- White
@auther threeword (dev@threeword.com)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeWhite extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family: 'No... | 13562 | ###
Prototype introduce module for presentation Theme
- White
@auther threeword (<EMAIL>)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeWhite extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family: 'Noto Sans KR... | true | ###
Prototype introduce module for presentation Theme
- White
@auther threeword (PI:EMAIL:<EMAIL>END_PI)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeWhite extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family... |
[
{
"context": "verview Disallow use of multiple spaces.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\nastUtils = require '../eslint-",
"end": 81,
"score": 0.9998154044151306,
"start": 64,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/rules/no-multi-spaces.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow use of multiple spaces.
# @author Nicholas C. Zakas
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------... | 179743 | ###*
# @fileoverview Disallow use of multiple spaces.
# @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.ex... | true | ###*
# @fileoverview Disallow use of multiple spaces.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#---------------------------------------------------------------------------... |
[
{
"context": "s\\$/).each (apps_key) ->\n key = apps_key.match(/^apps\\$(.*)$/)[1]\n if key is 'property'\n obj[pr",
"end": 2281,
"score": 0.8537238836288452,
"start": 2257,
"tag": "KEY",
"value": "match(/^apps\\$(.*)$/)[1]"
},
{
"context": "key.match(/^a... | lib/google_api_admin_sdk.coffee | Clever/node-google-admin-sdk | 11 | quest = require 'quest'
dotty = require 'dotty'
_ = require 'underscore'
_.str = require 'underscore.string'
retry = require 'retry'
# base google api class. provides functions for:
# static methods for:
# 1. Generating an initial oauth redirect with scopes you want
# 2. Trading in authorization co... | 151587 | quest = require 'quest'
dotty = require 'dotty'
_ = require 'underscore'
_.str = require 'underscore.string'
retry = require 'retry'
# base google api class. provides functions for:
# static methods for:
# 1. Generating an initial oauth redirect with scopes you want
# 2. Trading in authorization co... | true | quest = require 'quest'
dotty = require 'dotty'
_ = require 'underscore'
_.str = require 'underscore.string'
retry = require 'retry'
# base google api class. provides functions for:
# static methods for:
# 1. Generating an initial oauth redirect with scopes you want
# 2. Trading in authorization co... |
[
{
"context": "urn _.values(snapshot.val())\n\n\tsuspectedDupes = [\"-JrsVU-Zmevn0Dkp0xE6\",\"-Juy0FMHW-RXj_98Xdj6\",\"-JqzzOlrKuk16Is64Hks\",\"-",
"end": 1113,
"score": 0.9167230725288391,
"start": 1094,
"tag": "KEY",
"value": "JrsVU-Zmevn0Dkp0xE6"
},
{
"context": "al())\n\n\tsuspect... | scripts/temp/tmp_find_duplicate_users.coffee | willroberts/duelyst | 5 | # env $(cat .env_for_alpha | xargs) coffee ./scripts/temp/tmp_sync_user_firebase_to_sql.coffee
require('coffee-script/register')
knex = require("../../server/lib/data_access/knex")
SyncModule = require("../../server/lib/data_access/sync")
DuelystFirebase= require("../../server/lib/duelyst_firebase_module")
FirebasePr... | 109050 | # env $(cat .env_for_alpha | xargs) coffee ./scripts/temp/tmp_sync_user_firebase_to_sql.coffee
require('coffee-script/register')
knex = require("../../server/lib/data_access/knex")
SyncModule = require("../../server/lib/data_access/sync")
DuelystFirebase= require("../../server/lib/duelyst_firebase_module")
FirebasePr... | true | # env $(cat .env_for_alpha | xargs) coffee ./scripts/temp/tmp_sync_user_firebase_to_sql.coffee
require('coffee-script/register')
knex = require("../../server/lib/data_access/knex")
SyncModule = require("../../server/lib/data_access/sync")
DuelystFirebase= require("../../server/lib/duelyst_firebase_module")
FirebasePr... |
[
{
"context": "ame: @state.email_username\n email_password: @state.email_password\n from_addr: @state.from_addr\n from_",
"end": 4863,
"score": 0.9331953525543213,
"start": 4842,
"tag": "PASSWORD",
"value": "@state.email_password"
},
{
"context": "unning SMTP serv... | picoCTF-web/web/coffee/management-settings.coffee | archituiet/picoCTF | 0 | Well = ReactBootstrap.Well
ButtonGroup = ReactBootstrap.ButtonGroup
Button = ReactBootstrap.Button
Grid = ReactBootstrap.Grid
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
update = React.addons.update
# The settings fields need to use the linked state mixin to avoid a lot of boilerplate.
GeneralTab = React.creat... | 45944 | Well = ReactBootstrap.Well
ButtonGroup = ReactBootstrap.ButtonGroup
Button = ReactBootstrap.Button
Grid = ReactBootstrap.Grid
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
update = React.addons.update
# The settings fields need to use the linked state mixin to avoid a lot of boilerplate.
GeneralTab = React.creat... | true | Well = ReactBootstrap.Well
ButtonGroup = ReactBootstrap.ButtonGroup
Button = ReactBootstrap.Button
Grid = ReactBootstrap.Grid
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
update = React.addons.update
# The settings fields need to use the linked state mixin to avoid a lot of boilerplate.
GeneralTab = React.creat... |
[
{
"context": "\n# \t\t\t}\n# \t\t],\n# \t\tbaseProduct: true\n# \t\tapiKey: \"moUObG8aQLN24KWyxpv0VN3dGvP9G0tyt81_39l9ehX\"\n# \t\tdefault: true\n#\n# \tFinLabs.payment.products.",
"end": 562,
"score": 0.9997693300247192,
"start": 519,
"tag": "KEY",
"value": "moUObG8aQLN24KWyxpv0VN3dGvP9G0ty... | packages/finlabs-payment/server/settings.coffee | mboozell/rocket-chat-example-package | 0 | RocketChat.settings.addGroup 'Payment', ->
@add 'Require_Payment', false, { type: 'boolean', public: true }
@add 'Stripe_Public_Key', '', { type: 'string', public: true}
@add 'Stripe_Secret_Key', '', { type: 'string' }
FinLabs.payment = {}
# Meteor.startup ->
#
# FinLabs.payment.products.add 'wsj-chat',
# ['w... | 25554 | RocketChat.settings.addGroup 'Payment', ->
@add 'Require_Payment', false, { type: 'boolean', public: true }
@add 'Stripe_Public_Key', '', { type: 'string', public: true}
@add 'Stripe_Secret_Key', '', { type: 'string' }
FinLabs.payment = {}
# Meteor.startup ->
#
# FinLabs.payment.products.add 'wsj-chat',
# ['w... | true | RocketChat.settings.addGroup 'Payment', ->
@add 'Require_Payment', false, { type: 'boolean', public: true }
@add 'Stripe_Public_Key', '', { type: 'string', public: true}
@add 'Stripe_Secret_Key', '', { type: 'string' }
FinLabs.payment = {}
# Meteor.startup ->
#
# FinLabs.payment.products.add 'wsj-chat',
# ['w... |
[
{
"context": " 'New Source'\n\n # Try to return a string like \"Chomsky and Halle (1968)\", but just return\n # the title if autho",
"end": 3867,
"score": 0.9724820256233215,
"start": 3850,
"tag": "NAME",
"value": "Chomsky and Halle"
}
] | app/scripts/views/source.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./resource'
'./field-display'
'./value-representation'
'./related-resource-field-display'
'./related-resource-representation'
'./source-add-widget'
'./date-field-display'
'./file-field-display'
'./../models/source'
'./../collections/sources'
], (ResourceView, FieldDisplayView, ValueReprese... | 90855 | define [
'./resource'
'./field-display'
'./value-representation'
'./related-resource-field-display'
'./related-resource-representation'
'./source-add-widget'
'./date-field-display'
'./file-field-display'
'./../models/source'
'./../collections/sources'
], (ResourceView, FieldDisplayView, ValueReprese... | true | define [
'./resource'
'./field-display'
'./value-representation'
'./related-resource-field-display'
'./related-resource-representation'
'./source-add-widget'
'./date-field-display'
'./file-field-display'
'./../models/source'
'./../collections/sources'
], (ResourceView, FieldDisplayView, ValueReprese... |
[
{
"context": "eTimeFormat: \"YYYY-MM-DD HH:mm:ss ZZ\"\n email: \"shoichiaizawa@gmail.com\"\n license: \"MIT\"\n realname: \"Shoichi Aizawa",
"end": 1812,
"score": 0.9999247789382935,
"start": 1789,
"tag": "EMAIL",
"value": "shoichiaizawa@gmail.com"
},
{
"context": "zawa@gmai... | atom/config.cson | shoichiaizawa/dotfiles | 1 | "*":
"activate-power-mode":
autoToggle: false
comboMode:
enabled: false
particles: {}
playAudio: {}
screenShake: {}
aligner:
alignComments: true
"aligner-php": {}
"atom-beautify":
general:
_analyticsUserId: "88f1fbfd-145d-434f-b89f-a2b284139c21"
html:
indent_siz... | 7172 | "*":
"activate-power-mode":
autoToggle: false
comboMode:
enabled: false
particles: {}
playAudio: {}
screenShake: {}
aligner:
alignComments: true
"aligner-php": {}
"atom-beautify":
general:
_analyticsUserId: "88f1fbfd-145d-434f-b89f-a2b284139c21"
html:
indent_siz... | true | "*":
"activate-power-mode":
autoToggle: false
comboMode:
enabled: false
particles: {}
playAudio: {}
screenShake: {}
aligner:
alignComments: true
"aligner-php": {}
"atom-beautify":
general:
_analyticsUserId: "88f1fbfd-145d-434f-b89f-a2b284139c21"
html:
indent_siz... |
[
{
"context": " user = @robot.brain.userForId userId, name: \"Hung Dao\", room: 'Shell'\n\n console.log \"cmd => #{cmd}",
"end": 1455,
"score": 0.9983753561973572,
"start": 1447,
"tag": "NAME",
"value": "Hung Dao"
}
] | src/prompt-http.coffee | zocoi/hubot-prompt-http | 0 | # Description:
# Example scripts for you to examine and try out.
#
# Notes:
# They are commented out by default, because most of them are pretty silly and
# wouldn't be useful and amusing enough for day to day huboting.
# Uncomment the ones you want to try and experiment with.
#
# These are from the scripting... | 72785 | # Description:
# Example scripts for you to examine and try out.
#
# Notes:
# They are commented out by default, because most of them are pretty silly and
# wouldn't be useful and amusing enough for day to day huboting.
# Uncomment the ones you want to try and experiment with.
#
# These are from the scripting... | true | # Description:
# Example scripts for you to examine and try out.
#
# Notes:
# They are commented out by default, because most of them are pretty silly and
# wouldn't be useful and amusing enough for day to day huboting.
# Uncomment the ones you want to try and experiment with.
#
# These are from the scripting... |
[
{
"context": "nused styles defined in javascript files\n# @author Tom Hastjarjanto\n###\n\n'use strict'\n\n# ----------------------------",
"end": 92,
"score": 0.9998932480812073,
"start": 76,
"tag": "NAME",
"value": "Tom Hastjarjanto"
}
] | src/tests/rules/no-unused-styles.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview No unused styles defined in javascript files
# @author Tom Hastjarjanto
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no... | 69693 | ###*
# @fileoverview No unused styles defined in javascript files
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unused-st... | true | ###*
# @fileoverview No unused styles defined in javascript files
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rule... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7829870581626892,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/ro/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/ro_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 183143 | bcv_parser = require("../../js/ro_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/ro_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "ls and Observers\n# Adapted from Reactor written by fynyky (https://github.com/fynyky/reactor.js) \n\n# Signal",
"end": 16561,
"score": 0.9995056986808777,
"start": 16555,
"tag": "USERNAME",
"value": "fynyky"
},
{
"context": "rom Reactor written by fynyky (https://githu... | general/chocodash.coffee | DrJekyllandMrHyde/chocolate | 0 | _module = window ? module
_module[if _module.exports? then "exports" else "Chocodash"] = _ = {}
# `_.type` returns the type of an object
#
# _type({}) === '[object Object]'
_.type = (o) -> Object.prototype.toString.apply o
# `_.Type` provides a Type enumeration
#
# _type({}) === _.Type.Object
_.Type =
O... | 156284 | _module = window ? module
_module[if _module.exports? then "exports" else "Chocodash"] = _ = {}
# `_.type` returns the type of an object
#
# _type({}) === '[object Object]'
_.type = (o) -> Object.prototype.toString.apply o
# `_.Type` provides a Type enumeration
#
# _type({}) === _.Type.Object
_.Type =
O... | true | _module = window ? module
_module[if _module.exports? then "exports" else "Chocodash"] = _ = {}
# `_.type` returns the type of an object
#
# _type({}) === '[object Object]'
_.type = (o) -> Object.prototype.toString.apply o
# `_.Type` provides a Type enumeration
#
# _type({}) === _.Type.Object
_.Type =
O... |
[
{
"context": "ess().port\n uuid: 'brave-user'\n token: 'who-fears-no-breaking-changes'\n\n beforeEach ->\n @registry = shmock()\n en",
"end": 832,
"score": 0.9993227124214172,
"start": 803,
"tag": "PASSWORD",
"value": "who-fears-no-breaking-changes"
},
{
"context": "... | test/configuration-generator-spec.coffee | octoblu/nanocyte-configuration-generator | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
ConfigurationGenerator = require '../src/configuration-generator'
ConfigurationUtilities = require '../src/configuration-uti... | 13759 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
ConfigurationGenerator = require '../src/configuration-generator'
ConfigurationUtilities = require '../src/configuration-uti... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
ConfigurationGenerator = require '../src/configuration-generator'
ConfigurationUtilities = require '../src/configuration-uti... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.78779137134552,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\",\... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/pa/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/pa_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 168426 | bcv_parser = require("../../js/pa_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/pa_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": " alternative syntax', ->\n db.update {name:'doe', firstname:'john'},\n 'result_4': (dat",
"end": 6093,
"score": 0.9994303584098816,
"start": 6090,
"tag": "NAME",
"value": "doe"
},
{
"context": "ax', ->\n db.update {name:'doe', firstname:'john'},... | general/latedb.spec.coffee | jclevy/chocolatejs | 41 | lateDB = require 'chocolate/general/latedb'
describe 'lateDB', ->
db = undefined
times = []
it 'does not already exist ', ->
ready = no
exists = undefined
lateDB.exists (e) -> ready = yes ; exists = e
waitsFor (-> ready), 'LateDB to tell if it already exists', 1000
... | 179225 | lateDB = require 'chocolate/general/latedb'
describe 'lateDB', ->
db = undefined
times = []
it 'does not already exist ', ->
ready = no
exists = undefined
lateDB.exists (e) -> ready = yes ; exists = e
waitsFor (-> ready), 'LateDB to tell if it already exists', 1000
... | true | lateDB = require 'chocolate/general/latedb'
describe 'lateDB', ->
db = undefined
times = []
it 'does not already exist ', ->
ready = no
exists = undefined
lateDB.exists (e) -> ready = yes ; exists = e
waitsFor (-> ready), 'LateDB to tell if it already exists', 1000
... |
[
{
"context": "#\n# Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 71,
"score": 0.9998834133148193,
"start": 50,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright (c)... | example /html/src/zen-ui.coffee | amane312/photon_generator | 0 | #
# Zen Photon Garden.
#
# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without... | 55029 | #
# Zen Photon Garden.
#
# Copyright (c) 2013 <NAME> <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to ... | true | #
# Zen Photon Garden.
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including with... |
[
{
"context": "mplete-plus provider code from https://github.com/benogle/autocomplete-clang\n# Copyright (c) 2015 Ben Ogle ",
"end": 65,
"score": 0.9996612668037415,
"start": 58,
"tag": "USERNAME",
"value": "benogle"
},
{
"context": "om/benogle/autocomplete-clang\n# Copyright (c) 2015... | lib/clang-provider.coffee | darkoverlordofdata/autocomplete-vala | 0 | # autocomplete-plus provider code from https://github.com/benogle/autocomplete-clang
# Copyright (c) 2015 Ben Ogle under MIT license
# Clang related code from https://github.com/yasuyuky/autocomplete-clang
{Point, Range, BufferedProcess, TextEditor, CompositeDisposable} = require 'atom'
path = require 'path'
{existsSy... | 76370 | # autocomplete-plus provider code from https://github.com/benogle/autocomplete-clang
# Copyright (c) 2015 <NAME> under MIT license
# Clang related code from https://github.com/yasuyuky/autocomplete-clang
{Point, Range, BufferedProcess, TextEditor, CompositeDisposable} = require 'atom'
path = require 'path'
{existsSync... | true | # autocomplete-plus provider code from https://github.com/benogle/autocomplete-clang
# Copyright (c) 2015 PI:NAME:<NAME>END_PI under MIT license
# Clang related code from https://github.com/yasuyuky/autocomplete-clang
{Point, Range, BufferedProcess, TextEditor, CompositeDisposable} = require 'atom'
path = require 'pat... |
[
{
"context": "tes the selection\", ->\n b.text().should.eql \"Herld\"\n \n it \"collapses to the cursor\", ->\n ",
"end": 1828,
"score": 0.99880051612854,
"start": 1823,
"tag": "NAME",
"value": "Herld"
}
] | test/cursor.test.coffee | stratuseditor/fractus | 1 | should = require 'should'
{Cursor} = require '../src/cursor'
{Buffer, Point, Region} = require '../src/buffer'
describe "Cursor", ->
describe "new", ->
b = new Buffer "Hello"
c = new Cursor b, 0, 0
for prop in ["buffer", "point"]
it "assigns @#{prop}", ->
c.s... | 147744 | should = require 'should'
{Cursor} = require '../src/cursor'
{Buffer, Point, Region} = require '../src/buffer'
describe "Cursor", ->
describe "new", ->
b = new Buffer "Hello"
c = new Cursor b, 0, 0
for prop in ["buffer", "point"]
it "assigns @#{prop}", ->
c.s... | true | should = require 'should'
{Cursor} = require '../src/cursor'
{Buffer, Point, Region} = require '../src/buffer'
describe "Cursor", ->
describe "new", ->
b = new Buffer "Hello"
c = new Cursor b, 0, 0
for prop in ["buffer", "point"]
it "assigns @#{prop}", ->
c.s... |
[
{
"context": "y')\n\ntestProfile =\n provider: 'test'\n id: '123abc'\n displayName: 'Test User'\n name:\n ",
"end": 96,
"score": 0.4795418977737427,
"start": 94,
"tag": "PASSWORD",
"value": "23"
},
{
"context": "ovider: 'test'\n id: '123abc'\n displayName: 'Tes... | src/server/auth/test_strategy.coffee | RupertJS/rupert-doorman | 0 | AbstractStrategy = require('passport-strategy')
testProfile =
provider: 'test'
id: '123abc'
displayName: 'Test User'
name:
familyName: 'User'
givenName: 'Test'
middleName: ''
emails: [
{
value: 'test.user@example.com'
type: 'personal'
}
... | 15604 | AbstractStrategy = require('passport-strategy')
testProfile =
provider: 'test'
id: '1<PASSWORD>abc'
displayName: '<NAME>'
name:
familyName: '<NAME>'
givenName: '<NAME>'
middleName: ''
emails: [
{
value: '<EMAIL>'
type: 'personal'
}
]
... | true | AbstractStrategy = require('passport-strategy')
testProfile =
provider: 'test'
id: '1PI:PASSWORD:<PASSWORD>END_PIabc'
displayName: 'PI:NAME:<NAME>END_PI'
name:
familyName: 'PI:NAME:<NAME>END_PI'
givenName: 'PI:NAME:<NAME>END_PI'
middleName: ''
emails: [
{
v... |
[
{
"context": "#\n# Table CoffeeScript file.\n#\n# @author Matthew Casey\n#\n# (c) University of Surrey 2019\n#\n\nVMV.Table ||",
"end": 54,
"score": 0.99985671043396,
"start": 41,
"tag": "NAME",
"value": "Matthew Casey"
}
] | app/assets/javascripts/shared/table.coffee | saschneider/VMVLedger | 0 | #
# Table CoffeeScript file.
#
# @author Matthew Casey
#
# (c) University of Surrey 2019
#
VMV.Table ||= {}
# Pre-defined footer height with body margin. Footer height must match stylesheets/shared/page.scss + 2px.
VMV.Table.FOOTER_WITH_MARGIN_HEIGHT = 90
# Pre-defined minimum table height.
VMV.Table.MIN_HEIGHT = '2... | 172302 | #
# Table CoffeeScript file.
#
# @author <NAME>
#
# (c) University of Surrey 2019
#
VMV.Table ||= {}
# Pre-defined footer height with body margin. Footer height must match stylesheets/shared/page.scss + 2px.
VMV.Table.FOOTER_WITH_MARGIN_HEIGHT = 90
# Pre-defined minimum table height.
VMV.Table.MIN_HEIGHT = '250px'
... | true | #
# Table CoffeeScript file.
#
# @author PI:NAME:<NAME>END_PI
#
# (c) University of Surrey 2019
#
VMV.Table ||= {}
# Pre-defined footer height with body margin. Footer height must match stylesheets/shared/page.scss + 2px.
VMV.Table.FOOTER_WITH_MARGIN_HEIGHT = 90
# Pre-defined minimum table height.
VMV.Table.MIN_HEIG... |
[
{
"context": " key, val of @filters.attributes\n if key is 'authorized_dealer' and val is true\n @$el.find(\"[name='author",
"end": 760,
"score": 0.8650782108306885,
"start": 743,
"tag": "KEY",
"value": "authorized_dealer"
}
] | app/javascripts/renderer/views/header.coffee | alchapone/auto-compare | 0 | $ = require('jquery')
electron = require('electron')
Marionette = require('backbone.marionette')
Filter = require('coffee!./../models/filter.coffee')
class Header extends Marionette.ItemView
getTemplate: => require('handlebars!../templates/header.hbs')
ui:
filter: '.js-filter'
filterCheck: '.js-filter-che... | 68723 | $ = require('jquery')
electron = require('electron')
Marionette = require('backbone.marionette')
Filter = require('coffee!./../models/filter.coffee')
class Header extends Marionette.ItemView
getTemplate: => require('handlebars!../templates/header.hbs')
ui:
filter: '.js-filter'
filterCheck: '.js-filter-che... | true | $ = require('jquery')
electron = require('electron')
Marionette = require('backbone.marionette')
Filter = require('coffee!./../models/filter.coffee')
class Header extends Marionette.ItemView
getTemplate: => require('handlebars!../templates/header.hbs')
ui:
filter: '.js-filter'
filterCheck: '.js-filter-che... |
[
{
"context": " yield api.account.create\n firstName: firstName\n lastName: lastName\n email: ",
"end": 157,
"score": 0.9524935483932495,
"start": 148,
"tag": "NAME",
"value": "firstName"
},
{
"context": " email: email\n password: ... | test/server/account.coffee | hanzo-io/hanzo.js | 147 | describe 'Api.account', ->
describe '.create', ->
it 'should create users', ->
user = yield api.account.create
firstName: firstName
lastName: lastName
email: email
password: goodPass1
passwordConfirm: goodPass1
user.firstName.shoul... | 12570 | describe 'Api.account', ->
describe '.create', ->
it 'should create users', ->
user = yield api.account.create
firstName: <NAME>
lastName: lastName
email: email
password: <PASSWORD>
passwordConfirm: <PASSWORD>
user.firstName.should... | true | describe 'Api.account', ->
describe '.create', ->
it 'should create users', ->
user = yield api.account.create
firstName: PI:NAME:<NAME>END_PI
lastName: lastName
email: email
password: PI:PASSWORD:<PASSWORD>END_PI
passwordConfirm: PI:PASS... |
[
{
"context": "-------------------------\n\nuser = 'your username' # your jenkins login username, change it i",
"end": 108,
"score": 0.9996176958084106,
"start": 95,
"tag": "USERNAME",
"value": "your username"
},
{
"context": "f you have auth in jenkins\ntoken ... | jenkins.widget/index.coffee | yoghi/uebersicht-jenkins | 0 | # ------------------------------ CONFIG ------------------------------
user = 'your username' # your jenkins login username, change it if you have auth in jenkins
token = 'your token' # your jenkins access token, change it if you have auth in jenkins
serverUrlWithAuth = 'je... | 98014 | # ------------------------------ CONFIG ------------------------------
user = 'your username' # your jenkins login username, change it if you have auth in jenkins
token = '<PASSWORD>' # your jenkins access token, change it if you have auth in jenkins
serverUrlWithAuth = 'je... | true | # ------------------------------ CONFIG ------------------------------
user = 'your username' # your jenkins login username, change it if you have auth in jenkins
token = 'PI:PASSWORD:<PASSWORD>END_PI' # your jenkins access token, change it if you have auth in jenkins
server... |
[
{
"context": "sages = []\n\ntemplate.users = []\n\ndefaultNames = [\"Killer Whale\", \"Giraffe\", \"Rabbit\", \"Polar Bear\", \"Cheetah\", \"",
"end": 205,
"score": 0.9843809008598328,
"start": 193,
"tag": "NAME",
"value": "Killer Whale"
},
{
"context": "ate.users = []\n\ndefaultName... | public/polymer.coffee | mdg-iitr/jinora | 0 | template = document.querySelector('#template')
polymerLoaded = false
template.announcement = ""
template.status = 'connecting'
template.messages = []
template.users = []
defaultNames = ["Killer Whale", "Giraffe", "Rabbit", "Polar Bear", "Cheetah", "Snow Leopard", "Eagle", "Fox", "Panda", "Salamander", "Jackal", "... | 159799 | template = document.querySelector('#template')
polymerLoaded = false
template.announcement = ""
template.status = 'connecting'
template.messages = []
template.users = []
defaultNames = ["<NAME>", "G<NAME>", "Rabbit", "Polar Bear", "Cheetah", "Snow Leopard", "Eagle", "Fox", "Panda", "Salamander", "Jackal", "Elepha... | true | template = document.querySelector('#template')
polymerLoaded = false
template.announcement = ""
template.status = 'connecting'
template.messages = []
template.users = []
defaultNames = ["PI:NAME:<NAME>END_PI", "GPI:NAME:<NAME>END_PI", "Rabbit", "Polar Bear", "Cheetah", "Snow Leopard", "Eagle", "Fox", "Panda", "Sa... |
[
{
"context": "f)\n @jid = xmppConf.jid\n @password = xmppConf.password\n\n # таймауты\n @idleTimeout = (xmppC",
"end": 428,
"score": 0.9601370692253113,
"start": 411,
"tag": "PASSWORD",
"value": "xmppConf.password"
},
{
"context": " return new xmpp.Cli... | src/server/notification/transport/xmpp/index.coffee | LaPingvino/rizzoma | 88 | xmpp = require('node-xmpp')
util = require('util')
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_XMPP = require('../../constants').NOTIFICATOR_TRANSPORT_XMPP
STATUS_ONLINE = 5
class XmppTransport extends NotificationTransport
###
Уведомитель через xmpp
###
construc... | 176404 | xmpp = require('node-xmpp')
util = require('util')
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_XMPP = require('../../constants').NOTIFICATOR_TRANSPORT_XMPP
STATUS_ONLINE = 5
class XmppTransport extends NotificationTransport
###
Уведомитель через xmpp
###
construc... | true | xmpp = require('node-xmpp')
util = require('util')
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_XMPP = require('../../constants').NOTIFICATOR_TRANSPORT_XMPP
STATUS_ONLINE = 5
class XmppTransport extends NotificationTransport
###
Уведомитель через xmpp
###
construc... |
[
{
"context": ".GITHUB_CLIENT_SECRET\n BOT_USERNAME: process.env.BOT_USERNAME\n BOT_PASSWORD: process.env.BOT_PASSWORD\n USER_A",
"end": 149,
"score": 0.9961462020874023,
"start": 137,
"tag": "USERNAME",
"value": "BOT_USERNAME"
},
{
"context": "USERNAME: process.env.BOT_USERNAME\n ... | config/github.coffee | isibner/sentry | 0 | module.exports =
CLIENT_ID: process.env.GITHUB_CLIENT_ID
CLIENT_SECRET: process.env.GITHUB_CLIENT_SECRET
BOT_USERNAME: process.env.BOT_USERNAME
BOT_PASSWORD: process.env.BOT_PASSWORD
USER_AGENT: process.env.GITHUB_USER_AGENT
| 57255 | module.exports =
CLIENT_ID: process.env.GITHUB_CLIENT_ID
CLIENT_SECRET: process.env.GITHUB_CLIENT_SECRET
BOT_USERNAME: process.env.BOT_USERNAME
BOT_PASSWORD: <PASSWORD>.BOT_<PASSWORD>
USER_AGENT: process.env.GITHUB_USER_AGENT
| true | module.exports =
CLIENT_ID: process.env.GITHUB_CLIENT_ID
CLIENT_SECRET: process.env.GITHUB_CLIENT_SECRET
BOT_USERNAME: process.env.BOT_USERNAME
BOT_PASSWORD: PI:PASSWORD:<PASSWORD>END_PI.BOT_PI:PASSWORD:<PASSWORD>END_PI
USER_AGENT: process.env.GITHUB_USER_AGENT
|
[
{
"context": "/PEM--/grunt-phonegapsplash\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under",
"end": 120,
"score": 0.9998725056648254,
"start": 98,
"tag": "NAME",
"value": "Pierre-Eric Marchandet"
},
{
"context": "Copyright (c) 2013 Pi... | test/testReducedLayoutSet.coffee | gruntjs-updater/grunt-phonegapsplash | 0 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_opti... | 137856 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_options'
PROFILES = (require '../li... | true | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_option... |
[
{
"context": "does good', ->\n sender = { firstName: 'John' }\n viewstate.selectedConv = 'c123'\n ",
"end": 289,
"score": 0.9996769428253174,
"start": 285,
"tag": "NAME",
"value": "John"
},
{
"context": "messages', ->\n sender = { first_name: 'John' ... | test/test-userinput.coffee | cwonrails/yakyak | 4,508 | { MessageActionType } = require 'hangupsjs'
viewstate = require '../src/ui/models/viewstate'
userinput = require '../src/ui/models/userinput'
describe 'userinput', ->
describe 'buildChatMessage', ->
it 'takes a text and does good', ->
sender = { firstName: 'John' }
viewstate.selec... | 6923 | { MessageActionType } = require 'hangupsjs'
viewstate = require '../src/ui/models/viewstate'
userinput = require '../src/ui/models/userinput'
describe 'userinput', ->
describe 'buildChatMessage', ->
it 'takes a text and does good', ->
sender = { firstName: '<NAME>' }
viewstate.sel... | true | { MessageActionType } = require 'hangupsjs'
viewstate = require '../src/ui/models/viewstate'
userinput = require '../src/ui/models/userinput'
describe 'userinput', ->
describe 'buildChatMessage', ->
it 'takes a text and does good', ->
sender = { firstName: 'PI:NAME:<NAME>END_PI' }
... |
[
{
"context": " #\n # Collection.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 47,
"score": 0.9528908729553223,
"start": 37,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Collection.\n #\n # Created by hector spc <hector... | src/collections/base_collection.coffee | aerstudio/Phallanxpress | 1 | #
# Collection.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/collections_collection.js.coffee
#
class Phallanxpress.Collection extends Backbone.Collection
getBySlug: (slug)->
models = @filter( (model)->
model.... | 164343 | #
# Collection.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/collections_collection.js.coffee
#
class Phallanxpress.Collection extends Backbone.Collection
getBySlug: (slug)->
models = @filter( (model)->
model.get('slug') is sl... | true | #
# Collection.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/collections_collection.js.coffee
#
class Phallanxpress.Collection extends Backbone.Collection
getBySlug: (slug)->
models = @filter( (model)->
... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998703002929688,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/tooltip.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 16481 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "#\n# Code from [`groc/lib/utils`][1]\n#\n# @copyright Ian MacLeod and groc contributors\n#\n# [1]: https://github.com",
"end": 111,
"score": 0.9998635053634644,
"start": 100,
"tag": "NAME",
"value": "Ian MacLeod"
},
{
"context": "and groc contributors\n#\n# [1]: https:/... | lib/utils/seperator.coffee | vitkarpov/grock | 0 | ###
# # Seperate Code and Comments into Segments
#
# Code from [`groc/lib/utils`][1]
#
# @copyright Ian MacLeod and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
_ = require 'lodash'
regexpEscape = require('./regexpEscape')
languages = require('../languages')
Segment =... | 75633 | ###
# # Seperate Code and Comments into Segments
#
# Code from [`groc/lib/utils`][1]
#
# @copyright <NAME> and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
_ = require 'lodash'
regexpEscape = require('./regexpEscape')
languages = require('../languages')
Segment = (cod... | true | ###
# # Seperate Code and Comments into Segments
#
# Code from [`groc/lib/utils`][1]
#
# @copyright PI:NAME:<NAME>END_PI and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee
###
_ = require 'lodash'
regexpEscape = require('./regexpEscape')
languages = require('../languages')
... |
[
{
"context": "ateRes = (msg) ->\n args: ['#test', msg]\n user: 'Test'\n prefix: '!test@test.com'\n message: msg\n\ndescr",
"end": 138,
"score": 0.9989768266677856,
"start": 134,
"tag": "USERNAME",
"value": "Test"
},
{
"context": " args: ['#test', msg]\n user: 'Test'\n prefix: ... | test/middlewareWrapper.coffee | rikukissa/domo | 4 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!test@test.com'
message: msg
describe 'Middleware wrapper', ->
it 'should pass the right arguments all the way to the final function', (done) ->
domo = new Dom... | 61768 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!<EMAIL>'
message: msg
describe 'Middleware wrapper', ->
it 'should pass the right arguments all the way to the final function', (done) ->
domo = new Domo()
... | true | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!PI:EMAIL:<EMAIL>END_PI'
message: msg
describe 'Middleware wrapper', ->
it 'should pass the right arguments all the way to the final function', (done) ->
domo ... |
[
{
"context": "# * https://github.com/jasoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cyp",
"end": 34,
"score": 0.99961256980896,
"start": 23,
"tag": "USERNAME",
"value": "jasoncypret"
},
{
"context": "asoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cypret (http... | vendor/assets/javascripts/expressionui.pushview.js.coffee | jasoncypret/expressionUI | 0 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 Jason Cypret (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else... | 56253 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 <NAME> (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else
#... | true | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factor... |
[
{
"context": "ord, callback) =>\n success = (username is \"mia\" and password is \"supergirl\") or\n ",
"end": 385,
"score": 0.9995177984237671,
"start": 382,
"tag": "USERNAME",
"value": "mia"
},
{
"context": " success = (username is \"mia\" and password is \... | node_modules/http-auth/tests/test-basic-nofile.coffee | witalij777/WebBluetooth | 1 | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure authentication.
realm: "Private Area."
},
(use... | 52178 | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure authentication.
realm: "Private Area."
},
(use... | true | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure authentication.
realm: "Private Area."
},
(use... |
[
{
"context": " series: [ {\n type: 'pie'\n name: 'Anteil'\n data: data\n } ]\n }\n\nTemplate.use",
"end": 1459,
"score": 0.9750426411628723,
"start": 1453,
"tag": "NAME",
"value": "Anteil"
}
] | client/templates/userview_polls/userview_diagram.coffee | suits-at/polls-app | 0 | Template.userview_diagram.onCreated ->
@autorun =>
@subscribe('allPolls')
Template.userview_diagram.helpers
path_polls_index: -> FlowRouter.path 'polls_index'
poll: ->
return Polls.findOne(FlowRouter.getParam('pollId'))
Template.userview_diagram.onRendered ->
this.autorun =>
Meteor.subscribe 'allP... | 123923 | Template.userview_diagram.onCreated ->
@autorun =>
@subscribe('allPolls')
Template.userview_diagram.helpers
path_polls_index: -> FlowRouter.path 'polls_index'
poll: ->
return Polls.findOne(FlowRouter.getParam('pollId'))
Template.userview_diagram.onRendered ->
this.autorun =>
Meteor.subscribe 'allP... | true | Template.userview_diagram.onCreated ->
@autorun =>
@subscribe('allPolls')
Template.userview_diagram.helpers
path_polls_index: -> FlowRouter.path 'polls_index'
poll: ->
return Polls.findOne(FlowRouter.getParam('pollId'))
Template.userview_diagram.onRendered ->
this.autorun =>
Meteor.subscribe 'allP... |
[
{
"context": "rtex.pos.y \n z = vertex.pos.z\n key = \"#{x},#{y},#{z}\"\n if not (key of verticesIndex)\n s",
"end": 5373,
"score": 0.9994919300079346,
"start": 5357,
"tag": "KEY",
"value": "\"#{x},#{y},#{z}\""
}
] | src/app/exporters/amfExporter/amfExporter.coffee | kaosat-dev/CoffeeSCad | 110 | define (require) ->
utils = require "core/utils/utils"
marionette = require 'marionette'
XMLWriter = require 'XMLWriter'
vent = require 'core/messaging/appVent'
reqRes = require 'core/messaging/appReqRes'
Project = require 'core/projects/project'
ModalRegion = require 'core/utils/modalRegion'
Amf... | 114549 | define (require) ->
utils = require "core/utils/utils"
marionette = require 'marionette'
XMLWriter = require 'XMLWriter'
vent = require 'core/messaging/appVent'
reqRes = require 'core/messaging/appReqRes'
Project = require 'core/projects/project'
ModalRegion = require 'core/utils/modalRegion'
Amf... | true | define (require) ->
utils = require "core/utils/utils"
marionette = require 'marionette'
XMLWriter = require 'XMLWriter'
vent = require 'core/messaging/appVent'
reqRes = require 'core/messaging/appReqRes'
Project = require 'core/projects/project'
ModalRegion = require 'core/utils/modalRegion'
Amf... |
[
{
"context": "nt = require 'moment'\n\nmailboxUID = {}\n\nnames = ['alice', 'bob', 'natacha', 'mark', 'zoey', 'john', 'feli",
"end": 134,
"score": 0.9253296256065369,
"start": 129,
"tag": "NAME",
"value": "alice"
},
{
"context": "ire 'moment'\n\nmailboxUID = {}\n\nnames = ['alice', '... | tests/fixtures/generator.coffee | gelnior/cozy-emails | 58 | fs = require 'fs'
path = require 'path'
loremIpsum = require 'lorem-ipsum'
moment = require 'moment'
mailboxUID = {}
names = ['alice', 'bob', 'natacha', 'mark', 'zoey', 'john', 'felicia' ,'max']
priorities = ['low', 'normal', 'high']
provider = 'cozytest.cc'
accounts = require './accounts.json'
mailboxes = {}
for bo... | 22151 | fs = require 'fs'
path = require 'path'
loremIpsum = require 'lorem-ipsum'
moment = require 'moment'
mailboxUID = {}
names = ['<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>' ,'<NAME>']
priorities = ['low', 'normal', 'high']
provider = 'cozytest.cc'
accounts = require './accounts.json'
mailboxes ... | true | fs = require 'fs'
path = require 'path'
loremIpsum = require 'lorem-ipsum'
moment = require 'moment'
mailboxUID = {}
names = ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI' ,'PI:NAME:<NAME>END_PI']
... |
[
{
"context": "ta: '[\"identity\",{\"uuid\":\"something\", \"token\": \"dah token\"}]'\n\n it 'should not call authDevice', ->\n ",
"end": 5368,
"score": 0.5789523124694824,
"start": 5361,
"tag": "KEY",
"value": "h token"
},
{
"context": "alledWith 'identity', {uuid: 'something'... | test/lib/MeshbluWebsocketHandler-spec.coffee | CESARBR/knot-cloud-source | 4 | {EventEmitter} = require 'events'
MeshbluWebsocketHandler = require '../../lib/MeshbluWebsocketHandler'
describe 'MeshbluWebsocketHandler', ->
beforeEach ->
@messageIOClient =
on: sinon.spy()
emit: sinon.spy()
unsubscribe: sinon.spy()
start: sinon.spy()
subscribe: sinon.spy()
@M... | 178083 | {EventEmitter} = require 'events'
MeshbluWebsocketHandler = require '../../lib/MeshbluWebsocketHandler'
describe 'MeshbluWebsocketHandler', ->
beforeEach ->
@messageIOClient =
on: sinon.spy()
emit: sinon.spy()
unsubscribe: sinon.spy()
start: sinon.spy()
subscribe: sinon.spy()
@M... | true | {EventEmitter} = require 'events'
MeshbluWebsocketHandler = require '../../lib/MeshbluWebsocketHandler'
describe 'MeshbluWebsocketHandler', ->
beforeEach ->
@messageIOClient =
on: sinon.spy()
emit: sinon.spy()
unsubscribe: sinon.spy()
start: sinon.spy()
subscribe: sinon.spy()
@M... |
[
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nmona = require 'mona-parse",
"end": 27,
"score": 0.9998336434364319,
"start": 15,
"tag": "NAME",
"value": "Martin Waitz"
},
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nmona = require 'mona-p... | src/document.coffee | gaintext/gaintext.js | 0 | # GainText
#
# Martin Waitz <tali@admingilde.org>
mona = require 'mona-parser'
{NamedBlockElement, NamedSpanElement, Paragraph, globalScope} = require './block'
{collect, vskip} = require './parserutils'
anyName = mona.text mona.noneOf(': \t\n'), min: 1
exports.anyBlock = anyBlock = new NamedBlockElement anyName
ex... | 67186 | # GainText
#
# <NAME> <<EMAIL>>
mona = require 'mona-parser'
{NamedBlockElement, NamedSpanElement, Paragraph, globalScope} = require './block'
{collect, vskip} = require './parserutils'
anyName = mona.text mona.noneOf(': \t\n'), min: 1
exports.anyBlock = anyBlock = new NamedBlockElement anyName
exports.anySpan = an... | true | # GainText
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
mona = require 'mona-parser'
{NamedBlockElement, NamedSpanElement, Paragraph, globalScope} = require './block'
{collect, vskip} = require './parserutils'
anyName = mona.text mona.noneOf(': \t\n'), min: 1
exports.anyBlock = anyBlock = new NamedBlockElement... |
[
{
"context": "sen-search-input\").first()\r\n search_field.val(\"一\")\r\n search_field.trigger(\"keyup\")\r\n\r\n expec",
"end": 5759,
"score": 0.6351967453956604,
"start": 5758,
"tag": "NAME",
"value": "一"
},
{
"context": "iple>\r\n <option></option>\r\n <opti... | clients/src/main/resources/static/chosen-1.8.7/spec/jquery/searching.spec.coffee | george-penkov/ProjectForBigData-1 | 0 | describe "Searching", ->
it "should not match the actual text of HTML entities", ->
tmpl = "
<select data-placeholder='Choose an HTML Entity...'>
<option value=''></option>
<option value='This & That'>This & That</option>
<option value='This < That'>This < That</option>
... | 72676 | describe "Searching", ->
it "should not match the actual text of HTML entities", ->
tmpl = "
<select data-placeholder='Choose an HTML Entity...'>
<option value=''></option>
<option value='This & That'>This & That</option>
<option value='This < That'>This < That</option>
... | true | describe "Searching", ->
it "should not match the actual text of HTML entities", ->
tmpl = "
<select data-placeholder='Choose an HTML Entity...'>
<option value=''></option>
<option value='This & That'>This & That</option>
<option value='This < That'>This < That</option>
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999104738235474,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/comments-index/main.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
im... | 52905 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singl... |
[
{
"context": " user:\n id: \"user-id\"\n name: \"user-name\"\n\n ",
"end": 1284,
"score": 0.9667820334434509,
"start": 1280,
"tag": "USERNAME",
"value": "user"
},
{
"context": " id: \"user-id\"\n ... | test/adapter-middleware.test.coffee | leonardochaia/BotFramework-Hubot | 60 | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, User } = require 'hubot'
MockRobot = require './mock-robot'
{ BaseMiddleware, TextMiddleware, middlewareFor } = require '../src/adapter-middleware'
BotBuilderTeams = require('./mock-botbuilder-teams')
describe 'middlewareFor', ->
it 'should return ... | 196595 | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, User } = require 'hubot'
MockRobot = require './mock-robot'
{ BaseMiddleware, TextMiddleware, middlewareFor } = require '../src/adapter-middleware'
BotBuilderTeams = require('./mock-botbuilder-teams')
describe 'middlewareFor', ->
it 'should return ... | true | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, User } = require 'hubot'
MockRobot = require './mock-robot'
{ BaseMiddleware, TextMiddleware, middlewareFor } = require '../src/adapter-middleware'
BotBuilderTeams = require('./mock-botbuilder-teams')
describe 'middlewareFor', ->
it 'should return ... |
[
{
"context": "is 'grid' and cell.templateID?\n cell._key = Math.random()\n cell._type = type\n cell.template",
"end": 1805,
"score": 0.8042760491371155,
"start": 1794,
"tag": "KEY",
"value": "Math.random"
}
] | app/classifier/drawing-tools/grid.cjsx | tlalka/Panoptes-Front-End | 0 | React = require 'react'
createReactClass = require 'create-react-class'
DrawingToolRoot = require('./root').default
Draggable = require '../../lib/draggable'
deleteIfOutOfBounds = require './delete-if-out-of-bounds'
DeleteButton = require './delete-button'
module.exports = createReactClass
displayName: 'GridTool'
... | 104904 | React = require 'react'
createReactClass = require 'create-react-class'
DrawingToolRoot = require('./root').default
Draggable = require '../../lib/draggable'
deleteIfOutOfBounds = require './delete-if-out-of-bounds'
DeleteButton = require './delete-button'
module.exports = createReactClass
displayName: 'GridTool'
... | true | React = require 'react'
createReactClass = require 'create-react-class'
DrawingToolRoot = require('./root').default
Draggable = require '../../lib/draggable'
deleteIfOutOfBounds = require './delete-if-out-of-bounds'
DeleteButton = require './delete-button'
module.exports = createReactClass
displayName: 'GridTool'
... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998906850814819,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/file.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'
###
Files model
###
module.exports = File = sequelize.define 'File',
name... | 173767 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Files model
###
module.exports = File = sequelize.define 'File',
name:
allowNull: false... | 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'
###
Files model
###
module.exports = File = sequelize.define 'File... |
[
{
"context": "ls.parseQueryString).was.calledWith(\"access_token=12345\")\n\n utils.parseQueryString.restore()\n\n it",
"end": 2409,
"score": 0.8605343103408813,
"start": 2404,
"tag": "PASSWORD",
"value": "12345"
},
{
"context": "t(deferred.resolve).was.calledWith(access_toke... | test/spec/readmill/auth.coffee | aron/annotator.readmill.js | 0 | describe "Auth", ->
jQuery = Annotator.$
Auth = Annotator.Readmill.Auth
auth = null
beforeEach ->
auth = new Auth
clientId: "12345"
callbackUrl: "http://localhost:8000/callback.html"
it "should create a new instance of Auth", ->
expect(auth).to.be.an.instanceof Auth
it "should allow t... | 188669 | describe "Auth", ->
jQuery = Annotator.$
Auth = Annotator.Readmill.Auth
auth = null
beforeEach ->
auth = new Auth
clientId: "12345"
callbackUrl: "http://localhost:8000/callback.html"
it "should create a new instance of Auth", ->
expect(auth).to.be.an.instanceof Auth
it "should allow t... | true | describe "Auth", ->
jQuery = Annotator.$
Auth = Annotator.Readmill.Auth
auth = null
beforeEach ->
auth = new Auth
clientId: "12345"
callbackUrl: "http://localhost:8000/callback.html"
it "should create a new instance of Auth", ->
expect(auth).to.be.an.instanceof Auth
it "should allow t... |
[
{
"context": "ds\"\nphase: \"beta\"\nphase_modifier: \"Private\"\nsro: \"Sue Moore\"\nservice_man: \"Anita Holmes\"\nphase_history:\n dis",
"end": 311,
"score": 0.9998741149902344,
"start": 302,
"tag": "NAME",
"value": "Sue Moore"
},
{
"context": "odifier: \"Private\"\nsro: \"Sue Mo... | app/data/projects/personal-independence-payment.cson | tsmorgan/dwp-ux-work | 0 | id: 6
name: "Apply for Personal Independence Payment"
description: "Lets users who are disabled or have a long-term health condition apply for a Personal Independence Payment to help them live independently."
theme: "Health & Disability"
location: "Leeds"
phase: "beta"
phase_modifier: "Private"
sro: "Sue Moore"
service... | 192054 | id: 6
name: "Apply for Personal Independence Payment"
description: "Lets users who are disabled or have a long-term health condition apply for a Personal Independence Payment to help them live independently."
theme: "Health & Disability"
location: "Leeds"
phase: "beta"
phase_modifier: "Private"
sro: "<NAME>"
service_ma... | true | id: 6
name: "Apply for Personal Independence Payment"
description: "Lets users who are disabled or have a long-term health condition apply for a Personal Independence Payment to help them live independently."
theme: "Health & Disability"
location: "Leeds"
phase: "beta"
phase_modifier: "Private"
sro: "PI:NAME:<NAME>END_... |
[
{
"context": " # set continuesly by router\n\tauth: {firebaseId: 'abc2'} # set by firebase. undefined = now yet gotten, ",
"end": 230,
"score": 0.8474475741386414,
"start": 226,
"tag": "KEY",
"value": "abc2"
},
{
"context": "8, 9]\n\tactivities: [\n\t\t# FITNESS\n\t\t{id: 1, name: 'L... | examples/playground/client/src/app/data.coffee | Cottin/popsiql-cache | 0 | {} = R = require 'ramda' # auto_require: ramda
{} = RE = require 'ramda-extras' # auto_require: ramda-extras
[] = [] #auto_sugar
_ = (...xs) -> xs
module.exports =
url: {} # set continuesly by router
auth: {firebaseId: 'abc2'} # set by firebase. undefined = now yet gotten, null = not logged in, object = logged in... | 48562 | {} = R = require 'ramda' # auto_require: ramda
{} = RE = require 'ramda-extras' # auto_require: ramda-extras
[] = [] #auto_sugar
_ = (...xs) -> xs
module.exports =
url: {} # set continuesly by router
auth: {firebaseId: '<KEY>'} # set by firebase. undefined = now yet gotten, null = not logged in, object = logged i... | true | {} = R = require 'ramda' # auto_require: ramda
{} = RE = require 'ramda-extras' # auto_require: ramda-extras
[] = [] #auto_sugar
_ = (...xs) -> xs
module.exports =
url: {} # set continuesly by router
auth: {firebaseId: 'PI:KEY:<KEY>END_PI'} # set by firebase. undefined = now yet gotten, null = not logged in, obje... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998416304588318,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/shipped/session.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 134481 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "load command definition\n#\n# Notes:\n#\n# Author:\n# lukas@pustina.net\n#\n# Todos:\n# 0.1.0\n# * Demo Docker Image\n# ",
"end": 292,
"score": 0.9999057054519653,
"start": 275,
"tag": "EMAIL",
"value": "lukas@pustina.net"
}
] | src/bangbang.coffee | lukaspustina/hubot-bangbang | 2 | # Description
# Execute changeable pre-defined shell commands via hubot in a secure way !!
#
# Configuration:
#
# Commands:
# show bangbang commands -- show currently available commands
# reload bangbang commands -- reload command definition
#
# Notes:
#
# Author:
# lukas@pustina.net
#
# Todos:
# 0.1.0
# * ... | 208083 | # Description
# Execute changeable pre-defined shell commands via hubot in a secure way !!
#
# Configuration:
#
# Commands:
# show bangbang commands -- show currently available commands
# reload bangbang commands -- reload command definition
#
# Notes:
#
# Author:
# <EMAIL>
#
# Todos:
# 0.1.0
# * Demo Docke... | true | # Description
# Execute changeable pre-defined shell commands via hubot in a secure way !!
#
# Configuration:
#
# Commands:
# show bangbang commands -- show currently available commands
# reload bangbang commands -- reload command definition
#
# Notes:
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
#
# Todos:
# 0.1.0
#... |
[
{
"context": "\n stateSave: true\n columns: [\n {data: 'farmer_name'}\n {data: 'farmer_phone_number'}\n {data",
"end": 241,
"score": 0.5760455131530762,
"start": 230,
"tag": "NAME",
"value": "farmer_name"
}
] | app/assets/javascripts/soya_beans_inputs.coffee | wagura-maurice/glowing-umbrella | 0 | ready = ->
$('#soya-beans-inputs-table').dataTable
processing: true
serverSide: true
ajax: $('#soya-beans-inputs-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'farmer_name'}
{data: 'farmer_phone_number'}
{data: 'farmer_association'}
... | 49669 | ready = ->
$('#soya-beans-inputs-table').dataTable
processing: true
serverSide: true
ajax: $('#soya-beans-inputs-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: '<NAME>'}
{data: 'farmer_phone_number'}
{data: 'farmer_association'}
{dat... | true | ready = ->
$('#soya-beans-inputs-table').dataTable
processing: true
serverSide: true
ajax: $('#soya-beans-inputs-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'PI:NAME:<NAME>END_PI'}
{data: 'farmer_phone_number'}
{data: 'farmer_associatio... |
[
{
"context": "###\n * grunt-codo\n * https://github.com/frostney/grunt-codo\n *\n * Copyright (c) 2014 Johannes Stei",
"end": 48,
"score": 0.9993876814842224,
"start": 40,
"tag": "USERNAME",
"value": "frostney"
},
{
"context": "b.com/frostney/grunt-codo\n *\n * Copyright (c) 2014 Joh... | src/codo.coffee | mgabrin/grunt-codo | 2 | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2014 Johannes Stein
* Licensed under the MIT license.
###
"use strict"
path = require "path"
lodash = require "lodash"
chalk = require "chalk"
CLITable = require "cli-table"
Codo = require "./utils/command.js"
module.exports = ( grunt ... | 202693 | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
path = require "path"
lodash = require "lodash"
chalk = require "chalk"
CLITable = require "cli-table"
Codo = require "./utils/command.js"
module.exports = ( grunt ) ->
... | true | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
path = require "path"
lodash = require "lodash"
chalk = require "chalk"
CLITable = require "cli-table"
Codo = require "./utils/command.js"
module.exports = ( ... |
[
{
"context": "########\n# Dapp entry file\n# -----\n# Copyright (c) Kiruse 2021. Licensed under MIT License\nimport Vue from ",
"end": 119,
"score": 0.9967661499977112,
"start": 113,
"tag": "NAME",
"value": "Kiruse"
}
] | dapp/src/index.coffee | Kiruse/WotD.sol | 0 | ######################################################################
# Dapp entry file
# -----
# Copyright (c) Kiruse 2021. Licensed under MIT License
import Vue from 'vue'
import App from './app'
import AsyncComputed from 'vue-async-computed'
import {ethers} from 'ethers'
import '@styles/dapp.sass'
Vue.use(AsyncCom... | 23372 | ######################################################################
# Dapp entry file
# -----
# Copyright (c) <NAME> 2021. Licensed under MIT License
import Vue from 'vue'
import App from './app'
import AsyncComputed from 'vue-async-computed'
import {ethers} from 'ethers'
import '@styles/dapp.sass'
Vue.use(AsyncCom... | true | ######################################################################
# Dapp entry file
# -----
# Copyright (c) PI:NAME:<NAME>END_PI 2021. Licensed under MIT License
import Vue from 'vue'
import App from './app'
import AsyncComputed from 'vue-async-computed'
import {ethers} from 'ethers'
import '@styles/dapp.sass'
Vu... |
[
{
"context": "up: 33, pagedown: 34, end: 35, home: 36\n keys = [37, 38, 39, 40]\n\n preventDefault = (e) ->\n e = e",
"end": 4779,
"score": 0.9558640718460083,
"start": 4777,
"tag": "KEY",
"value": "37"
},
{
"context": " 33, pagedown: 34, end: 35, home: 36\n keys = [37, 38, 39,... | app/assets/javascripts/_utils.js.coffee | MichaelHoste/sokoban | 1 | $ ->
window.colorbox_next_level = (level_id, score_id) ->
token_tag = window.authenticity_token()
$.colorbox({ href:'/workflows/show_next_level/', data:{ level_id:level_id, score_id:score_id, authenticity_token:token_tag }, top:'90px', height:'510px', width:'570px', overlayClose: false, escKey: false }, ->
... | 213135 | $ ->
window.colorbox_next_level = (level_id, score_id) ->
token_tag = window.authenticity_token()
$.colorbox({ href:'/workflows/show_next_level/', data:{ level_id:level_id, score_id:score_id, authenticity_token:token_tag }, top:'90px', height:'510px', width:'570px', overlayClose: false, escKey: false }, ->
... | true | $ ->
window.colorbox_next_level = (level_id, score_id) ->
token_tag = window.authenticity_token()
$.colorbox({ href:'/workflows/show_next_level/', data:{ level_id:level_id, score_id:score_id, authenticity_token:token_tag }, top:'90px', height:'510px', width:'570px', overlayClose: false, escKey: false }, ->
... |
[
{
"context": "hostObj[host] = extend({ username: null, password: null }, authObj)\n\n extend(@data, hostObj)\n @\n\n ",
"end": 332,
"score": 0.9971267580986023,
"start": 328,
"tag": "PASSWORD",
"value": "null"
}
] | src/actions.coffee | h2non/node-authrc | 1 | { readJSON, writeJSON, extend, cloneDeep, isObject, isString } = require './common'
module.exports = class Actions
add: (host, authObj) =>
@data ?= {}
if isObject(host)
hostObj = host
else if isString(host) and isObject(authObj)
hostObj = {}
hostObj[host] = extend({ username: null, pa... | 122650 | { readJSON, writeJSON, extend, cloneDeep, isObject, isString } = require './common'
module.exports = class Actions
add: (host, authObj) =>
@data ?= {}
if isObject(host)
hostObj = host
else if isString(host) and isObject(authObj)
hostObj = {}
hostObj[host] = extend({ username: null, pa... | true | { readJSON, writeJSON, extend, cloneDeep, isObject, isString } = require './common'
module.exports = class Actions
add: (host, authObj) =>
@data ?= {}
if isObject(host)
hostObj = host
else if isString(host) and isObject(authObj)
hostObj = {}
hostObj[host] = extend({ username: null, pa... |
[
{
"context": "\n [\"101405\", \"Green Waterloo\"]\n [\"105852\", \"Eden\"]\n [\"110C6C\", \"Arapawa\"]\n [\"120A8F\", \"Ultra",
"end": 26098,
"score": 0.7982051968574524,
"start": 26094,
"tag": "NAME",
"value": "Eden"
},
{
"context": "\"Jewel\"]\n [\"130000\", \"Diesel... | lib/assets/javascripts/pixie/color.coffee | PixieEngine/PixelEditor | 1 | ( ->
rgbParser = /^rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),?\s*(\d?\.?\d*)?\)$/
hslParser = /^hsla?\((\d{1,3}),\s*(\d?\.?\d*),\s*(\d?\.?\d*),?\s*(\d?\.?\d*)?\)$/
parseRGB = (colorString) ->
return undefined unless channels = rgbParser.exec(colorString)
parsedColor = (parseFloat channel for channel in... | 88682 | ( ->
rgbParser = /^rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),?\s*(\d?\.?\d*)?\)$/
hslParser = /^hsla?\((\d{1,3}),\s*(\d?\.?\d*),\s*(\d?\.?\d*),?\s*(\d?\.?\d*)?\)$/
parseRGB = (colorString) ->
return undefined unless channels = rgbParser.exec(colorString)
parsedColor = (parseFloat channel for channel in... | true | ( ->
rgbParser = /^rgba?\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),?\s*(\d?\.?\d*)?\)$/
hslParser = /^hsla?\((\d{1,3}),\s*(\d?\.?\d*),\s*(\d?\.?\d*),?\s*(\d?\.?\d*)?\)$/
parseRGB = (colorString) ->
return undefined unless channels = rgbParser.exec(colorString)
parsedColor = (parseFloat channel for channel in... |
[
{
"context": "ush(\n <MessageItemContainer\n key={message.clientId}\n ref={\"message-container-#{message.clie",
"end": 9307,
"score": 0.9574025273323059,
"start": 9291,
"tag": "KEY",
"value": "message.clientId"
},
{
"context": "ck={ => @setState minified: fal... | packages/client-app/internal_packages/message-list/lib/message-list.cjsx | cnheider/nylas-mail | 24,369 | _ = require 'underscore'
React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
FindInThread = require('./find-in-thread').default
MessageItemContainer = require './message-item-container'
{Utils,
Actions,
Message,
DraftStore,
MessageStore,
AccountStore,
DatabaseStore,
Workspac... | 184553 | _ = require 'underscore'
React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
FindInThread = require('./find-in-thread').default
MessageItemContainer = require './message-item-container'
{Utils,
Actions,
Message,
DraftStore,
MessageStore,
AccountStore,
DatabaseStore,
Workspac... | true | _ = require 'underscore'
React = require 'react'
ReactDOM = require 'react-dom'
classNames = require 'classnames'
FindInThread = require('./find-in-thread').default
MessageItemContainer = require './message-item-container'
{Utils,
Actions,
Message,
DraftStore,
MessageStore,
AccountStore,
DatabaseStore,
Workspac... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999116659164429,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/changelog-build.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './changelog-build/main'
reactTurbolinks.registerPersistent 'changelog-build', Main, true, (el) ->
container: el
update... | 118402 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './changelog-build/main'
reactTurbolinks.registerPersistent 'changelog-build', Main, true, (el) ->
container: el
updateStreams... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './changelog-build/main'
reactTurbolinks.registerPersistent 'changelog-build', Main, true, (el) ->
container: el
... |
[
{
"context": "ine\": 0\n },\n \"message\": null,\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE1MTk4OTI3MTMsImV4cCI6MTU1MTQyODcxMywiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSJ9._PWCLR7lgLmX3qA3gVnAhyGj-wt3WjDeNaml_tOunJM\"\n}\... | server/src/files.coffee | muonium/docs | 0 | ###
@api {post} /files/write Write a chunk
@apiName PostFilesWrite
@apiGroup Files
@apiHeader {String} token Token (Authorization: Bearer).
@apiParam {String} filename File name.
@apiParam {Int} folder_id Folder ID.
@apiParam {String} data Data to write.... | 200544 | ###
@api {post} /files/write Write a chunk
@apiName PostFilesWrite
@apiGroup Files
@apiHeader {String} token Token (Authorization: Bearer).
@apiParam {String} filename File name.
@apiParam {Int} folder_id Folder ID.
@apiParam {String} data Data to write.... | true | ###
@api {post} /files/write Write a chunk
@apiName PostFilesWrite
@apiGroup Files
@apiHeader {String} token Token (Authorization: Bearer).
@apiParam {String} filename File name.
@apiParam {Int} folder_id Folder ID.
@apiParam {String} data Data to write.... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991121292114258,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "onns = 0\nSSL_Method = \"TLSv1_method\"\nlocalhost = \"127.0.0.1\"\nprocess.on \"exit\", ->\n ... | test/simple/test-tls-honorcipherorder.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... | 102506 | # 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": "ink\")\n repositoryEntryLink.attr(\"username\", username)\n repositoryEntry.append(repositoryEntryLi",
"end": 9354,
"score": 0.8042674660682678,
"start": 9346,
"tag": "USERNAME",
"value": "username"
},
{
"context": "r key,value of objectValue\n ... | app/assets/javascripts/index.coffee | SMITPATELIYA18/KP_G06 | 0 | $ ->
# Requests a web socket from the server for two-way fully duplex communication
ws = new WebSocket $("#gitterific-home").data("ws-url")
# On receiving a message, checks the response type and renders data accordingly
ws.onmessage = (event) ->
message = JSON.parse event.data
console.log(message.respo... | 80818 | $ ->
# Requests a web socket from the server for two-way fully duplex communication
ws = new WebSocket $("#gitterific-home").data("ws-url")
# On receiving a message, checks the response type and renders data accordingly
ws.onmessage = (event) ->
message = JSON.parse event.data
console.log(message.respo... | true | $ ->
# Requests a web socket from the server for two-way fully duplex communication
ws = new WebSocket $("#gitterific-home").data("ws-url")
# On receiving a message, checks the response type and renders data accordingly
ws.onmessage = (event) ->
message = JSON.parse event.data
console.log(message.respo... |
[
{
"context": "Value()\n\n\n `\n /*\n Copyright (c) 2009-2011, Kevin Decker <kpdecker@gmail.com>\n */\n function diffCha",
"end": 14073,
"score": 0.9998405575752258,
"start": 14061,
"tag": "NAME",
"value": "Kevin Decker"
},
{
"context": " /*\n Copyright (c) 2009-2... | web/profiles/contrib/profile/modules/social_features/social_mentions/js/jquery.mentions.coffee | unoriginaldesigns/opensocial-circle | 0 | (($) ->
"use strict"
namespace = "mentionsInput"
Selection =
get: (input) ->
start: input[0].selectionStart,
end: input[0].selectionEnd
set: (input, start, end=start) ->
if input[0].selectionStart
input[0].selectStart = start
input[0].selectionEnd = end
entityMap =... | 211604 | (($) ->
"use strict"
namespace = "mentionsInput"
Selection =
get: (input) ->
start: input[0].selectionStart,
end: input[0].selectionEnd
set: (input, start, end=start) ->
if input[0].selectionStart
input[0].selectStart = start
input[0].selectionEnd = end
entityMap =... | true | (($) ->
"use strict"
namespace = "mentionsInput"
Selection =
get: (input) ->
start: input[0].selectionStart,
end: input[0].selectionEnd
set: (input, start, end=start) ->
if input[0].selectionStart
input[0].selectStart = start
input[0].selectionEnd = end
entityMap =... |
[
{
"context": "str, data) ->\n # Simple JavaScript Templating\n # John Resig - http://ejohn.org/ - MIT Licensed\n fn = (if not",
"end": 1737,
"score": 0.9997282028198242,
"start": 1727,
"tag": "NAME",
"value": "John Resig"
},
{
"context": "s_actions(new_states.actions)\n if ne... | draft/library/server/wsf_js_widget/examples/demo/assets/widget.coffee | berenddeboer/EWF | 24 | #IMPORTANT PLEASE COMPILE WITH:: coffee -cbw widget.coffee
cache = {}
jQuery.cachedAsset = (url, options) ->
if /\.css$/.test(url)
$("<link/>",
rel: "stylesheet"
type: "text/css"
href: url
).appendTo("head")
return {
done:(fn)->
fn()
}
else
success = []
head =... | 210521 | #IMPORTANT PLEASE COMPILE WITH:: coffee -cbw widget.coffee
cache = {}
jQuery.cachedAsset = (url, options) ->
if /\.css$/.test(url)
$("<link/>",
rel: "stylesheet"
type: "text/css"
href: url
).appendTo("head")
return {
done:(fn)->
fn()
}
else
success = []
head =... | true | #IMPORTANT PLEASE COMPILE WITH:: coffee -cbw widget.coffee
cache = {}
jQuery.cachedAsset = (url, options) ->
if /\.css$/.test(url)
$("<link/>",
rel: "stylesheet"
type: "text/css"
href: url
).appendTo("head")
return {
done:(fn)->
fn()
}
else
success = []
head =... |
[
{
"context": "est-file\"\n db = null\n snapshot = null\n\n key = \"Hello\"\n val = \"World\"\n\n beforeEach (done) ->\n leve",
"end": 179,
"score": 0.9898560047149658,
"start": 174,
"tag": "KEY",
"value": "Hello"
},
{
"context": " null\n snapshot = null\n\n key = \"Hello\"\... | test/snapshot-test.coffee | kyledrake/node-leveldb | 1 | assert = require 'assert'
leveldb = require '../lib'
describe 'snapshot', ->
filename = "#{__dirname}/../tmp/snapshot-test-file"
db = null
snapshot = null
key = "Hello"
val = "World"
beforeEach (done) ->
leveldb.open filename, create_if_missing: true, (err, handle) ->
db = handle
done e... | 142728 | assert = require 'assert'
leveldb = require '../lib'
describe 'snapshot', ->
filename = "#{__dirname}/../tmp/snapshot-test-file"
db = null
snapshot = null
key = "<KEY>"
val = "<PASSWORD>"
beforeEach (done) ->
leveldb.open filename, create_if_missing: true, (err, handle) ->
db = handle
d... | true | assert = require 'assert'
leveldb = require '../lib'
describe 'snapshot', ->
filename = "#{__dirname}/../tmp/snapshot-test-file"
db = null
snapshot = null
key = "PI:KEY:<KEY>END_PI"
val = "PI:PASSWORD:<PASSWORD>END_PI"
beforeEach (done) ->
leveldb.open filename, create_if_missing: true, (err, handl... |
[
{
"context": "tch'\n\nmodule.exports =\nclass Config\n @ROOT_KEY: 'atom-lint'\n\n @getAbsoluteKeyPath: (keys...) ->\n keys.un",
"end": 86,
"score": 0.992867648601532,
"start": 77,
"tag": "KEY",
"value": "atom-lint"
}
] | lib/config.coffee | lee-dohm/atom-lint | 36 | minimatch = require 'minimatch'
module.exports =
class Config
@ROOT_KEY: 'atom-lint'
@getAbsoluteKeyPath: (keys...) ->
keys.unshift(@ROOT_KEY)
keys.join('.')
@get: (keyPath) ->
absoluteKeyPath = @getAbsoluteKeyPath(keyPath)
atom.config.get(absoluteKeyPath)
@set: (keyPath, value) ->
absol... | 106389 | minimatch = require 'minimatch'
module.exports =
class Config
@ROOT_KEY: '<KEY>'
@getAbsoluteKeyPath: (keys...) ->
keys.unshift(@ROOT_KEY)
keys.join('.')
@get: (keyPath) ->
absoluteKeyPath = @getAbsoluteKeyPath(keyPath)
atom.config.get(absoluteKeyPath)
@set: (keyPath, value) ->
absoluteK... | true | minimatch = require 'minimatch'
module.exports =
class Config
@ROOT_KEY: 'PI:KEY:<KEY>END_PI'
@getAbsoluteKeyPath: (keys...) ->
keys.unshift(@ROOT_KEY)
keys.join('.')
@get: (keyPath) ->
absoluteKeyPath = @getAbsoluteKeyPath(keyPath)
atom.config.get(absoluteKeyPath)
@set: (keyPath, value) ->
... |
[
{
"context": "registry.register [], ({metadata}) ->\n key: \"root value, depth #{metadata.depth}\"\n {key} = await nikit",
"end": 797,
"score": 0.7480694651603699,
"start": 787,
"tag": "KEY",
"value": "root value"
},
{
"context": " {key} = await nikita()\n key.should.eql... | packages/core/test/plugins/metadata/depth.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{tags} = require '../../test'
nikita = require '../../../src'
registry = require '../../../src/registry'
register = require '../../../src/register'
describe 'plugins.metadata.depth', ->
return unless tags.api
it 'start at 0', ->
nikita ({metadata}) ->
metadata.depth.should.eql 0
it 'is increme... | 66172 |
{tags} = require '../../test'
nikita = require '../../../src'
registry = require '../../../src/registry'
register = require '../../../src/register'
describe 'plugins.metadata.depth', ->
return unless tags.api
it 'start at 0', ->
nikita ({metadata}) ->
metadata.depth.should.eql 0
it 'is increme... | true |
{tags} = require '../../test'
nikita = require '../../../src'
registry = require '../../../src/registry'
register = require '../../../src/register'
describe 'plugins.metadata.depth', ->
return unless tags.api
it 'start at 0', ->
nikita ({metadata}) ->
metadata.depth.should.eql 0
it 'is increme... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998401403427124,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | gulpfile.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
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 cond... | 184938 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": " # live https://docs.google.com/spreadsheets/d/10DNDmOG19shNnuw6cwtCpK-sBnexRCCtD4WnxJx_DPQ/edit",
"end": 11374,
"score": 0.6573163866996765,
"start": 11373,
"tag": "KEY",
"value": "d"
},
{
"context": " # live https://docs.google.com/spreadsheets/d/10DNDmOG19shN... | noddy/service/v2/permissions_deprecated.coffee | oaworks/API | 2 |
'''
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
return API.service.oab.permissions this.queryParams, this.queryParams.content, this.queryParams.url, this.queryParams.confirmed, this.queryParams.uid
post: () ->
return API.service.oab.permissions thi... | 112859 |
'''
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
return API.service.oab.permissions this.queryParams, this.queryParams.content, this.queryParams.url, this.queryParams.confirmed, this.queryParams.uid
post: () ->
return API.service.oab.permissions thi... | true |
'''
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
return API.service.oab.permissions this.queryParams, this.queryParams.content, this.queryParams.url, this.queryParams.confirmed, this.queryParams.uid
post: () ->
return API.service.oab.permissions thi... |
[
{
"context": "mail?)\n user = API.accounts.retrieve({password:params.password, username: username, email: email})\n user = un",
"end": 14257,
"score": 0.9920653700828552,
"start": 14242,
"tag": "PASSWORD",
"value": "params.password"
},
{
"context": "unts.retrieve({password:para... | server/accounts.coffee | leviathanindustries/noddy | 2 |
import moment from 'moment'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import crypto from 'crypto'
# Users is exposed as global in case required, but should not be used - this accounts module exists to interact with Users
@Users = new API.collection type: "users", history: true
@Tokens... | 126208 |
import moment from 'moment'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import crypto from 'crypto'
# Users is exposed as global in case required, but should not be used - this accounts module exists to interact with Users
@Users = new API.collection type: "users", history: true
@Tokens... | true |
import moment from 'moment'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import crypto from 'crypto'
# Users is exposed as global in case required, but should not be used - this accounts module exists to interact with Users
@Users = new API.collection type: "users", history: true
@Tokens... |
[
{
"context": "orm: form\n language: $.i18n.lng()\n name: taskName\n patientCode: TabCAT.Encounter.getPatien",
"end": 6878,
"score": 0.9508673548698425,
"start": 6874,
"tag": "NAME",
"value": "task"
}
] | core/js/tabcat/task.coffee | jhowe-uw/tabcat | 0 | ###
Copyright (c) 2013-2014, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this li... | 144144 | ###
Copyright (c) 2013-2014, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this li... | true | ###
Copyright (c) 2013-2014, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this li... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andre",
"end": 12,
"score": 0.5913367867469788,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author aladjev.andrew@gma",
"end": 17,
"score": 0.... | source/javascripts/new_src/lights/point.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author aladjev.andrew@gmail.com
#= require new_src/core/vector_3
#= require new_src/lights/light
class PointLight extends THREE.Light
constructor: (hex, intensity, distance) ->
super hex
@position = new THREE.Vector3 0, 0, 0
@intensity = (if (intensity isnt unde... | 141908 | # @author mr.<NAME> / http://mrdoob.com/
# @author <EMAIL>
#= require new_src/core/vector_3
#= require new_src/lights/light
class PointLight extends THREE.Light
constructor: (hex, intensity, distance) ->
super hex
@position = new THREE.Vector3 0, 0, 0
@intensity = (if (intensity isnt undefined) then int... | true | # @author mr.PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/vector_3
#= require new_src/lights/light
class PointLight extends THREE.Light
constructor: (hex, intensity, distance) ->
super hex
@position = new THREE.Vector3 0, 0, 0
@intensity = (if (inten... |
[
{
"context": "e.json'\nargs = require './args'\n\nip = args.ip or '58.162.0.1'\n\nconsole.log \"\"\"\nTechnicolor OpenWRT Shell Unloc",
"end": 84,
"score": 0.9997539520263672,
"start": 74,
"tag": "IP_ADDRESS",
"value": "58.162.0.1"
},
{
"context": "icolor OpenWRT Shell Unlocker v#{ p... | src/index.coffee | BoLaMN/tch-exploit | 58 | pkg = require '../package.json'
args = require './args'
ip = args.ip or '58.162.0.1'
console.log """
Technicolor OpenWRT Shell Unlocker v#{ pkg.version } By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static ip address
IPv4 Addr... | 214073 | pkg = require '../package.json'
args = require './args'
ip = args.ip or '172.16.17.32'
console.log """
Technicolor OpenWRT Shell Unlocker v#{ pkg.version } By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static ip address
IPv4 Ad... | true | pkg = require '../package.json'
args = require './args'
ip = args.ip or 'PI:IP_ADDRESS:172.16.17.32END_PI'
console.log """
Technicolor OpenWRT Shell Unlocker v#{ pkg.version } By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static i... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998460412025452,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/kernel.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 58215 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "(assert, expect, btoa, Octokit) ->\n\n USERNAME = 'octokit-test'\n TOKEN = 'dca7f85a5911df8e9b7aeb4c5be8f5f50806a",
"end": 74,
"score": 0.9991998672485352,
"start": 62,
"tag": "USERNAME",
"value": "octokit-test"
},
{
"context": "tokit) ->\n\n USERNAME = 'octokit-test... | public/js/octokit/test/common.coffee | alfredo-pozo/DynamoDictionary | 11 | makeTests = (assert, expect, btoa, Octokit) ->
USERNAME = 'octokit-test'
TOKEN = 'dca7f85a5911df8e9b7aeb4c5be8f5f50806ac49'
ORG_NAME = 'octokit-test-org'
REPO_USER = USERNAME
REPO_NAME = 'octokit-test-repo' # Cannot use '.' because najax does not like it
REPO_HOMEPAGE = 'https:/github.com/philschatz/oct... | 77511 | makeTests = (assert, expect, btoa, Octokit) ->
USERNAME = 'octokit-test'
TOKEN = '<KEY>'
ORG_NAME = 'octokit-test-org'
REPO_USER = USERNAME
REPO_NAME = 'octokit-test-repo' # Cannot use '.' because najax does not like it
REPO_HOMEPAGE = 'https:/github.com/philschatz/octokit.js'
OTHER_HOMEPAGE = 'http:/... | true | makeTests = (assert, expect, btoa, Octokit) ->
USERNAME = 'octokit-test'
TOKEN = 'PI:KEY:<KEY>END_PI'
ORG_NAME = 'octokit-test-org'
REPO_USER = USERNAME
REPO_NAME = 'octokit-test-repo' # Cannot use '.' because najax does not like it
REPO_HOMEPAGE = 'https:/github.com/philschatz/octokit.js'
OTHER_HOMEP... |
[
{
"context": "y UI selectmenu editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 93,
"score": 0.9998735189437866,
"start": 77,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/selectmenu.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI selectmenu editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['unders... | 62741 | ###
Backbone-Forms jQuery UI selectmenu editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'ba... | true | ###
Backbone-Forms jQuery UI selectmenu editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['un... |
[
{
"context": "ult i18n hash for the dates\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nunless Date.i18n\n Date.i18n =\n days: ",
"end": 76,
"score": 0.9998921155929565,
"start": 59,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/date/src/i18n.coffee | lovely-io/lovely.io-stl | 2 | #
# Default i18n hash for the dates
#
# Copyright (C) 2011 Nikolay Nemshilov
#
unless Date.i18n
Date.i18n =
days: 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday'
daysShort: 'Sun Mon Tue Wed Thu Fri Sat'
daysMin: 'Su Mo Tu We Th Fr Sa'
months: 'January February March April ... | 44916 | #
# Default i18n hash for the dates
#
# Copyright (C) 2011 <NAME>
#
unless Date.i18n
Date.i18n =
days: 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday'
daysShort: 'Sun Mon Tue Wed Thu Fri Sat'
daysMin: 'Su Mo Tu We Th Fr Sa'
months: 'January February March April May June Ju... | true | #
# Default i18n hash for the dates
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
unless Date.i18n
Date.i18n =
days: 'Sunday Monday Tuesday Wednesday Thursday Friday Saturday'
daysShort: 'Sun Mon Tue Wed Thu Fri Sat'
daysMin: 'Su Mo Tu We Th Fr Sa'
months: 'January February March Apr... |
[
{
"context": "###\n turing-program.coffee\n Fionan Haralddottir\n Spring 2015\n This program is published under t",
"end": 49,
"score": 0.9998810291290283,
"start": 30,
"tag": "NAME",
"value": "Fionan Haralddottir"
},
{
"context": " <decision for symbol 0>, etc.)\n\n constructor... | src/turing-program.coffee | Lokidottir/coffeescript-turing-machine | 0 | ###
turing-program.coffee
Fionan Haralddottir
Spring 2015
This program is published under the MIT licence
###
# Function for testing if a state number is the halting state
isHaltingState = (statenum) -> statenum < 0
class TuringProgram
symbols: null # The number of symbols in the program
states: {} #... | 95427 | ###
turing-program.coffee
<NAME>
Spring 2015
This program is published under the MIT licence
###
# Function for testing if a state number is the halting state
isHaltingState = (statenum) -> statenum < 0
class TuringProgram
symbols: null # The number of symbols in the program
states: {} # The states o... | true | ###
turing-program.coffee
PI:NAME:<NAME>END_PI
Spring 2015
This program is published under the MIT licence
###
# Function for testing if a state number is the halting state
isHaltingState = (statenum) -> statenum < 0
class TuringProgram
symbols: null # The number of symbols in the program
states: {} ... |
[
{
"context": "#\n# Copyright (c) 2020 Alexander Sporn. All rights reserved.\n#\n\n{EventEmitter} = require",
"end": 38,
"score": 0.9998722672462463,
"start": 23,
"tag": "NAME",
"value": "Alexander Sporn"
}
] | Enocean.coffee | alexsporn/enocean-mqtt | 0 | #
# Copyright (c) 2020 Alexander Sporn. All rights reserved.
#
{EventEmitter} = require 'events'
SerialPort = require 'serialport'
EnoceanJS = require 'enocean-js'
module.exports = class Enocean extends EventEmitter
constructor: (@options) ->
super()
@port = new SerialPort(@options.port, baudRate: 57600)
... | 61335 | #
# Copyright (c) 2020 <NAME>. All rights reserved.
#
{EventEmitter} = require 'events'
SerialPort = require 'serialport'
EnoceanJS = require 'enocean-js'
module.exports = class Enocean extends EventEmitter
constructor: (@options) ->
super()
@port = new SerialPort(@options.port, baudRate: 57600)
@parse... | true | #
# Copyright (c) 2020 PI:NAME:<NAME>END_PI. All rights reserved.
#
{EventEmitter} = require 'events'
SerialPort = require 'serialport'
EnoceanJS = require 'enocean-js'
module.exports = class Enocean extends EventEmitter
constructor: (@options) ->
super()
@port = new SerialPort(@options.port, baudRate: 576... |
[
{
"context": "ve OverlappingMarkerSpiderfier\nhttps://github.com/jawj/OverlappingMarkerSpiderfier\nCopyright (c) 2011 - ",
"end": 66,
"score": 0.999650776386261,
"start": 62,
"tag": "USERNAME",
"value": "jawj"
},
{
"context": "rlappingMarkerSpiderfier\nCopyright (c) 2011 - 2013 Georg... | node_modules/overlapping-marker-spiderfier/src/oms.coffee | avtarvikas/dookApp | 1 | ###* @preserve OverlappingMarkerSpiderfier
https://github.com/jawj/OverlappingMarkerSpiderfier
Copyright (c) 2011 - 2013 George MacKerron
Released under the MIT licence: http://opensource.org/licenses/mit-license
Note: The Google Maps API v3 must be included *before* this code
###
class @['OverlappingMarkerSpiderfier'... | 48597 | ###* @preserve OverlappingMarkerSpiderfier
https://github.com/jawj/OverlappingMarkerSpiderfier
Copyright (c) 2011 - 2013 <NAME>
Released under the MIT licence: http://opensource.org/licenses/mit-license
Note: The Google Maps API v3 must be included *before* this code
###
class @['OverlappingMarkerSpiderfier']
p = @:... | true | ###* @preserve OverlappingMarkerSpiderfier
https://github.com/jawj/OverlappingMarkerSpiderfier
Copyright (c) 2011 - 2013 PI:NAME:<NAME>END_PI
Released under the MIT licence: http://opensource.org/licenses/mit-license
Note: The Google Maps API v3 must be included *before* this code
###
class @['OverlappingMarkerSpiderf... |
[
{
"context": " handling module tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set '/s",
"end": 92,
"score": 0.9998794198036194,
"start": 75,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/element/styles_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The Element's styles handling module tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
Test.set '/styles.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
<style>
#test {
color: #884422;
... | 51253 | #
# The Element's styles handling module tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
Test.set '/styles.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
<style>
#test {
color: #884422;
backgroun... | true | #
# The Element's styles handling module tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
Test.set '/styles.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
<style>
#test {
color: #884422;
... |
[
{
"context": " 'result:', result\n\nparameters = [{ ID: 5, Name: \"正一郎\" }\n { ID: 13, Name: \"清次郎\" }\n ",
"end": 262,
"score": 0.9997807741165161,
"start": 259,
"tag": "NAME",
"value": "正一郎"
},
{
"context": "D: 5, Name: \"正一郎\" }\n { ID: 13, Name: \"... | test/coffee/firstOrDefault.coffee | Lxsbw/linqjs | 0 | Linq = require('../../src/coffee')
numbers = [ 1, 2, 3, 5, 7, 11 ]
result = new Linq(numbers).First()
console.log 'result:', result
result = new Linq(numbers).First( (value) -> value % 2 == 0 )
console.log 'result:', result
parameters = [{ ID: 5, Name: "正一郎" }
{ ID: 13, Name: "清次郎" }
{ ID... | 52366 | Linq = require('../../src/coffee')
numbers = [ 1, 2, 3, 5, 7, 11 ]
result = new Linq(numbers).First()
console.log 'result:', result
result = new Linq(numbers).First( (value) -> value % 2 == 0 )
console.log 'result:', result
parameters = [{ ID: 5, Name: "<NAME>" }
{ ID: 13, Name: "<NAME>" }
... | true | Linq = require('../../src/coffee')
numbers = [ 1, 2, 3, 5, 7, 11 ]
result = new Linq(numbers).First()
console.log 'result:', result
result = new Linq(numbers).First( (value) -> value % 2 == 0 )
console.log 'result:', result
parameters = [{ ID: 5, Name: "PI:NAME:<NAME>END_PI" }
{ ID: 13, Name: "PI:NAME... |
[
{
"context": "key: 'hr'\npatterns: [\n {\n name: 'hr.md'\n match: '^[",
"end": 8,
"score": 0.9264253973960876,
"start": 6,
"tag": "KEY",
"value": "hr"
}
] | grammars/repositories/blocks/hr.cson | plttn/language-markdown | 0 | key: 'hr'
patterns: [
{
name: 'hr.md'
match: '^[ ]{0,3}[-]{1,} *[-]{1,} *[-]{1,}[ -]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[*]{1,} *[*]{1,} *[*]{1,}[ \*]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[_]{1,} *[_]{1,} *[_]{1,}[ _]*$'
}
]
| 47041 | key: '<KEY>'
patterns: [
{
name: 'hr.md'
match: '^[ ]{0,3}[-]{1,} *[-]{1,} *[-]{1,}[ -]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[*]{1,} *[*]{1,} *[*]{1,}[ \*]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[_]{1,} *[_]{1,} *[_]{1,}[ _]*$'
}
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
name: 'hr.md'
match: '^[ ]{0,3}[-]{1,} *[-]{1,} *[-]{1,}[ -]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[*]{1,} *[*]{1,} *[*]{1,}[ \*]*$'
}
{
name: 'hr.md'
match: '^[ ]{0,3}[_]{1,} *[_]{1,} *[_]{1,}[ _]*$'
}
]
|
[
{
"context": "d', (done) ->\n Channel.save {\n name: 'Channel'\n user_ids: ['5086df098523e60002000015', '",
"end": 704,
"score": 0.5147650837898254,
"start": 697,
"tag": "NAME",
"value": "Channel"
},
{
"context": "d', (done) ->\n Channel.save {\n name: ... | src/api/apps/channels/test/model.test.coffee | craigspaeth/positron | 76 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Channel = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Channel', ->
beforeEach (done) ->
empty ->
fabricate 'channels', _.times(10, -> {}), ->
done()
descr... | 157888 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Channel = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Channel', ->
beforeEach (done) ->
empty ->
fabricate 'channels', _.times(10, -> {}), ->
done()
descr... | true | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Channel = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Channel', ->
beforeEach (done) ->
empty ->
fabricate 'channels', _.times(10, -> {}), ->
done()
descr... |
[
{
"context": "'name', presence: yes\n\n p = new Product name: 'nick'\n p.validate (error, errors) ->\n throw er",
"end": 2150,
"score": 0.766609251499176,
"start": 2146,
"tag": "NAME",
"value": "nick"
},
{
"context": " equal errors.length, 1\n u.set('email', 'test... | tests/batman/model/validations_test.coffee | davidcornu/batman | 0 | validationsTestSuite = ->
asyncTest "validation should leave the model in the same state it left it", ->
class Product extends Batman.Model
@validate 'name', presence: yes
p = new Product
oldState = p.get('lifecycle.state')
p.validate (error, errors) ->
equal p.get('lifecycle.state'), old... | 194706 | validationsTestSuite = ->
asyncTest "validation should leave the model in the same state it left it", ->
class Product extends Batman.Model
@validate 'name', presence: yes
p = new Product
oldState = p.get('lifecycle.state')
p.validate (error, errors) ->
equal p.get('lifecycle.state'), old... | true | validationsTestSuite = ->
asyncTest "validation should leave the model in the same state it left it", ->
class Product extends Batman.Model
@validate 'name', presence: yes
p = new Product
oldState = p.get('lifecycle.state')
p.validate (error, errors) ->
equal p.get('lifecycle.state'), old... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.