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": "adapted from d3's CSV code\n#\n# Copyright (c) 2012, Michael Bostock\n# All rights reserved.\n#\n# Redistribution and use",
"end": 81,
"score": 0.9998399019241333,
"start": 66,
"tag": "NAME",
"value": "Michael Bostock"
},
{
"context": "ICULAR PURPOSE ARE\n# DISCLAIMED. ... | src/ajax.coffee | Polychart/polychart2 | 64 | # This code is adapted from d3's CSV code
#
# Copyright (c) 2012, Michael Bostock
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyrig... | 223908 | # This code is adapted from d3's CSV code
#
# Copyright (c) 2012, <NAME>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice... | true | # This code is adapted from d3's CSV code
#
# Copyright (c) 2012, PI:NAME:<NAME>END_PI
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above co... |
[
{
"context": ":\n id: 2\n }, {\n name: 'c'\n ref:\n id: 3\n }]\n ",
"end": 5492,
"score": 0.5056421756744385,
"start": 5491,
"tag": "NAME",
"value": "c"
},
{
"context": "Result {\n user:\n id: 1\n name: 'a'\n... | test/isomorphic.coffee | Zorium/graphql-stream | 1 | _ = require 'lodash'
b = require 'b-assert'
Rx = require 'rxjs/Rx'
{api, nameGen, createClient} = require './util'
describe '__streamResult', ->
it 'stream-ify simple object', ->
client = createClient()
streams = {}
s1 = client.__streamResult {
user:
id: 1
name: 'top'
ref:
... | 147045 | _ = require 'lodash'
b = require 'b-assert'
Rx = require 'rxjs/Rx'
{api, nameGen, createClient} = require './util'
describe '__streamResult', ->
it 'stream-ify simple object', ->
client = createClient()
streams = {}
s1 = client.__streamResult {
user:
id: 1
name: 'top'
ref:
... | true | _ = require 'lodash'
b = require 'b-assert'
Rx = require 'rxjs/Rx'
{api, nameGen, createClient} = require './util'
describe '__streamResult', ->
it 'stream-ify simple object', ->
client = createClient()
streams = {}
s1 = client.__streamResult {
user:
id: 1
name: 'top'
ref:
... |
[
{
"context": " tags.a {href: \"http://www.rmehlinger.com\"}, \"Richard Mehlinger\"\n \" and released under the \"\n tags.",
"end": 3305,
"score": 0.9998691082000732,
"start": 3288,
"tag": "NAME",
"value": "Richard Mehlinger"
},
{
"context": " code \"\n tags.a... | static/main.coffee | rmehlinger/html2reactive | 0 | {rx, rxStorage, _} = window
{session} = rxStorage
{cell, rxt, bind} = rx
{tags} = rxt
init = ->
$translateBox = tags.textarea {
id: 'translateBox'
class: 'form-control'
style: fontFamily: "monospace", marginBottom: 15
value: session.getItem("lastText")
change: -> session.setItem("lastText", $tran... | 93548 | {rx, rxStorage, _} = window
{session} = rxStorage
{cell, rxt, bind} = rx
{tags} = rxt
init = ->
$translateBox = tags.textarea {
id: 'translateBox'
class: 'form-control'
style: fontFamily: "monospace", marginBottom: 15
value: session.getItem("lastText")
change: -> session.setItem("lastText", $tran... | true | {rx, rxStorage, _} = window
{session} = rxStorage
{cell, rxt, bind} = rx
{tags} = rxt
init = ->
$translateBox = tags.textarea {
id: 'translateBox'
class: 'form-control'
style: fontFamily: "monospace", marginBottom: 15
value: session.getItem("lastText")
change: -> session.setItem("lastText", $tran... |
[
{
"context": "rondell plugin\n @name jquery.rondell.js\n @author Sebastian Helzle (sebastian@helzle.net or @sebobo)\n @version 1.1.",
"end": 81,
"score": 0.9998788833618164,
"start": 65,
"tag": "NAME",
"value": "Sebastian Helzle"
},
{
"context": "ame jquery.rondell.js\n @author S... | public/jquery.rondell-master/src/coffee/rondell.coffee | Cassandra17/NAbuy | 9 | ###!
jQuery rondell plugin
@name jquery.rondell.js
@author Sebastian Helzle (sebastian@helzle.net or @sebobo)
@version 1.1.0
@date 10/27/2013
@category jQuery plugin
@copyright (c) 2009-2013 Sebastian Helzle (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/licenses/mi... | 4111 | ###!
jQuery rondell plugin
@name jquery.rondell.js
@author <NAME> (<EMAIL> or @sebobo)
@version 1.1.0
@date 10/27/2013
@category jQuery plugin
@copyright (c) 2009-2013 <NAME> (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
###
(($,... | true | ###!
jQuery rondell plugin
@name jquery.rondell.js
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI or @sebobo)
@version 1.1.0
@date 10/27/2013
@category jQuery plugin
@copyright (c) 2009-2013 PI:NAME:<NAME>END_PI (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/l... |
[
{
"context": ": \"已归档话题\"\n \"archived-topic\": \"已归档话题\"\n \"mention\": \"@我\"\n \"batch-invite-textarea\": \"输入多个邮箱,用空格、逗号、分号分隔,或",
"end": 695,
"score": 0.9851506948471069,
"start": 692,
"tag": "USERNAME",
"value": "\"@我"
},
{
"context": "话题\"\n \"info-leave-team\": \"离开了团队\"\n... | talk-web/client/locales/zh.coffee | lzh5531773/talk | 1 | module.exports =
"about-guest-email": "若需要保存,请%s,简聊会将本次聊天记录发送到您的邮箱。"
"about-guest-talk": "欢迎!现在您可以开始参与讨论啦!但作为访客,您仅允许在该页面上查看本次聊天记录哦。"
"about-integrations": "简聊能够帮助你将散落在各地的信息聚合到一处,便于团队快速获取信息,发起讨论。"
"about-private-topic": "私有话题(仅话题成员可见)"
"about-public-topic": "公开话题(所有成员可见)"
"about-talk": "关于简聊"
"add": "添加"
... | 88304 | module.exports =
"about-guest-email": "若需要保存,请%s,简聊会将本次聊天记录发送到您的邮箱。"
"about-guest-talk": "欢迎!现在您可以开始参与讨论啦!但作为访客,您仅允许在该页面上查看本次聊天记录哦。"
"about-integrations": "简聊能够帮助你将散落在各地的信息聚合到一处,便于团队快速获取信息,发起讨论。"
"about-private-topic": "私有话题(仅话题成员可见)"
"about-public-topic": "公开话题(所有成员可见)"
"about-talk": "关于简聊"
"add": "添加"
... | true | module.exports =
"about-guest-email": "若需要保存,请%s,简聊会将本次聊天记录发送到您的邮箱。"
"about-guest-talk": "欢迎!现在您可以开始参与讨论啦!但作为访客,您仅允许在该页面上查看本次聊天记录哦。"
"about-integrations": "简聊能够帮助你将散落在各地的信息聚合到一处,便于团队快速获取信息,发起讨论。"
"about-private-topic": "私有话题(仅话题成员可见)"
"about-public-topic": "公开话题(所有成员可见)"
"about-talk": "关于简聊"
"add": "添加"
... |
[
{
"context": "e-break-on-single-newline': ->\n keyPath = 'markdown-it-preview.breakOnSingleNewline'\n atom.config.set(keyPath, not atom.config",
"end": 1492,
"score": 0.9946417212486267,
"start": 1452,
"tag": "KEY",
"value": "markdown-it-preview.breakOnSingleNewline"
},
{
... | lib/main.coffee | msimmer/markdown-preview | 2 | fs = require 'fs-plus'
{CompositeDisposable} = require 'atom'
MarkdownPreviewView = null
renderer = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
activate: ->
@disposables = new CompositeDisposable()
... | 70258 | fs = require 'fs-plus'
{CompositeDisposable} = require 'atom'
MarkdownPreviewView = null
renderer = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
activate: ->
@disposables = new CompositeDisposable()
... | true | fs = require 'fs-plus'
{CompositeDisposable} = require 'atom'
MarkdownPreviewView = null
renderer = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
activate: ->
@disposables = new CompositeDisposable()
... |
[
{
"context": "ational data from spring boot apps\n#\n# Author:\n# gambtho <thomas_gamble@homedepot.com>\n\n# URL Regex - http",
"end": 201,
"score": 0.9996602535247803,
"start": 194,
"tag": "USERNAME",
"value": "gambtho"
},
{
"context": "ta from spring boot apps\n#\n# Author:\n# ... | src/boot-me.coffee | gambtho/hubot-bootme | 0 | # Description
# A hubot script that returns information about spring boot apps in slack
#
# Commands:
# hubot bootme <url> - returns informational data from spring boot apps
#
# Author:
# gambtho <thomas_gamble@homedepot.com>
# URL Regex - http://stackoverflow.com/a/17773849 - foufos
# Human readable ms - http:/... | 116740 | # Description
# A hubot script that returns information about spring boot apps in slack
#
# Commands:
# hubot bootme <url> - returns informational data from spring boot apps
#
# Author:
# gambtho <<EMAIL>>
# URL Regex - http://stackoverflow.com/a/17773849 - foufos
# Human readable ms - http://stackoverflow.com/a... | true | # Description
# A hubot script that returns information about spring boot apps in slack
#
# Commands:
# hubot bootme <url> - returns informational data from spring boot apps
#
# Author:
# gambtho <PI:EMAIL:<EMAIL>END_PI>
# URL Regex - http://stackoverflow.com/a/17773849 - foufos
# Human readable ms - http://stac... |
[
{
"context": "mqp.createConnection { host: \"localhost\", login: \"guest\", password: \"guest\" }\n @connection.on \"ready\",",
"end": 197,
"score": 0.7356204986572266,
"start": 192,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "n { host: \"localhost\", login: \"guest\", pa... | lib/amqp.coffee | marufsiddiqui/NW-Timer | 1 | amqp = require("amqp")
uuid = require("uuid")
gui = require("nw.gui")
class AmqpConnection
constructor: (@handler) ->
@connection = amqp.createConnection { host: "localhost", login: "guest", password: "guest" }
@connection.on "ready", =>
@queue_name = uuid.v4()
gui.Window.get().on "close", => @... | 56997 | amqp = require("amqp")
uuid = require("uuid")
gui = require("nw.gui")
class AmqpConnection
constructor: (@handler) ->
@connection = amqp.createConnection { host: "localhost", login: "guest", password: "<PASSWORD>" }
@connection.on "ready", =>
@queue_name = uuid.v4()
gui.Window.get().on "close",... | true | amqp = require("amqp")
uuid = require("uuid")
gui = require("nw.gui")
class AmqpConnection
constructor: (@handler) ->
@connection = amqp.createConnection { host: "localhost", login: "guest", password: "PI:PASSWORD:<PASSWORD>END_PI" }
@connection.on "ready", =>
@queue_name = uuid.v4()
gui.Window... |
[
{
"context": "# Commune.js\n# Mocha test suite\n# Dan Motzenbecker\n\nbase = 1e8\n\nadder = (a = 0, b = 0, c = 0) ->\n #",
"end": 50,
"score": 0.9998778104782104,
"start": 34,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | test/main.coffee | dmotz/commune.js | 4 | # Commune.js
# Mocha test suite
# Dan Motzenbecker
base = 1e8
adder = (a = 0, b = 0, c = 0) ->
# Can't reference `base` here, since this function will
# operate under a different context if threads are supported.
for i in [0..1e8]
a++
b++
c++
[a, b, c]
describe 'Commune.js', ->
@timeout 2e4
... | 1388 | # Commune.js
# Mocha test suite
# <NAME>
base = 1e8
adder = (a = 0, b = 0, c = 0) ->
# Can't reference `base` here, since this function will
# operate under a different context if threads are supported.
for i in [0..1e8]
a++
b++
c++
[a, b, c]
describe 'Commune.js', ->
@timeout 2e4
describe... | true | # Commune.js
# Mocha test suite
# PI:NAME:<NAME>END_PI
base = 1e8
adder = (a = 0, b = 0, c = 0) ->
# Can't reference `base` here, since this function will
# operate under a different context if threads are supported.
for i in [0..1e8]
a++
b++
c++
[a, b, c]
describe 'Commune.js', ->
@timeout 2... |
[
{
"context": "student = \n name: \"person\" \n age: 20\n phone: 123456789 \n\nconsole.log key+",
"end": 26,
"score": 0.9993032217025757,
"start": 20,
"tag": "NAME",
"value": "person"
}
] | src/object.coffee | RayMiles94/CoffeeScriptests | 0 | student =
name: "person"
age: 20
phone: 123456789
console.log key+"::"+value for key,value of student | 128898 | student =
name: "<NAME>"
age: 20
phone: 123456789
console.log key+"::"+value for key,value of student | true | student =
name: "PI:NAME:<NAME>END_PI"
age: 20
phone: 123456789
console.log key+"::"+value for key,value of student |
[
{
"context": ", 106, 96, 103, 96 \n ctx.fill()\n\n # 瞳孔\n ctx.fillStyle = \"blue\"\n ctx.begin",
"end": 1826,
"score": 0.5057284832000732,
"start": 1825,
"tag": "NAME",
"value": "瞳"
}
] | webserver/coffee/demo_07_33.coffee | shixingfeng/three_js_with_coffeescript | 0 | console.log "demo_7.33 Canvas based texture WebGL2"
camera = null
scene = null
renderer = null
cloud = null
init = ()->
# 场景
scene = new THREE.Scene()
# 摄像机
camera = new THREE.PerspectiveCamera 45, window.innerWidth/window.innerHeight, 0.1, 1000
camera.position.x = 20
camera.position.y = 0... | 157472 | console.log "demo_7.33 Canvas based texture WebGL2"
camera = null
scene = null
renderer = null
cloud = null
init = ()->
# 场景
scene = new THREE.Scene()
# 摄像机
camera = new THREE.PerspectiveCamera 45, window.innerWidth/window.innerHeight, 0.1, 1000
camera.position.x = 20
camera.position.y = 0... | true | console.log "demo_7.33 Canvas based texture WebGL2"
camera = null
scene = null
renderer = null
cloud = null
init = ()->
# 场景
scene = new THREE.Scene()
# 摄像机
camera = new THREE.PerspectiveCamera 45, window.innerWidth/window.innerHeight, 0.1, 1000
camera.position.x = 20
camera.position.y = 0... |
[
{
"context": "mEvents(\n -> Bacon.once({ bacon: Bacon.once(\"sir francis\")}).flatMapLatest(\".bacon\")\n [\"sir francis\"]",
"end": 680,
"score": 0.9965229034423828,
"start": 669,
"tag": "NAME",
"value": "sir francis"
},
{
"context": "(\"sir francis\")}).flatMapLatest(\".b... | spec/specs/flatmaplatest.coffee | phadej/bacon.js | 0 | # build-dependencies: map
#
describe "EventStream.flatMapLatest", ->
describe "spawns new streams but collects values from the latest spawned stream only", ->
expectStreamEvents(
-> series(3, [1, 2]).flatMapLatest (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), 2], semiunstabl... | 184464 | # build-dependencies: map
#
describe "EventStream.flatMapLatest", ->
describe "spawns new streams but collects values from the latest spawned stream only", ->
expectStreamEvents(
-> series(3, [1, 2]).flatMapLatest (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), 2], semiunstabl... | true | # build-dependencies: map
#
describe "EventStream.flatMapLatest", ->
describe "spawns new streams but collects values from the latest spawned stream only", ->
expectStreamEvents(
-> series(3, [1, 2]).flatMapLatest (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), 2], semiunstabl... |
[
{
"context": "e.export.homeScreen = (req, res) ->\n# res.write \"Quinn Stratton's static website!\\n\"\n# res.write \"Home page!\\n\"\n",
"end": 83,
"score": 0.9991795420646667,
"start": 69,
"tag": "NAME",
"value": "Quinn Stratton"
}
] | pages/pages.coffee | drVulter/QuinnGStrattonSite | 0 | ## home page
#module.export.homeScreen = (req, res) ->
# res.write "Quinn Stratton's static website!\n"
# res.write "Home page!\n"
# date page
| 209914 | ## home page
#module.export.homeScreen = (req, res) ->
# res.write "<NAME>'s static website!\n"
# res.write "Home page!\n"
# date page
| true | ## home page
#module.export.homeScreen = (req, res) ->
# res.write "PI:NAME:<NAME>END_PI's static website!\n"
# res.write "Home page!\n"
# date page
|
[
{
"context": "*\n# JSScrollView - Scroll control class\n# Coded by Hajime Oh-yake 2013.03.29\n#*************************************",
"end": 106,
"score": 0.9998914003372192,
"start": 92,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/03_JSScrollView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSScrollView - Scroll control class
# Coded by Hajime Oh-yake 2013.03.29
#*****************************************
class JSScrollView extends JSView
constructor:(frame)->
super(frame)
@_frame.size.width
@_scroll = false
destructor:->
... | 137327 | #*****************************************
# JSScrollView - Scroll control class
# Coded by <NAME> 2013.03.29
#*****************************************
class JSScrollView extends JSView
constructor:(frame)->
super(frame)
@_frame.size.width
@_scroll = false
destructor:->
super(... | true | #*****************************************
# JSScrollView - Scroll control class
# Coded by PI:NAME:<NAME>END_PI 2013.03.29
#*****************************************
class JSScrollView extends JSView
constructor:(frame)->
super(frame)
@_frame.size.width
@_scroll = false
destructor:->
... |
[
{
"context": "state.badSubject\n classification.task_key = 'flag_bad_subject_task'\n else if @state.illegibleSubject\n classi",
"end": 4075,
"score": 0.9503588676452637,
"start": 4054,
"tag": "KEY",
"value": "flag_bad_subject_task"
},
{
"context": "illegibleSubject\n ... | app/assets/javascripts/lib/workflow-methods-mixin.cjsx | jakekara/ensemble-at-yale | 5 | Classification = require 'models/classification.coffee'
coreTools = require 'components/core-tools'
markTools = require 'components/mark/tools'
transcribeTools = require 'components/transcribe/tools'
verifyTools = require 'components/verify/tools'
module.export... | 50989 | Classification = require 'models/classification.coffee'
coreTools = require 'components/core-tools'
markTools = require 'components/mark/tools'
transcribeTools = require 'components/transcribe/tools'
verifyTools = require 'components/verify/tools'
module.export... | true | Classification = require 'models/classification.coffee'
coreTools = require 'components/core-tools'
markTools = require 'components/mark/tools'
transcribeTools = require 'components/transcribe/tools'
verifyTools = require 'components/verify/tools'
module.export... |
[
{
"context": " options =\n cachePassword : true\n password : secret.sudo\n child = sudo [ 'shutdown', '-r', 'now' ], optio",
"end": 2492,
"score": 0.9992486834526062,
"start": 2481,
"tag": "PASSWORD",
"value": "secret.sudo"
}
] | project_code/prod/tokenserver/server.coffee | kikko/devart-template | 6 | XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest
jws = require 'jws'
secret = require './secret'
wol = require 'wake_on_lan'
timeout = -1
heartbeat = true
class GAPI
constructor : (options, callback) ->
@token = null
@token_expires = null
getToken : (callback) ->
if (@token && @token_expi... | 65562 | XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest
jws = require 'jws'
secret = require './secret'
wol = require 'wake_on_lan'
timeout = -1
heartbeat = true
class GAPI
constructor : (options, callback) ->
@token = null
@token_expires = null
getToken : (callback) ->
if (@token && @token_expi... | true | XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest
jws = require 'jws'
secret = require './secret'
wol = require 'wake_on_lan'
timeout = -1
heartbeat = true
class GAPI
constructor : (options, callback) ->
@token = null
@token_expires = null
getToken : (callback) ->
if (@token && @token_expi... |
[
{
"context": "ievement is earned by spending gold.\n *\n * @name Consumerist\n * @prerequisite Spend 100000*[3*[n-1]+1] tot",
"end": 159,
"score": 0.8532195091247559,
"start": 151,
"tag": "NAME",
"value": "Consumer"
},
{
"context": "is earned by spending gold.\n *\n * @name Cons... | src/character/achievements/Consumer.coffee | sadbear-/IdleLands | 0 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
`/**
* This achievement is earned by spending gold.
*
* @name Consumerist
* @prerequisite Spend 100000*[3*[n-1]+1] total gold.
* @reward +0.07 itemSellMultiplier
* @category Achievements
* @package Player
*/`
class Consumer... | 183004 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
`/**
* This achievement is earned by spending gold.
*
* @name <NAME>ist
* @prerequisite Spend 100000*[3*[n-1]+1] total gold.
* @reward +0.07 itemSellMultiplier
* @category Achievements
* @package Player
*/`
class Consumeris... | true |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
`/**
* This achievement is earned by spending gold.
*
* @name PI:NAME:<NAME>END_PIist
* @prerequisite Spend 100000*[3*[n-1]+1] total gold.
* @reward +0.07 itemSellMultiplier
* @category Achievements
* @package Player
*/`
cl... |
[
{
"context": "MOCK_DATA = Object.freeze [\n {id: 1, name: \"Tom\"}\n {id: 2, name: \"Jerry\"}\n]\n\nclass User\n all: -",
"end": 48,
"score": 0.9998711347579956,
"start": 45,
"tag": "NAME",
"value": "Tom"
},
{
"context": ".freeze [\n {id: 1, name: \"Tom\"}\n {id: 2, name: \"Jerr... | app/models/user.coffee | leonchen/grapefruit | 0 | MOCK_DATA = Object.freeze [
{id: 1, name: "Tom"}
{id: 2, name: "Jerry"}
]
class User
all: ->
return MOCK_DATA
find: (id) ->
return MOCK_DATA.find((u) -> u.id == parseInt(id))
module.exports =
User: new User()
| 165485 | MOCK_DATA = Object.freeze [
{id: 1, name: "<NAME>"}
{id: 2, name: "<NAME>"}
]
class User
all: ->
return MOCK_DATA
find: (id) ->
return MOCK_DATA.find((u) -> u.id == parseInt(id))
module.exports =
User: new User()
| true | MOCK_DATA = Object.freeze [
{id: 1, name: "PI:NAME:<NAME>END_PI"}
{id: 2, name: "PI:NAME:<NAME>END_PI"}
]
class User
all: ->
return MOCK_DATA
find: (id) ->
return MOCK_DATA.find((u) -> u.id == parseInt(id))
module.exports =
User: new User()
|
[
{
"context": "__________________________________\n #\n # [quote, Homer Simpson]\n # ____________________________________________",
"end": 2858,
"score": 0.9957701563835144,
"start": 2845,
"tag": "NAME",
"value": "Homer Simpson"
},
{
"context": "__________________________________\n... | .atom/.atom/packages/language-asciidoc/grammars/asciidoc.cson | thepieuvre/dotfiles | 0 | 'name': 'AsciiDoc'
'scopeName': 'source.asciidoc'
'fileTypes': [
'ad'
'asc'
'adoc'
'asciidoc'
]
'patterns': [
# Includes inline patterns, see repository section below.
{
'include': '#inline'
}
# Includes AsciiDoc and Markdown style code blocks, see repository section
# below.
{
'include':... | 198202 | 'name': 'AsciiDoc'
'scopeName': 'source.asciidoc'
'fileTypes': [
'ad'
'asc'
'adoc'
'asciidoc'
]
'patterns': [
# Includes inline patterns, see repository section below.
{
'include': '#inline'
}
# Includes AsciiDoc and Markdown style code blocks, see repository section
# below.
{
'include':... | true | 'name': 'AsciiDoc'
'scopeName': 'source.asciidoc'
'fileTypes': [
'ad'
'asc'
'adoc'
'asciidoc'
]
'patterns': [
# Includes inline patterns, see repository section below.
{
'include': '#inline'
}
# Includes AsciiDoc and Markdown style code blocks, see repository section
# below.
{
'include':... |
[
{
"context": "###\n * grunt-choose\n * https://github.com/leny/grunt-choose\n *\n * Copyright (c) 2014 Leny\n * Lic",
"end": 46,
"score": 0.9996031522750854,
"start": 42,
"tag": "USERNAME",
"value": "leny"
},
{
"context": "hub.com/leny/grunt-choose\n *\n * Copyright (c) 2014 Leny\n *... | src/choose.coffee | gruntjs-updater/grunt-choose | 0 | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 Leny
* Licensed under the MIT license.
###
"use strict"
inquirer = require "inquirer"
getAllTasks = ( oTaskData ) ->
oTasks = {}
for sTask, oTargets of oTaskData
oTasks[ sTask ] = sTask
for sTarget, oOptions... | 66303 | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
inquirer = require "inquirer"
getAllTasks = ( oTaskData ) ->
oTasks = {}
for sTask, oTargets of oTaskData
oTasks[ sTask ] = sTask
for sTarget, oOptio... | true | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
inquirer = require "inquirer"
getAllTasks = ( oTaskData ) ->
oTasks = {}
for sTask, oTargets of oTaskData
oTasks[ sTask ] = sTask
for s... |
[
{
"context": "# The MIT License (MIT)\n# \n# Copyright (c) 2013 Alytis\n# \n# Permission is hereby granted, free of charge",
"end": 54,
"score": 0.9990889430046082,
"start": 48,
"tag": "NAME",
"value": "Alytis"
}
] | src/models.coffee | monokrome/HyperBone | 0 | # The MIT License (MIT)
#
# Copyright (c) 2013 Alytis
#
# 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, ... | 71256 | # The MIT License (MIT)
#
# Copyright (c) 2013 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, ... | true | # The MIT License (MIT)
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, ... |
[
{
"context": "##\n# A Loader using the border of the screen\n# By David Ronai / Makio64 / makiopolis.com\n##\n\n# TODO make the hi",
"end": 61,
"score": 0.9998583793640137,
"start": 50,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": " using the border of the screen\n# By David... | test/src/coffee/ui/BorderLoader.coffee | Makio64/christmasxp2015 | 65 | ##
# A Loader using the border of the screen
# By David Ronai / Makio64 / makiopolis.com
##
# TODO make the hide animation.
StageRenderer = require "core/StageRenderer"
class BorderLoader
constructor:()->
# Try with css, if too slow try with canvas
# As its the first loader can't use tweenlite
# Create Elem... | 178085 | ##
# A Loader using the border of the screen
# By <NAME> / Makio64 / makiopolis.com
##
# TODO make the hide animation.
StageRenderer = require "core/StageRenderer"
class BorderLoader
constructor:()->
# Try with css, if too slow try with canvas
# As its the first loader can't use tweenlite
# Create Elements
... | true | ##
# A Loader using the border of the screen
# By PI:NAME:<NAME>END_PI / Makio64 / makiopolis.com
##
# TODO make the hide animation.
StageRenderer = require "core/StageRenderer"
class BorderLoader
constructor:()->
# Try with css, if too slow try with canvas
# As its the first loader can't use tweenlite
# Cr... |
[
{
"context": "leoverview Tests for padded-blocks rule.\n# @author Mathias Schreck <https://github.com/lo1tuma>\n###\n\n'use strict'\n\n#",
"end": 76,
"score": 0.9998278617858887,
"start": 61,
"tag": "NAME",
"value": "Mathias Schreck"
},
{
"context": "le.\n# @author Mathias Schreck <h... | src/tests/rules/padded-blocks.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for padded-blocks rule.
# @author Mathias Schreck <https://github.com/lo1tuma>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-disable ... | 165347 | ###*
# @fileoverview Tests for padded-blocks rule.
# @author <NAME> <https://github.com/lo1tuma>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-disable ###
rule... | true | ###*
# @fileoverview Tests for padded-blocks rule.
# @author PI:NAME:<NAME>END_PI <https://github.com/lo1tuma>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-dis... |
[
{
"context": "solves({\n data: {\n access_token: 'def456'\n }\n })\n\n it \"posts to /auth/githu",
"end": 446,
"score": 0.7935418486595154,
"start": 440,
"tag": "PASSWORD",
"value": "def456"
},
{
"context": "edWith(\"/auth/github\", {\n github_... | test/travis_api_spec.coffee | cypress-io/cypress-bumpercar | 4 | require("./spec_helper")
_ = require("lodash")
travisApi = require("../lib/providers/travis_api")
describe "Travis API wrapper", ->
it "requires a githubToken", ->
expect ->
travisApi.create()
.to.throw "TravisCI requires a GitHub Token!"
context "#ensureAuthorization", ->
beforeEach ->
... | 210229 | require("./spec_helper")
_ = require("lodash")
travisApi = require("../lib/providers/travis_api")
describe "Travis API wrapper", ->
it "requires a githubToken", ->
expect ->
travisApi.create()
.to.throw "TravisCI requires a GitHub Token!"
context "#ensureAuthorization", ->
beforeEach ->
... | true | require("./spec_helper")
_ = require("lodash")
travisApi = require("../lib/providers/travis_api")
describe "Travis API wrapper", ->
it "requires a githubToken", ->
expect ->
travisApi.create()
.to.throw "TravisCI requires a GitHub Token!"
context "#ensureAuthorization", ->
beforeEach ->
... |
[
{
"context": " (new WordArray w).to_buffer()\n\nkey = new Buffer \"583d18c32d8857a627ea3e86d6feada8\", \"hex\"\niv = new Buffer 'fe40e836b0e9b193aabbccdd",
"end": 303,
"score": 0.9996905326843262,
"start": 271,
"tag": "KEY",
"value": "583d18c32d8857a627ea3e86d6feada8"
}
] | dev/c5.iced | johnnyRose/kbpgp | 1 | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = new Buffer "583d18c32d8857a627ea3e86d6feada8", "hex"
iv = new... | 45482 | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = new Buffer "<KEY>", "hex"
iv = new Buffer 'fe40e836b0e9b193aa... | true | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = new Buffer "PI:KEY:<KEY>END_PI", "hex"
iv = new Buffer 'fe40e... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993074536323547,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-fork-and-spawn.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... | 161583 | # 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": " if key is \"moveTo\"\n key = \"lineTo\"\n\n values = [null].concat set\n\n ",
"end": 38981,
"score": 0.5899465084075928,
"start": 38975,
"tag": "KEY",
"value": "lineTo"
},
{
"context": "\n O/P: Array of Posns\n\n I am a ... | tests/io.test.coffee | zeke/mondrian | 1 | ###
Utils
Random little snippets to make things easier.
Default prototype extensions for String, Array, Math... everything
Add miscellaneous helpers that can be useful in more than one file here, since
this gets compiled before everything else.
_____
/__ \
___) E| -_
\__... | 89177 | ###
Utils
Random little snippets to make things easier.
Default prototype extensions for String, Array, Math... everything
Add miscellaneous helpers that can be useful in more than one file here, since
this gets compiled before everything else.
_____
/__ \
___) E| -_
\__... | true | ###
Utils
Random little snippets to make things easier.
Default prototype extensions for String, Array, Math... everything
Add miscellaneous helpers that can be useful in more than one file here, since
this gets compiled before everything else.
_____
/__ \
___) E| -_
\__... |
[
{
"context": " An anode lambda calculus library based on work of Dale Schumacher\n#\n# see: http://www.dalnefre.com/wp/2010/09/evalu",
"end": 86,
"score": 0.9998041391372681,
"start": 71,
"tag": "NAME",
"value": "Dale Schumacher"
},
{
"context": "ions-part-2-conditional-special-form/... | examples/lambda2.coffee | tristanls/anodejs | 3 | #
# lambda2.coffee: An anode lambda calculus library based on work of Dale Schumacher
#
# see: http://www.dalnefre.com/wp/2010/09/evaluating-expressions-part-2-conditional-special-form/
#
# (C) 2011 Tristan Slominski
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Abstraction
Lambda.abs_expr_beh... | 147578 | #
# lambda2.coffee: An anode lambda calculus library based on work of <NAME>
#
# see: http://www.dalnefre.com/wp/2010/09/evaluating-expressions-part-2-conditional-special-form/
#
# (C) 2011 <NAME>
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Abstraction
Lambda.abs_expr_beh = beh 'ident', 'bod... | true | #
# lambda2.coffee: An anode lambda calculus library based on work of PI:NAME:<NAME>END_PI
#
# see: http://www.dalnefre.com/wp/2010/09/evaluating-expressions-part-2-conditional-special-form/
#
# (C) 2011 PI:NAME:<NAME>END_PI
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Abstraction
Lambda.abs_... |
[
{
"context": "LaTeX and the Terminal.\n#\n# Copyright (C) 2014, William Stein\n#\n# This program is free software: you can red",
"end": 217,
"score": 0.9998677968978882,
"start": 204,
"tag": "NAME",
"value": "William Stein"
},
{
"context": "s uses.\n#\n# * \"Differential Sync... | .sagemathcloud/diffsync.coffee | febman/elastic-3D-model | 0 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, William Stein
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of... | 117608 | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, <NAME>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GN... | true | ###############################################################################
#
# SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal.
#
# Copyright (C) 2014, PI:NAME:<NAME>END_PI
#
# This program is free software: you can redistribute it and/or modify
# it under the t... |
[
{
"context": " email: validUser.email\n password: 'secret123'\n\n $httpBackend\n .expectPOST('/api/ve",
"end": 2084,
"score": 0.9993112087249756,
"start": 2075,
"tag": "PASSWORD",
"value": "secret123"
},
{
"context": " '/rigel'\n passwordResetPat... | test/test/unit/ng-token-auth/multiple-user-types.coffee | Neil-Ni/ng-token-auth | 1,216 | suite 'multiple concurrent auth configurations', ->
successResp = validUser
suite 'single unnamed config', ->
defaultConfig =
signOutUrl: '/vega/sign_out'
emailSignInPath: '/vega/sign_in'
emailRegistrationPath: '/vega'
accountUpdatePath: '/vega'
accoun... | 116834 | suite 'multiple concurrent auth configurations', ->
successResp = validUser
suite 'single unnamed config', ->
defaultConfig =
signOutUrl: '/vega/sign_out'
emailSignInPath: '/vega/sign_in'
emailRegistrationPath: '/vega'
accountUpdatePath: '/vega'
accoun... | true | suite 'multiple concurrent auth configurations', ->
successResp = validUser
suite 'single unnamed config', ->
defaultConfig =
signOutUrl: '/vega/sign_out'
emailSignInPath: '/vega/sign_in'
emailRegistrationPath: '/vega'
accountUpdatePath: '/vega'
accoun... |
[
{
"context": "le\", (done) ->\n @user = new User('mmdb_user', '1')\n expect(@user).to.be.ok\n ",
"end": 1610,
"score": 0.6785432696342468,
"start": 1602,
"tag": "USERNAME",
"value": "mdb_user"
},
{
"context": " data =\n ... | test/spec/unit/modules.spec.coffee | Nearhan/modules-activitystream | 1 | (->
"use strict"
Activity = undefined
ActivityStreamModule = undefined
Logger = undefined
User = undefined
Mapper = undefined
before (done) ->
require [
"modules/activity",
"modules/activityStream",
"modules/logger",
"modules/user"
... | 16550 | (->
"use strict"
Activity = undefined
ActivityStreamModule = undefined
Logger = undefined
User = undefined
Mapper = undefined
before (done) ->
require [
"modules/activity",
"modules/activityStream",
"modules/logger",
"modules/user"
... | true | (->
"use strict"
Activity = undefined
ActivityStreamModule = undefined
Logger = undefined
User = undefined
Mapper = undefined
before (done) ->
require [
"modules/activity",
"modules/activityStream",
"modules/logger",
"modules/user"
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9975888133049011,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/http.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 197102 | # 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": " fillColorString = fillColor.toString()\n\n #// Massachussets Drawing\n context.beginPath()\n cont",
"end": 295,
"score": 0.735909104347229,
"start": 291,
"tag": "NAME",
"value": "Mass"
},
{
"context": "Style = fillColorString\n context.fill()\n #// Mai... | src/maps/SimpleUSAMapIconAppearance.coffee | intensifier/Fizzygum | 110 | class SimpleUSAMapIconAppearance extends IconAppearance
constructor: (@morph) ->
super
@preferredSize = new Point 500, 313
@specificationSize = new Point 1000, 626
paintFunction: (context) ->
fillColor = @morph.color
fillColorString = fillColor.toString()
#// Massachussets Drawing
con... | 20790 | class SimpleUSAMapIconAppearance extends IconAppearance
constructor: (@morph) ->
super
@preferredSize = new Point 500, 313
@specificationSize = new Point 1000, 626
paintFunction: (context) ->
fillColor = @morph.color
fillColorString = fillColor.toString()
#// <NAME>achussets Drawing
c... | true | class SimpleUSAMapIconAppearance extends IconAppearance
constructor: (@morph) ->
super
@preferredSize = new Point 500, 313
@specificationSize = new Point 1000, 626
paintFunction: (context) ->
fillColor = @morph.color
fillColorString = fillColor.toString()
#// PI:NAME:<NAME>END_PIachussets... |
[
{
"context": "'use strict'\n#\n# Ethan Mick\n# 2015\n#\n# Simulate the creation of the game worl",
"end": 27,
"score": 0.9997787475585938,
"start": 17,
"tag": "NAME",
"value": "Ethan Mick"
},
{
"context": "d create a new user', (done)->\n User.register('cooluser420', 'testing').th... | test/game/playthrough1.coffee | ethanmick/mustached-octo-dubstep | 0 | 'use strict'
#
# Ethan Mick
# 2015
#
# Simulate the creation of the game world, and then someone playing
# through some of it
#
should = require('chai').should()
mongoose = require('mongoose-q')()
Q = require 'q'
Galaxy = require '../../lib/models/galaxy'
SolarSystem = require '../../lib/models/solar_system'
User = re... | 76185 | 'use strict'
#
# <NAME>
# 2015
#
# Simulate the creation of the game world, and then someone playing
# through some of it
#
should = require('chai').should()
mongoose = require('mongoose-q')()
Q = require 'q'
Galaxy = require '../../lib/models/galaxy'
SolarSystem = require '../../lib/models/solar_system'
User = requir... | true | 'use strict'
#
# PI:NAME:<NAME>END_PI
# 2015
#
# Simulate the creation of the game world, and then someone playing
# through some of it
#
should = require('chai').should()
mongoose = require('mongoose-q')()
Q = require 'q'
Galaxy = require '../../lib/models/galaxy'
SolarSystem = require '../../lib/models/solar_system'... |
[
{
"context": " username: ssh.config.username\n password: ssh.config.password\n private_key: ssh.config.privateKey\n pu",
"end": 560,
"score": 0.9992338418960571,
"start": 541,
"tag": "PASSWORD",
"value": "ssh.config.password"
},
{
"context": " username: ssh.confi... | packages/core/test/ssh/open.coffee | DanielJohnHarty/node-nikita | 1 |
connect = require 'ssh2-connect'
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('ssh2-they').configure ssh.filter( (ssh) -> !!ssh )...
return unless tags.posix
describe 'ssh.open', ->
... | 200390 |
connect = require 'ssh2-connect'
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('ssh2-they').configure ssh.filter( (ssh) -> !!ssh )...
return unless tags.posix
describe 'ssh.open', ->
... | true |
connect = require 'ssh2-connect'
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('ssh2-they').configure ssh.filter( (ssh) -> !!ssh )...
return unless tags.posix
describe 'ssh.open', ->
... |
[
{
"context": " _.extend({\n el: 'some-el',\n token: 'jnsd8suhnd',\n url: 'https://www.example.com',\n res",
"end": 379,
"score": 0.8807068467140198,
"start": 369,
"tag": "PASSWORD",
"value": "jnsd8suhnd"
},
{
"context": " ->\n it 'returns the token', ->\n ... | spec/dash-autocomplete/container_configuration.coffee | samaritanministries/dash-autocomplete.js | 0 | describe 'DashAutocomplete.ContainerConfiguration', ->
class MockWindow
alert: ->
class MockCollectionView
render: ->
showResults: ->
showNoResults: ->
showError: ->
searchCriteriaCleared: ->
createContainerConfiguration = (options, mockWindow=new MockWindow()) ->
defaultedOptions = ... | 183669 | describe 'DashAutocomplete.ContainerConfiguration', ->
class MockWindow
alert: ->
class MockCollectionView
render: ->
showResults: ->
showNoResults: ->
showError: ->
searchCriteriaCleared: ->
createContainerConfiguration = (options, mockWindow=new MockWindow()) ->
defaultedOptions = ... | true | describe 'DashAutocomplete.ContainerConfiguration', ->
class MockWindow
alert: ->
class MockCollectionView
render: ->
showResults: ->
showNoResults: ->
showError: ->
searchCriteriaCleared: ->
createContainerConfiguration = (options, mockWindow=new MockWindow()) ->
defaultedOptions = ... |
[
{
"context": "', 'Server', 'Content-Length']\n if key == 'Content-Type'\n is_json = value.search(/(json)/i) ",
"end": 846,
"score": 0.6197718977928162,
"start": 838,
"tag": "KEY",
"value": "Content-"
}
] | APIBlueprintGenerator.coffee | holajiawei/Paw-APIBlueprintGenerator | 0 | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
templateRequest = readFile("apiblueprint-request.mustache")
templateGroup =... | 181369 | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
templateRequest = readFile("apiblueprint-request.mustache")
templateGroup =... | true | # in API v0.2.0 and below (Paw 2.2.2 and below), require had no return value
((root) ->
if root.bundle?.minApiVersion('0.2.0')
root.Mustache = require("./mustache")
else
require("mustache.js")
)(this)
APIBlueprintGenerator = ->
templateRequest = readFile("apiblueprint-request.mustache")
templateGroup =... |
[
{
"context": " Github repository: <a href='http://github.com/sedabull/quantum-shell'>sedabull/quantum-shell</a>\n ",
"end": 3753,
"score": 0.99945467710495,
"start": 3745,
"tag": "USERNAME",
"value": "sedabull"
},
{
"context": "a href='http://github.com/sedabull/quantum-shel... | atom/packages/quantum-shell/lib/quantum-shell-model.coffee | dandrzejewski/rcfiles | 3 | #node core
fs = require 'fs'
os = require 'os'
path = require 'path'
{exec, spawn} = require 'child_process'
#node modules
split = require 'split'
through = require 'through2'
_ = require 'underscore-plus'
#atom core
{CompositeDisposable} = require 'atom'
#builtins
time = require './util/time'
sh = require './builtins/... | 201614 | #node core
fs = require 'fs'
os = require 'os'
path = require 'path'
{exec, spawn} = require 'child_process'
#node modules
split = require 'split'
through = require 'through2'
_ = require 'underscore-plus'
#atom core
{CompositeDisposable} = require 'atom'
#builtins
time = require './util/time'
sh = require './builtins/... | true | #node core
fs = require 'fs'
os = require 'os'
path = require 'path'
{exec, spawn} = require 'child_process'
#node modules
split = require 'split'
through = require 'through2'
_ = require 'underscore-plus'
#atom core
{CompositeDisposable} = require 'atom'
#builtins
time = require './util/time'
sh = require './builtins/... |
[
{
"context": "Essence.Models.Timelet\n id: 123\n name: 'My test Timelet'\n duration: 33\n\n @collection = new Essenc",
"end": 135,
"score": 0.9834614992141724,
"start": 120,
"tag": "NAME",
"value": "My test Timelet"
}
] | spec/javascripts/modules/timelet/views/items/timelet_spec.js.coffee | kaethorn/essence | 0 | describe 'Essence.Views.Timelet', ->
beforeEach ->
@model = new Essence.Models.Timelet
id: 123
name: 'My test Timelet'
duration: 33
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view = new Essence.Views.Timelet model: @model
@html = @v... | 85681 | describe 'Essence.Views.Timelet', ->
beforeEach ->
@model = new Essence.Models.Timelet
id: 123
name: '<NAME>'
duration: 33
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view = new Essence.Views.Timelet model: @model
@html = @view.rende... | true | describe 'Essence.Views.Timelet', ->
beforeEach ->
@model = new Essence.Models.Timelet
id: 123
name: 'PI:NAME:<NAME>END_PI'
duration: 33
@collection = new Essence.Collections.Timelets [@model]
@model.collection = @collection
@view = new Essence.Views.Timelet model: @model
@html... |
[
{
"context": "{@build_output}/build#{@sh_suffix}\"\n @run_key = \"[RUN]\".green.bold\n # Create build dir if none\n @logger.deb \"B",
"end": 2121,
"score": 0.9627575278282166,
"start": 2103,
"tag": "KEY",
"value": "\"[RUN]\".green.bold"
},
{
"context": "e #{env.magenta.bold}... | src/classes/script.coffee | jakhu/retis | 1 | # Class for runtime script
###
# Module dependencies
###
mkdirp = require 'mkdirp'
fs = require 'fs'
os = require 'os'
{validateOS} = require '../os'
{spawnSync} = require 'child_process'
{spawn} = require 'child_process'
###
# Vars
###
script = module.exports = {}
###
# Class
# @param logger {Logger} Logger
# @param o... | 57454 | # Class for runtime script
###
# Module dependencies
###
mkdirp = require 'mkdirp'
fs = require 'fs'
os = require 'os'
{validateOS} = require '../os'
{spawnSync} = require 'child_process'
{spawn} = require 'child_process'
###
# Vars
###
script = module.exports = {}
###
# Class
# @param logger {Logger} Logger
# @param o... | true | # Class for runtime script
###
# Module dependencies
###
mkdirp = require 'mkdirp'
fs = require 'fs'
os = require 'os'
{validateOS} = require '../os'
{spawnSync} = require 'child_process'
{spawn} = require 'child_process'
###
# Vars
###
script = module.exports = {}
###
# Class
# @param logger {Logger} Logger
# @param o... |
[
{
"context": "}\n { key: \"data.headers\" }\n { key: \"data.body\" }\n ]\n }\n]\n",
"end": 506,
"score": 0.5600033402442932,
"start": 506,
"tag": "KEY",
"value": ""
}
] | jobs/do-ntlm-http-request/form.cson | octoblu/meshblu-connector-http-connector | 0 | angular: [
{ key: 'data.requestOptions.uri' }
{
type: 'fieldset'
title: 'Authentication'
items: [
'data.authentication.username'
'data.authentication.password'
'data.authentication.hostname'
]
}
{
type: "fieldset"
title: "Request Options"
items: [
{ key: "data... | 184059 | angular: [
{ key: 'data.requestOptions.uri' }
{
type: 'fieldset'
title: 'Authentication'
items: [
'data.authentication.username'
'data.authentication.password'
'data.authentication.hostname'
]
}
{
type: "fieldset"
title: "Request Options"
items: [
{ key: "data... | true | angular: [
{ key: 'data.requestOptions.uri' }
{
type: 'fieldset'
title: 'Authentication'
items: [
'data.authentication.username'
'data.authentication.password'
'data.authentication.hostname'
]
}
{
type: "fieldset"
title: "Request Options"
items: [
{ key: "data... |
[
{
"context": "body.smtp_username}\\\",\n \\\"smtp_password\\\": \\\"#{req.body.smtp_password}\\\",\n \\\"smtp_port\\\": \\\"#{req",
"end": 810,
"score": 0.5365415215492249,
"start": 807,
"tag": "PASSWORD",
"value": "req"
}
] | routes/settings.coffee | osvlabs/coffee-alarm | 0 | express = require 'express'
mongo = require 'mongoskin'
redis = require 'redis'
ensure_login = require 'connect-ensure-login'
router = express.Router()
require('dotenv').config()
# Redis Connect
client = redis.createClient(process.env.REDIS_PORT, process.env.REDIS_HOST)
# GET users listing.
router.get '/', ensure_log... | 61749 | express = require 'express'
mongo = require 'mongoskin'
redis = require 'redis'
ensure_login = require 'connect-ensure-login'
router = express.Router()
require('dotenv').config()
# Redis Connect
client = redis.createClient(process.env.REDIS_PORT, process.env.REDIS_HOST)
# GET users listing.
router.get '/', ensure_log... | true | express = require 'express'
mongo = require 'mongoskin'
redis = require 'redis'
ensure_login = require 'connect-ensure-login'
router = express.Router()
require('dotenv').config()
# Redis Connect
client = redis.createClient(process.env.REDIS_PORT, process.env.REDIS_HOST)
# GET users listing.
router.get '/', ensure_log... |
[
{
"context": "eepEqual(result, {\n tanaka: { id: 'tanaka', name: 'tanaka', age: 23, gender: 'f' }\n ",
"end": 691,
"score": 0.6998754739761353,
"start": 688,
"tag": "NAME",
"value": "tan"
},
{
"context": " {\n tanaka: { id: 'tanaka', name: 'tanaka', ... | spec/fixture-loader.coffee | CureApp/base-domain | 37 |
Facade = require './base-domain'
{ FixtureLoader } = require './others'
describe 'FixtureLoader', ->
before ->
@createTSV = (rows...) -> (row.join('\t') for row in rows).join('\n')
@facade = require('./create-facade').create()
@fxLoader = new FixtureLoader(@facade, ['dummy'])
des... | 3391 |
Facade = require './base-domain'
{ FixtureLoader } = require './others'
describe 'FixtureLoader', ->
before ->
@createTSV = (rows...) -> (row.join('\t') for row in rows).join('\n')
@facade = require('./create-facade').create()
@fxLoader = new FixtureLoader(@facade, ['dummy'])
des... | true |
Facade = require './base-domain'
{ FixtureLoader } = require './others'
describe 'FixtureLoader', ->
before ->
@createTSV = (rows...) -> (row.join('\t') for row in rows).join('\n')
@facade = require('./create-facade').create()
@fxLoader = new FixtureLoader(@facade, ['dummy'])
des... |
[
{
"context": "ata.outputKey = \"\"\n\t\t\t\t\t\tthisPointer.data.name = \"Some Name\"\n\t\t\t\t\t\tthisPointer.data.region = \"Some Region\"\n\n\t",
"end": 5567,
"score": 0.9934276342391968,
"start": 5558,
"tag": "NAME",
"value": "Some Name"
},
{
"context": "ata.outputKey = \"\"\n\t\... | tests/awsec2.tests.coffee | VeriShip/grunt-niteo-awsec2 | 2 | Q = require 'q'
should = require 'should'
S = require 'string'
niteo = require 'niteoaws'
sinon = require 'sinon'
grunt = null
thisPointer = null
ec2ProviderFactoryStub = null
ec2ProviderStub = null
getGruntStub = ->
log:
writeln: sinon.stub()
ok: sinon.stub() #console.log
error: sinon.stub()
verbose:
wr... | 186642 | Q = require 'q'
should = require 'should'
S = require 'string'
niteo = require 'niteoaws'
sinon = require 'sinon'
grunt = null
thisPointer = null
ec2ProviderFactoryStub = null
ec2ProviderStub = null
getGruntStub = ->
log:
writeln: sinon.stub()
ok: sinon.stub() #console.log
error: sinon.stub()
verbose:
wr... | true | Q = require 'q'
should = require 'should'
S = require 'string'
niteo = require 'niteoaws'
sinon = require 'sinon'
grunt = null
thisPointer = null
ec2ProviderFactoryStub = null
ec2ProviderStub = null
getGruntStub = ->
log:
writeln: sinon.stub()
ok: sinon.stub() #console.log
error: sinon.stub()
verbose:
wr... |
[
{
"context": "also works with bot name and alias\n#\n# Author:\n# Tim Kinnane\n\nmodule.exports = (robot) ->\n\n robot.respond /wh",
"end": 644,
"score": 0.9998641014099121,
"start": 633,
"tag": "NAME",
"value": "Tim Kinnane"
}
] | test/scripts/diagnostics.coffee | PropertyUX/nubot-playbook | 0 | # Description
# Diagnostics interactions provide a baseline measure before doing anything
# more complicated. They work on Hubot without any modules of Playbook.
#
# Configuration:
# N/A
#
# Commands:
# hubot which version - Responds with the NPM version of this package
# is hubot listening? - Responds lettin... | 40254 | # Description
# Diagnostics interactions provide a baseline measure before doing anything
# more complicated. They work on Hubot without any modules of Playbook.
#
# Configuration:
# N/A
#
# Commands:
# hubot which version - Responds with the NPM version of this package
# is hubot listening? - Responds lettin... | true | # Description
# Diagnostics interactions provide a baseline measure before doing anything
# more complicated. They work on Hubot without any modules of Playbook.
#
# Configuration:
# N/A
#
# Commands:
# hubot which version - Responds with the NPM version of this package
# is hubot listening? - Responds lettin... |
[
{
"context": "ce COOLSTRAP.Fallback\n# @class Android\n#\n# @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n###\n\nCO",
"end": 143,
"score": 0.9998957514762878,
"start": 128,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": "ack\n# @class Android\n#\n# @au... | coolstrap-core/app/assets/javascripts/coolstrap/fallback/_Coolstrap.Fallback.Android.coffee | cristianferrarig/coolstrap | 0 | ###
# Fallback to Android unexpected behaviors.
# Android Sucks!
#
# @namespace COOLSTRAP.Fallback
# @class Android
#
# @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
###
COOLSTRAP.Fallback.Android = ((cool) ->
CLASS = cool.Constants.CLASS
_enableElement = (element) ->
element.removeAttr "di... | 68183 | ###
# Fallback to Android unexpected behaviors.
# Android Sucks!
#
# @namespace COOLSTRAP.Fallback
# @class Android
#
# @author <NAME> <<EMAIL>> || @abraham_barrera
###
COOLSTRAP.Fallback.Android = ((cool) ->
CLASS = cool.Constants.CLASS
_enableElement = (element) ->
element.removeAttr "disabled"
_disableEl... | true | ###
# Fallback to Android unexpected behaviors.
# Android Sucks!
#
# @namespace COOLSTRAP.Fallback
# @class Android
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
###
COOLSTRAP.Fallback.Android = ((cool) ->
CLASS = cool.Constants.CLASS
_enableElement = (element) ->
element.remove... |
[
{
"context": "wikisource.org/wiki/プログラマが知るべき97のこと\n#\n# Author:\n# k-ysd <kysd24@gmail.com>\n\nclient = require 'cheerio-htt",
"end": 326,
"score": 0.999697208404541,
"start": 321,
"tag": "USERNAME",
"value": "k-ysd"
},
{
"context": "ce.org/wiki/プログラマが知るべき97のこと\n#\n# Author:\n# k-y... | src/97TEPSK.coffee | kei-xoox/hubot-97-TEPSK | 1 | # Description
# Displays a random message from
# https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Dependencies:
# cheerio-httpcli, google-url
#
# Configuration:
# HUBOT_GOOGLE_CSE_KEY
#
# Commands:
# hubot 97 - Displays a random message from https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Author:
# ... | 218302 | # Description
# Displays a random message from
# https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Dependencies:
# cheerio-httpcli, google-url
#
# Configuration:
# HUBOT_GOOGLE_CSE_KEY
#
# Commands:
# hubot 97 - Displays a random message from https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Author:
# ... | true | # Description
# Displays a random message from
# https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Dependencies:
# cheerio-httpcli, google-url
#
# Configuration:
# HUBOT_GOOGLE_CSE_KEY
#
# Commands:
# hubot 97 - Displays a random message from https://ja.m.wikisource.org/wiki/プログラマが知るべき97のこと
#
# Author:
# ... |
[
{
"context": "\n\n obj.tab = tab\n obj.type = type\n\n key = hasher(obj_s)\n return { key, obj, obj_s }\n\n #-------",
"end": 3736,
"score": 0.8459382057189941,
"start": 3730,
"tag": "KEY",
"value": "hasher"
}
] | src/tree.iced | AngelKey/Angelkey.merkletree | 40 | iutils = require 'iced-utils'
{Lock} = iutils.lock
{json_stringify_sorted} = iutils.util
{chain_err,make_esc} = require 'iced-error'
deq = require 'deep-equal'
##=======================================================================
exports.node_types = node_types =
NONE : 0
INODE : 1
LEAF : 2
##=============... | 89576 | iutils = require 'iced-utils'
{Lock} = iutils.lock
{json_stringify_sorted} = iutils.util
{chain_err,make_esc} = require 'iced-error'
deq = require 'deep-equal'
##=======================================================================
exports.node_types = node_types =
NONE : 0
INODE : 1
LEAF : 2
##=============... | true | iutils = require 'iced-utils'
{Lock} = iutils.lock
{json_stringify_sorted} = iutils.util
{chain_err,make_esc} = require 'iced-error'
deq = require 'deep-equal'
##=======================================================================
exports.node_types = node_types =
NONE : 0
INODE : 1
LEAF : 2
##=============... |
[
{
"context": " email = dataUtilsService.emailInString('foo <bar@foo.com>')\n expect(email).toBe('bar@foo.com')\n",
"end": 4573,
"score": 0.9999213218688965,
"start": 4562,
"tag": "EMAIL",
"value": "bar@foo.com"
},
{
"context": "o <bar@foo.com>')\n expect(ema... | ref_code/services/dataUtils/dataUtils.service.spec.coffee | tardyp/buildbot-data | 1 | describe 'Data utils service', ->
beforeEach module 'bbData'
dataUtilsService = undefined
injected = ($injector) ->
dataUtilsService = $injector.get('dataUtilsService')
beforeEach(inject(injected))
it 'should be defined', ->
expect(dataUtilsService).toBeDefined()
describe 'ca... | 168024 | describe 'Data utils service', ->
beforeEach module 'bbData'
dataUtilsService = undefined
injected = ($injector) ->
dataUtilsService = $injector.get('dataUtilsService')
beforeEach(inject(injected))
it 'should be defined', ->
expect(dataUtilsService).toBeDefined()
describe 'ca... | true | describe 'Data utils service', ->
beforeEach module 'bbData'
dataUtilsService = undefined
injected = ($injector) ->
dataUtilsService = $injector.get('dataUtilsService')
beforeEach(inject(injected))
it 'should be defined', ->
expect(dataUtilsService).toBeDefined()
describe 'ca... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990501403808594,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/tty.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... | 177197 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "-----------------------\n\n constructor : ({@req, @username, @address, @log}) ->\n @address or= \"1HUCBSJeHn",
"end": 583,
"score": 0.8946855068206787,
"start": 575,
"tag": "USERNAME",
"value": "username"
},
{
"context": "_userid : (cb) ->\n @log?.debug \"+ looku... | src/base.iced | AngelKey/Angelkey.blockchain | 8 | {make_esc} = require 'iced-error'
btcjs = require 'keybase-bitcoinjs-lib'
merkle = require 'merkle-tree'
{armor} = require 'pgp-utils'
{bufeq_secure,streq_secure} = require('iced-utils').util
get_hash_from_triple = (user_triple) ->
switch user_triple[0]
when 1 then user_triple[1]
when 2 then user_triple[1][... | 51521 | {make_esc} = require 'iced-error'
btcjs = require 'keybase-bitcoinjs-lib'
merkle = require 'merkle-tree'
{armor} = require 'pgp-utils'
{bufeq_secure,streq_secure} = require('iced-utils').util
get_hash_from_triple = (user_triple) ->
switch user_triple[0]
when 1 then user_triple[1]
when 2 then user_triple[1][... | true | {make_esc} = require 'iced-error'
btcjs = require 'keybase-bitcoinjs-lib'
merkle = require 'merkle-tree'
{armor} = require 'pgp-utils'
{bufeq_secure,streq_secure} = require('iced-utils').util
get_hash_from_triple = (user_triple) ->
switch user_triple[0]
when 1 then user_triple[1]
when 2 then user_triple[1][... |
[
{
"context": "tion, ni relancer les dés d'attaque.\"\"\"\n '\"Mauler Mithel\"':\n ship: \"Chasseur TIE\"\n t",
"end": 9316,
"score": 0.9989578723907471,
"start": 9303,
"tag": "NAME",
"value": "Mauler Mithel"
},
{
"context": "\"\n \"\\\"Fel's Wrath\... | coffeescripts/cards-fr.coffee | wrtlbrmpft/armada-fleet-builder | 0 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.fr = 'Français'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Français'] =
action :
"Barrel Roll": "Tonneau"
"Boost": "Accélération"
"Evade": "... | 179176 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.fr = 'Français'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Français'] =
action :
"Barrel Roll": "Tonneau"
"Boost": "Accélération"
"Evade": "... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.fr = 'Français'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Français'] =
action :
"Barrel Roll": "Tonneau"
"Boost": "Accélération"
"Evade": "... |
[
{
"context": "of mapping\n if @spec.facet[aes]\n key = poly.parser.normalize(key)\n @specgroups[key] = @spec.facet[aes]\n",
"end": 738,
"score": 0.982860267162323,
"start": 717,
"tag": "KEY",
"value": "poly.parser.normalize"
}
] | src/facet.coffee | Polychart/polychart2 | 64 | ##
# Faceting
# --------
# Facets can split a graph into multiple, smaller graphs of the same type, and
# is useful for analyzing data of different groups. An instance of the Facet
# class controls rendering of panes.
##
poly.facet = {}
poly.facet.make = () -> new Facet()
class Facet
constructor: () ->
@type = '... | 113959 | ##
# Faceting
# --------
# Facets can split a graph into multiple, smaller graphs of the same type, and
# is useful for analyzing data of different groups. An instance of the Facet
# class controls rendering of panes.
##
poly.facet = {}
poly.facet.make = () -> new Facet()
class Facet
constructor: () ->
@type = '... | true | ##
# Faceting
# --------
# Facets can split a graph into multiple, smaller graphs of the same type, and
# is useful for analyzing data of different groups. An instance of the Facet
# class controls rendering of panes.
##
poly.facet = {}
poly.facet.make = () -> new Facet()
class Facet
constructor: () ->
@type = '... |
[
{
"context": "#@copyright Ophir LOJKINE\n\napiTemp = Runtime.stackAlloc(4)\n\n# Constants are",
"end": 25,
"score": 0.9998869895935059,
"start": 12,
"tag": "NAME",
"value": "Ophir LOJKINE"
},
{
"context": " test VALUES (:age, :name)\", {':age':18, ':name':'John'});\n\n\t@return [Data... | coffee/api.coffee | Harmanderbal/sql.js | 1 | #@copyright Ophir LOJKINE
apiTemp = Runtime.stackAlloc(4)
# Constants are defined in api-data.coffee
SQLite = {}
### Represents an prepared statement.
Prepared statements allow you to have a template sql string,
that you can execute multiple times with different parameters.
You can't instantiate this class directl... | 219833 | #@copyright <NAME>
apiTemp = Runtime.stackAlloc(4)
# Constants are defined in api-data.coffee
SQLite = {}
### Represents an prepared statement.
Prepared statements allow you to have a template sql string,
that you can execute multiple times with different parameters.
You can't instantiate this class directly, you ... | true | #@copyright PI:NAME:<NAME>END_PI
apiTemp = Runtime.stackAlloc(4)
# Constants are defined in api-data.coffee
SQLite = {}
### Represents an prepared statement.
Prepared statements allow you to have a template sql string,
that you can execute multiple times with different parameters.
You can't instantiate this class ... |
[
{
"context": "status of currently running builds\n#\n# Author:\n# Micah Martin\n\nmodule.exports = (robot) ->\n\n\tquotes = [\n\t\t\"Yo!\"",
"end": 178,
"score": 0.999839186668396,
"start": 166,
"tag": "NAME",
"value": "Micah Martin"
},
{
"context": " over here, and I need my money... | src/scripts/pinkman.coffee | Asquera/hubot-scripts | 1 | # Description:
# Random quote from Jesse Pinkman of Breaking Bad
#
# Commands:
# hubot pinkman me bitch - Show status of currently running builds
#
# Author:
# Micah Martin
module.exports = (robot) ->
quotes = [
"Yo!",
"Bitch!"
"Yo...Bitch!",
"Gatorade me bitch!",
"Look, I like making cherry product,... | 47219 | # Description:
# Random quote from Jesse Pinkman of Breaking Bad
#
# Commands:
# hubot pinkman me bitch - Show status of currently running builds
#
# Author:
# <NAME>
module.exports = (robot) ->
quotes = [
"Yo!",
"Bitch!"
"Yo...Bitch!",
"Gatorade me bitch!",
"Look, I like making cherry product, but l... | true | # Description:
# Random quote from Jesse Pinkman of Breaking Bad
#
# Commands:
# hubot pinkman me bitch - Show status of currently running builds
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
quotes = [
"Yo!",
"Bitch!"
"Yo...Bitch!",
"Gatorade me bitch!",
"Look, I like making cherry ... |
[
{
"context": " 'года', 'лет']\n 'student': ['ученик', 'ученика', 'учеников']\n 'minute'",
"end": 584,
"score": 0.5002160668373108,
"start": 583,
"tag": "NAME",
"value": "к"
}
] | resources/assets/coffee/directives/plural.coffee | maxflex/ycms | 0 | angular.module 'Egecms'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: 'directives/plural'
controller: ($scope, $el... | 157165 | angular.module 'Egecms'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: 'directives/plural'
controller: ($scope, $el... | true | angular.module 'Egecms'
.directive 'plural', ->
restrict: 'E'
scope:
count: '=' # кол-во
type: '@' # тип plural age | student | ...
noneText: '@' # текст, если кол-во равно нулю
templateUrl: 'directives/plural'
controller: ($scope, $el... |
[
{
"context": "not user\n user =\n email: 'anon@user.com'\n local:\n email: 'ano",
"end": 3962,
"score": 0.999919056892395,
"start": 3949,
"tag": "EMAIL",
"value": "anon@user.com"
},
{
"context": "com'\n local:\n ... | src/controllers/token.coffee | ndxbxrme/ndx-server | 0 | 'use strict'
crypto = require 'crypto-js'
bcrypt = require 'bcrypt-nodejs'
module.exports = (ndx) ->
publicRoutes = ['/api/login', '/api/signup', '/api/logout', '/api/download']
ndx.addPublicRoute = (route) ->
publicRoutes.push route
ndx.generateHash = (password) ->
bcrypt.hashSync password, bcrypt.genS... | 13272 | 'use strict'
crypto = require 'crypto-js'
bcrypt = require 'bcrypt-nodejs'
module.exports = (ndx) ->
publicRoutes = ['/api/login', '/api/signup', '/api/logout', '/api/download']
ndx.addPublicRoute = (route) ->
publicRoutes.push route
ndx.generateHash = (password) ->
bcrypt.hashSync password, bcrypt.genS... | true | 'use strict'
crypto = require 'crypto-js'
bcrypt = require 'bcrypt-nodejs'
module.exports = (ndx) ->
publicRoutes = ['/api/login', '/api/signup', '/api/logout', '/api/download']
ndx.addPublicRoute = (route) ->
publicRoutes.push route
ndx.generateHash = (password) ->
bcrypt.hashSync password, bcrypt.genS... |
[
{
"context": "e 'blank'\n\nUSER_JSON = \"\"\"{\"users\":[{\"firstName\":\"Adam\",\"lastName\":\"Schwartz\",\"email\":\"aschwartz@hubspot",
"end": 342,
"score": 0.9998416304588318,
"start": 338,
"tag": "NAME",
"value": "Adam"
},
{
"context": "ON = \"\"\"{\"users\":[{\"firstName\":\"Ad... | app/collections/employees.coffee | lingochamp/facewall | 63 | Collection = require './collection'
# By default, email addresses with no Gravatars will be hidden from the Facewall.
# However, adding ?shame to the request URL will show these as empty squares in the Facewall mesh.
defaultGravatarImage = if location.search isnt '?shame' then '404' else 'blank'
USER_JSON = """{"user... | 47353 | Collection = require './collection'
# By default, email addresses with no Gravatars will be hidden from the Facewall.
# However, adding ?shame to the request URL will show these as empty squares in the Facewall mesh.
defaultGravatarImage = if location.search isnt '?shame' then '404' else 'blank'
USER_JSON = """{"user... | true | Collection = require './collection'
# By default, email addresses with no Gravatars will be hidden from the Facewall.
# However, adding ?shame to the request URL will show these as empty squares in the Facewall mesh.
defaultGravatarImage = if location.search isnt '?shame' then '404' else 'blank'
USER_JSON = """{"user... |
[
{
"context": ": 'message'\n\t\tprovider.add 'en-US', key2: 'message2'\n\t\texpect(provider.localeMessages).toEqual\n\t\t\t'en",
"end": 932,
"score": 0.8318505883216858,
"start": 931,
"tag": "KEY",
"value": "2"
},
{
"context": "oEqual\n\t\t\t'en-US': {key: 'message', key2: 'message2'}... | test/unit/provider.spec.coffee | 4vanger/angular-l10n | 18 | describe 'L10n provider', ->
provider = null
beforeEach ->
angular.module('test-provider', ['l10n']).config (l10nProvider) -> provider = l10nProvider
module 'test-provider'
inject ->
afterEach ->
# cleanup
provider.localeMessages = {}
provider.db = {}
it 'should exist', ->
expect(provider).toBeDefine... | 83419 | describe 'L10n provider', ->
provider = null
beforeEach ->
angular.module('test-provider', ['l10n']).config (l10nProvider) -> provider = l10nProvider
module 'test-provider'
inject ->
afterEach ->
# cleanup
provider.localeMessages = {}
provider.db = {}
it 'should exist', ->
expect(provider).toBeDefine... | true | describe 'L10n provider', ->
provider = null
beforeEach ->
angular.module('test-provider', ['l10n']).config (l10nProvider) -> provider = l10nProvider
module 'test-provider'
inject ->
afterEach ->
# cleanup
provider.localeMessages = {}
provider.db = {}
it 'should exist', ->
expect(provider).toBeDefine... |
[
{
"context": "n = {\n read: ['group:__world__', 'acct:angry@birds.com']\n }\n assert.isTrue(permissions.isP",
"end": 1337,
"score": 0.999923586845398,
"start": 1322,
"tag": "EMAIL",
"value": "angry@birds.com"
},
{
"context": ">\n permission = {\n ... | tests/js/permissions-service-test.coffee | Treora/h | 0 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
sandbox = null
fakeAuth = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAuth = {
user: 'acct:flash@gordon'
}
$provide.value 'auth', fakeAuth
return
a... | 115721 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
sandbox = null
fakeAuth = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAuth = {
user: 'acct:flash@gordon'
}
$provide.value 'auth', fakeAuth
return
a... | true | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
sandbox = null
fakeAuth = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAuth = {
user: 'acct:flash@gordon'
}
$provide.value 'auth', fakeAuth
return
a... |
[
{
"context": " JSImageView - image control view class\n# Coded by Hajime Oh-yake 2013.03.26\n#*************************************",
"end": 109,
"score": 0.9998935461044312,
"start": 95,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/03_JSImageView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSImageView - image control view class
# Coded by Hajime Oh-yake 2013.03.26
#*****************************************
class JSImageView extends JSView
constructor:(frame)->
super(frame)
@_userInteractionEnabled = false
@_bgColor = JSColor("clear... | 45353 | #*****************************************
# JSImageView - image control view class
# Coded by <NAME> 2013.03.26
#*****************************************
class JSImageView extends JSView
constructor:(frame)->
super(frame)
@_userInteractionEnabled = false
@_bgColor = JSColor("clearColor")
... | true | #*****************************************
# JSImageView - image control view class
# Coded by PI:NAME:<NAME>END_PI 2013.03.26
#*****************************************
class JSImageView extends JSView
constructor:(frame)->
super(frame)
@_userInteractionEnabled = false
@_bgColor = JSColor(... |
[
{
"context": "og \"fsdb:\", info\n# )\n\n# fsdb.write('/My Documents/Alain Deschênes', { name: 'Alain Deschênes', age: 41, address: '8",
"end": 2100,
"score": 0.9352552890777588,
"start": 2085,
"tag": "NAME",
"value": "Alain Deschênes"
},
{
"context": "b.write('/My Documents/Alain De... | src/renderer/main.coffee | kornalius/yorkfire | 0 | r = require('remote')
a = r.require('app')
p = r.require('path')
PropertyAccessors = require 'property-accessors'
userPath = p.join(a.getPath('home'), 'Yorkfire')
# Hazel = require('../../hazel/dist/hazel.js')
Hazel = require('../../hazel/hazel.coffee')
# Kaffa = require('../../kaffa/dist/kaffa.js')
Kaffa = require... | 126954 | r = require('remote')
a = r.require('app')
p = r.require('path')
PropertyAccessors = require 'property-accessors'
userPath = p.join(a.getPath('home'), 'Yorkfire')
# Hazel = require('../../hazel/dist/hazel.js')
Hazel = require('../../hazel/hazel.coffee')
# Kaffa = require('../../kaffa/dist/kaffa.js')
Kaffa = require... | true | r = require('remote')
a = r.require('app')
p = r.require('path')
PropertyAccessors = require 'property-accessors'
userPath = p.join(a.getPath('home'), 'Yorkfire')
# Hazel = require('../../hazel/dist/hazel.js')
Hazel = require('../../hazel/hazel.coffee')
# Kaffa = require('../../kaffa/dist/kaffa.js')
Kaffa = require... |
[
{
"context": "###\nCopyright (c) Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 29,
"score": 0.9998825788497925,
"start": 18,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": "###\nCopyright (c) Ramesh Nair (hiddentao.com)\n\nPermission is hereby grante... | src/mysql.coffee | saintsjd/squel | 0 | ###
Copyright (c) Ramesh Nair (hiddentao.com)
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... | 18909 | ###
Copyright (c) <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, su... | true | ###
Copyright (c) PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, m... |
[
{
"context": "or custom action (see README.md)\n#\n#\n# Author:\n# mose\n# kolo\n\nfs = require 'fs'\npath = require 'path'",
"end": 603,
"score": 0.9956412315368652,
"start": 599,
"tag": "USERNAME",
"value": "mose"
},
{
"context": " action (see README.md)\n#\n#\n# Author:\n# m... | lib/pagerv2.coffee | Gandi/hubot-pager-v2 | 6 | # Description:
# handles communication with PagerDuty API v2
#
# Dependencies:
#
# Configuration:
# PAGERV2_API_KEY
# PAGERV2_SCHEDULE_ID # the schedule used for oncall and overrides
# PAGERV2_OVERRIDERS # list of user_id that can be targets of overrides
# PAGERV2_SERVICES # list of services... | 115846 | # Description:
# handles communication with PagerDuty API v2
#
# Dependencies:
#
# Configuration:
# PAGERV2_API_KEY
# PAGERV2_SCHEDULE_ID # the schedule used for oncall and overrides
# PAGERV2_OVERRIDERS # list of user_id that can be targets of overrides
# PAGERV2_SERVICES # list of services... | true | # Description:
# handles communication with PagerDuty API v2
#
# Dependencies:
#
# Configuration:
# PAGERV2_API_KEY
# PAGERV2_SCHEDULE_ID # the schedule used for oncall and overrides
# PAGERV2_OVERRIDERS # list of user_id that can be targets of overrides
# PAGERV2_SERVICES # list of services... |
[
{
"context": "ile.\n#\n# Read Sprockets README (https:#github.com/sstephenson/sprockets#sprockets-directives) for details\n# abo",
"end": 482,
"score": 0.9996808767318726,
"start": 471,
"tag": "USERNAME",
"value": "sstephenson"
},
{
"context": "-' + end\n params:\n ... | app/assets/javascripts/timeline/application.js.coffee | kevin-garrity/magnet | 0 | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... | 87084 | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... | true | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... |
[
{
"context": "coffeescript/src/helper.coffee(https://github.com/jashkenas/coffeescript)\n Thanks to Jeremy Ashkenas\n Some",
"end": 87,
"score": 0.9850890040397644,
"start": 78,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "://github.com/jashkenas/coffeescript)\n Thank... | src/utils.coffee | taijiweb/taijilang | 34 | ###
this file is based on coffeescript/src/helper.coffee(https://github.com/jashkenas/coffeescript)
Thanks to Jeremy Ashkenas
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 Jeremy Ashkenas
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of charge, to ... | 44759 | ###
this file is based on coffeescript/src/helper.coffee(https://github.com/jashkenas/coffeescript)
Thanks to <NAME>
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 <NAME>
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of charge, to any person
obtaini... | true | ###
this file is based on coffeescript/src/helper.coffee(https://github.com/jashkenas/coffeescript)
Thanks to PI:NAME:<NAME>END_PI
Some stuffs is added or modified for taiji langauge.
###
###
Copyright (c) 2009-2014 PI:NAME:<NAME>END_PI
Copyright (c) 2014-2015 Caoxingming
Permission is hereby granted, free of c... |
[
{
"context": "act.PropTypes.func\n\n @defaultProps =\n email: 'xxxxxx@xxxxx.com'\n onClick: kd.noop\n\n render: ->\n\n classNam",
"end": 348,
"score": 0.9998784065246582,
"start": 332,
"tag": "EMAIL",
"value": "xxxxxx@xxxxx.com"
}
] | client/component-lab/VerifyEmailWarning/VerifyEmailWarning.coffee | lionheart1022/koding | 0 | kd = require 'kd'
React = require 'react'
Box = require 'lab/Box'
Label = require 'lab/Text/Label'
{ Grid, Row, Col } = require 'react-flexbox-grid'
module.exports = class VerifyEmailWarning extends React.Component
@propTypes =
email: React.PropTypes.string
onClick: React.PropTypes.func
@defaultProps =
... | 32571 | kd = require 'kd'
React = require 'react'
Box = require 'lab/Box'
Label = require 'lab/Text/Label'
{ Grid, Row, Col } = require 'react-flexbox-grid'
module.exports = class VerifyEmailWarning extends React.Component
@propTypes =
email: React.PropTypes.string
onClick: React.PropTypes.func
@defaultProps =
... | true | kd = require 'kd'
React = require 'react'
Box = require 'lab/Box'
Label = require 'lab/Text/Label'
{ Grid, Row, Col } = require 'react-flexbox-grid'
module.exports = class VerifyEmailWarning extends React.Component
@propTypes =
email: React.PropTypes.string
onClick: React.PropTypes.func
@defaultProps =
... |
[
{
"context": " member.teamId = team.id\n member.firstName = 'Test'\n teamsnap.saveMember member, (err, result) ->",
"end": 358,
"score": 0.9996545910835266,
"start": 354,
"tag": "NAME",
"value": "Test"
},
{
"context": "{\n startDate: \"2012-01-01\",\n name: \"Tes... | test/events.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Events', ->
member = null
location = null
before (done) ->
location = teamsnap.createLocation()
location.teamId = team.id
location.name = "Location"
teamsnap.saveLocation location, (err, result) ->
done()
before (done) ->
member = teamsnap.createMember()
member.teamId ... | 25502 | describe 'Events', ->
member = null
location = null
before (done) ->
location = teamsnap.createLocation()
location.teamId = team.id
location.name = "Location"
teamsnap.saveLocation location, (err, result) ->
done()
before (done) ->
member = teamsnap.createMember()
member.teamId ... | true | describe 'Events', ->
member = null
location = null
before (done) ->
location = teamsnap.createLocation()
location.teamId = team.id
location.name = "Location"
teamsnap.saveLocation location, (err, result) ->
done()
before (done) ->
member = teamsnap.createMember()
member.teamId ... |
[
{
"context": "# Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>\n# Copyright (C) 2013-201",
"end": 40,
"score": 0.9998205304145813,
"start": 27,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>\n... | src/cover.coffee | samuelhorwitz/ibrik | 30 | # Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>
# Copyright (C) 2013-2014 Jeff Stamerjohn <jstamerj@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code ... | 134860 | # Copyright (C) 2012-2014 <NAME> <<EMAIL>>
# Copyright (C) 2013-2014 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# no... | true | # Copyright (C) 2012-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistribution... |
[
{
"context": "s or enforces spaces inside of brackets.\n# @author Ian Christian Myers\n###\n'use strict'\n\n#------------------------------",
"end": 99,
"score": 0.9997323155403137,
"start": 80,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/tests/rules/array-bracket-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows or enforces spaces inside of brackets.
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# path = require 'path'
ru... | 28093 | ###*
# @fileoverview Disallows or enforces spaces inside of brackets.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# path = require 'path'
rule = require ... | true | ###*
# @fileoverview Disallows or enforces spaces inside of brackets.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
# path = require 'path'
r... |
[
{
"context": "- Finite State Machines \n# Copyright (c) 2014-2016 Jon Nordby <jononor@gmail.com>\n# Finito may be freely distri",
"end": 70,
"score": 0.9998528957366943,
"start": 60,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "e Machines \n# Copyright (c) 2014-2016 Jon Nord... | src/main.coffee | jonnor/finito | 5 | # Finito - Finite State Machines
# Copyright (c) 2014-2016 Jon Nordby <jononor@gmail.com>
# Finito may be freely distributed under the MIT license
Definition = require './definition'
main = () ->
commander = require 'commander'
fs = require 'fs'
path = require 'path'
pkginfo = (require 'pkginfo')(mod... | 222941 | # Finito - Finite State Machines
# Copyright (c) 2014-2016 <NAME> <<EMAIL>>
# Finito may be freely distributed under the MIT license
Definition = require './definition'
main = () ->
commander = require 'commander'
fs = require 'fs'
path = require 'path'
pkginfo = (require 'pkginfo')(module)
comm... | true | # Finito - Finite State Machines
# Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Finito may be freely distributed under the MIT license
Definition = require './definition'
main = () ->
commander = require 'commander'
fs = require 'fs'
path = require 'path'
pkginfo = (require... |
[
{
"context": "reflag.herokuapp.com')\napp.value('pusher_token', '196081c6021641d28f43')\n\napp.service 'sharedData', ['",
"end": 244,
"score": 0.6838043332099915,
"start": 242,
"tag": "KEY",
"value": "19"
},
{
"context": "flag.herokuapp.com')\napp.value('pusher_token', '196081c602164... | app/coffee/services.coffee | rastasheep/semaphore-flag | 0 | 'use strict'
app_name = 'semaphoreFlag'
app = angular.module "#{app_name}.services", []
app.value('base_url', 'https://semaphoreapp.com/api/v1/projects')
app.value('app_url', 'http://semaphoreflag.herokuapp.com')
app.value('pusher_token', '196081c6021641d28f43')
app.service 'sharedData', ['$q', 'pusher_token', ($q, ... | 70534 | 'use strict'
app_name = 'semaphoreFlag'
app = angular.module "#{app_name}.services", []
app.value('base_url', 'https://semaphoreapp.com/api/v1/projects')
app.value('app_url', 'http://semaphoreflag.herokuapp.com')
app.value('pusher_token', '<KEY> <PASSWORD>')
app.service 'sharedData', ['$q', 'pusher_token', ($q, push... | true | 'use strict'
app_name = 'semaphoreFlag'
app = angular.module "#{app_name}.services", []
app.value('base_url', 'https://semaphoreapp.com/api/v1/projects')
app.value('app_url', 'http://semaphoreflag.herokuapp.com')
app.value('pusher_token', 'PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI')
app.service 'sharedData', [... |
[
{
"context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\nmodule.exports = backg",
"end": 33,
"score": 0.9998701214790344,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
}
] | src/modules/background.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2015 Magnus Leo. All rights reserved. ###
module.exports = background =
tileSize: 16
color: '#6ec0ff'
| 31975 | ### Copyright (c) 2015 <NAME>. All rights reserved. ###
module.exports = background =
tileSize: 16
color: '#6ec0ff'
| true | ### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ###
module.exports = background =
tileSize: 16
color: '#6ec0ff'
|
[
{
"context": " \"connection\": {\n \"user\": \"root\"\n },\n \"count\": 2,\n ",
"end": 3707,
"score": 0.9186306595802307,
"start": 3703,
"tag": "USERNAME",
"value": "root"
},
{
"context": "n_domain.default.name}\",\n ... | test/hcl-samples-json.coffee | SWolfeDDC/hcl-to-json | 16 | module.exports = [{
"bar": "${file(\"bing/bong.txt\")}",
"foo": "bar",
"foo-bar": "baz"
}
{
"key": {
"": {
"policy": "read"
},
"foo/": {
"policy": "write"
},
"foo/bar/": {
"policy": "read"
},
"foo/bar/baz": {
... | 104816 | module.exports = [{
"bar": "${file(\"bing/bong.txt\")}",
"foo": "bar",
"foo-bar": "baz"
}
{
"key": {
"": {
"policy": "read"
},
"foo/": {
"policy": "write"
},
"foo/bar/": {
"policy": "read"
},
"foo/bar/baz": {
... | true | module.exports = [{
"bar": "${file(\"bing/bong.txt\")}",
"foo": "bar",
"foo-bar": "baz"
}
{
"key": {
"": {
"policy": "read"
},
"foo/": {
"policy": "write"
},
"foo/bar/": {
"policy": "read"
},
"foo/bar/baz": {
... |
[
{
"context": "s chrome.runtime.lastError)\n else\n # TODO(ilya): Should this be getLastFocused instead?\n c",
"end": 9482,
"score": 0.5446716547012329,
"start": 9479,
"tag": "USERNAME",
"value": "ily"
},
{
"context": "hrome.runtime.lastError)\n else\n # TODO(ilya... | background_scripts/main.coffee | z0rch/vimium | 0 | root = exports ? window
currentVersion = Utils.getCurrentVersion()
tabQueue = {} # windowId -> Array
tabInfoMap = {} # tabId -> object with various tab properties
keyQueue = "" # Queue of keys typed
validFirstKeys = {}
singleKeyCommands = []
focusedFrame = null
frameIdsForTab = {}
# Keys are either literal character... | 13879 | root = exports ? window
currentVersion = Utils.getCurrentVersion()
tabQueue = {} # windowId -> Array
tabInfoMap = {} # tabId -> object with various tab properties
keyQueue = "" # Queue of keys typed
validFirstKeys = {}
singleKeyCommands = []
focusedFrame = null
frameIdsForTab = {}
# Keys are either literal character... | true | root = exports ? window
currentVersion = Utils.getCurrentVersion()
tabQueue = {} # windowId -> Array
tabInfoMap = {} # tabId -> object with various tab properties
keyQueue = "" # Queue of keys typed
validFirstKeys = {}
singleKeyCommands = []
focusedFrame = null
frameIdsForTab = {}
# Keys are either literal character... |
[
{
"context": "AIL_URL = \"smtp://robot%40tinwhiskersbrewing.com :$robot123@smtp.mailgun.org:587\"\n # process.env.MAIL_URL = \"smtp://postmas",
"end": 141,
"score": 0.999616801738739,
"start": 115,
"tag": "EMAIL",
"value": "$robot123@smtp.mailgun.org"
},
{
"context": "RL = \"smtp:... | server/server.coffee | funkyeah/twmeteor | 0 | #modify to include password
Meteor.startup ->
# process.env.MAIL_URL = "smtp://robot%40tinwhiskersbrewing.com :$robot123@smtp.mailgun.org:587"
# process.env.MAIL_URL = "smtp://postmaster%40tinwhiskersbrewing.com:$robot123@smtp.mailgun.org:587"
process.env.MAIL_URL = "smtp://postmaster%40sandbox1733.mailgun.... | 124835 | #modify to include password
Meteor.startup ->
# process.env.MAIL_URL = "smtp://robot%40tinwhiskersbrewing.com :<EMAIL>:587"
# process.env.MAIL_URL = "smtp://postmaster%40tinwhiskersbrewing.com:$<EMAIL>:587"
process.env.MAIL_URL = "smtp://postmaster%40sandbox1733.mailgun.org:<EMAIL>:587"
Meteor.methods
... | true | #modify to include password
Meteor.startup ->
# process.env.MAIL_URL = "smtp://robot%40tinwhiskersbrewing.com :PI:EMAIL:<EMAIL>END_PI:587"
# process.env.MAIL_URL = "smtp://postmaster%40tinwhiskersbrewing.com:$PI:EMAIL:<EMAIL>END_PI:587"
process.env.MAIL_URL = "smtp://postmaster%40sandbox1733.mailgun.org:PI:... |
[
{
"context": "processing base effect\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nclass Fx.Style extends Fx\n\n# protected\n\n prepa",
"end": 88,
"score": 0.9998877644538879,
"start": 71,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/src/fx/style.coffee | lovely-io/lovely.io-stl | 2 | #
# A smooth styles processing base effect
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
class Fx.Style extends Fx
# protected
prepare: (style)->
if @options.engine is 'css' and native_fx_prefix isnt null
@render = ->
@_native_timer = true
bind_native_fx_timer(@, @element)
native_fx_pr... | 77691 | #
# A smooth styles processing base effect
#
# Copyright (C) 2011-2012 <NAME>
#
class Fx.Style extends Fx
# protected
prepare: (style)->
if @options.engine is 'css' and native_fx_prefix isnt null
@render = ->
@_native_timer = true
bind_native_fx_timer(@, @element)
native_fx_prepare.call(... | true | #
# A smooth styles processing base effect
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
class Fx.Style extends Fx
# protected
prepare: (style)->
if @options.engine is 'css' and native_fx_prefix isnt null
@render = ->
@_native_timer = true
bind_native_fx_timer(@, @element)
native_fx... |
[
{
"context": "ion': '<input id=\"password\" name=\"password\" type=\"password\" />'\r\n 'descriptionMoreURL': 'http://guides.ru",
"end": 853,
"score": 0.9880685210227966,
"start": 845,
"tag": "PASSWORD",
"value": "password"
}
] | snippets/dry-rails-views-html-form-tags2.cson | dayogreats/dry | 0 | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... | 155687 | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... | true | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... |
[
{
"context": "ey) ->\n DOM.option\n key: \"condition-option-#{key}\"\n value: key\n selected: ",
"end": 2020,
"score": 0.9945772886276245,
"start": 1996,
"tag": "KEY",
"value": "condition-option-#{key}\""
},
{
"context": " DOM.o... | src/components/edit.coffee | brianshaler/kerplunk-dashboard | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
stream: @props.stream ? {_id: 'new'}
_id: @props.stream?._id ? 'new'
title: @props.stream?.title ? ''
type: @props.stream?.type ? 'stream'
conditions: @props.stre... | 62447 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
stream: @props.stream ? {_id: 'new'}
_id: @props.stream?._id ? 'new'
title: @props.stream?.title ? ''
type: @props.stream?.type ? 'stream'
conditions: @props.stre... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
stream: @props.stream ? {_id: 'new'}
_id: @props.stream?._id ? 'new'
title: @props.stream?.title ? ''
type: @props.stream?.type ? 'stream'
conditions: @props.stre... |
[
{
"context": ".session.loggedIn then req.session.username else 'anonymous'\n url : req.url\n next()\n###\n\napp.set 'port', ",
"end": 743,
"score": 0.7534045577049255,
"start": 734,
"tag": "USERNAME",
"value": "anonymous"
},
{
"context": "rn next err if err\n unless req.body.p... | src/app.coffee | MegPau/testnode | 0 | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
user = require './user'
usermetrics = require './usermetrics'
app = express()
morgan = require 'morgan'
server = require('http').Server(app)
io = require('socket.io')(server)
session = require 'express-session'
LevelStore =... | 124960 | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
user = require './user'
usermetrics = require './usermetrics'
app = express()
morgan = require 'morgan'
server = require('http').Server(app)
io = require('socket.io')(server)
session = require 'express-session'
LevelStore =... | true | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
user = require './user'
usermetrics = require './usermetrics'
app = express()
morgan = require 'morgan'
server = require('http').Server(app)
io = require('socket.io')(server)
session = require 'express-session'
LevelStore =... |
[
{
"context": " automatically.\",\n id: \"third\",\n next: \"forth\",\n position: 2,\n title: \"Regions Select",
"end": 1870,
"score": 0.9477896094322205,
"start": 1865,
"tag": "NAME",
"value": "forth"
},
{
"context": "n, use the \\\"Create Domain\\\" button.\",\n ... | src/coffeescript/src/chrome-sdb/intro.coffee | floodfx/chrome-sdb | 0 | add_sample_domain = ()->
if($("#domain_select > option").length < 1)
add_domains(["example_domain_chrome_sdb"])
optional_add_domain = ()->
add_sample_domain()
guiders.next()
sample_query = ()->
domain = $($("#domain_select > option")[0]).text()
$("#query_expr").val("select * from `#{domain}`")
gui... | 190136 | add_sample_domain = ()->
if($("#domain_select > option").length < 1)
add_domains(["example_domain_chrome_sdb"])
optional_add_domain = ()->
add_sample_domain()
guiders.next()
sample_query = ()->
domain = $($("#domain_select > option")[0]).text()
$("#query_expr").val("select * from `#{domain}`")
gui... | true | add_sample_domain = ()->
if($("#domain_select > option").length < 1)
add_domains(["example_domain_chrome_sdb"])
optional_add_domain = ()->
add_sample_domain()
guiders.next()
sample_query = ()->
domain = $($("#domain_select > option")[0]).text()
$("#query_expr").val("select * from `#{domain}`")
gui... |
[
{
"context": "###*\n *\n * progress\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{View} = req",
"end": 37,
"score": 0.9992611408233643,
"start": 31,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * progress\n * @author vfasky <vfasky@gmail.com>\n###\n... | example/src/progressBar.coffee | vfasky/mcore-weui | 0 | ###*
*
* progress
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{View} = require 'mcoreapp'
class ProgressBar extends View
init: ->
@time = setInterval =>
value = parseInt @get 'value'
if value >= 100
value = 0
else
value += 5
... | 50031 | ###*
*
* progress
* @author vfasky <<EMAIL>>
###
'use strict'
{View} = require 'mcoreapp'
class ProgressBar extends View
init: ->
@time = setInterval =>
value = parseInt @get 'value'
if value >= 100
value = 0
else
value += 5
... | true | ###*
*
* progress
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{View} = require 'mcoreapp'
class ProgressBar extends View
init: ->
@time = setInterval =>
value = parseInt @get 'value'
if value >= 100
value = 0
else
value... |
[
{
"context": " \"key\": {\n \"key\": \"value\"\n }\n }\n ",
"end": 6943,
"score": 0.983590304851532,
"start": 6938,
"tag": "KEY",
"value": "value"
}
] | packages/pretty-json/spec/index-spec.coffee | reactjsguru/atom-settings | 0 | describe 'Pretty JSON', ->
[PrettyJSON] = []
beforeEach ->
waitsForPromise -> atom.packages.activatePackage('language-json')
waitsForPromise -> atom.packages.activatePackage('language-gfm')
waitsForPromise ->
atom.packages.activatePackage('pretty-json').then (pack) ->
PrettyJSON = pack.ma... | 32495 | describe 'Pretty JSON', ->
[PrettyJSON] = []
beforeEach ->
waitsForPromise -> atom.packages.activatePackage('language-json')
waitsForPromise -> atom.packages.activatePackage('language-gfm')
waitsForPromise ->
atom.packages.activatePackage('pretty-json').then (pack) ->
PrettyJSON = pack.ma... | true | describe 'Pretty JSON', ->
[PrettyJSON] = []
beforeEach ->
waitsForPromise -> atom.packages.activatePackage('language-json')
waitsForPromise -> atom.packages.activatePackage('language-gfm')
waitsForPromise ->
atom.packages.activatePackage('pretty-json').then (pack) ->
PrettyJSON = pack.ma... |
[
{
"context": "'follows a channel', ->\n\n channel = { id : 'koding', name : 'koding', isParticipant: no }\n\n @re",
"end": 2138,
"score": 0.9924554228782654,
"start": 2132,
"tag": "USERNAME",
"value": "koding"
},
{
"context": "nfollows a channel', ->\n\n channel = { ... | client/app/lib/flux/socialapi/test/channelsstore.coffee | lionheart1022/koding | 0 | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ChannelsStore = require '../stores/channelsstore'
actionTypes = require '../actions/actiontypes'
describe 'ChannelsStore', ->
beforeEach ->
@reactor = new Reactor
@reactor.registerStores [ChannelsStore]
afterEach -> @reactor.reset()
... | 75676 | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ChannelsStore = require '../stores/channelsstore'
actionTypes = require '../actions/actiontypes'
describe 'ChannelsStore', ->
beforeEach ->
@reactor = new Reactor
@reactor.registerStores [ChannelsStore]
afterEach -> @reactor.reset()
... | true | expect = require 'expect'
Reactor = require 'app/flux/base/reactor'
ChannelsStore = require '../stores/channelsstore'
actionTypes = require '../actions/actiontypes'
describe 'ChannelsStore', ->
beforeEach ->
@reactor = new Reactor
@reactor.registerStores [ChannelsStore]
afterEach -> @reactor.reset()
... |
[
{
"context": " beforeEach (done) ->\n room_one.user.say 'alice', 'hubot graf set host https://play.grafana.org'\n",
"end": 1023,
"score": 0.9830595254898071,
"start": 1018,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(room_one.messages).to.eql [\n [ ... | test/per-room-configuration-test.coffee | stephenyeargin/hubot-grafana | 158 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... | 132181 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper('./../src/grafana.coffee')
expect = chai.expect
describe 'per room configuration', ->
room_one = null
beforeEach ->
process.env.HUBOT_GRAFANA_HOST = 'h... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998327493667603,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/core/node.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 188789 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": ",res2) ->\n throw new Error new Error 'Merde!' if err\n res1+res2\n }\n option",
"end": 4025,
"score": 0.5302281379699707,
"start": 4023,
"tag": "NAME",
"value": "de"
}
] | test/options-test.coffee | dnice-asana/node-make-sync | 0 | should = require 'should'
{Options} = require '../lib/options'
describe "options", ->
describe "isIncluded", ->
describe "default", ->
it "include all", (done) ->
options = new Options()
res = (options.isIncluded 'f').should.be.ok
done()
describe "* rule", ->
it "exclud... | 203462 | should = require 'should'
{Options} = require '../lib/options'
describe "options", ->
describe "isIncluded", ->
describe "default", ->
it "include all", (done) ->
options = new Options()
res = (options.isIncluded 'f').should.be.ok
done()
describe "* rule", ->
it "exclud... | true | should = require 'should'
{Options} = require '../lib/options'
describe "options", ->
describe "isIncluded", ->
describe "default", ->
it "include all", (done) ->
options = new Options()
res = (options.isIncluded 'f').should.be.ok
done()
describe "* rule", ->
it "exclud... |
[
{
"context": "ode\n`\n#\n# batman.coffee\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\ncli = require './cli",
"end": 78,
"score": 0.9997401237487793,
"start": 68,
"tag": "NAME",
"value": "Nick Small"
}
] | src/tools/batman.coffee | nickjs/batman | 1 | `#!/usr/bin/env node
`
#
# batman.coffee
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
cli = require './cli'
Batman = require '../lib/batman.js'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# Yeah, this... | 205309 | `#!/usr/bin/env node
`
#
# batman.coffee
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
cli = require './cli'
Batman = require '../lib/batman.js'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# Yeah, this is ... | true | `#!/usr/bin/env node
`
#
# batman.coffee
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
cli = require './cli'
Batman = require '../lib/batman.js'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# ... |
[
{
"context": "ser = process.env.HUBOT_JIRA_USER\njira_password = process.env.HUBOT_JIRA_PASSWORD\npod_ip = process.env.MY_POD_IP",
"end": 1532,
"score": 0.9840198755264282,
"start": 1521,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": ".env.HUBOT_JIRA_USER\njira_password ... | scripts/jira/scripts-msteams/jira-create.coffee | CognizantOneDevOps/OnBot | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 64906 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": "# The 'Ajax' unit test\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test, should} = require('lovely')\n\nTest.set\n ",
"end": 70,
"score": 0.9998844861984253,
"start": 53,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/ajax/test/ajax_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The 'Ajax' unit test
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test, should} = require('lovely')
Test.set
'/ajax.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/ajax.js"></script>
</head>
<body>
<div id="spinner"></div>
</body>
... | 7834 | #
# The 'Ajax' unit test
#
# Copyright (C) 2011-2013 <NAME>
#
{Test, should} = require('lovely')
Test.set
'/ajax.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/ajax.js"></script>
</head>
<body>
<div id="spinner"></div>
</body>
</html>
... | true | #
# The 'Ajax' unit test
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test, should} = require('lovely')
Test.set
'/ajax.html': """
<html>
<head>
<script src="/core.js"></script>
<script src="/ajax.js"></script>
</head>
<body>
<div id="spinner"></div>
</body>... |
[
{
"context": "teSignatureOptions: =>\n return {\n keyId: 'meshblu-webhook-key'\n key: @privateKey\n headers: [ 'date', ",
"end": 6583,
"score": 0.9971574544906616,
"start": 6564,
"tag": "KEY",
"value": "meshblu-webhook-key"
}
] | src/worker.coffee | octoblu/meshblu-core-webhook-worker | 1 | _ = require 'lodash'
request = require 'request'
validator = require 'validator'
async = require 'async'
URL = require 'url'
MeshbluHttp = require 'meshblu-http'
SimpleBe... | 145983 | _ = require 'lodash'
request = require 'request'
validator = require 'validator'
async = require 'async'
URL = require 'url'
MeshbluHttp = require 'meshblu-http'
SimpleBe... | true | _ = require 'lodash'
request = require 'request'
validator = require 'validator'
async = require 'async'
URL = require 'url'
MeshbluHttp = require 'meshblu-http'
SimpleBe... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.6566870212554932,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/spec/SpecContentViewLayer.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
view_factory = (attributes) ->
new kin... | 69785 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
view_factory = (attributes) ->
ne... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (
dou
kin
) ->
"use strict"
view_factory = (attributes)... |
[
{
"context": "og(timestamp)\n ws.write\n key: \"metrics//#{id}//#{timestamp}\"\n value: value\n ws.e",
"end": 983,
"score": 0.6715478301048279,
"start": 983,
"tag": "KEY",
"value": ""
},
{
"context": "estamp)\n ws.write\n key: \"metrics//#{id}//#{tim... | src/metrics.coffee | vincentbas/ece_project_2017 | 0 | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../dbmetrics"
module.exports =
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (id, callback) ->
rs = db.createReadStream()
result = []
rs.on ... | 146697 | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../dbmetrics"
module.exports =
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (id, callback) ->
rs = db.createReadStream()
result = []
rs.on ... | true | level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../dbmetrics"
module.exports =
# get(id, callback)
# Get metrics
# - id: metric's id
# - callback: the callback function, callback(err, data)
get: (id, callback) ->
rs = db.createReadStream()
result = []
rs.on ... |
[
{
"context": "n\n type: \"farmbotdss\"\n uuid: \"7e3a8a10-6bf6-11e4-9ead-634ea865603d\"\n token: \"zj6tn36gux6crf6rjjarh35wi3f5stt9",
"end": 1807,
"score": 0.9598916172981262,
"start": 1775,
"tag": "PASSWORD",
"value": "8a10-6bf6-11e4-9ead-634ea865603d"
},
{
"c... | app/assets/javascripts/farmbot_app/services/device_service.js.coffee | pitakwong/farmbot-web-app | 0 | class DeviceService
constructor: (@$rootScope, @$http, @Command, @Router) ->
[@log, @list, @current, @status] = [[], [], {}, {meshblu: "Connecting"}]
@initConnections()
initConnections: ->
ok = (data, status, request, meta) =>
# THOUGHT: Maybe we should just bootstrap this data in the HTML and pu... | 39347 | class DeviceService
constructor: (@$rootScope, @$http, @Command, @Router) ->
[@log, @list, @current, @status] = [[], [], {}, {meshblu: "Connecting"}]
@initConnections()
initConnections: ->
ok = (data, status, request, meta) =>
# THOUGHT: Maybe we should just bootstrap this data in the HTML and pu... | true | class DeviceService
constructor: (@$rootScope, @$http, @Command, @Router) ->
[@log, @list, @current, @status] = [[], [], {}, {meshblu: "Connecting"}]
@initConnections()
initConnections: ->
ok = (data, status, request, meta) =>
# THOUGHT: Maybe we should just bootstrap this data in the HTML and pu... |
[
{
"context": "ookie } = require(\"./cookie\")\n\nusers = [\n id: \"USER\"\n email: \"user@domain.tld\"\n fullname: \"User",
"end": 98,
"score": 0.8907175064086914,
"start": 94,
"tag": "USERNAME",
"value": "USER"
},
{
"context": "\"./cookie\")\n\nusers = [\n id: \"USER\"\n... | server/graphql.coffee | alin23/nextjs-coffee | 2 | config = require("./config")
{ getAuthTokenCookie } = require("./cookie")
users = [
id: "USER"
email: "user@domain.tld"
fullname: "User"
username: "user"
password: "pass"
]
if not config.DB_URL
{ ApolloServer, gql } = require("apollo-server-micro")
resolvers =
Query:
m... | 125580 | config = require("./config")
{ getAuthTokenCookie } = require("./cookie")
users = [
id: "USER"
email: "<EMAIL>"
fullname: "User"
username: "user"
password: "<PASSWORD>"
]
if not config.DB_URL
{ ApolloServer, gql } = require("apollo-server-micro")
resolvers =
Query:
me:... | true | config = require("./config")
{ getAuthTokenCookie } = require("./cookie")
users = [
id: "USER"
email: "PI:EMAIL:<EMAIL>END_PI"
fullname: "User"
username: "user"
password: "PI:PASSWORD:<PASSWORD>END_PI"
]
if not config.DB_URL
{ ApolloServer, gql } = require("apollo-server-micro")
resolvers... |
[
{
"context": "l8f1.apps.googleusercontent.com'\nCLIENT_SECRET = 'nRBXFUODEWXhijnt818eHAcj'\nREDIRECT_URL = \"urn:ietf:wg:oauth:2.0:oob\"\n\noaut",
"end": 1252,
"score": 0.9994479417800903,
"start": 1228,
"tag": "KEY",
"value": "nRBXFUODEWXhijnt818eHAcj"
}
] | gdrive.coffee | serjrd/gdrive | 4 | #!/usr/bin/env coffee
fs = require 'fs'
path = require 'path'
google = require 'googleapis'
OAuth2 = google.auth.OAuth2
drive = google.drive('v2')
argv = require 'yargs'
.alias {u: 'upload', f: 'folder', d: 'delete', l: 'list'}
.describe
u: 'upload files'
f: 'folder to upload files to'
d: 'delete files ... | 138020 | #!/usr/bin/env coffee
fs = require 'fs'
path = require 'path'
google = require 'googleapis'
OAuth2 = google.auth.OAuth2
drive = google.drive('v2')
argv = require 'yargs'
.alias {u: 'upload', f: 'folder', d: 'delete', l: 'list'}
.describe
u: 'upload files'
f: 'folder to upload files to'
d: 'delete files ... | true | #!/usr/bin/env coffee
fs = require 'fs'
path = require 'path'
google = require 'googleapis'
OAuth2 = google.auth.OAuth2
drive = google.drive('v2')
argv = require 'yargs'
.alias {u: 'upload', f: 'folder', d: 'delete', l: 'list'}
.describe
u: 'upload files'
f: 'folder to upload files to'
d: 'delete files ... |
[
{
"context": " 1\n 2\n 3\n]\n# add a sub object\nperson:\n name: 'Alexander Schilling'\n job: 'Developer'\n# complex structure\ncomplex: ",
"end": 434,
"score": 0.9998854398727417,
"start": 415,
"tag": "NAME",
"value": "Alexander Schilling"
},
{
"context": "veloper'\n# complex s... | src/type/coffee.coffee | alinex/node-formatter | 0 | ###
Coffee
=====================================================
The Coffee Script format is nearly the same as CSON but caused by the changed
parser it may contain calculations, too.
Common file extension `coffee`.
``` coffee
null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19... | 197680 | ###
Coffee
=====================================================
The Coffee Script format is nearly the same as CSON but caused by the changed
parser it may contain calculations, too.
Common file extension `coffee`.
``` coffee
null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19... | true | ###
Coffee
=====================================================
The Coffee Script format is nearly the same as CSON but caused by the changed
parser it may contain calculations, too.
Common file extension `coffee`.
``` coffee
null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19... |
[
{
"context": "rt(\n service: 'gmail'\n auth:\n user: 'perpustakaanonline2015@gmail.com'\n pass: 'penelitianilmiah'\n)\n\npassport.ser",
"end": 349,
"score": 0.9999246001243591,
"start": 317,
"tag": "EMAIL",
"value": "perpustakaanonline2015@gmail.com"
},
{
"context... | Post-Status-Server/controller/UserController.coffee | RizkiMufrizal/Aplikasi-Post-Status | 0 | express = require 'express'
router = express.Router()
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
User = require('../models/User')
transporter = nodemailer.createTransport(
service: 'gmail'
auth:
user: 'per... | 57340 | express = require 'express'
router = express.Router()
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
User = require('../models/User')
transporter = nodemailer.createTransport(
service: 'gmail'
auth:
user: '<EM... | true | express = require 'express'
router = express.Router()
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
User = require('../models/User')
transporter = nodemailer.createTransport(
service: 'gmail'
auth:
user: 'PI:... |
[
{
"context": "asswords did not match'\ninvalidCurrentPassword = 'Old password did not match our records!'\nmin8Character = 'Passwords should be at ",
"end": 699,
"score": 0.9957776069641113,
"start": 661,
"tag": "PASSWORD",
"value": "Old password did not match our records"
},
{
... | client/test/lib/helpers/myaccounthelpers.coffee | ezgikaysi/koding | 1 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector ... | 174047 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector ... | true | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector ... |
[
{
"context": "rstName: String\n lastName: String\n password: String\n username: String\n roles:\n type: Strin",
"end": 311,
"score": 0.9986472725868225,
"start": 305,
"tag": "PASSWORD",
"value": "String"
}
] | examples/models/User.coffee | minibikini/rething | 0 | rething = require '../../'
module.exports = class User extends rething.Model
#### Some defaults:
# @tableName: 'users'
# @timestamp: on
# @order: 'createdAt'
# @primaryKey: 'id'
@schema:
email:
type: String
index: on
firstName: String
lastName: String
password: String
user... | 86840 | rething = require '../../'
module.exports = class User extends rething.Model
#### Some defaults:
# @tableName: 'users'
# @timestamp: on
# @order: 'createdAt'
# @primaryKey: 'id'
@schema:
email:
type: String
index: on
firstName: String
lastName: String
password: <PASSWORD>
... | true | rething = require '../../'
module.exports = class User extends rething.Model
#### Some defaults:
# @tableName: 'users'
# @timestamp: on
# @order: 'createdAt'
# @primaryKey: 'id'
@schema:
email:
type: String
index: on
firstName: String
lastName: String
password: PI:PASSWORD:<PA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.