entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "# Description:\n# Random sized picture of Kevin Spacey on demand\n#\n# Commands\n# spacey me\n\nsizes = [1",
"end": 55,
"score": 0.985482394695282,
"start": 43,
"tag": "NAME",
"value": "Kevin Spacey"
}
] | src/spacey.coffee | ChrisMissal/hubot-spacey | 0 | # Description:
# Random sized picture of Kevin Spacey on demand
#
# Commands
# spacey me
sizes = [100...500]
module.exports = (robot) ->
robot.respond /spacey me/i, (msg) ->
height = msg.random sizes
width = msg.random sizes
msg.send "http://kevinspacer.com/#{width}/#{height}#.png"
| 65848 | # Description:
# Random sized picture of <NAME> on demand
#
# Commands
# spacey me
sizes = [100...500]
module.exports = (robot) ->
robot.respond /spacey me/i, (msg) ->
height = msg.random sizes
width = msg.random sizes
msg.send "http://kevinspacer.com/#{width}/#{height}#.png"
| true | # Description:
# Random sized picture of PI:NAME:<NAME>END_PI on demand
#
# Commands
# spacey me
sizes = [100...500]
module.exports = (robot) ->
robot.respond /spacey me/i, (msg) ->
height = msg.random sizes
width = msg.random sizes
msg.send "http://kevinspacer.com/#{width}/#{height}#.png"
|
[
{
"context": "LED = 'true'\n process.env.RADBUS_API_KEYS = '1234,4321'\n\n afterEach ->\n delete process.env.RADBU",
"end": 1051,
"score": 0.9964066743850708,
"start": 1042,
"tag": "KEY",
"value": "1234,4321"
},
{
"context": " .get('/routes')\n .headers('API-K... | test/lib/test-server.coffee | twistedstream/radbus-api | 2 | # coffeelint: disable=max_line_length
chai = require 'chai'
chai.use require 'chai-as-promised'
should = chai.should()
request = require 'super-request'
helpers = require '../api/helpers'
Q = require 'q'
# stub dependencies
routeData =
fetchAll: ->
Q [
{ id: '123', description: 'Route 123' },
{ id: ... | 162598 | # coffeelint: disable=max_line_length
chai = require 'chai'
chai.use require 'chai-as-promised'
should = chai.should()
request = require 'super-request'
helpers = require '../api/helpers'
Q = require 'q'
# stub dependencies
routeData =
fetchAll: ->
Q [
{ id: '123', description: 'Route 123' },
{ id: ... | true | # coffeelint: disable=max_line_length
chai = require 'chai'
chai.use require 'chai-as-promised'
should = chai.should()
request = require 'super-request'
helpers = require '../api/helpers'
Q = require 'q'
# stub dependencies
routeData =
fetchAll: ->
Q [
{ id: '123', description: 'Route 123' },
{ id: ... |
[
{
"context": "NAME = <user name>\n# HUBOT_YOUTRACK_PASSWORD = <password>\n# HUBOT_YOUTRACK_URL = <scheme>://<userna",
"end": 275,
"score": 0.7296018004417419,
"start": 267,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "sponds with a summary of the issue\n#\n# Autho... | src/scripts/youtrack.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Listens for patterns matching youtrack issues and provides information about
# them
#
# Dependencies:
# url
#
# Configuration:
# HUBOT_YOUTRACK_HOSTNAME = <host:port>
# HUBOT_YOUTRACK_USERNAME = <user name>
# HUBOT_YOUTRACK_PASSWORD = <password>
# HUBOT_YOUTRACK_URL = <scheme>://<u... | 179580 | # Description:
# Listens for patterns matching youtrack issues and provides information about
# them
#
# Dependencies:
# url
#
# Configuration:
# HUBOT_YOUTRACK_HOSTNAME = <host:port>
# HUBOT_YOUTRACK_USERNAME = <user name>
# HUBOT_YOUTRACK_PASSWORD = <<PASSWORD>>
# HUBOT_YOUTRACK_URL = <scheme>://... | true | # Description:
# Listens for patterns matching youtrack issues and provides information about
# them
#
# Dependencies:
# url
#
# Configuration:
# HUBOT_YOUTRACK_HOSTNAME = <host:port>
# HUBOT_YOUTRACK_USERNAME = <user name>
# HUBOT_YOUTRACK_PASSWORD = <PI:PASSWORD:<PASSWORD>END_PI>
# HUBOT_YOUTRACK_URL ... |
[
{
"context": "maskings:\n parent: 'servers'\n key: 'maskingsnapshots'\n stores: ['snapshots']\n\n bind:\n ",
"end": 245,
"score": 0.9931385517120361,
"start": 229,
"tag": "KEY",
"value": "maskingsnapshots"
}
] | sencha/apps/cloud/coffee/app/Cloud/view/server/ListSnapshots.coffee | liverbool/c.com | 0 | Ext.define 'Magice.Cloud.view.server.ListSnapshots',
extend: 'Ext.window.Window'
xtype: 'server-list-snapshots'
width: 450
height: 300
maximizable: yes
maskings:
parent: 'servers'
key: 'maskingsnapshots'
stores: ['snapshots']
bind:
title: 'Snapshots - {ser... | 90738 | Ext.define 'Magice.Cloud.view.server.ListSnapshots',
extend: 'Ext.window.Window'
xtype: 'server-list-snapshots'
width: 450
height: 300
maximizable: yes
maskings:
parent: 'servers'
key: '<KEY>'
stores: ['snapshots']
bind:
title: 'Snapshots - {server.name}'
... | true | Ext.define 'Magice.Cloud.view.server.ListSnapshots',
extend: 'Ext.window.Window'
xtype: 'server-list-snapshots'
width: 450
height: 300
maximizable: yes
maskings:
parent: 'servers'
key: 'PI:KEY:<KEY>END_PI'
stores: ['snapshots']
bind:
title: 'Snapshots - {s... |
[
{
"context": " config and plays a random, valid move.\n\n Author: Mikolaj Pawlikowski (mikolaj@pawlikowski.pl)\n\n###\n\n\n# this is a very ",
"end": 189,
"score": 0.9998817443847656,
"start": 170,
"tag": "NAME",
"value": "Mikolaj Pawlikowski"
},
{
"context": "ndom, valid move.\n\n ... | bot.coffee | Ribesg/battleships-bot | 0 | ###
Random bot: an example bot to illustrate how easy it is to write one.
It doesn't do much: starts with a fixed config and plays a random, valid move.
Author: Mikolaj Pawlikowski (mikolaj@pawlikowski.pl)
###
# this is a very simple bot, it always starts the same
config =
2:
point: "00"
orientati... | 18696 | ###
Random bot: an example bot to illustrate how easy it is to write one.
It doesn't do much: starts with a fixed config and plays a random, valid move.
Author: <NAME> (<EMAIL>)
###
# this is a very simple bot, it always starts the same
config =
2:
point: "00"
orientation: "vertical"
3:
poin... | true | ###
Random bot: an example bot to illustrate how easy it is to write one.
It doesn't do much: starts with a fixed config and plays a random, valid move.
Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
# this is a very simple bot, it always starts the same
config =
2:
point: "00"
orientat... |
[
{
"context": "credentials = {\n username: ''\n password: ''\n }\n\n $scope.closed = true\n\n $scope.toggl",
"end": 345,
"score": 0.9418572783470154,
"start": 345,
"tag": "PASSWORD",
"value": ""
}
] | app/scripts/controllers/login.coffee | MaximeMorille/BoardGamesCriticsClient | 0 | 'use strict'
###*
# @ngdoc function
# @name boardGamesCriticsClientApp.controller:LoginCtrl
# @description
# # LoginCtrl
# Controller of the boardGamesCriticsClientApp
###
angular.module('boardGamesCriticsClientApp')
.controller('LoginCtrl', ($scope, AuthService, Session) ->
$scope.credentials = {
use... | 198222 | 'use strict'
###*
# @ngdoc function
# @name boardGamesCriticsClientApp.controller:LoginCtrl
# @description
# # LoginCtrl
# Controller of the boardGamesCriticsClientApp
###
angular.module('boardGamesCriticsClientApp')
.controller('LoginCtrl', ($scope, AuthService, Session) ->
$scope.credentials = {
use... | true | 'use strict'
###*
# @ngdoc function
# @name boardGamesCriticsClientApp.controller:LoginCtrl
# @description
# # LoginCtrl
# Controller of the boardGamesCriticsClientApp
###
angular.module('boardGamesCriticsClientApp')
.controller('LoginCtrl', ($scope, AuthService, Session) ->
$scope.credentials = {
use... |
[
{
"context": "return\n\n\nrouter.get '/auth', (req, res) ->\n key = process.env.pocket1\n codeUrl = 'https://getpocket.com/v3/oauth/reque",
"end": 281,
"score": 0.9092087149620056,
"start": 262,
"tag": "KEY",
"value": "process.env.pocket1"
},
{
"context": "'https://getpocket.com/v3... | routes/index.coffee | youqingkui/read-my-pocket | 0 | express = require('express')
async = require('async')
request = require('request')
router = express.Router()
### GET home page. ###
router.get '/', (req, res, next) ->
res.render 'index', title: 'Express'
return
router.get '/auth', (req, res) ->
key = process.env.pocket1
codeUrl = 'https://getpocket.com/v3/... | 19558 | express = require('express')
async = require('async')
request = require('request')
router = express.Router()
### GET home page. ###
router.get '/', (req, res, next) ->
res.render 'index', title: 'Express'
return
router.get '/auth', (req, res) ->
key = <KEY>
codeUrl = 'https://getpocket.com/v3/oauth/request'... | true | express = require('express')
async = require('async')
request = require('request')
router = express.Router()
### GET home page. ###
router.get '/', (req, res, next) ->
res.render 'index', title: 'Express'
return
router.get '/auth', (req, res) ->
key = PI:KEY:<KEY>END_PI
codeUrl = 'https://getpocket.com/v3/o... |
[
{
"context": "cribe 'UserSessionsManager', ->\n\n\tbeforeEach ->\n\t\t@user =\n\t\t\t_id: \"abcd\"\n\t\t\temail: \"user@example.com\"",
"end": 263,
"score": 0.5071130990982056,
"start": 263,
"tag": "USERNAME",
"value": ""
},
{
"context": "beforeEach ->\n\t\t@user =\n\t\t\t_id: \"abcd... | test/UnitTests/coffee/User/UserSessionsManagerTests.coffee | bowlofstew/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserSessionsManager.js"
SandboxedModule = require('sandboxed-module')
describe 'UserSessionsManager', ->
beforeEach ->
@user =
_id: "abcd"
email: "user@example.com"
@se... | 157133 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserSessionsManager.js"
SandboxedModule = require('sandboxed-module')
describe 'UserSessionsManager', ->
beforeEach ->
@user =
_id: "abcd"
email: "<EMAIL>"
@sessionId =... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserSessionsManager.js"
SandboxedModule = require('sandboxed-module')
describe 'UserSessionsManager', ->
beforeEach ->
@user =
_id: "abcd"
email: "PI:EMAIL:<EMAIL>END_PI"... |
[
{
"context": "\"\n \"https://www.nylas.com\"\n \"mailto:evan@nylas.com\"\n \"tel:8585311718\"\n \"custom:www.nyl",
"end": 1051,
"score": 0.9999285936355591,
"start": 1037,
"tag": "EMAIL",
"value": "evan@nylas.com"
}
] | packages/client-app/spec/components/evented-iframe-spec.cjsx | cnheider/nylas-mail | 24,369 | React = require "react"
ReactTestUtils = require('react-addons-test-utils')
EventedIFrame = require '../../src/components/evented-iframe'
describe 'EventedIFrame', ->
describe 'link clicking behavior', ->
beforeEach ->
@frame = ReactTestUtils.renderIntoDocument(
<EventedIFrame src="about:blank" />... | 21099 | React = require "react"
ReactTestUtils = require('react-addons-test-utils')
EventedIFrame = require '../../src/components/evented-iframe'
describe 'EventedIFrame', ->
describe 'link clicking behavior', ->
beforeEach ->
@frame = ReactTestUtils.renderIntoDocument(
<EventedIFrame src="about:blank" />... | true | React = require "react"
ReactTestUtils = require('react-addons-test-utils')
EventedIFrame = require '../../src/components/evented-iframe'
describe 'EventedIFrame', ->
describe 'link clicking behavior', ->
beforeEach ->
@frame = ReactTestUtils.renderIntoDocument(
<EventedIFrame src="about:blank" />... |
[
{
"context": "le categories\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype",
"end": 78,
"score": 0.9993904829025269,
"start": 72,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "://github.com/nodize/nodizecms\n#\n# Copyright 2... | modules/backend/controllers/ctrl_category.coffee | nodize/nodizecms | 32 | # Controller for article categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
Settings = @Settings
#
# CATEGORIES SETTINGS
#
@post "/:lang/admin/category/get_l... | 122100 | # Controller for article categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
Settings = @Settings
#
# CATEGORIES SETTINGS
#
@post "/:lang/admin/category/get_... | true | # Controller for article categories
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
Settings = @Settings
#
# CATEGORIES SETTINGS
#
@post "/:lang/admin... |
[
{
"context": "iling list.\n#\n# Examples:\n# post json {\"email\":\"name@example.com\", \"source\":\"manylabs.org mailing list\"} to the ur",
"end": 134,
"score": 0.9999210238456726,
"start": 118,
"tag": "EMAIL",
"value": "name@example.com"
},
{
"context": "-H \"Content-Type: appli... | scripts/signup-notifier.coffee | 100ideas/manylabs-hubot | 0 | # Description:
# let us know when someone has signed up for the mailing list.
#
# Examples:
# post json {"email":"name@example.com", "source":"manylabs.org mailing list"} to the url
#
# URLs:
# manylabs-hubot.heroku.com/hubot/signup-notifier
#
# Notes:
#
# Post raw json with application/json
# curl -X PO... | 122941 | # Description:
# let us know when someone has signed up for the mailing list.
#
# Examples:
# post json {"email":"<EMAIL>", "source":"manylabs.org mailing list"} to the url
#
# URLs:
# manylabs-hubot.heroku.com/hubot/signup-notifier
#
# Notes:
#
# Post raw json with application/json
# curl -X POST -H "Co... | true | # Description:
# let us know when someone has signed up for the mailing list.
#
# Examples:
# post json {"email":"PI:EMAIL:<EMAIL>END_PI", "source":"manylabs.org mailing list"} to the url
#
# URLs:
# manylabs-hubot.heroku.com/hubot/signup-notifier
#
# Notes:
#
# Post raw json with application/json
# curl... |
[
{
"context": "# Info.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Controls ap",
"end": 22,
"score": 0.998016893863678,
"start": 16,
"tag": "NAME",
"value": "Tomasz"
},
{
"context": "# Info.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Controls application... | src/Info.coffee | SachithDassanayaka/sachithdassanayaka.github.io | 0 | # Info.coffee
# Tomasz (Tomek) Zemla
# tomek@datacratic.com
# Controls application info console on the right side of the application window.
Panel = require('./Panel.coffee')
class Info extends Panel
# C O N S T R U C T O R
# Create info console panel.
constructor: (id) ->
super(id)
# M E T H... | 32843 | # Info.coffee
# <NAME> (<NAME>
# <EMAIL>
# Controls application info console on the right side of the application window.
Panel = require('./Panel.coffee')
class Info extends Panel
# C O N S T R U C T O R
# Create info console panel.
constructor: (id) ->
super(id)
# M E T H O D S
# Displa... | true | # Info.coffee
# PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
# Controls application info console on the right side of the application window.
Panel = require('./Panel.coffee')
class Info extends Panel
# C O N S T R U C T O R
# Create info console panel.
constructor: (id) ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991982579231262,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-upgrade-server2.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... | 53692 | # 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": "h4Files = (body) ->\n keys = [1..4].map (n) -> \"tmp/spec/list/file_#{n}\"\n\n beforeEach (done) ->\n parallel(\n ",
"end": 543,
"score": 0.8500592112541199,
"start": 522,
"tag": "KEY",
"value": "tmp/spec/list/file_#{"
}
] | spec/knox-copy.spec.coffee | dweinstein/knox-copy | 3 | knoxCopy = require '..'
fs = require 'fs'
{parallel} = require 'async'
describe 'knox-copy', ->
{key, bucket, client} = {}
beforeEach ->
try
{key, secret, bucket} = JSON.parse fs.readFileSync('auth', 'ascii')
client = knoxCopy.createClient {key, secret, bucket}
catch err
console.error 'T... | 6536 | knoxCopy = require '..'
fs = require 'fs'
{parallel} = require 'async'
describe 'knox-copy', ->
{key, bucket, client} = {}
beforeEach ->
try
{key, secret, bucket} = JSON.parse fs.readFileSync('auth', 'ascii')
client = knoxCopy.createClient {key, secret, bucket}
catch err
console.error 'T... | true | knoxCopy = require '..'
fs = require 'fs'
{parallel} = require 'async'
describe 'knox-copy', ->
{key, bucket, client} = {}
beforeEach ->
try
{key, secret, bucket} = JSON.parse fs.readFileSync('auth', 'ascii')
client = knoxCopy.createClient {key, secret, bucket}
catch err
console.error 'T... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985895156860352,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-setup-master-cumulative.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... | 1920 | # 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": "v>\n </div>')\n\n person =\n firstname: 'Jasmine'\n lastname: 'Taylor'\n email: 'jasm",
"end": 345,
"score": 0.9996112585067749,
"start": 338,
"tag": "NAME",
"value": "Jasmine"
},
{
"context": "mine'\n lastname: 'Taylor'\n email: ... | spec/directives.spec.coffee | dineshkummarc/transparency | 1 | require './spec_helper'
require '../src/jquery.transparency'
describe "Transparency", ->
it "should calculate values with directives", ->
doc = jQuery(
'<div>
<div class="person">
<span class="name"></span>
<span class="email"></span>
</div>
</div>')
person =
... | 185466 | require './spec_helper'
require '../src/jquery.transparency'
describe "Transparency", ->
it "should calculate values with directives", ->
doc = jQuery(
'<div>
<div class="person">
<span class="name"></span>
<span class="email"></span>
</div>
</div>')
person =
... | true | require './spec_helper'
require '../src/jquery.transparency'
describe "Transparency", ->
it "should calculate values with directives", ->
doc = jQuery(
'<div>
<div class="person">
<span class="name"></span>
<span class="email"></span>
</div>
</div>')
person =
... |
[
{
"context": "\n model: @dataSource\n key: \"keywords\"\n\n @$el.prepend @searchInput.render().$el\n",
"end": 4199,
"score": 0.6265037655830383,
"start": 4191,
"tag": "KEY",
"value": "keywords"
}
] | app/vendor/kalnoy/cruddy/resources/assets/coffee/inputs/entitySelector.coffee | EH7AN/lawyers | 0 | class Cruddy.Inputs.EntitySelector extends Cruddy.Inputs.Base
className: "entity-selector"
events:
"click .items>.item": "checkItem"
"click .more": "loadMore"
"click .btn-add": "showNewForm"
"click .btn-refresh": "refresh"
"click [type=search]": -> false
initialize:... | 11658 | class Cruddy.Inputs.EntitySelector extends Cruddy.Inputs.Base
className: "entity-selector"
events:
"click .items>.item": "checkItem"
"click .more": "loadMore"
"click .btn-add": "showNewForm"
"click .btn-refresh": "refresh"
"click [type=search]": -> false
initialize:... | true | class Cruddy.Inputs.EntitySelector extends Cruddy.Inputs.Base
className: "entity-selector"
events:
"click .items>.item": "checkItem"
"click .more": "loadMore"
"click .btn-add": "showNewForm"
"click .btn-refresh": "refresh"
"click [type=search]": -> false
initialize:... |
[
{
"context": " from awesome\n Atom-terminal-panel\n Copyright by isis97/VadimDor\n MIT licensed\n\n The main terminal view",
"end": 87,
"score": 0.9996684193611145,
"start": 81,
"tag": "USERNAME",
"value": "isis97"
},
{
"context": "esome\n Atom-terminal-panel\n Copyright by isi... | lib/atp-view.coffee | VadimDor/terminalix | 1 | ###
Terminalix plugin forked from awesome
Atom-terminal-panel
Copyright by isis97/VadimDor
MIT licensed
The main terminal view class, which does the most of all the work.
###
#coffeelint: disable=max_line_length
lastOpenedView = null
fs = include 'fs'
os = include 'os'
{$, TextEditorView, View} = include '... | 81393 | ###
Terminalix plugin forked from awesome
Atom-terminal-panel
Copyright by isis97/VadimDor
MIT licensed
The main terminal view class, which does the most of all the work.
###
#coffeelint: disable=max_line_length
lastOpenedView = null
fs = include 'fs'
os = include 'os'
{$, TextEditorView, View} = include '... | true | ###
Terminalix plugin forked from awesome
Atom-terminal-panel
Copyright by isis97/VadimDor
MIT licensed
The main terminal view class, which does the most of all the work.
###
#coffeelint: disable=max_line_length
lastOpenedView = null
fs = include 'fs'
os = include 'os'
{$, TextEditorView, View} = include '... |
[
{
"context": "\",\n# # region: s3.region\n# accessKeyId: s3.accessKeyId\n# secretAccessKey: s3.secretAccess",
"end": 441,
"score": 0.522564172744751,
"start": 441,
"tag": "KEY",
"value": ""
},
{
"context": "accessKeyId: s3.accessKeyId\n# secretAccessKey: s3.secretAcce... | _source/lib/collections/images.coffee | jbaxleyiii/dapperink | 0 |
# if Meteor.isClient
#
# Apollos.ImageStore = new FS.Store.S3 "images"
#
# Apollos.Images = new FS.Collection "images",
# stores: [Apollos.ImageStore]
#
# # should I move this to a template level subscribe?
# Meteor.subscribe "images"
#
#
# if Meteor.isServer and Meteor.settings.s3Config
# s3 = Meteor.s... | 209333 |
# if Meteor.isClient
#
# Apollos.ImageStore = new FS.Store.S3 "images"
#
# Apollos.Images = new FS.Collection "images",
# stores: [Apollos.ImageStore]
#
# # should I move this to a template level subscribe?
# Meteor.subscribe "images"
#
#
# if Meteor.isServer and Meteor.settings.s3Config
# s3 = Meteor.s... | true |
# if Meteor.isClient
#
# Apollos.ImageStore = new FS.Store.S3 "images"
#
# Apollos.Images = new FS.Collection "images",
# stores: [Apollos.ImageStore]
#
# # should I move this to a template level subscribe?
# Meteor.subscribe "images"
#
#
# if Meteor.isServer and Meteor.settings.s3Config
# s3 = Meteor.s... |
[
{
"context": "use of variables before they are defined\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 97,
"score": 0.999799907207489,
"start": 85,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-use-before-define.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag use of variables before they are defined
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
SENTINEL_TYPE =
/^(?:(?:Functi... | 35133 | ###*
# @fileoverview Rule to flag use of variables before they are defined
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
SENTINEL_TYPE =
/^(?:(?:Function|Cla... | true | ###*
# @fileoverview Rule to flag use of variables before they are defined
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
SENTINEL_TYPE =
/^(?:(... |
[
{
"context": "https://happening.im/x/' + group.key()\n\t\t\t\tdata: '64foNwpEfn3LQrTQC2q5NijPqG92Nv2xYi65gFz6uTJjPJS2stN7MbyNygtvKvNS'\n\t\t\t\tname: 'historyResult'\n\t\tcurrent++\n\tcurrentRe",
"end": 2455,
"score": 0.9994450211524963,
"start": 2391,
"tag": "KEY",
"value": "64foNwpEfn3LQrT... | server.coffee | LarsStegeman/ConquestDataCollection | 0 | Db = require 'db'
Http = require 'http'
Timer = require 'timer'
Config = {
updateCompletionDelay: 500 # milliseconds between updating the doneCount for the client while gathering data
gatheringTimeout: 120*1000 # timeout of the gathering (time after receiving last result) non-updated plugins will be marked a... | 215816 | Db = require 'db'
Http = require 'http'
Timer = require 'timer'
Config = {
updateCompletionDelay: 500 # milliseconds between updating the doneCount for the client while gathering data
gatheringTimeout: 120*1000 # timeout of the gathering (time after receiving last result) non-updated plugins will be marked a... | true | Db = require 'db'
Http = require 'http'
Timer = require 'timer'
Config = {
updateCompletionDelay: 500 # milliseconds between updating the doneCount for the client while gathering data
gatheringTimeout: 120*1000 # timeout of the gathering (time after receiving last result) non-updated plugins will be marked a... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde",
"end": 23,
"score": 0.9995310306549072,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | test/test_searcher.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 210551 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... |
[
{
"context": " uri: \"#{apiUrl}#{query}\"\n auth:\n user: \"coconut\"\n pass: \"Coconut@2019\"\n json: true\n qs",
"end": 714,
"score": 0.9994065165519714,
"start": 707,
"tag": "USERNAME",
"value": "coconut"
},
{
"context": "ry}\"\n auth:\n user: \"coconut... | scripts/Dhis2OrgUnitsToGeographicHierarchy.coffee | jongoz/coconut-analytice | 3 | PouchDB = require 'pouchdb-core'
PouchDB.plugin(require('pouchdb-adapter-http'))
PouchDB.plugin(require('pouchdb-mapreduce'))
PouchDB.plugin(require('pouchdb-upsert'))
Request = require 'request-promise-native'
_ = require 'underscore'
moment = require 'moment'
fs = require 'fs'
exec = require('child_process').execSync... | 59241 | PouchDB = require 'pouchdb-core'
PouchDB.plugin(require('pouchdb-adapter-http'))
PouchDB.plugin(require('pouchdb-mapreduce'))
PouchDB.plugin(require('pouchdb-upsert'))
Request = require 'request-promise-native'
_ = require 'underscore'
moment = require 'moment'
fs = require 'fs'
exec = require('child_process').execSync... | true | PouchDB = require 'pouchdb-core'
PouchDB.plugin(require('pouchdb-adapter-http'))
PouchDB.plugin(require('pouchdb-mapreduce'))
PouchDB.plugin(require('pouchdb-upsert'))
Request = require 'request-promise-native'
_ = require 'underscore'
moment = require 'moment'
fs = require 'fs'
exec = require('child_process').execSync... |
[
{
"context": "m')\nxpath = require('xpath')\n\nxml = \"<book><title>Harry Potter</title></book>\"\ndoc = new DOMParser().parseFromSt",
"end": 230,
"score": 0.9992510676383972,
"start": 218,
"tag": "NAME",
"value": "Harry Potter"
}
] | axes.coffee | KamilSzot/nicelanguage | 0 |
Entity = {
as: {
}
}
App = Object.create(Entity)
Router = Object.create(Entity)
App.as.web = 1;
console.log Router.as
{DOMParser, XMLSerializer} = require('xmldom')
xpath = require('xpath')
xml = "<book><title>Harry Potter</title></book>"
doc = new DOMParser().parseFromString(xml)
nodes = xpath.select(".//title... | 121480 |
Entity = {
as: {
}
}
App = Object.create(Entity)
Router = Object.create(Entity)
App.as.web = 1;
console.log Router.as
{DOMParser, XMLSerializer} = require('xmldom')
xpath = require('xpath')
xml = "<book><title><NAME></title></book>"
doc = new DOMParser().parseFromString(xml)
nodes = xpath.select(".//title", doc... | true |
Entity = {
as: {
}
}
App = Object.create(Entity)
Router = Object.create(Entity)
App.as.web = 1;
console.log Router.as
{DOMParser, XMLSerializer} = require('xmldom')
xpath = require('xpath')
xml = "<book><title>PI:NAME:<NAME>END_PI</title></book>"
doc = new DOMParser().parseFromString(xml)
nodes = xpath.select("... |
[
{
"context": "-ifVFkNLoe1TSUrNFQVj6jRbK1L8V-eZa-ngsZLM\"\n d: \"dI5TRpZrVLpTr_xxYK-n8FgTBpe5Uer-8QgHu5gx9Ds\"\nsampleKey2",
"end": 308,
"score": 0.8146893978118896,
"start": 303,
"tag": "KEY",
"value": "dI5TR"
},
{
"context": "NLoe1TSUrNFQVj6jRbK1L8V-eZa-ngsZLM\"\n d: \"dI5TRpZ... | test/jwksTest.coffee | yoans/jwk | 0 | expect = require("chai").expect
JWKS = require "../lib"
path = require "path"
Promise = require "bluebird"
jose = JWKS.jose
sampleKey1 =
kty: "EC"
kid: "testKey1"
crv: "P-256"
x: "uiOfViX69jYwnygrkPkuM0XqUlvW65WEs_7rgT3eaak"
y: "v8S-ifVFkNLoe1TSUrNFQVj6jRbK1L8V-eZa-ngsZLM"
d: "dI5TRpZrVLpTr_xxY... | 128556 | expect = require("chai").expect
JWKS = require "../lib"
path = require "path"
Promise = require "bluebird"
jose = JWKS.jose
sampleKey1 =
kty: "EC"
kid: "testKey1"
crv: "P-256"
x: "uiOfViX69jYwnygrkPkuM0XqUlvW65WEs_7rgT3eaak"
y: "v8S-ifVFkNLoe1TSUrNFQVj6jRbK1L8V-eZa-ngsZLM"
d: "<KEY>p<KEY>VLpTr_... | true | expect = require("chai").expect
JWKS = require "../lib"
path = require "path"
Promise = require "bluebird"
jose = JWKS.jose
sampleKey1 =
kty: "EC"
kid: "testKey1"
crv: "P-256"
x: "uiOfViX69jYwnygrkPkuM0XqUlvW65WEs_7rgT3eaak"
y: "v8S-ifVFkNLoe1TSUrNFQVj6jRbK1L8V-eZa-ngsZLM"
d: "PI:KEY:<KEY>END_P... |
[
{
"context": "null\ndeliverStub = null\n\nbefore () ->\n apiKey = \"71ab53572c7b45316fb894d496f2e11d\"\n Bugsnag.register apiKey, notifyReleaseStages: ",
"end": 247,
"score": 0.9997733235359192,
"start": 215,
"tag": "KEY",
"value": "71ab53572c7b45316fb894d496f2e11d"
}
] | test/bugsnag.coffee | wennergr2/bugsnag-node | 0 | domain = require "domain"
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
Notification = require "../lib/notification"
apiKey = null
deliverStub = null
before () ->
apiKey = "71ab53572c7b45316fb894d496f2e11d"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "develop... | 205330 | domain = require "domain"
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
Notification = require "../lib/notification"
apiKey = null
deliverStub = null
before () ->
apiKey = "<KEY>"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "development"]
describe "Bugsnag",... | true | domain = require "domain"
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
Notification = require "../lib/notification"
apiKey = null
deliverStub = null
before () ->
apiKey = "PI:KEY:<KEY>END_PI"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "development"]
descri... |
[
{
"context": "provide ACL Token via private message.\n\n\ntoken = \"Consul Master Token\"\nurl = \"http://consul_url:8500\"\n\nmodule.exports =",
"end": 179,
"score": 0.8215358853340149,
"start": 160,
"tag": "PASSWORD",
"value": "Consul Master Token"
}
] | consul.coffee | apsega/hubot-consul | 0 | # To register new ACL:
# @hubot register nginx on nginx001
# Hubot will register ACL defined in #{data} and provide ACL Token via private message.
token = "Consul Master Token"
url = "http://consul_url:8500"
module.exports = (robot) ->
robot.hear /@hubot register (.*) on (.*)/i, (res) ->
res.reply "Registeri... | 108983 | # To register new ACL:
# @hubot register nginx on nginx001
# Hubot will register ACL defined in #{data} and provide ACL Token via private message.
token = "<PASSWORD>"
url = "http://consul_url:8500"
module.exports = (robot) ->
robot.hear /@hubot register (.*) on (.*)/i, (res) ->
res.reply "Registering `#{res... | true | # To register new ACL:
# @hubot register nginx on nginx001
# Hubot will register ACL defined in #{data} and provide ACL Token via private message.
token = "PI:PASSWORD:<PASSWORD>END_PI"
url = "http://consul_url:8500"
module.exports = (robot) ->
robot.hear /@hubot register (.*) on (.*)/i, (res) ->
res.reply "... |
[
{
"context": "() * 1000000000).toString()\n\n params.password = params.attendeePW\n joinAtt = @urlFor(\"join\", params)\n joinAtt",
"end": 2750,
"score": 0.9988980293273926,
"start": 2733,
"tag": "PASSWORD",
"value": "params.attendeePW"
},
{
"context": "eplaceMobileProtocol ... | src/bigbluebutton-api.coffee | bigbluebutton/bigbluebutton-api-js | 1 | root = exports ? this
class BigBlueButtonApi
constructor: (url, salt, mobileKey) ->
@url = url
@salt = salt
@mobileKey = mobileKey
# Returns a list of supported parameters for a given API method
# The return is an array of arrays composed by:
# [0] - RegEx or string with the parameter name
# ... | 67625 | root = exports ? this
class BigBlueButtonApi
constructor: (url, salt, mobileKey) ->
@url = url
@salt = salt
@mobileKey = mobileKey
# Returns a list of supported parameters for a given API method
# The return is an array of arrays composed by:
# [0] - RegEx or string with the parameter name
# ... | true | root = exports ? this
class BigBlueButtonApi
constructor: (url, salt, mobileKey) ->
@url = url
@salt = salt
@mobileKey = mobileKey
# Returns a list of supported parameters for a given API method
# The return is an array of arrays composed by:
# [0] - RegEx or string with the parameter name
# ... |
[
{
"context": "page: \"homepage\"\n autohr: \"author\"\n autor: \"author\"\n contributers: \"contributors\"\n publication",
"end": 1744,
"score": 0.9451157450675964,
"start": 1738,
"tag": "USERNAME",
"value": "author"
},
{
"context": "Messages.missingReadme\n ]\n normali... | deps/npm/node_modules/normalize-package-data/test/typo.coffee | lxe/io.coffee | 0 | test = require("tap").test
normalize = require("../")
typos = require("../lib/typos.json")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
test "typos", (t) ->
warn = (m) ->
warnings.push m
return
warnings = []
typoMessage = safeFormat.bind(`undefined`,... | 192944 | test = require("tap").test
normalize = require("../")
typos = require("../lib/typos.json")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
test "typos", (t) ->
warn = (m) ->
warnings.push m
return
warnings = []
typoMessage = safeFormat.bind(`undefined`,... | true | test = require("tap").test
normalize = require("../")
typos = require("../lib/typos.json")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
test "typos", (t) ->
warn = (m) ->
warnings.push m
return
warnings = []
typoMessage = safeFormat.bind(`undefined`,... |
[
{
"context": "les\n# \n# validate.form $(\"form\"),\n# \"[name='username']\": ($el, callback) ->\n# val = $el.val()",
"end": 1247,
"score": 0.9980452060699463,
"start": 1239,
"tag": "USERNAME",
"value": "username"
},
{
"context": "h \"Your password is too weak.\"\n# ... | src/validate.coffee | stratuseditor/stratus-ui | 1 | ###
Validation forms.
validate $("input[name='password']"), ($el, callback) ->
errors = []
errors.push "Password is a required field" if !$el.val()
return callback errors
validate.form $form,
selector: ($el, callblack) ->
selector: ($el, callblack) ->
selector: ($el, callblack) ->
###
... | 150512 | ###
Validation forms.
validate $("input[name='password']"), ($el, callback) ->
errors = []
errors.push "Password is a required field" if !$el.val()
return callback errors
validate.form $form,
selector: ($el, callblack) ->
selector: ($el, callblack) ->
selector: ($el, callblack) ->
###
... | true | ###
Validation forms.
validate $("input[name='password']"), ($el, callback) ->
errors = []
errors.push "Password is a required field" if !$el.val()
return callback errors
validate.form $form,
selector: ($el, callblack) ->
selector: ($el, callblack) ->
selector: ($el, callblack) ->
###
... |
[
{
"context": "dCronHandler or DEBUGGING\n\n res.send('Great work, Captain Cron! I can take it from here.')\n res.end()\n # TODO:",
"end": 2209,
"score": 0.9973501563072205,
"start": 2197,
"tag": "NAME",
"value": "Captain Cron"
},
{
"context": "en \"#{user.firstName}\" else user.na... | server/routes/mail.coffee | q276188500/codecombat | 1 | mail = require '../commons/mail'
map = _.invert mail.MAILCHIMP_GROUP_MAP
User = require '../users/User.coffee'
errors = require '../commons/errors'
#request = require 'request'
config = require '../../server_config'
LevelSession = require '../levels/sessions/LevelSession.coffee'
Level = require '../levels/Level.coffee'... | 31888 | mail = require '../commons/mail'
map = _.invert mail.MAILCHIMP_GROUP_MAP
User = require '../users/User.coffee'
errors = require '../commons/errors'
#request = require 'request'
config = require '../../server_config'
LevelSession = require '../levels/sessions/LevelSession.coffee'
Level = require '../levels/Level.coffee'... | true | mail = require '../commons/mail'
map = _.invert mail.MAILCHIMP_GROUP_MAP
User = require '../users/User.coffee'
errors = require '../commons/errors'
#request = require 'request'
config = require '../../server_config'
LevelSession = require '../levels/sessions/LevelSession.coffee'
Level = require '../levels/Level.coffee'... |
[
{
"context": " console.log \"#{key} init\"\n @key = key or 'unfamiliarBook'\n @wordBook = wordBook\n\n #设置当前文件指针\n",
"end": 323,
"score": 0.6868137717247009,
"start": 313,
"tag": "PASSWORD",
"value": "unfamiliar"
},
{
"context": "og \"#{key} init\"\n @key = ke... | public/src/coffee/common/WordBook.coffee | chenqunfeng/CQFWord | 0 | Component = require '../common/Component'
wordBook = require '../../../main/fileController'
class WordBook extends Component.Components
# 构造函数
constructor: (selector, key) ->
super selector
@init key
# 初始化
init: (key) ->
console.log "#{key} init"
@key = key or 'unfamil... | 31834 | Component = require '../common/Component'
wordBook = require '../../../main/fileController'
class WordBook extends Component.Components
# 构造函数
constructor: (selector, key) ->
super selector
@init key
# 初始化
init: (key) ->
console.log "#{key} init"
@key = key or '<PASSWO... | true | Component = require '../common/Component'
wordBook = require '../../../main/fileController'
class WordBook extends Component.Components
# 构造函数
constructor: (selector, key) ->
super selector
@init key
# 初始化
init: (key) ->
console.log "#{key} init"
@key = key or 'PI:PASS... |
[
{
"context": "->\n nikita\n my_global:\n my_key: 'my value'\n , ->\n @call ->\n @call $global: '",
"end": 196,
"score": 0.6020017266273499,
"start": 191,
"tag": "KEY",
"value": "value"
},
{
"context": "value'\n config.should.eql\n my_key: 'my... | packages/core/test/plugins/global.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.global', ->
return unless tags.api
it 'merge from root', ->
nikita
my_global:
my_key: 'my value'
, ->
@call ->
@call $global: 'my_global', ({config}) ->
config.should.eql
my_key: ... | 36930 |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.global', ->
return unless tags.api
it 'merge from root', ->
nikita
my_global:
my_key: 'my <KEY>'
, ->
@call ->
@call $global: 'my_global', ({config}) ->
config.should.eql
my_key: ... | true |
{tags} = require '../test'
nikita = require '../../src'
describe 'plugins.global', ->
return unless tags.api
it 'merge from root', ->
nikita
my_global:
my_key: 'my PI:KEY:<KEY>END_PI'
, ->
@call ->
@call $global: 'my_global', ({config}) ->
config.should.eql
... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Zoom extends Modal\n include: Options\n e",
"end": 64,
"score": 0.9998767375946045,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/zoom/src/zoom.coffee | lovely-io/lovely.io-stl | 2 | #
# Project's main unit
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Zoom extends Modal
include: Options
extend:
Options: # default options
nolock: false
fxDuration: 'normal'
current: null
#
# Default constructor
#
# @param {Object} options
# @return {Zoom} self
#
constru... | 41097 | #
# Project's main unit
#
# Copyright (C) 2012 <NAME>
#
class Zoom extends Modal
include: Options
extend:
Options: # default options
nolock: false
fxDuration: 'normal'
current: null
#
# Default constructor
#
# @param {Object} options
# @return {Zoom} self
#
constructor: (opti... | true | #
# Project's main unit
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Zoom extends Modal
include: Options
extend:
Options: # default options
nolock: false
fxDuration: 'normal'
current: null
#
# Default constructor
#
# @param {Object} options
# @return {Zoom} self
#
cons... |
[
{
"context": "feEval} = require 'loophole'\nanalyticsWriteKey = \"bp0dj6lufc\"\npkg = require \"../package\"\nversion = pkg.versio",
"end": 483,
"score": 0.9973888397216797,
"start": 473,
"tag": "KEY",
"value": "bp0dj6lufc"
}
] | lib/preview-view.coffee | nemoDreamer/atom-preview | 47 | {Emitter, Disposable, CompositeDisposable, TextEditor} = require 'atom'
{$, $$, $$$, View, ScrollView, TextEditorView} = require 'atom-space-pen-views'
util = require 'util'
path = require 'path'
_ = require 'underscore-plus'
renderers = require './renderer'
PreviewMessageView = require './preview-message-view'
Options... | 129771 | {Emitter, Disposable, CompositeDisposable, TextEditor} = require 'atom'
{$, $$, $$$, View, ScrollView, TextEditorView} = require 'atom-space-pen-views'
util = require 'util'
path = require 'path'
_ = require 'underscore-plus'
renderers = require './renderer'
PreviewMessageView = require './preview-message-view'
Options... | true | {Emitter, Disposable, CompositeDisposable, TextEditor} = require 'atom'
{$, $$, $$$, View, ScrollView, TextEditorView} = require 'atom-space-pen-views'
util = require 'util'
path = require 'path'
_ = require 'underscore-plus'
renderers = require './renderer'
PreviewMessageView = require './preview-message-view'
Options... |
[
{
"context": "= second\n rest = others\n\ncontenders = [\n 'Michael Phelps'\n 'Liu Xiang'\n 'Yao Ming'\n 'Allyson Feli",
"end": 172,
"score": 0.9998136162757874,
"start": 158,
"tag": "NAME",
"value": "Michael Phelps"
},
{
"context": " others\n\ncontenders = [\n 'M... | 002.basic-syntax/src/005.va_arg.coffee | goosman-lei/coffee-lear | 0 | gold = silver = rest = 'unknown'
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
'Michael Phelps'
'Liu Xiang'
'Yao Ming'
'Allyson Felis'
'Shawn Johnson'
'Roman Sebrle'
'Guo Jingjing'
'Tyson Gay'
'Asafa Powell'
... | 39043 | gold = silver = rest = 'unknown'
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
'<NAME>'
]
awardMedals contenders...
alert '... | true | gold = silver = rest = 'unknown'
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
'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": "# author: tmwhere.com\n\nutil = require('generic_modules/utility')\nHashMa",
"end": 21,
"score": 0.8445987105369568,
"start": 10,
"tag": "EMAIL",
"value": "tmwhere.com"
}
] | src/generic_modules/astar.coffee | t-mw/citygen | 177 | # author: tmwhere.com
util = require('generic_modules/utility')
HashMap = require('map')
module.exports =
PathLocation:
class PathLocation
constructor: (@o, @fraction) ->
calc: do ->
cost = (current, next, start, end) ->
currentFraction = undefined
nextFraction = undefined
if (sta... | 20945 | # author: <EMAIL>
util = require('generic_modules/utility')
HashMap = require('map')
module.exports =
PathLocation:
class PathLocation
constructor: (@o, @fraction) ->
calc: do ->
cost = (current, next, start, end) ->
currentFraction = undefined
nextFraction = undefined
if (start.o... | true | # author: PI:EMAIL:<EMAIL>END_PI
util = require('generic_modules/utility')
HashMap = require('map')
module.exports =
PathLocation:
class PathLocation
constructor: (@o, @fraction) ->
calc: do ->
cost = (current, next, start, end) ->
currentFraction = undefined
nextFraction = undefined
... |
[
{
"context": "ist + '/' + filePath\n auth:\n user: subject\n pass: process.env.BINTRAY_API_KEY\n ",
"end": 2217,
"score": 0.9636011719703674,
"start": 2210,
"tag": "USERNAME",
"value": "subject"
},
{
"context": "h:\n user: subject\n pass... | tasks/publish.coffee | vaginessa/Messenger-for-Desktop | 1,988 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... | 1568 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... | true | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... |
[
{
"context": "##\n# GusNIRC\n#\n# Gustavo6046's Node IRC (client).\n##\n\nnet = require(\"net\")\nfs ",
"end": 28,
"score": 0.9996089339256287,
"start": 17,
"tag": "USERNAME",
"value": "Gustavo6046"
},
{
"context": " return null\n\nclass Command\n constructor: (@name, @matcher,... | irc.coffee | Gustavo6046/GusNIRC | 0 | ##
# GusNIRC
#
# Gustavo6046's Node IRC (client).
##
net = require("net")
fs = require("fs")
objpath = require("object-path")
messageMatchers = [
["privmsg", "(([^\!]+)\!([^@]+)@([^ ]+)) PRIVMSG ([^ ]+) :(.+)", ["host", "nickname", "ident", "hostname", "channel", "message"]]
["join", "(([^\!]+)\!([^@]+)@([^ ]... | 180522 | ##
# GusNIRC
#
# Gustavo6046's Node IRC (client).
##
net = require("net")
fs = require("fs")
objpath = require("object-path")
messageMatchers = [
["privmsg", "(([^\!]+)\!([^@]+)@([^ ]+)) PRIVMSG ([^ ]+) :(.+)", ["host", "nickname", "ident", "hostname", "channel", "message"]]
["join", "(([^\!]+)\!([^@]+)@([^ ]... | true | ##
# GusNIRC
#
# Gustavo6046's Node IRC (client).
##
net = require("net")
fs = require("fs")
objpath = require("object-path")
messageMatchers = [
["privmsg", "(([^\!]+)\!([^@]+)@([^ ]+)) PRIVMSG ([^ ]+) :(.+)", ["host", "nickname", "ident", "hostname", "channel", "message"]]
["join", "(([^\!]+)\!([^@]+)@([^ ]... |
[
{
"context": "sort}>#{output}</span>\")\n\n fields.push\n key: \"createdBy.name\"\n label: \"Submitted by\"\n\n fields.push\n key",
"end": 3466,
"score": 0.949345052242279,
"start": 3452,
"tag": "KEY",
"value": "createdBy.name"
},
{
"context": " label: \"Submitted by\"\n... | client/controllers/table.coffee | ecohealthalliance/rana | 0 | getCollections = => @collections
created = ->
@query = new ReactiveVar()
Template.table.created = created
Template.pendingTable.created = created
query = ->
Template.instance().query
Template.table.query = query
Template.pendingTable.query = query
filters = =>
filters = []
query = Template.instance().query?.... | 219731 | getCollections = => @collections
created = ->
@query = new ReactiveVar()
Template.table.created = created
Template.pendingTable.created = created
query = ->
Template.instance().query
Template.table.query = query
Template.pendingTable.query = query
filters = =>
filters = []
query = Template.instance().query?.... | true | getCollections = => @collections
created = ->
@query = new ReactiveVar()
Template.table.created = created
Template.pendingTable.created = created
query = ->
Template.instance().query
Template.table.query = query
Template.pendingTable.query = query
filters = =>
filters = []
query = Template.instance().query?.... |
[
{
"context": "nts = [\n {\n id: \"asd123f2d3123922\"\n name: \"Fernando Paredes\"\n phone: \"12345678\"\n },\n {\n id: \"1a902339",
"end": 1503,
"score": 0.9998571872711182,
"start": 1487,
"tag": "NAME",
"value": "Fernando Paredes"
},
{
"context": "Paredes\"\n phone... | assets/js/patients/patients.coffee | romeroyonatan/node-turnos | 0 |
angular.module('myApp.patients', ['ngRoute'])
.config ['$routeProvider', ($routeProvider) ->
$routeProvider.when '/patients',
templateUrl: '/partials/patient/all'
controller: 'PatientListCtrl'
$routeProvider.when '/patients/create',
templateUrl: '/partials/patient/create'
controller: 'PatientCr... | 93180 |
angular.module('myApp.patients', ['ngRoute'])
.config ['$routeProvider', ($routeProvider) ->
$routeProvider.when '/patients',
templateUrl: '/partials/patient/all'
controller: 'PatientListCtrl'
$routeProvider.when '/patients/create',
templateUrl: '/partials/patient/create'
controller: 'PatientCr... | true |
angular.module('myApp.patients', ['ngRoute'])
.config ['$routeProvider', ($routeProvider) ->
$routeProvider.when '/patients',
templateUrl: '/partials/patient/all'
controller: 'PatientListCtrl'
$routeProvider.when '/patients/create',
templateUrl: '/partials/patient/create'
controller: 'PatientCr... |
[
{
"context": "db \"#{__dirname}/../db/tmp\"\n client.users.set 'dorianb',\n lastname: 'Bagur'\n firstname: 'Doria",
"end": 336,
"score": 0.5326357483863831,
"start": 329,
"tag": "USERNAME",
"value": "dorianb"
},
{
"context": "rianb',\n lastname: 'Bagur'\n first... | tests/export.coffee | dorianb/expressApp | 0 | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
exportStream = require '../lib/export'
db = require '../lib/db'
describe 'export', ->
beforeEach (next) ->
rimraf "#{__dirname}/../db/tmp", next
it 'Export to sample.csv', (next) ->
###client = db "#{__dirname}/../db/tmp"
client.us... | 40547 | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
exportStream = require '../lib/export'
db = require '../lib/db'
describe 'export', ->
beforeEach (next) ->
rimraf "#{__dirname}/../db/tmp", next
it 'Export to sample.csv', (next) ->
###client = db "#{__dirname}/../db/tmp"
client.us... | true | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
exportStream = require '../lib/export'
db = require '../lib/db'
describe 'export', ->
beforeEach (next) ->
rimraf "#{__dirname}/../db/tmp", next
it 'Export to sample.csv', (next) ->
###client = db "#{__dirname}/../db/tmp"
client.us... |
[
{
"context": ".log (id_in)\n\nconfig = {\n\tuser: 'sa',\n\tpassword: 'scott_tiger',\n\tserver: 'host_mssql',\n\tdatabase: 'city',\n}\n\nco",
"end": 488,
"score": 0.9988526105880737,
"start": 477,
"tag": "PASSWORD",
"value": "scott_tiger"
}
] | mssql/coffee/delete/mssql_delete.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_delete.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | 177179 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_delete.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mssql_delete.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mssql = require('mssql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991492629051208,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_stream_passthrough.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... | 111729 | # 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": "/app/js/infrastructure/LockManager.js'\nlockKey = \"lock:web:{#{5678}}\"\nlockValue = \"123456\"\nSandboxedModule = require('s",
"end": 193,
"score": 0.9927215576171875,
"start": 174,
"tag": "KEY",
"value": "lock:web:{#{5678}}\""
}
] | test/unit/coffee/infrastructure/LockManager/ReleasingTheLock.coffee | davidmehren/web-sharelatex | 1 | sinon = require('sinon')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../../app/js/infrastructure/LockManager.js'
lockKey = "lock:web:{#{5678}}"
lockValue = "123456"
SandboxedModule = require('sandboxed-module')
describe 'LockManager - releasing the lock', ()->
delete... | 191725 | sinon = require('sinon')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../../app/js/infrastructure/LockManager.js'
lockKey = "<KEY>
lockValue = "123456"
SandboxedModule = require('sandboxed-module')
describe 'LockManager - releasing the lock', ()->
deleteStub = sinon.s... | true | sinon = require('sinon')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../../app/js/infrastructure/LockManager.js'
lockKey = "PI:KEY:<KEY>END_PI
lockValue = "123456"
SandboxedModule = require('sandboxed-module')
describe 'LockManager - releasing the lock', ()->
deleteS... |
[
{
"context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 35,
"score": 0.9998745322227478,
"start": 21,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.o... | test/parser/java-parser.test.coffee | uppalapatisujitha/CodingConventionofCommitHistory | 421 | # Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/java-parser'
describe 'java-parser >', ->
describe 'indent >', ->
it 'check space indent #1', ->... | 69049 | # Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/java-parser'
describe 'java-parser >', ->
describe 'indent >', ->
it 'check space indent #1', ->
c... | true | # Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/java-parser'
describe 'java-parser >', ->
describe 'indent >', ->
it 'check space indent #... |
[
{
"context": "###\ntyto - http://jh3y.github.io/tyto\nLicensed under the MIT license\n\nJh",
"end": 22,
"score": 0.766325056552887,
"start": 18,
"tag": "USERNAME",
"value": "jh3y"
},
{
"context": "3y.github.io/tyto\nLicensed under the MIT license\n\nJhey Tompkins (c) 2014.\n\nPermiss... | src/coffeescript/tyto.coffee | logorrhea/tyto | 0 | ###
tyto - http://jh3y.github.io/tyto
Licensed under the MIT license
Jhey Tompkins (c) 2014.
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 ... | 40240 | ###
tyto - http://jh3y.github.io/tyto
Licensed under the MIT license
<NAME> (c) 2014.
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 ... | true | ###
tyto - http://jh3y.github.io/tyto
Licensed under the MIT license
PI:NAME:<NAME>END_PI (c) 2014.
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 limitati... |
[
{
"context": "{\n name: 'BigSmithy'\n requires: ['Smithy']\n gainPriority: (st",
"end": 14,
"score": 0.9349634647369385,
"start": 11,
"tag": "NAME",
"value": "Big"
},
{
"context": "{\n name: 'BigSmithy'\n requires: ['Smithy']\n gainPriority: (stat",
"end": 16,
"score": ... | strategies/BigSmithy.coffee | rspeer/dominiate | 65 | {
name: 'BigSmithy'
requires: ['Smithy']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.gainsTo... | 13811 | {
name: '<NAME>Sm<NAME>'
requires: ['Smithy']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.ga... | true | {
name: 'PI:NAME:<NAME>END_PISmPI:NAME:<NAME>END_PI'
requires: ['Smithy']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
... |
[
{
"context": " label:'Apples'\n children:[\n label:'Granny Smith'\n onSelect:apple_selected\n ,\n ",
"end": 2364,
"score": 0.9996135830879211,
"start": 2352,
"tag": "NAME",
"value": "Granny Smith"
}
] | test/test_page.coffee | Synegen/angular-bootstrap-nav-tree | 0 |
deps = ['angularBootstrapNavTree']
if angular.version.full.indexOf("1.2")>=0
deps.push('ngAnimate')
app = angular.module 'AbnTest', deps
app.controller 'AbnTestController',($scope,$timeout,$sce)->
#
# a default "on-select" handler can be specified
# for the tree ( as attribute "on-select" )
#
$s... | 77885 |
deps = ['angularBootstrapNavTree']
if angular.version.full.indexOf("1.2")>=0
deps.push('ngAnimate')
app = angular.module 'AbnTest', deps
app.controller 'AbnTestController',($scope,$timeout,$sce)->
#
# a default "on-select" handler can be specified
# for the tree ( as attribute "on-select" )
#
$s... | true |
deps = ['angularBootstrapNavTree']
if angular.version.full.indexOf("1.2")>=0
deps.push('ngAnimate')
app = angular.module 'AbnTest', deps
app.controller 'AbnTestController',($scope,$timeout,$sce)->
#
# a default "on-select" handler can be specified
# for the tree ( as attribute "on-select" )
#
$s... |
[
{
"context": " # Some comments\n\n [group1]\n\n key1a=\"value1a\"\n\n # comment\n key1b=1\n\n # Ad",
"end": 351,
"score": 0.9973284602165222,
"start": 344,
"tag": "KEY",
"value": "value1a"
},
{
"context": " ## double comment\n key1b1 ... | packages/core/test/misc.ini/parse_multi_brackets_multi_lines.coffee | chibanemourad/node-nikita | 1 |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini parse_multi_brackets_multi_lines', ->
it 'parse', ->
ini.parse_multi_brackets_multi_lines """
###########################################################################
# Some comments
[... | 208514 |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini parse_multi_brackets_multi_lines', ->
it 'parse', ->
ini.parse_multi_brackets_multi_lines """
###########################################################################
# Some comments
[... | true |
ini = require '../../src/misc/ini'
{tags} = require '../test'
return unless tags.api
describe 'misc.ini parse_multi_brackets_multi_lines', ->
it 'parse', ->
ini.parse_multi_brackets_multi_lines """
###########################################################################
# Some comments
[... |
[
{
"context": "eIndex({ userName: 1 }, { unique: true })\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass User",
"end": 377,
"score": 0.9998463988304138,
"start": 365,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/UserSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing an individual user object including their associated credentials, email address, and password recovery information.
@example MongoDB Collection
db.users
@example MongoDB Indexes
db.users.ensureIndex... | 190863 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing an individual user object including their associated credentials, email address, and password recovery information.
@example MongoDB Collection
db.users
@example MongoDB Indexes
db.users.ensureIndex... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing an individual user object including their associated credentials, email address, and password recovery information.
@example MongoDB Collection
db.users
@example MongoDB Indexes
db.users.ensureIndex... |
[
{
"context": "able\n\t# @memberof defaults\n\t###\n\tapiKeyVariable: 'RESIN_API_KEY'\n",
"end": 2803,
"score": 0.9552525877952576,
"start": 2790,
"tag": "KEY",
"value": "RESIN_API_KEY"
}
] | packages/resin-settings-client/lib/defaults.coffee | resin-io-playground/resin-sdk-lerna | 0 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 83440 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | true | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... |
[
{
"context": "classes have access to it\n constructor: (@db,@allDB)->\n #\n # section storyHeadMatter\n #\n storyHea",
"end": 216,
"score": 0.7461900115013123,
"start": 214,
"tag": "USERNAME",
"value": "DB"
},
{
"context": "ponent/\"\n T.meta name: \"author\", content: \"... | templates/lowrollertemplate.coffee | jahbini/aframe-lowroller-component | 0 | #
T = require 'halvalla'
#include card.coffee
console.log "SITE TEMPLATE"
module.exports = class lowrollerTemplate
#pass the db entry into the class so that the classes have access to it
constructor: (@db,@allDB)->
#
# section storyHeadMatter
#
storyHeadMatter: =>
return
#
# section html
#
ht... | 48764 | #
T = require 'halvalla'
#include card.coffee
console.log "SITE TEMPLATE"
module.exports = class lowrollerTemplate
#pass the db entry into the class so that the classes have access to it
constructor: (@db,@allDB)->
#
# section storyHeadMatter
#
storyHeadMatter: =>
return
#
# section html
#
ht... | true | #
T = require 'halvalla'
#include card.coffee
console.log "SITE TEMPLATE"
module.exports = class lowrollerTemplate
#pass the db entry into the class so that the classes have access to it
constructor: (@db,@allDB)->
#
# section storyHeadMatter
#
storyHeadMatter: =>
return
#
# section html
#
ht... |
[
{
"context": "# @link http://podstats.org/\n# @author Dennis Morhardt <info@dennismorhardt.de>\n# @copyright Copyright",
"end": 93,
"score": 0.9998798370361328,
"start": 78,
"tag": "NAME",
"value": "Dennis Morhardt"
},
{
"context": "p://podstats.org/\n# @author Den... | Application/Assets/javascripts/components/download-clients.coffee | gglnx/podstats | 0 | ##
# @package Podstats
# @link http://podstats.org/
# @author Dennis Morhardt <info@dennismorhardt.de>
# @copyright Copyright 2014, Dennis Morhardt
# @license BSD-3-Clause, http://opensource.org/licenses/BSD-3-Clause
##
# Download clients
define ['jquery', 'moment', 'Raphael', 'morris'], ($, mome... | 29006 | ##
# @package Podstats
# @link http://podstats.org/
# @author <NAME> <<EMAIL>>
# @copyright Copyright 2014, <NAME>
# @license BSD-3-Clause, http://opensource.org/licenses/BSD-3-Clause
##
# Download clients
define ['jquery', 'moment', 'Raphael', 'morris'], ($, moment, Raphael) -> $ ()->
$('[data-... | true | ##
# @package Podstats
# @link http://podstats.org/
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @copyright Copyright 2014, PI:NAME:<NAME>END_PI
# @license BSD-3-Clause, http://opensource.org/licenses/BSD-3-Clause
##
# Download clients
define ['jquery', 'moment', 'Raphael', 'morris']... |
[
{
"context": "###\n# config/env/development.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Development en",
"end": 58,
"score": 0.9995800256729126,
"start": 47,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/config/env/development.coffee | dlnichols/h_media | 0 | ###
# config/env/development.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Development environment configuration details
###
'use strict'
###
# Development environment
###
module.exports = exports =
env: 'development'
logger: 'dev'
mongo:
uri: 'mongodb://localhost/h_media-dev'
| 140377 | ###
# config/env/development.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Development environment configuration details
###
'use strict'
###
# Development environment
###
module.exports = exports =
env: 'development'
logger: 'dev'
mongo:
uri: 'mongodb://localhost/h_media-dev'
| true | ###
# config/env/development.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Development environment configuration details
###
'use strict'
###
# Development environment
###
module.exports = exports =
env: 'development'
logger: 'dev'
mongo:
uri: 'mongodb://localhost/h_media-dev'
|
[
{
"context": "p.test \"gist bugs url\", (t) ->\n d = repository: \"git@gist.github.com:123456.git\"\n normalize d\n t.same d.repository,\n",
"end": 3332,
"score": 0.99737548828125,
"start": 3313,
"tag": "EMAIL",
"value": "git@gist.github.com"
},
{
"context": "\n t.same d.reposito... | deps/npm/node_modules/normalize-package-data/test/normalize.coffee | lxe/io.coffee | 0 | tap = require("tap")
fs = require("fs")
path = require("path")
globals = Object.keys(global)
normalize = require("../lib/normalize")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
rpjPath = path.resolve(__dirname, "./fixtures/read-package-json.json")
tap.test "norma... | 15464 | tap = require("tap")
fs = require("fs")
path = require("path")
globals = Object.keys(global)
normalize = require("../lib/normalize")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
rpjPath = path.resolve(__dirname, "./fixtures/read-package-json.json")
tap.test "norma... | true | tap = require("tap")
fs = require("fs")
path = require("path")
globals = Object.keys(global)
normalize = require("../lib/normalize")
warningMessages = require("../lib/warning_messages.json")
safeFormat = require("../lib/safe_format")
rpjPath = path.resolve(__dirname, "./fixtures/read-package-json.json")
tap.test "norma... |
[
{
"context": "EmailFinder = ->\n {\n full_name: @full_name\n domain: @domain\n email: @email\n ",
"end": 35,
"score": 0.6885184645652771,
"start": 35,
"tag": "NAME",
"value": ""
},
{
"context": "EmailFinder = ->\n {\n full_name: @full_name\n domain: @domain\n ema... | src/browser_action/js/email_finder.coffee | hunter-io/browser-extension | 10 | EmailFinder = ->
{
full_name: @full_name
domain: @domain
email: @email
score: @score
sources: @sources
validateForm: ->
_this = @
$("#full-name-field").one "keyup", (e) ->
setTimeout (->
if (
$("#full-name-field").val().indexOf(" ") != -1 &&
... | 222782 | EmailFinder = ->
{
full_name:<NAME> @<NAME>_name
domain: @domain
email: @email
score: @score
sources: @sources
validateForm: ->
_this = @
$("#full-name-field").one "keyup", (e) ->
setTimeout (->
if (
$("#full-name-field").val().indexOf(" ") != -1 &&
... | true | EmailFinder = ->
{
full_name:PI:NAME:<NAME>END_PI @PI:NAME:<NAME>END_PI_name
domain: @domain
email: @email
score: @score
sources: @sources
validateForm: ->
_this = @
$("#full-name-field").one "keyup", (e) ->
setTimeout (->
if (
$("#full-name-field").v... |
[
{
"context": "g required dependency: sax-js (https://github.com/isaacs/sax-js)')\n\n\t\t@sax = sax ? root.sax\n\t\t@xml = xml\n\t",
"end": 1469,
"score": 0.9996234178543091,
"start": 1463,
"tag": "USERNAME",
"value": "isaacs"
},
{
"context": ")\n\n\t\t\tif @last.key\n\t\t\t\t@last.no... | src/plist-parser.coffee | lasar/plist-parser | 0 | root = exports ? this
class PlistNode
constructor: (type, processors) ->
@type = type
@processors = processors
@key = null
@value = null
@parent = null
@children = []
return @
addChild: (node) ->
node.parent = @
@children.push(node)
return node
getParent: () ->
if @parent
return @parent... | 168815 | root = exports ? this
class PlistNode
constructor: (type, processors) ->
@type = type
@processors = processors
@key = null
@value = null
@parent = null
@children = []
return @
addChild: (node) ->
node.parent = @
@children.push(node)
return node
getParent: () ->
if @parent
return @parent... | true | root = exports ? this
class PlistNode
constructor: (type, processors) ->
@type = type
@processors = processors
@key = null
@value = null
@parent = null
@children = []
return @
addChild: (node) ->
node.parent = @
@children.push(node)
return node
getParent: () ->
if @parent
return @parent... |
[
{
"context": " @file Defines the API for MD Underline\n * @author Derek Gransaull <derek@dgtlife.com>\n * @copyright DGTLife, LLC 20",
"end": 72,
"score": 0.9998725652694702,
"start": 57,
"tag": "NAME",
"value": "Derek Gransaull"
},
{
"context": " API for MD Underline\n * @author Der... | client/imports/api/md-underline-api.coffee | dgtlife/material-for-meteor | 12 | ###
* @file Defines the API for MD Underline
* @author Derek Gransaull <derek@dgtlife.com>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of the underline in a text field when the associated input has
# focus.
# @param {Element} field - the text field (.md-field) element ... | 42138 | ###
* @file Defines the API for MD Underline
* @author <NAME> <<EMAIL>>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of the underline in a text field when the associated input has
# focus.
# @param {Element} field - the text field (.md-field) element that contains
# ... | true | ###
* @file Defines the API for MD Underline
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright DGTLife, LLC 2016
###
eqS = require('./md-utils.js').eqS
###*
# Set the style of the underline in a text field when the associated input has
# focus.
# @param {Element} field - the text field (.md-field... |
[
{
"context": "#Copyright 2014 - 2015\n#Author: Varuna Jayasiri http://blog.varunajayasiri.com\n\nFS = require 'fs'",
"end": 47,
"score": 0.9998885989189148,
"start": 32,
"tag": "NAME",
"value": "Varuna Jayasiri"
}
] | build-script/fs_util.coffee | chethiya/wallapatta | 86 | #Copyright 2014 - 2015
#Author: Varuna Jayasiri http://blog.varunajayasiri.com
FS = require 'fs'
PATH = require 'path'
rm_r = (path) ->
try
stat = FS.lstatSync path
catch e
return false
if stat.isDirectory()
files = FS.readdirSync path
for file in files
rm_r PATH.join path, file
FS.rmdirSync path
e... | 205253 | #Copyright 2014 - 2015
#Author: <NAME> http://blog.varunajayasiri.com
FS = require 'fs'
PATH = require 'path'
rm_r = (path) ->
try
stat = FS.lstatSync path
catch e
return false
if stat.isDirectory()
files = FS.readdirSync path
for file in files
rm_r PATH.join path, file
FS.rmdirSync path
else
FS.... | true | #Copyright 2014 - 2015
#Author: PI:NAME:<NAME>END_PI http://blog.varunajayasiri.com
FS = require 'fs'
PATH = require 'path'
rm_r = (path) ->
try
stat = FS.lstatSync path
catch e
return false
if stat.isDirectory()
files = FS.readdirSync path
for file in files
rm_r PATH.join path, file
FS.rmdirSync pa... |
[
{
"context": "tes if he's currently taking notes\n#\n# Author:\n# benjamin eidelman\n\nenv = process.env\nfs = require('fs')\n\nmodule.exp",
"end": 713,
"score": 0.999853789806366,
"start": 696,
"tag": "NAME",
"value": "benjamin eidelman"
},
{
"context": " notes[name] ?= {}\... | src/scripts/scrumnotes.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Take notes on scrum daily meetings
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SCRUMNOTES_PATH - if set, folder where daily notes should be saved as json files (otherwise they just stay on robot brain)
#
# Commands:
# hubot take scrum notes - Starts taking notes from all users in the ro... | 151840 | # Description:
# Take notes on scrum daily meetings
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SCRUMNOTES_PATH - if set, folder where daily notes should be saved as json files (otherwise they just stay on robot brain)
#
# Commands:
# hubot take scrum notes - Starts taking notes from all users in the ro... | true | # Description:
# Take notes on scrum daily meetings
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_SCRUMNOTES_PATH - if set, folder where daily notes should be saved as json files (otherwise they just stay on robot brain)
#
# Commands:
# hubot take scrum notes - Starts taking notes from all users in the ro... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985228180885315,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "+ rinfo.port\n assert.strictEqual rinfo.address, \"127.0.0.1\"\n assert.strictEqual msg.toSt... | test/simple/test-dgram-udp4.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... | 146567 | # 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# Copyright (C) 2014-2016 by Vaughn Iverson\n# job-collection is free software released un",
"end": 124,
"score": 0.9997904896736145,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | test/job_collection_tests.coffee | peerlibrary/meteor-job-collection | 1 | ############################################################################
# Copyright (C) 2014-2016 by Vaughn Iverson
# job-collection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################... | 71572 | ############################################################################
# Copyright (C) 2014-2016 by <NAME>
# job-collection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
bind_e... | true | ############################################################################
# Copyright (C) 2014-2016 by PI:NAME:<NAME>END_PI
# job-collection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
######################################################################... |
[
{
"context": "s manager\n\n@namespace Quo\n@class Gestures\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\nQ",
"end": 87,
"score": 0.9998689889907837,
"start": 66,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "o\n@class Gestur... | source/quo.gestures.coffee | lguzzon/QuoJS | 558 | ###
Quo Gestures manager
@namespace Quo
@class Gestures
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
Quo.Gestures = do ($$ = Quo) ->
_started = false
_handlers = {}
_fingers = null
_originalEvent = null
_disabled_tags = ["input", "select", "textarea"]
... | 183431 | ###
Quo Gestures manager
@namespace Quo
@class Gestures
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
Quo.Gestures = do ($$ = Quo) ->
_started = false
_handlers = {}
_fingers = null
_originalEvent = null
_disabled_tags = ["input", "select", "textarea"]
add = (gesture) ->
... | true | ###
Quo Gestures manager
@namespace Quo
@class Gestures
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
Quo.Gestures = do ($$ = Quo) ->
_started = false
_handlers = {}
_fingers = null
_originalEvent = null
_disabled_tags = ["input", "select", "texta... |
[
{
"context": "###\n@authors:\n- Nicolas Laplante https://plus.google.com/108189012221374960701\n- N",
"end": 32,
"score": 0.9998934864997864,
"start": 16,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "te https://plus.google.com/108189012221374960701\n- Nicholas McCready... | SafetyNet_Mobile/www/lib/angular-google-maps-master/src/coffee/directives/search-box.coffee | donh/pheonix | 1 | ###
@authors:
- Nicolas Laplante https://plus.google.com/108189012221374960701
- Nicholas McCready - https://twitter.com/nmccready
- Carrie Kengle - http://about.me/carrie
###
###
Places Search Box directive
This directive is used to create a Places Search Box.
This directive creates a new scope.
{attribute input re... | 127990 | ###
@authors:
- <NAME> https://plus.google.com/108189012221374960701
- <NAME> - https://twitter.com/nmccready
- <NAME> - http://about.me/carrie
###
###
Places Search Box directive
This directive is used to create a Places Search Box.
This directive creates a new scope.
{attribute input required} HTMLInputElement
{a... | true | ###
@authors:
- PI:NAME:<NAME>END_PI https://plus.google.com/108189012221374960701
- PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
- PI:NAME:<NAME>END_PI - http://about.me/carrie
###
###
Places Search Box directive
This directive is used to create a Places Search Box.
This directive creates a new scope.
{attr... |
[
{
"context": "].relationships.push(rel)\n \n key = \"group-#{@groupCount++}\"\n\n group = @data.groups[key] = \n k",
"end": 7025,
"score": 0.932339072227478,
"start": 7002,
"tag": "KEY",
"value": "group-#{@groupCount++}\""
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/visualization/VisualDataModel.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 115836 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | true | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... |
[
{
"context": " = require './scope-name-provider'\n\nCONFIG_KEY = 'file-types'\n\nmodule.exports =\n config:\n $debug:\n ty",
"end": 106,
"score": 0.9880099892616272,
"start": 96,
"tag": "KEY",
"value": "file-types"
}
] | home/.atom/packages/file-types/lib/file-types.coffee | shadowbq/dot.atom | 0 | {basename} = require 'path'
ScopeNameProvider = require './scope-name-provider'
CONFIG_KEY = 'file-types'
module.exports =
config:
$debug:
type: 'boolean'
default: no
$caseSensitive:
type: 'boolean'
default: no
debug: no
snp: new ScopeNameProvider()
_off: []
activate: (s... | 134293 | {basename} = require 'path'
ScopeNameProvider = require './scope-name-provider'
CONFIG_KEY = '<KEY>'
module.exports =
config:
$debug:
type: 'boolean'
default: no
$caseSensitive:
type: 'boolean'
default: no
debug: no
snp: new ScopeNameProvider()
_off: []
activate: (state)... | true | {basename} = require 'path'
ScopeNameProvider = require './scope-name-provider'
CONFIG_KEY = 'PI:KEY:<KEY>END_PI'
module.exports =
config:
$debug:
type: 'boolean'
default: no
$caseSensitive:
type: 'boolean'
default: no
debug: no
snp: new ScopeNameProvider()
_off: []
acti... |
[
{
"context": "\trequest.setRequestHeader('X-Auth-Token', Accounts._storedLoginToken())\n\t\terror: (jqXHR, textStatus, errorThrown)",
"end": 3084,
"score": 0.553629994392395,
"start": 3073,
"tag": "KEY",
"value": "storedLogin"
}
] | creator/packages/steedos-object-database/client/subscribe.coffee | steedos/object-server | 10 | subs_objects = new SubsManager()
Creator._subApp = new ReactiveVar({});
lazyLoadAppsMenusId = null;
lazyLoadAppsMenus = ()->
if lazyLoadAppsMenusId
clearTimeout(lazyLoadAppsMenusId)
lazyLoadAppsMenusId = setTimeout ()->
Creator.loadAppsMenus();
lazyLoadAppsMenusId = null;
, 5000
lazyChangeClientObjectsId = ... | 62658 | subs_objects = new SubsManager()
Creator._subApp = new ReactiveVar({});
lazyLoadAppsMenusId = null;
lazyLoadAppsMenus = ()->
if lazyLoadAppsMenusId
clearTimeout(lazyLoadAppsMenusId)
lazyLoadAppsMenusId = setTimeout ()->
Creator.loadAppsMenus();
lazyLoadAppsMenusId = null;
, 5000
lazyChangeClientObjectsId = ... | true | subs_objects = new SubsManager()
Creator._subApp = new ReactiveVar({});
lazyLoadAppsMenusId = null;
lazyLoadAppsMenus = ()->
if lazyLoadAppsMenusId
clearTimeout(lazyLoadAppsMenusId)
lazyLoadAppsMenusId = setTimeout ()->
Creator.loadAppsMenus();
lazyLoadAppsMenusId = null;
, 5000
lazyChangeClientObjectsId = ... |
[
{
"context": " @fileoverview Rule to prefer ES6 to CJS\n# @author Jamund Ferguson\n###\n\n# import docsUrl from '../docsUrl'\n\nEXPORT_M",
"end": 72,
"score": 0.999858021736145,
"start": 57,
"tag": "NAME",
"value": "Jamund Ferguson"
}
] | src/rules/no-commonjs.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to prefer ES6 to CJS
# @author Jamund Ferguson
###
# import docsUrl from '../docsUrl'
EXPORT_MESSAGE = 'Expected "export" or "export default"'
IMPORT_MESSAGE = 'Expected "import" instead of "require()"'
normalizeLegacyOptions = (options) ->
return allowPrimitiveModules: yes if (
optio... | 212023 | ###*
# @fileoverview Rule to prefer ES6 to CJS
# @author <NAME>
###
# import docsUrl from '../docsUrl'
EXPORT_MESSAGE = 'Expected "export" or "export default"'
IMPORT_MESSAGE = 'Expected "import" instead of "require()"'
normalizeLegacyOptions = (options) ->
return allowPrimitiveModules: yes if (
options.indexO... | true | ###*
# @fileoverview Rule to prefer ES6 to CJS
# @author PI:NAME:<NAME>END_PI
###
# import docsUrl from '../docsUrl'
EXPORT_MESSAGE = 'Expected "export" or "export default"'
IMPORT_MESSAGE = 'Expected "import" instead of "require()"'
normalizeLegacyOptions = (options) ->
return allowPrimitiveModules: yes if (
... |
[
{
"context": " [{a:1, b:2, c:3}, {a:1, b:2, name: \"shokai\"}]\n done()\n\n ts.write {a:1, b:2, c:",
"end": 7249,
"score": 0.9624879956245422,
"start": 7243,
"tag": "USERNAME",
"value": "shokai"
},
{
"context": " ts.write {a:1}\n ts.write {a:1, b:2, n... | tests/test_tuplespace.coffee | Hykwtakumin/Pakaruland | 0 | process.env.NODE_ENV = 'test'
path = require 'path'
assert = require 'assert'
async = require 'async'
Linda = require(path.resolve())
TupleSpace = Linda.TupleSpace
Tuple = Linda.Tuple
describe 'instance of "TupleSpace"', ->
it 'should have property "name"', ->
assert.equal new TupleSpace("foo").name, 'foo'
... | 137663 | process.env.NODE_ENV = 'test'
path = require 'path'
assert = require 'assert'
async = require 'async'
Linda = require(path.resolve())
TupleSpace = Linda.TupleSpace
Tuple = Linda.Tuple
describe 'instance of "TupleSpace"', ->
it 'should have property "name"', ->
assert.equal new TupleSpace("foo").name, 'foo'
... | true | process.env.NODE_ENV = 'test'
path = require 'path'
assert = require 'assert'
async = require 'async'
Linda = require(path.resolve())
TupleSpace = Linda.TupleSpace
Tuple = Linda.Tuple
describe 'instance of "TupleSpace"', ->
it 'should have property "name"', ->
assert.equal new TupleSpace("foo").name, 'foo'
... |
[
{
"context": "Markdown snippets for Leanpub authors\n# Created by Maksim Surguy\n# Enjoy!\n\n'.source.gfm':\n 'lp-image':\n 'prefi",
"end": 66,
"score": 0.9998762011528015,
"start": 53,
"tag": "NAME",
"value": "Maksim Surguy"
}
] | home/.atom/packages/leanpub-snippets/snippets/leanpub.cson | shadowbq/dot.atom | 0 | # Markdown snippets for Leanpub authors
# Created by Maksim Surguy
# Enjoy!
'.source.gfm':
'lp-image':
'prefix' : 'lp-img'
'body': ''
'lp-code' :
'prefix' : 'lp-code'
'body': '{title="Listing $1", lang=${2:html}, linenos=off}\n~~~~~~~\n$3\n~~~~~~~'
'lp-aside':
'prefix' : 'lp-a... | 140183 | # Markdown snippets for Leanpub authors
# Created by <NAME>
# Enjoy!
'.source.gfm':
'lp-image':
'prefix' : 'lp-img'
'body': ''
'lp-code' :
'prefix' : 'lp-code'
'body': '{title="Listing $1", lang=${2:html}, linenos=off}\n~~~~~~~\n$3\n~~~~~~~'
'lp-aside':
'prefix' : 'lp-aside'
... | true | # Markdown snippets for Leanpub authors
# Created by PI:NAME:<NAME>END_PI
# Enjoy!
'.source.gfm':
'lp-image':
'prefix' : 'lp-img'
'body': ''
'lp-code' :
'prefix' : 'lp-code'
'body': '{title="Listing $1", lang=${2:html}, linenos=off}\n~~~~~~~\n$3\n~~~~~~~'
'lp-aside':
'prefix' ... |
[
{
"context": ", resource: {\n resourceType: 'Users', name: 'foo'\n })\n readed = crud.fhir_read_resource(plv8",
"end": 726,
"score": 0.9867081046104431,
"start": 723,
"tag": "NAME",
"value": "foo"
},
{
"context": "\n toUpdate = copy(readed)\n toUpdate.name = 'bar'\n\... | test/fhir/history_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../../plpl/src/plv8')
crud = require('../../src/fhir/crud')
history = require('../../src/fhir/history')
schema = require('../../src/core/schema')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'CORE: History spec', ->
before ->
schema.fhir_create_storage(plv8, re... | 109051 | plv8 = require('../../plpl/src/plv8')
crud = require('../../src/fhir/crud')
history = require('../../src/fhir/history')
schema = require('../../src/core/schema')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'CORE: History spec', ->
before ->
schema.fhir_create_storage(plv8, re... | true | plv8 = require('../../plpl/src/plv8')
crud = require('../../src/fhir/crud')
history = require('../../src/fhir/history')
schema = require('../../src/core/schema')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'CORE: History spec', ->
before ->
schema.fhir_create_storage(plv8, re... |
[
{
"context": "export default\n name: 'Venus'\n type: 'planet'\n radius: 6051.8\n mass: 48.685",
"end": 29,
"score": 0.9991111159324646,
"start": 24,
"tag": "NAME",
"value": "Venus"
}
] | src/data/bodies/venus.coffee | skepticalimagination/solaris-model | 5 | export default
name: 'Venus'
type: 'planet'
radius: 6051.8
mass: 48.685e23
tilt: 177.3
elements:
format: 'jpl-1800-2050'
base: {a: 0.72333566, e: 0.00677672, i: 3.39467605, L: 181.97909950, lp: 131.60246718, node: 76.67984255}
cy: {a: 0.00000390, e: -0.00004107, i: -0.00078890, L: 58517.81538729... | 14572 | export default
name: '<NAME>'
type: 'planet'
radius: 6051.8
mass: 48.685e23
tilt: 177.3
elements:
format: 'jpl-1800-2050'
base: {a: 0.72333566, e: 0.00677672, i: 3.39467605, L: 181.97909950, lp: 131.60246718, node: 76.67984255}
cy: {a: 0.00000390, e: -0.00004107, i: -0.00078890, L: 58517.8153872... | true | export default
name: 'PI:NAME:<NAME>END_PI'
type: 'planet'
radius: 6051.8
mass: 48.685e23
tilt: 177.3
elements:
format: 'jpl-1800-2050'
base: {a: 0.72333566, e: 0.00677672, i: 3.39467605, L: 181.97909950, lp: 131.60246718, node: 76.67984255}
cy: {a: 0.00000390, e: -0.00004107, i: -0.00078890, L:... |
[
{
"context": " node: @req.node\n nodeUser: nodeUser\n actor: @req.actor\n unl",
"end": 13756,
"score": 0.8831756114959717,
"start": 13748,
"tag": "USERNAME",
"value": "nodeUser"
},
{
"context": "For /user/.../subscriptions\n #\n ... | src/local/operations.coffee | surevine/buddycloud-server | 0 | logger = require('../logger').makeLogger 'local/operations'
{inspect} = require('util')
{getNodeUser, getNodeType} = require('../util')
async = require('async')
uuid = require('node-uuid')
errors = require('../errors')
NS = require('../xmpp/ns')
{normalizeItem} = require('../normalize')
{Element} = require('node-xmpp')... | 158593 | logger = require('../logger').makeLogger 'local/operations'
{inspect} = require('util')
{getNodeUser, getNodeType} = require('../util')
async = require('async')
uuid = require('node-uuid')
errors = require('../errors')
NS = require('../xmpp/ns')
{normalizeItem} = require('../normalize')
{Element} = require('node-xmpp')... | true | logger = require('../logger').makeLogger 'local/operations'
{inspect} = require('util')
{getNodeUser, getNodeType} = require('../util')
async = require('async')
uuid = require('node-uuid')
errors = require('../errors')
NS = require('../xmpp/ns')
{normalizeItem} = require('../normalize')
{Element} = require('node-xmpp')... |
[
{
"context": "---------------------------------\n# Copyright 2014 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 2472,
"score": 0.9998105764389038,
"start": 2457,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib-src/XstackTrace.coffee | pmuellr/gh-miner | 1 | # Licensed under the Apache License. See footer for details.
path = require "path"
Error.prepareStackTrace = (error, structuredStackTrace) ->
result = []
longestFile = 0
longestLine = 0
result.push "--------------------------------------------"
result.push "error: #{error}"
result.push "stac... | 70570 | # Licensed under the Apache License. See footer for details.
path = require "path"
Error.prepareStackTrace = (error, structuredStackTrace) ->
result = []
longestFile = 0
longestLine = 0
result.push "--------------------------------------------"
result.push "error: #{error}"
result.push "stac... | true | # Licensed under the Apache License. See footer for details.
path = require "path"
Error.prepareStackTrace = (error, structuredStackTrace) ->
result = []
longestFile = 0
longestLine = 0
result.push "--------------------------------------------"
result.push "error: #{error}"
result.push "stac... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999170303344727,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/score-helper.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.
# TODO: move to application state repository thingy later
export class ScoreHelper
@hasMenu: (score) ->
score.replay || (currentUser.id? &&... | 76007 | # 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.
# TODO: move to application state repository thingy later
export class ScoreHelper
@hasMenu: (score) ->
score.replay || (currentUser.id? && score.... | 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.
# TODO: move to application state repository thingy later
export class ScoreHelper
@hasMenu: (score) ->
score.replay || (currentUse... |
[
{
"context": " getSourceFor: (spellKey) ->\n # spellKey ex: 'tharin/plan'\n code = @get('code')\n parts = spellKey.spl",
"end": 611,
"score": 0.9717100262641907,
"start": 600,
"tag": "KEY",
"value": "tharin/plan"
}
] | app/models/LevelSession.coffee | flauta/codecombat | 1 | CocoModel = require('./CocoModel')
module.exports = class LevelSession extends CocoModel
@className: "LevelSession"
urlRoot: "/db/level.session"
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@set('state', state)
updatePermissions: ->... | 222113 | CocoModel = require('./CocoModel')
module.exports = class LevelSession extends CocoModel
@className: "LevelSession"
urlRoot: "/db/level.session"
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@set('state', state)
updatePermissions: ->... | true | CocoModel = require('./CocoModel')
module.exports = class LevelSession extends CocoModel
@className: "LevelSession"
urlRoot: "/db/level.session"
initialize: ->
super()
@on 'sync', (e) =>
state = @get('state') or {}
state.scripts ?= {}
@set('state', state)
updatePermissions: ->... |
[
{
"context": "# Copyright 2018 Thomson Reuters\n# Permission is hereby granted, free of charge, t",
"end": 32,
"score": 0.9998226165771484,
"start": 17,
"tag": "NAME",
"value": "Thomson Reuters"
}
] | lib/turtle-provider.coffee | thomsonreuters/AtomOntologyCompleter | 9 | # Copyright 2018 Thomson Reuters
# 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, merge, publish, distribut... | 223420 | # Copyright 2018 <NAME>
# 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, merge, publish, distribute, sublic... | true | # Copyright 2018 PI:NAME:<NAME>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 without limitation the
# rights to use, copy, modify, merge, publish, dist... |
[
{
"context": " {\n ship: 'X-Wing'\n pilot: 'Luke Skywalker'\n upgrades: [\n null\n ",
"end": 258,
"score": 0.9019069671630859,
"start": 244,
"tag": "NAME",
"value": "Luke Skywalker"
},
{
"context": "ToLastShip} #{common.selectorForPil... | tests/test_unique.coffee | CrazyVulcan/xwing | 100 | common = require './common'
common.setup()
casper.test.begin "Named pilot uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Luke Skywalker'
upgrades: [
null
... | 10416 | common = require './common'
common.setup()
casper.test.begin "Named pilot uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: '<NAME>'
upgrades: [
null
null
... | true | common = require './common'
common.setup()
casper.test.begin "Named pilot uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'PI:NAME:<NAME>END_PI'
upgrades: [
null
... |
[
{
"context": "analytics.graphs\n\n margin = 20\n keyHeight = 20\n xAxisHeight = 20\n yAxisWidth = 40\n cont",
"end": 22787,
"score": 0.8457512855529785,
"start": 22785,
"tag": "KEY",
"value": "20"
}
] | app/views/admin/AnalyticsSubscriptionsView.coffee | JurianLock/codecombat | 0 | RootView = require 'views/core/RootView'
template = require 'templates/admin/analytics-subscriptions'
ThangType = require 'models/ThangType'
User = require 'models/User'
# TODO: Graphing code copied/mangled from campaign editor level view. OMG, DRY.
require 'vendor/d3'
module.exports = class AnalyticsSubscriptionsV... | 116279 | RootView = require 'views/core/RootView'
template = require 'templates/admin/analytics-subscriptions'
ThangType = require 'models/ThangType'
User = require 'models/User'
# TODO: Graphing code copied/mangled from campaign editor level view. OMG, DRY.
require 'vendor/d3'
module.exports = class AnalyticsSubscriptionsV... | true | RootView = require 'views/core/RootView'
template = require 'templates/admin/analytics-subscriptions'
ThangType = require 'models/ThangType'
User = require 'models/User'
# TODO: Graphing code copied/mangled from campaign editor level view. OMG, DRY.
require 'vendor/d3'
module.exports = class AnalyticsSubscriptionsV... |
[
{
"context": ",\n grant_type: 'password'\n username: username\n password: password\n client_id: @co",
"end": 796,
"score": 0.9929350018501282,
"start": 788,
"tag": "USERNAME",
"value": "username"
},
{
"context": "word'\n username: username\n ... | lib/designer-news/authenticate.coffee | layervault/designer_news_js_client | 2 | RSVP = require 'rsvp'
needle = require 'needle'
# Handles API authentication and the related client configuration.
module.exports = class Authenticate
# Constructs a new Authenticate object
#
# @param [Configuration] config The client configuration
constructor: (@config) ->
@tokenEndpoint = @config.api... | 134123 | RSVP = require 'rsvp'
needle = require 'needle'
# Handles API authentication and the related client configuration.
module.exports = class Authenticate
# Constructs a new Authenticate object
#
# @param [Configuration] config The client configuration
constructor: (@config) ->
@tokenEndpoint = @config.api... | true | RSVP = require 'rsvp'
needle = require 'needle'
# Handles API authentication and the related client configuration.
module.exports = class Authenticate
# Constructs a new Authenticate object
#
# @param [Configuration] config The client configuration
constructor: (@config) ->
@tokenEndpoint = @config.api... |
[
{
"context": "ch\r\n\r\ngenid = (len = 16, prefix = \"\", keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\") ->\r\n prefix += keyspace.charAt(Math.floor(Math",
"end": 373,
"score": 0.99954754114151,
"start": 311,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZ... | servers/www/assets/js/directives/discussion.coffee | sitedata/plunker | 340 | #= require ../vendor/angular-ui
#= require ../vendor/showdown
#= require ../vendor/prettify
#= require ../vendor/jquery.timeago
#= require ../vendor/jquery.cookie
#= require ../services/panels
#= require ../services/session
#= require ../services/scratch
genid = (len = 16, prefix = "", keyspace = "ABCDEFGHI... | 146427 | #= require ../vendor/angular-ui
#= require ../vendor/showdown
#= require ../vendor/prettify
#= require ../vendor/jquery.timeago
#= require ../vendor/jquery.cookie
#= require ../services/panels
#= require ../services/session
#= require ../services/scratch
genid = (len = 16, prefix = "", keyspace = "<KEY>") -... | true | #= require ../vendor/angular-ui
#= require ../vendor/showdown
#= require ../vendor/prettify
#= require ../vendor/jquery.timeago
#= require ../vendor/jquery.cookie
#= require ../services/panels
#= require ../services/session
#= require ../services/scratch
genid = (len = 16, prefix = "", keyspace = "PI:KEY:<K... |
[
{
"context": "sed under the MIT License\nDate: 11-08-2015\nAuthor: Julio Cesar Fausto\nSource: https://github.com/jcfausto/jcfausto-com-",
"end": 104,
"score": 0.9998642802238464,
"start": 86,
"tag": "NAME",
"value": "Julio Cesar Fausto"
},
{
"context": "or: Julio Cesar Fausto\nSourc... | app/assets/javascripts/components/portfolio.js.jsx.coffee | jcfausto/jcfausto-rails-website | 1 | ###
Portfolio React Component
Released under the MIT License
Date: 11-08-2015
Author: Julio Cesar Fausto
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@Portfolio = React.createClass
getInitialState: ->
portfolio_items: this.props.portfolio_items
#The portfolio is composed of rows with 2 items ea... | 55793 | ###
Portfolio React Component
Released under the MIT License
Date: 11-08-2015
Author: <NAME>
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@Portfolio = React.createClass
getInitialState: ->
portfolio_items: this.props.portfolio_items
#The portfolio is composed of rows with 2 items each. Will be ... | true | ###
Portfolio React Component
Released under the MIT License
Date: 11-08-2015
Author: PI:NAME:<NAME>END_PI
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@Portfolio = React.createClass
getInitialState: ->
portfolio_items: this.props.portfolio_items
#The portfolio is composed of rows with 2 items ... |
[
{
"context": "bars = [\n {\n name: \"Williams and Graham\"\n address: \"3160 Tejon St\"\n coordinates:\n ",
"end": 43,
"score": 0.9998672604560852,
"start": 24,
"tag": "NAME",
"value": "Williams and Graham"
},
{
"context": " close: \"0100\"\n recommendation:\n w... | source/assets/javascripts/picks/bars.coffee | isabella232/summit-guide-2015 | 1 | bars = [
{
name: "Williams and Graham"
address: "3160 Tejon St"
coordinates:
lat: 39.761873
long: -105.011013
hours:
open: "1700"
close: "0100"
recommendation:
who: "joshua"
what: "Any of the house cocktails"
why: "Recently voted the best bar in America. S... | 85982 | bars = [
{
name: "<NAME>"
address: "3160 Tejon St"
coordinates:
lat: 39.761873
long: -105.011013
hours:
open: "1700"
close: "0100"
recommendation:
who: "<NAME>"
what: "Any of the house cocktails"
why: "Recently voted the best bar in America. Speakeasy styl... | true | bars = [
{
name: "PI:NAME:<NAME>END_PI"
address: "3160 Tejon St"
coordinates:
lat: 39.761873
long: -105.011013
hours:
open: "1700"
close: "0100"
recommendation:
who: "PI:NAME:<NAME>END_PI"
what: "Any of the house cocktails"
why: "Recently voted the best ba... |
[
{
"context": "sical|pgup|pgdn|perform|pen|pattern|path|password|passw|pass|\\\n parse|parent|parameters|parameter|page",
"end": 5812,
"score": 0.962083101272583,
"start": 5807,
"tag": "PASSWORD",
"value": "passw"
},
{
"context": "pgup|pgdn|perform|pen|pattern|path|password|passw|p... | grammars/natural.cson | llrt/language-natural | 4 | name: 'Natural'
scopeName: 'source.natural'
fileTypes: [ 'nat', 'nsp', 'nsn', 'nsl' ]
patterns: [
{ include: '#wrong' },
{ include: '#comments' },
{ include: '#hash_vars' },
{ include: '#numbers' },
{ include: '#strings' },
{ include: '#data_definition' },
{ include: '#subroutine' },
{ include: '#opera... | 48180 | name: 'Natural'
scopeName: 'source.natural'
fileTypes: [ 'nat', 'nsp', 'nsn', 'nsl' ]
patterns: [
{ include: '#wrong' },
{ include: '#comments' },
{ include: '#hash_vars' },
{ include: '#numbers' },
{ include: '#strings' },
{ include: '#data_definition' },
{ include: '#subroutine' },
{ include: '#opera... | true | name: 'Natural'
scopeName: 'source.natural'
fileTypes: [ 'nat', 'nsp', 'nsn', 'nsl' ]
patterns: [
{ include: '#wrong' },
{ include: '#comments' },
{ include: '#hash_vars' },
{ include: '#numbers' },
{ include: '#strings' },
{ include: '#data_definition' },
{ include: '#subroutine' },
{ include: '#opera... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Marvin Frachet <marvin@konsserto.com>\n * (c) Jessym Reziga <jess",
"end": 75,
"score": 0.9998891949653625,
"start": 61,
"tag": "NAME",
"value": "Marvin Frachet"
},
{
"context": " the Konsserto package.\n *\n * (c) Ma... | node_modules/konsserto/lib/src/Konsserto/Component/Finder/DirectoryFinder.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Marvin Frachet <marvin@konsserto.com>
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
fs = use('fs')
Directory = use('@Konssert... | 174617 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
fs = use('fs')
Directory = use('@Konsserto/Component/Finder/Directory')
# Directo... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
fs = use('fs')
Directory... |
[
{
"context": "\n ))\n\n # Test variables\n userId = 1\n token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldiIsIm9yaWdfaWF0IjoxNDI4OTI5OTA4LCJ1c2VyX2lkIjoxLCJlbWFpbCI6Im1heGltZS5tb3JpbGxlQGdtYWlsLmNvbSIsImV4cCI6MTQyODkzMDIwOH0.0sOnguP31sXIklgmZOginVciR0b6m-aJCMs5uWDDYu8'\n newToken = 'eyJhbG... | test/spec/services/session.coffee | MaximeMorille/BoardGamesCriticsClient | 0 | 'use strict'
describe('Service: session', ->
# load the service's module
beforeEach(module('boardGamesCriticsClientApp'))
# instantiate service
session = {}
beforeEach(inject((Session) ->
session = Session
))
# Test variables
userId = 1
token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmF... | 135437 | 'use strict'
describe('Service: session', ->
# load the service's module
beforeEach(module('boardGamesCriticsClientApp'))
# instantiate service
session = {}
beforeEach(inject((Session) ->
session = Session
))
# Test variables
userId = 1
token = '<KEY>'
newToken = '<KEY>'
it('should create... | true | 'use strict'
describe('Service: session', ->
# load the service's module
beforeEach(module('boardGamesCriticsClientApp'))
# instantiate service
session = {}
beforeEach(inject((Session) ->
session = Session
))
# Test variables
userId = 1
token = 'PI:KEY:<KEY>END_PI'
newToken = 'PI:KEY:<KEY>EN... |
[
{
"context": "Module\n\n@namespace Quo\n@class Environment\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 86,
"score": 0.9998422265052795,
"start": 65,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "class Environme... | source/quo.environment.coffee | TNT-RoX/QuoJS | 1 | ###
Basic Quo Module
@namespace Quo
@class Environment
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android : /(Android)\s+([\d.]+)/
ipad : /(iPad).*OS\s([\d_]+)/
iphone ... | 29073 | ###
Basic Quo Module
@namespace Quo
@class Environment
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android : /(Android)\s+([\d.]+)/
ipad : /(iPad).*OS\s([\d_]+)/
iphone : /(iPhone\sOS)\s([\d_]... | true | ###
Basic Quo Module
@namespace Quo
@class Environment
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
_current = null
IS_WEBKIT = /WebKit\/([\d.]+)/
SUPPORTED_OS =
Android : /(Android)\s+([\d.]+)/
ipad : /(iPad).*OS\s([\d_]+)/
ipho... |
[
{
"context": "# Description:\n# When Steve Holt hears his name, Steve Holt makes his presence kno",
"end": 34,
"score": 0.9994603991508484,
"start": 24,
"tag": "NAME",
"value": "Steve Holt"
},
{
"context": "# Description:\n# When Steve Holt hears his name, Steve Holt makes his pr... | src/scripts/steveholt.coffee | contolini/hubot-scripts | 1,450 | # Description:
# When Steve Holt hears his name, Steve Holt makes his presence known
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# steve holt - Display an image of Steve Holt
#
# Author:
# klamping
steves = [
"http://www.ivygateblog.com/wp-content/uploads/2011/04/steve-holt.jpg",
"ht... | 172940 | # Description:
# When <NAME> hears his name, <NAME> makes his presence known
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# steve holt - Display an image of <NAME>
#
# Author:
# klamping
steves = [
"http://www.ivygateblog.com/wp-content/uploads/2011/04/steve-holt.jpg",
"http://blog.za... | true | # Description:
# When PI:NAME:<NAME>END_PI hears his name, PI:NAME:<NAME>END_PI makes his presence known
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# steve holt - Display an image of PI:NAME:<NAME>END_PI
#
# Author:
# klamping
steves = [
"http://www.ivygateblog.com/wp-content/uploads/... |
[
{
"context": "tring} Password to login to the api. Defaults to 'guest'\n #\n constructor: (options = {}) ->\n ",
"end": 961,
"score": 0.987116277217865,
"start": 956,
"tag": "PASSWORD",
"value": "guest"
},
{
"context": ": 5672\n vhost: '/'\n login: '... | src/Client.coffee | topliceanu/rabbitmq-client | 1 | _ = require 'underscore'
# Base class for Rabbitmq client implementations.
# Acts as an abstract class documenting the api for all implementations.
#
# @abstract This class should not be instantiated directly.
#
class Client
# {Object} holding options for the specific rabbitmq connection.
options: {}
# ... | 144299 | _ = require 'underscore'
# Base class for Rabbitmq client implementations.
# Acts as an abstract class documenting the api for all implementations.
#
# @abstract This class should not be instantiated directly.
#
class Client
# {Object} holding options for the specific rabbitmq connection.
options: {}
# ... | true | _ = require 'underscore'
# Base class for Rabbitmq client implementations.
# Acts as an abstract class documenting the api for all implementations.
#
# @abstract This class should not be instantiated directly.
#
class Client
# {Object} holding options for the specific rabbitmq connection.
options: {}
# ... |
[
{
"context": "t\n params:\n owner: owner\n name: name\n\n ownerClasses = classNames {\n \"owner\": t",
"end": 1725,
"score": 0.5817363262176514,
"start": 1721,
"tag": "NAME",
"value": "name"
}
] | app/partials/collection-card.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
{Link} = require 'react-router'
apiClient = require 'panoptes-client/lib/api-client'
Translate = require 'react-translate-component'
classNames = require 'classnames'
FlexibleLink = React.createClass
displayName: 'FlexibleLink'
propTypes:
to: React.PropTypes.string.isRequired
skipO... | 134717 | React = require 'react'
{Link} = require 'react-router'
apiClient = require 'panoptes-client/lib/api-client'
Translate = require 'react-translate-component'
classNames = require 'classnames'
FlexibleLink = React.createClass
displayName: 'FlexibleLink'
propTypes:
to: React.PropTypes.string.isRequired
skipO... | true | React = require 'react'
{Link} = require 'react-router'
apiClient = require 'panoptes-client/lib/api-client'
Translate = require 'react-translate-component'
classNames = require 'classnames'
FlexibleLink = React.createClass
displayName: 'FlexibleLink'
propTypes:
to: React.PropTypes.string.isRequired
skipO... |
[
{
"context": "anels\n\ndaysOfWeek = () ->\n\tchoices = {\n\t\tmonday: \"Lunes\",\n\t\ttuesday: \"Martes\",\n\t\twednesday: \"Miércoles\",\n",
"end": 280,
"score": 0.9593788385391235,
"start": 275,
"tag": "NAME",
"value": "Lunes"
},
{
"context": "() ->\n\tchoices = {\n\t\tmonday: \"Lu... | meteor-webapp/client/steps/days-of-week.coffee | alepulver/my-thesis | 0 | _ = lodash
create_handler_default = (choices, create_shape) ->
() ->
panels = Steps.createPanels choices, Steps.colors, Panels.DrawingNoOverlap, create_shape
layer = panels.shapes.layer
Widgets.addBorder layer
panels
daysOfWeek = () ->
choices = {
monday: "Lunes",
tuesday: "Martes",
wednesday: "Mi... | 147156 | _ = lodash
create_handler_default = (choices, create_shape) ->
() ->
panels = Steps.createPanels choices, Steps.colors, Panels.DrawingNoOverlap, create_shape
layer = panels.shapes.layer
Widgets.addBorder layer
panels
daysOfWeek = () ->
choices = {
monday: "<NAME>",
tuesday: "<NAME>",
wednesday: "<... | true | _ = lodash
create_handler_default = (choices, create_shape) ->
() ->
panels = Steps.createPanels choices, Steps.colors, Panels.DrawingNoOverlap, create_shape
layer = panels.shapes.layer
Widgets.addBorder layer
panels
daysOfWeek = () ->
choices = {
monday: "PI:NAME:<NAME>END_PI",
tuesday: "PI:NAME:<N... |
[
{
"context": " Admin.count\n name: req.body.name\n password: req.body.password\n , (err, count)->\n if count > 0\n res.red",
"end": 314,
"score": 0.9653481245040894,
"start": 297,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | zblog/coffee/server/routes/admin.coffee | zoei/zblog | 0 | express = require 'express'
router = express.Router()
mongoose = require 'mongoose'
Admin = mongoose.model 'Admin'
Blog = mongoose.model 'Blog'
router.get '/', (req, res, next)->
res.render 'login'
router.post '/verify', (req, res, next)->
Admin.count
name: req.body.name
password: req.body.password
, (... | 39700 | express = require 'express'
router = express.Router()
mongoose = require 'mongoose'
Admin = mongoose.model 'Admin'
Blog = mongoose.model 'Blog'
router.get '/', (req, res, next)->
res.render 'login'
router.post '/verify', (req, res, next)->
Admin.count
name: req.body.name
password: <PASSWORD>
, (err, co... | true | express = require 'express'
router = express.Router()
mongoose = require 'mongoose'
Admin = mongoose.model 'Admin'
Blog = mongoose.model 'Blog'
router.get '/', (req, res, next)->
res.render 'login'
router.post '/verify', (req, res, next)->
Admin.count
name: req.body.name
password: PI:PASSWORD:<PASSWORD>E... |
[
{
"context": "rd submitted', ->\n @scope.spending_password = \"password\"\n @scope.submitForm()\n @deferred.resolve()\n",
"end": 603,
"score": 0.9994124174118042,
"start": 595,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ock rejected', ->\n @scope.spending_pas... | spec/controllers/unlockwallet_controller_spec.coffee | AlexChien/web_wallet | 0 | describe "controller: UnlockWalletController", ->
beforeEach -> module("app")
beforeEach inject ($q, $controller, @$rootScope, @$state, Wallet) ->
@scope = @$rootScope.$new()
@deferred = $q.defer()
@wallet = spyOn(Wallet, 'wallet_unlock').andReturn(@deferred.promise)
@controller = $controller('Un... | 44724 | describe "controller: UnlockWalletController", ->
beforeEach -> module("app")
beforeEach inject ($q, $controller, @$rootScope, @$state, Wallet) ->
@scope = @$rootScope.$new()
@deferred = $q.defer()
@wallet = spyOn(Wallet, 'wallet_unlock').andReturn(@deferred.promise)
@controller = $controller('Un... | true | describe "controller: UnlockWalletController", ->
beforeEach -> module("app")
beforeEach inject ($q, $controller, @$rootScope, @$state, Wallet) ->
@scope = @$rootScope.$new()
@deferred = $q.defer()
@wallet = spyOn(Wallet, 'wallet_unlock').andReturn(@deferred.promise)
@controller = $controller('Un... |
[
{
"context": "s\\xa0]*Samuel))|(?:(?:I(?:lk|\\.)|[iİı]lk)[\\s\\xa0]*Samuel|1(?:\\.[\\s\\xa0]*|[\\s\\xa0]*)?Sa|I[\\s\\xa0]*Samuel|Bi",
"end": 8034,
"score": 0.9350614547729492,
"start": 8028,
"tag": "NAME",
"value": "Samuel"
},
{
"context": "0]*Samuel|1(?:\\.[\\s\\xa0]*|[\\s\\xa0]*)?S... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/tr/regexps.coffee | saiba-mais/bible-lessons | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 209237 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "alforage\"\n\n casper.then ->\n @evaluate ->\n michael = new Model\n name: 'Michael Bolton'\n",
"end": 523,
"score": 0.6944465041160583,
"start": 522,
"tag": "NAME",
"value": "m"
},
{
"context": "forage\"\n\n casper.then ->\n @evaluate ->\n mich... | test/test.backbone.coffee | thebaer/localForage | 1 | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'object'
, "localforage storage adapter is attached to Backbone... | 171890 | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'object'
, "localforage storage adapter is attached to Backbone... | true | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'object'
, "localforage storage adapter is attached to Backbone... |
[
{
"context": "quires lodash\n@requires q\n@requires bcrypt\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n_ ",
"end": 1115,
"score": 0.9998690485954285,
"start": 1101,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "quires q\n@requires bcrypt\n@au... | src/agent/model.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 86328 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999173879623413,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/landing-graph.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @LandingGraph
container: document.getElementsByClassName('js-landing-graph')
constructor: ->
$(window).on 'throttled-resize', @re... | 168096 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @LandingGraph
container: document.getElementsByClassName('js-landing-graph')
constructor: ->
$(window).on 'throttled-resize', @resize
... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @LandingGraph
container: document.getElementsByClassName('js-landing-graph')
constructor: ->
$(window).on 'throttled-resi... |
[
{
"context": "ginal', ->\n fn = t 's b', goodName\n fn('Dan').should.equal false\n fn('Danny').should.equ",
"end": 574,
"score": 0.9995474219322205,
"start": 571,
"tag": "NAME",
"value": "Dan"
},
{
"context": "Name\n fn('Dan').should.equal false\n fn('Danny')... | test/main.coffee | dmotz/taxa | 4 | require 'should'
require 'coffee-script/register'
t = require '../taxa.coffee'
goodName = (name) -> name.length > 3
add = (a, b) -> a + b
sayHello = -> 'hello'
describe 'taxa', ->
describe '#taxa()', ->
it 'should always return a function', ->
(typeof t 's b', goodName).should.equal 'function'
... | 70825 | require 'should'
require 'coffee-script/register'
t = require '../taxa.coffee'
goodName = (name) -> name.length > 3
add = (a, b) -> a + b
sayHello = -> 'hello'
describe 'taxa', ->
describe '#taxa()', ->
it 'should always return a function', ->
(typeof t 's b', goodName).should.equal 'function'
... | true | require 'should'
require 'coffee-script/register'
t = require '../taxa.coffee'
goodName = (name) -> name.length > 3
add = (a, b) -> a + b
sayHello = -> 'hello'
describe 'taxa', ->
describe '#taxa()', ->
it 'should always return a function', ->
(typeof t 's b', goodName).should.equal 'function'
... |
[
{
"context": "dal: false\n showMessageModal: false\n password: 'New Password Appears Here'\n\n loading: false\n\n # message modal's message\n ",
"end": 1534,
"score": 0.9993767142295837,
"start": 1509,
"tag": "PASSWORD",
"value": "New Password Appears Here"
},
{
"context": "n (re... | modules/hanzo-subscribers/index.coffee | hanzo-io/dash2 | 2 | import Daisho from 'daisho/src'
import Promise from 'broken'
import numeral from 'numeral'
import { isRequired } from 'daisho/src/views/middleware'
import subscribersHtml from './templates/subscribers.pug'
import subscriberHtml from './templates/subscriber.pug'
import css from './css/app.styl'
# import TractorBeam f... | 54325 | import Daisho from 'daisho/src'
import Promise from 'broken'
import numeral from 'numeral'
import { isRequired } from 'daisho/src/views/middleware'
import subscribersHtml from './templates/subscribers.pug'
import subscriberHtml from './templates/subscriber.pug'
import css from './css/app.styl'
# import TractorBeam f... | true | import Daisho from 'daisho/src'
import Promise from 'broken'
import numeral from 'numeral'
import { isRequired } from 'daisho/src/views/middleware'
import subscribersHtml from './templates/subscribers.pug'
import subscriberHtml from './templates/subscriber.pug'
import css from './css/app.styl'
# import TractorBeam f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.