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": "BEST_KEY = 'score:best'\n\nclass Score\n constructor: ->\n @last = 0\n ",
"end": 22,
"score": 0.8670603632926941,
"start": 12,
"tag": "KEY",
"value": "score:best"
}
] | src/models/score.coffee | kkmonlee/Link | 0 | BEST_KEY = 'score:best'
class Score
constructor: ->
@last = 0
try
@best = if localStorage[BEST_KEY] then \
parseInt(localStorage[BEST_KEY]) \
else 0
catch e
console.log e
save: (score) =>
@last = score
if score > @best
@setBest(score)
getLast... | 151744 | BEST_KEY = '<KEY>'
class Score
constructor: ->
@last = 0
try
@best = if localStorage[BEST_KEY] then \
parseInt(localStorage[BEST_KEY]) \
else 0
catch e
console.log e
save: (score) =>
@last = score
if score > @best
@setBest(score)
getLast: (sc... | true | BEST_KEY = 'PI:KEY:<KEY>END_PI'
class Score
constructor: ->
@last = 0
try
@best = if localStorage[BEST_KEY] then \
parseInt(localStorage[BEST_KEY]) \
else 0
catch e
console.log e
save: (score) =>
@last = score
if score > @best
@setBest(score)
... |
[
{
"context": "await baseClient.getSecret(label)\n key = utl.strip0x(key)\n client = await clientFactory.createC",
"end": 1256,
"score": 0.8441166877746582,
"start": 1247,
"tag": "KEY",
"value": "l.strip0x"
}
] | source/autodetectkeysmodule/autodetectkeysmodule.coffee | JhonnyJason/secret-cockpit-sources | 0 | autodetectkeysmodule = {name: "autodetectkeysmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["autodetectkeysmodule"]? then console.log "[autodetectkeysmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(o... | 67631 | autodetectkeysmodule = {name: "autodetectkeysmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["autodetectkeysmodule"]? then console.log "[autodetectkeysmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(o... | true | autodetectkeysmodule = {name: "autodetectkeysmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["autodetectkeysmodule"]? then console.log "[autodetectkeysmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(o... |
[
{
"context": "moscow rules - Prints Moscow Rules\n#\n# Author:\n# Scott J Roberts - @sroberts\n\nmoscow_rules = [\n \"Any operation ca",
"end": 225,
"score": 0.9998693466186523,
"start": 210,
"tag": "NAME",
"value": "Scott J Roberts"
},
{
"context": "nts Moscow Rules\n#\n# Author:... | src/scripts/moscow-rules.coffee | 3ch01c/hubot-vtr-scripts | 47 | # Description:
# Give some information on following Moscow Rules
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot what are the moscow rules - Prints Moscow Rules
#
# Author:
# Scott J Roberts - @sroberts
moscow_rules = [
"Any operation can be aborted. If it feels wrong, it is wrong.... | 137657 | # Description:
# Give some information on following Moscow Rules
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot what are the moscow rules - Prints Moscow Rules
#
# Author:
# <NAME> - @sroberts
moscow_rules = [
"Any operation can be aborted. If it feels wrong, it is wrong.",
"Ass... | true | # Description:
# Give some information on following Moscow Rules
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot what are the moscow rules - Prints Moscow Rules
#
# Author:
# PI:NAME:<NAME>END_PI - @sroberts
moscow_rules = [
"Any operation can be aborted. If it feels wrong, it is w... |
[
{
"context": " {\n name: 'Todo',\n renderer: 'stack',\n",
"end": 17569,
"score": 0.9348122477531433,
"start": 17565,
"tag": "NAME",
"value": "Todo"
},
{
"context": "eTimeGraphTeam()\n InitializeAverageStoriesGraph(@... | app/assets/javascripts/teams.coffee | eddygarcas/vortrics | 0 | `
function TimeToFirstResponse(data) {
document.getElementById('bars-first-response-loader').innerHTML = "";
graph_f = new Rickshaw.Graph({
element: document.getElementById('bars-first-response'),
height: 220,
renderer: 'multi',
series: [
... | 107848 | `
function TimeToFirstResponse(data) {
document.getElementById('bars-first-response-loader').innerHTML = "";
graph_f = new Rickshaw.Graph({
element: document.getElementById('bars-first-response'),
height: 220,
renderer: 'multi',
series: [
... | true | `
function TimeToFirstResponse(data) {
document.getElementById('bars-first-response-loader').innerHTML = "";
graph_f = new Rickshaw.Graph({
element: document.getElementById('bars-first-response'),
height: 220,
renderer: 'multi',
series: [
... |
[
{
"context": "nt _.extend {}, @props,\n key: \"settings-widget-#{name}\"\n onChange: @onWidgetUpdate\n DOM",
"end": 1601,
"score": 0.7306637763977051,
"start": 1586,
"tag": "KEY",
"value": "widget-#{name}\""
}
] | src/components/settings.coffee | brianshaler/kerplunk-blog | 0 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
{DOM} = React
Input = React.createFactory Bootstrap.Input
module.exports = React.createFactory React.createClass
onWidgetUpdate: (update) ->
return
console.log 'update!', update
render: ->
DOM.section
className:... | 119718 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
{DOM} = React
Input = React.createFactory Bootstrap.Input
module.exports = React.createFactory React.createClass
onWidgetUpdate: (update) ->
return
console.log 'update!', update
render: ->
DOM.section
className:... | true | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
{DOM} = React
Input = React.createFactory Bootstrap.Input
module.exports = React.createFactory React.createClass
onWidgetUpdate: (update) ->
return
console.log 'update!', update
render: ->
DOM.section
className:... |
[
{
"context": "ost:27017/mean\"\n mailer:\n defaultFromAddres: \"postmaster@blade.mailgun.org\"\n sessionSecret: process.env.SESSION_SECRET or \"",
"end": 141,
"score": 0.9999329447746277,
"start": 113,
"tag": "EMAIL",
"value": "postmaster@blade.mailgun.org"
},
{
"context": "s.en... | development/server/config/env/all.coffee | SwingDev/MEAN-starter | 0 | module.exports =
db: process.env.MONGODB or "mongodb://localhost:27017/mean"
mailer:
defaultFromAddres: "postmaster@blade.mailgun.org"
sessionSecret: process.env.SESSION_SECRET or "Your Session Secret goes here"
mailgun:
user: process.env.MAILGUN_USER or "MAILGUN_USER"
password: process.env.MAILGUN_... | 190255 | module.exports =
db: process.env.MONGODB or "mongodb://localhost:27017/mean"
mailer:
defaultFromAddres: "<EMAIL>"
sessionSecret: process.env.SESSION_SECRET or "Your Session Secret goes here"
mailgun:
user: process.env.MAILGUN_USER or "MAILGUN_USER"
password: <PASSWORD> or "<PASSWORD>" | true | module.exports =
db: process.env.MONGODB or "mongodb://localhost:27017/mean"
mailer:
defaultFromAddres: "PI:EMAIL:<EMAIL>END_PI"
sessionSecret: process.env.SESSION_SECRET or "Your Session Secret goes here"
mailgun:
user: process.env.MAILGUN_USER or "MAILGUN_USER"
password: PI:PASSWORD:<PASSWORD>END_... |
[
{
"context": "(done) ->\n _global.createUser\n # username: _global.username3\n region: '86'\n phone: _global.phoneNumb",
"end": 185,
"score": 0.9893914461135864,
"start": 168,
"tag": "USERNAME",
"value": "_global.username3"
},
{
"context": "ickname: _global.nickname... | spec/userSpec.coffee | lly5401/dhcseltalkserver | 1 | describe '用户接口测试', ->
_global = null
verificationCodeToken = null
beforeAll ->
_global = this
afterAll (done) ->
_global.createUser
# username: _global.username3
region: '86'
phone: _global.phoneNumber3
nickname: _global.nickname3
password: _global.password
, (userId)... | 76924 | describe '用户接口测试', ->
_global = null
verificationCodeToken = null
beforeAll ->
_global = this
afterAll (done) ->
_global.createUser
# username: _global.username3
region: '86'
phone: _global.phoneNumber3
nickname: _global.nickname3
password: _global.<PASSWORD>
, (userI... | true | describe '用户接口测试', ->
_global = null
verificationCodeToken = null
beforeAll ->
_global = this
afterAll (done) ->
_global.createUser
# username: _global.username3
region: '86'
phone: _global.phoneNumber3
nickname: _global.nickname3
password: _global.PI:PASSWORD:<PASSWORD>E... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998884201049805,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/r... | src/Coffixi/renderers/webgl/GLESGraphics.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESGraphics', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/utils/PolyK'
'Coffixi/primitives/Graphics'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
], (
Point
Matrix
PolyK
Graphics
... | 57383 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESGraphics', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/utils/PolyK'
'Coffixi/primitives/Graphics'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
], (
Point
Matrix
PolyK
Graphics
GLE... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESGraphics', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/utils/PolyK'
'Coffixi/primitives/Graphics'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
], (
Point
Matrix
PolyK
... |
[
{
"context": "# Copyright (c) 2012 Paul Tagliamonte <paultag@debian.org>\n#\n# Permission is hereby gra",
"end": 37,
"score": 0.9998683929443359,
"start": 21,
"tag": "NAME",
"value": "Paul Tagliamonte"
},
{
"context": "# Copyright (c) 2012 Paul Tagliamonte <paultag@debian.org>\n#\n# ... | site/coffee/main.coffee | rwaldron/hy | 0 | # Copyright (c) 2012 Paul Tagliamonte <paultag@debian.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modif... | 61262 | # Copyright (c) 2012 <NAME> <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, di... | true | # Copyright (c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, cop... |
[
{
"context": "lender:', ->\n rootLevelKeys =\n name: 'myBundle'\n main: 'myMainLib'\n bundle: # 'bun",
"end": 4208,
"score": 0.7177014946937561,
"start": 4200,
"tag": "USERNAME",
"value": "myBundle"
},
{
"context": " result,\n bundle:\n ... | source/spec/config/blendConfigs-spec.coffee | gaybro8777/uRequire | 103 | blendConfigs = require '../../code/config/blendConfigs'
MasterDefaultsConfig = require '../../code/config/MasterDefaultsConfig'
{
moveKeysBlender
depracatedKeysBlender
templateBlender
dependenciesBindingsBlender
bundleBuildBlender
shimBlender
watchBlender
} = blendConfigs
arrayizePushBlender = new _B.Arr... | 131193 | blendConfigs = require '../../code/config/blendConfigs'
MasterDefaultsConfig = require '../../code/config/MasterDefaultsConfig'
{
moveKeysBlender
depracatedKeysBlender
templateBlender
dependenciesBindingsBlender
bundleBuildBlender
shimBlender
watchBlender
} = blendConfigs
arrayizePushBlender = new _B.Arr... | true | blendConfigs = require '../../code/config/blendConfigs'
MasterDefaultsConfig = require '../../code/config/MasterDefaultsConfig'
{
moveKeysBlender
depracatedKeysBlender
templateBlender
dependenciesBindingsBlender
bundleBuildBlender
shimBlender
watchBlender
} = blendConfigs
arrayizePushBlender = new _B.Arr... |
[
{
"context": " res) ->\n\n pageTable = 'https://www.facebook.com/INSAdeLyon/?fref=ts'\n res.send pageTable\n\nexports.fbConnect",
"end": 1337,
"score": 0.9182571172714233,
"start": 1327,
"tag": "USERNAME",
"value": "INSAdeLyon"
},
{
"context": "lue = login\n frm.elements['... | Back-end/back-end/get.coffee | MinutoDelOr/Projet_Secu | 0 | mongoose = require 'mongoose'
fs = require 'fs'
phantom = require 'phantom'
exports.test = (req,res) -> res.send('id: ' + req.query.id)
exports.getJson = (req,res) ->
fields = req.body
res.send(fields)
exports.createUser = (req,res) ->
Resource = mongoose.model('sites')
fields = req.body
console.log(fiel... | 69663 | mongoose = require 'mongoose'
fs = require 'fs'
phantom = require 'phantom'
exports.test = (req,res) -> res.send('id: ' + req.query.id)
exports.getJson = (req,res) ->
fields = req.body
res.send(fields)
exports.createUser = (req,res) ->
Resource = mongoose.model('sites')
fields = req.body
console.log(fiel... | true | mongoose = require 'mongoose'
fs = require 'fs'
phantom = require 'phantom'
exports.test = (req,res) -> res.send('id: ' + req.query.id)
exports.getJson = (req,res) ->
fields = req.body
res.send(fields)
exports.createUser = (req,res) ->
Resource = mongoose.model('sites')
fields = req.body
console.log(fiel... |
[
{
"context": "n _m\n\n DL.get_ua 'https://api.github.com/repos/zekrotja/zekroBot2/commits?sha=dev', (c_err, c_res) ->\n ",
"end": 580,
"score": 0.9954535961151123,
"start": 572,
"tag": "USERNAME",
"value": "zekrotja"
},
{
"context": "\n \"\\n[**Here**](https://git... | src/commands/info.coffee | zekroTJA/zekroBot2 | 12 | Main = require '../main'
client = Main.client
Discord = require 'discord.js'
Embeds = require '../util/embeds'
Statics = require '../util/statics'
Cloc = require '../util/cloc'
DL = require '../util/dl'
exports.ex = (msg, args) ->
deps = Main.package.dependencies
deps_str = Object.keys deps
.map (k) ... | 121009 | Main = require '../main'
client = Main.client
Discord = require 'discord.js'
Embeds = require '../util/embeds'
Statics = require '../util/statics'
Cloc = require '../util/cloc'
DL = require '../util/dl'
exports.ex = (msg, args) ->
deps = Main.package.dependencies
deps_str = Object.keys deps
.map (k) ... | true | Main = require '../main'
client = Main.client
Discord = require 'discord.js'
Embeds = require '../util/embeds'
Statics = require '../util/statics'
Cloc = require '../util/cloc'
DL = require '../util/dl'
exports.ex = (msg, args) ->
deps = Main.package.dependencies
deps_str = Object.keys deps
.map (k) ... |
[
{
"context": "# 'distance' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 40,
"score": 0.9998862147331238,
"start": 30,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "istance' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail... | module/distance.coffee | marckrenn/framer-distance | 7 | # 'distance' module v1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# distance = require "distance"
startcord = false
startX = 0
startY = 0
dist = 0.0
# Returns distance between current and start position of a draggable layer
exports.... | 14251 | # 'distance' module v1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# distance = require "distance"
startcord = false
startX = 0
startY = 0
dist = 0.0
# Returns distance between current and start position of a draggable layer
exports.toDragStart = (la... | true | # 'distance' module v1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# distance = require "distance"
startcord = false
startX = 0
startY = 0
dist = 0.0
# Returns distance between current and start position of a draggable la... |
[
{
"context": "return unless @initiated.length\n keys = (module.name for module in @initiated)\n console.warn \"previous ",
"end": 2424,
"score": 0.7357819676399231,
"start": 2416,
"tag": "KEY",
"value": "name for"
}
] | js/mapper.coffee | jbgutierrez/webpack-versioner-example | 0 | ##
# graph-cluster-name: core
##
if window.location.hostname is 'localhost'
__webpack_require__.p = "/"
MODULE_NAME = 'mapper'
console = require('logger').for(MODULE_NAME, '#dff0d8')
g = require 'globals'
proxy = require 'proxy'
g = require 'globals'
ajax = require 'ajax'
# Ex:
# require.ensure [], -> require 'conte... | 159555 | ##
# graph-cluster-name: core
##
if window.location.hostname is 'localhost'
__webpack_require__.p = "/"
MODULE_NAME = 'mapper'
console = require('logger').for(MODULE_NAME, '#dff0d8')
g = require 'globals'
proxy = require 'proxy'
g = require 'globals'
ajax = require 'ajax'
# Ex:
# require.ensure [], -> require 'conte... | true | ##
# graph-cluster-name: core
##
if window.location.hostname is 'localhost'
__webpack_require__.p = "/"
MODULE_NAME = 'mapper'
console = require('logger').for(MODULE_NAME, '#dff0d8')
g = require 'globals'
proxy = require 'proxy'
g = require 'globals'
ajax = require 'ajax'
# Ex:
# require.ensure [], -> require 'conte... |
[
{
"context": "'encodes nested lists', ->\n expect(encode [['james', 'john'], [['jordin', 12]]]).to.equal 'll5:james",
"end": 798,
"score": 0.9831953048706055,
"start": 793,
"tag": "NAME",
"value": "james"
},
{
"context": "nested lists', ->\n expect(encode [['james', 'john']... | test/encode_spec.coffee | benjreinhart/bencode-js | 32 | { encode } = require '../'
{ expect } = require 'chai'
describe 'encoding', ->
describe 'strings', ->
it 'encodes a string as <lenOfString>:<string>', ->
expect(encode 'omg hay thurrr').to.equal '14:omg hay thurrr'
describe 'integers', ->
it 'encodes integers as i<integer>e', ->
expect(encode ... | 202658 | { encode } = require '../'
{ expect } = require 'chai'
describe 'encoding', ->
describe 'strings', ->
it 'encodes a string as <lenOfString>:<string>', ->
expect(encode 'omg hay thurrr').to.equal '14:omg hay thurrr'
describe 'integers', ->
it 'encodes integers as i<integer>e', ->
expect(encode ... | true | { encode } = require '../'
{ expect } = require 'chai'
describe 'encoding', ->
describe 'strings', ->
it 'encodes a string as <lenOfString>:<string>', ->
expect(encode 'omg hay thurrr').to.equal '14:omg hay thurrr'
describe 'integers', ->
it 'encodes integers as i<integer>e', ->
expect(encode ... |
[
{
"context": "uld validate matching strings', ->\n { name: 'Sanjuro' }.should.respect { name: /^[TS].*j.r/ }\n\n itS",
"end": 299,
"score": 0.9996743202209473,
"start": 292,
"tag": "NAME",
"value": "Sanjuro"
},
{
"context": " missing non-matching strings', ->\n { name: '... | test/regex.test.coffee | sabiwara/hikaku.js | 4 |
should = null
respect = require '..'
describe 'Regex comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'Regex literal', ->
it 'should validate matching strings', ->
{ name: 'Sanjuro' }.should.respect { ... | 162694 |
should = null
respect = require '..'
describe 'Regex comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'Regex literal', ->
it 'should validate matching strings', ->
{ name: '<NAME>' }.should.respect { n... | true |
should = null
respect = require '..'
describe 'Regex comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'Regex literal', ->
it 'should validate matching strings', ->
{ name: 'PI:NAME:<NAME>END_PI' }.shou... |
[
{
"context": "# This has a fork list and manages it.\n#\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 144,
"score": 0.9998915791511536,
"start": 130,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/code-path-analysis/fork-context.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A class to operate forking.
#
# This is state of forking.
# This has a fork list and manages it.
#
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------... | 10571 | ###*
# @fileoverview A class to operate forking.
#
# This is state of forking.
# This has a fork list and manages it.
#
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#--------------------------------------------------------------------... | true | ###*
# @fileoverview A class to operate forking.
#
# This is state of forking.
# This has a fork list and manages it.
#
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------... |
[
{
"context": ":\n#\n# Configuration:\n#\n# Commands:\n#\n# Author:\n# Thomas Howe - ghostofbasho@gmail.com\n#\n\n_ = require('undersco",
"end": 128,
"score": 0.9998682141304016,
"start": 117,
"tag": "NAME",
"value": "Thomas Howe"
},
{
"context": "ation:\n#\n# Commands:\n#\n# Author... | src/scripts/session.coffee | green-bot/hubot-session | 1 | # Description:
# Handles session aware dialogs.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# Thomas Howe - ghostofbasho@gmail.com
#
_ = require('underscore')
Async = require('async')
Bluebird = require('bluebird')
ChildProcess = require("child_process")
Events = require('events')
LanguageFilter... | 65318 | # Description:
# Handles session aware dialogs.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# <NAME> - <EMAIL>
#
_ = require('underscore')
Async = require('async')
Bluebird = require('bluebird')
ChildProcess = require("child_process")
Events = require('events')
LanguageFilter = require('watson-t... | true | # Description:
# Handles session aware dialogs.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
#
_ = require('underscore')
Async = require('async')
Bluebird = require('bluebird')
ChildProcess = require("child_process")
Events = require('events')
Langu... |
[
{
"context": " team = { _id: uuid, name: 'Tukeq Team', authorId: userId, members: [userId1, userId2, ... ], createdAt: Da",
"end": 58,
"score": 0.9792311191558838,
"start": 52,
"tag": "USERNAME",
"value": "userId"
},
{
"context": "n 'profiles'\n\n# project = {\n# _id: uuid, name: '... | collections/models.coffee | tyrchen/teamspark | 21 | # team = { _id: uuid, name: 'Tukeq Team', authorId: userId, members: [userId1, userId2, ... ], createdAt: Date(), abbr: 'tkq', nextIssueId: 0}
@Teams = new Meteor.Collection 'teams'
# profile = {
# _id: uuid, userId: userId, online: true/false, teamId: teamId,
# lastActive: new Date(), totalSeconds: integer
# to... | 95418 | # team = { _id: uuid, name: 'Tukeq Team', authorId: userId, members: [userId1, userId2, ... ], createdAt: Date(), abbr: 'tkq', nextIssueId: 0}
@Teams = new Meteor.Collection 'teams'
# profile = {
# _id: uuid, userId: userId, online: true/false, teamId: teamId,
# lastActive: new Date(), totalSeconds: integer
# to... | true | # team = { _id: uuid, name: 'Tukeq Team', authorId: userId, members: [userId1, userId2, ... ], createdAt: Date(), abbr: 'tkq', nextIssueId: 0}
@Teams = new Meteor.Collection 'teams'
# profile = {
# _id: uuid, userId: userId, online: true/false, teamId: teamId,
# lastActive: new Date(), totalSeconds: integer
# to... |
[
{
"context": "uide/jentiks-duiker-1.jpg\"]\n credit: \"Credit: Brent Huffman - Ultimate Ungulate Images.\"\n },\n\n {\n ",
"end": 8179,
"score": 0.9998499155044556,
"start": 8166,
"tag": "NAME",
"value": "Brent Huffman"
},
{
"context": "/guide/zebra-duiker-1.jpg\"]\n ... | app/lib/guide.coffee | zooniverse/chimpandsee | 2 | guideDetails = {
animals: [{
header: 'bird'
subHeader: '<em>Aves</em> class'
description: '''
<p>All birds can be classified using this option. Birds have wings, feathers, and beaks; most are capable of flight. A wide variety of birds can be found throughout Africa. Examples of birds seen o... | 199023 | guideDetails = {
animals: [{
header: 'bird'
subHeader: '<em>Aves</em> class'
description: '''
<p>All birds can be classified using this option. Birds have wings, feathers, and beaks; most are capable of flight. A wide variety of birds can be found throughout Africa. Examples of birds seen o... | true | guideDetails = {
animals: [{
header: 'bird'
subHeader: '<em>Aves</em> class'
description: '''
<p>All birds can be classified using this option. Birds have wings, feathers, and beaks; most are capable of flight. A wide variety of birds can be found throughout Africa. Examples of birds seen o... |
[
{
"context": "\tif typeof key == \"number\"\r\n\t\t\ti = key\r\n\t\t\tkey = @keys[i]\r\n\t\t\telement = @elements[i]\r\n\t\t\t@elements.splice(",
"end": 438,
"score": 0.5701131224632263,
"start": 432,
"tag": "KEY",
"value": "keys[i"
}
] | src/core/keyed-array.coffee | homeant/cola-ui | 90 | class cola.util.KeyedArray
size: 0
constructor: ()->
@elements = []
@keys = []
@keyMap = {}
add: (key, element)->
if @keyMap.hasOwnProperty(key)
i = @elements.indexOf(element)
if i > -1
@elements.splice(i, 1)
@keys.splice(i, 1)
@keyMap[key] = element
@size = @elements.push(... | 177395 | class cola.util.KeyedArray
size: 0
constructor: ()->
@elements = []
@keys = []
@keyMap = {}
add: (key, element)->
if @keyMap.hasOwnProperty(key)
i = @elements.indexOf(element)
if i > -1
@elements.splice(i, 1)
@keys.splice(i, 1)
@keyMap[key] = element
@size = @elements.push(... | true | class cola.util.KeyedArray
size: 0
constructor: ()->
@elements = []
@keys = []
@keyMap = {}
add: (key, element)->
if @keyMap.hasOwnProperty(key)
i = @elements.indexOf(element)
if i > -1
@elements.splice(i, 1)
@keys.splice(i, 1)
@keyMap[key] = element
@size = @elements.push(... |
[
{
"context": "/PEM--/grunt-phonegapsplash\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under",
"end": 120,
"score": 0.9998788833618164,
"start": 98,
"tag": "NAME",
"value": "Pierre-Eric Marchandet"
},
{
"context": "Copyright (c) 2013 Pi... | lib/profiles.coffee | oarsheo/grunt-phonegapsplash | 0 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles f... | 47189 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles for every splashscreens covered ... | true | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles for... |
[
{
"context": "n\"\ncs += \" addr = server.address() or {address: '0.0.0.0', port: argv[0] or 8000}\\n\"\ncs += \" router.log \\",
"end": 1202,
"score": 0.9996731877326965,
"start": 1195,
"tag": "IP_ADDRESS",
"value": "0.0.0.0"
},
{
"context": "s) {\n return res.end(\"Hello, W... | images/Postman.app/Contents/Resources/app/node_modules/node-simple-router/src/mk-server.coffee | longjo/longjo.github.io | 7 | #!/usr/bin/env coffee
cs = "#!/usr/bin/env coffee"
cs += "\n\n"
cs += "try\n"
cs += " Router = require 'node-simple-router'\n"
cs += "catch e\n"
cs += " Router = require '../lib/router'\n\n"
cs += "http = require 'http'\n"
cs += "router = Router(list_dir: true)\n"
cs += "#\n"
cs += "#Example routes\n"
cs += "#\n"
c... | 80581 | #!/usr/bin/env coffee
cs = "#!/usr/bin/env coffee"
cs += "\n\n"
cs += "try\n"
cs += " Router = require 'node-simple-router'\n"
cs += "catch e\n"
cs += " Router = require '../lib/router'\n\n"
cs += "http = require 'http'\n"
cs += "router = Router(list_dir: true)\n"
cs += "#\n"
cs += "#Example routes\n"
cs += "#\n"
c... | true | #!/usr/bin/env coffee
cs = "#!/usr/bin/env coffee"
cs += "\n\n"
cs += "try\n"
cs += " Router = require 'node-simple-router'\n"
cs += "catch e\n"
cs += " Router = require '../lib/router'\n\n"
cs += "http = require 'http'\n"
cs += "router = Router(list_dir: true)\n"
cs += "#\n"
cs += "#Example routes\n"
cs += "#\n"
c... |
[
{
"context": " def = {\n id: id,\n name: name,\n type: type,\n domain: doma",
"end": 12061,
"score": 0.999542236328125,
"start": 12057,
"tag": "NAME",
"value": "name"
}
] | csat/visualization/assets/coffeescripts/graph.coffee | GaretJax/csat | 0 | parseIds = (id, onlyLast=false) ->
tokens = id.split('::')
if onlyLast
parseInt(tokens[tokens.length-1].replace(/^n|g|d|e/, ''))
else
tokens.map((el) ->
parseInt(el.replace(/^n|g|d|e/, ''))
)
class NeighborsIterator
constructor: (@node) ->
@directed = true
... | 117364 | parseIds = (id, onlyLast=false) ->
tokens = id.split('::')
if onlyLast
parseInt(tokens[tokens.length-1].replace(/^n|g|d|e/, ''))
else
tokens.map((el) ->
parseInt(el.replace(/^n|g|d|e/, ''))
)
class NeighborsIterator
constructor: (@node) ->
@directed = true
... | true | parseIds = (id, onlyLast=false) ->
tokens = id.split('::')
if onlyLast
parseInt(tokens[tokens.length-1].replace(/^n|g|d|e/, ''))
else
tokens.map((el) ->
parseInt(el.replace(/^n|g|d|e/, ''))
)
class NeighborsIterator
constructor: (@node) ->
@directed = true
... |
[
{
"context": "atal\n# Bootstrap ClojureScript React Native apps\n# Dan Motzenbecker\n# http://oxism.com\n# MIT License\n\nfs = requi",
"end": 73,
"score": 0.9998711347579956,
"start": 57,
"tag": "NAME",
"value": "Dan Motzenbecker"
},
{
"context": "->\n allowedTypes = {'real': '... | re-natal.coffee | pvinis/re-natal | 0 | # Re-Natal
# Bootstrap ClojureScript React Native apps
# Dan Motzenbecker
# http://oxism.com
# MIT License
fs = require 'fs-extra'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require 'commander'
chalk = require 'cha... | 122383 | # Re-Natal
# Bootstrap ClojureScript React Native apps
# <NAME>
# http://oxism.com
# MIT License
fs = require 'fs-extra'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require 'commander'
chalk = require 'chalk'
semver... | true | # Re-Natal
# Bootstrap ClojureScript React Native apps
# PI:NAME:<NAME>END_PI
# http://oxism.com
# MIT License
fs = require 'fs-extra'
fpath = require 'path'
net = require 'net'
http = require 'http'
os = require 'os'
child = require 'child_process'
cli = require 'commander'
chalk = require ... |
[
{
"context": " will fall back to reddit/r/golang\n#\n# Author:\n# Nevio Vesic (0x19) <nevio.vesic@gmail.com>\n\nparser = require ",
"end": 320,
"score": 0.9998486638069153,
"start": 309,
"tag": "NAME",
"value": "Nevio Vesic"
},
{
"context": "ddit/r/golang\n#\n# Author:\n# Nevio V... | src/gonews.coffee | 0x19/hubot-gonews | 2 | # Description
# Hubot golang news pulled from reddit
#
# Configuration:
# GONEWS_RSS_FEED_URL
#
# Commands:
# gonews latest [\d+] - returns list of latest golang news. Default 5 items per response...
#
# Notes:
# GONEWS_RSS_FEED_URL is not needed. It will fall back to reddit/r/golang
#
# Author:
# Nevio Vesic... | 186881 | # Description
# Hubot golang news pulled from reddit
#
# Configuration:
# GONEWS_RSS_FEED_URL
#
# Commands:
# gonews latest [\d+] - returns list of latest golang news. Default 5 items per response...
#
# Notes:
# GONEWS_RSS_FEED_URL is not needed. It will fall back to reddit/r/golang
#
# Author:
# <NAME> (0x1... | true | # Description
# Hubot golang news pulled from reddit
#
# Configuration:
# GONEWS_RSS_FEED_URL
#
# Commands:
# gonews latest [\d+] - returns list of latest golang news. Default 5 items per response...
#
# Notes:
# GONEWS_RSS_FEED_URL is not needed. It will fall back to reddit/r/golang
#
# Author:
# PI:NAME:<NA... |
[
{
"context": ": Tier 3 - Total Cost of Ownership Tool\n# Author: matt@wintr.us @ WINTR\n#########################################",
"end": 129,
"score": 0.9999143481254578,
"start": 116,
"tag": "EMAIL",
"value": "matt@wintr.us"
}
] | source/js/main.coffee | CenturyLinkCloud/EstimatorTCO | 4 | #########################################################
# Title: Tier 3 - Total Cost of Ownership Tool
# Author: matt@wintr.us @ WINTR
#########################################################
#--------------------------------------------------------
# Imports
#-----------------------------------------------------... | 188380 | #########################################################
# Title: Tier 3 - Total Cost of Ownership Tool
# Author: <EMAIL> @ WINTR
#########################################################
#--------------------------------------------------------
# Imports
#--------------------------------------------------------
C... | true | #########################################################
# Title: Tier 3 - Total Cost of Ownership Tool
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
#--------------------------------------------------------
# Imports
#--------------------------------------------... |
[
{
"context": "stalling Oh My Zsh\" && git clone git://github.com/kmcginnes/oh-my-zsh.git ~/.oh-my-zsh'\n brew:\n arche",
"end": 1280,
"score": 0.9996128082275391,
"start": 1271,
"tag": "USERNAME",
"value": "kmcginnes"
},
{
"context": "\n # hipchat: 'hipchat'\n # one... | Gruntfile.coffee | kmcginnes/dotfiles | 1 | home = require 'home-dir'
module.exports = (grunt) ->
grunt.initConfig
config:
sublime:
path_app_support: home 'Library/Application Support/Sublime Text 3'
symlink:
options:
overwrite: true
dotfiles:
expand: true
src: '**/*.symlink'
dest: "#{ home() }... | 93450 | home = require 'home-dir'
module.exports = (grunt) ->
grunt.initConfig
config:
sublime:
path_app_support: home 'Library/Application Support/Sublime Text 3'
symlink:
options:
overwrite: true
dotfiles:
expand: true
src: '**/*.symlink'
dest: "#{ home() }... | true | home = require 'home-dir'
module.exports = (grunt) ->
grunt.initConfig
config:
sublime:
path_app_support: home 'Library/Application Support/Sublime Text 3'
symlink:
options:
overwrite: true
dotfiles:
expand: true
src: '**/*.symlink'
dest: "#{ home() }... |
[
{
"context": "],\n \"series\": [\n {\n \"name\": \"M\",\n \"data\": [3, 2, 0]\n },\n ",
"end": 708,
"score": 0.9821245670318604,
"start": 707,
"tag": "NAME",
"value": "M"
},
{
"context": "[3, 2, 0]\n },\n {\n \"name\"... | test/histogramTest.coffee | lmaccherone/analize | 2 | lumenize = require('../')
histogram = lumenize.histogram
{utils} = require('../')
rows = [
{age: 7, sex: 'M'},
{age: 25, sex: 'F'},
{age: 23, sex: 'F'},
{age: 27, sex: 'F'},
{age: 34, sex: 'M'},
{age: 55, sex: 'F'},
{age: 42, sex: 'F'},
{age: 13, sex: 'M'},
{age: 11, sex: 'M'},
{age: 23, sex: 'F'}... | 165713 | lumenize = require('../')
histogram = lumenize.histogram
{utils} = require('../')
rows = [
{age: 7, sex: 'M'},
{age: 25, sex: 'F'},
{age: 23, sex: 'F'},
{age: 27, sex: 'F'},
{age: 34, sex: 'M'},
{age: 55, sex: 'F'},
{age: 42, sex: 'F'},
{age: 13, sex: 'M'},
{age: 11, sex: 'M'},
{age: 23, sex: 'F'}... | true | lumenize = require('../')
histogram = lumenize.histogram
{utils} = require('../')
rows = [
{age: 7, sex: 'M'},
{age: 25, sex: 'F'},
{age: 23, sex: 'F'},
{age: 27, sex: 'F'},
{age: 34, sex: 'M'},
{age: 55, sex: 'F'},
{age: 42, sex: 'F'},
{age: 13, sex: 'M'},
{age: 11, sex: 'M'},
{age: 23, sex: 'F'}... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nhQEOA6GRDo3EkelYEAQAoKCfocrq8GebAg9zBQmb+jrjPU5n8wULkzedxtgRDoQP\nnmfOpVF7EbdsooQzXrzQrbTKJHkMSTNb22PQvZ6w0p/iwwiNGKA2wCKiQENKNIKq\ngLUs0VX63NV1zmxxbLc+jbBArudrJkTYdRwRXEsqEpYqTsHqGvxhG6uoZo6EdVoE\nAL2iLF5kK+qLUwylTEbLD9c748ltrWovBdso39IRGQuQ8h... | test/files/unbox_cant_verify.iced | thinq4yourself/kbpgp | 1 |
{KeyManager,unbox} = require '../../'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
hQEOA6GRDo3EkelYEAQAoKCfocrq8GebAg9zBQmb+jrjPU5n8wULkzedxtgRDoQP
nmfOpVF7EbdsooQzXrzQrbTKJHkMSTNb22PQvZ6w0p/iwwiNGKA2wCKiQENKNIKq
gLUs0VX63NV1zmxxbLc+jbBArudrJk... | 127754 |
{KeyManager,unbox} = require '../../'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
<KEY>
G<KEY>6cvdJ/SjCr4PjIYQhV/MzAdsQvnh/15OOI/uFi+xrkZ/1Q4/uj2RTSvF4a
C3MCYobj
=I5z9
-----END PGP MESSAGE-----
"""
decryption_key = """
-----BEGIN PGP PRIVA... | true |
{KeyManager,unbox} = require '../../'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
PI:KEY:<KEY>END_PI
GPI:KEY:<KEY>END_PI6cvdJ/SjCr4PjIYQhV/MzAdsQvnh/15OOI/uFi+xrkZ/1Q4/uj2RTSvF4a
C3MCYobj
=I5z9
-----END PGP MESSAGE-----
"""
decryption_key = ... |
[
{
"context": "PI for NodeJS - RestifyJS\n\nCopyright (c) 2015-2021 Steven Agyekum <agyekum@posteo.de>\n\nPermission is hereby granted",
"end": 158,
"score": 0.9998836517333984,
"start": 144,
"tag": "NAME",
"value": "Steven Agyekum"
},
{
"context": "estifyJS\n\nCopyright (c) 2015-2021... | src/addons/Fs/index.coffee | Burnett01/sys-api | 6 | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 Steven Agyekum <agyekum@posteo.de>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Softw... | 210063 | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in ... | true | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files ... |
[
{
"context": "g data.\n The model klass of the library.\n@author: Christopher Thorn <chris@koding.com>\n###\nBase = require '../base'\nm",
"end": 236,
"score": 0.9998779892921448,
"start": 219,
"tag": "NAME",
"value": "Christopher Thorn"
},
{
"context": "klass of the library.\n@auth... | node_modules_koding/bongo/lib/model/index.coffee | ezgikaysi/koding | 1 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Model
@description: A class for modeling, validating,
transforming, saving, finding and sharing data.
The model klass of the library.
@author: Christopher Thorn <chris@koding.com>
###
Base = require '../base'
module.exports = class Model extend... | 37812 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Model
@description: A class for modeling, validating,
transforming, saving, finding and sharing data.
The model klass of the library.
@author: <NAME> <<EMAIL>>
###
Base = require '../base'
module.exports = class Model extends Base
###
@depe... | true | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: Model
@description: A class for modeling, validating,
transforming, saving, finding and sharing data.
The model klass of the library.
@author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
Base = require '../base'
module.exports = class Mod... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998680949211121,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/subcmd/create-group.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
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... | 158488 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <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
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 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 limitati... |
[
{
"context": "=========================================\n# Autor: Elena Aguado (Fundació Bit), 2018\n# ==========================",
"end": 65,
"score": 0.9998784065246582,
"start": 53,
"tag": "NAME",
"value": "Elena Aguado"
}
] | source/coffee/series_tweets_filtrats.coffee | Fundacio-Bit/twitter-intranet | 0 | # =========================================
# Autor: Elena Aguado (Fundació Bit), 2018
# =========================================
# -------------------
# Variables Globales
# -------------------
g_brand_list = []
# Función para extraer las marcas de la REST y renderizar resultados
# --------------------------------... | 83694 | # =========================================
# Autor: <NAME> (Fundació Bit), 2018
# =========================================
# -------------------
# Variables Globales
# -------------------
g_brand_list = []
# Función para extraer las marcas de la REST y renderizar resultados
# --------------------------------------... | true | # =========================================
# Autor: PI:NAME:<NAME>END_PI (Fundació Bit), 2018
# =========================================
# -------------------
# Variables Globales
# -------------------
g_brand_list = []
# Función para extraer las marcas de la REST y renderizar resultados
# ------------------------... |
[
{
"context": "extFactory.CreateFromKey @network, ECKey.fromWIF(\"KxPT8wdUkxiuenxKcWh8V79pGxRQumQFtYEbYWcw1gRf8wNLm5m3\"), ECPubKey.fromHex req.body.pubkey\n channel",
"end": 1801,
"score": 0.9997357726097107,
"start": 1749,
"tag": "KEY",
"value": "KxPT8wdUkxiuenxKcWh8V79pGxRQumQFtYEbYWc... | demo/server_controller.coffee | devktor/micropayments.js | 0 | ChannelServer = require "../channel_server"
{ChannelServerContext, ChannelServerContextFactory} = require "../channel_server_context"
{Transaction, Address, ECKey, ECPubKey} = require "bitcoinjs-lib"
class Controller
constructor:(@network, @node, @db)->
@node.subscribe (err, data)=>
if err? or not data? or... | 28627 | ChannelServer = require "../channel_server"
{ChannelServerContext, ChannelServerContextFactory} = require "../channel_server_context"
{Transaction, Address, ECKey, ECPubKey} = require "bitcoinjs-lib"
class Controller
constructor:(@network, @node, @db)->
@node.subscribe (err, data)=>
if err? or not data? or... | true | ChannelServer = require "../channel_server"
{ChannelServerContext, ChannelServerContextFactory} = require "../channel_server_context"
{Transaction, Address, ECKey, ECPubKey} = require "bitcoinjs-lib"
class Controller
constructor:(@network, @node, @db)->
@node.subscribe (err, data)=>
if err? or not data? or... |
[
{
"context": "calhost:3001'\n MONGO_URL: 'mongodb://127.0.0.1:27017/nfd'\n PORT: 3000\n SCRAPE",
"end": 202,
"score": 0.9997100830078125,
"start": 193,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "RYPT_SALT_LENGTH: 10\n SESSION_SECRET... | config.coffee | craigspaeth/nfd-api | 0 | module.exports =
NODE_ENV: 'development'
APP_URL: 'http://localhost:3000'
CLIENT_URL: 'http://localhost:3001'
MONGO_URL: 'mongodb://127.0.0.1:27017/nfd'
PORT: 3000
SCRAPE_PER_MINUTE: 10
SCRAPE_TOTAL_PAGES: 10
VISIT_TIMEOUT: ... | 128088 | module.exports =
NODE_ENV: 'development'
APP_URL: 'http://localhost:3000'
CLIENT_URL: 'http://localhost:3001'
MONGO_URL: 'mongodb://127.0.0.1:27017/nfd'
PORT: 3000
SCRAPE_PER_MINUTE: 10
SCRAPE_TOTAL_PAGES: 10
VISIT_TIMEOUT: ... | true | module.exports =
NODE_ENV: 'development'
APP_URL: 'http://localhost:3000'
CLIENT_URL: 'http://localhost:3001'
MONGO_URL: 'mongodb://127.0.0.1:27017/nfd'
PORT: 3000
SCRAPE_PER_MINUTE: 10
SCRAPE_TOTAL_PAGES: 10
VISIT_TIMEOUT: ... |
[
{
"context": "ply\\nformat binary_big_endian 1.0\\ncomment author: Paraform\\nobj_info 3D colored patch boundaries \\neleme",
"end": 188,
"score": 0.9340444207191467,
"start": 184,
"tag": "USERNAME",
"value": "Para"
},
{
"context": "\"\n ply\n format ascii 1.0\n comment made... | jax-engine/spec/javascripts/jax/builtin/meshes/ply/parser_spec.js.coffee | sinisterchipmunk/jax | 24 | describe "Jax.Mesh.PLY.Parser", ->
ply = null
describe "parsing binary 1.0", ->
beforeEach -> ply = new Jax.Mesh.PLY.Parser 'ply\nformat binary_big_endian 1.0\ncomment author: Paraform\nobj_info 3D colored patch boundaries \nelement vertex 1\nproperty float x\nproperty float y\nproperty float z\nelement face 1\... | 57252 | describe "Jax.Mesh.PLY.Parser", ->
ply = null
describe "parsing binary 1.0", ->
beforeEach -> ply = new Jax.Mesh.PLY.Parser 'ply\nformat binary_big_endian 1.0\ncomment author: Paraform\nobj_info 3D colored patch boundaries \nelement vertex 1\nproperty float x\nproperty float y\nproperty float z\nelement face 1\... | true | describe "Jax.Mesh.PLY.Parser", ->
ply = null
describe "parsing binary 1.0", ->
beforeEach -> ply = new Jax.Mesh.PLY.Parser 'ply\nformat binary_big_endian 1.0\ncomment author: Paraform\nobj_info 3D colored patch boundaries \nelement vertex 1\nproperty float x\nproperty float y\nproperty float z\nelement face 1\... |
[
{
"context": "tivity: 80\n \"exception-reporting\":\n userId: \"c6217e49-ef83-4b4a-8871-89a5cd4439e4\"\n firacode: {}\n welcome:\n showOnStartup: fal",
"end": 484,
"score": 0.74614417552948,
"start": 449,
"tag": "PASSWORD",
"value": "6217e49-ef83-4b4a-8871-89a5cd4439e4"
}
] | home/.atom/config.cson | christensson/environment | 0 | "*":
"atom-ctags":
buildTimeout: 30000
"clang-format":
executable: "/usr/bin/clang-format"
core:
autoHideMenuBar: true
customFileTypes:
"source.cpp": [
"h.template"
]
disabledPackages: [
"symbols-view"
"atom-ctags"
]
packagesWithKeymapsDisabled: [
... | 47186 | "*":
"atom-ctags":
buildTimeout: 30000
"clang-format":
executable: "/usr/bin/clang-format"
core:
autoHideMenuBar: true
customFileTypes:
"source.cpp": [
"h.template"
]
disabledPackages: [
"symbols-view"
"atom-ctags"
]
packagesWithKeymapsDisabled: [
... | true | "*":
"atom-ctags":
buildTimeout: 30000
"clang-format":
executable: "/usr/bin/clang-format"
core:
autoHideMenuBar: true
customFileTypes:
"source.cpp": [
"h.template"
]
disabledPackages: [
"symbols-view"
"atom-ctags"
]
packagesWithKeymapsDisabled: [
... |
[
{
"context": "\n\nmodule.exports = {\n\tgetKey: (date) ->\n\t\treturn 'hubot-doughnuts-' + date.toFormat 'YYYYMMDD'\n\t\t\n\tgetCount: (robot",
"end": 156,
"score": 0.9459953904151917,
"start": 141,
"tag": "KEY",
"value": "hubot-doughnuts"
}
] | src/func/counter.coffee | uramonk/hubot-doughnuts | 0 | require('date-utils');
dateFunc = require('./date')
FIRST_DAY = "hubot-doughnuts-firstday"
module.exports = {
getKey: (date) ->
return 'hubot-doughnuts-' + date.toFormat 'YYYYMMDD'
getCount: (robot, key) ->
count = robot.brain.get key
if count == null
count = 0
return count
getCountToday: (robot)... | 92066 | require('date-utils');
dateFunc = require('./date')
FIRST_DAY = "hubot-doughnuts-firstday"
module.exports = {
getKey: (date) ->
return '<KEY>-' + date.toFormat 'YYYYMMDD'
getCount: (robot, key) ->
count = robot.brain.get key
if count == null
count = 0
return count
getCountToday: (robot) ->
date... | true | require('date-utils');
dateFunc = require('./date')
FIRST_DAY = "hubot-doughnuts-firstday"
module.exports = {
getKey: (date) ->
return 'PI:KEY:<KEY>END_PI-' + date.toFormat 'YYYYMMDD'
getCount: (robot, key) ->
count = robot.brain.get key
if count == null
count = 0
return count
getCountToday: (rob... |
[
{
"context": "# Config Variables\ntoken = 'API_TOKEN'\nqueries = [\"overdue\",\"yesterday\",\"today\",\"tomorr",
"end": 37,
"score": 0.5988792777061462,
"start": 28,
"tag": "KEY",
"value": "API_TOKEN"
}
] | todoist.widget/index.coffee | galenandrew/ubersicht-todoist | 5 | # Config Variables
token = 'API_TOKEN'
queries = ["overdue","yesterday","today","tomorrow"]
# Local/Instance Variables
widgetName: 'Todo List'
showDebug: false
refreshFrequency: 1000 * 60 * 5 # refreshs every 5 minutes
# https://api.todoist.com/API/query?queries=["2014-4-29","overdue","p1","p2"]&token=API_TOKEN
rawco... | 217009 | # Config Variables
token = '<KEY>'
queries = ["overdue","yesterday","today","tomorrow"]
# Local/Instance Variables
widgetName: 'Todo List'
showDebug: false
refreshFrequency: 1000 * 60 * 5 # refreshs every 5 minutes
# https://api.todoist.com/API/query?queries=["2014-4-29","overdue","p1","p2"]&token=API_TOKEN
rawcomman... | true | # Config Variables
token = 'PI:KEY:<KEY>END_PI'
queries = ["overdue","yesterday","today","tomorrow"]
# Local/Instance Variables
widgetName: 'Todo List'
showDebug: false
refreshFrequency: 1000 * 60 * 5 # refreshs every 5 minutes
# https://api.todoist.com/API/query?queries=["2014-4-29","overdue","p1","p2"]&token=API_TO... |
[
{
"context": "### Copyright (c) 2014 Magnus Leo. All rights reserved. ###\n\ncore = require('./modu",
"end": 33,
"score": 0.9998546838760376,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
},
{
"context": "Background\n\n layers.add new Layer\n id: 'mountains'\n sp... | src/main.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2014 Magnus Leo. All rights reserved. ###
core = require('./modules/core')
event = require('./modules/event')
Layer = require('./classes/Layer')
layers = require('./modules/layers')
Player = require('./classes/Player')
Sprite = require('./classes/Sprite')
util = require('./modules/util')
view = requi... | 140937 | ### Copyright (c) 2014 <NAME>. All rights reserved. ###
core = require('./modules/core')
event = require('./modules/event')
Layer = require('./classes/Layer')
layers = require('./modules/layers')
Player = require('./classes/Player')
Sprite = require('./classes/Sprite')
util = require('./modules/util')
view = require('... | true | ### Copyright (c) 2014 PI:NAME:<NAME>END_PI. All rights reserved. ###
core = require('./modules/core')
event = require('./modules/event')
Layer = require('./classes/Layer')
layers = require('./modules/layers')
Player = require('./classes/Player')
Sprite = require('./classes/Sprite')
util = require('./modules/util')
vi... |
[
{
"context": " new SvelteOutput()\n\tprocess.env['cielo.name'] = 'John'\n\toOutput.putLine \"<p>\"\n\toOutput.putLine \"my name",
"end": 2213,
"score": 0.9995478987693787,
"start": 2209,
"tag": "NAME",
"value": "John"
},
{
"context": "tester.equal 103, oOutput, \"\"\"\n\t\t<p>\n\t\t\... | test/SvelteOutput.test.coffee | johndeighan/svelte-output | 0 | # SvelteOutput.test.coffee
import assert from 'assert'
import {
say, undef, sep_dash, escapeStr,
} from '@jdeighan/coffee-utils'
import {log} from '@jdeighan/coffee-utils/log'
import {mydir, mkpath} from '@jdeighan/coffee-utils/fs'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {loadEnvFrom} from '@j... | 80597 | # SvelteOutput.test.coffee
import assert from 'assert'
import {
say, undef, sep_dash, escapeStr,
} from '@jdeighan/coffee-utils'
import {log} from '@jdeighan/coffee-utils/log'
import {mydir, mkpath} from '@jdeighan/coffee-utils/fs'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {loadEnvFrom} from '@j... | true | # SvelteOutput.test.coffee
import assert from 'assert'
import {
say, undef, sep_dash, escapeStr,
} from '@jdeighan/coffee-utils'
import {log} from '@jdeighan/coffee-utils/log'
import {mydir, mkpath} from '@jdeighan/coffee-utils/fs'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {loadEnvFrom} from '@j... |
[
{
"context": "#################\n# Copyright (C) 2014-2015 by Vaughn Iverson\n# ddp-login is free software released under t",
"end": 124,
"score": 0.9997830390930176,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
},
{
"context": " email\n when \"Username... | test/index.coffee | vsivsi/ddp-login | 51 | ############################################################################
# Copyright (C) 2014-2015 by Vaughn Iverson
# ddp-login is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
# U... | 20957 | ############################################################################
# Copyright (C) 2014-2015 by <NAME>
# ddp-login is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
# Unit test... | true | ############################################################################
# Copyright (C) 2014-2015 by PI:NAME:<NAME>END_PI
# ddp-login is free software released under the MIT/X11 license.
# See included LICENSE file for details.
###########################################################################... |
[
{
"context": "ime Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 111,
"score": 0.8921931385993958,
"start": 102,
"tag": "USERNAME",
"value": "Southclaw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter crea... | snippets/SIF.GEID.pwn.cson | Wuzi/language-pawn | 4 | # SIF.GEID.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'mkgeid':
'prefix': 'mkgeid'
... | 188683 | # SIF.GEID.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'mkgeid':
'prefix': 'mkgeid'
'bo... | true | # SIF.GEID.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'mkgeid':
... |
[
{
"context": " a given user or the owner of the token. \r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass UserRolesRoute ",
"end": 605,
"score": 0.9998613595962524,
"start": 593,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/auth/UserRolesRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
###
Service route that retrieves role membership.
@example Service Methods (see... | 224983 | RpcRoute = require('../../../RpcRoute')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
###
Service route that retrieves role membership.
@example Service Methods (see... | true | RpcRoute = require('../../../RpcRoute')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
###
Service route that retrieves role membership.
@example Service Methods (see... |
[
{
"context": "da database for genomic variation frequencies.\n#\n# Martijn Vermaat <m.vermaat.hg@lumc.nl>\n#\n# Licensed under the MIT",
"end": 103,
"score": 0.9998811483383179,
"start": 88,
"tag": "NAME",
"value": "Martijn Vermaat"
},
{
"context": "nomic variation frequencies.\n#\n#... | scripts/api.coffee | varda/aule-test | 1 | # Aulë
#
# A web interface to the Varda database for genomic variation frequencies.
#
# Martijn Vermaat <m.vermaat.hg@lumc.nl>
#
# Licensed under the MIT license, see the LICENSE file.
# Todo: Cache resources.
$ = require 'jquery'
URI = require 'urijs'
config = require 'config'
# Accepted server API versions.
AC... | 24187 | # Aulë
#
# A web interface to the Varda database for genomic variation frequencies.
#
# <NAME> <<EMAIL>>
#
# Licensed under the MIT license, see the LICENSE file.
# Todo: Cache resources.
$ = require 'jquery'
URI = require 'urijs'
config = require 'config'
# Accepted server API versions.
ACCEPT_VERSION = '>=3.0.... | true | # Aulë
#
# A web interface to the Varda database for genomic variation frequencies.
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Licensed under the MIT license, see the LICENSE file.
# Todo: Cache resources.
$ = require 'jquery'
URI = require 'urijs'
config = require 'config'
# Accepted server API versi... |
[
{
"context": "localhost'\nDEFAULT_PORT = 5001\nDEFAULT_ACCOUNT = 'admin'\nDEFAULT_PASSWD = 'password'\nDEFAULT_API_VERSION ",
"end": 147,
"score": 0.9895458817481995,
"start": 142,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " 5001\nDEFAULT_ACCOUNT = 'admin'\nDEFAULT_PASSWD =... | src/cli/syno.coffee | Havock94/syno | 0 | CONFIG_DIR = '.syno'
CONFIG_FILE = 'config.yaml'
DEFAULT_PROTOCOL = 'https'
DEFAULT_HOST = 'localhost'
DEFAULT_PORT = 5001
DEFAULT_ACCOUNT = 'admin'
DEFAULT_PASSWD = 'password'
DEFAULT_API_VERSION = '6.0.2'
program = require 'commander'
fs = require 'fs'
url = require 'url'
nconf = require 'nconf'
ospath = require 'os... | 182519 | CONFIG_DIR = '.syno'
CONFIG_FILE = 'config.yaml'
DEFAULT_PROTOCOL = 'https'
DEFAULT_HOST = 'localhost'
DEFAULT_PORT = 5001
DEFAULT_ACCOUNT = 'admin'
DEFAULT_PASSWD = '<PASSWORD>'
DEFAULT_API_VERSION = '6.0.2'
program = require 'commander'
fs = require 'fs'
url = require 'url'
nconf = require 'nconf'
ospath = require '... | true | CONFIG_DIR = '.syno'
CONFIG_FILE = 'config.yaml'
DEFAULT_PROTOCOL = 'https'
DEFAULT_HOST = 'localhost'
DEFAULT_PORT = 5001
DEFAULT_ACCOUNT = 'admin'
DEFAULT_PASSWD = 'PI:PASSWORD:<PASSWORD>END_PI'
DEFAULT_API_VERSION = '6.0.2'
program = require 'commander'
fs = require 'fs'
url = require 'url'
nconf = require 'nconf'
... |
[
{
"context": " \"git commit -m '.'\"\n \"git remote add heroku git@heroku.com:#{app}.git\"\n \"git push -fu heroku master\"\n ",
"end": 6556,
"score": 0.9832938313484192,
"start": 6542,
"tag": "EMAIL",
"value": "git@heroku.com"
}
] | gulpfile.coffee | geekjuice/StahkPhotos | 8 | ###
Modules
###
_ = require('lodash')
chalk = require('chalk')
gulp = require('gulp')
clean = require('gulp-rimraf')
cjsx = require('gulp-cjsx')
filter = require('gulp-filter')
iif = require('gulp-if')
imagemin = require('gulp-imagemin')
jade = require('gulp-ja... | 86998 | ###
Modules
###
_ = require('lodash')
chalk = require('chalk')
gulp = require('gulp')
clean = require('gulp-rimraf')
cjsx = require('gulp-cjsx')
filter = require('gulp-filter')
iif = require('gulp-if')
imagemin = require('gulp-imagemin')
jade = require('gulp-ja... | true | ###
Modules
###
_ = require('lodash')
chalk = require('chalk')
gulp = require('gulp')
clean = require('gulp-rimraf')
cjsx = require('gulp-cjsx')
filter = require('gulp-filter')
iif = require('gulp-if')
imagemin = require('gulp-imagemin')
jade = require('gulp-ja... |
[
{
"context": "type: \"POST\",\n data: {\n new_password1: pass1,\n new_password2: pass2\n },\n data",
"end": 2673,
"score": 0.9992865324020386,
"start": 2668,
"tag": "PASSWORD",
"value": "pass1"
},
{
"context": " new_password1: pass1,\n new_pas... | jotleaf/static/js/views_auth.coffee | reverie/jotleaf.com | 1 | # views_auth.coffee is for TopViews related to authentication and accounts
class PasswordResetView extends TopView
@bodyClass: 'password_reset'
documentTitle: 'Reset Your Password'
events: {
'submit form.password-reset-form': '_password_reset'
}
initialize: ->
@makeMainWebsiteView('tpl_password_re... | 71852 | # views_auth.coffee is for TopViews related to authentication and accounts
class PasswordResetView extends TopView
@bodyClass: 'password_reset'
documentTitle: 'Reset Your Password'
events: {
'submit form.password-reset-form': '_password_reset'
}
initialize: ->
@makeMainWebsiteView('tpl_password_re... | true | # views_auth.coffee is for TopViews related to authentication and accounts
class PasswordResetView extends TopView
@bodyClass: 'password_reset'
documentTitle: 'Reset Your Password'
events: {
'submit form.password-reset-form': '_password_reset'
}
initialize: ->
@makeMainWebsiteView('tpl_password_re... |
[
{
"context": "timestamps\", ->\n logView.textEditor.setText(\"64.242.88.10 - - [07/Mar/2004:16:45:56 -0800] details\")\n ",
"end": 12334,
"score": 0.9997387528419495,
"start": 12322,
"tag": "IP_ADDRESS",
"value": "64.242.88.10"
}
] | spec/log-view-spec.coffee | MRodalgaard/language-log | 47 | path = require 'path'
{TextBuffer} = require 'atom'
moment = require 'moment'
LogView = require '../lib/log-view'
describe "LogView", ->
{logView, logFilter, text} = []
# Atom marks the line over a fold and folded
# and the first line doesn't really fold
getFoldedLines = ->
count = logView.textEditor.ge... | 63141 | path = require 'path'
{TextBuffer} = require 'atom'
moment = require 'moment'
LogView = require '../lib/log-view'
describe "LogView", ->
{logView, logFilter, text} = []
# Atom marks the line over a fold and folded
# and the first line doesn't really fold
getFoldedLines = ->
count = logView.textEditor.ge... | true | path = require 'path'
{TextBuffer} = require 'atom'
moment = require 'moment'
LogView = require '../lib/log-view'
describe "LogView", ->
{logView, logFilter, text} = []
# Atom marks the line over a fold and folded
# and the first line doesn't really fold
getFoldedLines = ->
count = logView.textEditor.ge... |
[
{
"context": "ow, {foo: {bar: {baz: 1}}}\nlogger {user: {first: 'Bill', last: 'Nye'}}\n\nlogger.toggleElapsed()\n\nsecond =",
"end": 118,
"score": 0.999747633934021,
"start": 114,
"tag": "NAME",
"value": "Bill"
},
{
"context": ": {baz: 1}}}\nlogger {user: {first: 'Bill', last: 'Nye'}... | sample/test.coffee | TorchlightSoftware/torch | 0 | logger = require '..'
logger.red 'hi'
logger.gray 'stuff:'.yellow, {foo: {bar: {baz: 1}}}
logger {user: {first: 'Bill', last: 'Nye'}}
logger.toggleElapsed()
second = ->
logger.yellow 'initiate launch sequence'
third = ->
logger.white 'begin countdown'
logger.blue 'clear the area'
setTimeout second, 30
setTimeou... | 188860 | logger = require '..'
logger.red 'hi'
logger.gray 'stuff:'.yellow, {foo: {bar: {baz: 1}}}
logger {user: {first: '<NAME>', last: '<NAME>'}}
logger.toggleElapsed()
second = ->
logger.yellow 'initiate launch sequence'
third = ->
logger.white 'begin countdown'
logger.blue 'clear the area'
setTimeout second, 30
setT... | true | logger = require '..'
logger.red 'hi'
logger.gray 'stuff:'.yellow, {foo: {bar: {baz: 1}}}
logger {user: {first: 'PI:NAME:<NAME>END_PI', last: 'PI:NAME:<NAME>END_PI'}}
logger.toggleElapsed()
second = ->
logger.yellow 'initiate launch sequence'
third = ->
logger.white 'begin countdown'
logger.blue 'clear the area... |
[
{
"context": "goods = [\n {\n name: \"I Heart Denver\"\n address: \"500 16th Street\"\n coordinates:\n",
"end": 39,
"score": 0.9974753856658936,
"start": 25,
"tag": "NAME",
"value": "I Heart Denver"
},
{
"context": "en: \"1000\"\n close: \"2000\"\n }\n {\n name: \... | source/assets/javascripts/picks/goods.coffee | isabella232/summit-guide-2015 | 1 | goods = [
{
name: "I Heart Denver"
address: "500 16th Street"
coordinates:
lat: 39.742870
long: -104.990508
hours:
open: "1000"
close: "2000"
}
{
name: "Little Man Ice Cream"
address: "2620 16th St"
coordinates:
lat: 39.7594564
long: -105.011112
... | 78297 | goods = [
{
name: "<NAME>"
address: "500 16th Street"
coordinates:
lat: 39.742870
long: -104.990508
hours:
open: "1000"
close: "2000"
}
{
name: "<NAME>"
address: "2620 16th St"
coordinates:
lat: 39.7594564
long: -105.011112
hours:
open: "11... | true | goods = [
{
name: "PI:NAME:<NAME>END_PI"
address: "500 16th Street"
coordinates:
lat: 39.742870
long: -104.990508
hours:
open: "1000"
close: "2000"
}
{
name: "PI:NAME:<NAME>END_PI"
address: "2620 16th St"
coordinates:
lat: 39.7594564
long: -105.01111... |
[
{
"context": "\nP.svc.oaworks.templates = _key: 'name', _sheet: '16Qm8n3Rmx3QyttFpSGj81_7T6ehfLAtYRSvmDf3pAzg/1', _hide: true\n\nP.svc.oaworks.bug = () ->\n if @pa",
"end": 664,
"score": 0.8079260587692261,
"start": 618,
"tag": "KEY",
"value": "16Qm8n3Rmx3QyttFpSGj81_7T6ehfLAtYRSvmDf3pAzg/1... | worker/src/svc/oaworks/api.coffee | oaworks/paradigm | 1 |
try
S.svc.oaworks = JSON.parse SECRETS_OAWORKS
catch
S.svc.oaworks = {}
P.svc.oaworks = () ->
if JSON.stringify(@params) isnt '{}'
return status: 404
else
rts = await @subroutes 'svc.oaworks'
rts.splice(rts.indexOf(hd), 1) for hd in ['bug', 'blacklist', 'deposits', 'journal', 'journal/load']
... | 90618 |
try
S.svc.oaworks = JSON.parse SECRETS_OAWORKS
catch
S.svc.oaworks = {}
P.svc.oaworks = () ->
if JSON.stringify(@params) isnt '{}'
return status: 404
else
rts = await @subroutes 'svc.oaworks'
rts.splice(rts.indexOf(hd), 1) for hd in ['bug', 'blacklist', 'deposits', 'journal', 'journal/load']
... | true |
try
S.svc.oaworks = JSON.parse SECRETS_OAWORKS
catch
S.svc.oaworks = {}
P.svc.oaworks = () ->
if JSON.stringify(@params) isnt '{}'
return status: 404
else
rts = await @subroutes 'svc.oaworks'
rts.splice(rts.indexOf(hd), 1) for hd in ['bug', 'blacklist', 'deposits', 'journal', 'journal/load']
... |
[
{
"context": "ningGambitRemoveRandomArtifact\"\n\n\t@modifierName: \"Opening Gambit\"\n\t@description: \"Destroy a random enemy artifact\"",
"end": 421,
"score": 0.8976187705993652,
"start": 407,
"tag": "NAME",
"value": "Opening Gambit"
}
] | app/sdk/modifiers/modifierOpeningGambitRemoveRandomArtifact.coffee | willroberts/duelyst | 5 | ModifierOpeningGambit = require './modifierOpeningGambit'
RemoveRandomArtifactAction = require 'app/sdk/actions/removeRandomArtifactAction'
UtilsGameSession = require 'app/common/utils/utils_game_session'
class ModifierOpeningGambitRemoveRandomArtifact extends ModifierOpeningGambit
type: "ModifierOpeningGambitRemov... | 74040 | ModifierOpeningGambit = require './modifierOpeningGambit'
RemoveRandomArtifactAction = require 'app/sdk/actions/removeRandomArtifactAction'
UtilsGameSession = require 'app/common/utils/utils_game_session'
class ModifierOpeningGambitRemoveRandomArtifact extends ModifierOpeningGambit
type: "ModifierOpeningGambitRemov... | true | ModifierOpeningGambit = require './modifierOpeningGambit'
RemoveRandomArtifactAction = require 'app/sdk/actions/removeRandomArtifactAction'
UtilsGameSession = require 'app/common/utils/utils_game_session'
class ModifierOpeningGambitRemoveRandomArtifact extends ModifierOpeningGambit
type: "ModifierOpeningGambitRemov... |
[
{
"context": "rStore\n find: (email) ->\n return if email is 'info@grokbit.com' then @createInstance() else null\n\n findByKey: (",
"end": 109,
"score": 0.9999009966850281,
"start": 93,
"tag": "EMAIL",
"value": "info@grokbit.com"
},
{
"context": "null\n\n findByKey: (key) ->\n ... | src/services/userStore.coffee | marinoscar/NodeExpressAuth | 0 | User = require('../models/user')
class UserStore
find: (email) ->
return if email is 'info@grokbit.com' then @createInstance() else null
findByKey: (key) ->
return if key is 'info@grokbit.com' then @createInstance() else null
createInstance: () ->
validUser = new User()
validUser.email = 'info@... | 179861 | User = require('../models/user')
class UserStore
find: (email) ->
return if email is '<EMAIL>' then @createInstance() else null
findByKey: (key) ->
return if key is '<EMAIL>' then @createInstance() else null
createInstance: () ->
validUser = new User()
validUser.email = '<EMAIL>'
validUser.... | true | User = require('../models/user')
class UserStore
find: (email) ->
return if email is 'PI:EMAIL:<EMAIL>END_PI' then @createInstance() else null
findByKey: (key) ->
return if key is 'PI:EMAIL:<EMAIL>END_PI' then @createInstance() else null
createInstance: () ->
validUser = new User()
validUser.em... |
[
{
"context": "**\n# JSTextField - One line text object\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 105,
"score": 0.999882161617279,
"start": 91,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/04_JSTextField.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSTextField - One line text object
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSTextField extends JSControl
constructor: (frame = JSRectMake(0, 0, 120, 24)) ->
super(frame)
@_textSize = 10
@_textColor = ... | 154802 | #*****************************************
# JSTextField - One line text object
# Coded by <NAME> 2013.03.25
#*****************************************
class JSTextField extends JSControl
constructor: (frame = JSRectMake(0, 0, 120, 24)) ->
super(frame)
@_textSize = 10
@_textColor = JSColor(... | true | #*****************************************
# JSTextField - One line text object
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSTextField extends JSControl
constructor: (frame = JSRectMake(0, 0, 120, 24)) ->
super(frame)
@_textSize = 10
@_textCo... |
[
{
"context": "lass\n FIXTURES: [\n {\n id: 1\n name: 'Jungpflanzen'\n isYoung: yes\n }\n {\n id: 2\n ",
"end": 340,
"score": 0.9997730255126953,
"start": 328,
"tag": "NAME",
"value": "Jungpflanzen"
},
{
"context": "isYoung: yes\n }\n {\n i... | app/models/quarter.coffee | koenig/moosi | 0 | `import DS from 'ember-data'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Quarter = DS.Model.extend
name: attr 'string'
isYoung: attr 'boolean', defaultValue: false
positions: hasMany 'position'
isPlant: Em.computed.not 'isYoung'
Quarter.reopenClass
FIXTURES: [
{
id: 1
... | 217881 | `import DS from 'ember-data'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Quarter = DS.Model.extend
name: attr 'string'
isYoung: attr 'boolean', defaultValue: false
positions: hasMany 'position'
isPlant: Em.computed.not 'isYoung'
Quarter.reopenClass
FIXTURES: [
{
id: 1
... | true | `import DS from 'ember-data'`
[attr, hasMany, belongsTo] = [DS.attr, DS.hasMany, DS.belongsTo]
Quarter = DS.Model.extend
name: attr 'string'
isYoung: attr 'boolean', defaultValue: false
positions: hasMany 'position'
isPlant: Em.computed.not 'isYoung'
Quarter.reopenClass
FIXTURES: [
{
id: 1
... |
[
{
"context": "@app.component 'modalProfile',\n\n bindings:\n modalIn",
"end": 4,
"score": 0.5701888799667358,
"start": 1,
"tag": "EMAIL",
"value": "app"
}
] | app/assets/javascripts/components/modal_profile.coffee | mthorn/photo-store | 0 | @app.component 'modalProfile',
bindings:
modalInstance: '<'
template: """
<div class='modal-header'>
<h3 class='modal-title'>Profile</h3>
</div>
<div class='modal-body form form-horizontal'>
<div class='form-group'>
<label class='control-label col-sm-3' for='email'>Email</label... | 75907 | @<EMAIL>.component 'modalProfile',
bindings:
modalInstance: '<'
template: """
<div class='modal-header'>
<h3 class='modal-title'>Profile</h3>
</div>
<div class='modal-body form form-horizontal'>
<div class='form-group'>
<label class='control-label col-sm-3' for='email'>Email</l... | true | @PI:EMAIL:<EMAIL>END_PI.component 'modalProfile',
bindings:
modalInstance: '<'
template: """
<div class='modal-header'>
<h3 class='modal-title'>Profile</h3>
</div>
<div class='modal-body form form-horizontal'>
<div class='form-group'>
<label class='control-label col-sm-3' for='... |
[
{
"context": "s: (filterdSearchOptions, numberOfColumns=2, key='related_gene', namespace='artworks') ->\n href = @href()\n ",
"end": 4915,
"score": 0.8996798992156982,
"start": 4903,
"tag": "KEY",
"value": "related_gene"
}
] | src/desktop/models/fair.coffee | pepopowitz/force | 0 | sd = require('sharify').data
_ = require 'underscore'
_s = require 'underscore.string'
Backbone = require 'backbone'
{ Image, Markdown } = require '@artsy/backbone-mixins'
PartnerLocation = require './partner_location.coffee'
OrderedSets = require '../collections/ordered_sets.coffee'
Profiles = require '../collections/... | 154950 | sd = require('sharify').data
_ = require 'underscore'
_s = require 'underscore.string'
Backbone = require 'backbone'
{ Image, Markdown } = require '@artsy/backbone-mixins'
PartnerLocation = require './partner_location.coffee'
OrderedSets = require '../collections/ordered_sets.coffee'
Profiles = require '../collections/... | true | sd = require('sharify').data
_ = require 'underscore'
_s = require 'underscore.string'
Backbone = require 'backbone'
{ Image, Markdown } = require '@artsy/backbone-mixins'
PartnerLocation = require './partner_location.coffee'
OrderedSets = require '../collections/ordered_sets.coffee'
Profiles = require '../collections/... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999228715896606,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/status.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 153285 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "adeTemplate)\nhtmlOutput = fn(maintainer:\n name: 'Forbes Lindesay'\n twitter: '@ForbesLindesay'\n blog: 'forbeslind",
"end": 121,
"score": 0.9998737573623657,
"start": 106,
"tag": "NAME",
"value": "Forbes Lindesay"
},
{
"context": "n(maintainer:\n name: 'Forbes Lin... | JadeFetcher.coffee | KuroiAme/ui-router.stateHelper.json | 0 | Jadefetcher = (jade,JSONfetcher) ->
fn = jade.compile(jadeTemplate)
htmlOutput = fn(maintainer:
name: 'Forbes Lindesay'
twitter: '@ForbesLindesay'
blog: 'forbeslindesay.co.uk')
return jade: htmlOutput
fetcher
.$inject = [
'jade'
'd.json'
]
angular
.module('daniel.json')
.factory('fetcher', fetcher) | 83146 | Jadefetcher = (jade,JSONfetcher) ->
fn = jade.compile(jadeTemplate)
htmlOutput = fn(maintainer:
name: '<NAME>'
twitter: '@ForbesLindesay'
blog: 'forbeslindesay.co.uk')
return jade: htmlOutput
fetcher
.$inject = [
'jade'
'd.json'
]
angular
.module('daniel.json')
.factory('fetcher', fetcher) | true | Jadefetcher = (jade,JSONfetcher) ->
fn = jade.compile(jadeTemplate)
htmlOutput = fn(maintainer:
name: 'PI:NAME:<NAME>END_PI'
twitter: '@ForbesLindesay'
blog: 'forbeslindesay.co.uk')
return jade: htmlOutput
fetcher
.$inject = [
'jade'
'd.json'
]
angular
.module('daniel.json')
.factory('fetcher', fetcher) |
[
{
"context": "ssage to the buyer\n smsOptions = \n From: 'MyPikins'\n phone: '233246424340'\n contents: cont",
"end": 929,
"score": 0.8953349590301514,
"start": 921,
"tag": "USERNAME",
"value": "MyPikins"
},
{
"context": "ay.vodafonecash.com.gh', { params:\n user... | client/helpers/generic_helpers.coffee | Innarticles/mypikin | 0 | Template.saveToday.helpers
amountToday: ()->
getAmountPayableToday()
Template.paymentPlan.helpers
pikin: () ->
Pikins.findOne()
Template.saveToday.events
'click #saveToVCash': (event, template) ->
# console.log 'click is working'
console.log (Meteor.call 'vodafoneApi')
Meteor.call ... | 123211 | Template.saveToday.helpers
amountToday: ()->
getAmountPayableToday()
Template.paymentPlan.helpers
pikin: () ->
Pikins.findOne()
Template.saveToday.events
'click #saveToVCash': (event, template) ->
# console.log 'click is working'
console.log (Meteor.call 'vodafoneApi')
Meteor.call ... | true | Template.saveToday.helpers
amountToday: ()->
getAmountPayableToday()
Template.paymentPlan.helpers
pikin: () ->
Pikins.findOne()
Template.saveToday.events
'click #saveToVCash': (event, template) ->
# console.log 'click is working'
console.log (Meteor.call 'vodafoneApi')
Meteor.call ... |
[
{
"context": " @database.devices.insert uuid: 'uuid1', token: 'token1', configureWhitelist: ['*'], done\n\n beforeEac",
"end": 1157,
"score": 0.5388278961181641,
"start": 1152,
"tag": "KEY",
"value": "token"
},
{
"context": "tabase.devices.insert uuid: 'uuid1', token: 'token1', c... | test/lib/createSubscriptionIfAuthorized-spec.coffee | CESARBR/knot-cloud-source | 4 | _ = require 'lodash'
TestDatabase = require '../test-database'
describe 'createSubscriptionIfAuthorized', ->
beforeEach ->
@sut = require '../../lib/createSubscriptionIfAuthorized'
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@dependencies = database: @datab... | 125506 | _ = require 'lodash'
TestDatabase = require '../test-database'
describe 'createSubscriptionIfAuthorized', ->
beforeEach ->
@sut = require '../../lib/createSubscriptionIfAuthorized'
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@dependencies = database: @datab... | true | _ = require 'lodash'
TestDatabase = require '../test-database'
describe 'createSubscriptionIfAuthorized', ->
beforeEach ->
@sut = require '../../lib/createSubscriptionIfAuthorized'
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@dependencies = database: @datab... |
[
{
"context": " Tests for no-useless-computed-key rule.\n# @author Burak Yigit Kaya\n###\n\n'use strict'\n\n#-----------------------------",
"end": 87,
"score": 0.9998484253883362,
"start": 71,
"tag": "NAME",
"value": "Burak Yigit Kaya"
}
] | src/tests/rules/no-useless-computed-key.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-useless-computed-key rule.
# @author Burak Yigit Kaya
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-useles... | 211396 | ###*
# @fileoverview Tests for no-useless-computed-key rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-useless-computed... | true | ###*
# @fileoverview Tests for no-useless-computed-key rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-us... |
[
{
"context": " output: [\n code: \" thi\"\n class: \"test class a\"\n ",
"end": 11485,
"score": 0.871407151222229,
"start": 11482,
"tag": "NAME",
"value": "thi"
}
] | src/coffee/editor/compiler/generateSyntaxHighlighting.spec.coffee | jameswilddev/influx7 | 1 | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", ->
describe "on calling", ->
editorCompilerGenerateSyntaxHighlighting = require "./generateSyntaxHighlighting"
run = (config) -> describe config.description, ->
result = tokensCopy = undefined
... | 3217 | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", ->
describe "on calling", ->
editorCompilerGenerateSyntaxHighlighting = require "./generateSyntaxHighlighting"
run = (config) -> describe config.description, ->
result = tokensCopy = undefined
... | true | describe "editor", -> describe "compiler", -> describe "generateSyntaxHighlighting", ->
describe "on calling", ->
editorCompilerGenerateSyntaxHighlighting = require "./generateSyntaxHighlighting"
run = (config) -> describe config.description, ->
result = tokensCopy = undefined
... |
[
{
"context": "##!\njQuery Yacal Plugin v0.2.0\nhttps://github.com/eduludi/jquery-yacal\n\nAuthors:\n - Eduardo Ludi @eduludi\n ",
"end": 58,
"score": 0.9995213150978088,
"start": 51,
"tag": "USERNAME",
"value": "eduludi"
},
{
"context": "tps://github.com/eduludi/jquery-yacal\n\nAutho... | src/jquery.yacal.coffee | eduludi/yacal | 0 | ###!
jQuery Yacal Plugin v0.2.0
https://github.com/eduludi/jquery-yacal
Authors:
- Eduardo Ludi @eduludi
- Some ideas from Pickaday: https://github.com/dbushell/Pikaday
(thanks to David Bushell @dbushell and Ramiro Rikkert @RamRik)
- isLeapYear: Matti Virkkunen (http://stackoverflow.com/a/4881951)
Relea... | 171739 | ###!
jQuery Yacal Plugin v0.2.0
https://github.com/eduludi/jquery-yacal
Authors:
- <NAME> @eduludi
- Some ideas from Pickaday: https://github.com/dbushell/Pikaday
(thanks to <NAME> @dbushell and <NAME> @RamRik)
- isLeapYear: <NAME> (http://stackoverflow.com/a/4881951)
Released under the MIT license
###
... | true | ###!
jQuery Yacal Plugin v0.2.0
https://github.com/eduludi/jquery-yacal
Authors:
- PI:NAME:<NAME>END_PI @eduludi
- Some ideas from Pickaday: https://github.com/dbushell/Pikaday
(thanks to PI:NAME:<NAME>END_PI @dbushell and PI:NAME:<NAME>END_PI @RamRik)
- isLeapYear: PI:NAME:<NAME>END_PI (http://stackoverflow.com... |
[
{
"context": "'sails-postgresql'\n host: 'localhost'\n user: passwords.db.username\n password: passwords.db.password\n ",
"end": 150,
"score": 0.6631574630737305,
"start": 141,
"tag": "USERNAME",
"value": "passwords"
},
{
"context": "esql'\n host: 'localhost'\n user: p... | config/datastores.coffee | nkofl/sails-1.0-template | 0 | passwords = require './passwords.json'
module.exports.datastores =
main:
adapter: 'sails-postgresql'
host: 'localhost'
user: passwords.db.username
password: passwords.db.password
database: 'app_dev'
port: 5432
| 60569 | passwords = require './passwords.json'
module.exports.datastores =
main:
adapter: 'sails-postgresql'
host: 'localhost'
user: passwords.db.username
password: <PASSWORD>
database: 'app_dev'
port: 5432
| true | passwords = require './passwords.json'
module.exports.datastores =
main:
adapter: 'sails-postgresql'
host: 'localhost'
user: passwords.db.username
password: PI:PASSWORD:<PASSWORD>END_PI
database: 'app_dev'
port: 5432
|
[
{
"context": " expect(utils.getQueryVariable('email')).toBe('test@email.com')\n\n it 'returns the given default value if the",
"end": 676,
"score": 0.9998340606689453,
"start": 662,
"tag": "EMAIL",
"value": "test@email.com"
},
{
"context": "angen...'\n 'sv':\n ... | test/app/core/utils.spec.coffee | zeen263/codecombat | 1 | describe 'Utility library', ->
utils = require '../../../app/core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parame... | 221798 | describe 'Utility library', ->
utils = require '../../../app/core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parame... | true | describe 'Utility library', ->
utils = require '../../../app/core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parame... |
[
{
"context": "'\n\nexports.test1 = (T, cb) ->\n input = \"\"\"\npub:u:2048:1:CC19461E16CD52C8:1388413669:1703773669::u:::scES",
"end": 90,
"score": 0.7105264067649841,
"start": 86,
"tag": "IP_ADDRESS",
"value": "2048"
},
{
"context": "orts.test1 = (T, cb) ->\n input = \"\"\"\npub:u... | node_modules/gpg-wrapper/test/files/colgrep.iced | AngelKey/Angelkey.nodeinstaller | 151 |
{colgrep} = require '../../lib/main'
exports.test1 = (T, cb) ->
input = """
pub:u:2048:1:CC19461E16CD52C8:1388413669:1703773669::u:::scESC:
uid:u::::1388413669::4A1C93DDE1779B6BE90393F4394AD983EC785808::Brown Hat I (pw is 'a') <themax+browhat1@gmail.com>:
sub:u:2048:1:079F6793014A5F79:1388413669:1703773669:::::e:
p... | 120564 |
{colgrep} = require '../../lib/main'
exports.test1 = (T, cb) ->
input = """
pub:u:2048:1:CC19461E16CD52C8:1388413669:1703773669::u:::scESC:
uid:u::::1388413669::4A1C93DDE1779B6BE90393F4394AD983EC785808::Brown Hat I (pw is 'a') <<EMAIL>>:
sub:u:2048:1:079F6793014A5F79:1388413669:1703773669:::::e:
pub:f:1024:1:<KEY>:... | true |
{colgrep} = require '../../lib/main'
exports.test1 = (T, cb) ->
input = """
pub:u:2048:1:CC19461E16CD52C8:1388413669:1703773669::u:::scESC:
uid:u::::1388413669::4A1C93DDE1779B6BE90393F4394AD983EC785808::Brown Hat I (pw is 'a') <PI:EMAIL:<EMAIL>END_PI>:
sub:u:2048:1:079F6793014A5F79:1388413669:1703773669:::::e:
pub:... |
[
{
"context": ": 'Parameters'\n Password:\n body: 'Password=${1}$0'\n prefix: 'Password'\n PrivilegesRequired:\n ",
"end": 23108,
"score": 0.727887749671936,
"start": 23106,
"tag": "PASSWORD",
"value": "$0"
}
] | snippets/inno-setup.cson | idleberg/language-inno | 1 | '.source.inno':
'32bit':
body: '32bit$0'
prefix: '32bit'
'64bit':
body: '64bit$0'
prefix: '64bit'
'AllowCancelDuringInstall=no':
body: 'AllowCancelDuringInstall=no$0'
prefix: 'AllowCancelDuringInstall=no'
'AllowCancelDuringInstall=yes (default)':
body: 'AllowCancelDuringInstall=yes$0... | 101902 | '.source.inno':
'32bit':
body: '32bit$0'
prefix: '32bit'
'64bit':
body: '64bit$0'
prefix: '64bit'
'AllowCancelDuringInstall=no':
body: 'AllowCancelDuringInstall=no$0'
prefix: 'AllowCancelDuringInstall=no'
'AllowCancelDuringInstall=yes (default)':
body: 'AllowCancelDuringInstall=yes$0... | true | '.source.inno':
'32bit':
body: '32bit$0'
prefix: '32bit'
'64bit':
body: '64bit$0'
prefix: '64bit'
'AllowCancelDuringInstall=no':
body: 'AllowCancelDuringInstall=no$0'
prefix: 'AllowCancelDuringInstall=no'
'AllowCancelDuringInstall=yes (default)':
body: 'AllowCancelDuringInstall=yes$0... |
[
{
"context": "@fileoverview Tests for wrap-regex rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.9998056888580322,
"start": 58,
"tag": "NAME",
"value": "Nicholas C. Zakas"
},
{
"context": "ype: 'Literal'\n ]\n ,\n ... | src/tests/rules/wrap-regex.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for wrap-regex rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/wrap-regex'
{RuleTest... | 183671 | ###*
# @fileoverview Tests for wrap-regex rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/wrap-regex'
{RuleTester} = requi... | true | ###*
# @fileoverview Tests for wrap-regex rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/wrap-regex'
{RuleT... |
[
{
"context": "cope.signin = ->\n# $scope.credentials.email = 'juan@joukou.co'\n# $scope.credentials.password = 'juantest11'\n",
"end": 2376,
"score": 0.99992835521698,
"start": 2362,
"tag": "EMAIL",
"value": "juan@joukou.co"
},
{
"context": "an@joukou.co'\n# $scope.credentia... | src/app/signin/signin.coffee | joukou/joukou-control | 0 | ###*
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, software
dist... | 45122 | ###*
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, software
dist... | true | ###*
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, software
dist... |
[
{
"context": " of completions, eg:\n # { \"Giraffe (Giraffa camelopardalis)\": {\n ",
"end": 20184,
"score": 0.7170422077178955,
"start": 20183,
"tag": "NAME",
"value": "G"
}
] | webapp/climasng/src/coffee/mapview/views/app.coffee | jcu-eresearch/wallace-3 | 0 |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
MapLayer = require '../models/maplayer'
require '../util/shims'
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript compiled
# code.
### jshint -W09... | 55208 |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
MapLayer = require '../models/maplayer'
require '../util/shims'
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript compiled
# code.
### jshint -W09... | true |
# $ = require 'jquery'
# _ = require 'lodash'
# Backbone = require 'backbone'
# L = require 'leaflet'
MapLayer = require '../models/maplayer'
require '../util/shims'
# disable the jshint warning about "did you mean to return a
# conditional" which crops up all the time in coffeescript compiled
# code.
### jshint -W09... |
[
{
"context": "s.data = [\n new User().one().set(id:1, name:'Putin')\n new User().one().set(id:2, name:'Merkel',",
"end": 1693,
"score": 0.9991922378540039,
"start": 1688,
"tag": "NAME",
"value": "Putin"
},
{
"context": "e:'Putin')\n new User().one().set(id:2, name:'Mer... | test/resource-collection.test.coffee | kruschid/angular-resource-manager | 0 | chai.should()
describe 'ResourceCollection', ->
backend = User = undefined
# set up module
beforeEach(module('kdResourceManager'))
# setup dependencies
beforeEach inject ($httpBackend, kdResourceManager) ->
backend = $httpBackend
User = kdResourceManager('users')
it 'should fetch many resources',... | 190316 | chai.should()
describe 'ResourceCollection', ->
backend = User = undefined
# set up module
beforeEach(module('kdResourceManager'))
# setup dependencies
beforeEach inject ($httpBackend, kdResourceManager) ->
backend = $httpBackend
User = kdResourceManager('users')
it 'should fetch many resources',... | true | chai.should()
describe 'ResourceCollection', ->
backend = User = undefined
# set up module
beforeEach(module('kdResourceManager'))
# setup dependencies
beforeEach inject ($httpBackend, kdResourceManager) ->
backend = $httpBackend
User = kdResourceManager('users')
it 'should fetch many resources',... |
[
{
"context": "# Copyright Vladimir Andreev\n\n# Exported objects\n\nexports.Service = require('.",
"end": 28,
"score": 0.9998620748519897,
"start": 12,
"tag": "NAME",
"value": "Vladimir Andreev"
}
] | src/index.coffee | tucan/smsaero | 0 | # Copyright Vladimir Andreev
# Exported objects
exports.Service = require('./service')
exports.Client = require('./client')
| 75113 | # Copyright <NAME>
# Exported objects
exports.Service = require('./service')
exports.Client = require('./client')
| true | # Copyright PI:NAME:<NAME>END_PI
# Exported objects
exports.Service = require('./service')
exports.Client = require('./client')
|
[
{
"context": "r\n img_server = null\n\n\n# 生成加密密码\n# @param password 密码\n# @param token check_qq_verify 参数1 !UGX\n# @par",
"end": 2308,
"score": 0.9980831146240234,
"start": 2306,
"tag": "PASSWORD",
"value": "密码"
},
{
"context": "sword = (password , token , bits) ->\n\n password ... | src/qqauth.coffee | lsc20051426/qqbot | 2 | https = require "https"
http = require 'http'
crypto = require 'crypto'
querystring = require 'querystring'
Url = require('url')
all_cookies = []
int = (v) -> parseInt v
Path = require 'path'
Log = require 'log'
log = new Log('debug');
md5 = (str) ->
md5sum = crypto.createHash 'md5'
md5sum.update(str.toString())... | 168124 | https = require "https"
http = require 'http'
crypto = require 'crypto'
querystring = require 'querystring'
Url = require('url')
all_cookies = []
int = (v) -> parseInt v
Path = require 'path'
Log = require 'log'
log = new Log('debug');
md5 = (str) ->
md5sum = crypto.createHash 'md5'
md5sum.update(str.toString())... | true | https = require "https"
http = require 'http'
crypto = require 'crypto'
querystring = require 'querystring'
Url = require('url')
all_cookies = []
int = (v) -> parseInt v
Path = require 'path'
Log = require 'log'
log = new Log('debug');
md5 = (str) ->
md5sum = crypto.createHash 'md5'
md5sum.update(str.toString())... |
[
{
"context": "erms of the MIT license.\nCopyright 2012 - 2018 (c) Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nfs = requir",
"end": 109,
"score": 0.9998974800109863,
"start": 94,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "cense.\nCopyright 2012 - 2018 (c) ... | src/cli.coffee | toastal/sloc-1 | 0 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2018 (c) Markus Kohlhase <mail@markus-kohlhase.de>
###
fs = require 'fs'
path = require 'path'
async = require 'async'
programm = require 'commander'
readdirp = require 'readdirp'
sloc = require './sloc'
helpers... | 112114 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2018 (c) <NAME> <<EMAIL>>
###
fs = require 'fs'
path = require 'path'
async = require 'async'
programm = require 'commander'
readdirp = require 'readdirp'
sloc = require './sloc'
helpers = require './helpers'
... | true | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2018 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
fs = require 'fs'
path = require 'path'
async = require 'async'
programm = require 'commander'
readdirp = require 'readdirp'
sloc = require './sloc'
hel... |
[
{
"context": "> tag', ->\n\t\t\tmarkup = \"\"\"\n\t\t\t<syntax>\n\t\t\tname = 'Cary'\n\t\t\t</syntax>\n\t\t\t\"\"\"\n\n\t\t\telement = @$compile(m",
"end": 240,
"score": 0.9997739791870117,
"start": 236,
"tag": "NAME",
"value": "Cary"
}
] | src/components/syntax/test/syntax-directive.spec.coffee | webmaster89898/CaryLandholt-fatarrow | 0 | describe 'syntax', ->
describe 'syntax directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'starts with the <pre> tag', ->
markup = """
<syntax>
name = 'Cary'
</syntax>
"""
element = @$compile(markup)(@scope)
controller =... | 27052 | describe 'syntax', ->
describe 'syntax directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'starts with the <pre> tag', ->
markup = """
<syntax>
name = '<NAME>'
</syntax>
"""
element = @$compile(markup)(@scope)
controller... | true | describe 'syntax', ->
describe 'syntax directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'starts with the <pre> tag', ->
markup = """
<syntax>
name = 'PI:NAME:<NAME>END_PI'
</syntax>
"""
element = @$compile(markup)(@scope)... |
[
{
"context": "')\n\n# Keeps track of an ingredient model\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nmbit.directive('mb",
"end": 99,
"score": 0.9998766779899597,
"start": 85,
"tag": "NAME",
"value": "Torstein Thune"
},
{
"context": "al of model\n\t\t\t\t\tconsole.log k... | app/ingredient/IngredientDirective.coffee | Microbrewit/microbrewit-recipe-calculator | 0 | mbit = angular.module('Microbrewit')
# Keeps track of an ingredient model
# @author Torstein Thune
# @copyright 2016 Microbrew.it
mbit.directive('mbIngredient', [
'mbit/services/RecipeUtilityService'
'$rootScope'
(Utils, $rootScope) ->
link = (scope, element, attrs, controller, transcludeFn) ->
mergeIngredien... | 77561 | mbit = angular.module('Microbrewit')
# Keeps track of an ingredient model
# @author <NAME>
# @copyright 2016 Microbrew.it
mbit.directive('mbIngredient', [
'mbit/services/RecipeUtilityService'
'$rootScope'
(Utils, $rootScope) ->
link = (scope, element, attrs, controller, transcludeFn) ->
mergeIngredient = (old... | true | mbit = angular.module('Microbrewit')
# Keeps track of an ingredient model
# @author PI:NAME:<NAME>END_PI
# @copyright 2016 Microbrew.it
mbit.directive('mbIngredient', [
'mbit/services/RecipeUtilityService'
'$rootScope'
(Utils, $rootScope) ->
link = (scope, element, attrs, controller, transcludeFn) ->
mergeIng... |
[
{
"context": " href\n title\n author {\n name\n }\n }\n artists(size: 16) {\n ",
"end": 686,
"score": 0.9635403156280518,
"start": 682,
"tag": "NAME",
"value": "name"
}
] | desktop/apps/artwork/components/artists/query.coffee | dblock/force | 1 | module.exports = """
fragment artists on Artwork {
artists {
bio
name
href
blurb(format: HTML)
biography_blurb(format: HTML, partner_bio: true) {
text
credit
partner_id
}
exhibition_highlights(size: 20) {
kind
name
start_at
... | 42422 | module.exports = """
fragment artists on Artwork {
artists {
bio
name
href
blurb(format: HTML)
biography_blurb(format: HTML, partner_bio: true) {
text
credit
partner_id
}
exhibition_highlights(size: 20) {
kind
name
start_at
... | true | module.exports = """
fragment artists on Artwork {
artists {
bio
name
href
blurb(format: HTML)
biography_blurb(format: HTML, partner_bio: true) {
text
credit
partner_id
}
exhibition_highlights(size: 20) {
kind
name
start_at
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992429614067078,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_stream_readable.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... | 197096 | # 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": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\nnew BackgroundLa",
"end": 146,
"score": 0.9987629652023315,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 50sprites.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#211"
vidPlayer = new Layer
width: 300
height: 200
x: Align.center
y: Align.center(-100)
backgro... | 224291 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#211"
vidPlayer = new Layer
width: 300
height: 200
x: Align.center
y: Align.center(-100)
backg... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
new BackgroundLayer backgroundColor: "#211"
vidPlayer = new Layer
width: 300
height: 200
x: Align.center
y: Align.cente... |
[
{
"context": "ttp-monitor')\n\netcdPeers = (env.ETCDCTL_PEERS || \"127.0.0.1:2379\").split(',')\nserviceDiscoveryPath = \"/dit4c/",
"end": 261,
"score": 0.9997374415397644,
"start": 252,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " alive: {}\n writeHipacheRecord = ()... | highcommand.coffee | dit4c/dit4c-cluster-manager | 0 | 'use strict';
env = process.env
url = require('url')
etcdjs = require('etcdjs')
liveCollection = require('etcd-live-collection')
newNano = require('nano')
_ = require("underscore")
monitor = require('http-monitor')
etcdPeers = (env.ETCDCTL_PEERS || "127.0.0.1:2379").split(',')
serviceDiscoveryPath = "/dit4c/container... | 69968 | 'use strict';
env = process.env
url = require('url')
etcdjs = require('etcdjs')
liveCollection = require('etcd-live-collection')
newNano = require('nano')
_ = require("underscore")
monitor = require('http-monitor')
etcdPeers = (env.ETCDCTL_PEERS || "127.0.0.1:2379").split(',')
serviceDiscoveryPath = "/dit4c/container... | true | 'use strict';
env = process.env
url = require('url')
etcdjs = require('etcdjs')
liveCollection = require('etcd-live-collection')
newNano = require('nano')
_ = require("underscore")
monitor = require('http-monitor')
etcdPeers = (env.ETCDCTL_PEERS || "127.0.0.1:2379").split(',')
serviceDiscoveryPath = "/dit4c/container... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9373302459716797,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | src/api/v0.1.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other 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... | 20629 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other 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... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other 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 limi... |
[
{
"context": "er = if currentUser\n currentUser.password = undefined\n currentUser\n else\n null\n res",
"end": 234,
"score": 0.997094988822937,
"start": 225,
"tag": "PASSWORD",
"value": "undefined"
}
] | routes/authRouter.coffee | jastribl/stir-server | 0 | express = require('express')
passport = require('passport')
module.exports = express.Router()
.post '/getUserStatus', (req, res, next) ->
currentUser = req.user
user = if currentUser
currentUser.password = undefined
currentUser
else
null
res.json({
loggedIn: req.isAuth... | 56400 | express = require('express')
passport = require('passport')
module.exports = express.Router()
.post '/getUserStatus', (req, res, next) ->
currentUser = req.user
user = if currentUser
currentUser.password = <PASSWORD>
currentUser
else
null
res.json({
loggedIn: req.isAut... | true | express = require('express')
passport = require('passport')
module.exports = express.Router()
.post '/getUserStatus', (req, res, next) ->
currentUser = req.user
user = if currentUser
currentUser.password = PI:PASSWORD:<PASSWORD>END_PI
currentUser
else
null
res.json({
l... |
[
{
"context": "\n modelKey: 'clientId'\n jsonKey: 'client_id'\n 'serverId': Attributes.ServerId\n querya",
"end": 2401,
"score": 0.9052734971046448,
"start": 2399,
"tag": "KEY",
"value": "id"
},
{
"context": " modelKey: 'serverId'\n jsonKey: 'server_id'\n ... | packages/client-app/spec/fixtures/db-test-model.coffee | cnheider/nylas-mail | 24,369 | Model = require '../../src/flux/models/model'
Category = require('../../src/flux/models/category').default
Attributes = require('../../src/flux/attributes').default
class TestModel extends Model
@attributes =
'id': Attributes.String
queryable: true
modelKey: 'id'
'clientId': Attributes.String
... | 103612 | Model = require '../../src/flux/models/model'
Category = require('../../src/flux/models/category').default
Attributes = require('../../src/flux/attributes').default
class TestModel extends Model
@attributes =
'id': Attributes.String
queryable: true
modelKey: 'id'
'clientId': Attributes.String
... | true | Model = require '../../src/flux/models/model'
Category = require('../../src/flux/models/category').default
Attributes = require('../../src/flux/attributes').default
class TestModel extends Model
@attributes =
'id': Attributes.String
queryable: true
modelKey: 'id'
'clientId': Attributes.String
... |
[
{
"context": "###\n Vibrant.js\n by Jari Zwarts\n\n Color algorithm class that finds variations on",
"end": 33,
"score": 0.9998916387557983,
"start": 22,
"tag": "NAME",
"value": "Jari Zwarts"
},
{
"context": "ons on colors in an image.\n\n Credits\n --------\n Lokesh Dhakar (ht... | src/Vibrant.coffee | isabella232/vibrant.js | 4 | ###
Vibrant.js
by Jari Zwarts
Color algorithm class that finds variations on colors in an image.
Credits
--------
Lokesh Dhakar (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
window.Swatch = class Swatch
hsl: undefined
rgb: undefined
population:... | 81288 | ###
Vibrant.js
by <NAME>
Color algorithm class that finds variations on colors in an image.
Credits
--------
<NAME> (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
window.Swatch = class Swatch
hsl: undefined
rgb: undefined
population: 1
@yiq: 0... | true | ###
Vibrant.js
by PI:NAME:<NAME>END_PI
Color algorithm class that finds variations on colors in an image.
Credits
--------
PI:NAME:<NAME>END_PI (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
window.Swatch = class Swatch
hsl: undefined
rgb: undefin... |
[
{
"context": " return {\n time: new Date\n author: author\n content: content\n }\n\nexport newSystemL",
"end": 172,
"score": 0.48265957832336426,
"start": 166,
"tag": "NAME",
"value": "author"
},
{
"context": "ne 'welcome to the chat'\nchat.append newChatLin... | js/views/chat.coffee | foxbot/watchr | 0 | import m from 'mithril'
import { Commands } from '../commands.coffee'
export newChatLine = (author, content) ->
return {
time: new Date
author: author
content: content
}
export newSystemLine = (content) ->
return {
system: true
content: content
}
export chatVi... | 52355 | import m from 'mithril'
import { Commands } from '../commands.coffee'
export newChatLine = (author, content) ->
return {
time: new Date
author: <NAME>
content: content
}
export newSystemLine = (content) ->
return {
system: true
content: content
}
export chatVi... | true | import m from 'mithril'
import { Commands } from '../commands.coffee'
export newChatLine = (author, content) ->
return {
time: new Date
author: PI:NAME:<NAME>END_PI
content: content
}
export newSystemLine = (content) ->
return {
system: true
content: content
}
... |
[
{
"context": "\n\ncustomer1 = undefined\n\nCustomer.create\n name: 'John'\n.then (customer) ->\n Order.create\n customerI",
"end": 236,
"score": 0.9998298287391663,
"start": 232,
"tag": "NAME",
"value": "John"
},
{
"context": "er.get true, console.log\n Customer.create name: 'M... | test/test3.coffee | BoLaMN/node-client | 0 | {
Customer
Order
Physician
Patient
Appointment
Assembly
Part
Author
Reader
Picture } = require './test2'
order1 = undefined
order2 = undefined
order3 = undefined
customer1 = undefined
Customer.create
name: 'John'
.then (customer) ->
Order.create
customerId: customer.id
orderDate: new ... | 106763 | {
Customer
Order
Physician
Patient
Appointment
Assembly
Part
Author
Reader
Picture } = require './test2'
order1 = undefined
order2 = undefined
order3 = undefined
customer1 = undefined
Customer.create
name: '<NAME>'
.then (customer) ->
Order.create
customerId: customer.id
orderDate: ne... | true | {
Customer
Order
Physician
Patient
Appointment
Assembly
Part
Author
Reader
Picture } = require './test2'
order1 = undefined
order2 = undefined
order3 = undefined
customer1 = undefined
Customer.create
name: 'PI:NAME:<NAME>END_PI'
.then (customer) ->
Order.create
customerId: customer.id
... |
[
{
"context": "Gutter2 = new Gutter(mockGutterContainer, {name: 'second', priority: -100})\n testState = buildTestSta",
"end": 8346,
"score": 0.8542275428771973,
"start": 8340,
"tag": "NAME",
"value": "second"
}
] | spec/gutter-container-component-spec.coffee | modestlearner/atom | 0 | Gutter = require '../src/gutter'
GutterContainerComponent = require '../src/gutter-container-component'
DOMElementPool = require '../src/dom-element-pool'
describe "GutterContainerComponent", ->
[gutterContainerComponent] = []
mockGutterContainer = {}
buildTestState = (gutters) ->
styles =
scrollHeigh... | 23953 | Gutter = require '../src/gutter'
GutterContainerComponent = require '../src/gutter-container-component'
DOMElementPool = require '../src/dom-element-pool'
describe "GutterContainerComponent", ->
[gutterContainerComponent] = []
mockGutterContainer = {}
buildTestState = (gutters) ->
styles =
scrollHeigh... | true | Gutter = require '../src/gutter'
GutterContainerComponent = require '../src/gutter-container-component'
DOMElementPool = require '../src/dom-element-pool'
describe "GutterContainerComponent", ->
[gutterContainerComponent] = []
mockGutterContainer = {}
buildTestState = (gutters) ->
styles =
scrollHeigh... |
[
{
"context": "quire('../crypto/secure_random')\n\nPROFILES_KEY = \"profiles\"\nCONFIG_KEY = \"config\"\nSALT_KEY = \"salt\"\n\nget = (",
"end": 142,
"score": 0.9494214057922363,
"start": 134,
"tag": "KEY",
"value": "profiles"
},
{
"context": "random')\n\nPROFILES_KEY = \"profiles\"\n... | src/js/lib/secure_store/storage.coffee | obi1kenobi/jester | 2 | logger = require('../util/logging').logger(['lib', 'sstore', 'storage'])
random = require('../crypto/secure_random')
PROFILES_KEY = "profiles"
CONFIG_KEY = "config"
SALT_KEY = "salt"
get = (key) ->
keyString = JSON.stringify({key})
val = localStorage.getItem(keyString)
if val?.length > 0
return JSON.parse(v... | 187748 | logger = require('../util/logging').logger(['lib', 'sstore', 'storage'])
random = require('../crypto/secure_random')
PROFILES_KEY = "<KEY>"
CONFIG_KEY = "<KEY>"
SALT_KEY = "<KEY>"
get = (key) ->
keyString = JSON.stringify({key})
val = localStorage.getItem(keyString)
if val?.length > 0
return JSON.parse(val)... | true | logger = require('../util/logging').logger(['lib', 'sstore', 'storage'])
random = require('../crypto/secure_random')
PROFILES_KEY = "PI:KEY:<KEY>END_PI"
CONFIG_KEY = "PI:KEY:<KEY>END_PI"
SALT_KEY = "PI:KEY:<KEY>END_PI"
get = (key) ->
keyString = JSON.stringify({key})
val = localStorage.getItem(keyString)
if val... |
[
{
"context": "\n properties:\n NAME:\n 'Test'\n on: (obj) ->\n mouseover = obj.mouseover",
"end": 640,
"score": 0.8976950645446777,
"start": 636,
"tag": "NAME",
"value": "Test"
},
{
"context": "S06005\"\n LSAD: \"County\"\n NAME: \... | spec/javascripts/jasmine_specs/mapControllerSpec.js.coffee | EdsonGermano/castos-public | 0 | #= require application
#= require jquery
#= require jquery_ujs
#= require d3
#= require bootstrap-sprockets
#= require mapbox.js
#= require jasmine-jquery
#= require angular
#= require angular-resource
#= require angular-sanitize
#= require angular-mocks
describe 'mapController', ->
$scope = {}
$rootScope = {}
c... | 154763 | #= require application
#= require jquery
#= require jquery_ujs
#= require d3
#= require bootstrap-sprockets
#= require mapbox.js
#= require jasmine-jquery
#= require angular
#= require angular-resource
#= require angular-sanitize
#= require angular-mocks
describe 'mapController', ->
$scope = {}
$rootScope = {}
c... | true | #= require application
#= require jquery
#= require jquery_ujs
#= require d3
#= require bootstrap-sprockets
#= require mapbox.js
#= require jasmine-jquery
#= require angular
#= require angular-resource
#= require angular-sanitize
#= require angular-mocks
describe 'mapController', ->
$scope = {}
$rootScope = {}
c... |
[
{
"context": "'\n\tcurrentRecipeId: 'currentRecipeId'\n\tusername: 'username'\n\temail: 'email'\n\tpassword: 'password'\n\tisAdmin: ",
"end": 165,
"score": 0.9993545413017273,
"start": 157,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\tusername: 'username'\n\temail: 'emai... | app/models/account.coffee | jrdbnntt/theMenu | 0 | ###
For 'Account' table.
###
#table constants
COL =
accountId: 'accountId'
ownerEaterId: 'ownerEaterId'
currentRecipeId: 'currentRecipeId'
username: 'username'
email: 'email'
password: 'password'
isAdmin: 'isAdmin'
module.exports = (app) ->
TNAME = 'Account'
TREL = null
class app.models.Account
con... | 177282 | ###
For 'Account' table.
###
#table constants
COL =
accountId: 'accountId'
ownerEaterId: 'ownerEaterId'
currentRecipeId: 'currentRecipeId'
username: 'username'
email: 'email'
password: '<PASSWORD>'
isAdmin: 'isAdmin'
module.exports = (app) ->
TNAME = 'Account'
TREL = null
class app.models.Account
c... | true | ###
For 'Account' table.
###
#table constants
COL =
accountId: 'accountId'
ownerEaterId: 'ownerEaterId'
currentRecipeId: 'currentRecipeId'
username: 'username'
email: 'email'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
isAdmin: 'isAdmin'
module.exports = (app) ->
TNAME = 'Account'
TREL = null
class app.... |
[
{
"context": "al'\n ,\n label: 'remote'\n ssh:\n host: '127.0.0.1', username: process.env.USER,\n private_key_p",
"end": 260,
"score": 0.999576985836029,
"start": 251,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " process.env.USER,\n private_key_pa... | packages/docker/test.sample.coffee | wdavidw/node-mecano | 0 |
module.exports =
tags:
docker: false # disable_docker
docker_volume: false
docker: # eg `docker-machine create --driver virtualbox nikita`
machine: 'nikita'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: '~/.s... | 200162 |
module.exports =
tags:
docker: false # disable_docker
docker_volume: false
docker: # eg `docker-machine create --driver virtualbox nikita`
machine: 'nikita'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: '~/.s... | true |
module.exports =
tags:
docker: false # disable_docker
docker_volume: false
docker: # eg `docker-machine create --driver virtualbox nikita`
machine: 'nikita'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
private_key_path: '~/.s... |
[
{
"context": "generator-assemble v0.4.10\n# * https://github.com/assemble/generator-assemble\n# *\n# * Copyright (c) 2014 Har",
"end": 92,
"score": 0.9986361265182495,
"start": 84,
"tag": "USERNAME",
"value": "assemble"
},
{
"context": "mble/generator-assemble\n# *\n# * Copyright (c)... | Gruntfile.coffee | daveswebdesigns/portfolio | 0 | #
# * Generated on 2014-03-14
# * generator-assemble v0.4.10
# * https://github.com/assemble/generator-assemble
# *
# * Copyright (c) 2014 Hariadi Hinta
# * Licensed under the MIT license.
#
"use strict"
# # Globbing
# for performance reasons we're only matching one level down:
# '<%= config.src %>/templates/pages/{,... | 102220 | #
# * Generated on 2014-03-14
# * generator-assemble v0.4.10
# * https://github.com/assemble/generator-assemble
# *
# * Copyright (c) 2014 <NAME>
# * Licensed under the MIT license.
#
"use strict"
# # Globbing
# for performance reasons we're only matching one level down:
# '<%= config.src %>/templates/pages/{,*/}*.hb... | true | #
# * Generated on 2014-03-14
# * generator-assemble v0.4.10
# * https://github.com/assemble/generator-assemble
# *
# * Copyright (c) 2014 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
"use strict"
# # Globbing
# for performance reasons we're only matching one level down:
# '<%= config.src %>/templates/p... |
[
{
"context": "otLedger.Models.Account(\n id: 1\n name: 'Example Account'\n )\n statements = new DotLedger.Collections",
"end": 149,
"score": 0.9970238208770752,
"start": 134,
"tag": "NAME",
"value": "Example Account"
}
] | spec/javascripts/dot_ledger/views/statements/list_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.Statements.List", ->
createView = ->
account = new DotLedger.Models.Account(
id: 1
name: 'Example Account'
)
statements = new DotLedger.Collections.Statements [
{
id: 11
account_id: 1
balance: -1223.16
from_date: '2015-01-11'
... | 148397 | describe "DotLedger.Views.Statements.List", ->
createView = ->
account = new DotLedger.Models.Account(
id: 1
name: '<NAME>'
)
statements = new DotLedger.Collections.Statements [
{
id: 11
account_id: 1
balance: -1223.16
from_date: '2015-01-11'
to_da... | true | describe "DotLedger.Views.Statements.List", ->
createView = ->
account = new DotLedger.Models.Account(
id: 1
name: 'PI:NAME:<NAME>END_PI'
)
statements = new DotLedger.Collections.Statements [
{
id: 11
account_id: 1
balance: -1223.16
from_date: '2015-01-11'... |
[
{
"context": "Auth2 client', ->\n testProvider = (name) -> 'fillmore' if name is 'millard'\n\n clientFactory = Butt",
"end": 616,
"score": 0.8492767810821533,
"start": 608,
"tag": "USERNAME",
"value": "fillmore"
},
{
"context": "hould construct an API key client', ->\n ... | test/client.coffee | buttercoin/buttercoinsdk-node | 2 | should = require('should')
Buttercoin = require('../lib/client')
RequestBuilder = require('../lib/request_builder')
Order = require('../lib/requests/create_order')
Q = require('q')
class NoopAuthorizer
authorize: (request) ->
@lastRequest = request
request
class NoopHandler
do: (request, opts) =>
Q(@... | 163997 | should = require('should')
Buttercoin = require('../lib/client')
RequestBuilder = require('../lib/request_builder')
Order = require('../lib/requests/create_order')
Q = require('q')
class NoopAuthorizer
authorize: (request) ->
@lastRequest = request
request
class NoopHandler
do: (request, opts) =>
Q(@... | true | should = require('should')
Buttercoin = require('../lib/client')
RequestBuilder = require('../lib/request_builder')
Order = require('../lib/requests/create_order')
Q = require('q')
class NoopAuthorizer
authorize: (request) ->
@lastRequest = request
request
class NoopHandler
do: (request, opts) =>
Q(@... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.99830561876297,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-symlink-dir-junction.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... | 102280 | # 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 \"date\": \"1-20-2015\",\n \"author\": \"brekk\"\n }}}\n # Learning \n Lorem ipsum dolor si",
"end": 2222,
"score": 0.999064028263092,
"start": 2217,
"tag": "USERNAME",
"value": "brekk"
},
{
"context": " title: \"Test\"\n ... | README.md.coffee | brekk/raconteur | 1 | # Raconteur
## a library for converting simple markdown to smart markup
Ever been frustrated by the need to separate the concerns of content creation (markdown) from the concerns of design (markup)?
Raconteur offers some loosely-opinionated tools to manage robust content and convert it to clean markup.
#### Tools
1... | 43320 | # Raconteur
## a library for converting simple markdown to smart markup
Ever been frustrated by the need to separate the concerns of content creation (markdown) from the concerns of design (markup)?
Raconteur offers some loosely-opinionated tools to manage robust content and convert it to clean markup.
#### Tools
1... | true | # Raconteur
## a library for converting simple markdown to smart markup
Ever been frustrated by the need to separate the concerns of content creation (markdown) from the concerns of design (markup)?
Raconteur offers some loosely-opinionated tools to manage robust content and convert it to clean markup.
#### Tools
1... |
[
{
"context": "= new metrics.Timer(\"lock.#{namespace}\")\n\t\tkey = \"lock:web:#{namespace}:#{id}\"\n\t\tLockManager._getLock key, namespace, (error) ",
"end": 837,
"score": 0.9784520268440247,
"start": 811,
"tag": "KEY",
"value": "lock:web:#{namespace}:#{id"
}
] | app/coffee/infrastructure/LockManager.coffee | dtu-compute/web-sharelatex | 0 | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
module.exports = LockManager =
LOCK_TEST_INTERVAL: 50 # 50ms between each test of the lock
MAX_LOCK_WAIT_TIME: 10000 # ... | 43887 | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
module.exports = LockManager =
LOCK_TEST_INTERVAL: 50 # 50ms between each test of the lock
MAX_LOCK_WAIT_TIME: 10000 # ... | true | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
module.exports = LockManager =
LOCK_TEST_INTERVAL: 50 # 50ms between each test of the lock
MAX_LOCK_WAIT_TIME: 10000 # ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.