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": "_kv', root\n for kv in kv_list\n key = hash_key_to_value kv.value_array[0].value\n valu",
"end": 13366,
"score": 0.71524578332901,
"start": 13362,
"tag": "KEY",
"value": "hash"
},
{
"context": " key = hash_key_to_value kv.value_array[0].value... | src/node2ast.coffee | hu2prod/elayer | 0 | module = @
Type = require 'type'
ast = require './ast'
{Node} = require 'gram3/lib/node'
pre_op_map =
'++' : 'INC_RET'
'--' : 'DEC_RET'
'!' : 'BOOL_NOT'
'~' : 'BIT_NOT'
'not' : 'BOOL_NOT' # пока так. На самом деле ti
'+' : 'PLUS'
'-' : 'MINUS'
post_op_map =
'++' : 'RET_INC'
'--' : 'RET_D... | 203079 | module = @
Type = require 'type'
ast = require './ast'
{Node} = require 'gram3/lib/node'
pre_op_map =
'++' : 'INC_RET'
'--' : 'DEC_RET'
'!' : 'BOOL_NOT'
'~' : 'BIT_NOT'
'not' : 'BOOL_NOT' # пока так. На самом деле ti
'+' : 'PLUS'
'-' : 'MINUS'
post_op_map =
'++' : 'RET_INC'
'--' : 'RET_D... | true | module = @
Type = require 'type'
ast = require './ast'
{Node} = require 'gram3/lib/node'
pre_op_map =
'++' : 'INC_RET'
'--' : 'DEC_RET'
'!' : 'BOOL_NOT'
'~' : 'BIT_NOT'
'not' : 'BOOL_NOT' # пока так. На самом деле ti
'+' : 'PLUS'
'-' : 'MINUS'
post_op_map =
'++' : 'RET_INC'
'--' : 'RET_D... |
[
{
"context": "\n\ndb = mongoose.createConnection('mongodb://david:1qazxsw2@alex.mongohq.com:10041/calendarsync')\ndb.on \"error\", console.error",
"end": 865,
"score": 0.9986139535903931,
"start": 840,
"tag": "EMAIL",
"value": "1qazxsw2@alex.mongohq.com"
},
{
"context": " bcrypt.genS... | data/coffeescript/dc6e2709c6bf74ef2ae0cc1f03907584_app.coffee | maxim5/code-inspector | 5 |
###
Module dependencies.
###
express = require("express")
http = require("http")
https = require("https")
path = require("path")
passport = require('passport')
querystring = require('querystring')
GoogleStrategy = require('passport-google').Strategy;
GoogleOAuth2Strategy = require('passport-google-oauth').OAuth2Strate... | 200972 |
###
Module dependencies.
###
express = require("express")
http = require("http")
https = require("https")
path = require("path")
passport = require('passport')
querystring = require('querystring')
GoogleStrategy = require('passport-google').Strategy;
GoogleOAuth2Strategy = require('passport-google-oauth').OAuth2Strate... | true |
###
Module dependencies.
###
express = require("express")
http = require("http")
https = require("https")
path = require("path")
passport = require('passport')
querystring = require('querystring')
GoogleStrategy = require('passport-google').Strategy;
GoogleOAuth2Strategy = require('passport-google-oauth').OAuth2Strate... |
[
{
"context": "rce: {\n resourceType: 'Task', name: 'foo bar'\n })]\n )[0].fhir_create_resou",
"end": 4682,
"score": 0.9480881690979004,
"start": 4675,
"tag": "NAME",
"value": "foo bar"
},
{
"context": "ource\n )\n assert.equal(created.name... | test/integration_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../plpl/src/plv8')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'Integration',->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
it 'conformance', ->
plv8.execute(
'SELECT fhir_create_storage($1)',
[JSON.stringify(resourceType: 'T... | 65412 | plv8 = require('../plpl/src/plv8')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'Integration',->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
it 'conformance', ->
plv8.execute(
'SELECT fhir_create_storage($1)',
[JSON.stringify(resourceType: 'T... | true | plv8 = require('../plpl/src/plv8')
assert = require('assert')
copy = (x)-> JSON.parse(JSON.stringify(x))
describe 'Integration',->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
it 'conformance', ->
plv8.execute(
'SELECT fhir_create_storage($1)',
[JSON.stringify(resourceType: 'T... |
[
{
"context": " and imbedded uppercased word\nMY_DOG = \" My dog, Tommy, is a really smart dog. \"\nSTRONG_HAS = MY_DO",
"end": 149,
"score": 0.9994627237319946,
"start": 144,
"tag": "NAME",
"value": "Tommy"
}
] | test/has.coffee | littlebee/bumble-strings | 0 |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, Tommy, is a really smart dog. "
STRONG_HAS = MY_DOG.slice(6, 15)
WEAK_HAS = BStr.trim(MY_DOG.slice(6, 20), all: true)
NON_MATCHING = ["smart cat", "smart unicorn.", "Somt... | 135530 |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, <NAME>, is a really smart dog. "
STRONG_HAS = MY_DOG.slice(6, 15)
WEAK_HAS = BStr.trim(MY_DOG.slice(6, 20), all: true)
NON_MATCHING = ["smart cat", "smart unicorn.", "Som... | true |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, PI:NAME:<NAME>END_PI, is a really smart dog. "
STRONG_HAS = MY_DOG.slice(6, 15)
WEAK_HAS = BStr.trim(MY_DOG.slice(6, 20), all: true)
NON_MATCHING = ["smart cat", "smart u... |
[
{
"context": "GS IN THE SOFTWARE.\n\n# Taken from hubot at commit 71d1c686d9ffdfad54751080c699979fa17190a1 and modified to fit current use.\n\n{inspect} = req",
"end": 1166,
"score": 0.976119875907898,
"start": 1126,
"tag": "PASSWORD",
"value": "71d1c686d9ffdfad54751080c699979fa17190a1"
}
... | src/listener.coffee | kumpelblase2/modlab-chat | 0 | # Copyright (c) 2013 GitHub Inc.
#
# 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,
# dis... | 180664 | # Copyright (c) 2013 GitHub Inc.
#
# 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,
# dis... | true | # Copyright (c) 2013 GitHub Inc.
#
# 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,
# dis... |
[
{
"context": " authentication\n # @param {?String} password the password credential to be used in HTTP basic\n # authent",
"end": 3310,
"score": 0.4628887176513672,
"start": 3302,
"tag": "PASSWORD",
"value": "password"
}
] | src/001-xml_http_request.coffee | hoodunit/node-xhr2 | 0 | # This file's name is set up in such a way that it will always show up second
# in the list of files given to coffee --join, so it can use the
# XMLHttpRequestEventTarget definition and so that the other files can assume
# that XMLHttpRequest was already defined.
http = require 'http'
https = require 'https'
os = requ... | 61000 | # This file's name is set up in such a way that it will always show up second
# in the list of files given to coffee --join, so it can use the
# XMLHttpRequestEventTarget definition and so that the other files can assume
# that XMLHttpRequest was already defined.
http = require 'http'
https = require 'https'
os = requ... | true | # This file's name is set up in such a way that it will always show up second
# in the list of files given to coffee --join, so it can use the
# XMLHttpRequestEventTarget definition and so that the other files can assume
# that XMLHttpRequest was already defined.
http = require 'http'
https = require 'https'
os = requ... |
[
{
"context": " \"0.0.1\"')\n expect(path).toContain('author: \"John Doe\"')\n expect(path).toContain('description: \"a ",
"end": 1051,
"score": 0.9998074769973755,
"start": 1043,
"tag": "NAME",
"value": "John Doe"
}
] | test/functionals/generators/project.gen.spec.coffee | bcmw/neat | 1 | require '../../test_helper'
Neat = require '../../../lib/neat'
{run} = Neat.require 'utils/commands'
{print} = require 'util'
describe 'when outside a project', ->
beforeEach -> process.chdir TEST_TMP_DIR
describe 'running `neat generate project`', ->
it "should return a status of 1 and don't generate anythi... | 32913 | require '../../test_helper'
Neat = require '../../../lib/neat'
{run} = Neat.require 'utils/commands'
{print} = require 'util'
describe 'when outside a project', ->
beforeEach -> process.chdir TEST_TMP_DIR
describe 'running `neat generate project`', ->
it "should return a status of 1 and don't generate anythi... | true | require '../../test_helper'
Neat = require '../../../lib/neat'
{run} = Neat.require 'utils/commands'
{print} = require 'util'
describe 'when outside a project', ->
beforeEach -> process.chdir TEST_TMP_DIR
describe 'running `neat generate project`', ->
it "should return a status of 1 and don't generate anythi... |
[
{
"context": "iption:\n# Jodo co, ¿qué pasa co?\n#\n# Author:\n# Francho\n\nmodule.exports = (robot) ->\n leaveReplies = [\n ",
"end": 65,
"score": 0.9993433952331543,
"start": 58,
"tag": "NAME",
"value": "Francho"
}
] | scripts/co.coffee | francho/agilico | 1 | # Description:
# Jodo co, ¿qué pasa co?
#
# Author:
# Francho
module.exports = (robot) ->
leaveReplies = [
'https://www.youtube.com/watch?v=zAo7fS_8a60',
'¿qué pasa co?',
'cooooooo!!!',
'hey co',
'jodo co',
'chicooooo',
'nada co',
'noooooojodas co',
'co, ¿y eso co?'
]
rob... | 81176 | # Description:
# Jodo co, ¿qué pasa co?
#
# Author:
# <NAME>
module.exports = (robot) ->
leaveReplies = [
'https://www.youtube.com/watch?v=zAo7fS_8a60',
'¿qué pasa co?',
'cooooooo!!!',
'hey co',
'jodo co',
'chicooooo',
'nada co',
'noooooojodas co',
'co, ¿y eso co?'
]
robo... | true | # Description:
# Jodo co, ¿qué pasa co?
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
leaveReplies = [
'https://www.youtube.com/watch?v=zAo7fS_8a60',
'¿qué pasa co?',
'cooooooo!!!',
'hey co',
'jodo co',
'chicooooo',
'nada co',
'noooooojodas co',
'co, ¿y eso co... |
[
{
"context": "eate\n username: 'admin'\n password: 'admin'\n email: 'shaunfarrell@g.harvard.edu'\n ",
"end": 1589,
"score": 0.9995458126068115,
"start": 1584,
"tag": "PASSWORD",
"value": "admin"
},
{
"context": "'admin'\n password: 'admin'\n emai... | src/modules/data.coffee | Soundscape/sublime-oauth2 | 0 | Core = require 'sublime-core'
Data = require 'sublime-data'
mongo = require 'sails-mongo'
models = [
new Data.Model(
{ identity: 'token', connection: 'primary', autoPK: false },
{
userId: { type: 'string', required: true }
clientId: { type: 'string', required: true }
value: { type: 'string'... | 20645 | Core = require 'sublime-core'
Data = require 'sublime-data'
mongo = require 'sails-mongo'
models = [
new Data.Model(
{ identity: 'token', connection: 'primary', autoPK: false },
{
userId: { type: 'string', required: true }
clientId: { type: 'string', required: true }
value: { type: 'string'... | true | Core = require 'sublime-core'
Data = require 'sublime-data'
mongo = require 'sails-mongo'
models = [
new Data.Model(
{ identity: 'token', connection: 'primary', autoPK: false },
{
userId: { type: 'string', required: true }
clientId: { type: 'string', required: true }
value: { type: 'string'... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991328120231628,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-response-close.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... | 31122 | # 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": "###\nAuthors: Nick Giancola (@patbenatar), Brendan Loudermilk (@bloudermilk)\n",
"end": 26,
"score": 0.9998705983161926,
"start": 13,
"tag": "NAME",
"value": "Nick Giancola"
},
{
"context": "###\nAuthors: Nick Giancola (@patbenatar), Brendan Loudermilk (@bloudermilk)\nH... | vendor/assets/javascripts/jquery.nested_attributes.coffee | teadur/registry | 29 | ###
Authors: Nick Giancola (@patbenatar), Brendan Loudermilk (@bloudermilk)
Homepage: https://github.com/patbenatar/jquery-nested_attributes
###
$ = jQuery
methods =
init: (options) ->
$el = $(@)
throw "Can't initialize more than one item at a time" if $el.length > 1
if $el.data("nestedAttributes")
... | 181235 | ###
Authors: <NAME> (@patbenatar), <NAME> (@bloudermilk)
Homepage: https://github.com/patbenatar/jquery-nested_attributes
###
$ = jQuery
methods =
init: (options) ->
$el = $(@)
throw "Can't initialize more than one item at a time" if $el.length > 1
if $el.data("nestedAttributes")
throw "Can't initi... | true | ###
Authors: PI:NAME:<NAME>END_PI (@patbenatar), PI:NAME:<NAME>END_PI (@bloudermilk)
Homepage: https://github.com/patbenatar/jquery-nested_attributes
###
$ = jQuery
methods =
init: (options) ->
$el = $(@)
throw "Can't initialize more than one item at a time" if $el.length > 1
if $el.data("nestedAttribute... |
[
{
"context": "t: poem.tiger}\n annotation2 = {id: 2, user: poem.tiger}\n annotation3 = {id: 3, tags: ['Tiger']}\n\n",
"end": 4326,
"score": 0.9939451217651367,
"start": 4316,
"tag": "USERNAME",
"value": "poem.tiger"
},
{
"context": "oteSelector\",\n \"exact... | h/static/scripts/test/view-filter-test.coffee | noscripter/h | 2 | {module, inject} = angular.mock
poem =
tiger: 'Tiger! Tiger! burning bright
In the forest of the night
What immortal hand or eye
Could frame thy fearful symmetry?'
raven: 'Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of... | 104046 | {module, inject} = angular.mock
poem =
tiger: 'Tiger! Tiger! burning bright
In the forest of the night
What immortal hand or eye
Could frame thy fearful symmetry?'
raven: 'Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of... | true | {module, inject} = angular.mock
poem =
tiger: 'Tiger! Tiger! burning bright
In the forest of the night
What immortal hand or eye
Could frame thy fearful symmetry?'
raven: 'Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of... |
[
{
"context": "\n url: '/:title'\n views:\n 'content@courses.show':\n controller: 'ContentCtrl'\n ",
"end": 766,
"score": 0.9971720576286316,
"start": 746,
"tag": "EMAIL",
"value": "content@courses.show"
}
] | client/app/src/routes.coffee | codyseibert/webdevpro | 1 | module.exports = [
'$stateProvider'
'$urlRouterProvider'
'$locationProvider'
(
$stateProvider
$urlRouterProvider
$locationProvider
) ->
$urlRouterProvider.otherwise '/courses'
$locationProvider.html5Mode enabled: true, requireBase: false
$locationProvider.hashPrefix '!'
$statePr... | 211808 | module.exports = [
'$stateProvider'
'$urlRouterProvider'
'$locationProvider'
(
$stateProvider
$urlRouterProvider
$locationProvider
) ->
$urlRouterProvider.otherwise '/courses'
$locationProvider.html5Mode enabled: true, requireBase: false
$locationProvider.hashPrefix '!'
$statePr... | true | module.exports = [
'$stateProvider'
'$urlRouterProvider'
'$locationProvider'
(
$stateProvider
$urlRouterProvider
$locationProvider
) ->
$urlRouterProvider.otherwise '/courses'
$locationProvider.html5Mode enabled: true, requireBase: false
$locationProvider.hashPrefix '!'
$statePr... |
[
{
"context": "# Droplet Treewalker framework.\n#\n# Copyright (c) Anthony Bau (dab1998@gmail.com)\n# MIT License\nhelper = requir",
"end": 61,
"score": 0.9998647570610046,
"start": 50,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "ewalker framework.\n#\n# Copyright (c) Antho... | src/treewalk.coffee | sanyaade-teachings/spresensedroplet | 0 | # Droplet Treewalker framework.
#
# Copyright (c) Anthony Bau (dab1998@gmail.com)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
Graph = require 'node-dijkstra'
EMPTY_OBJECT = {}
exports.createTreewalkParser = (parse, config, root) ->
class Tree... | 202545 | # Droplet Treewalker framework.
#
# Copyright (c) <NAME> (<EMAIL>)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
Graph = require 'node-dijkstra'
EMPTY_OBJECT = {}
exports.createTreewalkParser = (parse, config, root) ->
class TreewalkParser exte... | true | # Droplet Treewalker framework.
#
# Copyright (c) PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
Graph = require 'node-dijkstra'
EMPTY_OBJECT = {}
exports.createTreewalkParser = (parse, config, root) -... |
[
{
"context": "addData( globe_data, {format: 'magnitude', name: \"hello\"} )\n\t\t\t\t\t\t@globe.createPoints()\n\t\t\t\t\t\t@globe.anim",
"end": 12772,
"score": 0.9904717206954956,
"start": 12767,
"tag": "NAME",
"value": "hello"
}
] | bin/core/plugins/Sidebar/media/Sidebar.coffee | mkg20001/Fuzium | 0 | class Sidebar extends Class
constructor: ->
@tag = null
@container = null
@opened = false
@width = 410
@fixbutton = $(".fixbutton")
@fixbutton_addx = 0
@fixbutton_initx = 0
@fixbutton_targetx = 0
@page_width = $(window).width()
@frame = $("#webview")
@initFixbutton()
@dragStarted = 0
@globe =... | 15068 | class Sidebar extends Class
constructor: ->
@tag = null
@container = null
@opened = false
@width = 410
@fixbutton = $(".fixbutton")
@fixbutton_addx = 0
@fixbutton_initx = 0
@fixbutton_targetx = 0
@page_width = $(window).width()
@frame = $("#webview")
@initFixbutton()
@dragStarted = 0
@globe =... | true | class Sidebar extends Class
constructor: ->
@tag = null
@container = null
@opened = false
@width = 410
@fixbutton = $(".fixbutton")
@fixbutton_addx = 0
@fixbutton_initx = 0
@fixbutton_targetx = 0
@page_width = $(window).width()
@frame = $("#webview")
@initFixbutton()
@dragStarted = 0
@globe =... |
[
{
"context": "\"title\": \"Artusi\"\n\n\"api\":\n \"baseUrl\": \"http://diegopinna.com/co",
"end": 16,
"score": 0.9982131719589233,
"start": 10,
"tag": "NAME",
"value": "Artusi"
}
] | config/config.cson | robertDpi/mangiabene | 0 | "title": "Artusi"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
"translation":
"displayed" : ["en", "fr"]
"prefered": "en"
# BOOKMARK PAGE
"bookmark":
"cache":
#increased this from 10
"capacity": 20
# CACHE
# Todo: tweak the values... | 51023 | "title": "<NAME>"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
"translation":
"displayed" : ["en", "fr"]
"prefered": "en"
# BOOKMARK PAGE
"bookmark":
"cache":
#increased this from 10
"capacity": 20
# CACHE
# Todo: tweak the values... | true | "title": "PI:NAME:<NAME>END_PI"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
"translation":
"displayed" : ["en", "fr"]
"prefered": "en"
# BOOKMARK PAGE
"bookmark":
"cache":
#increased this from 10
"capacity": 20
# CACHE
# Todo: tw... |
[
{
"context": "d for pixi.js with every basics you need\n# @author David Ronai / Makiopolis.com / @Makio64 \n# \nclass Stage2d\n\n\t@",
"end": 73,
"score": 0.999854564666748,
"start": 62,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "th every basics you need\n# @author David ... | src/coffee/core/2d/Stage2d.coffee | Makio64/Kyari | 0 | #
# Stageed for pixi.js with every basics you need
# @author David Ronai / Makiopolis.com / @Makio64
#
class Stage2d
@stage : null
@renderer : null
@init:(options)->
view = options.view||null
transparent = options.transparent||false
antialias = options.antialias||false
preserveDrawingBuffer = options.... | 39949 | #
# Stageed for pixi.js with every basics you need
# @author <NAME> / M<EMAIL> / @Makio64
#
class Stage2d
@stage : null
@renderer : null
@init:(options)->
view = options.view||null
transparent = options.transparent||false
antialias = options.antialias||false
preserveDrawingBuffer = options.antialias||... | true | #
# Stageed for pixi.js with every basics you need
# @author PI:NAME:<NAME>END_PI / MPI:EMAIL:<EMAIL>END_PI / @Makio64
#
class Stage2d
@stage : null
@renderer : null
@init:(options)->
view = options.view||null
transparent = options.transparent||false
antialias = options.antialias||false
preserveDrawin... |
[
{
"context": "et \"/app/html\", (req, res) ->\n res.send(\"<html>Herman Melville</html>\")\n\ndescribe \"e2e baseUrl\", ->\n context \"h",
"end": 133,
"score": 0.999855637550354,
"start": 118,
"tag": "NAME",
"value": "Herman Melville"
}
] | packages/server/test/e2e/1_base_url_spec.coffee | nongmanh/cypress | 2 | e2e = require("../support/helpers/e2e")
onServer = (app) ->
app.get "/app/html", (req, res) ->
res.send("<html>Herman Melville</html>")
describe "e2e baseUrl", ->
context "https", ->
e2e.setup({
settings: {
baseUrl: "https://httpbin.org"
}
})
e2e.it "passes", {
spec: "ba... | 67152 | e2e = require("../support/helpers/e2e")
onServer = (app) ->
app.get "/app/html", (req, res) ->
res.send("<html><NAME></html>")
describe "e2e baseUrl", ->
context "https", ->
e2e.setup({
settings: {
baseUrl: "https://httpbin.org"
}
})
e2e.it "passes", {
spec: "base_url_sp... | true | e2e = require("../support/helpers/e2e")
onServer = (app) ->
app.get "/app/html", (req, res) ->
res.send("<html>PI:NAME:<NAME>END_PI</html>")
describe "e2e baseUrl", ->
context "https", ->
e2e.setup({
settings: {
baseUrl: "https://httpbin.org"
}
})
e2e.it "passes", {
spec... |
[
{
"context": " @body.calendar.should.have.property 'name', 'random.test@gmail.com'\n\n describe \"POST /import/ical the calenda",
"end": 4007,
"score": 0.9999217391014099,
"start": 3986,
"tag": "EMAIL",
"value": "random.test@gmail.com"
}
] | test/ical_test.coffee | aenario/cozy-agenda | 2 | should = require 'should'
async = require 'async'
moment = require 'moment-timezone'
Client = require('request-json').JsonClient
client = new Client "http://localhost:8888/"
clientDS = new Client 'http://localhost:9101'
helpers = require './helpers'
{ICalParser, VCalendar, VAlarm, VTodo, VEvent} = require 'cozy-ical'... | 35486 | should = require 'should'
async = require 'async'
moment = require 'moment-timezone'
Client = require('request-json').JsonClient
client = new Client "http://localhost:8888/"
clientDS = new Client 'http://localhost:9101'
helpers = require './helpers'
{ICalParser, VCalendar, VAlarm, VTodo, VEvent} = require 'cozy-ical'... | true | should = require 'should'
async = require 'async'
moment = require 'moment-timezone'
Client = require('request-json').JsonClient
client = new Client "http://localhost:8888/"
clientDS = new Client 'http://localhost:9101'
helpers = require './helpers'
{ICalParser, VCalendar, VAlarm, VTodo, VEvent} = require 'cozy-ical'... |
[
{
"context": "= undefined\n $timeout = undefined\n validName = 'Paul'\n invalidName = 'Pa'\n\n beforeEach module('res.s",
"end": 112,
"score": 0.9996418952941895,
"start": 108,
"tag": "NAME",
"value": "Paul"
},
{
"context": "= undefined\n validName = 'Paul'\n invalidName = 'Pa'... | test/showErrors.spec.coffee | Cadre5/res-show-errors | 0 | describe 'showErrors', ->
$compile = undefined
$scope = undefined
$timeout = undefined
validName = 'Paul'
invalidName = 'Pa'
beforeEach module('res.showErrors')
beforeEach inject((_$compile_, _$rootScope_, _$timeout_) ->
$compile = _$compile_
$scope = _$rootScope_
$timeout = _$timeout_
)
... | 152594 | describe 'showErrors', ->
$compile = undefined
$scope = undefined
$timeout = undefined
validName = '<NAME>'
invalidName = '<NAME>'
beforeEach module('res.showErrors')
beforeEach inject((_$compile_, _$rootScope_, _$timeout_) ->
$compile = _$compile_
$scope = _$rootScope_
$timeout = _$timeout_
... | true | describe 'showErrors', ->
$compile = undefined
$scope = undefined
$timeout = undefined
validName = 'PI:NAME:<NAME>END_PI'
invalidName = 'PI:NAME:<NAME>END_PI'
beforeEach module('res.showErrors')
beforeEach inject((_$compile_, _$rootScope_, _$timeout_) ->
$compile = _$compile_
$scope = _$rootScope... |
[
{
"context": "ty: quantity,\n taxRate: {\n name: \"some_name\",\n amount: 0.19,\n includedInPri",
"end": 5668,
"score": 0.9954528212547302,
"start": 5659,
"tag": "NAME",
"value": "some_name"
},
{
"context": " }\n },\n taxRate: {\n ... | src/coffee/sphere_test_kit.coffee | sphereio/sphere-message-processing | 0 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
{ErrorStatusCode} = require './sphere_service'
{LoggerFactory} = require '../lib/logger'
class SphereTestKit
stateDefs: [
{key: "A", transitions: ["B"]}
{key: "B", transitions: ["C", "D"]}
{key: "C", transitions: ["D"]}
{key: "D", transiti... | 12099 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
{ErrorStatusCode} = require './sphere_service'
{LoggerFactory} = require '../lib/logger'
class SphereTestKit
stateDefs: [
{key: "A", transitions: ["B"]}
{key: "B", transitions: ["C", "D"]}
{key: "C", transitions: ["D"]}
{key: "D", transiti... | true | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
{ErrorStatusCode} = require './sphere_service'
{LoggerFactory} = require '../lib/logger'
class SphereTestKit
stateDefs: [
{key: "A", transitions: ["B"]}
{key: "B", transitions: ["C", "D"]}
{key: "C", transitions: ["D"]}
{key: "D", transiti... |
[
{
"context": " @interval = 1000\n @key = options['key'] || 'clock'\n @maxMilliseconds = options['maxMilliseconds'",
"end": 230,
"score": 0.9599863290786743,
"start": 225,
"tag": "KEY",
"value": "clock"
}
] | app/assets/javascripts/models/timer.js.coffee | stronglifters/surface | 2 | class Stronglifters.Timer
constructor: (options) ->
@databag = options['databag']
@format = options['format'] || (timer) ->
moment.utc(timer).format('mm:ss')
@interval = 1000
@key = options['key'] || 'clock'
@maxMilliseconds = options['maxMilliseconds'] || 600000
@success = options['succ... | 146854 | class Stronglifters.Timer
constructor: (options) ->
@databag = options['databag']
@format = options['format'] || (timer) ->
moment.utc(timer).format('mm:ss')
@interval = 1000
@key = options['key'] || '<KEY>'
@maxMilliseconds = options['maxMilliseconds'] || 600000
@success = options['succ... | true | class Stronglifters.Timer
constructor: (options) ->
@databag = options['databag']
@format = options['format'] || (timer) ->
moment.utc(timer).format('mm:ss')
@interval = 1000
@key = options['key'] || 'PI:KEY:<KEY>END_PI'
@maxMilliseconds = options['maxMilliseconds'] || 600000
@success = ... |
[
{
"context": "orts = lemon.Component {\n package: 'wg'\n name: 'LoonCrest'\n class: 'webgradient'\n\n data: {\n pos",
"end": 175,
"score": 0.80583256483078,
"start": 173,
"tag": "NAME",
"value": "Lo"
},
{
"context": "ts = lemon.Component {\n package: 'wg'\n name: 'LoonCrest'... | LoonCrest.coffee | lemon/lemonjs-wg | 0 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'LoonCrest'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background: linear... | 157966 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: '<NAME>onCrest'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background: li... | true |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'PI:NAME:<NAME>END_PIonCrest'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "... |
[
{
"context": "data()\n .ondata((data) ->\n data.set([{id:'frasse', hej:\"då\"}, {id:'staffan', gurka:'groen'}])\n ",
"end": 370,
"score": 0.997245192527771,
"start": 364,
"tag": "NAME",
"value": "frasse"
},
{
"context": "data((data) ->\n data.set([{id:'frasse', hej:\"... | examples/index.coffee | KONDENSATOR/bucket | 1 | _ = require('underscore')
bucket = require("../index")
# Initialize test-data bucket and master branch
master_test_data = () ->
bucket("test-data")
.onerr((err) -> console.log("ERROR: #{err}"))
.use()
# Test insert, store, query, filter, map and store again
insert_and_query = () ->
master_test_data()... | 28931 | _ = require('underscore')
bucket = require("../index")
# Initialize test-data bucket and master branch
master_test_data = () ->
bucket("test-data")
.onerr((err) -> console.log("ERROR: #{err}"))
.use()
# Test insert, store, query, filter, map and store again
insert_and_query = () ->
master_test_data()... | true | _ = require('underscore')
bucket = require("../index")
# Initialize test-data bucket and master branch
master_test_data = () ->
bucket("test-data")
.onerr((err) -> console.log("ERROR: #{err}"))
.use()
# Test insert, store, query, filter, map and store again
insert_and_query = () ->
master_test_data()... |
[
{
"context": "a näkyvät NPC-hahmot\n\nmodule.exports = [\n name: \"Fortunei\"\n admin: true\n,\n name: \"Joanna\"\n admin: true\n,",
"end": 67,
"score": 0.999743640422821,
"start": 59,
"tag": "NAME",
"value": "Fortunei"
},
{
"context": "s = [\n name: \"Fortunei\"\n admin: true\... | db/fixtures/npcs.coffee | woochi/cyberia | 0 | # Chatissa näkyvät NPC-hahmot
module.exports = [
name: "Fortunei"
admin: true
,
name: "Joanna"
admin: true
,
name: "Dick Dickinson"
admin: true
,
name: "Metatron"
admin: true
,
name: "Latisha"
admin: true
,
name: "Baer Chinwe"
admin: true
,
name: "Vivian Karlsen"
admin: true
,
name: "Char... | 192978 | # Chatissa näkyvät NPC-hahmot
module.exports = [
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name: "<NAME>"
admin: true
,
name... | true | # Chatissa näkyvät NPC-hahmot
module.exports = [
name: "PI:NAME:<NAME>END_PI"
admin: true
,
name: "PI:NAME:<NAME>END_PI"
admin: true
,
name: "PI:NAME:<NAME>END_PI"
admin: true
,
name: "PI:NAME:<NAME>END_PI"
admin: true
,
name: "PI:NAME:<NAME>END_PI"
admin: true
,
name: "PI:NAME:<NAME>END_PI"
ad... |
[
{
"context": "'Django Unchained'\n\nconfig =\n author:\n name: 'Reuben Cummings'\n url: 'https://reubano.github.io'\n email: ",
"end": 77,
"score": 0.9998772740364075,
"start": 62,
"tag": "NAME",
"value": "Reuben Cummings"
},
{
"context": "\n url: 'https://reubano.github... | app/config.coffee | Luciekimotho/HDX-Hackathon | 0 | site_name = 'Django Unchained'
config =
author:
name: 'Reuben Cummings'
url: 'https://reubano.github.io'
email: 'reubano@gmail.com'
site:
title: site_name
description: 'Kenya Conflict'
url: 'http://nerevu.github.io/akili/'
data: 'https://data.hdx.rwlabs.org/dataset/wfp-food-prices'
... | 175780 | site_name = 'Django Unchained'
config =
author:
name: '<NAME>'
url: 'https://reubano.github.io'
email: '<EMAIL>'
site:
title: site_name
description: 'Kenya Conflict'
url: 'http://nerevu.github.io/akili/'
data: 'https://data.hdx.rwlabs.org/dataset/wfp-food-prices'
source: 'https://g... | true | site_name = 'Django Unchained'
config =
author:
name: 'PI:NAME:<NAME>END_PI'
url: 'https://reubano.github.io'
email: 'PI:EMAIL:<EMAIL>END_PI'
site:
title: site_name
description: 'Kenya Conflict'
url: 'http://nerevu.github.io/akili/'
data: 'https://data.hdx.rwlabs.org/dataset/wfp-food-p... |
[
{
"context": " }\n cacheParams = {\n key: \"#{api.fullname}-games-#{region}-#{summonerId}\"\n ",
"end": 1624,
"score": 0.9533486366271973,
"start": 1621,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "}\n cacheParams = {\n key: \"#{api.f... | src/api/game.coffee | jwalton/lol-js | 30 | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "game-v1.3",
name: "game",
version: "v1.3"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region` ... | 149201 | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "game-v1.3",
name: "game",
version: "v1.3"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region` ... | true | assert = require 'assert'
ld = require 'lodash'
pb = require 'promise-breaker'
matchApi = require './match'
api = exports.api = {
fullname: "game-v1.3",
name: "game",
version: "v1.3"
}
exports.methods = {
# Gets recent games for this given summoner.
#
# Parameters:
# * `region` ... |
[
{
"context": "next) ->\n email = req.body.email\n password = req.body.password\n req.login email, password, (err, user) ->\n ",
"end": 128,
"score": 0.9938876032829285,
"start": 111,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | src/routes.coffee | reaktivo/lox | 0 | exports.login = (success = "/", fail = "/") ->
(req, res, next) ->
email = req.body.email
password = req.body.password
req.login email, password, (err, user) ->
res.redirect (if user then success else fail)
exports.logout = (success = "/", fail = "/") ->
(req, res, next) ->
req.logout (err) -... | 154420 | exports.login = (success = "/", fail = "/") ->
(req, res, next) ->
email = req.body.email
password = <PASSWORD>
req.login email, password, (err, user) ->
res.redirect (if user then success else fail)
exports.logout = (success = "/", fail = "/") ->
(req, res, next) ->
req.logout (err) ->
... | true | exports.login = (success = "/", fail = "/") ->
(req, res, next) ->
email = req.body.email
password = PI:PASSWORD:<PASSWORD>END_PI
req.login email, password, (err, user) ->
res.redirect (if user then success else fail)
exports.logout = (success = "/", fail = "/") ->
(req, res, next) ->
req.log... |
[
{
"context": "ar()\n\t\t\t\n\t\t\tcontext.translate -@camera.position.i, -@camera.position.j\n\n\t\t\tcontext.font = '10px \"Helvetica CY\"'\n",
"end": 1454,
"score": 0.9541225433349609,
"start": 1435,
"tag": "EMAIL",
"value": "-@camera.position.j"
}
] | src/unsorted/editor/client.coffee | sustained/MotionJS-pre-release | 1 | require [
'client/game'
'entity'
'camera'
'canvas'
'math/vector'
'geometry/polygon'
'geometry/circle'
'collision/SAT'
'dynamics/world'
'collision/aabb'
'screen'
#'http://localhost:8080/socket.io/socket.io.js'
], (Game, Entity, Camera, Canvas, Colour, Vector, Polygon, Circle, SAT, World, AABB, Screen) ->... | 102162 | require [
'client/game'
'entity'
'camera'
'canvas'
'math/vector'
'geometry/polygon'
'geometry/circle'
'collision/SAT'
'dynamics/world'
'collision/aabb'
'screen'
#'http://localhost:8080/socket.io/socket.io.js'
], (Game, Entity, Camera, Canvas, Colour, Vector, Polygon, Circle, SAT, World, AABB, Screen) ->... | true | require [
'client/game'
'entity'
'camera'
'canvas'
'math/vector'
'geometry/polygon'
'geometry/circle'
'collision/SAT'
'dynamics/world'
'collision/aabb'
'screen'
#'http://localhost:8080/socket.io/socket.io.js'
], (Game, Entity, Camera, Canvas, Colour, Vector, Polygon, Circle, SAT, World, AABB, Screen) ->... |
[
{
"context": " @sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222\n\n describe",
"end": 562,
"score": 0.42892736196517944,
"start": 557,
"tag": "KEY",
"value": "token"
}
] | test/status-spec.coffee | octoblu/node-meshblu-xmpp | 1 | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Status', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts,... | 218127 | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Status', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts,... | true | _ = require 'lodash'
async = require 'async'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'Status', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authenticate', (opts,... |
[
{
"context": ">\n\t\t\tcfg =\n\t\t\t\tuserName: config.user\n\t\t\t\tpassword: config.password\n\t\t\t\thost: config.server\n\t\t\t\tport: config.port\n\t\t\t",
"end": 4613,
"score": 0.9993476271629333,
"start": 4598,
"tag": "PASSWORD",
"value": "config.password"
}
] | src/tds.coffee | Earny/node-mssql | 0 | {Pool} = require 'generic-pool'
tds = require 'tds'
util = require 'util'
FIXED = false
{TYPES, declare} = require('./datatypes')
ISOLATION_LEVEL = require('./isolationlevel')
###
@ignore
###
castParameter = (value, type) ->
unless value? then return null
switch type
when TYPES.VarChar, TYPES.NVarChar, TYPES.C... | 20195 | {Pool} = require 'generic-pool'
tds = require 'tds'
util = require 'util'
FIXED = false
{TYPES, declare} = require('./datatypes')
ISOLATION_LEVEL = require('./isolationlevel')
###
@ignore
###
castParameter = (value, type) ->
unless value? then return null
switch type
when TYPES.VarChar, TYPES.NVarChar, TYPES.C... | true | {Pool} = require 'generic-pool'
tds = require 'tds'
util = require 'util'
FIXED = false
{TYPES, declare} = require('./datatypes')
ISOLATION_LEVEL = require('./isolationlevel')
###
@ignore
###
castParameter = (value, type) ->
unless value? then return null
switch type
when TYPES.VarChar, TYPES.NVarChar, TYPES.C... |
[
{
"context": "y (http://jquery.com)\n\n@source: http://github.com/zaniitiin/band-clock/\n@autor: Nitin Jha\n@version: 1.0\n###\n\n",
"end": 313,
"score": 0.9725514054298401,
"start": 304,
"tag": "USERNAME",
"value": "zaniitiin"
},
{
"context": "e: http://github.com/zaniitiin/band-clo... | bandClock.coffee | mohanhegde/fork_repo | 0 | ###
Band Clock is a jquery plugin to display a dynamic band clock.
Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
Built on top of the jQuery library (http://jquery.com)
@source: http://github.com/zaniitiin/band-c... | 59490 | ###
Band Clock is a jquery plugin to display a dynamic band clock.
Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
Built on top of the jQuery library (http://jquery.com)
@source: http://github.com/zaniitiin/band-c... | true | ###
Band Clock is a jquery plugin to display a dynamic band clock.
Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
Built on top of the jQuery library (http://jquery.com)
@source: http://github.com/zaniitiin/band-c... |
[
{
"context": "on-email\"]').val()\r\n password = $('input[name=\"houston-password\"]').val()\r\n\r\n afterLogin = (error) ->",
"end": 258,
"score": 0.9660490155220032,
"start": 251,
"tag": "PASSWORD",
"value": "houston"
},
{
"context": "ateUser {\r\n email: email\r\n ... | packages/houston/client/admin_login.coffee | reillyisawesome/Nectar | 3 | Template._houston_login.helpers(
logged_in: -> Meteor.user()
)
Template._houston_login.events(
'submit #houston-sign-in-form': (e) ->
e.preventDefault()
email = $('input[name="houston-email"]').val()
password = $('input[name="houston-password"]').val()
afterLogin = (error) ->
# TO... | 134049 | Template._houston_login.helpers(
logged_in: -> Meteor.user()
)
Template._houston_login.events(
'submit #houston-sign-in-form': (e) ->
e.preventDefault()
email = $('input[name="houston-email"]').val()
password = $('input[name="<PASSWORD>-password"]').val()
afterLogin = (error) ->
#... | true | Template._houston_login.helpers(
logged_in: -> Meteor.user()
)
Template._houston_login.events(
'submit #houston-sign-in-form': (e) ->
e.preventDefault()
email = $('input[name="houston-email"]').val()
password = $('input[name="PI:PASSWORD:<PASSWORD>END_PI-password"]').val()
afterLogin = (... |
[
{
"context": ")\n data: -> {\n supportEmail: \"<a href='mailto:support@codecombat.com'>support@codecombat.com</a>\"\n saving: true\n ",
"end": 212,
"score": 0.9999250173568726,
"start": 190,
"tag": "EMAIL",
"value": "support@codecombat.com"
},
{
"context": "rtEmail: \"<a hre... | app/views/core/CreateAccountModal/teacher/SetupAccountPanel.coffee | johanvl/codecombat | 2 | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:support@codecombat.com'>support@codecombat.com</a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/c... | 198055 | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:<EMAIL>'><EMAIL></a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/createAccount')
.catch (e) ... | true | SetupAccountPanel = Vue.extend
name: 'setup-account-panel'
template: require('templates/core/create-account-modal/setup-account-panel')()
data: -> {
supportEmail: "<a href='mailto:PI:EMAIL:<EMAIL>END_PI'>PI:EMAIL:<EMAIL>END_PI</a>"
saving: true
error: ''
}
mounted: ->
@$store.dispatch('modal/c... |
[
{
"context": " admin: krb5\n .krb5.delprinc\n principal: \"nikita@#{krb5.realm}\"\n .krb5.addprinc\n principal:",
"end": 884,
"score": 0.9496657848358154,
"start": 878,
"tag": "EMAIL",
"value": "nikita"
},
{
"context": "krb5.realm}\"\n .krb5.addprinc\n princip... | packages/krb5/test/addprinc.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_addprinc
describe 'krb5.addprinc', ->
it 'validate schema', ->
nikita
.krb5.addprinc
relax: true
options: {}
, (err) ->
err.errors.ma... | 69560 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_addprinc
describe 'krb5.addprinc', ->
it 'validate schema', ->
nikita
.krb5.addprinc
relax: true
options: {}
, (err) ->
err.errors.ma... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, krb5} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.krb5_addprinc
describe 'krb5.addprinc', ->
it 'validate schema', ->
nikita
.krb5.addprinc
relax: true
options: {}
, (err) ->
err.errors.ma... |
[
{
"context": " participantidsstore', ->\n\n testAccountId = 'koding_123'\n\n @reactor.dispatch actions.ADD_PARTICIPANT",
"end": 532,
"score": 0.971649706363678,
"start": 522,
"tag": "KEY",
"value": "koding_123"
},
{
"context": "articipantidsstore', ->\n\n testAccountId... | client/activity/lib/flux/createchannel/tests/participantidsstore.coffee | ezgikaysi/koding | 1 | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ParticipantIdsStore = require 'activity/flux/createchannel/stores/participantidsstore'
actions = require 'activity/flux/createchannel/actions/actiontypes'
describe 'CreateNewChannelParticipantIdsStore', ->
beforeEach ->
@reactor = new Reacto... | 218320 | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ParticipantIdsStore = require 'activity/flux/createchannel/stores/participantidsstore'
actions = require 'activity/flux/createchannel/actions/actiontypes'
describe 'CreateNewChannelParticipantIdsStore', ->
beforeEach ->
@reactor = new Reacto... | true | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ParticipantIdsStore = require 'activity/flux/createchannel/stores/participantidsstore'
actions = require 'activity/flux/createchannel/actions/actiontypes'
describe 'CreateNewChannelParticipantIdsStore', ->
beforeEach ->
@reactor = new Reacto... |
[
{
"context": "\n request.post('/api/hello')\n .send({name: 'david'})\n .set('Accept', 'application/json')\n .ex",
"end": 152,
"score": 0.9976933598518372,
"start": 147,
"tag": "NAME",
"value": "david"
},
{
"context": "\n request.post('/api/hello')\n .send({name: 'ru... | src/server/hello/test.coffee | dataonlinedolv3/rupert-demo-app | 1 | request = superRupert(require('./route'))
describe "API", ->
it "checks for a hello", (done)->
request.post('/api/hello')
.send({name: 'david'})
.set('Accept', 'application/json')
.expect(200)
.expect('Content-Type', /application\/json/)
.end (err, response)->
return done(err) if err
... | 40640 | request = superRupert(require('./route'))
describe "API", ->
it "checks for a hello", (done)->
request.post('/api/hello')
.send({name: '<NAME>'})
.set('Accept', 'application/json')
.expect(200)
.expect('Content-Type', /application\/json/)
.end (err, response)->
return done(err) if err
... | true | request = superRupert(require('./route'))
describe "API", ->
it "checks for a hello", (done)->
request.post('/api/hello')
.send({name: 'PI:NAME:<NAME>END_PI'})
.set('Accept', 'application/json')
.expect(200)
.expect('Content-Type', /application\/json/)
.end (err, response)->
return done... |
[
{
"context": " for facet in results.facets when facet.key is 'accountID'\n for account in facet.value\n ",
"end": 10453,
"score": 0.8559215068817139,
"start": 10444,
"tag": "KEY",
"value": "accountID"
}
] | server/controllers/messages.coffee | gelnior/cozy-emails | 0 | Message = require '../models/message'
Account = require '../models/account'
Mailbox = require '../models/mailbox'
{NotFound, BadRequest, AccountConfigError} = require '../utils/errors'
{MSGBYPAGE} = require '../utils/constants'
_ = require 'lodash'
async = require 'async'
querystring = require 'querystring'... | 214397 | Message = require '../models/message'
Account = require '../models/account'
Mailbox = require '../models/mailbox'
{NotFound, BadRequest, AccountConfigError} = require '../utils/errors'
{MSGBYPAGE} = require '../utils/constants'
_ = require 'lodash'
async = require 'async'
querystring = require 'querystring'... | true | Message = require '../models/message'
Account = require '../models/account'
Mailbox = require '../models/mailbox'
{NotFound, BadRequest, AccountConfigError} = require '../utils/errors'
{MSGBYPAGE} = require '../utils/constants'
_ = require 'lodash'
async = require 'async'
querystring = require 'querystring'... |
[
{
"context": "ry'\n\nclippy = null\n\nlocked = false\n\nquotes = [\n 'Clever girl'\n 'Shoot her! Shoot her!'\n 'Hold on to your but",
"end": 108,
"score": 0.8437401056289673,
"start": 97,
"tag": "NAME",
"value": "Clever girl"
}
] | index.coffee | sibartlett/atom-raptorize | 2 | {Disposable} = require 'atom'
$ = require 'jquery'
clippy = null
locked = false
quotes = [
'Clever girl'
'Shoot her! Shoot her!'
'Hold on to your butts'
'Spared no expense'
'Life finds a way'
'It\'s a unix system! I know this!'
'God help us, we\'re in the hands of engineers.'
]
playSound = ->
sound ... | 165923 | {Disposable} = require 'atom'
$ = require 'jquery'
clippy = null
locked = false
quotes = [
'<NAME>'
'Shoot her! Shoot her!'
'Hold on to your butts'
'Spared no expense'
'Life finds a way'
'It\'s a unix system! I know this!'
'God help us, we\'re in the hands of engineers.'
]
playSound = ->
sound = req... | true | {Disposable} = require 'atom'
$ = require 'jquery'
clippy = null
locked = false
quotes = [
'PI:NAME:<NAME>END_PI'
'Shoot her! Shoot her!'
'Hold on to your butts'
'Spared no expense'
'Life finds a way'
'It\'s a unix system! I know this!'
'God help us, we\'re in the hands of engineers.'
]
playSound = ->... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9668498039245605,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/timeSpanToolbar.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Buttons for analysisTab which modify the time span in predefined increments
Moment = require 'moment'
Imm = require ... | 211022 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Buttons for analysisTab which modify the time span in predefined increments
Moment = require 'moment'
Imm = require ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Buttons for analysisTab which modify the time span in predefined increments
Moment = require 'moment'
... |
[
{
"context": "# Cooltip.js\n# 1.0.0\n# https://github.com/jaketlarson/cooltip\n#\n# Copyright(c) 2015 Jake Larson <codere",
"end": 53,
"score": 0.9235854744911194,
"start": 42,
"tag": "USERNAME",
"value": "jaketlarson"
},
{
"context": "thub.com/jaketlarson/cooltip\n#\n# Copyright(c) ... | src/coffee/cooltip.coffee | jaketlarson/cooltip | 0 | # Cooltip.js
# 1.0.0
# https://github.com/jaketlarson/cooltip
#
# Copyright(c) 2015 Jake Larson <codereloadrepeat@gmail.com>
# MIT Licensed. http://www.opensource.org/licenses/mit-license.php
#
# jQuery plugin boilerplate used in this script can be found at:
# https://github.com/jquery-boilerplate/jquery-boilerplate/tr... | 187 | # Cooltip.js
# 1.0.0
# https://github.com/jaketlarson/cooltip
#
# Copyright(c) 2015 <NAME> <<EMAIL>>
# MIT Licensed. http://www.opensource.org/licenses/mit-license.php
#
# jQuery plugin boilerplate used in this script can be found at:
# https://github.com/jquery-boilerplate/jquery-boilerplate/tree/master/src
(($, wind... | true | # Cooltip.js
# 1.0.0
# https://github.com/jaketlarson/cooltip
#
# Copyright(c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed. http://www.opensource.org/licenses/mit-license.php
#
# jQuery plugin boilerplate used in this script can be found at:
# https://github.com/jquery-boilerplate/jquery-boilerpla... |
[
{
"context": "= login_session_b64\n user = to_user { email_or_username, uid }\n await generate_pdpka { km : pdpka4_km,",
"end": 6141,
"score": 0.626986563205719,
"start": 6133,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ake_esc (err) -> cb err, null\n passphrase... | src/hilevel/account.iced | AngelKey/Angelkey.libweb | 15 |
triplesec = require "triplesec"
kbpgp = require 'kbpgp'
WordArray = triplesec.WordArray
{KeyManager} = kbpgp
{make_esc} = require 'iced-error'
{xor_buffers} = require '../base/util'
{athrow} = require('iced-utils').util
proofs = require 'keybase-proofs'
#===============================================================... | 90925 |
triplesec = require "triplesec"
kbpgp = require 'kbpgp'
WordArray = triplesec.WordArray
{KeyManager} = kbpgp
{make_esc} = require 'iced-error'
{xor_buffers} = require '../base/util'
{athrow} = require('iced-utils').util
proofs = require 'keybase-proofs'
#===============================================================... | true |
triplesec = require "triplesec"
kbpgp = require 'kbpgp'
WordArray = triplesec.WordArray
{KeyManager} = kbpgp
{make_esc} = require 'iced-error'
{xor_buffers} = require '../base/util'
{athrow} = require('iced-utils').util
proofs = require 'keybase-proofs'
#===============================================================... |
[
{
"context": "###\n copyright (c) 2014 Jess Austin <jess.austin@gmail.com>, MIT license\n\n jade-var-m",
"end": 35,
"score": 0.9997972249984741,
"start": 24,
"tag": "NAME",
"value": "Jess Austin"
},
{
"context": "###\n copyright (c) 2014 Jess Austin <jess.austin@gmail.com>, MIT licen... | jade-var-matter.coffee | jessaustin/jade-var-matter | 1 | ###
copyright (c) 2014 Jess Austin <jess.austin@gmail.com>, MIT license
jade-var-matter reads a Jade file, and parses the "unbuffered" code that
defines javascript `var`s.
###
{runInNewContext} = require 'vm'
regex = /(?:^|[\n;]) *- *(var [^\n;]*)[;\n]/g
module.exports = (jadeString='') ->
matches = (while arr... | 101006 | ###
copyright (c) 2014 <NAME> <<EMAIL>>, MIT license
jade-var-matter reads a Jade file, and parses the "unbuffered" code that
defines javascript `var`s.
###
{runInNewContext} = require 'vm'
regex = /(?:^|[\n;]) *- *(var [^\n;]*)[;\n]/g
module.exports = (jadeString='') ->
matches = (while arr = regex.exec jadeS... | true | ###
copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>, MIT license
jade-var-matter reads a Jade file, and parses the "unbuffered" code that
defines javascript `var`s.
###
{runInNewContext} = require 'vm'
regex = /(?:^|[\n;]) *- *(var [^\n;]*)[;\n]/g
module.exports = (jadeString='') ->
matches = ... |
[
{
"context": "IENT_ID: 'e750db60ac506978fc70'\n CLIENT_SECRET: '3a33d2085cbd1176153f99781bbce7c6'\n COOKIE_DOMAIN: null\n CRITEO_ARTWORKS_ACCOUNT_",
"end": 619,
"score": 0.9985117316246033,
"start": 587,
"tag": "KEY",
"value": "3a33d2085cbd1176153f99781bbce7c6"
},
{
"context": " ... | src/mobile/config.coffee | kanaabe/force | 0 | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference
# all environment configuration will live in environment variables.
# This file simply lays out all of those environment variables with
# sensible defaults for development.
#
module.exports =
API_REQUEST_TIMEOUT: 5000
API_URL: 'http://localho... | 64366 | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference
# all environment configuration will live in environment variables.
# This file simply lays out all of those environment variables with
# sensible defaults for development.
#
module.exports =
API_REQUEST_TIMEOUT: 5000
API_URL: 'http://localho... | true | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference
# all environment configuration will live in environment variables.
# This file simply lays out all of those environment variables with
# sensible defaults for development.
#
module.exports =
API_REQUEST_TIMEOUT: 5000
API_URL: 'http://localho... |
[
{
"context": "gorithm Name: TWOFISH\n#Principal Submitter: Bruce Schneier, Counterpane Systems\n#\n#\n\nout = []\nf = () ->\n ou",
"end": 277,
"score": 0.999869167804718,
"start": 263,
"tag": "NAME",
"value": "Bruce Schneier"
},
{
"context": "laintext : PT, ciphertext : CT } ... | test/gen/gen_twofish_ecb_tbl.iced | CyberFlameGO/triplesec | 274 | #
# From here: http://www.schneier.com/code/twofish-kat.zip
# FILENAME: "ecb_tbl.txt"
#
#Electronic Codebook (ECB) Mode
#Tables Known Answer Test
#Tests permutation tables and MDS matrix multiply tables.
#"
#Algorithm Name: TWOFISH
#Principal Submitter: Bruce Schneier, Counterpane Systems
#
#
out = []
f = () ... | 143781 | #
# From here: http://www.schneier.com/code/twofish-kat.zip
# FILENAME: "ecb_tbl.txt"
#
#Electronic Codebook (ECB) Mode
#Tables Known Answer Test
#Tests permutation tables and MDS matrix multiply tables.
#"
#Algorithm Name: TWOFISH
#Principal Submitter: <NAME>, Counterpane Systems
#
#
out = []
f = () ->
out... | true | #
# From here: http://www.schneier.com/code/twofish-kat.zip
# FILENAME: "ecb_tbl.txt"
#
#Electronic Codebook (ECB) Mode
#Tables Known Answer Test
#Tests permutation tables and MDS matrix multiply tables.
#"
#Algorithm Name: TWOFISH
#Principal Submitter: PI:NAME:<NAME>END_PI, Counterpane Systems
#
#
out = []
f... |
[
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n# ==================================",
"end": 30,
"score": 0.9992059469223022,
"start": 20,
"tag": "NAME",
"value": "Leonardone"
},
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n# ==============================... | POH8/Mizugi/Main.coffee | neetsdkasu/Paiza-POH-MyAnswers | 3 | # Try POH
# author: Leonardone @ NEETSDKASU
# ===================================================
solve = (mr) ->
[n, m] = mr.gis()
s = mr.gs()
g = mr.gs()
x = (0 for _ in [0 .. 27])
a = 'a'.charCodeAt 0
for c in s
x[c.charCodeAt(0) - a]++
for c in g
x[c.charCodeAt(0) - a]-... | 189946 | # Try POH
# author: <NAME> @ NEETSDKASU
# ===================================================
solve = (mr) ->
[n, m] = mr.gis()
s = mr.gs()
g = mr.gs()
x = (0 for _ in [0 .. 27])
a = 'a'.charCodeAt 0
for c in s
x[c.charCodeAt(0) - a]++
for c in g
x[c.charCodeAt(0) - a]--
... | true | # Try POH
# author: PI:NAME:<NAME>END_PI @ NEETSDKASU
# ===================================================
solve = (mr) ->
[n, m] = mr.gis()
s = mr.gs()
g = mr.gs()
x = (0 for _ in [0 .. 27])
a = 'a'.charCodeAt 0
for c in s
x[c.charCodeAt(0) - a]++
for c in g
x[c.charCodeA... |
[
{
"context": "pyright 2014 VictorOps, Inc.\n# https://github.com/victorops/hubot-victorops/blob/master/LICENSE\n#============",
"end": 139,
"score": 0.9995520114898682,
"start": 130,
"tag": "USERNAME",
"value": "victorops"
},
{
"context": " 'wss://chat.victorops.com/chat' )\n @pas... | src/victorops.coffee | victorops/hubot-victorops | 2 | #==========================================================================
# Copyright 2014 VictorOps, Inc.
# https://github.com/victorops/hubot-victorops/blob/master/LICENSE
#==========================================================================
Path = require 'path'
Readline = require 'readline'
WebSocket = req... | 173624 | #==========================================================================
# Copyright 2014 VictorOps, Inc.
# https://github.com/victorops/hubot-victorops/blob/master/LICENSE
#==========================================================================
Path = require 'path'
Readline = require 'readline'
WebSocket = req... | true | #==========================================================================
# Copyright 2014 VictorOps, Inc.
# https://github.com/victorops/hubot-victorops/blob/master/LICENSE
#==========================================================================
Path = require 'path'
Readline = require 'readline'
WebSocket = req... |
[
{
"context": " else\n user = {name: user.full_name_display, avatar: avatar}\n\n ctx = {\n ",
"end": 6322,
"score": 0.7698987126350403,
"start": 6310,
"tag": "USERNAME",
"value": "name_display"
},
{
"context": "te.instant(\"WIKI.DATETIME\"))\n ... | app/coffee/modules/wiki/main.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 99660 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "rtsy\", image: \"img.jpg\", photoCredit: \"Photo by Artsy\"}]\n @req = query: { 'm-id': 'foo' }\n @res =",
"end": 268,
"score": 0.7652468681335449,
"start": 265,
"tag": "NAME",
"value": "tsy"
},
{
"context": "he modal if logged in', ->\n @req.user = name: 'Andy... | src/test/lib/middleware/marketing_models.coffee | kanaabe/force | 0 | sinon = require 'sinon'
rewire = require 'rewire'
middleware = rewire '../../../lib/middleware/marketing_modals'
describe 'showMarketingSignupModal', ->
beforeEach ->
data = [{slug: "foo", copy: "welcome to artsy", image: "img.jpg", photoCredit: "Photo by Artsy"}]
@req = query: { 'm-id': 'foo' }
@res =
... | 50903 | sinon = require 'sinon'
rewire = require 'rewire'
middleware = rewire '../../../lib/middleware/marketing_modals'
describe 'showMarketingSignupModal', ->
beforeEach ->
data = [{slug: "foo", copy: "welcome to artsy", image: "img.jpg", photoCredit: "Photo by Ar<NAME>"}]
@req = query: { 'm-id': 'foo' }
@res ... | true | sinon = require 'sinon'
rewire = require 'rewire'
middleware = rewire '../../../lib/middleware/marketing_modals'
describe 'showMarketingSignupModal', ->
beforeEach ->
data = [{slug: "foo", copy: "welcome to artsy", image: "img.jpg", photoCredit: "Photo by ArPI:NAME:<NAME>END_PI"}]
@req = query: { 'm-id': 'fo... |
[
{
"context": "ame=\"csrf-param\" />\n <meta content=\"123456\" name=\"csrf-token\" />\n \"\"\"\n expect(",
"end": 4337,
"score": 0.6709045767784119,
"start": 4336,
"tag": "PASSWORD",
"value": "6"
},
{
"context": "equestData()['test_authenticity_token']).toEqual... | testapp/app/assets/javascripts/spec.coffee | t3n3t/rest_in_place | 62 | rip = null
makeRip = (html) ->
$(html)
.find('span')
.restInPlace()
.data('restInPlaceEditor')
beforeEach -> rip = null
describe "Setup", ->
describe "looking up attributes in parents", ->
beforeEach ->
rip = makeRip """
<p data-url="localhorst" data-formtype="textarea" data-object="... | 81636 | rip = null
makeRip = (html) ->
$(html)
.find('span')
.restInPlace()
.data('restInPlaceEditor')
beforeEach -> rip = null
describe "Setup", ->
describe "looking up attributes in parents", ->
beforeEach ->
rip = makeRip """
<p data-url="localhorst" data-formtype="textarea" data-object="... | true | rip = null
makeRip = (html) ->
$(html)
.find('span')
.restInPlace()
.data('restInPlaceEditor')
beforeEach -> rip = null
describe "Setup", ->
describe "looking up attributes in parents", ->
beforeEach ->
rip = makeRip """
<p data-url="localhorst" data-formtype="textarea" data-object="... |
[
{
"context": "mediately shown/hidden\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nElement.include\n\n #\n # The basic attributes h",
"end": 314,
"score": 0.9998892545700073,
"start": 297,
"tag": "NAME",
"value": "Nikolay Nemshilov"
},
{
"context": "e])\n\n else if value i... | stl/dom/src/element/commons.coffee | lovely-io/lovely.io-stl | 2 | #
# This file contains the common use methods
#
# NOTE: some methods, like `#show`, `#hide`, etc
# might take a visual effect settings, those settings
# will work only if the `fx` module is included on the page,
# otherwise the element will be immediately shown/hidden
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
Ele... | 54084 | #
# This file contains the common use methods
#
# NOTE: some methods, like `#show`, `#hide`, etc
# might take a visual effect settings, those settings
# will work only if the `fx` module is included on the page,
# otherwise the element will be immediately shown/hidden
#
# Copyright (C) 2011-2012 <NAME>
#
Element.includ... | true | #
# This file contains the common use methods
#
# NOTE: some methods, like `#show`, `#hide`, etc
# might take a visual effect settings, those settings
# will work only if the `fx` module is included on the page,
# otherwise the element will be immediately shown/hidden
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9818058013916016,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/planTab/planTarget.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Imm = require 'immutable'
Decorate = require 'es-decorate'
Term = require '../../term'
load = (win) ->
$ = win.jQuer... | 37143 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Imm = require 'immutable'
Decorate = require 'es-decorate'
Term = require '../../term'
load = (win) ->
$ = win.jQuer... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Imm = require 'immutable'
Decorate = require 'es-decorate'
Term = require '../../term'
load = (win) ->
... |
[
{
"context": "espace COOLSTRAP.Fallback\n# @class iOS\n#\n# @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n###\n\nCO",
"end": 118,
"score": 0.9998976588249207,
"start": 103,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": "allback\n# @class iOS\n#\n# @au... | coolstrap-core/app/assets/javascripts/coolstrap/fallback/_Coolstrap.Fallback.iOS.coffee | cristianferrarig/coolstrap | 0 | ###
# Fallback to iOS unexpected behaviors.
#
# @namespace COOLSTRAP.Fallback
# @class iOS
#
# @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
###
COOLSTRAP.Fallback.iOS = ((cool, document) ->
VIEWPORT_META = document.querySelector and document.querySelector("meta[name=\"viewport\"]")
###
# fi... | 133879 | ###
# Fallback to iOS unexpected behaviors.
#
# @namespace COOLSTRAP.Fallback
# @class iOS
#
# @author <NAME> <<EMAIL>> || @abraham_barrera
###
COOLSTRAP.Fallback.iOS = ((cool, document) ->
VIEWPORT_META = document.querySelector and document.querySelector("meta[name=\"viewport\"]")
###
# fix for iPhone viewport... | true | ###
# Fallback to iOS unexpected behaviors.
#
# @namespace COOLSTRAP.Fallback
# @class iOS
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
###
COOLSTRAP.Fallback.iOS = ((cool, document) ->
VIEWPORT_META = document.querySelector and document.querySelector("meta[name=\"viewport\"]")
##... |
[
{
"context": "= []\n\n game.players.push({\n id: 0,\n name: 'Gonçalo',\n score: 0,\n orientation: 'right',\n pos",
"end": 665,
"score": 0.9997570514678955,
"start": 658,
"tag": "NAME",
"value": "Gonçalo"
}
] | res/jule.coffee | danimt/yummy-giggle | 1 | #
game = {
boardWidth: 300,
boardHeight: 300,
boardSpacing: 30,
gameInterval: 100,
playerHeight: 5,
playerDepth: 1,
camAngle: 0
camSmoothness: 5
}
Number::mod = (n) ->
(this % n + n) % n
#
# Run fn
#
game.initGame = ->
# Initialize board
game.initBoard()
# Bind
game.bind()
# Generate con... | 191408 | #
game = {
boardWidth: 300,
boardHeight: 300,
boardSpacing: 30,
gameInterval: 100,
playerHeight: 5,
playerDepth: 1,
camAngle: 0
camSmoothness: 5
}
Number::mod = (n) ->
(this % n + n) % n
#
# Run fn
#
game.initGame = ->
# Initialize board
game.initBoard()
# Bind
game.bind()
# Generate con... | true | #
game = {
boardWidth: 300,
boardHeight: 300,
boardSpacing: 30,
gameInterval: 100,
playerHeight: 5,
playerDepth: 1,
camAngle: 0
camSmoothness: 5
}
Number::mod = (n) ->
(this % n + n) % n
#
# Run fn
#
game.initGame = ->
# Initialize board
game.initBoard()
# Bind
game.bind()
# Generate con... |
[
{
"context": "s.create = (test) ->\n loginData =\n userName: 'user'\n password: 'pw'\n appName: 'app'\n server",
"end": 146,
"score": 0.9989441633224487,
"start": 142,
"tag": "USERNAME",
"value": "user"
},
{
"context": " loginData =\n userName: 'user'\n password: ... | test/unit/login7-payload-test.coffee | arthurschreiber/tedious | 1 | require('../../src/buffertools')
Login7Payload = require('../../src/login7-payload')
exports.create = (test) ->
loginData =
userName: 'user'
password: 'pw'
appName: 'app'
serverName: 'server'
language: 'lang'
database: 'db'
packetSize: 1024
tdsVersion: '7_2'
#start = new Date().get... | 17138 | require('../../src/buffertools')
Login7Payload = require('../../src/login7-payload')
exports.create = (test) ->
loginData =
userName: 'user'
password: '<PASSWORD>'
appName: 'app'
serverName: 'server'
language: 'lang'
database: 'db'
packetSize: 1024
tdsVersion: '7_2'
#start = new Da... | true | require('../../src/buffertools')
Login7Payload = require('../../src/login7-payload')
exports.create = (test) ->
loginData =
userName: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
appName: 'app'
serverName: 'server'
language: 'lang'
database: 'db'
packetSize: 1024
tdsVersion: '7_2'
... |
[
{
"context": "rlie: ['1', '2', '3']\n david:\n sophie: 'a'\n result = common.extend object, prope",
"end": 2436,
"score": 0.7841894030570984,
"start": 2430,
"tag": "NAME",
"value": "sophie"
}
] | test/server/common/index.coffee | valueflowquality/gi-util-update | 0 | assert = require('chai').assert
expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
globalcommon = require '../../common'
dal = require './dal'
crudModelFactory = require './crudModelFactory'
crudControllerFactory = require './crudControllerFactory'
module.ex... | 146208 | assert = require('chai').assert
expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
globalcommon = require '../../common'
dal = require './dal'
crudModelFactory = require './crudModelFactory'
crudControllerFactory = require './crudControllerFactory'
module.ex... | true | assert = require('chai').assert
expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
globalcommon = require '../../common'
dal = require './dal'
crudModelFactory = require './crudModelFactory'
crudControllerFactory = require './crudControllerFactory'
module.ex... |
[
{
"context": "e-Version: 1.0\nSubject: Test deliver webhook\nFrom: Bob <bob@mail.jianliao.com>\nTo: Alice <alice@example.",
"end": 668,
"score": 0.9997053742408752,
"start": 665,
"tag": "NAME",
"value": "Bob"
},
{
"context": "ion: 1.0\nSubject: Test deliver webhook\nFrom: Bob <bob@ma... | test/services/mailgun.coffee | jianliaoim/talk-services | 40 | should = require 'should'
Promise = require 'bluebird'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$mailgun = loader.load 'mailgun'
payloads = requireDir './mailgun_assets'
describe 'Mailgun#Webhook', ->
it 'receive delivered', (done) ->
req.body = payload... | 28827 | should = require 'should'
Promise = require 'bluebird'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$mailgun = loader.load 'mailgun'
payloads = requireDir './mailgun_assets'
describe 'Mailgun#Webhook', ->
it 'receive delivered', (done) ->
req.body = payload... | true | should = require 'should'
Promise = require 'bluebird'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$mailgun = loader.load 'mailgun'
payloads = requireDir './mailgun_assets'
describe 'Mailgun#Webhook', ->
it 'receive delivered', (done) ->
req.body = payload... |
[
{
"context": "\n petType: 'dog'\n petName: 'Andrew'\n petId: 5\n\n @expectedOptions",
"end": 3910,
"score": 0.9992977380752563,
"start": 3904,
"tag": "NAME",
"value": "Andrew"
},
{
"context": " pet_type: \"dog\"\n pet_nam... | test/generator/yeoman-spec.coffee | octoblu/swagger-device-generator | 0 | _ = require 'lodash'
fs = require 'fs-extra'
os = require 'os'
path = require 'path'
assert = require('yeoman-generator').assert
helpers = require('yeoman-generator').test
ProxyDeviceYeoman = require '../../generators/app/index'
describe 'app', ->
describe 'when called with a swagger file', ->
beforeEach (done)... | 97694 | _ = require 'lodash'
fs = require 'fs-extra'
os = require 'os'
path = require 'path'
assert = require('yeoman-generator').assert
helpers = require('yeoman-generator').test
ProxyDeviceYeoman = require '../../generators/app/index'
describe 'app', ->
describe 'when called with a swagger file', ->
beforeEach (done)... | true | _ = require 'lodash'
fs = require 'fs-extra'
os = require 'os'
path = require 'path'
assert = require('yeoman-generator').assert
helpers = require('yeoman-generator').test
ProxyDeviceYeoman = require '../../generators/app/index'
describe 'app', ->
describe 'when called with a swagger file', ->
beforeEach (done)... |
[
{
"context": " c1 = TextElement size: \"childrenSize\", text: \"Hi\"\n c2 = RectangleElement color: '#ccc', size:",
"end": 2532,
"score": 0.939603328704834,
"start": 2530,
"tag": "NAME",
"value": "Hi"
},
{
"context": " c1 = TextElement size: \"childrenSize\", text: \"Hi\"\... | test/tests/Art.Engine/Core/Layout/Flow/Basics.coffee | Imikimi-LLC/art.engine | 4 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray, min, max} = Foundation
{point, matrix, Matrix} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTe... | 98061 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray, min, max} = Foundation
{point, matrix, Matrix} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTe... | true | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray, min, max} = Foundation
{point, matrix, Matrix} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTe... |
[
{
"context": "year it is in the simulation.\n\nhttps://github.com/NicMcPhee/whooping-crane-model\n\nCopyright (c) 2015 Nic McPh",
"end": 116,
"score": 0.9975280165672302,
"start": 107,
"tag": "USERNAME",
"value": "NicMcPhee"
},
{
"context": "NicMcPhee/whooping-crane-model\n\nCopyrigh... | src/lib/clock.coffee | NicMcPhee/whooping-crane-model | 0 | ###
The global clock for the simulation that knows what
year it is in the simulation.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 Nic McPhee
Licensed under the MIT license.
###
'use strict'
class Clock
@currentYear: 0
@reset: ->
@currentYear = 0
@incrementYear: ->
@current... | 187269 | ###
The global clock for the simulation that knows what
year it is in the simulation.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 <NAME>
Licensed under the MIT license.
###
'use strict'
class Clock
@currentYear: 0
@reset: ->
@currentYear = 0
@incrementYear: ->
@currentYear... | true | ###
The global clock for the simulation that knows what
year it is in the simulation.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
class Clock
@currentYear: 0
@reset: ->
@currentYear = 0
@incrementYear: ->
... |
[
{
"context": "agic constant to generate handshake\nKEY_SUFFIX = \"258EAFA5-E914-47DA-95CA-C5AB0DC85B11\"\n\nlowerObjKeys = (obj) ->\n keys = (key for key o",
"end": 380,
"score": 0.999731183052063,
"start": 344,
"tag": "KEY",
"value": "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
},
{
"con... | service/node_modules/node-simple-router/src/ws.coffee | sesam-community/slack | 21 | events = require("events")
http = require("http")
crypto = require("crypto")
util = require("util")
URL = require('url')
uuid = require('./uuid')
# opcodes for WebSocket frames
# http://tools.ietf.org/html/rfc6455#section-5.2
opcodes =
TEXT: 1
BINARY: 2
CLOSE: 8
PING: 9
PONG: 10
#magic constant to generate ... | 66009 | events = require("events")
http = require("http")
crypto = require("crypto")
util = require("util")
URL = require('url')
uuid = require('./uuid')
# opcodes for WebSocket frames
# http://tools.ietf.org/html/rfc6455#section-5.2
opcodes =
TEXT: 1
BINARY: 2
CLOSE: 8
PING: 9
PONG: 10
#magic constant to generate ... | true | events = require("events")
http = require("http")
crypto = require("crypto")
util = require("util")
URL = require('url')
uuid = require('./uuid')
# opcodes for WebSocket frames
# http://tools.ietf.org/html/rfc6455#section-5.2
opcodes =
TEXT: 1
BINARY: 2
CLOSE: 8
PING: 9
PONG: 10
#magic constant to generate ... |
[
{
"context": "# Automatically creates project files\n#\n# Author: Anshul Kharbanda\n# Created: 10 - 20 - 2017\nSelectListView = requir",
"end": 89,
"score": 0.9998710751533508,
"start": 73,
"tag": "NAME",
"value": "Anshul Kharbanda"
}
] | lib/template-selector.coffee | andydevs/auto-create-files | 5 | # Auto Create Files
#
# Automatically creates project files
#
# Author: Anshul Kharbanda
# Created: 10 - 20 - 2017
SelectListView = require 'atom-select-list'
https = require 'https'
fs = require 'fs'
path = require 'path'
# Configuration for gitignore
GITHUB_API_CONFIG =
hostname: 'api.github.com'
headers:
'... | 208159 | # Auto Create Files
#
# Automatically creates project files
#
# Author: <NAME>
# Created: 10 - 20 - 2017
SelectListView = require 'atom-select-list'
https = require 'https'
fs = require 'fs'
path = require 'path'
# Configuration for gitignore
GITHUB_API_CONFIG =
hostname: 'api.github.com'
headers:
'Accept': '... | true | # Auto Create Files
#
# Automatically creates project files
#
# Author: PI:NAME:<NAME>END_PI
# Created: 10 - 20 - 2017
SelectListView = require 'atom-select-list'
https = require 'https'
fs = require 'fs'
path = require 'path'
# Configuration for gitignore
GITHUB_API_CONFIG =
hostname: 'api.github.com'
headers:
... |
[
{
"context": "$output = getOutput $block\n\n if not key\n key = uniqueId()\n $block.attr('data-example', key)\n $outpu",
"end": 1008,
"score": 0.9951204061508179,
"start": 1000,
"tag": "KEY",
"value": "uniqueId"
}
] | node_modules/tether/docs/coffee/intro.coffee | ZebTheWizard/TwitchBot | 625 | {uniqueId} = Tether.Utils
SETUP_JS = """
yellowBox = $('.yellow-box', $output);
greenBox = $('.green-box', $output);
scrollBox = $('.scroll-box', $output);
"""
OUTPUT_HTML = (key) -> """
<div class="scroll-box">
<div class="scroll-content">
<div class="yellow-box" data-example="#{ key }"></div>
<div class="... | 35616 | {uniqueId} = Tether.Utils
SETUP_JS = """
yellowBox = $('.yellow-box', $output);
greenBox = $('.green-box', $output);
scrollBox = $('.scroll-box', $output);
"""
OUTPUT_HTML = (key) -> """
<div class="scroll-box">
<div class="scroll-content">
<div class="yellow-box" data-example="#{ key }"></div>
<div class="... | true | {uniqueId} = Tether.Utils
SETUP_JS = """
yellowBox = $('.yellow-box', $output);
greenBox = $('.green-box', $output);
scrollBox = $('.scroll-box', $output);
"""
OUTPUT_HTML = (key) -> """
<div class="scroll-box">
<div class="scroll-content">
<div class="yellow-box" data-example="#{ key }"></div>
<div class="... |
[
{
"context": " (with the port!) to get to rundeck\n#\n# Author:\n# Liam Bennett\n\n_ = require('underscore')\nsys = require 'sys' # ",
"end": 1192,
"score": 0.9998548626899719,
"start": 1180,
"tag": "NAME",
"value": "Liam Bennett"
},
{
"context": " if executions.length > 0\n ... | src/rundeck.coffee | boie0025/hubot-rundeck | 18 | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
#
# Commands:
# hubot rundeck projects [alias] - Gets a list of the projects for the given server alias
# hubut rundeck jobs '[project]' [al... | 147866 | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
#
# Commands:
# hubot rundeck projects [alias] - Gets a list of the projects for the given server alias
# hubut rundeck jobs '[project]' [al... | true | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
#
# Commands:
# hubot rundeck projects [alias] - Gets a list of the projects for the given server alias
# hubut rundeck jobs '[project]' [al... |
[
{
"context": " setPassword callback\n else\n password = setword\n if callback\n doc = {};\n doc[\"",
"end": 745,
"score": 0.9830820560455322,
"start": 738,
"tag": "PASSWORD",
"value": "setword"
}
] | src/index.coffee | NomadThanatos/CEVE-Login | 4 | fs = require "fs"
auth = require "./network.coffee"
execEVE = require "./exec.coffee"
{loadConfig, saveConfig} = require "./data.coffee"
doc = null
password = null
getData = (callback) ->
password = prompt "Please input local password.", ""
key = new Buffer password
loadConfig "./data.dat", key, (res, err) ->
... | 32026 | fs = require "fs"
auth = require "./network.coffee"
execEVE = require "./exec.coffee"
{loadConfig, saveConfig} = require "./data.coffee"
doc = null
password = null
getData = (callback) ->
password = prompt "Please input local password.", ""
key = new Buffer password
loadConfig "./data.dat", key, (res, err) ->
... | true | fs = require "fs"
auth = require "./network.coffee"
execEVE = require "./exec.coffee"
{loadConfig, saveConfig} = require "./data.coffee"
doc = null
password = null
getData = (callback) ->
password = prompt "Please input local password.", ""
key = new Buffer password
loadConfig "./data.dat", key, (res, err) ->
... |
[
{
"context": " .expectJSON '',\n name: 'ウズラ'\n .expectJSON 'distributions.*',\n ",
"end": 11085,
"score": 0.9986138343811035,
"start": 11082,
"tag": "NAME",
"value": "ウズラ"
},
{
"context": " .expectJSON '',\n# name: 'ウズラ'... | app/specs/router_spec.coffee | KamataRyo/bird-api | 1 | frisby = require 'frisby'
APIurl = require('../utilities').getAPIurl
frisby
.create 'bad request(1)'
.get APIurl 'some_strange_directory'
.expectStatus 404
.expectHeaderContains 'Content-Type', 'application/json'
.expectHeaderContains 'Content-Type', 'charset=UTF-8'
.expectHeaderContains 'A... | 179797 | frisby = require 'frisby'
APIurl = require('../utilities').getAPIurl
frisby
.create 'bad request(1)'
.get APIurl 'some_strange_directory'
.expectStatus 404
.expectHeaderContains 'Content-Type', 'application/json'
.expectHeaderContains 'Content-Type', 'charset=UTF-8'
.expectHeaderContains 'A... | true | frisby = require 'frisby'
APIurl = require('../utilities').getAPIurl
frisby
.create 'bad request(1)'
.get APIurl 'some_strange_directory'
.expectStatus 404
.expectHeaderContains 'Content-Type', 'application/json'
.expectHeaderContains 'Content-Type', 'charset=UTF-8'
.expectHeaderContains 'A... |
[
{
"context": "up'\n\nmeryl.h 'GET /', (req, resp) ->\n people = ['bob', 'alice', 'meryl']\n resp.render 'layout', conte",
"end": 115,
"score": 0.9202876687049866,
"start": 112,
"tag": "USERNAME",
"value": "bob"
},
{
"context": "ryl.h 'GET /', (req, resp) ->\n people = ['bob', 'ali... | node_modules/ethercalc/node_modules/zappajs/node_modules/coffeecup/examples/meryl/app.coffee | kurakuradave/Etherboard | 21 | meryl = require 'meryl'
coffeecup = require '../../src/coffeecup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', 'alice', 'meryl']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeecup.adapters.meryl
console.log... | 117059 | meryl = require 'meryl'
coffeecup = require '../../src/coffeecup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', '<NAME>', '<NAME>']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeecup.adapters.meryl
console.l... | true | meryl = require 'meryl'
coffeecup = require '../../src/coffeecup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeec... |
[
{
"context": "ess task\n @TaskModel.create\n name: @name\n group: group\n progress_at:",
"end": 1790,
"score": 0.7852158546447754,
"start": 1790,
"tag": "NAME",
"value": ""
},
{
"context": "s task\n @TaskModel.create\n name: @name\n ... | task.coffee | jysperm/pomo-mailer | 1 | {EventEmitter} = require 'events'
Mabolo = require 'mabolo'
moment = require 'moment-timezone'
_ = require 'lodash'
Q = require 'q'
module.exports = class Task extends EventEmitter
defaults:
name: null
worker: ->
groupBy: ->
mongodb: 'mongodb://localhost/pomo-mailer'
timeout: 600 * 1000
next... | 24272 | {EventEmitter} = require 'events'
Mabolo = require 'mabolo'
moment = require 'moment-timezone'
_ = require 'lodash'
Q = require 'q'
module.exports = class Task extends EventEmitter
defaults:
name: null
worker: ->
groupBy: ->
mongodb: 'mongodb://localhost/pomo-mailer'
timeout: 600 * 1000
next... | true | {EventEmitter} = require 'events'
Mabolo = require 'mabolo'
moment = require 'moment-timezone'
_ = require 'lodash'
Q = require 'q'
module.exports = class Task extends EventEmitter
defaults:
name: null
worker: ->
groupBy: ->
mongodb: 'mongodb://localhost/pomo-mailer'
timeout: 600 * 1000
next... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998342394828796,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/YourAccountSettings.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 91664 | # Copyright 2010-2019 <NAME>, <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 ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, 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 requ... |
[
{
"context": " the artist top track Spotify URL>\n#\n# Author:\n# Lucas Moore <hey@thelucasmoore.com>\n\nmodule.exports = (robot)",
"end": 325,
"score": 0.9998676180839539,
"start": 314,
"tag": "NAME",
"value": "Lucas Moore"
},
{
"context": "p track Spotify URL>\n#\n# Author:\n# ... | src/spotify.coffee | TheLucasMoore/hubot-spotify-tracks | 0 | # Description
# grabs an artists top tracks
#
# Configuration:
# None needed. Uses Spotify Public API and my Last.fm API key. Youre welcome.
#
# Commands:
# spotify ARTIST NAME - <returns the artists top tracks Spotify URL>
# jam to ARTIST NAME - <returns the artist top track Spotify URL>
#
# Author:
# Lucas ... | 203287 | # Description
# grabs an artists top tracks
#
# Configuration:
# None needed. Uses Spotify Public API and my Last.fm API key. Youre welcome.
#
# Commands:
# spotify ARTIST NAME - <returns the artists top tracks Spotify URL>
# jam to ARTIST NAME - <returns the artist top track Spotify URL>
#
# Author:
# <NAME>... | true | # Description
# grabs an artists top tracks
#
# Configuration:
# None needed. Uses Spotify Public API and my Last.fm API key. Youre welcome.
#
# Commands:
# spotify ARTIST NAME - <returns the artists top tracks Spotify URL>
# jam to ARTIST NAME - <returns the artist top track Spotify URL>
#
# Author:
# PI:NAM... |
[
{
"context": "cess.env.HUBOT_WHATSAPP_NICKNAME\n password: process.env.HUBOT_WHATSAPP_PASSWORD\n ccode: process.env.HUBOT_WHATSAPP_COUNTRY",
"end": 479,
"score": 0.9992150664329529,
"start": 444,
"tag": "PASSWORD",
"value": "process.env.HUBOT_WHATSAPP_PASSWORD"
}
] | src/whatsapp.coffee | jannickfahlbusch/hubot-whatsapp | 7 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
whatsapi = require('whatsapi');
class Whatsapp extends Adapter
constructor: (@robot) ->
@robot = robot
receive: (message) ->
@robot.receive message
run: ->
self = @
@wa = whatsapi.createAdapter({
... | 208460 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
whatsapi = require('whatsapi');
class Whatsapp extends Adapter
constructor: (@robot) ->
@robot = robot
receive: (message) ->
@robot.receive message
run: ->
self = @
@wa = whatsapi.createAdapter({
... | true | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage} = require 'hubot'
whatsapi = require('whatsapi');
class Whatsapp extends Adapter
constructor: (@robot) ->
@robot = robot
receive: (message) ->
@robot.receive message
run: ->
self = @
@wa = whatsapi.createAdapter({
... |
[
{
"context": "'\n 'emm':\n 'prefix': 'EMM'\n 'body': 'Hola Elena :)'\n 'exp':\n 'prefix': 'EXP'\n 'body': 'EXP",
"end": 1601,
"score": 0.7481861710548401,
"start": 1597,
"tag": "NAME",
"value": "lena"
}
] | snippets/language-gsql.cson | alejandropoveda/language-gsql | 7 | '.source.gsql':
'load table':
'prefix': 'LOAD'
'body': 'LOAD ${1:filename}'
'flatten':
'prefix': 'FLATTEN'
'body': 'FLATTEN(${1:var})'
'matches':
'prefix': 'MATCHES'
'body': "MATCHES '${1:pattern}'"
'average':
'prefix': 'AVG'
'body': 'AVG(${1:expr})'
'concat':
'prefix': 'CO... | 170785 | '.source.gsql':
'load table':
'prefix': 'LOAD'
'body': 'LOAD ${1:filename}'
'flatten':
'prefix': 'FLATTEN'
'body': 'FLATTEN(${1:var})'
'matches':
'prefix': 'MATCHES'
'body': "MATCHES '${1:pattern}'"
'average':
'prefix': 'AVG'
'body': 'AVG(${1:expr})'
'concat':
'prefix': 'CO... | true | '.source.gsql':
'load table':
'prefix': 'LOAD'
'body': 'LOAD ${1:filename}'
'flatten':
'prefix': 'FLATTEN'
'body': 'FLATTEN(${1:var})'
'matches':
'prefix': 'MATCHES'
'body': "MATCHES '${1:pattern}'"
'average':
'prefix': 'AVG'
'body': 'AVG(${1:expr})'
'concat':
'prefix': 'CO... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999431312084198,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-microtask-queue-integration.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... | 58825 | # 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": " @fill('form#loginform',\n 'username': profile\n 'password': profile\n , true) # s",
"end": 726,
"score": 0.9947927594184875,
"start": 719,
"tag": "USERNAME",
"value": "profile"
},
{
"context": " 'username': profile\n 'passw... | tests/integration/utils.coffee | christophetd/courseadvisor | 19 | shared = require '../utils-shared.coffee'
# === casper-only utilities ===
utils = module.exports =
# saves a screenshot of the current page to tests/screenshots/{name}
screenshot: (name) -> casper.capture("../screenshots/#{name}.png")
# logs-in with margarita as {profile}. When {direct} is set to false (default... | 29440 | shared = require '../utils-shared.coffee'
# === casper-only utilities ===
utils = module.exports =
# saves a screenshot of the current page to tests/screenshots/{name}
screenshot: (name) -> casper.capture("../screenshots/#{name}.png")
# logs-in with margarita as {profile}. When {direct} is set to false (default... | true | shared = require '../utils-shared.coffee'
# === casper-only utilities ===
utils = module.exports =
# saves a screenshot of the current page to tests/screenshots/{name}
screenshot: (name) -> casper.capture("../screenshots/#{name}.png")
# logs-in with margarita as {profile}. When {direct} is set to false (default... |
[
{
"context": "\n sshPort: \"22\"\n username: \"cmcginty\"\n saveable: true\n }\n {\n ",
"end": 13868,
"score": 0.9996255040168762,
"start": 13860,
"tag": "USERNAME",
"value": "cmcginty"
},
{
"context": "\n sshPort: \"22\"\n ... | atom/config.cson | db-pj/dotfiles | 26 | "*":
"atom-beautify":
general:
_analyticsUserId: "aab204c6-1c8e-47d3-afaa-31c509007127"
"autocomplete-plus":
strictMatching: true
"autocomplete-python":
useKite: false
core:
automaticallyUpdate: false
customFileTypes:
"source.ini": [
".hgrc"
".buckconfig"
... | 123829 | "*":
"atom-beautify":
general:
_analyticsUserId: "aab204c6-1c8e-47d3-afaa-31c509007127"
"autocomplete-plus":
strictMatching: true
"autocomplete-python":
useKite: false
core:
automaticallyUpdate: false
customFileTypes:
"source.ini": [
".hgrc"
".buckconfig"
... | true | "*":
"atom-beautify":
general:
_analyticsUserId: "aab204c6-1c8e-47d3-afaa-31c509007127"
"autocomplete-plus":
strictMatching: true
"autocomplete-python":
useKite: false
core:
automaticallyUpdate: false
customFileTypes:
"source.ini": [
".hgrc"
".buckconfig"
... |
[
{
"context": " 24-bit pixel.\n These formulas were invented by David Dalrymple to obtain maximum contrast without going\n out ",
"end": 187,
"score": 0.9577504992485046,
"start": 172,
"tag": "NAME",
"value": "David Dalrymple"
},
{
"context": "nge 0-1.\n\n A saturation multip... | node_modules/chroma-js/src/converter/misc/lch2lab.coffee | Dozacode/ResumeChain | 15 | # @requires utils
lch2lab = () ->
###
Convert from a qualitative parameter h and a quantitative parameter l to a 24-bit pixel.
These formulas were invented by David Dalrymple to obtain maximum contrast without going
out of gamut if the parameters are in the range 0-1.
A saturation multiplier was a... | 41155 | # @requires utils
lch2lab = () ->
###
Convert from a qualitative parameter h and a quantitative parameter l to a 24-bit pixel.
These formulas were invented by <NAME> to obtain maximum contrast without going
out of gamut if the parameters are in the range 0-1.
A saturation multiplier was added by <... | true | # @requires utils
lch2lab = () ->
###
Convert from a qualitative parameter h and a quantitative parameter l to a 24-bit pixel.
These formulas were invented by PI:NAME:<NAME>END_PI to obtain maximum contrast without going
out of gamut if the parameters are in the range 0-1.
A saturation multiplier ... |
[
{
"context": " attributes', ->\n @object = new @Person(name: \"Jonas\", age: 28)\n serialized = @object.toJSON()\n ",
"end": 286,
"score": 0.9996823072433472,
"start": 281,
"tag": "NAME",
"value": "Jonas"
},
{
"context": "ject.toJSON()\n expect(serialized.name).to.eql(\"J... | test/model/to_json.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model#toJSON', ->
beforeEach ->
class @Person extends Serenade.Model
@attribute "name"
@attribute "age"
it 'serializes all attributes', ->
@object = new @Person(name: "Jonas", age: 28)
serialized = @obje... | 186531 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model#toJSON', ->
beforeEach ->
class @Person extends Serenade.Model
@attribute "name"
@attribute "age"
it 'serializes all attributes', ->
@object = new @Person(name: "<NAME>", age: 28)
serialized = @obj... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model#toJSON', ->
beforeEach ->
class @Person extends Serenade.Model
@attribute "name"
@attribute "age"
it 'serializes all attributes', ->
@object = new @Person(name: "PI:NAME:<NAME>END_PI", age: 28)
ser... |
[
{
"context": "undle file' or 'meteor build path'\n if key is 'bundle' or key is 'build'\n debug = '--debug' in pro",
"end": 6176,
"score": 0.933057963848114,
"start": 6170,
"tag": "KEY",
"value": "bundle"
},
{
"context": "eor build path'\n if key is 'bundle' or key is 'bui... | plugin/browserify.coffee | optilude/cosmos-browserify | 2 | Browserify = Npm.require 'browserify'
# use custom envify so we can specify the env based on the meteor command used
envify = Npm.require 'envify/custom'
# use exorcist transform to extract source map data
exorcist = Npm.require 'exorcist'
# get 'stream' to use PassThrough to provide a Buffer as a Readable stream
st... | 28005 | Browserify = Npm.require 'browserify'
# use custom envify so we can specify the env based on the meteor command used
envify = Npm.require 'envify/custom'
# use exorcist transform to extract source map data
exorcist = Npm.require 'exorcist'
# get 'stream' to use PassThrough to provide a Buffer as a Readable stream
st... | true | Browserify = Npm.require 'browserify'
# use custom envify so we can specify the env based on the meteor command used
envify = Npm.require 'envify/custom'
# use exorcist transform to extract source map data
exorcist = Npm.require 'exorcist'
# get 'stream' to use PassThrough to provide a Buffer as a Readable stream
st... |
[
{
"context": "thods for accessing parse javascript SDK\n# @author Michael Lin, Snaphappi Inc.\n# \n###\n\n### login notes:\n parseL",
"end": 133,
"score": 0.9993287324905396,
"start": 122,
"tag": "NAME",
"value": "Michael Lin"
},
{
"context": "Obj')\n }\n\n ANON_PREFIX = {\n ... | app/js/services/backend.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc factory
# @name appParse
# @description methods for accessing parse javascript SDK
# @author Michael Lin, Snaphappi Inc.
#
###
### login notes:
parseLogin vs linkLogin w/authData
parseLogin
parseUser.get('authData')==null
parseUser.password
parseUser.emailVerified READ_ON... | 118583 | 'use strict'
###*
# @ngdoc factory
# @name appParse
# @description methods for accessing parse javascript SDK
# @author <NAME>, Snaphappi Inc.
#
###
### login notes:
parseLogin vs linkLogin w/authData
parseLogin
parseUser.get('authData')==null
parseUser.password
parseUser.emailVerified READ_ONLY
... | true | 'use strict'
###*
# @ngdoc factory
# @name appParse
# @description methods for accessing parse javascript SDK
# @author PI:NAME:<NAME>END_PI, Snaphappi Inc.
#
###
### login notes:
parseLogin vs linkLogin w/authData
parseLogin
parseUser.get('authData')==null
parseUser.password
parseUser.emailVerifie... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998146295547485,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/isadore_graphs/isadore_control_graphs.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 35800 | # Copyright 2010-2019 <NAME>, <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 ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, 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 requ... |
[
{
"context": " a recipe', ->\n newCocktail =\n name: 'Margarita'\n description: '5 ingredients...'\n\n i",
"end": 815,
"score": 0.9995349049568176,
"start": 806,
"tag": "NAME",
"value": "Margarita"
},
{
"context": "l = new @Cocktail\n @scope.cocktail.na... | spec/javascripts/controllers/CocktailAddCtrl_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
describe 'CocktailAddCtrl', ->
beforeEach ->
@setupController('CocktailAddCtrl')
@mdDialog = @injector.get('$mdDialog')
@Cocktail = @model('Cocktail')
spyOn(@mdDialog, 'cancel')
@loadFixtures()
@http.whenGET('/ingredients').respond(200, @ingredients)
@templateExpect... | 203440 | #= require spec_helper
describe 'CocktailAddCtrl', ->
beforeEach ->
@setupController('CocktailAddCtrl')
@mdDialog = @injector.get('$mdDialog')
@Cocktail = @model('Cocktail')
spyOn(@mdDialog, 'cancel')
@loadFixtures()
@http.whenGET('/ingredients').respond(200, @ingredients)
@templateExpect... | true | #= require spec_helper
describe 'CocktailAddCtrl', ->
beforeEach ->
@setupController('CocktailAddCtrl')
@mdDialog = @injector.get('$mdDialog')
@Cocktail = @model('Cocktail')
spyOn(@mdDialog, 'cancel')
@loadFixtures()
@http.whenGET('/ingredients').respond(200, @ingredients)
@templateExpect... |
[
{
"context": "options = Observable [\n {name: Observable(\"Napoleon\"), date: \"1850 AD\"}\n {name: Observable(\"Ba",
"end": 3939,
"score": 0.999819815158844,
"start": 3931,
"tag": "NAME",
"value": "Napoleon"
},
{
"context": "on\"), date: \"1850 AD\"}\n {name: Ob... | test/select.coffee | STRd6/jadelet | 18 | describe "SELECT", ->
describe "with an array of basic types for options", ->
template = makeTemplate """
select(@value @options)
"""
it "should generate options", ->
model =
options: [1, 2, 3]
value: 2
select = template(model)
assert.equal select.querySelectorAll(... | 90912 | describe "SELECT", ->
describe "with an array of basic types for options", ->
template = makeTemplate """
select(@value @options)
"""
it "should generate options", ->
model =
options: [1, 2, 3]
value: 2
select = template(model)
assert.equal select.querySelectorAll(... | true | describe "SELECT", ->
describe "with an array of basic types for options", ->
template = makeTemplate """
select(@value @options)
"""
it "should generate options", ->
model =
options: [1, 2, 3]
value: 2
select = template(model)
assert.equal select.querySelectorAll(... |
[
{
"context": "@\n name: name\n password: password\n \n model.auth callback\n",
"end": 1078,
"score": 0.999370276927948,
"start": 1070,
"tag": "PASSWORD",
"value": "password"
}
] | models/plugins/auth.coffee | cncolder/vcvs | 0 | { SchemaType: { ValidatorError } } = require 'mongoose'
crypto = require 'crypto'
sha2560 = (s) ->
for i in [ 1..10 ]
s = crypto.createHash('sha256').update(s).digest 'hex'
s
module.exports = (schema, options) ->
schema.add
password:
type: String
lowercas... | 124400 | { SchemaType: { ValidatorError } } = require 'mongoose'
crypto = require 'crypto'
sha2560 = (s) ->
for i in [ 1..10 ]
s = crypto.createHash('sha256').update(s).digest 'hex'
s
module.exports = (schema, options) ->
schema.add
password:
type: String
lowercas... | true | { SchemaType: { ValidatorError } } = require 'mongoose'
crypto = require 'crypto'
sha2560 = (s) ->
for i in [ 1..10 ]
s = crypto.createHash('sha256').update(s).digest 'hex'
s
module.exports = (schema, options) ->
schema.add
password:
type: String
lowercas... |
[
{
"context": "ist of passed items', ->\n\n props = { query: 'mars', items }\n helpers.dropboxItemsTest(\n ",
"end": 1269,
"score": 0.635639488697052,
"start": 1265,
"tag": "NAME",
"value": "mars"
},
{
"context": "with selected item', ->\n\n props = { query : 'mar... | client/activity/lib/components/chatinputwidget/test/searchdropbox.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
React = require 'kd-react'
expect = require 'expect'
toImmutable = require 'app/util/toImmutable'
SearchDropbox = require '../searchdropbox'
helpers = require './helpers'
mockingjay = require '../../../../../mocks/mockingjay'
describe 'SearchDropbox', ->
items ... | 68382 | kd = require 'kd'
React = require 'kd-react'
expect = require 'expect'
toImmutable = require 'app/util/toImmutable'
SearchDropbox = require '../searchdropbox'
helpers = require './helpers'
mockingjay = require '../../../../../mocks/mockingjay'
describe 'SearchDropbox', ->
items ... | true | kd = require 'kd'
React = require 'kd-react'
expect = require 'expect'
toImmutable = require 'app/util/toImmutable'
SearchDropbox = require '../searchdropbox'
helpers = require './helpers'
mockingjay = require '../../../../../mocks/mockingjay'
describe 'SearchDropbox', ->
items ... |
[
{
"context": ").getGridOrBoard().columnConfig.fields).toEqual ['HelloKitty']\n\n it 'should have the rowSettings field',",
"end": 6435,
"score": 0.6690595746040344,
"start": 6430,
"tag": "NAME",
"value": "Hello"
},
{
"context": "dOrBoard().columnConfig.fields).toEqual ['HelloKitty']... | test/spec/iterationtrackingboard/IterationTrackingBoardAppSpec.coffee | KilobytesandBits/app-catalog | 0 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp'
'Rally.ui.gridboard.GridBoard'
'Rally.util.DateTime'
'Rally.app.Context',
'Rally.domain.Subscription'
]
describe 'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp', ->
helpers
create... | 129437 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp'
'Rally.ui.gridboard.GridBoard'
'Rally.util.DateTime'
'Rally.app.Context',
'Rally.domain.Subscription'
]
describe 'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp', ->
helpers
create... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp'
'Rally.ui.gridboard.GridBoard'
'Rally.util.DateTime'
'Rally.app.Context',
'Rally.domain.Subscription'
]
describe 'Rally.apps.iterationtrackingboard.IterationTrackingBoardApp', ->
helpers
create... |
[
{
"context": " Under MIT license, see LICENSE file for details\n Andrey Popp (c) 2013\n\n###\n\n{defer} = require 'kew'\npg ",
"end": 117,
"score": 0.9998383522033691,
"start": 106,
"tag": "NAME",
"value": "Andrey Popp"
}
] | db.coffee | andreypopp/wall | 2 | ###
Thin database access layer based on promises.
Under MIT license, see LICENSE file for details
Andrey Popp (c) 2013
###
{defer} = require 'kew'
pg = require 'pg'
sql = require 'sql'
{extend} = require 'underscore'
connect = (uri) ->
promise = defer()
pg.connect uri, (err, conn,... | 77547 | ###
Thin database access layer based on promises.
Under MIT license, see LICENSE file for details
<NAME> (c) 2013
###
{defer} = require 'kew'
pg = require 'pg'
sql = require 'sql'
{extend} = require 'underscore'
connect = (uri) ->
promise = defer()
pg.connect uri, (err, conn, done... | true | ###
Thin database access layer based on promises.
Under MIT license, see LICENSE file for details
PI:NAME:<NAME>END_PI (c) 2013
###
{defer} = require 'kew'
pg = require 'pg'
sql = require 'sql'
{extend} = require 'underscore'
connect = (uri) ->
promise = defer()
pg.connect uri, (e... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998288154602051,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/functions/unwrap_models.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 25918 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998632669448853,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | test/mixed-node-coffee-script-inheritance-test.coffee | vibejs/vibejs-subclassof | 0 | #
# Copyright 2014 Carsten Klein
#
# 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 writ... | 85683 | #
# Copyright 2014 <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 writing, so... | true | #
# Copyright 2014 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 agreed to ... |
[
{
"context": "her(true)\n traitsToReport.push('firstName', 'lastName')\n for userTrait in traitsToReport\n trait",
"end": 1515,
"score": 0.8437103629112244,
"start": 1507,
"tag": "NAME",
"value": "lastName"
}
] | app/core/Tracker.coffee | cihatislamdede/codecombat | 4,858 | {me} = require 'core/auth'
SuperModel = require 'models/SuperModel'
utils = require 'core/utils'
CocoClass = require 'core/CocoClass'
api = require('core/api')
debugAnalytics = false
module.exports = class Tracker extends CocoClass
initialized: false
cookies: {required: false, answered: false, consented: false, d... | 109347 | {me} = require 'core/auth'
SuperModel = require 'models/SuperModel'
utils = require 'core/utils'
CocoClass = require 'core/CocoClass'
api = require('core/api')
debugAnalytics = false
module.exports = class Tracker extends CocoClass
initialized: false
cookies: {required: false, answered: false, consented: false, d... | true | {me} = require 'core/auth'
SuperModel = require 'models/SuperModel'
utils = require 'core/utils'
CocoClass = require 'core/CocoClass'
api = require('core/api')
debugAnalytics = false
module.exports = class Tracker extends CocoClass
initialized: false
cookies: {required: false, answered: false, consented: false, d... |
[
{
"context": "ows.describe('Kckup MQ')\n\nredis_config =\n host: \"127.0.0.1\"\n port: 6379\n db: null\n auth:\n password: nu",
"end": 128,
"score": 0.9997005462646484,
"start": 119,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "0.1\"\n port: 6379\n db: null\n ... | test/001_kckup-mq.coffee | MusicKickup/kckupmq | 1 | ###
###
vows = require('vows')
assert = require('assert')
suite = vows.describe('Kckup MQ')
redis_config =
host: "127.0.0.1"
port: 6379
db: null
auth:
password: null
# Redis config for use inside Heroku nodes
if process.env.REDISTOGO_URL
rtg = require("url").parse(process.env.REDISTOGO_URL)
redis_co... | 85424 | ###
###
vows = require('vows')
assert = require('assert')
suite = vows.describe('Kckup MQ')
redis_config =
host: "127.0.0.1"
port: 6379
db: null
auth:
password: <PASSWORD>
# Redis config for use inside Heroku nodes
if process.env.REDISTOGO_URL
rtg = require("url").parse(process.env.REDISTOGO_URL)
re... | true | ###
###
vows = require('vows')
assert = require('assert')
suite = vows.describe('Kckup MQ')
redis_config =
host: "127.0.0.1"
port: 6379
db: null
auth:
password: PI:PASSWORD:<PASSWORD>END_PI
# Redis config for use inside Heroku nodes
if process.env.REDISTOGO_URL
rtg = require("url").parse(process.env.R... |
[
{
"context": "ode = \"SE\"\ndico =\n cardinals:\n written: [{m: \"ett\", n: \"en\"}, \"två\", \"tre\", \"fyra\", \"fem\", \"sex\"\n ",
"end": 176,
"score": 0.5294227600097656,
"start": 173,
"tag": "NAME",
"value": "ett"
},
{
"context": "\n cardinals:\n written: [{m: \"ett\",... | lang/written.se.coffee | stephenhutchings/underscore.strings | 11 | # Swedish language support for Written
# For compatibility, Swedish uses "m" for co(m)mon, and "n" for (n)euter genders.
code = "SE"
dico =
cardinals:
written: [{m: "ett", n: "en"}, "två", "tre", "fyra", "fem", "sex"
"sju", "åtta", "nio", "tio", "elva", "tolv"]
if typeof define is "function" and d... | 219453 | # Swedish language support for Written
# For compatibility, Swedish uses "m" for co(m)mon, and "n" for (n)euter genders.
code = "SE"
dico =
cardinals:
written: [{m: "<NAME>", n: "en"}, "<NAME>", "<NAME>", "<NAME>", "fem", "sex"
"sju", "<NAME>", "nio", "tio", "elva", "tolv"]
if typeof define is "fu... | true | # Swedish language support for Written
# For compatibility, Swedish uses "m" for co(m)mon, and "n" for (n)euter genders.
code = "SE"
dico =
cardinals:
written: [{m: "PI:NAME:<NAME>END_PI", n: "en"}, "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "fem", "sex"
"sju", "PI:NAME... |
[
{
"context": "tHeight\n render: ->\n @data = [\n author: \"Toyama Satoshi\"\n comment: \"Year!\"\n ,\n author: \"Tam",
"end": 579,
"score": 0.9998156428337097,
"start": 565,
"tag": "NAME",
"value": "Toyama Satoshi"
},
{
"context": "shi\"\n comment: \"Year!... | src/components/main/commentBox/index.coffee | toyamarinyon/arda-testproject | 0 | template = require('./template').locals
CommentList: require './components/CommentList'
CommentForm: require './components/CommentForm'
module.exports = React.createClass
mixins: [Arda.mixin]
componentDidMount: ->
dom = @getDOMNode()
offsetTop = dom.getBoundingClientRect().top
stretchHeight = windo... | 154207 | template = require('./template').locals
CommentList: require './components/CommentList'
CommentForm: require './components/CommentForm'
module.exports = React.createClass
mixins: [Arda.mixin]
componentDidMount: ->
dom = @getDOMNode()
offsetTop = dom.getBoundingClientRect().top
stretchHeight = windo... | true | template = require('./template').locals
CommentList: require './components/CommentList'
CommentForm: require './components/CommentForm'
module.exports = React.createClass
mixins: [Arda.mixin]
componentDidMount: ->
dom = @getDOMNode()
offsetTop = dom.getBoundingClientRect().top
stretchHeight = windo... |
[
{
"context": "###\n backbone-http.js 0.5.5\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http\n Lic",
"end": 58,
"score": 0.9987209439277649,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/cursor.coffee | michaelBenin/backbone-http | 1 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Cursor = require('b... | 142089 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Cursor = require('bac... | true | ###
backbone-http.js 0.5.5
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Cursor ... |
[
{
"context": "= $rootScope.$new()\n $scope.session = userid: 'egon@columbia.edu'\n\n disableUserPromise = {then: sandbox.stub()}",
"end": 1016,
"score": 0.9999128580093384,
"start": 999,
"tag": "EMAIL",
"value": "egon@columbia.edu"
},
{
"context": "ristine: sandbox.spy()\n ... | tests/js/controllers/account-management-test.coffee | RichardLitt/h | 0 | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
describe 'h.controllers.AccountManagement', ->
$scope = null
fakeFlash = null
fakeProfile = null
fakeIdentity = null
fakeFormHelpers = null
editProfilePromise = null
disableUserPromise = null
createController... | 223112 | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
describe 'h.controllers.AccountManagement', ->
$scope = null
fakeFlash = null
fakeProfile = null
fakeIdentity = null
fakeFormHelpers = null
editProfilePromise = null
disableUserPromise = null
createController... | true | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
describe 'h.controllers.AccountManagement', ->
$scope = null
fakeFlash = null
fakeProfile = null
fakeIdentity = null
fakeFormHelpers = null
editProfilePromise = null
disableUserPromise = null
createController... |
[
{
"context": "finger tree implementation.\n#\n# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)\n# ------------------------------",
"end": 149,
"score": 0.999881386756897,
"start": 126,
"tag": "NAME",
"value": "Olaf Delgado-Friedrichs"
},
{
"context": ".\n#\n# Copyright (... | lib/finger_tree.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# A finger tree implementation.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence')
... | 74169 | # --------------------------------------------------------------------
# A finger tree implementation.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence')
{ bounce, suspend } = re... | true | # --------------------------------------------------------------------
# A finger tree implementation.
#
# Copyright (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence... |
[
{
"context": "# Description:\n# 당번이 할 일을 알려줍니다.\n#\n# Author: Leop0ld\n#\n# Commands:\n# 날씨! (위치) - 지정한 위치의 분별 날씨를 알려줍",
"end": 56,
"score": 0.9997279644012451,
"start": 49,
"tag": "USERNAME",
"value": "Leop0ld"
},
{
"context": "com.com/weather/current/minutely?version=1&appK... | scripts/weather.coffee | Leop0ld/leobot | 0 | # Description:
# 당번이 할 일을 알려줍니다.
#
# Author: Leop0ld
#
# Commands:
# 날씨! (위치) - 지정한 위치의 분별 날씨를 알려줍니다.
http = require 'http'
q = require 'q'
baseUrl = 'https://api2.sktelecom.com/weather/current/minutely?version=1&appKey=9ffe2c4e-4210-415c-a524-5b6190d3e286'
module.exports = (robot) ->
robot.hear /날씨! (.*)/... | 154794 | # Description:
# 당번이 할 일을 알려줍니다.
#
# Author: Leop0ld
#
# Commands:
# 날씨! (위치) - 지정한 위치의 분별 날씨를 알려줍니다.
http = require 'http'
q = require 'q'
baseUrl = 'https://api2.sktelecom.com/weather/current/minutely?version=1&appKey=<KEY>'
module.exports = (robot) ->
robot.hear /날씨! (.*)/i, (msg) ->
location = deco... | true | # Description:
# 당번이 할 일을 알려줍니다.
#
# Author: Leop0ld
#
# Commands:
# 날씨! (위치) - 지정한 위치의 분별 날씨를 알려줍니다.
http = require 'http'
q = require 'q'
baseUrl = 'https://api2.sktelecom.com/weather/current/minutely?version=1&appKey=PI:KEY:<KEY>END_PI'
module.exports = (robot) ->
robot.hear /날씨! (.*)/i, (msg) ->
lo... |
[
{
"context": " cfg.player_1 =\n user_id: 33\n name: \"Kunta Kinte\"\n cfg.player_2 =\n user_id: 666\n name",
"end": 4874,
"score": 0.9997552633285522,
"start": 4863,
"tag": "NAME",
"value": "Kunta Kinte"
},
{
"context": " cfg.player_2 =\n user_id: 666... | test/dummy/spec/javascripts/Game_config_spec.js.coffee | railsc0d0r/global8ball_game | 0 | #= require game/config/Game
describe 'Game config', ->
GameConfig = global8ball.config.Game
createConfig = ->
borders:
left: [
{
x: -1.25
y: 0.55
},
{
x: -1.25,
y: -0.55
},
{
x: -1.3,
y: -0.6
},
... | 108083 | #= require game/config/Game
describe 'Game config', ->
GameConfig = global8ball.config.Game
createConfig = ->
borders:
left: [
{
x: -1.25
y: 0.55
},
{
x: -1.25,
y: -0.55
},
{
x: -1.3,
y: -0.6
},
... | true | #= require game/config/Game
describe 'Game config', ->
GameConfig = global8ball.config.Game
createConfig = ->
borders:
left: [
{
x: -1.25
y: 0.55
},
{
x: -1.25,
y: -0.55
},
{
x: -1.3,
y: -0.6
},
... |
[
{
"context": "p\">\n <input\n placeholder='Your name'\n className=\"form-control\"\n ",
"end": 1205,
"score": 0.722706139087677,
"start": 1201,
"tag": "NAME",
"value": "name"
}
] | source/javascripts/components/post_form.js.jsx.coffee | garciaf/local_blog | 0 | @PostForm = React.createClass(
mixins: [Backbone.React.Component.mixin]
getInitialState: ->
{
title: ''
author: ''
text: ''
}
create: (e) ->
e.preventDefault()
author = @refs.author.value.trim()
text = @refs.text.value.trim()
title = @refs.title.value.trim()
new_post... | 174889 | @PostForm = React.createClass(
mixins: [Backbone.React.Component.mixin]
getInitialState: ->
{
title: ''
author: ''
text: ''
}
create: (e) ->
e.preventDefault()
author = @refs.author.value.trim()
text = @refs.text.value.trim()
title = @refs.title.value.trim()
new_post... | true | @PostForm = React.createClass(
mixins: [Backbone.React.Component.mixin]
getInitialState: ->
{
title: ''
author: ''
text: ''
}
create: (e) ->
e.preventDefault()
author = @refs.author.value.trim()
text = @refs.text.value.trim()
title = @refs.title.value.trim()
new_post... |
[
{
"context": " sellStack: [\n {\n id: \"OLAUID\",\n type: \"sell\",\n p",
"end": 242,
"score": 0.7651041746139526,
"start": 236,
"tag": "USERNAME",
"value": "OLAUID"
},
{
"context": " buyStack: [\n {\n ... | testing/samplehandlers.coffee | JhonnyJason/interface-gen | 1 | ############################################################
scihandlers.getLatestOrders = (authCode, assetPairs, subscriber) ->
result = {}
###
{
"ether-euro": {
sellStack: [
{
id: "OLAUID",
type: "sell",
price: 199.0,
... | 161150 | ############################################################
scihandlers.getLatestOrders = (authCode, assetPairs, subscriber) ->
result = {}
###
{
"ether-euro": {
sellStack: [
{
id: "OLAUID",
type: "sell",
price: 199.0,
... | true | ############################################################
scihandlers.getLatestOrders = (authCode, assetPairs, subscriber) ->
result = {}
###
{
"ether-euro": {
sellStack: [
{
id: "OLAUID",
type: "sell",
price: 199.0,
... |
[
{
"context": "###\n# Gruntfile.js\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Do our grunt w",
"end": 41,
"score": 0.9996365308761597,
"start": 30,
"tag": "NAME",
"value": "Dan Nichols"
}
] | Gruntfile.coffee | dlnichols/h_media | 0 | ###
# Gruntfile.js
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Do our grunt work!
###
'use strict'
# Require coffee-script/register so that require uses the project version of
# coffeescript (~1.7) instead of the grunt version (~1.3)
require 'coffee-script/register'
module.exports = (grunt) ->
_ = req... | 9973 | ###
# Gruntfile.js
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Do our grunt work!
###
'use strict'
# Require coffee-script/register so that require uses the project version of
# coffeescript (~1.7) instead of the grunt version (~1.3)
require 'coffee-script/register'
module.exports = (grunt) ->
_ = require ... | true | ###
# Gruntfile.js
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Do our grunt work!
###
'use strict'
# Require coffee-script/register so that require uses the project version of
# coffeescript (~1.7) instead of the grunt version (~1.3)
require 'coffee-script/register'
module.exports = (grunt) ->
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.