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": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998916983604431,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | public/bower_components/angular-google-maps/src/coffee/directives/polyline.coffee | arslannaseem/notasoft | 1 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
###
angular.module("uiGmapgoogle-maps").directive "uiGmapPolyline", [ "uiGmapPolyline", (Polyline) -> new Polyline() ]
| 103058 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
###
angular.module("uiGmapgoogle-maps").directive "uiGmapPolyline", [ "uiGmapPolyline", (Polyline) -> new Polyline() ]
| true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
###
angular.module("uiGmapgoogle-maps").directive "uiGmapPolyline", [ "uiGmapPolyline", (Polyline) -> new Polyline() ]
|
[
{
"context": "d.equal true\n @client.rtm._token.should.equal 'xoxb-faketoken'\n\n it 'Should initialize with a Web client', ->\n",
"end": 334,
"score": 0.9424120187759399,
"start": 320,
"tag": "KEY",
"value": "xoxb-faketoken"
},
{
"context": "d.equal true\n @client.web._token.... | test/client.coffee | aahill50/hubot-slack | 1 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
_ = require 'lodash'
describe 'Init', ->
it 'Should initialize with an RTM client', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal '... | 2394 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
_ = require 'lodash'
describe 'Init', ->
it 'Should initialize with an RTM client', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal '... | true | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
_ = require 'lodash'
describe 'Init', ->
it 'Should initialize with an RTM client', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal '... |
[
{
"context": "om registration page\n options =\n username: handle\n password: vm.password\n # call login api\n",
"end": 1073,
"score": 0.9854443073272705,
"start": 1067,
"tag": "USERNAME",
"value": "handle"
},
{
"context": " options =\n username: handle\n p... | app/scripts/connect/reset.controller.coffee | suppermancool/appirio-tech-accounts-app | 3 | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ login, resetPassword, getV3Jwt } = require '../../../core/auth.js'
{ removeToken } = require '../../../core/token.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ResetPasswordController = ($stateParams, $state, $scope) ->
vm ... | 20990 | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ login, resetPassword, getV3Jwt } = require '../../../core/auth.js'
{ removeToken } = require '../../../core/token.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ResetPasswordController = ($stateParams, $state, $scope) ->
vm ... | true | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ login, resetPassword, getV3Jwt } = require '../../../core/auth.js'
{ removeToken } = require '../../../core/token.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ResetPasswordController = ($stateParams, $state, $scope) ->
vm ... |
[
{
"context": "rvice\n user: config.mail.username\n pass: config.mail.password\n authMethod: \"LOGIN\"\n smtpTransport",
"end": 1333,
"score": 0.9811293482780457,
"start": 1313,
"tag": "PASSWORD",
"value": "config.mail.password"
}
] | server/contact.coffee | flauta/codecombat | 1 | config = require '../server_config'
winston = require 'winston'
nodemailer = require 'nodemailer'
module.exports.setupRoutes = (app) ->
app.post '/contact', (req, res) ->
winston.info "Sending mail from #{req.body.email} saying #{req.body.message}"
if config.isProduction
transport = createSMTPTransport... | 83223 | config = require '../server_config'
winston = require 'winston'
nodemailer = require 'nodemailer'
module.exports.setupRoutes = (app) ->
app.post '/contact', (req, res) ->
winston.info "Sending mail from #{req.body.email} saying #{req.body.message}"
if config.isProduction
transport = createSMTPTransport... | true | config = require '../server_config'
winston = require 'winston'
nodemailer = require 'nodemailer'
module.exports.setupRoutes = (app) ->
app.post '/contact', (req, res) ->
winston.info "Sending mail from #{req.body.email} saying #{req.body.message}"
if config.isProduction
transport = createSMTPTransport... |
[
{
"context": "#\n\n the filtered data for you\n @TODO william look at this\n\n ###\n\n @groupName = (",
"end": 4233,
"score": 0.580662190914154,
"start": 4226,
"tag": "NAME",
"value": "william"
}
] | project/coffee/view/home/InteractiveCanvas/InteractiveCanvas.coffee | alpha-ville/bcn-iot | 0 | AbstractView = require '../../AbstractView'
Scene = require('./Scene.coffee');
CentralButton = require('./shapes/CentralButton.coffee');
Circle = require './shapes/Circle'
Triangle = require './shapes/Triangle'
Square = require('./shapes/Square.coffee');
NumUtil = require... | 155826 | AbstractView = require '../../AbstractView'
Scene = require('./Scene.coffee');
CentralButton = require('./shapes/CentralButton.coffee');
Circle = require './shapes/Circle'
Triangle = require './shapes/Triangle'
Square = require('./shapes/Square.coffee');
NumUtil = require... | true | AbstractView = require '../../AbstractView'
Scene = require('./Scene.coffee');
CentralButton = require('./shapes/CentralButton.coffee');
Circle = require './shapes/Circle'
Triangle = require './shapes/Triangle'
Square = require('./shapes/Square.coffee');
NumUtil = require... |
[
{
"context": "console.log 'Howdy'",
"end": 18,
"score": 0.6406099796295166,
"start": 13,
"tag": "NAME",
"value": "Howdy"
}
] | node_modules/connect-assets/test/assets/js/script.coffee | crigor/chat10 | 1 | console.log 'Howdy' | 221284 | console.log '<NAME>' | true | console.log 'PI:NAME:<NAME>END_PI' |
[
{
"context": "true\n\tfields:\n\t\tname: \n\t\t\ttype: \"text\"\n\t\t\tlabel: \"姓名\"\n\t\t\tdefaultValue: \"\"\n\t\t\tdescription: \"\"\n\t\t\tinlin",
"end": 222,
"score": 0.6400813460350037,
"start": 221,
"tag": "NAME",
"value": "姓"
}
] | packages/steedos-app-crm/models/Contacts.coffee | zonglu233/fuel-car | 0 | Creator.Objects.contacts =
name: "contacts"
label: "联系人"
icon: "contact"
enable_files: true
enable_search: true
enable_notes: true
enable_api: true
enable_share: true
fields:
name:
type: "text"
label: "姓名"
defaultValue: ""
description: ""
inlineHelpText: ""
required: true
searchable:tr... | 177738 | Creator.Objects.contacts =
name: "contacts"
label: "联系人"
icon: "contact"
enable_files: true
enable_search: true
enable_notes: true
enable_api: true
enable_share: true
fields:
name:
type: "text"
label: "<NAME>名"
defaultValue: ""
description: ""
inlineHelpText: ""
required: true
searchab... | true | Creator.Objects.contacts =
name: "contacts"
label: "联系人"
icon: "contact"
enable_files: true
enable_search: true
enable_notes: true
enable_api: true
enable_share: true
fields:
name:
type: "text"
label: "PI:NAME:<NAME>END_PI名"
defaultValue: ""
description: ""
inlineHelpText: ""
required: tr... |
[
{
"context": "id) {\n return \"Ford-Fulkerson says: s and t must be different!\";\n ",
"end": 792,
"score": 0.6916861534118652,
"start": 783,
"tag": "NAME",
"value": "Fulkerson"
}
] | src/widget/error.coffee | ankur106/vamonos | 62 | class Error
@description = """
The `Error` widget serves as a way to create custom error conditions.
The visualization will not change to DisplayMode unless all conditions
are met.
"""
@spec =
conditions:
type: "Array"
description:
... | 104161 | class Error
@description = """
The `Error` widget serves as a way to create custom error conditions.
The visualization will not change to DisplayMode unless all conditions
are met.
"""
@spec =
conditions:
type: "Array"
description:
... | true | class Error
@description = """
The `Error` widget serves as a way to create custom error conditions.
The visualization will not change to DisplayMode unless all conditions
are met.
"""
@spec =
conditions:
type: "Array"
description:
... |
[
{
"context": " a better way to distribute this\nCLIENT_SECRET = '1gNUceDM59TjFAks58ftsniZ'\n\n\n# get the single instance of xoauthGenerator f",
"end": 592,
"score": 0.9996479153633118,
"start": 568,
"tag": "KEY",
"value": "1gNUceDM59TjFAks58ftsniZ"
},
{
"context": "mapLogin or accou... | server/imap/account2config.coffee | cozy-labs/emails | 58 | xoauth2 = require 'xoauth2'
log = require('../utils/logging')(prefix: 'imap:oauth')
{PasswordEncryptedError} = require '../utils/errors'
Account = require '../models/account'
xOAuthCache = {}
# This file handle the generation of config for node-imap and nodemailer
# it also handles xoauthgenerators as singletons by a... | 198152 | xoauth2 = require 'xoauth2'
log = require('../utils/logging')(prefix: 'imap:oauth')
{PasswordEncryptedError} = require '../utils/errors'
Account = require '../models/account'
xOAuthCache = {}
# This file handle the generation of config for node-imap and nodemailer
# it also handles xoauthgenerators as singletons by a... | true | xoauth2 = require 'xoauth2'
log = require('../utils/logging')(prefix: 'imap:oauth')
{PasswordEncryptedError} = require '../utils/errors'
Account = require '../models/account'
xOAuthCache = {}
# This file handle the generation of config for node-imap and nodemailer
# it also handles xoauthgenerators as singletons by a... |
[
{
"context": "ould return the right value', ->\n\n @pq.push(\"bob\", 1)\n @pq.push(\"rob\", 16)\n @pq.push(\"ma",
"end": 165,
"score": 0.9922146797180176,
"start": 162,
"tag": "NAME",
"value": "bob"
},
{
"context": "ue', ->\n\n @pq.push(\"bob\", 1)\n @pq.push... | spec/javascripts/priority_queue_spec.coffee | czuger/coffhex-dev | 1 | describe 'PriorityQueue', ->
beforeEach ->
@pq = new PriorityQueue()
describe '#pop()', ->
it 'should return the right value', ->
@pq.push("bob", 1)
@pq.push("rob", 16)
@pq.push("martin", 5)
@pq.pop().should.equal 'rob'
@pq.pop().should.equal 'martin'
@pq.pop().shoul... | 31892 | describe 'PriorityQueue', ->
beforeEach ->
@pq = new PriorityQueue()
describe '#pop()', ->
it 'should return the right value', ->
@pq.push("<NAME>", 1)
@pq.push("<NAME>", 16)
@pq.push("<NAME>", 5)
@pq.pop().should.equal '<NAME>'
@pq.pop().should.equal '<NAME>'
@pq.po... | true | describe 'PriorityQueue', ->
beforeEach ->
@pq = new PriorityQueue()
describe '#pop()', ->
it 'should return the right value', ->
@pq.push("PI:NAME:<NAME>END_PI", 1)
@pq.push("PI:NAME:<NAME>END_PI", 16)
@pq.push("PI:NAME:<NAME>END_PI", 5)
@pq.pop().should.equal 'PI:NAME:<NAME>EN... |
[
{
"context": "###\n Copyright (c) 2015 Abi Hafshin\n see README.md\n###\n\nmodule.exports = (Controller",
"end": 36,
"score": 0.9998793601989746,
"start": 25,
"tag": "NAME",
"value": "Abi Hafshin"
}
] | app/controllers/main/user.coffee | abihf/express-rad | 0 | ###
Copyright (c) 2015 Abi Hafshin
see README.md
###
module.exports = (Controller) ->
class UserController extends Controller
actionLogin: ->
@render('login')
actionLogout: ->
@req.logout()
@redirect('main.default.index')
| 136003 | ###
Copyright (c) 2015 <NAME>
see README.md
###
module.exports = (Controller) ->
class UserController extends Controller
actionLogin: ->
@render('login')
actionLogout: ->
@req.logout()
@redirect('main.default.index')
| true | ###
Copyright (c) 2015 PI:NAME:<NAME>END_PI
see README.md
###
module.exports = (Controller) ->
class UserController extends Controller
actionLogin: ->
@render('login')
actionLogout: ->
@req.logout()
@redirect('main.default.index')
|
[
{
"context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998481869697571,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/Port.coffee | aretecode/noflo-built | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# Regular port for NoFlo components.
{EventEmitter} = require 'events'
platform = require './Platform'
class Port exten... | 181584 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# Regular port for NoFlo components.
{EventEmitter} = require 'events'
platform = require './Platform'
class Port extends Even... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# Regular port for NoFlo components.
{EventEmitter} = require 'events'
platform = require './Platfo... |
[
{
"context": "ID: 'eeuvwjobdjeavcv3ed7ptq4iri'\n clientSecret: 'pQq5n_LQ1eEUSyjC8dZvmg'\n callbackURL: 'http://localhost:8008/oauthcallb",
"end": 445,
"score": 0.9996689558029175,
"start": 423,
"tag": "KEY",
"value": "pQq5n_LQ1eEUSyjC8dZvmg"
},
{
"context": "ile\n profileId = pr... | app/config.coffee | octoblu/meshblu-rdio-authenticator | 0 | passport = require 'passport'
RdioStrategy = require('passport-rdio-oauth2').Strategy
{DeviceAuthenticator} = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-rdio-authenticator:config')
rdioOauthConfig =
# clientID: process.env.RDIO_CLIENT_ID
# clientSecret: process.env.RDIO_CLIENT_SECRET
... | 163417 | passport = require 'passport'
RdioStrategy = require('passport-rdio-oauth2').Strategy
{DeviceAuthenticator} = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-rdio-authenticator:config')
rdioOauthConfig =
# clientID: process.env.RDIO_CLIENT_ID
# clientSecret: process.env.RDIO_CLIENT_SECRET
... | true | passport = require 'passport'
RdioStrategy = require('passport-rdio-oauth2').Strategy
{DeviceAuthenticator} = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-rdio-authenticator:config')
rdioOauthConfig =
# clientID: process.env.RDIO_CLIENT_ID
# clientSecret: process.env.RDIO_CLIENT_SECRET
... |
[
{
"context": "# Copyright 2018 Thomson Reuters\n# Permission is hereby granted, free of charge, t",
"end": 32,
"score": 0.9998264908790588,
"start": 17,
"tag": "NAME",
"value": "Thomson Reuters"
}
] | spec/turtle-provider-spec.coffee | thomsonreuters/AtomOntologyCompleter | 9 | # Copyright 2018 Thomson Reuters
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribut... | 133916 | # Copyright 2018 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublic... | true | # Copyright 2018 PI:NAME:<NAME>END_PI
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, dist... |
[
{
"context": "###\njspsych-mdp.coffee\nFred Callaway\n\nPlugin for Markov Decision Processes\n\nDocumentat",
"end": 36,
"score": 0.9998628497123718,
"start": 23,
"tag": "NAME",
"value": "Fred Callaway"
}
] | static/js/jsPsych/plugins/jspsych-mdp.coffee | fredcallaway/jspsych-mdp | 0 | ###
jspsych-mdp.coffee
Fred Callaway
Plugin for Markov Decision Processes
Documentation: HA!
###
# coffeelint: disable=max_line_length
KEYCODE_TO_LETTER =
70: 'F'
74: 'J'
75: 'K'
76: 'L'
jsPsych.plugins['mdp'] = do ->
console.log 'defining mdp plugin '
plugin = {}
state = null
plugin.trial = (dis... | 126239 | ###
jspsych-mdp.coffee
<NAME>
Plugin for Markov Decision Processes
Documentation: HA!
###
# coffeelint: disable=max_line_length
KEYCODE_TO_LETTER =
70: 'F'
74: 'J'
75: 'K'
76: 'L'
jsPsych.plugins['mdp'] = do ->
console.log 'defining mdp plugin '
plugin = {}
state = null
plugin.trial = (display_el... | true | ###
jspsych-mdp.coffee
PI:NAME:<NAME>END_PI
Plugin for Markov Decision Processes
Documentation: HA!
###
# coffeelint: disable=max_line_length
KEYCODE_TO_LETTER =
70: 'F'
74: 'J'
75: 'K'
76: 'L'
jsPsych.plugins['mdp'] = do ->
console.log 'defining mdp plugin '
plugin = {}
state = null
plugin.trial... |
[
{
"context": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\ntest = r",
"end": 28,
"score": 0.9998819828033447,
"start": 17,
"tag": "NAME",
"value": "Mark Cavage"
},
{
"context": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\ntest = re... | deps/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.coffee | lxe/io.coffee | 0 | # Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
test = require("tap").test
#/--- Globals
BerReader = undefined
#/--- Tests
test "load library", (t) ->
BerReader = require("../../lib/index").BerReader
t.ok BerReader
try
new BerReader()
t.fail "Should have thrown"
catch e
t.ok ... | 109159 | # Copyright 2011 <NAME> <<EMAIL>> All rights reserved.
test = require("tap").test
#/--- Globals
BerReader = undefined
#/--- Tests
test "load library", (t) ->
BerReader = require("../../lib/index").BerReader
t.ok BerReader
try
new BerReader()
t.fail "Should have thrown"
catch e
t.ok e instanceof Ty... | true | # Copyright 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> All rights reserved.
test = require("tap").test
#/--- Globals
BerReader = undefined
#/--- Tests
test "load library", (t) ->
BerReader = require("../../lib/index").BerReader
t.ok BerReader
try
new BerReader()
t.fail "Should have thrown"
cat... |
[
{
"context": "@has data\n @count[key]++\n else\n key = Math.random().toString(36).substr 2\n @count[key] ",
"end": 783,
"score": 0.94221031665802,
"start": 779,
"tag": "KEY",
"value": "Math"
},
{
"context": "ata\n @count[key]++\n else\n key = Math.rando... | source/context/base.coffee | nhz-io/sd-mapper | 0 | module.exports = class BaseContext
constructor: (parent) ->
@parent = null
@root = this
@items = []
@keys = []
@count = {}
if parent
@parent = parent
@root = @parent.root
ref: (data) ->
return unless data? or data instanceof Object
count = 0
for key of data then re... | 1645 | module.exports = class BaseContext
constructor: (parent) ->
@parent = null
@root = this
@items = []
@keys = []
@count = {}
if parent
@parent = parent
@root = @parent.root
ref: (data) ->
return unless data? or data instanceof Object
count = 0
for key of data then re... | true | module.exports = class BaseContext
constructor: (parent) ->
@parent = null
@root = this
@items = []
@keys = []
@count = {}
if parent
@parent = parent
@root = @parent.root
ref: (data) ->
return unless data? or data instanceof Object
count = 0
for key of data then re... |
[
{
"context": " \n clientID: '1570105449948928'\n clientSecret: 'f1a992265b221065764cfaf455a693c3'\n callbackURL: \"#{siteUrl}a/facebook/callback\"\n ",
"end": 394,
"score": 0.9995959997177124,
"start": 362,
"tag": "KEY",
"value": "f1a992265b221065764cfaf455a693c3"
},
{
"context": ... | src/config.coffee | damaera/framesia-code | 1 | path = require 'path'
inDomain = false
siteUrl = "http://localhost:8080/"
# assetUrl = "https://asset.framesia.com/frms/"
assetUrl = "http://localhost:8080/asset/frms/"
dbUrl = "mongodb://damn:123qwe@ds149030.mlab.com:49030/frms"
# dbUrl = "mongodb://test:123qwe@ds161630.mlab.com:61630/frms-dev"
facebook =
clie... | 88880 | path = require 'path'
inDomain = false
siteUrl = "http://localhost:8080/"
# assetUrl = "https://asset.framesia.com/frms/"
assetUrl = "http://localhost:8080/asset/frms/"
dbUrl = "mongodb://damn:123qwe@ds149030.mlab.com:49030/frms"
# dbUrl = "mongodb://test:123qwe@ds161630.mlab.com:61630/frms-dev"
facebook =
clie... | true | path = require 'path'
inDomain = false
siteUrl = "http://localhost:8080/"
# assetUrl = "https://asset.framesia.com/frms/"
assetUrl = "http://localhost:8080/asset/frms/"
dbUrl = "mongodb://damn:123qwe@ds149030.mlab.com:49030/frms"
# dbUrl = "mongodb://test:123qwe@ds161630.mlab.com:61630/frms-dev"
facebook =
clie... |
[
{
"context": "pace}.#{@config.app_name}\"\n @_data_key = \"#{@config.name}_data\"\n @_timestamp_key = \"#{@config.name}_timesta",
"end": 1988,
"score": 0.9420995712280273,
"start": 1967,
"tag": "KEY",
"value": "\"#{@config.name}_data"
},
{
"context": " = \"#{@config.n... | coffee/storage_freak.coffee | skroutz/selectorablium | 7 | define [
'jquery'
'shims/local_storage_shim'
], ($, LocalStorageShim)->
class StorageFreak
# Sorts by regular expression matching
regexp_sort = (re, a, b) ->
((re_match_a, re_match_b) ->
return -1 if re_match_a && !re_match_b
return 1 if re_match_b && !re_match_a)(@config.match_fun... | 130068 | define [
'jquery'
'shims/local_storage_shim'
], ($, LocalStorageShim)->
class StorageFreak
# Sorts by regular expression matching
regexp_sort = (re, a, b) ->
((re_match_a, re_match_b) ->
return -1 if re_match_a && !re_match_b
return 1 if re_match_b && !re_match_a)(@config.match_fun... | true | define [
'jquery'
'shims/local_storage_shim'
], ($, LocalStorageShim)->
class StorageFreak
# Sorts by regular expression matching
regexp_sort = (re, a, b) ->
((re_match_a, re_match_b) ->
return -1 if re_match_a && !re_match_b
return 1 if re_match_b && !re_match_a)(@config.match_fun... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994065165519714,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "return\n\n req.resume()\n return\n)\n\n#assert.equal('127.0.0.1', res.connection.remoteAddre... | test/simple/test-http.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... | 26535 | # 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": "# Copyright (c) 2014 clowwindy, Yale Huang\n#\n# Permission is hereby granted, fre",
"end": 30,
"score": 0.9995858669281006,
"start": 21,
"tag": "USERNAME",
"value": "clowwindy"
},
{
"context": "# Copyright (c) 2014 clowwindy, Yale Huang\n#\n# Permission is hereby grant... | main.coffee | yaleh/shadowsocks-gui | 0 | # Copyright (c) 2014 clowwindy, Yale Huang
#
# 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, publis... | 53953 | # Copyright (c) 2014 clowwindy, <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, d... | true | # Copyright (c) 2014 clowwindy, PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, mer... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nhQEMA9IPP7qcdOKdAQgAg0LpPALqQdo2LRNjms0ia4UVfQoplzzzdArHdc2WD/fN\nwzANiv5lZ9FcTwK2+mc0hzqDwYi1y9F4CGzY82B3JyrI+zCp0yLdg79iG8EHhmxN\nV9Qph7kpP4liRNZbJHILIdXJk3GYKlV6paLmLvmD4LNZr/I/uvzLa+EIpBXwRvyd\naejfiMd1hl8Y9BSnSNWkLZ2VLJcUkXMPwuxbdjtOZPe3ec... | test/files/zip.iced | johnnyRose/kbpgp | 1 |
{KeyManager,unbox} = require '../..'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
hQEMA9IPP7qcdOKdAQgAg0LpPALqQdo2LRNjms0ia4UVfQoplzzzdArHdc2WD/fN
wzANiv5lZ9FcTwK2+mc0hzqDwYi1y9F4CGzY82B3JyrI+zCp0yLdg79iG8EHhmxN
V9Qph7kpP4liRNZbJHILIdXJk3GYKlV... | 117596 |
{KeyManager,unbox} = require '../..'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
<KEY>
-----END PGP MESSAGE-----
"""
key = """
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools... | 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
-----END PGP MESSAGE-----
"""
key = """
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - htt... |
[
{
"context": " ## HEADING 2\n \n ### HEADING 3\n \n @startuml\n\n Alice -> Bobby: synchronous call\n Alice ->> Bobby: asy",
"end": 263,
"score": 0.9996596574783325,
"start": 258,
"tag": "NAME",
"value": "Alice"
},
{
"context": "NG 2\n \n ### HEADING 3\n \n @startuml\n\n Al... | spec/fixtures/notes/example_note.cson | apmiller108/boostnote_to_org | 0 | createdAt: "2020-11-30T18:33:07.781Z"
updatedAt: "2021-02-19T16:19:59.940Z"
type: "MARKDOWN_NOTE"
folder: "fa82cb4c1f62f292f508"
title: "Test Cson"
tags: [
"tag1"
"tag2"
]
content: '''
# HEADING 1
## HEADING 2
### HEADING 3
@startuml
Alice -> Bobby: synchronous call
Alice ->> Bobby: asynchrono... | 141631 | createdAt: "2020-11-30T18:33:07.781Z"
updatedAt: "2021-02-19T16:19:59.940Z"
type: "MARKDOWN_NOTE"
folder: "fa82cb4c1f62f292f508"
title: "Test Cson"
tags: [
"tag1"
"tag2"
]
content: '''
# HEADING 1
## HEADING 2
### HEADING 3
@startuml
<NAME> -> <NAME>: synchronous call
<NAME> ->> <NAME>: asynch... | true | createdAt: "2020-11-30T18:33:07.781Z"
updatedAt: "2021-02-19T16:19:59.940Z"
type: "MARKDOWN_NOTE"
folder: "fa82cb4c1f62f292f508"
title: "Test Cson"
tags: [
"tag1"
"tag2"
]
content: '''
# HEADING 1
## HEADING 2
### HEADING 3
@startuml
PI:NAME:<NAME>END_PI -> PI:NAME:<NAME>END_PI: synchronous call... |
[
{
"context": " ruby.\n#\n# Notes:\n# These rules were provided by Sandy Metz in the Ruby Rouges podcast:\n# http://rubyrogues",
"end": 206,
"score": 0.9921289086341858,
"start": 196,
"tag": "NAME",
"value": "Sandy Metz"
}
] | src/scripts/ruby_rules.coffee | turnitin/hubot-scripts | 2 | # Description:
# Make sure that hubot shares the ruby rules.
#
# Commands:
# hubot the ruby rules - Make hubot explain how to write practical ruby.
#
# Notes:
# These rules were provided by Sandy Metz in the Ruby Rouges podcast:
# http://rubyrogues.com/087-rr-book-clubpractical-object-oriented-design-in-ruby-wi... | 86524 | # Description:
# Make sure that hubot shares the ruby rules.
#
# Commands:
# hubot the ruby rules - Make hubot explain how to write practical ruby.
#
# Notes:
# These rules were provided by <NAME> in the Ruby Rouges podcast:
# http://rubyrogues.com/087-rr-book-clubpractical-object-oriented-design-in-ruby-with-s... | true | # Description:
# Make sure that hubot shares the ruby rules.
#
# Commands:
# hubot the ruby rules - Make hubot explain how to write practical ruby.
#
# Notes:
# These rules were provided by PI:NAME:<NAME>END_PI in the Ruby Rouges podcast:
# http://rubyrogues.com/087-rr-book-clubpractical-object-oriented-design-... |
[
{
"context": "###*\n * mcore-weui demo\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{App} = requ",
"end": 41,
"score": 0.9995605945587158,
"start": 35,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n * mcore-weui demo\n * @author vfasky <vfasky@gmail.com>\... | example/src/index.coffee | vfasky/mcore-weui | 0 | ###*
* mcore-weui demo
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{App} = require 'mcoreapp'
$ = require 'jquery'
weui = require 'mcore-weui'
app = new App $('body')
app.route '/button', require './button'
.route '/cells-radio', require './cellsRadio'
.route '/cells-checkbox', require './cellsCheck... | 169040 | ###*
* mcore-weui demo
* @author vfasky <<EMAIL>>
###
'use strict'
{App} = require 'mcoreapp'
$ = require 'jquery'
weui = require 'mcore-weui'
app = new App $('body')
app.route '/button', require './button'
.route '/cells-radio', require './cellsRadio'
.route '/cells-checkbox', require './cellsCheckbox'
.... | true | ###*
* mcore-weui demo
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{App} = require 'mcoreapp'
$ = require 'jquery'
weui = require 'mcore-weui'
app = new App $('body')
app.route '/button', require './button'
.route '/cells-radio', require './cellsRadio'
.route '/cells-checkbox', require './cell... |
[
{
"context": "nel = (id = 1)->\n channel:\n id: id\n name: \"Test\"\n description: \"Lorem Ipsum\"\n permalink: \"3",
"end": 121,
"score": 0.8838431239128113,
"start": 117,
"tag": "NAME",
"value": "Test"
}
] | spec/javascripts/fixtures/channels.coffee | FromUte/dune-dashboard | 0 | window.FIXTURES = {} if window.FIXTURES is undefined
FIXTURES.channel = (id = 1)->
channel:
id: id
name: "Test"
description: "Lorem Ipsum"
permalink: "3-test-page"
created_at: "2014-07-15T06:35:03.389-05:00"
updated_at: "2014-07-15T06:35:03.389-05:00"
image:
image:
url: null... | 42705 | window.FIXTURES = {} if window.FIXTURES is undefined
FIXTURES.channel = (id = 1)->
channel:
id: id
name: "<NAME>"
description: "Lorem Ipsum"
permalink: "3-test-page"
created_at: "2014-07-15T06:35:03.389-05:00"
updated_at: "2014-07-15T06:35:03.389-05:00"
image:
image:
url: nu... | true | window.FIXTURES = {} if window.FIXTURES is undefined
FIXTURES.channel = (id = 1)->
channel:
id: id
name: "PI:NAME:<NAME>END_PI"
description: "Lorem Ipsum"
permalink: "3-test-page"
created_at: "2014-07-15T06:35:03.389-05:00"
updated_at: "2014-07-15T06:35:03.389-05:00"
image:
image:
... |
[
{
"context": "e \"response transformation\", ->\n jim = {name: \"Jim\"}\n arch_enemy = {name: \"Arch Enemy\"}\n\n # Mo",
"end": 438,
"score": 0.999770998954773,
"start": 435,
"tag": "NAME",
"value": "Jim"
},
{
"context": " [\n jim\n arch_enemy\n {name: \... | test/unit/config_spec.coffee | killercup/angular-epicmodel | 0 | describe "Config", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = null
beforeEach inject (_Collection_) ->
Collection = _Collection_
it "can set specific URL", ->
customUrl = "/api/v2/stuff"
Things = Collection.new "Things", url: custom... | 216515 | describe "Config", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = null
beforeEach inject (_Collection_) ->
Collection = _Collection_
it "can set specific URL", ->
customUrl = "/api/v2/stuff"
Things = Collection.new "Things", url: custom... | true | describe "Config", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = null
beforeEach inject (_Collection_) ->
Collection = _Collection_
it "can set specific URL", ->
customUrl = "/api/v2/stuff"
Things = Collection.new "Things", url: custom... |
[
{
"context": "###\nCopyright 2018 Balena\n\nLicensed under the Apache License, Version 2.",
"end": 22,
"score": 0.9099925756454468,
"start": 19,
"tag": "NAME",
"value": "Bal"
}
] | lib/models/service.coffee | josecoelho/balena-sdk | 0 | ###
Copyright 2018 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribut... | 162764 | ###
Copyright 2018 <NAME>ena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | true | ###
Copyright 2018 PI:NAME:<NAME>END_PIena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... |
[
{
"context": "Util.Oauth(\n key: 'mock00key', secret: 'mock00secret', token: 'mock00token')\n\n describe 'with a GET',",
"end": 130,
"score": 0.610977053642273,
"start": 123,
"tag": "KEY",
"value": "0secret"
},
{
"context": "key: 'mock00key', secret: 'mock00secret', token: 'moc... | test/src/fast/util/xhr_test.coffee | fatihacet/dropbox-js | 1 | describe 'Dropbox.Util.Xhr', ->
beforeEach ->
@oauth = new Dropbox.Util.Oauth(
key: 'mock00key', secret: 'mock00secret', token: 'mock00token')
describe 'with a GET', ->
beforeEach ->
@xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url'
it 'initializes correctly', ->
expect(@xhr.i... | 210926 | describe 'Dropbox.Util.Xhr', ->
beforeEach ->
@oauth = new Dropbox.Util.Oauth(
key: 'mock00key', secret: 'mock0<KEY>', token: '<PASSWORD>')
describe 'with a GET', ->
beforeEach ->
@xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url'
it 'initializes correctly', ->
expect(@xhr.isGe... | true | describe 'Dropbox.Util.Xhr', ->
beforeEach ->
@oauth = new Dropbox.Util.Oauth(
key: 'mock00key', secret: 'mock0PI:KEY:<KEY>END_PI', token: 'PI:PASSWORD:<PASSWORD>END_PI')
describe 'with a GET', ->
beforeEach ->
@xhr = new Dropbox.Util.Xhr 'GET', 'https://request.url'
it 'initializes correc... |
[
{
"context": " type : \"POST\"\n url : \"http://188.166.53.183:1337/mail\"\n data : data\n dataT",
"end": 1467,
"score": 0.9994964003562927,
"start": 1453,
"tag": "IP_ADDRESS",
"value": "188.166.53.183"
}
] | source/app.coffee | zetapath/site | 0 | "use strict"
$ ->
window.zpath =
document : $ document
height : window.innerHeight or document.documentElement.offsetHeight
width : window.innerWidth or document.documentElement.offsetWidth
aside : $ "aside"
header : $ "header"
landing : $ "#intro"
... | 170371 | "use strict"
$ ->
window.zpath =
document : $ document
height : window.innerHeight or document.documentElement.offsetHeight
width : window.innerWidth or document.documentElement.offsetWidth
aside : $ "aside"
header : $ "header"
landing : $ "#intro"
... | true | "use strict"
$ ->
window.zpath =
document : $ document
height : window.innerHeight or document.documentElement.offsetHeight
width : window.innerWidth or document.documentElement.offsetWidth
aside : $ "aside"
header : $ "header"
landing : $ "#intro"
... |
[
{
"context": "rties', ->\n john = new Serenade.Model(name: 'John', age: 23)\n expect(john.age).to.eql(23)\n ",
"end": 167,
"score": 0.9996874332427979,
"start": 163,
"tag": "NAME",
"value": "John"
},
{
"context": "n.age).to.eql(23)\n expect(john.name).to.eql('John')... | test/model.spec.coffee | varvet/serenade.js | 5 | require './spec_helper'
describe 'Serenade.Model', ->
describe '#constructor', ->
it 'sets the given properties', ->
john = new Serenade.Model(name: 'John', age: 23)
expect(john.age).to.eql(23)
expect(john.name).to.eql('John')
it 'enumerates over only those properties', ->
john = new... | 17140 | require './spec_helper'
describe 'Serenade.Model', ->
describe '#constructor', ->
it 'sets the given properties', ->
john = new Serenade.Model(name: '<NAME>', age: 23)
expect(john.age).to.eql(23)
expect(john.name).to.eql('<NAME>')
it 'enumerates over only those properties', ->
john =... | true | require './spec_helper'
describe 'Serenade.Model', ->
describe '#constructor', ->
it 'sets the given properties', ->
john = new Serenade.Model(name: 'PI:NAME:<NAME>END_PI', age: 23)
expect(john.age).to.eql(23)
expect(john.name).to.eql('PI:NAME:<NAME>END_PI')
it 'enumerates over only those ... |
[
{
"context": "я ошибка сервера. Сообщите разработчикам по адресу kalinon7@gmail.com.'\n\t\t\treq.user = user\n\t\t\tnext()\n\n\nexports.hasAutho",
"end": 925,
"score": 0.9999216198921204,
"start": 907,
"tag": "EMAIL",
"value": "kalinon7@gmail.com"
}
] | app/controllers/users/users.authorization.server.controller.coffee | amIwho/words | 0 | 'use strict'
_ = require('lodash')
mongoose = require('mongoose')
User = mongoose.model('User')
exports.userByID = (req, res, next, id) ->
User.findOne(_id: id).exec (err, user) ->
if err
return next(err)
if !user
return next(new Error('Failed to load User ' + id))
req.profile = user
next()
return
re... | 164654 | 'use strict'
_ = require('lodash')
mongoose = require('mongoose')
User = mongoose.model('User')
exports.userByID = (req, res, next, id) ->
User.findOne(_id: id).exec (err, user) ->
if err
return next(err)
if !user
return next(new Error('Failed to load User ' + id))
req.profile = user
next()
return
re... | true | 'use strict'
_ = require('lodash')
mongoose = require('mongoose')
User = mongoose.model('User')
exports.userByID = (req, res, next, id) ->
User.findOne(_id: id).exec (err, user) ->
if err
return next(err)
if !user
return next(new Error('Failed to load User ' + id))
req.profile = user
next()
return
re... |
[
{
"context": "ommon.ViewportTarget\n Common.Name.merge(name: 'Samus')\n Common.Motion\n S.Suit\n Common.Positio",
"end": 268,
"score": 0.9927591681480408,
"start": 263,
"tag": "NAME",
"value": "Samus"
}
] | src/javascript/game/entity/samus/factory.coffee | dcrosby42/metroid-clone | 5 | Immutable = require 'immutable'
S = require('./components')
Common = require('../components')
F = {}
F.samus = (args) ->
pos = args.position || {x:50,y:50}
[
S.Samus
S.Weapons
S.ShortBeam
Common.ViewportTarget
Common.Name.merge(name: 'Samus')
Common.Motion
S.Suit
Common.Position.... | 151124 | Immutable = require 'immutable'
S = require('./components')
Common = require('../components')
F = {}
F.samus = (args) ->
pos = args.position || {x:50,y:50}
[
S.Samus
S.Weapons
S.ShortBeam
Common.ViewportTarget
Common.Name.merge(name: '<NAME>')
Common.Motion
S.Suit
Common.Position... | true | Immutable = require 'immutable'
S = require('./components')
Common = require('../components')
F = {}
F.samus = (args) ->
pos = args.position || {x:50,y:50}
[
S.Samus
S.Weapons
S.ShortBeam
Common.ViewportTarget
Common.Name.merge(name: 'PI:NAME:<NAME>END_PI')
Common.Motion
S.Suit
C... |
[
{
"context": "ice(1).should.eql ['2014', undefined, undefined, 'jones']\n\n it 'can try to match a path to a path expr",
"end": 1808,
"score": 0.870919942855835,
"start": 1803,
"tag": "NAME",
"value": "jones"
},
{
"context": "'\n day: undefined\n author: 'jon... | test/index.coffee | debrouwere/simple-path-expressions | 0 | simplex = require '../src'
should = require 'should'
describe 'simple path expressions', ->
it 'can select from multiple kinds of placeholders', ->
placeholders = simplex.placeholders.get()
placeholders.length.should.equal 5
placeholders = simplex.placeholders.get 'ruby'
placeholder... | 66790 | simplex = require '../src'
should = require 'should'
describe 'simple path expressions', ->
it 'can select from multiple kinds of placeholders', ->
placeholders = simplex.placeholders.get()
placeholders.length.should.equal 5
placeholders = simplex.placeholders.get 'ruby'
placeholder... | true | simplex = require '../src'
should = require 'should'
describe 'simple path expressions', ->
it 'can select from multiple kinds of placeholders', ->
placeholders = simplex.placeholders.get()
placeholders.length.should.equal 5
placeholders = simplex.placeholders.get 'ruby'
placeholder... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.6058249473571777,
"start": 20,
"tag": "NAME",
"value": "Pty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Pu... | resources/assets/coffee/_classes/blackout.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Blackout
@el: document.getElementsByClassName 'js-blackout'
@hide: =>
@toggle false
@show: =>
@toggle true
@toggle: ... | 205095 | # Copyright (c) ppy <NAME> <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Blackout
@el: document.getElementsByClassName 'js-blackout'
@hide: =>
@toggle false
@show: =>
@toggle true
@toggle: (state, ... | true | # Copyright (c) ppy PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Blackout
@el: document.getElementsByClassName 'js-blackout'
@hide: =>
@toggle false
@show: =>
@togg... |
[
{
"context": "/view/#{@user_id}\" else \"\"\n data =\n \"user_id\": @user_id\n \"name\": @name\n \"surname\": @surname\n \"em",
"end": 380,
"score": 0.8234143257141113,
"start": 372,
"tag": "USERNAME",
"value": "@user_id"
},
{
"context": "se \"\"\n data =\n \"user_id... | models/contact_us.coffee | doomhz/daycare_social_platform | 3 | ContactUsSchema = new Schema
user_id:
type: String
email:
type: String
name:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
ContactUsSchema.methods.send = (options)->
siteUrl = "http://#{options.host}"
profileUrl = if @user_id then "#{siteUrl}/#profile... | 124287 | ContactUsSchema = new Schema
user_id:
type: String
email:
type: String
name:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
ContactUsSchema.methods.send = (options)->
siteUrl = "http://#{options.host}"
profileUrl = if @user_id then "#{siteUrl}/#profile... | true | ContactUsSchema = new Schema
user_id:
type: String
email:
type: String
name:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
ContactUsSchema.methods.send = (options)->
siteUrl = "http://#{options.host}"
profileUrl = if @user_id then "#{siteUrl}/#profile... |
[
{
"context": " = false # flies over obstacles\n @name = \"Grenade\"\n @gpos = new me.Vector2d(@pos.x, @pos.y)\n",
"end": 761,
"score": 0.9989326596260071,
"start": 754,
"tag": "NAME",
"value": "Grenade"
}
] | src/weapons/grenade.coffee | commandojs/CommandoJS | 41 | GRENADE_TYPE_NORMAL = 1
GRENADE_TYPE_LAUNCHER = 2
Grenade = Ammunition.extend(
grenade_type: null
gpos: null # Ground position
animations:
fly1:
Default: [122, 121, 120, 121, 122]
fly2:
Default: [125, 124, 123, 124, 125]
land:
Default: [126, 1... | 217813 | GRENADE_TYPE_NORMAL = 1
GRENADE_TYPE_LAUNCHER = 2
Grenade = Ammunition.extend(
grenade_type: null
gpos: null # Ground position
animations:
fly1:
Default: [122, 121, 120, 121, 122]
fly2:
Default: [125, 124, 123, 124, 125]
land:
Default: [126, 1... | true | GRENADE_TYPE_NORMAL = 1
GRENADE_TYPE_LAUNCHER = 2
Grenade = Ammunition.extend(
grenade_type: null
gpos: null # Ground position
animations:
fly1:
Default: [122, 121, 120, 121, 122]
fly2:
Default: [125, 124, 123, 124, 125]
land:
Default: [126, 1... |
[
{
"context": "krap }}\", ->\n render(\"{{user | krap}}\", {user:'Bob'}).should.equal 'Bob'\n\n it \"{{ string | size }}\"",
"end": 103,
"score": 0.9825416207313538,
"start": 100,
"tag": "NAME",
"value": "Bob"
},
{
"context": "er(\"{{user | krap}}\", {user:'Bob'}).should.equal 'Bo... | node_modules/liquid.coffee/test/lib/liquid/filter_test.coffee | darkoverlordofdata/shmupwarz-ooc | 1 | describe "Liquid filters ", ->
it "{{ string | krap }}", ->
render("{{user | krap}}", {user:'Bob'}).should.equal 'Bob'
it "{{ string | size }}", ->
render("{{user | size}}", {user:'Bob'}).should.equal '3'
render("{{user|size}}", {user:'Bob'}).should.equal '3'
render("{{ user | size }}", {user:'Bob... | 88516 | describe "Liquid filters ", ->
it "{{ string | krap }}", ->
render("{{user | krap}}", {user:'<NAME>'}).should.equal '<NAME>'
it "{{ string | size }}", ->
render("{{user | size}}", {user:'<NAME>'}).should.equal '3'
render("{{user|size}}", {user:'<NAME>'}).should.equal '3'
render("{{ user | size }}"... | true | describe "Liquid filters ", ->
it "{{ string | krap }}", ->
render("{{user | krap}}", {user:'PI:NAME:<NAME>END_PI'}).should.equal 'PI:NAME:<NAME>END_PI'
it "{{ string | size }}", ->
render("{{user | size}}", {user:'PI:NAME:<NAME>END_PI'}).should.equal '3'
render("{{user|size}}", {user:'PI:NAME:<NAME>E... |
[
{
"context": " 'or' :\n [\n 'name' : 'demographics'\n 'and' :\n [\n",
"end": 188,
"score": 0.7685022950172424,
"start": 184,
"tag": "NAME",
"value": "demo"
},
{
"context": " 'or' :\n [\n 'name' : 'dem... | spec/coffeescripts/specs/query_structure_spec.js.coffee | drusk/query-composer | 1 | describe "Generated Query Structure", ->
patient = { 'foo' : -> return 9000 }
json =
'find' :
'and' :
[
'or' :
[
'name' : 'demographics'
'and' :
[
'category' : 'demographics'
'title' : 'age'
... | 215404 | describe "Generated Query Structure", ->
patient = { 'foo' : -> return 9000 }
json =
'find' :
'and' :
[
'or' :
[
'name' : '<NAME>graphics'
'and' :
[
'category' : 'demographics'
'title' : 'age'
... | true | describe "Generated Query Structure", ->
patient = { 'foo' : -> return 9000 }
json =
'find' :
'and' :
[
'or' :
[
'name' : 'PI:NAME:<NAME>END_PIgraphics'
'and' :
[
'category' : 'demographics'
't... |
[
{
"context": "PATH = \"https://api.todoist.com/API/\"\nAPITOKEN = \"8fba3459957cb5b4492c53296efb7f4ec6d3ac43\"\nAPITAIL = \"?token=#{APITOKEN}\"\n\ntodoist = (req) ",
"end": 122,
"score": 0.9884361624717712,
"start": 82,
"tag": "KEY",
"value": "8fba3459957cb5b4492c53296efb7f4ec6d3ac43"
},
... | routes/todoist.coffee | pcruise/peoply-slackbot | 0 | request = require("request")
APIPATH = "https://api.todoist.com/API/"
APITOKEN = "8fba3459957cb5b4492c53296efb7f4ec6d3ac43"
APITAIL = "?token=#{APITOKEN}"
todoist = (req) ->
text_token = []
if(req.body.text.indexOf(" ") == -1)
# nothing to do
else
text = req.body.text
text_token = req.body.text.spli... | 211027 | request = require("request")
APIPATH = "https://api.todoist.com/API/"
APITOKEN = "<KEY>"
APITAIL = "?token=#{AP<PASSWORD>}"
todoist = (req) ->
text_token = []
if(req.body.text.indexOf(" ") == -1)
# nothing to do
else
text = req.body.text
text_token = req.body.text.split(" ")
if text_token[1] == ... | true | request = require("request")
APIPATH = "https://api.todoist.com/API/"
APITOKEN = "PI:KEY:<KEY>END_PI"
APITAIL = "?token=#{APPI:PASSWORD:<PASSWORD>END_PI}"
todoist = (req) ->
text_token = []
if(req.body.text.indexOf(" ") == -1)
# nothing to do
else
text = req.body.text
text_token = req.body.text.spli... |
[
{
"context": "ict'\n machine =\n type: 'bulldozer'\n name: 'willy'\n res.status(200).json [machine]\n\napp.use (err, ",
"end": 671,
"score": 0.9900074005126953,
"start": 666,
"tag": "NAME",
"value": "willy"
}
] | test/stub/server.coffee | plroebuck/abao | 380 | ###*
# @file Express server stub
#
# Start:
# $ ../../node_modules/coffee-script/bin/coffee server.coffee
###
require 'coffee-script/register'
express = require 'express'
app = express()
app.set 'port', process.env.PORT || 3333
app.options '/machines', (req, res) ->
'use strict'
allow = ['OPTIONS', 'HEAD', 'GET... | 213453 | ###*
# @file Express server stub
#
# Start:
# $ ../../node_modules/coffee-script/bin/coffee server.coffee
###
require 'coffee-script/register'
express = require 'express'
app = express()
app.set 'port', process.env.PORT || 3333
app.options '/machines', (req, res) ->
'use strict'
allow = ['OPTIONS', 'HEAD', 'GET... | true | ###*
# @file Express server stub
#
# Start:
# $ ../../node_modules/coffee-script/bin/coffee server.coffee
###
require 'coffee-script/register'
express = require 'express'
app = express()
app.set 'port', process.env.PORT || 3333
app.options '/machines', (req, res) ->
'use strict'
allow = ['OPTIONS', 'HEAD', 'GET... |
[
{
"context": "on state and reveal content.\n# https://github.com/alextaujenis/jquery-nav-menu\n# Copyright 2015 Alex Taujenis\n# ",
"end": 118,
"score": 0.9996305108070374,
"start": 106,
"tag": "USERNAME",
"value": "alextaujenis"
},
{
"context": ".com/alextaujenis/jquery-nav-menu\n# ... | src/jquery-nav-menu.coffee | alextaujenis/jquery-nav-menu | 0 | # jQuery Nav Menu Plugin v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 Alex Taujenis
# MIT License
(($) ->
$.fn.navMenu = (opts)->
class NavMenu
constructor: (w, opts)->
# memoize the window
@window = w
... | 156319 | # jQuery Nav Menu Plugin v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 <NAME>
# MIT License
(($) ->
$.fn.navMenu = (opts)->
class NavMenu
constructor: (w, opts)->
# memoize the window
@window = w
# find... | true | # jQuery Nav Menu Plugin v1.0.0-alpha.1 - Track navigation state and reveal content.
# https://github.com/alextaujenis/jquery-nav-menu
# Copyright 2015 PI:NAME:<NAME>END_PI
# MIT License
(($) ->
$.fn.navMenu = (opts)->
class NavMenu
constructor: (w, opts)->
# memoize the window
@window = w
... |
[
{
"context": "data-on-submit=\"MyLib.onSubmit\" type=\"text\" name=\"testName\" value=\"testValue\" />\n <input id=\"submit\" ",
"end": 331,
"score": 0.7148557901382446,
"start": 323,
"tag": "NAME",
"value": "testName"
}
] | test/submit.coffee | andrewchilds/fastbinder | 6 | target = null
beforeEach ->
target = null
describe 'Submit Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onSubmit').and.callFake ->
target = @
false
fixture """
<form id="parent" data-on-submit="MyLib.onSubmit">
<input id="test" data-on-submit="MyLib.onSubmit" type="text" nam... | 191563 | target = null
beforeEach ->
target = null
describe 'Submit Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onSubmit').and.callFake ->
target = @
false
fixture """
<form id="parent" data-on-submit="MyLib.onSubmit">
<input id="test" data-on-submit="MyLib.onSubmit" type="text" nam... | true | target = null
beforeEach ->
target = null
describe 'Submit Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onSubmit').and.callFake ->
target = @
false
fixture """
<form id="parent" data-on-submit="MyLib.onSubmit">
<input id="test" data-on-submit="MyLib.onSubmit" type="text" nam... |
[
{
"context": "\"jquery\"], ($)->\n\n AddressService =\n AF_KEY: \"d1707a90-fd84-012c-d9c3-00e08121877f\"\n\n class AddressService.ClosestAddress\n insta",
"end": 94,
"score": 0.9997424483299255,
"start": 58,
"tag": "KEY",
"value": "d1707a90-fd84-012c-d9c3-00e08121877f"
}
] | source/js/lib/address_services.js.coffee | AbleTech/walk_and_cycle_web | 0 | define ["jquery"], ($)->
AddressService =
AF_KEY: "d1707a90-fd84-012c-d9c3-00e08121877f"
class AddressService.ClosestAddress
instance = null
@find: (lat, lng, callback)->
new PrivateClass(lat, lng, callback)
class PrivateClass
constructor: (@lat, @lng, @callback)->
query_opti... | 145864 | define ["jquery"], ($)->
AddressService =
AF_KEY: "<KEY>"
class AddressService.ClosestAddress
instance = null
@find: (lat, lng, callback)->
new PrivateClass(lat, lng, callback)
class PrivateClass
constructor: (@lat, @lng, @callback)->
query_options =
match_type: "ad... | true | define ["jquery"], ($)->
AddressService =
AF_KEY: "PI:KEY:<KEY>END_PI"
class AddressService.ClosestAddress
instance = null
@find: (lat, lng, callback)->
new PrivateClass(lat, lng, callback)
class PrivateClass
constructor: (@lat, @lng, @callback)->
query_options =
ma... |
[
{
"context": "login =\n username: 'user'\n password: 'pass'\n\nmodule.exports = login\n",
"end": 25,
"score": 0.9606343507766724,
"start": 21,
"tag": "USERNAME",
"value": "user"
},
{
"context": "login =\n username: 'user'\n password: 'pass'\n\nmodule.exports = login\n",
"end"... | halite/test/spec-e2e/credentials.coffee | CARFAX/halite | 212 | login =
username: 'user'
password: 'pass'
module.exports = login
| 60169 | login =
username: 'user'
password: '<PASSWORD>'
module.exports = login
| true | login =
username: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
module.exports = login
|
[
{
"context": "ew Artist fabricate('artist', id: 'bitty', name: 'Bitty Z')\n showAuctionLink: true\n\n it 'renders the ",
"end": 666,
"score": 0.9987241625785828,
"start": 659,
"tag": "NAME",
"value": "Bitty Z"
},
{
"context": " hometown: 'Heaven', years: '1995 - 2014', name: 'B... | apps/artist/test/templates.coffee | xtina-starr/microgravity | 0 | jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artist = require '../../../models/artist'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
... | 150136 | jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artist = require '../../../models/artist'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
... | true | jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artist = require '../../../models/artist'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
... |
[
{
"context": "#Language: Croatian\n#Translators: tnedich\n\nhr =\n\n add: \"dodaj\"\n and: \"i\"\n back: \"nazad\"\n",
"end": 41,
"score": 0.986467182636261,
"start": 34,
"tag": "USERNAME",
"value": "tnedich"
},
{
"context": "aj\"\n and: \"i\"\n back: \"nazad\"\n changePassword... | t9n/hr.coffee | coWorkr-InSights/meteor-accounts-t9n | 80 | #Language: Croatian
#Translators: tnedich
hr =
add: "dodaj"
and: "i"
back: "nazad"
changePassword: "Promjeni zaporku"
choosePassword: "Izaberi zaporku"
clickAgree: "Klikom na Registracija, prihvatate naše"
configure: "Podesi"
createAccount: "Napravite račun"
currentPassword: "Trenutna zaporka"
don... | 153669 | #Language: Croatian
#Translators: tnedich
hr =
add: "dodaj"
and: "i"
back: "nazad"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Klikom na Registracija, prihvatate naše"
configure: "Podesi"
createAccount: "Napravite račun"
currentPassword: "<PASSWORD>"
dontHaveAnAccount: "... | true | #Language: Croatian
#Translators: tnedich
hr =
add: "dodaj"
and: "i"
back: "nazad"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Klikom na Registracija, prihvatate naše"
configure: "Podesi"
createAccount: "Napravite račun"
currentPassword:... |
[
{
"context": "tion for Backbone.Marionette\n#\n# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC\n# Distributed Under MIT Lic",
"end": 108,
"score": 0.9998250007629395,
"start": 95,
"tag": "NAME",
"value": "Derick Bailey"
},
{
"context": "nd Full License Available at:\n# http:/... | client/contacts/app.coffee | zhangcheng/bbclonemail-meteor | 1 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
... | 55431 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 <NAME>, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
# Conta... | true | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 PI:NAME:<NAME>END_PI, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.mario... |
[
{
"context": "# Copyright [2012] [Farruco Sanjurjo Arcay]\n#\n# Licensed under the Apache License, Version",
"end": 42,
"score": 0.9998887777328491,
"start": 20,
"tag": "NAME",
"value": "Farruco Sanjurjo Arcay"
}
] | lib/frundis.coffee | madtrick/frundis | 0 | # Copyright [2012] [Farruco Sanjurjo Arcay]
#
# 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 ... | 139326 | # Copyright [2012] [<NAME>]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | true | # Copyright [2012] [PI:NAME:<NAME>END_PI]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... |
[
{
"context": "a.forEach (series,i)->\n series.key ?= \"series#{i}\"\n series.label ?= \"Series ##{i}\"\n ",
"end": 7878,
"score": 0.5035603642463684,
"start": 7872,
"tag": "KEY",
"value": "series"
},
{
"context": " ###\n series._uniqueKey = \"#{series... | src/utils.coffee | robinfhu/forest-d3 | 58 | @ForestD3.Utils = do ->
colors20 = d3.scale.category20().range()
setProperties: (chart, target, chartProperties)->
for propPair in chartProperties
[prop, defaultVal] = propPair
target[prop] = defaultVal
chart[prop] = do (prop)->
(d)->
... | 225148 | @ForestD3.Utils = do ->
colors20 = d3.scale.category20().range()
setProperties: (chart, target, chartProperties)->
for propPair in chartProperties
[prop, defaultVal] = propPair
target[prop] = defaultVal
chart[prop] = do (prop)->
(d)->
... | true | @ForestD3.Utils = do ->
colors20 = d3.scale.category20().range()
setProperties: (chart, target, chartProperties)->
for propPair in chartProperties
[prop, defaultVal] = propPair
target[prop] = defaultVal
chart[prop] = do (prop)->
(d)->
... |
[
{
"context": " The script requires ImageMagick.\n#\n# Author:\n# 178inaba <178inaba@users.noreply.github.com>\n\nfs = require",
"end": 256,
"score": 0.9996986389160156,
"start": 248,
"tag": "USERNAME",
"value": "178inaba"
},
{
"context": "t requires ImageMagick.\n#\n# Author:\n# ... | src/amesh.coffee | 178inaba/hubot-amesh | 0 | # Description
# A hubot script that does the things
#
# Configuration:
# HUBOT_AMESH_IMGUR_CLIENT_ID - Your imgur client id.
#
# Commands:
# hubot amesh - Send amesh image Link.
#
# Notes:
# The script requires ImageMagick.
#
# Author:
# 178inaba <178inaba@users.noreply.github.com>
fs = require 'fs'
os = req... | 109985 | # Description
# A hubot script that does the things
#
# Configuration:
# HUBOT_AMESH_IMGUR_CLIENT_ID - Your imgur client id.
#
# Commands:
# hubot amesh - Send amesh image Link.
#
# Notes:
# The script requires ImageMagick.
#
# Author:
# 178inaba <<EMAIL>>
fs = require 'fs'
os = require 'os'
path = require '... | true | # Description
# A hubot script that does the things
#
# Configuration:
# HUBOT_AMESH_IMGUR_CLIENT_ID - Your imgur client id.
#
# Commands:
# hubot amesh - Send amesh image Link.
#
# Notes:
# The script requires ImageMagick.
#
# Author:
# 178inaba <PI:EMAIL:<EMAIL>END_PI>
fs = require 'fs'
os = require 'os'
p... |
[
{
"context": " @db[key]\n\n create: (request) ->\n key = randomString().slice 0, 8\n @db[key] = merge request.data, id",
"end": 1050,
"score": 0.8521427512168884,
"start": 1035,
"tag": "KEY",
"value": "randomString()."
}
] | test/tests/Art.EryExtensions.Pusher/Pipelines/SimpleStore.coffee | imikimi/art-ery-pusher | 0 | {object, defineModule, log, array, randomString, merge} = require 'art-foundation'
{PusherPipelineMixin} = require 'art-ery-pusher'
{Pipeline, KeyFieldsMixin} = require 'art-ery'
defineModule module, class SimpleStore extends PusherPipelineMixin KeyFieldsMixin Pipeline
@remoteServer "http://localhost:8085"
@publi... | 107678 | {object, defineModule, log, array, randomString, merge} = require 'art-foundation'
{PusherPipelineMixin} = require 'art-ery-pusher'
{Pipeline, KeyFieldsMixin} = require 'art-ery'
defineModule module, class SimpleStore extends PusherPipelineMixin KeyFieldsMixin Pipeline
@remoteServer "http://localhost:8085"
@publi... | true | {object, defineModule, log, array, randomString, merge} = require 'art-foundation'
{PusherPipelineMixin} = require 'art-ery-pusher'
{Pipeline, KeyFieldsMixin} = require 'art-ery'
defineModule module, class SimpleStore extends PusherPipelineMixin KeyFieldsMixin Pipeline
@remoteServer "http://localhost:8085"
@publi... |
[
{
"context": "............................................\n ### Domenic Denicola Device, see https://stackoverflow.com/a/30560581 ",
"end": 2636,
"score": 0.9953668117523193,
"start": 2620,
"tag": "NAME",
"value": "Domenic Denicola"
},
{
"context": ":toString.call x ).slice 8, -1 )... | src/declaring.coffee | loveencounterflow/intertype | 0 |
'use strict'
############################################################################################################
{ assign
jr
rpr
xrpr
js_type_of } = require './helpers'
isa_copy = Symbol 'isa_copy'
constructor_of_generators = ( ( -> yield 42 )() ).constructor
#-----------... | 133369 |
'use strict'
############################################################################################################
{ assign
jr
rpr
xrpr
js_type_of } = require './helpers'
isa_copy = Symbol 'isa_copy'
constructor_of_generators = ( ( -> yield 42 )() ).constructor
#-----------... | true |
'use strict'
############################################################################################################
{ assign
jr
rpr
xrpr
js_type_of } = require './helpers'
isa_copy = Symbol 'isa_copy'
constructor_of_generators = ( ( -> yield 42 )() ).constructor
#-----------... |
[
{
"context": "/neocotic.com/UndoWikipediaBlackout) \r\n# (c) 2012 Alasdair Mercer \r\n# Freely distributable under the MIT license. ",
"end": 100,
"score": 0.9998788237571716,
"start": 85,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/lib/background.coffee | neocotic/UndoWikipediaBlackout | 1 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 Alasdair Mercer
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Private constants
# -----------------
# Date ranges for known blackouts ... | 6622 | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 <NAME>
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Private constants
# -----------------
# Date ranges for known blackouts on Wikipe... | true | # [Undo Wikipedia Blackout](http://neocotic.com/UndoWikipediaBlackout)
# (c) 2012 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/UndoWikipediaBlackout>
# Private constants
# -----------------
# Date ranges for known black... |
[
{
"context": " email: smartnoraConfig.email\n password: smartnoraConfig.password\n group: smartnoraConfig.group\n vali",
"end": 923,
"score": 0.9991773962974548,
"start": 899,
"tag": "PASSWORD",
"value": "smartnoraConfig.password"
}
] | adapters/button.coffee | bertreb/pimatic-smartnora | 0 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
device_context = require("../node... | 196205 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
device_context = require("../node... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
device_context = require("../node... |
[
{
"context": "://joshaven.com/string_score\n# https://github.com/joshaven/string_score\n#\n# Copyright (C) 2009-2011 Joshaven",
"end": 143,
"score": 0.9986520409584045,
"start": 135,
"tag": "USERNAME",
"value": "joshaven"
},
{
"context": "/joshaven/string_score\n#\n# Copyright (C) 20... | src/scorer.coffee | atom/fuzzaldrin | 315 | # Original ported from:
#
# string_score.js: String Scoring Algorithm 0.1.10
#
# http://joshaven.com/string_score
# https://github.com/joshaven/string_score
#
# Copyright (C) 2009-2011 Joshaven Potter <yourtech@gmail.com>
# Special thanks to all of the contributors listed here https://github.com/joshaven/string_score
#... | 93399 | # Original ported from:
#
# string_score.js: String Scoring Algorithm 0.1.10
#
# http://joshaven.com/string_score
# https://github.com/joshaven/string_score
#
# Copyright (C) 2009-2011 <NAME> <<EMAIL>>
# Special thanks to all of the contributors listed here https://github.com/joshaven/string_score
# MIT license: http:/... | true | # Original ported from:
#
# string_score.js: String Scoring Algorithm 0.1.10
#
# http://joshaven.com/string_score
# https://github.com/joshaven/string_score
#
# Copyright (C) 2009-2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Special thanks to all of the contributors listed here https://github.com/joshaven/strin... |
[
{
"context": " [\n {start: {c: 0,r:-1}, end: {c: 0,r:-1}, name:\"Brocolli\", color:\"#008000\"}\n {start: {c:-1,r:-1}, end: {c",
"end": 6718,
"score": 0.8873903155326843,
"start": 6710,
"tag": "NAME",
"value": "Brocolli"
},
{
"context": "\"}\n {start: {c:-3,r: 1}, end: {c:-3,r: 1}... | server/public/javascript/oursquarefeet.coffee | TheSoftwareGreenhouse/ourSquareFeet | 1 | config = {
top: 0
right: 3000
bottom: 2000
left: 0
noOfColumns: 23
noOfRows: 15
squareFootGap: 8
columnOffset:11
rowOffset: 7
}
le = LayoutEngine config
sf = new SquareFeet()
plants = new Plants()
Raphael.fn.straightLine = (left, top, width, height) ->
canvas = this
canvas.path("M#{left} #{top}... | 157461 | config = {
top: 0
right: 3000
bottom: 2000
left: 0
noOfColumns: 23
noOfRows: 15
squareFootGap: 8
columnOffset:11
rowOffset: 7
}
le = LayoutEngine config
sf = new SquareFeet()
plants = new Plants()
Raphael.fn.straightLine = (left, top, width, height) ->
canvas = this
canvas.path("M#{left} #{top}... | true | config = {
top: 0
right: 3000
bottom: 2000
left: 0
noOfColumns: 23
noOfRows: 15
squareFootGap: 8
columnOffset:11
rowOffset: 7
}
le = LayoutEngine config
sf = new SquareFeet()
plants = new Plants()
Raphael.fn.straightLine = (left, top, width, height) ->
canvas = this
canvas.path("M#{left} #{top}... |
[
{
"context": " * Kissmetrics JS\n * https://github.com/evansolomon/kissmetrics-js\n * Copyright (c) <%= grunt",
"end": 517,
"score": 0.7451268434524536,
"start": 506,
"tag": "USERNAME",
"value": "evansolomon"
},
{
"context": "(c) <%= grunt.template.today(\"yyyy\") %... | Gruntfile.coffee | evansolomon/kissmetrics-js | 1 | module.exports = ( grunt ) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-concat'
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.loadNpmTasks 'grunt-coffeelint'
grunt.loadNpmTasks 'grunt-exec'
grunt.loadNpmTasks 'grunt-casperjs'
... | 131601 | module.exports = ( grunt ) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-concat'
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.loadNpmTasks 'grunt-coffeelint'
grunt.loadNpmTasks 'grunt-exec'
grunt.loadNpmTasks 'grunt-casperjs'
... | true | module.exports = ( grunt ) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-concat'
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.loadNpmTasks 'grunt-coffeelint'
grunt.loadNpmTasks 'grunt-exec'
grunt.loadNpmTasks 'grunt-casperjs'
... |
[
{
"context": "HAT_USER so the bot can introduce itself using its @username\n# WELCOME_MESSAGE String, what the bot says to ",
"end": 201,
"score": 0.7710611820220947,
"start": 192,
"tag": "USERNAME",
"value": "@username"
},
{
"context": " who can set a new welcome message\n#\n# Aut... | node_modules/hubot-rocketchat-welcome/src/rocketchat-welcome.coffee | Warrior1119/hubot_welcome_members | 0 | # Description
# Hubot script to welcome new users to Rocket.Chat or a Rocket.Chat room (via a DM as default)
#
# Configuration:
# ROCKETCHAT_USER so the bot can introduce itself using its @username
# WELCOME_MESSAGE String, what the bot says to new users
# DIRECT_WELCOME Bool (default true), welcome users by di... | 90266 | # Description
# Hubot script to welcome new users to Rocket.Chat or a Rocket.Chat room (via a DM as default)
#
# Configuration:
# ROCKETCHAT_USER so the bot can introduce itself using its @username
# WELCOME_MESSAGE String, what the bot says to new users
# DIRECT_WELCOME Bool (default true), welcome users by di... | true | # Description
# Hubot script to welcome new users to Rocket.Chat or a Rocket.Chat room (via a DM as default)
#
# Configuration:
# ROCKETCHAT_USER so the bot can introduce itself using its @username
# WELCOME_MESSAGE String, what the bot says to new users
# DIRECT_WELCOME Bool (default true), welcome users by di... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n This example intercetps th",
"end": 61,
"score": 0.9998792409896851,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.catchFlee.coffee | BuloZB/pokemon-go-mitm-node | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
This example intercetps the server answer after a successful throw and signals
the App that the pokemon has fleed - cleaning up can be done at home :)
Be aware: This triggers an error message in the App but won't interfere further... | 66580 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
This example intercetps the server answer after a successful throw and signals
the App that the pokemon has fleed - cleaning up can be done at home :)
Be aware: This triggers an error message in the App but won't interfere further on
###
PokemonGoMITM =... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This example intercetps the server answer after a successful throw and signals
the App that the pokemon has fleed - cleaning up can be done at home :)
Be aware: This triggers an error message in the App but won't interfere fu... |
[
{
"context": "e, password) ->\n _.extend @options, { username: username, password: password }\n\n get: (path, options) ->\n",
"end": 2029,
"score": 0.9244071245193481,
"start": 2021,
"tag": "USERNAME",
"value": "username"
},
{
"context": "_.extend @options, { username: username, ... | src/rest.coffee | h2non/node-bintray | 4 | Q = require 'q'
_ = require 'lodash'
rest = require 'restler'
status = require './status'
log = require('./common').log
promiseResponse = (response, data) ->
code = response.statusCode
return {
code: code
status: status[code]
response: response
data: data
}
module.exports = class Rest
@defe... | 49023 | Q = require 'q'
_ = require 'lodash'
rest = require 'restler'
status = require './status'
log = require('./common').log
promiseResponse = (response, data) ->
code = response.statusCode
return {
code: code
status: status[code]
response: response
data: data
}
module.exports = class Rest
@defe... | true | Q = require 'q'
_ = require 'lodash'
rest = require 'restler'
status = require './status'
log = require('./common').log
promiseResponse = (response, data) ->
code = response.statusCode
return {
code: code
status: status[code]
response: response
data: data
}
module.exports = class Rest
@defe... |
[
{
"context": "ne_downloading_id'\n\nuser_1 = new Contact\n name: \"User One\"\n email: \"user1@nylas.com\"\nuser_2 = new Contact\n",
"end": 1660,
"score": 0.9972440600395203,
"start": 1652,
"tag": "NAME",
"value": "User One"
},
{
"context": "user_1 = new Contact\n name: \"User One... | packages/client-app/internal_packages/message-list/spec/message-item-body-spec.cjsx | cnheider/nylas-mail | 24,369 | proxyquire = require 'proxyquire'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require('react-addons-test-utils')
{Contact,
Message,
File,
FileDownloadStore,
MessageBodyProcessor} = require "nylas-exports"
EmailFrameStub = React.createClass({render: -> <div></div>})
{InjectedComponent}... | 46334 | proxyquire = require 'proxyquire'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require('react-addons-test-utils')
{Contact,
Message,
File,
FileDownloadStore,
MessageBodyProcessor} = require "nylas-exports"
EmailFrameStub = React.createClass({render: -> <div></div>})
{InjectedComponent}... | true | proxyquire = require 'proxyquire'
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require('react-addons-test-utils')
{Contact,
Message,
File,
FileDownloadStore,
MessageBodyProcessor} = require "nylas-exports"
EmailFrameStub = React.createClass({render: -> <div></div>})
{InjectedComponent}... |
[
{
"context": " socksHost: config.get 'proxy.socks5.host', '127.0.0.1'\n socksPort: config.get 'proxy.socks5.po",
"end": 1396,
"score": 0.9997841715812683,
"start": 1387,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "http'\n host = config.get 'proxy.htt... | proxy.coffee | Gizeta/i-want-to-use-kancollecacher-and-kcsp-on-poi | 2 | Promise = require 'bluebird'
async = Promise.coroutine
zlib = Promise.promisifyAll require 'zlib'
url = require 'url'
net = require 'net'
http = require 'http'
querystring = require 'querystring'
caseNormalizer = require 'header-case-normalizer'
request = Promise.promisifyAll require 'request'
requestAsync = Promise.pr... | 21584 | Promise = require 'bluebird'
async = Promise.coroutine
zlib = Promise.promisifyAll require 'zlib'
url = require 'url'
net = require 'net'
http = require 'http'
querystring = require 'querystring'
caseNormalizer = require 'header-case-normalizer'
request = Promise.promisifyAll require 'request'
requestAsync = Promise.pr... | true | Promise = require 'bluebird'
async = Promise.coroutine
zlib = Promise.promisifyAll require 'zlib'
url = require 'url'
net = require 'net'
http = require 'http'
querystring = require 'querystring'
caseNormalizer = require 'header-case-normalizer'
request = Promise.promisifyAll require 'request'
requestAsync = Promise.pr... |
[
{
"context": "rences:\n# \t\t\t\tcollection: 'flow_roles',\n# \t\t\t\tkey: '_id',\n# \t\t\t\tsearch_keys: ['name']\n# \t\t\tautoform:\n# \t\t",
"end": 406,
"score": 0.8487080931663513,
"start": 402,
"tag": "KEY",
"value": "'_id"
},
{
"context": "ow_roles',\n# \t\t\t\tkey: '_id',\n# \... | creator/packages/steedos-workflow/lib/models/flow_positions.coffee | yicone/steedos-platform | 42 | # Meteor.startup ()->
# db.flow_positions = new Meteor.Collection('flow_positions')
# db.flow_positions._simpleSchema = new SimpleSchema
# space:
# type: String,
# optional: true,
# autoform:
# type: "hidden",
# defaultValue: ->
# return Session.get("spaceId");
# role:
# type: String,
# ... | 72112 | # Meteor.startup ()->
# db.flow_positions = new Meteor.Collection('flow_positions')
# db.flow_positions._simpleSchema = new SimpleSchema
# space:
# type: String,
# optional: true,
# autoform:
# type: "hidden",
# defaultValue: ->
# return Session.get("spaceId");
# role:
# type: String,
# ... | true | # Meteor.startup ()->
# db.flow_positions = new Meteor.Collection('flow_positions')
# db.flow_positions._simpleSchema = new SimpleSchema
# space:
# type: String,
# optional: true,
# autoform:
# type: "hidden",
# defaultValue: ->
# return Session.get("spaceId");
# role:
# type: String,
# ... |
[
{
"context": "acki\"\n\n\t\t\t# The website author's name\n\t\t\tauthor: \"Michael Zawacki\"\n\n\t\t\t# The website author's email\n\t\t\temail: \"mike",
"end": 413,
"score": 0.9998897314071655,
"start": 398,
"tag": "NAME",
"value": "Michael Zawacki"
},
{
"context": "acki\"\n\n\t\t\t... | docpad.coffee | MJZawacki/mzawacki-docpad | 0 | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
# Define the DocPad Configuration
docpadConfig = {
templateData:
# Specify some site properties
site:
# The production url of our website
url: "http://www.mjzawacki.com"
# The default title of ... | 6876 | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
# Define the DocPad Configuration
docpadConfig = {
templateData:
# Specify some site properties
site:
# The production url of our website
url: "http://www.mjzawacki.com"
# The default title of ... | true | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
# Define the DocPad Configuration
docpadConfig = {
templateData:
# Specify some site properties
site:
# The production url of our website
url: "http://www.mjzawacki.com"
# The default title of ... |
[
{
"context": "T9n.get('changePassword')\nequals(changePassword, 'Change Password')\n\nT9n.language = \"es\"\nequals(T9n.language, 'es')",
"end": 195,
"score": 0.6328771114349365,
"start": 180,
"tag": "PASSWORD",
"value": "Change Password"
}
] | tests/t9nDriver/test.coffee | tnedich/meteor-accounts-t9n | 0 | equals = (a, b) ->
if a != b
console.error a + " != " + b
T9n.language = "en"
equals(T9n.language, 'en')
changePassword = T9n.get('changePassword')
equals(changePassword, 'Change Password')
T9n.language = "es"
equals(T9n.language, 'es')
equals(T9n.get("error.accounts.You've been logged out by the server. Pleas... | 60480 | equals = (a, b) ->
if a != b
console.error a + " != " + b
T9n.language = "en"
equals(T9n.language, 'en')
changePassword = T9n.get('changePassword')
equals(changePassword, '<PASSWORD>')
T9n.language = "es"
equals(T9n.language, 'es')
equals(T9n.get("error.accounts.You've been logged out by the server. Please log... | true | equals = (a, b) ->
if a != b
console.error a + " != " + b
T9n.language = "en"
equals(T9n.language, 'en')
changePassword = T9n.get('changePassword')
equals(changePassword, 'PI:PASSWORD:<PASSWORD>END_PI')
T9n.language = "es"
equals(T9n.language, 'es')
equals(T9n.get("error.accounts.You've been logged out by the ... |
[
{
"context": "###\n\nTasks by Story by Iteration App\nBy Richard Green\n\nThis app displays all the tasks of every story o",
"end": 53,
"score": 0.9998366236686707,
"start": 40,
"tag": "NAME",
"value": "Richard Green"
}
] | src/App.coffee | CustomAgile/TasksByStoryByIteration | 0 | ###
Tasks by Story by Iteration App
By Richard Green
This app displays all the tasks of every story of an iteration. You can choose which iteration you want to look at
with the combobox. If there are no stories or tasks, a panel is created that tells the user what happened, as opposed
to just having empty space where... | 39647 | ###
Tasks by Story by Iteration App
By <NAME>
This app displays all the tasks of every story of an iteration. You can choose which iteration you want to look at
with the combobox. If there are no stories or tasks, a panel is created that tells the user what happened, as opposed
to just having empty space where the gr... | true | ###
Tasks by Story by Iteration App
By PI:NAME:<NAME>END_PI
This app displays all the tasks of every story of an iteration. You can choose which iteration you want to look at
with the combobox. If there are no stories or tasks, a panel is created that tells the user what happened, as opposed
to just having empty spac... |
[
{
"context": "###\nCopyright (c) 2015 Daniel Fields\n\nPermission is hereby granted, free of charge, to",
"end": 36,
"score": 0.9997528195381165,
"start": 23,
"tag": "NAME",
"value": "Daniel Fields"
}
] | src/hailstone.coffee | dsfields/hailstone | 2 | ###
Copyright (c) 2015 Daniel Fields
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distribute,
... | 175918 | ###
Copyright (c) 2015 <NAME>
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distribute,
sublice... | true | ###
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distr... |
[
{
"context": " 2011 Koding, Inc.\n\n@module: bongo-client\n@author: Christopher Thorn <chris@koding.com>\n###\n###\n@snippet.\n@description",
"end": 125,
"score": 0.9998873472213745,
"start": 108,
"tag": "NAME",
"value": "Christopher Thorn"
},
{
"context": "@module: bongo-client\n@au... | node_modules_koding/bongo-client/src/bongo.coffee | ezgikaysi/koding | 1 | 'use strict'
###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@module: bongo-client
@author: Christopher Thorn <chris@koding.com>
###
###
@snippet.
@description: feature-detect the browser.
@todo: is there an improvement?
@foo
###
isBrowser = 'undefined' isnt typeof window
###
@class: bongo (client)
@des... | 58101 | 'use strict'
###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@module: bongo-client
@author: <NAME> <<EMAIL>>
###
###
@snippet.
@description: feature-detect the browser.
@todo: is there an improvement?
@foo
###
isBrowser = 'undefined' isnt typeof window
###
@class: bongo (client)
@description: client-sid... | true | 'use strict'
###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@module: bongo-client
@author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
###
@snippet.
@description: feature-detect the browser.
@todo: is there an improvement?
@foo
###
isBrowser = 'undefined' isnt typeof window
###
@class: bongo (cli... |
[
{
"context": "showing', ->\n SettingsHelper.setCredentials 'foo@bar.baz', '0123456789abcdef0123456789abcdef'\n\n # Tes",
"end": 943,
"score": 0.9721808433532715,
"start": 932,
"tag": "EMAIL",
"value": "foo@bar.baz"
},
{
"context": " SettingsHelper.setCredentials 'foo@bar... | spec/views/select-port-view-spec.coffee | lukehoban/spark-dev | 1 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
describe 'Select Port View', ->
activationPromise = null
sparkIde = null
selectPortView = null
originalProfile = null
beforeEach ->
atom.workspaceView = new WorkspaceView
activationPromi... | 123458 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
describe 'Select Port View', ->
activationPromise = null
sparkIde = null
selectPortView = null
originalProfile = null
beforeEach ->
atom.workspaceView = new WorkspaceView
activationPromi... | true | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
describe 'Select Port View', ->
activationPromise = null
sparkIde = null
selectPortView = null
originalProfile = null
beforeEach ->
atom.workspaceView = new WorkspaceView
activationPromi... |
[
{
"context": "': 'application/json'\n originatingIp: '127.0.0.1'\n response:\n body:\n ",
"end": 5521,
"score": 0.9997607469558716,
"start": 5512,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " app_id: 'myappid'\n ... | node_modules/cloudmine-servercode/test/integration/server.coffee | rallabandibhanusree/BillingSample | 0 | 'use strict'
#
# CloudMine, Inc
# 2015
#
_ = require 'lodash'
Hapi = require 'hapi'
should = require('chai').should()
describe 'Server', ->
Server = null
describe 'Starting', ->
beforeEach ->
# Since the require creates the server and the module is cached,
# Remove it from the cache and re-requi... | 202050 | 'use strict'
#
# CloudMine, Inc
# 2015
#
_ = require 'lodash'
Hapi = require 'hapi'
should = require('chai').should()
describe 'Server', ->
Server = null
describe 'Starting', ->
beforeEach ->
# Since the require creates the server and the module is cached,
# Remove it from the cache and re-requi... | true | 'use strict'
#
# CloudMine, Inc
# 2015
#
_ = require 'lodash'
Hapi = require 'hapi'
should = require('chai').should()
describe 'Server', ->
Server = null
describe 'Starting', ->
beforeEach ->
# Since the require creates the server and the module is cached,
# Remove it from the cache and re-requi... |
[
{
"context": "alse\n\n it 'keys test', ->\n obj =\n key1: 'a'\n key2: 'b'\n assert.deepEqual common.keys",
"end": 214,
"score": 0.8435017466545105,
"start": 213,
"tag": "KEY",
"value": "a"
},
{
"context": " test', ->\n obj =\n key1: 'a'\n key2: 'b'\n ... | test/common_test.coffee | anshulverma/favour | 1 | describe 'common util method tests', ->
it 'isUndefined test', ->
assert.equal common.isUndefined({}.abc), true
assert.equal common.isUndefined('str'), false
it 'keys test', ->
obj =
key1: 'a'
key2: 'b'
assert.deepEqual common.keys(obj), ['key1', 'key2']
describe 'default options tes... | 54884 | describe 'common util method tests', ->
it 'isUndefined test', ->
assert.equal common.isUndefined({}.abc), true
assert.equal common.isUndefined('str'), false
it 'keys test', ->
obj =
key1: '<KEY>'
key2: '<KEY>'
assert.deepEqual common.keys(obj), ['key1', 'key2']
describe 'default opt... | true | describe 'common util method tests', ->
it 'isUndefined test', ->
assert.equal common.isUndefined({}.abc), true
assert.equal common.isUndefined('str'), false
it 'keys test', ->
obj =
key1: 'PI:KEY:<KEY>END_PI'
key2: 'PI:KEY:<KEY>END_PI'
assert.deepEqual common.keys(obj), ['key1', 'key2'... |
[
{
"context": "ages.\n %a{ href: 'http://lea.verou.me' }^ Lea Verou\n discovered that in addition to typical ",
"end": 1095,
"score": 0.9981731176376343,
"start": 1086,
"tag": "NAME",
"value": "Lea Verou"
},
{
"context": ".\n %a{ href: 'http://bennettfeely.c... | app/javascript/gradients/components/HelpButton.coffee | helixbass/mamagata | 0 | import {Modal, Header, Button, Message, List} from 'semantic-ui-react'
import {css as has} from 'glamor'
export default ->
%Modal{
trigger:
%Button.(has
paddingLeft: '1.3em !important'
paddingRight: '1.3em !important'
){
icon: 'question circle'
content: 'Huh?'
... | 218885 | import {Modal, Header, Button, Message, List} from 'semantic-ui-react'
import {css as has} from 'glamor'
export default ->
%Modal{
trigger:
%Button.(has
paddingLeft: '1.3em !important'
paddingRight: '1.3em !important'
){
icon: 'question circle'
content: 'Huh?'
... | true | import {Modal, Header, Button, Message, List} from 'semantic-ui-react'
import {css as has} from 'glamor'
export default ->
%Modal{
trigger:
%Button.(has
paddingLeft: '1.3em !important'
paddingRight: '1.3em !important'
){
icon: 'question circle'
content: 'Huh?'
... |
[
{
"context": ">\n it 'should instantiate', ->\n new Api key: 'fakekey'\n",
"end": 95,
"score": 0.6853853464126587,
"start": 88,
"tag": "KEY",
"value": "fakekey"
}
] | test/api.coffee | hanzo-io/hanzo.js | 147 | Api = require '../'
describe 'Api', ->
it 'should instantiate', ->
new Api key: 'fakekey'
| 66989 | Api = require '../'
describe 'Api', ->
it 'should instantiate', ->
new Api key: '<KEY>'
| true | Api = require '../'
describe 'Api', ->
it 'should instantiate', ->
new Api key: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": " inProject: true\n\n params =\n apiKey: '7ddca14cb60cbd1cd12d1b252473b076'\n notifier:\n name: 'Atom'\n ver",
"end": 1732,
"score": 0.9997710585594177,
"start": 1700,
"tag": "KEY",
"value": "7ddca14cb60cbd1cd12d1b252473b076"
}
] | lib/reporter.coffee | bugsnag/exception-reporting | 1 | os = require 'os'
path = require 'path'
coffeestack = require 'coffeestack'
request = require 'request'
module.exports =
class Reporter
@send: (message, url, line, column, error) ->
return unless @shouldSendErrorFromUrl(url)
@request
method: 'POST'
url: 'https://notify.bugsnag.com'
headers... | 77969 | os = require 'os'
path = require 'path'
coffeestack = require 'coffeestack'
request = require 'request'
module.exports =
class Reporter
@send: (message, url, line, column, error) ->
return unless @shouldSendErrorFromUrl(url)
@request
method: 'POST'
url: 'https://notify.bugsnag.com'
headers... | true | os = require 'os'
path = require 'path'
coffeestack = require 'coffeestack'
request = require 'request'
module.exports =
class Reporter
@send: (message, url, line, column, error) ->
return unless @shouldSendErrorFromUrl(url)
@request
method: 'POST'
url: 'https://notify.bugsnag.com'
headers... |
[
{
"context": "s/font-awesome/5.15.1/css/all.min.css\" integrity=\"sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==\" crossorigin=\"anonymous\" />\n '''\n",
"end": 274,
"score": 0.9996415376663208,
"start": 178,
"tag": "KEY",
"value": "sha512-... | fontIcon.coffee | zzandland/zbar | 0 | refreshFrequency: false
render: () ->
return '''
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />
'''
| 146955 | refreshFrequency: false
render: () ->
return '''
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="<KEY> crossorigin="<KEY>" />
'''
| true | refreshFrequency: false
render: () ->
return '''
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="PI:KEY:<KEY>END_PI crossorigin="PI:KEY:<KEY>END_PI" />
'''
|
[
{
"context": "t(@)\n \n # The Session Key in Redis\n key: ->\n \"#{key}:session:#{@id}\"\n \n # Save Attributes. Group",
"end": 2768,
"score": 0.6689517498016357,
"start": 2765,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "\n # The Session Key in Redis\n key: ->\n \"#{... | lib/session.coffee | addyosmani/socketstream | 2 | # Session
# -------
# Creates and maintains a persistent session in Redis once a visitor connects over websockets
events = require('events').EventEmitter
utils = require('./utils')
pubsub = require('./pubsub.coffee')
id_length = 32
key = SS.config.redis.key_prefix
channel_separator = '¬*~'
# Process an incoming requ... | 83411 | # Session
# -------
# Creates and maintains a persistent session in Redis once a visitor connects over websockets
events = require('events').EventEmitter
utils = require('./utils')
pubsub = require('./pubsub.coffee')
id_length = 32
key = SS.config.redis.key_prefix
channel_separator = '¬*~'
# Process an incoming requ... | true | # Session
# -------
# Creates and maintains a persistent session in Redis once a visitor connects over websockets
events = require('events').EventEmitter
utils = require('./utils')
pubsub = require('./pubsub.coffee')
id_length = 32
key = SS.config.redis.key_prefix
channel_separator = '¬*~'
# Process an incoming requ... |
[
{
"context": "ername (phone number for DMSOs)?\"\n username = \"user.#{username.toLowerCase()}\"\n password = prompt \"What is th",
"end": 835,
"score": 0.8776032328605652,
"start": 820,
"tag": "USERNAME",
"value": "user.#{username"
},
{
"context": "user\"\n isApplicationD... | views/UsersView.coffee | Coconut-Data/jackfruit | 0 | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#addUsers": "addUsers"
"click button#resetPassword": "resetPassword"
"click button#addColumn": "addColumn"
"click button#... | 39907 | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#addUsers": "addUsers"
"click button#resetPassword": "resetPassword"
"click button#addColumn": "addColumn"
"click button#... | true | crypto = require('crypto')
Tabulator = require 'tabulator-tables'
class UsersView extends Backbone.View
el:'#content'
events:
"click button#addUser": "addUser"
"click button#addUsers": "addUsers"
"click button#resetPassword": "resetPassword"
"click button#addColumn": "addColumn"
"click button#... |
[
{
"context": "as bad.\n return if @committed && @task_key != \"flag_bad_subject_task\"\n @committed = true\n\n @metadata.finished_at",
"end": 577,
"score": 0.9975606203079224,
"start": 556,
"tag": "KEY",
"value": "flag_bad_subject_task"
}
] | app/assets/javascripts/models/classification.coffee | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | class Classification
constructor: ->
@metadata =
started_at: (new Date).toISOString()
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@generates_subject_type = null
... | 183368 | class Classification
constructor: ->
@metadata =
started_at: (new Date).toISOString()
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@generates_subject_type = null
... | true | class Classification
constructor: ->
@metadata =
started_at: (new Date).toISOString()
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@annotation = {}
@subject_id = null
@subject_set_id = null
@task_key = null
@generates_subject_type = null
... |
[
{
"context": "###\nGulp task minify\n@create 2014-12-15\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 60,
"score": 0.9998940825462341,
"start": 48,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "k minify\n@create 2014-12-15\n@author Kout... | tasks/config/concat.coffee | ky0615/atc_tram | 0 | ###
Gulp task minify
@create 2014-12-15
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins)->
gulp.task "concat:js", ->
gulp.src require("../pipeline").jsFilesToInject
.pipe plugins.concat "bundle.min.js"
.pipe gulp.dest "www/min"
gulp.task "concat:css", ->
gulp.src require("... | 93367 | ###
Gulp task minify
@create 2014-12-15
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins)->
gulp.task "concat:js", ->
gulp.src require("../pipeline").jsFilesToInject
.pipe plugins.concat "bundle.min.js"
.pipe gulp.dest "www/min"
gulp.task "concat:css", ->
gulp.src require("../pipeline"... | true | ###
Gulp task minify
@create 2014-12-15
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins)->
gulp.task "concat:js", ->
gulp.src require("../pipeline").jsFilesToInject
.pipe plugins.concat "bundle.min.js"
.pipe gulp.dest "www/min"
gulp.task "concat:css", ->
g... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 884,
"score": 0.9984679818153381,
"start": 877,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/arithmetic/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten = 10
define Eleven = 11
define One... | 95891 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten = 10
define Eleven = 11
define One... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten = 10
define Eleven = 11
define One... |
[
{
"context": "###\nbookCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 47,
"score": 0.9997032284736633,
"start": 39,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\nbookCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gm... | src/note/bookCtrl.coffee | xuender/mindfulness | 0 | ###
bookCtrl.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
BookCtrl = ($scope, $modalInstance, $log, book, del, status)->
# 书籍编辑
$scope.b = book
$scope.showDel = del
$scope.status = status
$log.debug $scope.b
$scope.del = ->
$modalInstance.close(... | 180371 | ###
bookCtrl.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
BookCtrl = ($scope, $modalInstance, $log, book, del, status)->
# 书籍编辑
$scope.b = book
$scope.showDel = del
$scope.status = status
$log.debug $scope.b
$scope.del = ->
$modalInstance.close($scope.b.id)... | true | ###
bookCtrl.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
BookCtrl = ($scope, $modalInstance, $log, book, del, status)->
# 书籍编辑
$scope.b = book
$scope.showDel = del
$scope.status = status
$log.debug $scope.b
$scope.del = ->
$mod... |
[
{
"context": "\n view.make 'test', 'say \"<app:test2 message=\"Heyo\">\"'\n view.make 'test2', '''\n {{#with @mes",
"end": 4089,
"score": 0.6086416244506836,
"start": 4086,
"tag": "NAME",
"value": "eyo"
},
{
"context": " Yo\n {/}\n '''\n model.set 'myMessage', '... | test/View.components.mocha.coffee | TheMonkeys/derby | 0 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... | 92004 | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... | true | {expect, calls} = require 'racer/test/util'
{DetachedModel: Model} = require './mocks'
View = require '../lib/View.server'
describe 'App HTML components', ->
view = model = null
beforeEach (done) ->
view = new View
model = new Model
view._init model, false, done
it 'supports void components', ->
... |
[
{
"context": "lishableKey = if application.isProduction() then 'pk_live_27jQZozjDGN1HSUTnSuM578g' else 'pk_test_zG5UwVu6Ww8YhtE9ZYh0JO6a'\n\nif me.i",
"end": 85,
"score": 0.9981170892715454,
"start": 53,
"tag": "KEY",
"value": "pk_live_27jQZozjDGN1HSUTnSuM578g"
},
{
"context": "n() t... | app/core/services/stripe.coffee | robertkachniarz/codecombat | 2 | publishableKey = if application.isProduction() then 'pk_live_27jQZozjDGN1HSUTnSuM578g' else 'pk_test_zG5UwVu6Ww8YhtE9ZYh0JO6a'
if me.isAnonymous()
module.exports = {
openAsync: _.noop # for tests to spy on
}
module.exports.makeNewInstance = _.clone(module.exports)
else if not StripeCheckout?
module.exports... | 72454 | publishableKey = if application.isProduction() then '<KEY>' else '<KEY>'
if me.isAnonymous()
module.exports = {
openAsync: _.noop # for tests to spy on
}
module.exports.makeNewInstance = _.clone(module.exports)
else if not StripeCheckout?
module.exports = {}
console.error "Failure loading StripeCheckout ... | true | publishableKey = if application.isProduction() then 'PI:KEY:<KEY>END_PI' else 'PI:KEY:<KEY>END_PI'
if me.isAnonymous()
module.exports = {
openAsync: _.noop # for tests to spy on
}
module.exports.makeNewInstance = _.clone(module.exports)
else if not StripeCheckout?
module.exports = {}
console.error "Failu... |
[
{
"context": "w.waxam.be\r\n MIT Licensed\r\n\r\n Copyright (C) 2015 Maarten Schroeven <maarten@waxam.be>\r\n###\r\nCURRENT_INDEX = -1\r\nshow",
"end": 113,
"score": 0.9998916387557983,
"start": 96,
"tag": "NAME",
"value": "Maarten Schroeven"
},
{
"context": "censed\r\n\r\n Copyri... | revli/data/otf-fragment-order/otf-fragment-order.coffee | Akida31/revli | 0 | ###
otf-fragment-order.coffee
http://www.waxam.be
MIT Licensed
Copyright (C) 2015 Maarten Schroeven <maarten@waxam.be>
###
CURRENT_INDEX = -1
showFragment = (event) ->
if 48 <= event.keyCode <= 57
index = event.keyCode - 48
index = 10 if index is 0
currentSlide = Reveal.getCurrentSlid... | 194988 | ###
otf-fragment-order.coffee
http://www.waxam.be
MIT Licensed
Copyright (C) 2015 <NAME> <<EMAIL>>
###
CURRENT_INDEX = -1
showFragment = (event) ->
if 48 <= event.keyCode <= 57
index = event.keyCode - 48
index = 10 if index is 0
currentSlide = Reveal.getCurrentSlide()
fragment = ... | true | ###
otf-fragment-order.coffee
http://www.waxam.be
MIT Licensed
Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
CURRENT_INDEX = -1
showFragment = (event) ->
if 48 <= event.keyCode <= 57
index = event.keyCode - 48
index = 10 if index is 0
currentSlide = Reveal.getCu... |
[
{
"context": "astructure/RateLimiter\":@RateLimiter\n\n\t\t@email = \"bob@bob.com \"\n\t\t@token = \"my security token that was emailed ",
"end": 777,
"score": 0.9997390508651733,
"start": 766,
"tag": "EMAIL",
"value": "bob@bob.com"
},
{
"context": "ateLimiter\n\n\t\t@email = \"bob@b... | test/UnitTests/coffee/PasswordReset/PasswordResetControllerTests.coffee | sandstormports/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect
describe "PasswordResetControl... | 64581 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect
describe "PasswordResetControl... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect
describe "PasswordResetControl... |
[
{
"context": " = process.env.BEANSTALK_HOST or '127.0.0.1'\nbeanstalkPort = process.env.BEANSTALK_P",
"end": 130,
"score": 0.9992187023162842,
"start": 121,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " = process.env.SLACK_USERNAME ... | assets/pusher.coffee | tokenly/event-job-pusher | 0 | ###
#
# Calls notifications to subscribed clients
#
###
beanstalkHost = process.env.BEANSTALK_HOST or '127.0.0.1'
beanstalkPort = process.env.BEANSTALK_PORT or 11300
KEEN_PROJECT_ID = process.env.KEEN_PROJECT_ID or false
KEEN_API_KEY = process.env.KEEN_API_KEY... | 211740 | ###
#
# Calls notifications to subscribed clients
#
###
beanstalkHost = process.env.BEANSTALK_HOST or '127.0.0.1'
beanstalkPort = process.env.BEANSTALK_PORT or 11300
KEEN_PROJECT_ID = process.env.KEEN_PROJECT_ID or false
KEEN_API_KEY = process.env.KEEN_API_KEY... | true | ###
#
# Calls notifications to subscribed clients
#
###
beanstalkHost = process.env.BEANSTALK_HOST or '127.0.0.1'
beanstalkPort = process.env.BEANSTALK_PORT or 11300
KEEN_PROJECT_ID = process.env.KEEN_PROJECT_ID or false
KEEN_API_KEY = process.env.KEEN_API_KEY... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n This example just dumps al",
"end": 61,
"score": 0.9998734593391418,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.logTrafficFull.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
This example just dumps all in-/outgoing messages and responses plus all envelopes and signatures
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
pcrypt = require 'pcrypt'
# Uncomment if you want to filter the regular messages
#... | 59728 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
This example just dumps all in-/outgoing messages and responses plus all envelopes and signatures
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
pcrypt = require 'pcrypt'
# Uncomment if you want to filter the regular messages
# ignore = ['GetHatchedEg... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This example just dumps all in-/outgoing messages and responses plus all envelopes and signatures
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
pcrypt = require 'pcrypt'
# Uncomment if you want to filter the regular messa... |
[
{
"context": "ble', ->\n res = parseTemplate \"`name`\", name: \"John\"\n expect(res).to.equal \"John\"\n it 'should run",
"end": 297,
"score": 0.9996776580810547,
"start": 293,
"tag": "NAME",
"value": "John"
},
{
"context": " \"`name`\", name: \"John\"\n expect(res).to.equ... | test/test.coffee | kelvinss/node-eval-interpolation-sandbox | 1 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
{ParserAsync, ParserSync} = require('../index')
# TODO: overlaping delimiters
describe 'default', ->
parseTemplate = require('../index')
it 'should replace a simple variable', ->
res = parseTemplate "`name`", name: "John"
expect(res).to.eq... | 164561 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
{ParserAsync, ParserSync} = require('../index')
# TODO: overlaping delimiters
describe 'default', ->
parseTemplate = require('../index')
it 'should replace a simple variable', ->
res = parseTemplate "`name`", name: "<NAME>"
expect(res).to.... | true | chai = require 'chai'
assert = chai.assert
expect = chai.expect
{ParserAsync, ParserSync} = require('../index')
# TODO: overlaping delimiters
describe 'default', ->
parseTemplate = require('../index')
it 'should replace a simple variable', ->
res = parseTemplate "`name`", name: "PI:NAME:<NAME>END_PI"
e... |
[
{
"context": "alueLink = (key, dfault, onchange) ->\n ls_key = \"__pd_demos_#{key}\"\n nonemptyString = (str) -> if str == \"\" then u",
"end": 686,
"score": 0.977768063545227,
"start": 667,
"tag": "KEY",
"value": "\"__pd_demos_#{key}\""
}
] | src/editor/demos.cjsx | caffed/pagedraw | 3,213 | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Doc} = require '../doc'
{BaseInstanceBlock} = require '../blocks/instance-block'
{server} = require './server'
For... | 96583 | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Doc} = require '../doc'
{BaseInstanceBlock} = require '../blocks/instance-block'
{server} = require './server'
For... | true | _ = require 'underscore'
_l = require 'lodash'
$ = require 'jquery'
React = require 'react'
createReactClass = require 'create-react-class'
propTypes = require 'prop-types'
ReactDOM = require 'react-dom'
{Doc} = require '../doc'
{BaseInstanceBlock} = require '../blocks/instance-block'
{server} = require './server'
For... |
[
{
"context": "{ProductSchemaInternal} object instances.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ProductManager\r",
"end": 222,
"score": 0.9997674822807312,
"start": 210,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/db/manager/ProductManager.coffee | qrefdev/qref | 0 | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
###
Utility class used to provide common operations on {ProductSchemaInternal} object instances.
@author Nathan Klick
@copyright QRef 2012
###
class ProductManager
###
Creates a new instance of the ProductMan... | 167365 | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
###
Utility class used to provide common operations on {ProductSchemaInternal} object instances.
@author <NAME>
@copyright QRef 2012
###
class ProductManager
###
Creates a new instance of the ProductManager c... | true | async = require('async')
mongoose = require('mongoose')
QRefDatabase = require('../QRefDatabase')
###
Utility class used to provide common operations on {ProductSchemaInternal} object instances.
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
###
class ProductManager
###
Creates a new instance of the Pr... |
[
{
"context": "non.stub().yields(null, body: { id: '123', name: 'An Artist'})\n VeniceAdmin.__set__ 'Autocomplete",
"end": 1597,
"score": 0.9383493661880493,
"start": 1595,
"tag": "NAME",
"value": "An"
},
{
"context": "tions: [{title: 'Searching For Venice'}, {title: 'Dawn Kasper... | src/client/apps/settings/client/curations/venice/test/venice_admin.test.coffee | craigspaeth/positron | 76 | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
Curation = require '../../../../../../../client/models/curation.coffee'
Backbone = require 'backbone'
r =
find: R... | 128562 | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
Curation = require '../../../../../../../client/models/curation.coffee'
Backbone = require 'backbone'
r =
find: R... | true | benv = require 'benv'
sinon = require 'sinon'
{ resolve } = require 'path'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
moment = require 'moment'
Curation = require '../../../../../../../client/models/curation.coffee'
Backbone = require 'backbone'
r =
find: R... |
[
{
"context": " options =\n auth:\n username: 'irritable-captian'\n password: 'poop-deck'\n json:\n ",
"end": 2237,
"score": 0.9988594651222229,
"start": 2220,
"tag": "USERNAME",
"value": "irritable-captian"
},
{
"context": "sername: 'irritable-cap... | test/integration/messenger-spec.coffee | octoblu/meshblu-core-protocol-adapter-http-streaming | 1 | _ = require 'lodash'
request = require 'request'
Server = require '../../src/server'
async = require 'async'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'GET /subscri... | 217768 | _ = require 'lodash'
request = require 'request'
Server = require '../../src/server'
async = require 'async'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'GET /subscri... | true | _ = require 'lodash'
request = require 'request'
Server = require '../../src/server'
async = require 'async'
moment = require 'moment'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'GET /subscri... |
[
{
"context": " 'json'\n data: JSON.stringify({ password: password })\n success: (data) ->\n $('.a",
"end": 625,
"score": 0.9915028810501099,
"start": 617,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/main.coffee | emaxedon/play-slick-template | 0 | require.config
baseUrl: '/assets'
shim:
'bootstrap': deps: [ 'jquery' ]
paths:
'jquery': 'lib/jquery/jquery.min'
'bootstrap': 'lib/bootstrap/js/bootstrap.min'
require [
'jquery'
], ($) ->
$(document).ready ->
$('#form-reset').on 'submit', ->
password = $('#form-reset #inputPassword')... | 38578 | require.config
baseUrl: '/assets'
shim:
'bootstrap': deps: [ 'jquery' ]
paths:
'jquery': 'lib/jquery/jquery.min'
'bootstrap': 'lib/bootstrap/js/bootstrap.min'
require [
'jquery'
], ($) ->
$(document).ready ->
$('#form-reset').on 'submit', ->
password = $('#form-reset #inputPassword')... | true | require.config
baseUrl: '/assets'
shim:
'bootstrap': deps: [ 'jquery' ]
paths:
'jquery': 'lib/jquery/jquery.min'
'bootstrap': 'lib/bootstrap/js/bootstrap.min'
require [
'jquery'
], ($) ->
$(document).ready ->
$('#form-reset').on 'submit', ->
password = $('#form-reset #inputPassword')... |
[
{
"context": "arams = FormRenderer.queryParams(\"?test=123&token=D22\")\n expect(params.test).to.equal('123')\n exp",
"end": 117,
"score": 0.4698486328125,
"start": 114,
"tag": "KEY",
"value": "D22"
},
{
"context": ".equal('123')\n expect(params.token).to.equal('D22')\n\n i... | test/query_params_helper_test.coffee | dobtco/formrenderer-base | 79 | describe 'QueryParams', ->
it 'parses query params', ->
params = FormRenderer.queryParams("?test=123&token=D22")
expect(params.test).to.equal('123')
expect(params.token).to.equal('D22')
it "doesn't blow up if unconventional query params are passed in", ->
params = FormRenderer.queryParams("?test=1... | 179718 | describe 'QueryParams', ->
it 'parses query params', ->
params = FormRenderer.queryParams("?test=123&token=<KEY>")
expect(params.test).to.equal('123')
expect(params.token).to.equal('D<KEY>2')
it "doesn't blow up if unconventional query params are passed in", ->
params = FormRenderer.queryParams("?... | true | describe 'QueryParams', ->
it 'parses query params', ->
params = FormRenderer.queryParams("?test=123&token=PI:KEY:<KEY>END_PI")
expect(params.test).to.equal('123')
expect(params.token).to.equal('DPI:KEY:<KEY>END_PI2')
it "doesn't blow up if unconventional query params are passed in", ->
params = F... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998520016670227,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/sourcedescription.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescription',
options:
... | 96446 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescription',
options:
editab... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated publications
((jQuery) ->
jQuery.widget 'IKS.hallosourcedescription',
options... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nDuck = require './duck.coffee'\nLogger = require ",
"end": 66,
"score": 0.9999191761016846,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/green_duck.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
Duck = require './duck.coffee'
Logger = require '../mixins/logger.coffee'
class GreenDuck extends Duck
logPrefix: 'GreenDuck'
sprite: 'green_duck'
module.exports = GreenDuck | 174483 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
Duck = require './duck.coffee'
Logger = require '../mixins/logger.coffee'
class GreenDuck extends Duck
logPrefix: 'GreenDuck'
sprite: 'green_duck'
module.exports = GreenDuck | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Duck = require './duck.coffee'
Logger = require '../mixins/logger.coffee'
class GreenDuck extends Duck
logPrefix: 'GreenDuck'
sprite: 'green_duck'
module.exports = GreenDuck |
[
{
"context": "r.View\n user = new App.User(id: 1, firstName: \"Lance\")\n \n test '#tableFor(\"users\")', ->\n templa",
"end": 171,
"score": 0.9997221231460571,
"start": 166,
"tag": "NAME",
"value": "Lance"
}
] | test/cases/view/tableTest.coffee | hussainmuzzamil/tower | 1 | require '../../config'
view = null
user = null
describe 'Tower.View.Table', ->
beforeEach ->
view = new Tower.View
user = new App.User(id: 1, firstName: "Lance")
test '#tableFor("users")', ->
template = ->
tableFor("users")
view.render template: template, (error, result) ->
t... | 85760 | require '../../config'
view = null
user = null
describe 'Tower.View.Table', ->
beforeEach ->
view = new Tower.View
user = new App.User(id: 1, firstName: "<NAME>")
test '#tableFor("users")', ->
template = ->
tableFor("users")
view.render template: template, (error, result) ->
... | true | require '../../config'
view = null
user = null
describe 'Tower.View.Table', ->
beforeEach ->
view = new Tower.View
user = new App.User(id: 1, firstName: "PI:NAME:<NAME>END_PI")
test '#tableFor("users")', ->
template = ->
tableFor("users")
view.render template: template, (error, res... |
[
{
"context": "ipt banner for GitHub repositories\n#\n# (c) 2013 by Johannes Gilger <heipei@hackvalue.de>\n#\n# The source-code should ",
"end": 132,
"score": 0.9998711347579956,
"start": 117,
"tag": "NAME",
"value": "Johannes Gilger"
},
{
"context": "Hub repositories\n#\n# (c) 2013 b... | coffee/gcb.coffee | heipei/github-commit-badge | 12 | # vim:ft=coffee:et:ts=2:sw=2:
#
# github-commit-badge.js - JavaScript banner for GitHub repositories
#
# (c) 2013 by Johannes Gilger <heipei@hackvalue.de>
#
# The source-code should be pretty self-explanatory. Also look at the
# style.css to customize the badge.
# Development
# In order to develop github-commit-badge,... | 177106 | # vim:ft=coffee:et:ts=2:sw=2:
#
# github-commit-badge.js - JavaScript banner for GitHub repositories
#
# (c) 2013 by <NAME> <<EMAIL>>
#
# The source-code should be pretty self-explanatory. Also look at the
# style.css to customize the badge.
# Development
# In order to develop github-commit-badge, you will have to iss... | true | # vim:ft=coffee:et:ts=2:sw=2:
#
# github-commit-badge.js - JavaScript banner for GitHub repositories
#
# (c) 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# The source-code should be pretty self-explanatory. Also look at the
# style.css to customize the badge.
# Development
# In order to develop github-commi... |
[
{
"context": "t is 'guest')\n# HUBOT_RABBITMQ_PWD (default is 'guest')\n# HUBOT_RABBITMQ_VIRT_HOST (defaults to '/')\n",
"end": 207,
"score": 0.9412480592727661,
"start": 202,
"tag": "PASSWORD",
"value": "guest"
},
{
"context": "tination (type) {args})\n#\n# Notes:\n#\n# Author:\... | src/scripts/rabbitmq.coffee | Reelhouse/hubot-scripts | 9 | # Description
# display queue info from rabbitmq
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_RABBITMQ_HOST
# HUBOT_RABBITMQ_USER (default is 'guest')
# HUBOT_RABBITMQ_PWD (default is 'guest')
# HUBOT_RABBITMQ_VIRT_HOST (defaults to '/')
#
# Commands:
# hubot rabbit nodes - display list of cluster ... | 1551 | # Description
# display queue info from rabbitmq
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_RABBITMQ_HOST
# HUBOT_RABBITMQ_USER (default is 'guest')
# HUBOT_RABBITMQ_PWD (default is '<PASSWORD>')
# HUBOT_RABBITMQ_VIRT_HOST (defaults to '/')
#
# Commands:
# hubot rabbit nodes - display list of clu... | true | # Description
# display queue info from rabbitmq
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_RABBITMQ_HOST
# HUBOT_RABBITMQ_USER (default is 'guest')
# HUBOT_RABBITMQ_PWD (default is 'PI:PASSWORD:<PASSWORD>END_PI')
# HUBOT_RABBITMQ_VIRT_HOST (defaults to '/')
#
# Commands:
# hubot rabbit nodes - d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.