entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "##\n# scripts/directives/dropdown.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n###\n'use strict'\n\n",
"end": 63,
"score": 0.9995554089546204,
"start": 52,
"tag": "NAME",
"value": "Dan Nichols"
}
] | app/scripts/directives/dropdown.coffee | dlnichols/h_media | 0 | ###
# scripts/directives/dropdown.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'dropdownConfig', openClass: 'open'
.service 'dropdownService', ($document) ->
self = @
openScope = null
@open = (dropdownScope) ->
unless openScope
$do... | 145716 | ###
# scripts/directives/dropdown.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'dropdownConfig', openClass: 'open'
.service 'dropdownService', ($document) ->
self = @
openScope = null
@open = (dropdownScope) ->
unless openScope
$documen... | true | ###
# scripts/directives/dropdown.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'dropdownConfig', openClass: 'open'
.service 'dropdownService', ($document) ->
self = @
openScope = null
@open = (dropdownScope) ->
unless openScope
... |
[
{
"context": " #\n # translate 'main.hello.you', { name: 'Matt' }\n # # => 'Hello Matt!'\n #\n # Returns",
"end": 1672,
"score": 0.9929932355880737,
"start": 1668,
"tag": "NAME",
"value": "Matt"
},
{
"context": "n.hello.you', { name: 'Matt' }\n # # => 'Hello Ma... | src_old/lib/i18n.coffee | vcu/titanium-backbone | 1 | _.templateSettings =
interpolate: /\{\{(.+?)\}\}/g
# Private: Flatten a nested source object into a flat hash of key-value
# delimited pairs.
#
# source - Nested Object to be flattened
# destination - Reference to the destination Object. Initialized on the
# first call and passed to recursive calls to eliminate ne... | 198265 | _.templateSettings =
interpolate: /\{\{(.+?)\}\}/g
# Private: Flatten a nested source object into a flat hash of key-value
# delimited pairs.
#
# source - Nested Object to be flattened
# destination - Reference to the destination Object. Initialized on the
# first call and passed to recursive calls to eliminate ne... | true | _.templateSettings =
interpolate: /\{\{(.+?)\}\}/g
# Private: Flatten a nested source object into a flat hash of key-value
# delimited pairs.
#
# source - Nested Object to be flattened
# destination - Reference to the destination Object. Initialized on the
# first call and passed to recursive calls to eliminate ne... |
[
{
"context": "env.username = url.user\n env.password = url.password\n\n new mongo.Db(env.name, new mongo.Server(",
"end": 870,
"score": 0.8882254958152771,
"start": 858,
"tag": "PASSWORD",
"value": "url.password"
}
] | src/tower/server/store/mongodb/database.coffee | vjsingh/tower | 1 | # @mixin
Tower.Store.MongoDB.Database =
ClassMethods:
info: (callback) ->
addIndex: (callback) ->
indexes = @_pendingIndexes ||= []
indexes.push(callback)
initialize: (callback) ->
unless @initialized
applyIndexes = (done) =>
indexes = @_pendingIndexes
... | 158097 | # @mixin
Tower.Store.MongoDB.Database =
ClassMethods:
info: (callback) ->
addIndex: (callback) ->
indexes = @_pendingIndexes ||= []
indexes.push(callback)
initialize: (callback) ->
unless @initialized
applyIndexes = (done) =>
indexes = @_pendingIndexes
... | true | # @mixin
Tower.Store.MongoDB.Database =
ClassMethods:
info: (callback) ->
addIndex: (callback) ->
indexes = @_pendingIndexes ||= []
indexes.push(callback)
initialize: (callback) ->
unless @initialized
applyIndexes = (done) =>
indexes = @_pendingIndexes
... |
[
{
"context": "ok/knowledge/(mattermost-chatroom)\n#\n# Author:\n# taturou@gmail.com\n#\n\n# coding: UTF-8\nmodule.exports = (robot) ->\n ",
"end": 298,
"score": 0.9999273419380188,
"start": 281,
"tag": "EMAIL",
"value": "taturou@gmail.com"
},
{
"context": "edge/view/2',\n# grou... | knowledge.coffee | taturou/hubot-knowledge | 0 | #
# Description:
# Webhook for Knowledge
#
# Commands:
# hubot room_name - Return the real room name.
#
# Notes:
# Set 'Webhook configuration' of Knowledge web size to the following:
# * URL: http://(path-to-hubot)/webhook/knowledge/(mattermost-chatroom)
#
# Author:
# taturou@gmail.com
#
# coding: UTF-8
mo... | 213685 | #
# Description:
# Webhook for Knowledge
#
# Commands:
# hubot room_name - Return the real room name.
#
# Notes:
# Set 'Webhook configuration' of Knowledge web size to the following:
# * URL: http://(path-to-hubot)/webhook/knowledge/(mattermost-chatroom)
#
# Author:
# <EMAIL>
#
# coding: UTF-8
module.expor... | true | #
# Description:
# Webhook for Knowledge
#
# Commands:
# hubot room_name - Return the real room name.
#
# Notes:
# Set 'Webhook configuration' of Knowledge web size to the following:
# * URL: http://(path-to-hubot)/webhook/knowledge/(mattermost-chatroom)
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
#
# coding: UTF... |
[
{
"context": "ibe \"with correct parameters\", ->\n username = \"new-user-name\" + Math.floor(100000 * Math.random())\n it \"sho",
"end": 226,
"score": 0.9995344281196594,
"start": 213,
"tag": "USERNAME",
"value": "new-user-name"
},
{
"context": ", (done) -> \n MassiveGit... | test/user.new.coffee | circuithub/massive-git | 6 | should = require "should"
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helper"
describe "new user", ->
describe "with correct parameters", ->
username = "new-user-name" + Math.floor(100000 * Math.random())
it "should return user object with properties", (do... | 76603 | should = require "should"
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helper"
describe "new user", ->
describe "with correct parameters", ->
username = "new-user-name" + Math.floor(100000 * Math.random())
it "should return user object with properties", (do... | true | should = require "should"
MassiveGit = new (require("../lib/massive.git").MassiveGit)()
helper = require "./helper/helper"
describe "new user", ->
describe "with correct parameters", ->
username = "new-user-name" + Math.floor(100000 * Math.random())
it "should return user object with properties", (do... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.5857200026512146,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/ribcage/ui/ImagePicker.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 195619 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "api/js?v=3.exp&language=ru&callback=initRadar&key=AIzaSyC5qjp9_GkTBzAyMQZbw28ALlmj9liuYoA'\n document.body.appendChild(script)\n else\n ",
"end": 893,
"score": 0.999724805355072,
"start": 854,
"tag": "KEY",
"value": "AIzaSyC5qjp9_GkTBzAyMQZbw28ALlmj9liuYoA"
}
] | app/assets/javascripts/locations.js.coffee | Bor1s/adventure-kit | 1 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadRadar()
$(document).on 'page:load', ->
loadRadar()
window.initRadar = ()->
if $('#event-rada... | 59699 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadRadar()
$(document).on 'page:load', ->
loadRadar()
window.initRadar = ()->
if $('#event-rada... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadRadar()
$(document).on 'page:load', ->
loadRadar()
window.initRadar = ()->
if $('#event-rada... |
[
{
"context": ">\n obj = {}\n\n unless emoji\n obj.key = \"icon_emoji\"\n obj.val = \"\"\n return obj\n\n obj.key",
"end": 461,
"score": 0.877931535243988,
"start": 451,
"tag": "KEY",
"value": "icon_emoji"
},
{
"context": " obj\n\n obj.key = if emoji.match(/... | node_modules/slack-node/src/lib/slack.seed.coffee | yelworc/eleven-http-api | 0 | request = require "requestretry"
DEFAULT_TIMEOUT = 10 * 1000
DEFAULT_MAX_ATTEMPTS = 3
class Slack
constructor: (@token, @domain) ->
@apiMode = not @domain?
@url = @composeUrl()
@timeout = DEFAULT_TIMEOUT
@maxAttempts = DEFAULT_MAX_ATTEMPTS
composeUrl: =>
return "https://slack.com/api/"
set... | 191166 | request = require "requestretry"
DEFAULT_TIMEOUT = 10 * 1000
DEFAULT_MAX_ATTEMPTS = 3
class Slack
constructor: (@token, @domain) ->
@apiMode = not @domain?
@url = @composeUrl()
@timeout = DEFAULT_TIMEOUT
@maxAttempts = DEFAULT_MAX_ATTEMPTS
composeUrl: =>
return "https://slack.com/api/"
set... | true | request = require "requestretry"
DEFAULT_TIMEOUT = 10 * 1000
DEFAULT_MAX_ATTEMPTS = 3
class Slack
constructor: (@token, @domain) ->
@apiMode = not @domain?
@url = @composeUrl()
@timeout = DEFAULT_TIMEOUT
@maxAttempts = DEFAULT_MAX_ATTEMPTS
composeUrl: =>
return "https://slack.com/api/"
set... |
[
{
"context": "s.size = @getTileSize()\n params.key = \"#{params.x},#{params.y},#{params.z}\"\n\n params\n\n createTile: ",
"end": 1153,
"score": 0.8540564775466919,
"start": 1148,
"tag": "KEY",
"value": "x},#{"
},
{
"context": "TileSize()\n params.key = \"#{params.x},#{para... | index.coffee | metocean/leaflet-geotilelayer | 0 | request = require 'superagent'
L.GeoTileLayer = L.GridLayer.extend
options: maxZoom: 18
initialize: (url, options) ->
@_url = url
@_requests = {}
@_geoCache = {}
options = L.setOptions @, options
@on 'tileunload', (e) ->
params = @_generateParams e.coords
if @_requests[params.url]... | 196170 | request = require 'superagent'
L.GeoTileLayer = L.GridLayer.extend
options: maxZoom: 18
initialize: (url, options) ->
@_url = url
@_requests = {}
@_geoCache = {}
options = L.setOptions @, options
@on 'tileunload', (e) ->
params = @_generateParams e.coords
if @_requests[params.url]... | true | request = require 'superagent'
L.GeoTileLayer = L.GridLayer.extend
options: maxZoom: 18
initialize: (url, options) ->
@_url = url
@_requests = {}
@_geoCache = {}
options = L.setOptions @, options
@on 'tileunload', (e) ->
params = @_generateParams e.coords
if @_requests[params.url]... |
[
{
"context": "t}\n\nrenderProfile = (profile) ->\n a key: profile.userName, className: \"profile\", title: profile.realName, h",
"end": 326,
"score": 0.24842271208763123,
"start": 318,
"tag": "KEY",
"value": "userName"
}
] | rsrc/js/yadda-default-scripts/20-preview.coffee | quark-zju/yadda | 0 | {a, div, pre, progress, span, style, textarea} = React.DOM
{callConduit, describeAction, getDateModified, getDateRead, getStatusCalculator, getTopoSorter, handleRevisionLinkClick, requestAsync, scrollIntoView} = this
_diffs = {} # pre-fetched patches, {diffID: content}
renderProfile = (profile) ->
a key: profile.us... | 204301 | {a, div, pre, progress, span, style, textarea} = React.DOM
{callConduit, describeAction, getDateModified, getDateRead, getStatusCalculator, getTopoSorter, handleRevisionLinkClick, requestAsync, scrollIntoView} = this
_diffs = {} # pre-fetched patches, {diffID: content}
renderProfile = (profile) ->
a key: profile.<K... | true | {a, div, pre, progress, span, style, textarea} = React.DOM
{callConduit, describeAction, getDateModified, getDateRead, getStatusCalculator, getTopoSorter, handleRevisionLinkClick, requestAsync, scrollIntoView} = this
_diffs = {} # pre-fetched patches, {diffID: content}
renderProfile = (profile) ->
a key: profile.PI... |
[
{
"context": "e:\"ModifierHealWatchBuffGeneral\"\n\n\t@modifierName:\"Heal Watch\"\n\t@description: \"Whenever anything is hea",
"end": 283,
"score": 0.5148513913154602,
"start": 281,
"tag": "NAME",
"value": "He"
}
] | app/sdk/modifiers/modifierHealWatchBuffGeneral.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
ModifierHealWatch = require './modifierHealWatch'
CardType = require 'app/sdk/cards/cardType'
class ModifierHealWatchBuffGeneral extends ModifierHealWatch
type:"ModifierHealWatchBuffGeneral"
@type:"ModifierHealWatchBuffGeneral"
@modifierName:"Heal Watch"
@description: "Whenever an... | 184075 | Modifier = require './modifier'
ModifierHealWatch = require './modifierHealWatch'
CardType = require 'app/sdk/cards/cardType'
class ModifierHealWatchBuffGeneral extends ModifierHealWatch
type:"ModifierHealWatchBuffGeneral"
@type:"ModifierHealWatchBuffGeneral"
@modifierName:"<NAME>al Watch"
@description: "Wheneve... | true | Modifier = require './modifier'
ModifierHealWatch = require './modifierHealWatch'
CardType = require 'app/sdk/cards/cardType'
class ModifierHealWatchBuffGeneral extends ModifierHealWatch
type:"ModifierHealWatchBuffGeneral"
@type:"ModifierHealWatchBuffGeneral"
@modifierName:"PI:NAME:<NAME>END_PIal Watch"
@descrip... |
[
{
"context": "###\nAuthor: Ansel Chen\nThanks xiaoshan5733\n###\ncrypto = require(\"crypto\"",
"end": 22,
"score": 0.999751091003418,
"start": 12,
"tag": "NAME",
"value": "Ansel Chen"
},
{
"context": "###\nAuthor: Ansel Chen\nThanks xiaoshan5733\n###\ncrypto = require(\"crypto\")\nut... | src/libs/signers/top.coffee | lln7777/aliyun-sdk-promise | 5 | ###
Author: Ansel Chen
Thanks xiaoshan5733
###
crypto = require("crypto")
util = require('../util')
# 针对阿里的的几个字符的特殊处理
specialEncode = (str) ->
encodeURIComponent(str)
.replace /[!'()*+]/g, (c)->
'%' + c.charCodeAt(0).toString(16)
handleParams = (params)->
keysSorted = Object.keys(params).sort()
result = [... | 33684 | ###
Author: <NAME>
Thanks xiaoshan5733
###
crypto = require("crypto")
util = require('../util')
# 针对阿里的的几个字符的特殊处理
specialEncode = (str) ->
encodeURIComponent(str)
.replace /[!'()*+]/g, (c)->
'%' + c.charCodeAt(0).toString(16)
handleParams = (params)->
keysSorted = Object.keys(params).sort()
result = []
... | true | ###
Author: PI:NAME:<NAME>END_PI
Thanks xiaoshan5733
###
crypto = require("crypto")
util = require('../util')
# 针对阿里的的几个字符的特殊处理
specialEncode = (str) ->
encodeURIComponent(str)
.replace /[!'()*+]/g, (c)->
'%' + c.charCodeAt(0).toString(16)
handleParams = (params)->
keysSorted = Object.keys(params).sort()
... |
[
{
"context": "type: 'text', body: '<p><a class=\"is-follow-link\">Damon Zucconi</a><a class=\"artist-follow\" data-id=\"damon-zuccon",
"end": 1454,
"score": 0.9996826648712158,
"start": 1441,
"tag": "NAME",
"value": "Damon Zucconi"
},
{
"context": "amon Zucconi</a><a class=\"artist-f... | src/desktop/components/article/test/view.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabri... | 32898 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabri... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabri... |
[
{
"context": "@keyDerivationPass = options.keyDerivationPass or 1024\n ivSize: (type) ->\n switch type\n when 'a",
"end": 789,
"score": 0.9930063486099243,
"start": 785,
"tag": "PASSWORD",
"value": "1024"
}
] | src/crypto.coffee | yinso/keybox | 1 | crypto = require 'crypto'
Promise = require 'bluebird'
class Crypto
@hash: (type, key, cb) ->
hash = crypto.createHash type
buffer = []
hash.on 'readable', ->
data = hash.read()
if data
cb null, data.toString('hex')
hash.write key
hash.end()
@encrypt: (type, password, data, ... | 147560 | crypto = require 'crypto'
Promise = require 'bluebird'
class Crypto
@hash: (type, key, cb) ->
hash = crypto.createHash type
buffer = []
hash.on 'readable', ->
data = hash.read()
if data
cb null, data.toString('hex')
hash.write key
hash.end()
@encrypt: (type, password, data, ... | true | crypto = require 'crypto'
Promise = require 'bluebird'
class Crypto
@hash: (type, key, cb) ->
hash = crypto.createHash type
buffer = []
hash.on 'readable', ->
data = hash.read()
if data
cb null, data.toString('hex')
hash.write key
hash.end()
@encrypt: (type, password, data, ... |
[
{
"context": "rrors\n\n username = req.body.username\n password = req.body.password\n new_user = models.User.build({username})\n new_",
"end": 540,
"score": 0.9296813011169434,
"start": 523,
"tag": "PASSWORD",
"value": "req.body.password"
},
{
"context": "not valid.').notEmpty()\... | src/controllers/user_controller.coffee | dwetterau/base-node-app | 0 | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('username', 'Username must be at least 3 characters long.').len(3)
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.'... | 29637 | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('username', 'Username must be at least 3 characters long.').len(3)
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.'... | true | passport = require 'passport'
models = require '../models'
exports.post_user_create = (req, res) ->
req.assert('username', 'Username must be at least 3 characters long.').len(3)
req.assert('password', 'Password must be at least 4 characters long.').len(4)
req.assert('confirm_password', 'Passwords do not match.'... |
[
{
"context": "[require('moves/gaff.coffee')])\n )\n\n # LEVEL 2 - Huminski\n game.addScreen(new Battle(game, require(",
"end": 1257,
"score": 0.5809966325759888,
"start": 1256,
"tag": "NAME",
"value": "H"
},
{
"context": "ffee'),\n 'Hello! T-bone Huminsk... | src/js/main.coffee | nagn/Battle-Resolution | 0 | $ = require './lib/jquery.js'
$ ->
Game = require './game.coffee'
game = new Game()
# set up starter moves
game.addMove require 'moves/flourish.coffee'
game.addMove require 'moves/clash.coffee'
game.addMove require 'moves/cross.coffee'
# set up screen order
Menu = require './screens/menu.coffee'
ga... | 213603 | $ = require './lib/jquery.js'
$ ->
Game = require './game.coffee'
game = new Game()
# set up starter moves
game.addMove require 'moves/flourish.coffee'
game.addMove require 'moves/clash.coffee'
game.addMove require 'moves/cross.coffee'
# set up screen order
Menu = require './screens/menu.coffee'
ga... | true | $ = require './lib/jquery.js'
$ ->
Game = require './game.coffee'
game = new Game()
# set up starter moves
game.addMove require 'moves/flourish.coffee'
game.addMove require 'moves/clash.coffee'
game.addMove require 'moves/cross.coffee'
# set up screen order
Menu = require './screens/menu.coffee'
ga... |
[
{
"context": "#\n# Copyright (c) 2014 by Lifted Studios. All Rights Reserved.\n#\n\n# Public: Handles the in",
"end": 40,
"score": 0.676446795463562,
"start": 26,
"tag": "NAME",
"value": "Lifted Studios"
}
] | atom.symlink/packages/tabs-to-spaces/lib/tabs-to-spaces.coffee | baer/dotfiles-old | 0 | #
# Copyright (c) 2014 by Lifted Studios. All Rights Reserved.
#
# Public: Handles the interface between Atom and the Tabs to Spaces package.
module.exports =
class TabsToSpaces
# Public: Converts all leading spaces to tabs in the current buffer.
tabify: (@editor=atom.workspace.getActiveEditor()) ->
return unl... | 41254 | #
# Copyright (c) 2014 by <NAME>. All Rights Reserved.
#
# Public: Handles the interface between Atom and the Tabs to Spaces package.
module.exports =
class TabsToSpaces
# Public: Converts all leading spaces to tabs in the current buffer.
tabify: (@editor=atom.workspace.getActiveEditor()) ->
return unless @edi... | true | #
# Copyright (c) 2014 by PI:NAME:<NAME>END_PI. All Rights Reserved.
#
# Public: Handles the interface between Atom and the Tabs to Spaces package.
module.exports =
class TabsToSpaces
# Public: Converts all leading spaces to tabs in the current buffer.
tabify: (@editor=atom.workspace.getActiveEditor()) ->
retu... |
[
{
"context": "なるソフトウェアがあるので、必要に応じてインストールを補助すること。\n#\n# Author:\n# miura-simpline <miura.daisuke@simpline.co.jp>\n\nmodule.exports = ",
"end": 592,
"score": 0.9991350173950195,
"start": 578,
"tag": "USERNAME",
"value": "miura-simpline"
},
{
"context": "応じてインストールを補助すること。\n#\n# Author... | scripts/training3rd.coffee | simpline/TrainingBotBoss | 0 | # Description:
# The 3rd week of Training - 研修3週目
# 3週目における課題は、冗長化の構成と構成自動化に関することである。
# この時点までにスナップショットを使用して作成してる者がいたら、見上げたものである。
#
# Commands:
# boss 11日目は何をしましょうか。
# boss レプリケーションを設定しました。[苦労した点]
# boss 12日目は何をしましょうか。
# boss ApacheをAnsibleで作成してきました。[苦労した点]
# boss 13日目は何をしましょうか。
# boss WordpressをAnsib... | 96202 | # Description:
# The 3rd week of Training - 研修3週目
# 3週目における課題は、冗長化の構成と構成自動化に関することである。
# この時点までにスナップショットを使用して作成してる者がいたら、見上げたものである。
#
# Commands:
# boss 11日目は何をしましょうか。
# boss レプリケーションを設定しました。[苦労した点]
# boss 12日目は何をしましょうか。
# boss ApacheをAnsibleで作成してきました。[苦労した点]
# boss 13日目は何をしましょうか。
# boss WordpressをAnsib... | true | # Description:
# The 3rd week of Training - 研修3週目
# 3週目における課題は、冗長化の構成と構成自動化に関することである。
# この時点までにスナップショットを使用して作成してる者がいたら、見上げたものである。
#
# Commands:
# boss 11日目は何をしましょうか。
# boss レプリケーションを設定しました。[苦労した点]
# boss 12日目は何をしましょうか。
# boss ApacheをAnsibleで作成してきました。[苦労した点]
# boss 13日目は何をしましょうか。
# boss WordpressをAnsib... |
[
{
"context": "xt) ->\n\tif req.headers['x-authorization'] is '12345' and req.query['_csrf_token'] is '12345' and (if ",
"end": 136,
"score": 0.39632752537727356,
"start": 135,
"tag": "PASSWORD",
"value": "5"
},
{
"context": "ion'] is '12345' and req.query['_csrf_token'] is '12345' an... | test/server.coffee | vadimdemedes/restie | 5 | # Setting up test Express app
express = require 'express'
protection = (req, res, next) ->
if req.headers['x-authorization'] is '12345' and req.query['_csrf_token'] is '12345' and (if req.method is 'GET' then yes else req.body['_csrf_token'] is '12345')
do next
else
do res.end
app = express.createServer express.... | 163758 | # Setting up test Express app
express = require 'express'
protection = (req, res, next) ->
if req.headers['x-authorization'] is '1234<PASSWORD>' and req.query['_csrf_token'] is '<PASSWORD>' and (if req.method is 'GET' then yes else req.body['_csrf_token'] is '<PASSWORD>')
do next
else
do res.end
app = express.cr... | true | # Setting up test Express app
express = require 'express'
protection = (req, res, next) ->
if req.headers['x-authorization'] is '1234PI:PASSWORD:<PASSWORD>END_PI' and req.query['_csrf_token'] is 'PI:PASSWORD:<PASSWORD>END_PI' and (if req.method is 'GET' then yes else req.body['_csrf_token'] is 'PI:PASSWORD:<PASSWORD>... |
[
{
"context": " @server.r 'GET:/users/2', users: {id: 2, name: 'brogrammer', profile: 1}\n\n @session.load(@Profile, 1).the",
"end": 1006,
"score": 0.9996767044067383,
"start": 996,
"tag": "USERNAME",
"value": "brogrammer"
},
{
"context": "'GET:/users/2'])\n expect(user.nam... | test/rest/rest.one_to_one.coffee | travisperson/coalesce | 18 | `import Context from 'coalesce/rest/context'`
`import {userWithProfile, userWithEmbeddedProfile} from '../support/configs'`
describe "rest with one->one relationship", ->
lazy 'context', -> new Context(userWithProfile())
lazy 'User', -> @context.typeFor('user')
lazy 'Profile', -> @context.typeFor('profile')
l... | 142049 | `import Context from 'coalesce/rest/context'`
`import {userWithProfile, userWithEmbeddedProfile} from '../support/configs'`
describe "rest with one->one relationship", ->
lazy 'context', -> new Context(userWithProfile())
lazy 'User', -> @context.typeFor('user')
lazy 'Profile', -> @context.typeFor('profile')
l... | true | `import Context from 'coalesce/rest/context'`
`import {userWithProfile, userWithEmbeddedProfile} from '../support/configs'`
describe "rest with one->one relationship", ->
lazy 'context', -> new Context(userWithProfile())
lazy 'User', -> @context.typeFor('user')
lazy 'Profile', -> @context.typeFor('profile')
l... |
[
{
"context": "##\n toolbar-candidate.coffee\n Copyright (c) 2016 Nokia\n\n Note:\n This file is part of the netconf packa",
"end": 57,
"score": 0.6744985580444336,
"start": 52,
"tag": "NAME",
"value": "Nokia"
}
] | lib/toolbar-candidate.coffee | nokia/atom-netconf | 15 | ###
toolbar-candidate.coffee
Copyright (c) 2016 Nokia
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
ncclient = require './nccli... | 36219 | ###
toolbar-candidate.coffee
Copyright (c) 2016 <NAME>
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
ncclient = require './nccl... | true | ###
toolbar-candidate.coffee
Copyright (c) 2016 PI:NAME:<NAME>END_PI
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable, TextEditor} = require 'atom'
ncclient = r... |
[
{
"context": "nNode = typeof(Window) == \"undefined\"\n\nkey = \"to-be-calculated\"\ncounter = 0\n\nif inNode\n expect = require \"expe",
"end": 129,
"score": 0.8777769207954407,
"start": 113,
"tag": "KEY",
"value": "to-be-calculated"
},
{
"context": "------------------------\n... | tests/test-rpc.coffee | ragents/ragents-test | 0 | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "to-be-calculated"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
p... | 70937 | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "<KEY>"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
port = por... | true | # Licensed under the Apache License. See footer for details.
inNode = typeof(Window) == "undefined"
key = "PI:KEY:<KEY>END_PI"
counter = 0
if inNode
expect = require "expect.js"
shelljs = require "shelljs"
ports = require "ports"
ragents = require "../../ragents"
pkg = require "../package.json"
... |
[
{
"context": " subject.search(type: 'Patient', query: {name: 'maud'}).then (x)->\n assert.equal(x.url, 'BASE/Pat",
"end": 450,
"score": 0.9927533864974976,
"start": 446,
"tag": "NAME",
"value": "maud"
},
{
"context": "x)->\n assert.equal(x.url, 'BASE/Patient?name=maud')\n... | test/fhirSpec.coffee | honestica/fhir.js | 1 | fhir = require('../src/fhir')
assert = require('assert')
describe "fhir", ->
cfg = {baseUrl: 'BASE', }
adapter = {http: ((x)-> {then: (f)-> f(x)})}
subject = fhir(cfg, adapter)
it "api", ()->
assert.notEqual(subject.search, null)
assert.notEqual(subject.profile, null)
assert.notEqual(subject.tran... | 205854 | fhir = require('../src/fhir')
assert = require('assert')
describe "fhir", ->
cfg = {baseUrl: 'BASE', }
adapter = {http: ((x)-> {then: (f)-> f(x)})}
subject = fhir(cfg, adapter)
it "api", ()->
assert.notEqual(subject.search, null)
assert.notEqual(subject.profile, null)
assert.notEqual(subject.tran... | true | fhir = require('../src/fhir')
assert = require('assert')
describe "fhir", ->
cfg = {baseUrl: 'BASE', }
adapter = {http: ((x)-> {then: (f)-> f(x)})}
subject = fhir(cfg, adapter)
it "api", ()->
assert.notEqual(subject.search, null)
assert.notEqual(subject.profile, null)
assert.notEqual(subject.tran... |
[
{
"context": "ect = () ->\n\tconsole.log(\"*** 開始 ***\");\n\tkeys = ['t1521','t1522','t1523',\n\t\t't1524','t1525','t1526',\n\t\t't1527','t1528','t",
"end": 655,
"score": 0.9598773717880249,
"start": 634,
"tag": "KEY",
"value": "t1521','t1522','t1523"
},
{
"context": "ys = ['t1521','... | mcachedb/coffee/read/mcachedb_read.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# -------------------------------------------------------------
# mcachedb_read.coffee
#
# Feb/02/2015
# -------------------------------------------------------------
memcache = require('memcache');
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# ----------... | 122111 | #! /usr/bin/coffee
# -------------------------------------------------------------
# mcachedb_read.coffee
#
# Feb/02/2015
# -------------------------------------------------------------
memcache = require('memcache');
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# ----------... | true | #! /usr/bin/coffee
# -------------------------------------------------------------
# mcachedb_read.coffee
#
# Feb/02/2015
# -------------------------------------------------------------
memcache = require('memcache');
json_manipulate=require ("/var/www/data_base/common/coffee_common/json_manipulate")
# ----------... |
[
{
"context": " host: \"web-prod.in.koding.com\",\n# login: \"guest\",\n# password: \"x1srTA7!%Vb}$n|S\"\n# }\noption",
"end": 98,
"score": 0.9884318709373474,
"start": 93,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "ding.com\",\n# login: \"guest\",\n# pa... | node_modules_koding/broker/examples/pubsub.coffee | ezgikaysi/koding | 1 | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "x1srTA7!%Vb}$n|S"
# }
options = {host: "localhost"}
channel = "test_channel"
event = "test_event"
message = "Hello"
broker = new Broker options, ->
console.log "Ready"
broker.on channel, even... | 223734 | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "<PASSWORD>"
# }
options = {host: "localhost"}
channel = "test_channel"
event = "test_event"
message = "Hello"
broker = new Broker options, ->
console.log "Ready"
broker.on channel, event, (ms... | true | Broker = require "broker"
# options = {
# host: "web-prod.in.koding.com",
# login: "guest",
# password: "PI:PASSWORD:<PASSWORD>END_PI"
# }
options = {host: "localhost"}
channel = "test_channel"
event = "test_event"
message = "Hello"
broker = new Broker options, ->
console.log "Ready"
broker.on c... |
[
{
"context": " search keywords from Yahoo movies\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nmodule.exports = (robot) ->\n r",
"end": 283,
"score": 0.9997224807739258,
"start": 276,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "ywords from Yahoo movies\n#\n# Author:\n# ... | src/scripts/yahoo-movies.coffee | bouzuya/hubot-yahoo-movies | 1 | # Description
# A Hubot script that search keywords from Yahoo movies
#
# Dependencies:
# "hubot-arm": "^0.2.0",
# "hubot-request-arm": "^0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot yahoo-movies <query> - search keywords from Yahoo movies
#
# Author:
# bouzuya <m@bouzuya.net>
#
module.exports = (... | 180335 | # Description
# A Hubot script that search keywords from Yahoo movies
#
# Dependencies:
# "hubot-arm": "^0.2.0",
# "hubot-request-arm": "^0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot yahoo-movies <query> - search keywords from Yahoo movies
#
# Author:
# bouzuya <<EMAIL>>
#
module.exports = (robot)... | true | # Description
# A Hubot script that search keywords from Yahoo movies
#
# Dependencies:
# "hubot-arm": "^0.2.0",
# "hubot-request-arm": "^0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot yahoo-movies <query> - search keywords from Yahoo movies
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
module.ex... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998864531517029,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/relations/many.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
BackboneORM = require '../cor... | 65338 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
BackboneORM = require '../core'... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
BackboneORM = req... |
[
{
"context": " </select>\n \"\n )\n\n this[@reportType]()\n\n $('div[data-role=fieldcontain]').fiel",
"end": 2651,
"score": 0.9099459648132324,
"start": 2640,
"tag": "USERNAME",
"value": "@reportType"
},
{
"context": "onfig.design_doc_name()}/results... | _attachments/views/ReportView.coffee | ICTatRTI/coconut-cloud | 0 | class ReportView extends Backbone.View
el: '#content'
events:
"change #reportOptions": "update"
"change #summaryField": "summarize"
"change #aggregateBy": "update"
"click #toggleDisaggregation": "toggleDisaggregation"
update: =>
reportOptions =
startDate: $('#start').val()
endDat... | 160652 | class ReportView extends Backbone.View
el: '#content'
events:
"change #reportOptions": "update"
"change #summaryField": "summarize"
"change #aggregateBy": "update"
"click #toggleDisaggregation": "toggleDisaggregation"
update: =>
reportOptions =
startDate: $('#start').val()
endDat... | true | class ReportView extends Backbone.View
el: '#content'
events:
"change #reportOptions": "update"
"change #summaryField": "summarize"
"change #aggregateBy": "update"
"click #toggleDisaggregation": "toggleDisaggregation"
update: =>
reportOptions =
startDate: $('#start').val()
endDat... |
[
{
"context": "map of correlation matrix linked to scatterplots\n# Karl W Broman\n\nHTMLWidgets.widget({\n\n name: \"iplotCorr\",\n ",
"end": 81,
"score": 0.9998575448989868,
"start": 68,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/iplotCorr.coffee | Alanocallaghan/qtlcharts | 0 | # iplotCorr: heatmap of correlation matrix linked to scatterplots
# Karl W Broman
HTMLWidgets.widget({
name: "iplotCorr",
type: "output",
initialize: (widgetdiv, width, height) ->
# prefer aspect ratio width/height = 2
height = width/2 if height > width/2
d3.select(widgetdiv).appe... | 141953 | # iplotCorr: heatmap of correlation matrix linked to scatterplots
# <NAME>
HTMLWidgets.widget({
name: "iplotCorr",
type: "output",
initialize: (widgetdiv, width, height) ->
# prefer aspect ratio width/height = 2
height = width/2 if height > width/2
d3.select(widgetdiv).append("svg... | true | # iplotCorr: heatmap of correlation matrix linked to scatterplots
# PI:NAME:<NAME>END_PI
HTMLWidgets.widget({
name: "iplotCorr",
type: "output",
initialize: (widgetdiv, width, height) ->
# prefer aspect ratio width/height = 2
height = width/2 if height > width/2
d3.select(widgetdi... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7776342034339905,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | src/hr/spec.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser = require("../../js/hr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 31085 | bcv_parser = require("../../js/hr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/hr_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": " \n \n Meteor.loginWithPassword 'a@a.com', '123456', (err)->\n Trips.find({}).obse",
"end": 384,
"score": 0.9939241409301758,
"start": 377,
"tag": "EMAIL",
"value": "a@a.com"
},
{
"context": "sule'); \n Meteor.loginWithPassword ... | src/tests/tdd/0.1.2/testServerAddTrip.coffee | ArnoldasSid/vilnius-carpool | 11 | helper = new (require '../actions').Helper()
describe 'Add trip by posting to url', ->
it 'refetched should contain toAdress and fromAddress ', (done, server,cA, cB) ->
cB.eval helper.createABUsers
cB.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('async-capsu... | 39471 | helper = new (require '../actions').Helper()
describe 'Add trip by posting to url', ->
it 'refetched should contain toAdress and fromAddress ', (done, server,cA, cB) ->
cB.eval helper.createABUsers
cB.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('async-capsu... | true | helper = new (require '../actions').Helper()
describe 'Add trip by posting to url', ->
it 'refetched should contain toAdress and fromAddress ', (done, server,cA, cB) ->
cB.eval helper.createABUsers
cB.once 'usersCreated', ->
cA.eval ->
aspect.push('map-bridge');
aspect.push('async-capsu... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, db} = require './test'\nthey = r",
"end": 28,
"score": 0.8904102444648743,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "hy: true\n .db.user.exists\n username: 'test_user_exists_1_user'\n ... | packages/db/test/user.exists.coffee | chibanemourad/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'with status as false', ({ssh}) ->
nikita
ssh: ssh
db: db[engine]
.db.user.remov... | 4839 |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'with status as false', ({ssh}) ->
nikita
ssh: ssh
db: db[engine]
.db.user.remov... | true |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user.exists #{engine}", ->
they 'with status as false', ({ssh}) ->
nikita
ssh: ssh
db: db[engine]
.db.user.remov... |
[
{
"context": "not designe to be only protection.\n#\n# Author:\n# Dan Poltawski <dan@moodle.com>\nPostgres = require 'pg'\n\nuserFro",
"end": 236,
"score": 0.9996770620346069,
"start": 223,
"tag": "NAME",
"value": "Dan Poltawski"
},
{
"context": "e only protection.\n#\n# Author:\n#... | src/log-to-pgsql.coffee | danpoltawski/hubot-log-to-pgsql | 1 | # Description
# A hubot script that stores to logs to pgsql
#
# Configuration:
# HUBOT_LOG_DB_URL
# HUBOT_LOG_ROOMS
#
# Notes:
# The restrictions on log access are not designe to be only protection.
#
# Author:
# Dan Poltawski <dan@moodle.com>
Postgres = require 'pg'
userFromTelegramUser = (telegramUser) ->
... | 183256 | # Description
# A hubot script that stores to logs to pgsql
#
# Configuration:
# HUBOT_LOG_DB_URL
# HUBOT_LOG_ROOMS
#
# Notes:
# The restrictions on log access are not designe to be only protection.
#
# Author:
# <NAME> <<EMAIL>>
Postgres = require 'pg'
userFromTelegramUser = (telegramUser) ->
user = {}
... | true | # Description
# A hubot script that stores to logs to pgsql
#
# Configuration:
# HUBOT_LOG_DB_URL
# HUBOT_LOG_ROOMS
#
# Notes:
# The restrictions on log access are not designe to be only protection.
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Postgres = require 'pg'
userFromTelegramUser = (te... |
[
{
"context": "# @fileoverview Tests for jsx-uses-react\n# @author Glen Mailer\n###\n\n'use strict'\n\n# ----------------------------",
"end": 67,
"score": 0.999733567237854,
"start": 56,
"tag": "NAME",
"value": "Glen Mailer"
}
] | src/tests/rules/jsx-uses-react.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for jsx-uses-react
# @author Glen Mailer
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '../../rules/no-... | 158584 | ###*
# @fileoverview Tests for jsx-uses-react
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '../../rules/no-unuse... | true | ###*
# @fileoverview Tests for jsx-uses-react
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '../../... |
[
{
"context": ">\n configs.setConfig 0, new args.ServerConfig '8.8.8.8'\n configs.getConfigCount().should.equal 1\n ",
"end": 790,
"score": 0.9997349381446838,
"start": 783,
"tag": "IP_ADDRESS",
"value": "8.8.8.8"
},
{
"context": "l 1\n configs.getConfig(0).server.should.e... | test/argsTest.coffee | yaleh/shadowsocks-gui | 0 | chai = require 'chai'
chai.should()
expect = chai.expect
args = require '../args'
describe 'ServerConfig', ->
serverConfig = null
it "should have a server with server of null", ->
serverConfig = new args.ServerConfig
expect(serverConfig.server).to.be.a('null')
describe 'Configs', ->
configs = null
i... | 57359 | chai = require 'chai'
chai.should()
expect = chai.expect
args = require '../args'
describe 'ServerConfig', ->
serverConfig = null
it "should have a server with server of null", ->
serverConfig = new args.ServerConfig
expect(serverConfig.server).to.be.a('null')
describe 'Configs', ->
configs = null
i... | true | chai = require 'chai'
chai.should()
expect = chai.expect
args = require '../args'
describe 'ServerConfig', ->
serverConfig = null
it "should have a server with server of null", ->
serverConfig = new args.ServerConfig
expect(serverConfig.server).to.be.a('null')
describe 'Configs', ->
configs = null
i... |
[
{
"context": "###*\n * Gridfw \n * @copyright khalid RAFIK 2019\n###\n'use strict'\nPath = require 'path'\nFs\t= ",
"end": 42,
"score": 0.9994933009147644,
"start": 30,
"tag": "NAME",
"value": "khalid RAFIK"
}
] | assets/index.coffee | gridfw/render | 0 | ###*
* Gridfw
* @copyright khalid RAFIK 2019
###
'use strict'
Path = require 'path'
Fs = require 'mz/fs'
#=include _utils.coffee
#=include _settings.coffee
#=include _render.coffee
#=include _load-static-views.coffee
class Render
constructor: (@app)->
@enabled = on # the plugin is enabled
@fxes = null # func... | 64807 | ###*
* Gridfw
* @copyright <NAME> 2019
###
'use strict'
Path = require 'path'
Fs = require 'mz/fs'
#=include _utils.coffee
#=include _settings.coffee
#=include _render.coffee
#=include _load-static-views.coffee
class Render
constructor: (@app)->
@enabled = on # the plugin is enabled
@fxes = null # functions
... | true | ###*
* Gridfw
* @copyright PI:NAME:<NAME>END_PI 2019
###
'use strict'
Path = require 'path'
Fs = require 'mz/fs'
#=include _utils.coffee
#=include _settings.coffee
#=include _render.coffee
#=include _load-static-views.coffee
class Render
constructor: (@app)->
@enabled = on # the plugin is enabled
@fxes = nul... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998860955238342,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/medicines.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Medicine model
###
class Medicine extends Model
# initialize model
Me... | 108060 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Medicine model
###
class Medicine extends Model
# initialize model
Medicine.init
name:
... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
Medicine model
###
class Medicine extends Model
# initialize ... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'GdFl'\n\n parse: ->\n @file.seek 4, true # Skip sig\n ",
"end": 179,
"score": 0.9945412874221802,
"start": 175,
"tag": "KEY",
"value": "GdFl"
}
] | lib/psd/layer_info/gradient_fill.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is 'GdFl'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse() | 138338 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse() | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse() |
[
{
"context": "ned\nmultiSelect = undefined\ncontent = [\n {name: 'Alice', code: 'ALICE'},\n {name: 'Bob', code: 'BOB'},\n]",
"end": 74,
"score": 0.9997836947441101,
"start": 69,
"tag": "NAME",
"value": "Alice"
},
{
"context": " = undefined\ncontent = [\n {name: 'Alice', code: 'ALI... | tests/functional/multi_select_test.coffee | eflexsystems/ember-widgets | 0 | dispatcher = undefined
multiSelect = undefined
content = [
{name: 'Alice', code: 'ALICE'},
{name: 'Bob', code: 'BOB'},
]
module "Multi select component functional tests"
setup: ->
dispatcher = Ember.EventDispatcher.create()
dispatcher.setup()
multiSelect = Ember.Widgets.MultiSelectComponent.create
... | 110793 | dispatcher = undefined
multiSelect = undefined
content = [
{name: '<NAME>', code: '<NAME>'},
{name: '<NAME>', code: '<NAME>B'},
]
module "Multi select component functional tests"
setup: ->
dispatcher = Ember.EventDispatcher.create()
dispatcher.setup()
multiSelect = Ember.Widgets.MultiSelectComponent.... | true | dispatcher = undefined
multiSelect = undefined
content = [
{name: 'PI:NAME:<NAME>END_PI', code: 'PI:NAME:<NAME>END_PI'},
{name: 'PI:NAME:<NAME>END_PI', code: 'PI:NAME:<NAME>END_PIB'},
]
module "Multi select component functional tests"
setup: ->
dispatcher = Ember.EventDispatcher.create()
dispatcher.setup... |
[
{
"context": "/json'\n data: JSON.stringify({key: key, name: name})\n success: (response) =>\n template =",
"end": 20300,
"score": 0.5588342547416687,
"start": 20296,
"tag": "NAME",
"value": "name"
},
{
"context": "e\n isLoaded: false\n key: key\n name... | app/assets/checklists.coffee | gemini-hlsw/checklists | 0 | window.Checklists = Ember.Application.create
ready: () ->
router = this.get('router')
$.ajax
url: '/about'
success: (data) ->
Checklists.about.set('description', data)
if Modernizr.localstorage
if not localStorage.theme?
localStorage.theme = 'dark'
router.get('prefe... | 212191 | window.Checklists = Ember.Application.create
ready: () ->
router = this.get('router')
$.ajax
url: '/about'
success: (data) ->
Checklists.about.set('description', data)
if Modernizr.localstorage
if not localStorage.theme?
localStorage.theme = 'dark'
router.get('prefe... | true | window.Checklists = Ember.Application.create
ready: () ->
router = this.get('router')
$.ajax
url: '/about'
success: (data) ->
Checklists.about.set('description', data)
if Modernizr.localstorage
if not localStorage.theme?
localStorage.theme = 'dark'
router.get('prefe... |
[
{
"context": "# [Context Traits](https://github.com/tagae/context-traits).\n# Copyright © 2012—2015 UCLouvai",
"end": 43,
"score": 0.9997066855430603,
"start": 38,
"tag": "USERNAME",
"value": "tagae"
},
{
"context": "\"Multiple extension\", ->\n person =\n name: -> 'Ken'\n gre... | test/src/adaptation.coffee | tagae/context-traits | 2 | # [Context Traits](https://github.com/tagae/context-traits).
# Copyright © 2012—2015 UCLouvain.
module "Context Adaptation"
test "Infrastructure", ->
ok $.isFunction(Context.prototype.adapt),
"Method to define behavioural adaptations exists."
test "Overriding adaptation", ->
person =
greet: -> 'hello'
... | 108956 | # [Context Traits](https://github.com/tagae/context-traits).
# Copyright © 2012—2015 UCLouvain.
module "Context Adaptation"
test "Infrastructure", ->
ok $.isFunction(Context.prototype.adapt),
"Method to define behavioural adaptations exists."
test "Overriding adaptation", ->
person =
greet: -> 'hello'
... | true | # [Context Traits](https://github.com/tagae/context-traits).
# Copyright © 2012—2015 UCLouvain.
module "Context Adaptation"
test "Infrastructure", ->
ok $.isFunction(Context.prototype.adapt),
"Method to define behavioural adaptations exists."
test "Overriding adaptation", ->
person =
greet: -> 'hello'
... |
[
{
"context": "type: 'HTTP cookie'\n },{\n key: 'AMP_TOKEN'\n provider: 'google.com'\n p",
"end": 773,
"score": 0.747933566570282,
"start": 764,
"tag": "KEY",
"value": "AMP_TOKEN"
},
{
"context": "pe: 'HTTP cookie'\n },{\n key:... | src/thirdPartyInfo/config.coffee | gerasev-kirill/angular-gdpr-storage | 0 | angular.module('storage.gdpr')
.config (storageSettingsProvider)->
GA = [
{
key: '_ga'
provider: 'google.com'
purpose: 'Used to distinguish users'
expiry: '2 years'
type: 'HTTP cookie'
},{
key: '_gid'
provider: 'go... | 62893 | angular.module('storage.gdpr')
.config (storageSettingsProvider)->
GA = [
{
key: '_ga'
provider: 'google.com'
purpose: 'Used to distinguish users'
expiry: '2 years'
type: 'HTTP cookie'
},{
key: '_gid'
provider: 'go... | true | angular.module('storage.gdpr')
.config (storageSettingsProvider)->
GA = [
{
key: '_ga'
provider: 'google.com'
purpose: 'Used to distinguish users'
expiry: '2 years'
type: 'HTTP cookie'
},{
key: '_gid'
provider: 'go... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999845027923584,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/toolbar/contextual.coffee | Ninir/hallo | 1 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# Contextual toolbar plugin
((jQuery) ->
jQuery.widget 'IKS.halloToolbarContextual',
toolbar: null
options:
parentElement: 'body'
edita... | 211375 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# Contextual toolbar plugin
((jQuery) ->
jQuery.widget 'IKS.halloToolbarContextual',
toolbar: null
options:
parentElement: 'body'
editable: nu... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# Contextual toolbar plugin
((jQuery) ->
jQuery.widget 'IKS.halloToolbarContextual',
toolbar: null
options:
parentElement: 'body'
... |
[
{
"context": "id : 99\n\n - Person, lebendig:\n name : Onkel Lukas\n id : 2\n\n ...\n %YAML 1.2\n ---\n\n",
"end": 3383,
"score": 0.9997026324272156,
"start": 3372,
"tag": "NAME",
"value": "Onkel Lukas"
},
{
"context": " 42 : Space Shuttle\", id: 99]\n ... | spec/cli-spec.coffee | ldegen/tbob | 0 | describe "The Command Line Interface", ->
{isArray} = require "util"
{Transform} = require "stream"
Promise = require "bluebird"
{WritableBulk} = require "elasticsearch-streams"
TransformToBulk = require "../src/transform-to-bulk"
TransformToMapping = require "../src/transform-to-mapping"
BulkIndexSink = ... | 985 | describe "The Command Line Interface", ->
{isArray} = require "util"
{Transform} = require "stream"
Promise = require "bluebird"
{WritableBulk} = require "elasticsearch-streams"
TransformToBulk = require "../src/transform-to-bulk"
TransformToMapping = require "../src/transform-to-mapping"
BulkIndexSink = ... | true | describe "The Command Line Interface", ->
{isArray} = require "util"
{Transform} = require "stream"
Promise = require "bluebird"
{WritableBulk} = require "elasticsearch-streams"
TransformToBulk = require "../src/transform-to-bulk"
TransformToMapping = require "../src/transform-to-mapping"
BulkIndexSink = ... |
[
{
"context": "ct\nmasterToken = null\n\nmasterLogin =\n username: 'master'\n password: 'bwgdb'\n\ninserted = []\n\ndata = requi",
"end": 186,
"score": 0.9994228482246399,
"start": 180,
"tag": "USERNAME",
"value": "master"
},
{
"context": "\n\nmasterLogin =\n username: 'master'\n ... | v1/test/datasets.coffee | lizechoo/Bromeliad-Database | 0 | chai = require 'chai'
specHelper = require './utils/specHelper'
api = specHelper.api
random = specHelper.random
expect = chai.expect
masterToken = null
masterLogin =
username: 'master'
password: 'bwgdb'
inserted = []
data = require './mocks/datasets/new.json'
noName = require './mocks/datasets/noName.json'
noCou... | 28545 | chai = require 'chai'
specHelper = require './utils/specHelper'
api = specHelper.api
random = specHelper.random
expect = chai.expect
masterToken = null
masterLogin =
username: 'master'
password: '<PASSWORD>'
inserted = []
data = require './mocks/datasets/new.json'
noName = require './mocks/datasets/noName.json'
... | true | chai = require 'chai'
specHelper = require './utils/specHelper'
api = specHelper.api
random = specHelper.random
expect = chai.expect
masterToken = null
masterLogin =
username: 'master'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
inserted = []
data = require './mocks/datasets/new.json'
noName = require './mocks/data... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993143677711487,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-stdout-flush-exit.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... | 47056 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\nbaseSize = 200\nn",
"end": 146,
"score": 0.999112606048584,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 49orbit.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
baseSize = 200
num = 17
shapes = []
shapes2 = []
for i in [0...num]
bgColor = Utils.randomColor()
petal = new Layer
size: baseSize - i... | 21419 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
baseSize = 200
num = 17
shapes = []
shapes2 = []
for i in [0...num]
bgColor = Utils.randomColor()
petal = new Layer
size: baseSize -... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
baseSize = 200
num = 17
shapes = []
shapes2 = []
for i in [0...num]
bgColor = Utils.randomColor()
petal = new Layer
si... |
[
{
"context": "('harookit-atom.harooCloudUserId')\n password: atom.config.get('harookit-atom.harooCloudUserPassword')\n sid",
"end": 2868,
"score": 0.665801465511322,
"start": 2853,
"tag": "PASSWORD",
"value": "atom.config.get"
},
{
"context": "rooCloudUserId')\n passwo... | lib/repository-view.coffee | soomtong/harookit-atom | 0 | {CompositeDisposable} = require 'atom'
{$, View} = require 'atom-space-pen-views'
Request = require 'superagent'
Notify = require 'atom-notify'
HeaderView = require './header-view'
ItemView = require './item-view'
module.exports = class RepositoryView extends View
panel: null
config: null
@content: ->
@di... | 29731 | {CompositeDisposable} = require 'atom'
{$, View} = require 'atom-space-pen-views'
Request = require 'superagent'
Notify = require 'atom-notify'
HeaderView = require './header-view'
ItemView = require './item-view'
module.exports = class RepositoryView extends View
panel: null
config: null
@content: ->
@di... | true | {CompositeDisposable} = require 'atom'
{$, View} = require 'atom-space-pen-views'
Request = require 'superagent'
Notify = require 'atom-notify'
HeaderView = require './header-view'
ItemView = require './item-view'
module.exports = class RepositoryView extends View
panel: null
config: null
@content: ->
@di... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 221,
"score": 0.9998520016670227,
"start": 204,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/math/math.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT ... | 69678 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICE... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released un... |
[
{
"context": "', encodeURIComponent(appId))\n tokenKey = \"profile_#{requestToken}_#{userId}_#{appId}\"\n cache.get(tokenKey) or agent.getAgent().g",
"end": 780,
"score": 0.9968259930610657,
"start": 737,
"tag": "KEY",
"value": "profile_#{requestToken}_#{userId}_#{appId}\""
}... | src/auth/profile.coffee | theodorick/ocelot | 13 | config = require 'config'
agent = require('../http-agent')
cache = require 'memory-cache'
log = require '../log'
context = require './context'
tokenUtil = require './token-util'
unexpectedResultTimeout = 5000
url = config.get 'authentication.profile-endpoint' if config.has 'authentication.profile-endpoint'
module.expo... | 127382 | config = require 'config'
agent = require('../http-agent')
cache = require 'memory-cache'
log = require '../log'
context = require './context'
tokenUtil = require './token-util'
unexpectedResultTimeout = 5000
url = config.get 'authentication.profile-endpoint' if config.has 'authentication.profile-endpoint'
module.expo... | true | config = require 'config'
agent = require('../http-agent')
cache = require 'memory-cache'
log = require '../log'
context = require './context'
tokenUtil = require './token-util'
unexpectedResultTimeout = 5000
url = config.get 'authentication.profile-endpoint' if config.has 'authentication.profile-endpoint'
module.expo... |
[
{
"context": "# cli-scrape\n#\n# (c) 2012 Philip Thrasher\n#\n# cli-scrape may be freely distributed under",
"end": 47,
"score": 0.9998264312744141,
"start": 32,
"tag": "NAME",
"value": "Philip Thrasher"
}
] | lib/scrape.coffee | pthrasher/cli-scrape | 4 | # cli-scrape
#
# (c) 2012 Philip Thrasher
#
# cli-scrape may be freely distributed under the MIT license.
# For all details and documentation:
#
# http://pthrasher.github.com/cli-scrape/
# Usage
# -----
#
# `scrape http://whatthecommit.com/ 'p:first-child'`
#
# `scrape http://whatthecommit.com/ '//p[0]'... | 4041 | # cli-scrape
#
# (c) 2012 <NAME>
#
# cli-scrape may be freely distributed under the MIT license.
# For all details and documentation:
#
# http://pthrasher.github.com/cli-scrape/
# Usage
# -----
#
# `scrape http://whatthecommit.com/ 'p:first-child'`
#
# `scrape http://whatthecommit.com/ '//p[0]'`
# use ... | true | # cli-scrape
#
# (c) 2012 PI:NAME:<NAME>END_PI
#
# cli-scrape may be freely distributed under the MIT license.
# For all details and documentation:
#
# http://pthrasher.github.com/cli-scrape/
# Usage
# -----
#
# `scrape http://whatthecommit.com/ 'p:first-child'`
#
# `scrape http://whatthecommit.com/ '//... |
[
{
"context": "ortfolio\",\n \"artist\": {\n \"name\": \"Ed Ruscha\"\n }\n }\n }\n }\n]\n\ndescribe 'My Acti",
"end": 944,
"score": 0.9998739957809448,
"start": 935,
"tag": "NAME",
"value": "Ed Ruscha"
}
] | src/desktop/components/my_active_bids/test/template.coffee | kanaabe/force | 1 | template = require('jade').compileFile(require.resolve '../template.jade')
cheerio = require 'cheerio'
moment = require 'moment'
{getLiveAuctionUrl} = require('../../../../utils/domain/auctions/urls')
fixture = -> [
{
"id": "56ba482e8b3b8167d7000000",
"sale_artwork": {
"id": "ed-ruscha-cockroaches-from... | 207078 | template = require('jade').compileFile(require.resolve '../template.jade')
cheerio = require 'cheerio'
moment = require 'moment'
{getLiveAuctionUrl} = require('../../../../utils/domain/auctions/urls')
fixture = -> [
{
"id": "56ba482e8b3b8167d7000000",
"sale_artwork": {
"id": "ed-ruscha-cockroaches-from... | true | template = require('jade').compileFile(require.resolve '../template.jade')
cheerio = require 'cheerio'
moment = require 'moment'
{getLiveAuctionUrl} = require('../../../../utils/domain/auctions/urls')
fixture = -> [
{
"id": "56ba482e8b3b8167d7000000",
"sale_artwork": {
"id": "ed-ruscha-cockroaches-from... |
[
{
"context": "OLSTRAP.Framework\n * @class Articles\n *\n * @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera\n###\n\nCO",
"end": 137,
"score": 0.9999001622200012,
"start": 122,
"tag": "NAME",
"value": "Abraham Barrera"
},
{
"context": " * @class Articles\n *\n * @aut... | coolstrap-core/app/assets/javascripts/coolstrap/framework/_Coolstrap.Framework.Articles.coffee | cristianferrarig/coolstrap | 0 | ###
* Initialize all <article> element in sections
*
* @namespace COOLSTRAP.Framework
* @class Articles
*
* @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
###
COOLSTRAP.Framework.Articles = ((cool) ->
SCROLLABLE_CLASS = cool.Constants.CLASS.SCROLLABLE
_initElement = (selector, callback) ->... | 187496 | ###
* Initialize all <article> element in sections
*
* @namespace COOLSTRAP.Framework
* @class Articles
*
* @author <NAME> <<EMAIL>> || @abraham_barrera
###
COOLSTRAP.Framework.Articles = ((cool) ->
SCROLLABLE_CLASS = cool.Constants.CLASS.SCROLLABLE
_initElement = (selector, callback) ->
found_elements =... | true | ###
* Initialize all <article> element in sections
*
* @namespace COOLSTRAP.Framework
* @class Articles
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
###
COOLSTRAP.Framework.Articles = ((cool) ->
SCROLLABLE_CLASS = cool.Constants.CLASS.SCROLLABLE
_initElement = (selector, call... |
[
{
"context": "the user specific checklist if successful.\n@author Nathan Klick\n@copyright QRef 2012\n###\nclass AuthorizeAndroidAi",
"end": 749,
"score": 0.9998844861984253,
"start": 737,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/aircraft/AuthorizeAndroidAircraftProductRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
crypto = require('crypto')
fs = require('fs')
https = require('https')
async = require('async')
###
Service rou... | 178610 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
crypto = require('crypto')
fs = require('fs')
https = require('https')
async = require('async')
###
Service rou... | true | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
crypto = require('crypto')
fs = require('fs')
https = require('https')
async = require('async')
###
Service rou... |
[
{
"context": "d-group\">\n <input name=\"user\" value=\"judy\" up-validate=\".field-group:has(&)\">\n <",
"end": 36438,
"score": 0.9995323419570923,
"start": 36434,
"tag": "USERNAME",
"value": "judy"
},
{
"context": "/div>\n <input name=\"user... | spec_app/spec/javascripts/up/form_spec.js.coffee | ro31337/unpoly | 3 | u = up.util
e = up.element
$ = jQuery
describe 'up.form', ->
describe 'JavaScript functions', ->
describe 'up.observe', ->
beforeEach ->
up.form.config.observeDelay = 0
# Actually we only need `input`, but we want to notice
# if another script manually triggers `change` on the eleme... | 220717 | u = up.util
e = up.element
$ = jQuery
describe 'up.form', ->
describe 'JavaScript functions', ->
describe 'up.observe', ->
beforeEach ->
up.form.config.observeDelay = 0
# Actually we only need `input`, but we want to notice
# if another script manually triggers `change` on the eleme... | true | u = up.util
e = up.element
$ = jQuery
describe 'up.form', ->
describe 'JavaScript functions', ->
describe 'up.observe', ->
beforeEach ->
up.form.config.observeDelay = 0
# Actually we only need `input`, but we want to notice
# if another script manually triggers `change` on the eleme... |
[
{
"context": "###\n@class Debouncer\n\n@author\n James E Baxley III\n NewSpring Church\n\n@version 0.3\n\n@note\n Handles",
"end": 50,
"score": 0.9998100399971008,
"start": 32,
"tag": "NAME",
"value": "James E Baxley III"
},
{
"context": "#\n@class Debouncer\n\n@author\n James E ... | vendor/framework/vendor/junction/lib/utilities/debounce.coffee | jbaxleyiii/laurencraig.com | 0 | ###
@class Debouncer
@author
James E Baxley III
NewSpring Church
@version 0.3
@note
Handles debouncing of events via requestAnimationFrame
@see http://www.html5rocks.com/en/tutorials/speed/animations/
###
class junction._debounce
constructor: (@data) ->
console.log @data
window.requestAnimatio... | 181116 | ###
@class Debouncer
@author
<NAME>
<NAME>
@version 0.3
@note
Handles debouncing of events via requestAnimationFrame
@see http://www.html5rocks.com/en/tutorials/speed/animations/
###
class junction._debounce
constructor: (@data) ->
console.log @data
window.requestAnimationFrame = window.reques... | true | ###
@class Debouncer
@author
PI:NAME:<NAME>END_PI
PI:NAME:<NAME>END_PI
@version 0.3
@note
Handles debouncing of events via requestAnimationFrame
@see http://www.html5rocks.com/en/tutorials/speed/animations/
###
class junction._debounce
constructor: (@data) ->
console.log @data
window.requestAn... |
[
{
"context": "alue\n $input\n\n\n\n\n # JavaScript templating by John Resig's\n $.attachinary.Templating =\n settings:\n ",
"end": 5883,
"score": 0.9925541877746582,
"start": 5871,
"tag": "NAME",
"value": "John Resig's"
}
] | lib/assets/javascripts/attachinary.js.coffee | jfeust/attachinary | 0 | (($) ->
$.attachinary =
index: 0
config:
disableWith: 'Uploading...'
indicateProgress: true
invalidFormatMessage: 'Invalid file format'
template: """
<ul>
<% for(var i=0; i<files.length; i++){ %>
<li>
<% if(files[i].resource_type == "raw") {... | 187739 | (($) ->
$.attachinary =
index: 0
config:
disableWith: 'Uploading...'
indicateProgress: true
invalidFormatMessage: 'Invalid file format'
template: """
<ul>
<% for(var i=0; i<files.length; i++){ %>
<li>
<% if(files[i].resource_type == "raw") {... | true | (($) ->
$.attachinary =
index: 0
config:
disableWith: 'Uploading...'
indicateProgress: true
invalidFormatMessage: 'Invalid file format'
template: """
<ul>
<% for(var i=0; i<files.length; i++){ %>
<li>
<% if(files[i].resource_type == "raw") {... |
[
{
"context": "(options) ->\n super options\n\n @required = ['firstName', 'lastName', 'email', 'hash']\n @public = _.wi",
"end": 184,
"score": 0.993963360786438,
"start": 175,
"tag": "NAME",
"value": "firstName"
},
{
"context": " super options\n\n @required = ['firstNam... | models/user.coffee | t3mpus/tempus-api | 3 | BaseModel = require './base'
_ = require 'underscore'
bcrypt = require 'bcrypt'
class User extends BaseModel
constructor: (options) ->
super options
@required = ['firstName', 'lastName', 'email', 'hash']
@public = _.without @required, 'hash', 'required', 'public'
if @password
@makeCredentials... | 49866 | BaseModel = require './base'
_ = require 'underscore'
bcrypt = require 'bcrypt'
class User extends BaseModel
constructor: (options) ->
super options
@required = ['<NAME>', '<NAME>', 'email', 'hash']
@public = _.without @required, 'hash', 'required', 'public'
if @password
@makeCredentials @pas... | true | BaseModel = require './base'
_ = require 'underscore'
bcrypt = require 'bcrypt'
class User extends BaseModel
constructor: (options) ->
super options
@required = ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'email', 'hash']
@public = _.without @required, 'hash', 'required', 'public'
if @password... |
[
{
"context": "redentials = @getProperties(\"email\", \"password\", \"remember_me\")\n @auth.signInPromise(credentials)\n ",
"end": 791,
"score": 0.9940136075019836,
"start": 780,
"tag": "PASSWORD",
"value": "remember_me"
}
] | app/assets/javascripts/controllers/sign_in_controller.js.coffee | kiddsoftware/srscollector | 1 | # I need to factor this out and starting thinking about "form" controllers
# with edit a model, provide validations, and support AsyncMixin.
SrsCollector.SignInController = Ember.Controller.extend SrsCollector.AsyncMixin,
email: null
password: null
remember_me: false
isValid: (->
email = @get("email")
... | 79824 | # I need to factor this out and starting thinking about "form" controllers
# with edit a model, provide validations, and support AsyncMixin.
SrsCollector.SignInController = Ember.Controller.extend SrsCollector.AsyncMixin,
email: null
password: null
remember_me: false
isValid: (->
email = @get("email")
... | true | # I need to factor this out and starting thinking about "form" controllers
# with edit a model, provide validations, and support AsyncMixin.
SrsCollector.SignInController = Ember.Controller.extend SrsCollector.AsyncMixin,
email: null
password: null
remember_me: false
isValid: (->
email = @get("email")
... |
[
{
"context": " provides refresh service.\n * @function\n * @author İsmail Demirbilek\n###\nangular.module 'esef.frontend.refresh', []",
"end": 189,
"score": 0.9998904466629028,
"start": 172,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | src/refresh/coffee/app.coffee | egemsoft/esef-frontend | 0 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.refresh
* @description
* Refresh module for esef-frontend, provides refresh service.
* @function
* @author İsmail Demirbilek
###
angular.module 'esef.frontend.refresh', [] | 77216 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.refresh
* @description
* Refresh module for esef-frontend, provides refresh service.
* @function
* @author <NAME>
###
angular.module 'esef.frontend.refresh', [] | true | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.refresh
* @description
* Refresh module for esef-frontend, provides refresh service.
* @function
* @author PI:NAME:<NAME>END_PI
###
angular.module 'esef.frontend.refresh', [] |
[
{
"context": " key = \"#{@props.dataKey}[#{@state.baseIndex+index}]\"\n `(\n <Field\n key={key}\n ",
"end": 3427,
"score": 0.5991167426109314,
"start": 3427,
"tag": "KEY",
"value": ""
}
] | src/controls/NestedFieldGroup.coffee | vedantchoubey098/react-form-builder | 44 | React = require('react')
ReactBootstrap = require('react-bootstrap')
Field = require('./NestedFieldGroup/Field')
DisableOnSubmitMixin = require './mixins/DisableOnSubmit'
StandardErrorDisplayMixin = require './mixins/StandardErrorDisplay'
map = require("lodash/map")
clone = require("lodash/clone")
NestedFieldGroup = R... | 209504 | React = require('react')
ReactBootstrap = require('react-bootstrap')
Field = require('./NestedFieldGroup/Field')
DisableOnSubmitMixin = require './mixins/DisableOnSubmit'
StandardErrorDisplayMixin = require './mixins/StandardErrorDisplay'
map = require("lodash/map")
clone = require("lodash/clone")
NestedFieldGroup = R... | true | React = require('react')
ReactBootstrap = require('react-bootstrap')
Field = require('./NestedFieldGroup/Field')
DisableOnSubmitMixin = require './mixins/DisableOnSubmit'
StandardErrorDisplayMixin = require './mixins/StandardErrorDisplay'
map = require("lodash/map")
clone = require("lodash/clone")
NestedFieldGroup = R... |
[
{
"context": ") 2013-2014 TheGrid (Rituwall Inc.)\n# (c) 2013 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 124,
"score": 0.9998491406440735,
"start": 111,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "Grid (Rituwall Inc.)\n# (c) 2013 He... | src/lib/nodejs/ComponentLoader.coffee | jonnor/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# This is the Node.js version of the ComponentLoader.
reader = require 'read-installed'
{_} = require 'underscore'
path = re... | 142344 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# This is the Node.js version of the ComponentLoader.
reader = require 'read-installed'
{_} = require 'underscore'
path = require '... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# This is the Node.js version of the ComponentLoader.
reader = require 'read-installed'
{_} = require '... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998016357421875,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/_http_server.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... | 197492 | # 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 Sudoku = require(\"sudoku\")\n storageKey = \"cb-#{App.user.username}-#{@model.id}\"\n @puzzle = new",
"end": 552,
"score": 0.8409337401390076,
"start": 547,
"tag": "KEY",
"value": "cb-#{"
},
{
"context": "\"sudoku\")\n storageKey = \"cb-#{App.user.userna... | assets/javascripts/views/hacking/puzzle.coffee | woochi/cyberia | 0 | Marionette = require("marionette")
ValuePicker = require("./value_picker.coffee")
class Puzzle extends Marionette.ItemView
@CLOCK_INTERVAL: 1000
template: require("../../templates/hacking/puzzle.jade")
id: "puzzle"
ui:
table: ".puzzle-table"
clockValue: ".clock-value"
disconnect: ".disconnect"
ev... | 126466 | Marionette = require("marionette")
ValuePicker = require("./value_picker.coffee")
class Puzzle extends Marionette.ItemView
@CLOCK_INTERVAL: 1000
template: require("../../templates/hacking/puzzle.jade")
id: "puzzle"
ui:
table: ".puzzle-table"
clockValue: ".clock-value"
disconnect: ".disconnect"
ev... | true | Marionette = require("marionette")
ValuePicker = require("./value_picker.coffee")
class Puzzle extends Marionette.ItemView
@CLOCK_INTERVAL: 1000
template: require("../../templates/hacking/puzzle.jade")
id: "puzzle"
ui:
table: ".puzzle-table"
clockValue: ".clock-value"
disconnect: ".disconnect"
ev... |
[
{
"context": "e `Element` unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\ndescribe 'El",
"end": 74,
"score": 0.9998869895935059,
"start": 57,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/element_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `Element` unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
describe 'Element', ->
$ = window = document = Element = MyElement = Table = null
before Test.load (dom, win)->
$ = dom
window = win
document = win.document
Element = $.Element
... | 45542 | #
# The `Element` unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
describe 'Element', ->
$ = window = document = Element = MyElement = Table = null
before Test.load (dom, win)->
$ = dom
window = win
document = win.document
Element = $.Element
describ... | true | #
# The `Element` unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
describe 'Element', ->
$ = window = document = Element = MyElement = Table = null
before Test.load (dom, win)->
$ = dom
window = win
document = win.document
Element = $.Eleme... |
[
{
"context": "AAECAYAAAC6Jt6KAAAAOElEQVQImZXNIREAIBREwfUgMBg8NahAAyT9IyD4AeDMMztz0N01rChUzCgUDMgfuIiHZwz7A6cDSCsFyi2rN64AAAAASUVORK5CYII=\"\n\nptrn = null\npattern.onload = ->\n ptrn = ctx.cre",
"end": 5609,
"score": 0.9978736042976379,
"start": 5535,
"tag": "KEY",
"value": "AAyT9IyD4AeDMMz... | lib/deathmatch.coffee | dhotson/deathmatch | 1 | name = localStorage['name'] || (localStorage['name'] = prompt("Enter name"))
canvas = document.getElementById 'canvas'
# window.addEventListener 'resize', ->
# canvas.width = document.width
# canvas.height = document.height
# canvas.width = 800 # document.width
# canvas.height = 600 # document.height
ctx = canv... | 43991 | name = localStorage['name'] || (localStorage['name'] = prompt("Enter name"))
canvas = document.getElementById 'canvas'
# window.addEventListener 'resize', ->
# canvas.width = document.width
# canvas.height = document.height
# canvas.width = 800 # document.width
# canvas.height = 600 # document.height
ctx = canv... | true | name = localStorage['name'] || (localStorage['name'] = prompt("Enter name"))
canvas = document.getElementById 'canvas'
# window.addEventListener 'resize', ->
# canvas.width = document.width
# canvas.height = document.height
# canvas.width = 800 # document.width
# canvas.height = 600 # document.height
ctx = canv... |
[
{
"context": "for the registry'\nprogram.option '-P, --password <password>', 'password for the component'\nprogram.option '-",
"end": 552,
"score": 0.6348902583122253,
"start": 544,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ar --jid registry.yourcompany.com\n --pas... | src/ekster.coffee | TNO-IoT/ekster | 3 | #!/usr/bin/env coffee
# XMPP connector for the IoT registry.
program = require 'commander'
pson = require '../package.json'
shortId = require 'shortid'
ltx = require('node-xmpp-core').ltx
Component = require 'node-xmpp-component'
Processor = require './processor.coffee'
{JID} = require 'node-xmpp-core'
Backend = req... | 50974 | #!/usr/bin/env coffee
# XMPP connector for the IoT registry.
program = require 'commander'
pson = require '../package.json'
shortId = require 'shortid'
ltx = require('node-xmpp-core').ltx
Component = require 'node-xmpp-component'
Processor = require './processor.coffee'
{JID} = require 'node-xmpp-core'
Backend = req... | true | #!/usr/bin/env coffee
# XMPP connector for the IoT registry.
program = require 'commander'
pson = require '../package.json'
shortId = require 'shortid'
ltx = require('node-xmpp-core').ltx
Component = require 'node-xmpp-component'
Processor = require './processor.coffee'
{JID} = require 'node-xmpp-core'
Backend = req... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9980295300483704,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-https-connecting-to-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... | 75124 | # 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": "().count() is 0\n Customers.insert\n name: 'Mathilde Charpentier'\n subscription: new Date\n verified: tru",
"end": 2061,
"score": 0.9998765587806702,
"start": 2041,
"tag": "NAME",
"value": "Mathilde Charpentier"
},
{
"context": " ]\n socialR... | app/index.coffee | PEM--/pdfrenderer | 5 | # In this sub-SimpleSchema, some content are set as 'pdf: true'
# for automatic rendering.
@SocialReferencesSchema = new SimpleSchema
twitter:
type: String
label: 'Twitter'
pdf: true
facebook:
type: String
label: 'Facebook'
pdf: true
# Another sub-SimpleSchema for checking the cases of Arra... | 133826 | # In this sub-SimpleSchema, some content are set as 'pdf: true'
# for automatic rendering.
@SocialReferencesSchema = new SimpleSchema
twitter:
type: String
label: 'Twitter'
pdf: true
facebook:
type: String
label: 'Facebook'
pdf: true
# Another sub-SimpleSchema for checking the cases of Arra... | true | # In this sub-SimpleSchema, some content are set as 'pdf: true'
# for automatic rendering.
@SocialReferencesSchema = new SimpleSchema
twitter:
type: String
label: 'Twitter'
pdf: true
facebook:
type: String
label: 'Facebook'
pdf: true
# Another sub-SimpleSchema for checking the cases of Arra... |
[
{
"context": "# Copyright 2015 Clement Bramy\n#\n# Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998586773872375,
"start": 17,
"tag": "NAME",
"value": "Clement Bramy"
}
] | lib/snippy.coffee | cbramy/snippy | 0 | # Copyright 2015 Clement Bramy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 217888 | # Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
... | true | # Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... |
[
{
"context": "st = @session.merge @Post.create(id: \"1\", title: 'twerkin', submitted: false)\n post.title = 'update1'\n ",
"end": 662,
"score": 0.9604270458221436,
"start": 655,
"tag": "NAME",
"value": "twerkin"
},
{
"context": "st = @session.merge @Post.create(id: \"1\", title:... | test/rest/rest.concurrent.coffee | travisperson/coalesce | 18 | `import Context from 'coalesce/rest/context'`
`import {post} from '../support/configs'`
`import {delay} from '../support/async'`
respond = (xhr, error, status=422) ->
xhr.respond status, { "Content-Type": "application/json" }, JSON.stringify(error)
describe "rest concurrent flushes", ->
lazy 'context', -> new... | 188894 | `import Context from 'coalesce/rest/context'`
`import {post} from '../support/configs'`
`import {delay} from '../support/async'`
respond = (xhr, error, status=422) ->
xhr.respond status, { "Content-Type": "application/json" }, JSON.stringify(error)
describe "rest concurrent flushes", ->
lazy 'context', -> new... | true | `import Context from 'coalesce/rest/context'`
`import {post} from '../support/configs'`
`import {delay} from '../support/async'`
respond = (xhr, error, status=422) ->
xhr.respond status, { "Content-Type": "application/json" }, JSON.stringify(error)
describe "rest concurrent flushes", ->
lazy 'context', -> new... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998778104782104,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Packs/Search.coffee | DiaxManPl/DEmojiJS | 0 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class SearchPacks
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://emoji.gg/api... | 95792 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class SearchPacks
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://emoji.gg/api/pac... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class SearchPacks
constructor: (ID, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactA... |
[
{
"context": "irtual/config'\n auth:\n username: 'team-uuid'\n password: 'team-token'\n json:\n ",
"end": 1540,
"score": 0.9982203841209412,
"start": 1531,
"tag": "USERNAME",
"value": "team-uuid"
},
{
"context": " username: 'team-uuid'\n ... | test/integration/virtual-gateblu-config-spec.coffee | octoblu/gateblu-shadow-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'Virtual Gateblu config event', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@server = new Server
port: undefined,
disableLogging: true
shadowServiceUr... | 19862 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'Virtual Gateblu config event', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@server = new Server
port: undefined,
disableLogging: true
shadowServiceUr... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'Virtual Gateblu config event', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
@server = new Server
port: undefined,
disableLogging: true
shadowServiceUr... |
[
{
"context": "# Copyright 2013 Craig Campbell\n# coffeescript port by Davide Della Casa\n# \n# Lic",
"end": 31,
"score": 0.9998738765716553,
"start": 17,
"tag": "NAME",
"value": "Craig Campbell"
},
{
"context": "pyright 2013 Craig Campbell\n# coffeescript port by Davide Della Casa\n#... | auxiliary files/Mousetrap/Mousetrap.coffee | intensifier/Fizzygum | 110 | # Copyright 2013 Craig Campbell
# coffeescript port by Davide Della Casa
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 198444 | # Copyright 2013 <NAME>
# coffeescript port by <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | true | # Copyright 2013 PI:NAME:<NAME>END_PI
# coffeescript port by PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless ... |
[
{
"context": "l\n posts.transformTo Post\n\n posts.insert name: 'test'\n post = posts.findOne()\n\n test.isTrue post ins",
"end": 185,
"score": 0.8343276381492615,
"start": 181,
"tag": "NAME",
"value": "test"
}
] | transformto-tests.coffee | maxnowack/transformto | 0 | class Post
constructor: (doc) ->
_.extend this, doc
Tinytest.add 'transformTo', (test) ->
posts = new Mongo.Collection null
posts.transformTo Post
posts.insert name: 'test'
post = posts.findOne()
test.isTrue post instanceof Post
| 139129 | class Post
constructor: (doc) ->
_.extend this, doc
Tinytest.add 'transformTo', (test) ->
posts = new Mongo.Collection null
posts.transformTo Post
posts.insert name: '<NAME>'
post = posts.findOne()
test.isTrue post instanceof Post
| true | class Post
constructor: (doc) ->
_.extend this, doc
Tinytest.add 'transformTo', (test) ->
posts = new Mongo.Collection null
posts.transformTo Post
posts.insert name: 'PI:NAME:<NAME>END_PI'
post = posts.findOne()
test.isTrue post instanceof Post
|
[
{
"context": "it \"gets all plans\", (done) ->\n planToken = \"testPlan#{specHelper.randomId()}\"\n attributes =\n ",
"end": 175,
"score": 0.7583324313163757,
"start": 165,
"tag": "KEY",
"value": "testPlan#{"
}
] | spec/integration/braintree/plan_gateway_spec.coffee | StreamCo/braintree_node | 0 | require('../../spec_helper')
_ = require('underscore')._
describe "PlanGateway", ->
describe "self.all", ->
it "gets all plans", (done) ->
planToken = "testPlan#{specHelper.randomId()}"
attributes =
id: planToken
billingDayOfMonth: 1
billingFrequency: 1
currencyIsoCode... | 20074 | require('../../spec_helper')
_ = require('underscore')._
describe "PlanGateway", ->
describe "self.all", ->
it "gets all plans", (done) ->
planToken = "<KEY>specHelper.randomId()}"
attributes =
id: planToken
billingDayOfMonth: 1
billingFrequency: 1
currencyIsoCode: "US... | true | require('../../spec_helper')
_ = require('underscore')._
describe "PlanGateway", ->
describe "self.all", ->
it "gets all plans", (done) ->
planToken = "PI:KEY:<KEY>END_PIspecHelper.randomId()}"
attributes =
id: planToken
billingDayOfMonth: 1
billingFrequency: 1
currenc... |
[
{
"context": "###\nCC API JS Helper\n\nCopyright (c) 2015 Scott Yang\n\nDependencies:\nCC Core (cc.core.js)\njQuery (Ver 1",
"end": 51,
"score": 0.9996181130409241,
"start": 41,
"tag": "NAME",
"value": "Scott Yang"
}
] | public/core/js/cc.prompt.coffee | yisyang/loves_money | 1 | ###
CC API JS Helper
Copyright (c) 2015 Scott Yang
Dependencies:
CC Core (cc.core.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
class rjDialog
###
Show alert
@param params JSON options
header Header text
content Body html
Example:
CC = new CarCrashSingletonCl... | 3968 | ###
CC API JS Helper
Copyright (c) 2015 <NAME>
Dependencies:
CC Core (cc.core.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
class rjDialog
###
Show alert
@param params JSON options
header Header text
content Body html
Example:
CC = new CarCrashSingletonClass(... | true | ###
CC API JS Helper
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Dependencies:
CC Core (cc.core.js)
jQuery (Ver 1.11+)
Q (Ver 1.x)
###
((global) ->
"use strict"
class rjDialog
###
Show alert
@param params JSON options
header Header text
content Body html
Example:
CC = new CarCrashS... |
[
{
"context": "qualImmutable Immutable.fromJS {\n pinyin: 'ceshi'\n pinyins: ['ceshi']\n py: 'cs'\n ",
"end": 270,
"score": 0.797442615032196,
"start": 265,
"tag": "NAME",
"value": "ceshi"
},
{
"context": "S {\n pinyin: 'ceshi'\n pinyins: ['ceshi'... | talk-web/test/spec/util/pinyin.spec.coffee | ikingye/talk-os | 3,084 | Immutable = require 'immutable'
describe 'util: search', ->
beforeEach ->
@pinyin = require 'util/pinyin'
describe 'function: make', ->
it 'should make pinyin', ->
expect(@pinyin.make('测试')).toEqualImmutable Immutable.fromJS {
pinyin: 'ceshi'
pinyins: ['ceshi']
py: 'cs'
... | 179752 | Immutable = require 'immutable'
describe 'util: search', ->
beforeEach ->
@pinyin = require 'util/pinyin'
describe 'function: make', ->
it 'should make pinyin', ->
expect(@pinyin.make('测试')).toEqualImmutable Immutable.fromJS {
pinyin: '<NAME>'
pinyins: ['ces<NAME>']
py: 'cs'... | true | Immutable = require 'immutable'
describe 'util: search', ->
beforeEach ->
@pinyin = require 'util/pinyin'
describe 'function: make', ->
it 'should make pinyin', ->
expect(@pinyin.make('测试')).toEqualImmutable Immutable.fromJS {
pinyin: 'PI:NAME:<NAME>END_PI'
pinyins: ['cesPI:NAME:<NA... |
[
{
"context": "###\n# grunt/rev.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our rev",
"end": 45,
"score": 0.9997313022613525,
"start": 34,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/rev.coffee | dlnichols/h_media | 0 | ###
# grunt/rev.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our rev configuration block for grunt
###
'use strict'
module.exports =
# Renames files for browser caching purposes
files:
src: [ 'dist/public/{scripts,styles,images,fonts}/**/*.*' ]
| 134923 | ###
# grunt/rev.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our rev configuration block for grunt
###
'use strict'
module.exports =
# Renames files for browser caching purposes
files:
src: [ 'dist/public/{scripts,styles,images,fonts}/**/*.*' ]
| true | ###
# grunt/rev.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our rev configuration block for grunt
###
'use strict'
module.exports =
# Renames files for browser caching purposes
files:
src: [ 'dist/public/{scripts,styles,images,fonts}/**/*.*' ]
|
[
{
"context": " @bindToController = yes\n @scope =\n key: '@'\n message: '='\n\nMessageItemDirective.factory",
"end": 292,
"score": 0.7384270429611206,
"start": 290,
"tag": "KEY",
"value": "'@"
}
] | src/client/chat/message/item/message-item-directive.coffee | DavidSouther/song-flux-chat | 1 | class MessageItemController
constructor: ()->
MessageItemController.$inject = [
]
class MessageItemDirective
constructor: ->
@templateUrl = 'chat/message/item'
@controller = MessageItemController
@controllerAs = 'state'
@bindToController = yes
@scope =
key: '@'
message: '='
Messag... | 64648 | class MessageItemController
constructor: ()->
MessageItemController.$inject = [
]
class MessageItemDirective
constructor: ->
@templateUrl = 'chat/message/item'
@controller = MessageItemController
@controllerAs = 'state'
@bindToController = yes
@scope =
key: <KEY>'
message: '='
Mes... | true | class MessageItemController
constructor: ()->
MessageItemController.$inject = [
]
class MessageItemDirective
constructor: ->
@templateUrl = 'chat/message/item'
@controller = MessageItemController
@controllerAs = 'state'
@bindToController = yes
@scope =
key: PI:KEY:<KEY>END_PI'
mess... |
[
{
"context": ".render to get client side.\nOracle =\n summoner: Mithril #the Greater Power\n name: 'Mithril' # his ",
"end": 263,
"score": 0.8636419773101807,
"start": 256,
"tag": "NAME",
"value": "Mithril"
},
{
"context": " summoner: Mithril #the Greater Power\n name: ... | src/halvalla-mithril.coffee | jahbini/chalice | 0 | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: Mithril #the Greater Power
name: 'Mithril' # his name
... | 72359 | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: <NAME> #the Greater Power
name: '<NAME>' # his name
... | true | #
Mithril=require 'mithril'
#
# Halvalla.render defaults to HTML via internal teacup rendering engine
# which is smart enough to recognize mithril's quirks
# use Halvalla.render to get server-side, Mithril.render to get client side.
Oracle =
summoner: PI:NAME:<NAME>END_PI #the Greater Power
name: 'PI:NAME:<NAM... |
[
{
"context": "\"LoginRateLimiter\", ->\n\tbeforeEach ->\n\t\t@email = \"bob@bob.com\"\n\t\t@incrStub = sinon.stub()\n\t\t@getStub = sinon.st",
"end": 316,
"score": 0.999912440776825,
"start": 305,
"tag": "EMAIL",
"value": "bob@bob.com"
}
] | test/UnitTests/coffee/Security/LoginRateLimiter.coffee | ukasiu/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
buildKey = (k)->
return "LoginRateLimit:#{k}"
describe "LoginRateLimiter", ->
beforeEach ->
@email = "bob@bob.com"
... | 65612 | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
buildKey = (k)->
return "LoginRateLimit:#{k}"
describe "LoginRateLimiter", ->
beforeEach ->
@email = "<EMAIL>"
@inc... | true | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
buildKey = (k)->
return "LoginRateLimit:#{k}"
describe "LoginRateLimiter", ->
beforeEach ->
@email = "PI:EMAIL:<EMAIL... |
[
{
"context": "h\n app:\n name: \"Cyberia\"\n sessionKey: \"cyberia.sid\"\n sessionSecret: \"v4R7ZbCs26AdNa1z8D3H\"\n\n pro",
"end": 232,
"score": 0.9980344772338867,
"start": 221,
"tag": "KEY",
"value": "cyberia.sid"
},
{
"context": " sessionKey: \"cyberia.sid\"\n ... | config/config.coffee | woochi/cyberia | 0 | path = require("path")
rootPath = path.normalize(__dirname + "/..")
module.exports =
development:
port: 3000
db: "mongodb://localhost/cyberia"
root: rootPath
app:
name: "Cyberia"
sessionKey: "cyberia.sid"
sessionSecret: "v4R7ZbCs26AdNa1z8D3H"
production:
port: 8003
db: "mongo... | 41378 | path = require("path")
rootPath = path.normalize(__dirname + "/..")
module.exports =
development:
port: 3000
db: "mongodb://localhost/cyberia"
root: rootPath
app:
name: "Cyberia"
sessionKey: "<KEY>"
sessionSecret: "<KEY>"
production:
port: 8003
db: "mongodb://localhost/cyberi... | true | path = require("path")
rootPath = path.normalize(__dirname + "/..")
module.exports =
development:
port: 3000
db: "mongodb://localhost/cyberia"
root: rootPath
app:
name: "Cyberia"
sessionKey: "PI:KEY:<KEY>END_PI"
sessionSecret: "PI:KEY:<KEY>END_PI"
production:
port: 8003
db: "... |
[
{
"context": "ing tags for components without children\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 107,
"score": 0.9998205304145813,
"start": 90,
"tag": "NAME",
"value": "Yannick Croissant"
},
{
"context": "e,\n valid: [\n code: 'He... | src/tests/rules/self-closing-comp.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent extra closing tags for components without children
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '... | 155816 | ###*
# @fileoverview Prevent extra closing tags for components without children
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plug... | true | ###*
# @fileoverview Prevent extra closing tags for components without children
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = requir... |
[
{
"context": " =\n globalconfig: exports.globalconfig\n email: \"i@izs.me\"\n \"env-thing\": \"asdf\"\n \"init.author.name\": \"Isa",
"end": 482,
"score": 0.9999232888221741,
"start": 474,
"tag": "EMAIL",
"value": "i@izs.me"
},
{
"context": ".me\"\n \"env-thing\": \"asdf\"\n \"... | deps/npm/test/tap/00-config-setup.coffee | lxe/io.coffee | 0 | path = require("path")
userconfigSrc = path.resolve(__dirname, "..", "fixtures", "config", "userconfig")
exports.userconfig = userconfigSrc + "-with-gc"
exports.globalconfig = path.resolve(__dirname, "..", "fixtures", "config", "globalconfig")
exports.builtin = path.resolve(__dirname, "..", "fixtures", "config", "built... | 70747 | path = require("path")
userconfigSrc = path.resolve(__dirname, "..", "fixtures", "config", "userconfig")
exports.userconfig = userconfigSrc + "-with-gc"
exports.globalconfig = path.resolve(__dirname, "..", "fixtures", "config", "globalconfig")
exports.builtin = path.resolve(__dirname, "..", "fixtures", "config", "built... | true | path = require("path")
userconfigSrc = path.resolve(__dirname, "..", "fixtures", "config", "userconfig")
exports.userconfig = userconfigSrc + "-with-gc"
exports.globalconfig = path.resolve(__dirname, "..", "fixtures", "config", "globalconfig")
exports.builtin = path.resolve(__dirname, "..", "fixtures", "config", "built... |
[
{
"context": " 'shell'\n\nGITHUB_LOGIN_LINK = \"https://github.com/EEnginE/atox/blob/master/LoginInfo.md\"\n\nmodule.exports =\n",
"end": 128,
"score": 0.9996787309646606,
"start": 121,
"tag": "USERNAME",
"value": "EEnginE"
},
{
"context": " TextEditorView 'mini': true, 'placeholderT... | lib/GUI/atox-GitHubLogin.coffee | mensinda/atox | 5 | {View, TextEditorView} = require 'atom-space-pen-views'
shell = require 'shell'
GITHUB_LOGIN_LINK = "https://github.com/EEnginE/atox/blob/master/LoginInfo.md"
module.exports =
class GitHubLogin extends View
@content: ->
@div class: 'aTox-Form1-root', =>
@div outlet: 'working', class: 'loading loading-spin... | 87141 | {View, TextEditorView} = require 'atom-space-pen-views'
shell = require 'shell'
GITHUB_LOGIN_LINK = "https://github.com/EEnginE/atox/blob/master/LoginInfo.md"
module.exports =
class GitHubLogin extends View
@content: ->
@div class: 'aTox-Form1-root', =>
@div outlet: 'working', class: 'loading loading-spin... | true | {View, TextEditorView} = require 'atom-space-pen-views'
shell = require 'shell'
GITHUB_LOGIN_LINK = "https://github.com/EEnginE/atox/blob/master/LoginInfo.md"
module.exports =
class GitHubLogin extends View
@content: ->
@div class: 'aTox-Form1-root', =>
@div outlet: 'working', class: 'loading loading-spin... |
[
{
"context": "count in the CMS secret informations\n confKey = \"MANDRILL_#{conf.key.toUpperCase()}\"\n orion.config.add confKe",
"end": 539,
"score": 0.9988346695899963,
"start": 528,
"tag": "KEY",
"value": "MANDRILL_#{"
},
{
"context": "cret informations\n confKey = \"MANDRILL_#... | app/165_emails/emails.coffee | PEM--/asv-la-soiree | 1 | MANDRILL_CONFS = [
{
key: 'smtp_username', type: String
label: 'Email du détenteur du compte'
}
{
key: 'api_key', type: String
label: 'Identifiant de l\'application'
}
{
key: 'template_slug', type: String
label: 'Slug du template d\'email'
}
]
# Create configuration for Mandrill (av... | 126247 | MANDRILL_CONFS = [
{
key: 'smtp_username', type: String
label: 'Email du détenteur du compte'
}
{
key: 'api_key', type: String
label: 'Identifiant de l\'application'
}
{
key: 'template_slug', type: String
label: 'Slug du template d\'email'
}
]
# Create configuration for Mandrill (av... | true | MANDRILL_CONFS = [
{
key: 'smtp_username', type: String
label: 'Email du détenteur du compte'
}
{
key: 'api_key', type: String
label: 'Identifiant de l\'application'
}
{
key: 'template_slug', type: String
label: 'Slug du template d\'email'
}
]
# Create configuration for Mandrill (av... |
[
{
"context": " cookie:\n maxAge: 2000 # ms\n name: 'don'\n value: '456'\n , (err, ok) ->\n asse",
"end": 464,
"score": 0.989934504032135,
"start": 461,
"tag": "NAME",
"value": "don"
},
{
"context": "e:\n maxAge: 2000 # ms\n name: 'don'\n... | BBS/node_modules/session-mongoose/test/direct.coffee | zhs077/BBS | 2 | describe "session-mongoose direct", ->
assert = require('assert')
should = require('should')
SessionStore = require('..')(require('connect'))
store = undefined
store = new SessionStore
url: "mongodb://localhost/session-mongoose-test"
interval: 1000 # ms
reset = ->
store.clear()
it "should r... | 221977 | describe "session-mongoose direct", ->
assert = require('assert')
should = require('should')
SessionStore = require('..')(require('connect'))
store = undefined
store = new SessionStore
url: "mongodb://localhost/session-mongoose-test"
interval: 1000 # ms
reset = ->
store.clear()
it "should r... | true | describe "session-mongoose direct", ->
assert = require('assert')
should = require('should')
SessionStore = require('..')(require('connect'))
store = undefined
store = new SessionStore
url: "mongodb://localhost/session-mongoose-test"
interval: 1000 # ms
reset = ->
store.clear()
it "should r... |
[
{
"context": "on_key={\"#{@state.taskKey}.#{@getCurrentSubject().id}\"}\n task={@getCurrentTask()}\n ",
"end": 5484,
"score": 0.5716140270233154,
"start": 5481,
"tag": "KEY",
"value": "id}"
}
] | app/assets/javascripts/components/transcribe/index.cjsx | johnscancella/scribeAPI | 0 |
# @cjsx React.DOM
React = require 'react'
{Navigation} = require 'react-router'
SubjectViewer = require '../subject-viewer'
ZoomPanListenerMethods = require 'lib/zoom-pan-listener-methods'
ZoomToolbar = require '../zoom-toolbar'
JSONAPIClient = require 'jso... | 56563 |
# @cjsx React.DOM
React = require 'react'
{Navigation} = require 'react-router'
SubjectViewer = require '../subject-viewer'
ZoomPanListenerMethods = require 'lib/zoom-pan-listener-methods'
ZoomToolbar = require '../zoom-toolbar'
JSONAPIClient = require 'jso... | true |
# @cjsx React.DOM
React = require 'react'
{Navigation} = require 'react-router'
SubjectViewer = require '../subject-viewer'
ZoomPanListenerMethods = require 'lib/zoom-pan-listener-methods'
ZoomToolbar = require '../zoom-toolbar'
JSONAPIClient = require 'jso... |
[
{
"context": " lastnames.should.eql [\n 'jones'\n 'karlsson'\n 'smit",
"end": 599,
"score": 0.996782660484314,
"start": 594,
"tag": "NAME",
"value": "jones"
},
{
"context": "ld.eql [\n 'jones'\n 'karl... | test/index.coffee | debrouwere/gather | 0 | _ = require 'underscore'
fs = require 'fs'
async = require 'async'
{exec} = require 'child_process'
should = require 'should'
gather = require '../src'
describe 'programmatic interface', ->
it 'can merge objects', (done) ->
gather 'examples/staff/{lastname}.json', (err, data) ->
data.length.sho... | 195614 | _ = require 'underscore'
fs = require 'fs'
async = require 'async'
{exec} = require 'child_process'
should = require 'should'
gather = require '../src'
describe 'programmatic interface', ->
it 'can merge objects', (done) ->
gather 'examples/staff/{lastname}.json', (err, data) ->
data.length.sho... | true | _ = require 'underscore'
fs = require 'fs'
async = require 'async'
{exec} = require 'child_process'
should = require 'should'
gather = require '../src'
describe 'programmatic interface', ->
it 'can merge objects', (done) ->
gather 'examples/staff/{lastname}.json', (err, data) ->
data.length.sho... |
[
{
"context": " loginView.emailEditor.getEditor().setText 'foobarbaz'\n loginView.passwordEditor.originalText = ' ",
"end": 2722,
"score": 0.649463951587677,
"start": 2715,
"tag": "PASSWORD",
"value": "obarbaz"
},
{
"context": "\n loginView.emailEditor.getEditor().setTex... | spec/views/login-view-spec.coffee | lukehoban/spark-dev | 1 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Login View', ->
activationPromise = null
sparkIde = null
loginView = null
originalProfile = null
beforeEach ->... | 67718 | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Login View', ->
activationPromise = null
sparkIde = null
loginView = null
originalProfile = null
beforeEach ->... | true | {WorkspaceView} = require 'atom'
$ = require('atom').$
SettingsHelper = require '../../lib/utils/settings-helper'
SparkStub = require('spark-dev-spec-stubs').spark
spark = require 'spark'
describe 'Login View', ->
activationPromise = null
sparkIde = null
loginView = null
originalProfile = null
beforeEach ->... |
[
{
"context": "class Demon extends Race\n key: 'demon'\n name: 'demon'\n\n alignments: ['evil']\n rarity",
"end": 38,
"score": 0.6141936779022217,
"start": 33,
"tag": "USERNAME",
"value": "demon"
},
{
"context": "class Demon extends Race\n key: 'demon'\n name: 'demon'\n\n align... | js/races/demon.coffee | ktchernov/7drl-lion.github.io | 27 | class Demon extends Race
key: 'demon'
name: 'demon'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 20
base_mp: 15
base_speed: 100
base_attack: 10
base_sight_range: 9
for_player: false
can_get_through_rubble: true
skills: []
register_race Demon
| 9700 | class Demon extends Race
key: 'demon'
name: '<NAME>'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 20
base_mp: 15
base_speed: 100
base_attack: 10
base_sight_range: 9
for_player: false
can_get_through_rubble: true
skills: []
register_race Demon
| true | class Demon extends Race
key: 'demon'
name: 'PI:NAME:<NAME>END_PI'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 20
base_mp: 15
base_speed: 100
base_attack: 10
base_sight_range: 9
for_player: false
can_get_through_rubble: true
skills: []
register_race Demon
|
[
{
"context": "AR\" +\n \"\\nPRODID:-//MyschoolImporter v0.1//Sveinn Fannars Myschool iCal Thingy //EN\" +\n \"\\nVERSION:2.0",
"end": 2316,
"score": 0.9533552527427673,
"start": 2300,
"tag": "NAME",
"value": "Sveinn Fannars M"
}
] | app.coffee | sveinnfannar/Export-MySchool-Calendar | 1 | # Helper functions
init2dArray = (array, length) ->
while array.length < length
array.push([])
# Class defenition for the TimeSlot
class TimeSlot
constructor: (@from, @to, @title, @room) ->
exportToIcal: ->
"\nBEGIN:VEVENT" +
"\nDTSTART:" + (@_ISODateString @from)+
"\nDTEND... | 65120 | # Helper functions
init2dArray = (array, length) ->
while array.length < length
array.push([])
# Class defenition for the TimeSlot
class TimeSlot
constructor: (@from, @to, @title, @room) ->
exportToIcal: ->
"\nBEGIN:VEVENT" +
"\nDTSTART:" + (@_ISODateString @from)+
"\nDTEND... | true | # Helper functions
init2dArray = (array, length) ->
while array.length < length
array.push([])
# Class defenition for the TimeSlot
class TimeSlot
constructor: (@from, @to, @title, @room) ->
exportToIcal: ->
"\nBEGIN:VEVENT" +
"\nDTSTART:" + (@_ISODateString @from)+
"\nDTEND... |
[
{
"context": "\n # properties\n identification: null\n password: null\n\n # methods\n authenticate: (email, password) ->",
"end": 227,
"score": 0.9510093331336975,
"start": 223,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "ant',\n identification: email,\n passwo... | app/controllers/login.coffee | suitepad-gmbh/configunix-frontend | 0 | `import Ember from 'ember'`
`import LoginControllerMixin from 'simple-auth/mixins/login-controller-mixin'`
LoginController = Ember.Controller.extend LoginControllerMixin,
# properties
identification: null
password: null
# methods
authenticate: (email, password) ->
@get('session').authenticate(
's... | 61184 | `import Ember from 'ember'`
`import LoginControllerMixin from 'simple-auth/mixins/login-controller-mixin'`
LoginController = Ember.Controller.extend LoginControllerMixin,
# properties
identification: null
password: <PASSWORD>
# methods
authenticate: (email, password) ->
@get('session').authenticate(
... | true | `import Ember from 'ember'`
`import LoginControllerMixin from 'simple-auth/mixins/login-controller-mixin'`
LoginController = Ember.Controller.extend LoginControllerMixin,
# properties
identification: null
password: PI:PASSWORD:<PASSWORD>END_PI
# methods
authenticate: (email, password) ->
@get('session'... |
[
{
"context": ",\n 'Title': '\"Pilot\"',\n 'Directed by': 'Jerrold Freedman',\n 'Written by': 'Thackary Pallor',\n 'O",
"end": 3164,
"score": 0.9998967051506042,
"start": 3148,
"tag": "NAME",
"value": "Jerrold Freedman"
},
{
"context": "ted by': 'Jerrold Freedman',... | src/example_controller/example_controller.coffee | neosavvyinc/MacGyver | 1 | module = angular.module("Mac")
module.controller "modalController", ["$scope", "modal", ($scope, modal) ->
$scope.$on "modalWasShown", (event, id) ->
if id is "test-modal"
console.log modal.opened.options.data
]
module.controller "ExampleController", [
"$scope"
"$window"
($scope, $window) ->
$scope... | 79995 | module = angular.module("Mac")
module.controller "modalController", ["$scope", "modal", ($scope, modal) ->
$scope.$on "modalWasShown", (event, id) ->
if id is "test-modal"
console.log modal.opened.options.data
]
module.controller "ExampleController", [
"$scope"
"$window"
($scope, $window) ->
$scope... | true | module = angular.module("Mac")
module.controller "modalController", ["$scope", "modal", ($scope, modal) ->
$scope.$on "modalWasShown", (event, id) ->
if id is "test-modal"
console.log modal.opened.options.data
]
module.controller "ExampleController", [
"$scope"
"$window"
($scope, $window) ->
$scope... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.999862790107727,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | test/node-only-inheritance-test.coffee | vibejs/vibejs-subclassof | 0 | #
# Copyright 2014 Carsten Klein
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 40779 | #
# Copyright 2014 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | true | #
# Copyright 2014 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
[
{
"context": " \"atom-beautify\"\n ]\n projectHome: \"/Users/rtfeldman/code\"\n telemetryConsent: \"limited\"\n themes:",
"end": 1087,
"score": 0.9989936947822571,
"start": 1078,
"tag": "USERNAME",
"value": "rtfeldman"
},
{
"context": "ocompleteSnippetsEnabled: true\n ... | atom/config.cson | rtfeldman/dotfiles | 9 | "*":
"atom-beautify":
css:
disabled: true
csv:
disabled: true
ejs:
disabled: true
elm:
beautify_on_save: true
general:
_analyticsUserId: "4a103e58-562e-4e41-a655-4685e6c6970d"
loggerLevel: "error"
muteAllErrors: true
muteUnsupportedLanguageErrors: tr... | 111712 | "*":
"atom-beautify":
css:
disabled: true
csv:
disabled: true
ejs:
disabled: true
elm:
beautify_on_save: true
general:
_analyticsUserId: "4a103e58-562e-4e41-a655-4685e6c6970d"
loggerLevel: "error"
muteAllErrors: true
muteUnsupportedLanguageErrors: tr... | true | "*":
"atom-beautify":
css:
disabled: true
csv:
disabled: true
ejs:
disabled: true
elm:
beautify_on_save: true
general:
_analyticsUserId: "4a103e58-562e-4e41-a655-4685e6c6970d"
loggerLevel: "error"
muteAllErrors: true
muteUnsupportedLanguageErrors: tr... |
[
{
"context": " null\n\n # public\n activate: ->\n configKey = 'btom-mode.modes'\n @subscriptions = new CompositeDisposable\n ",
"end": 257,
"score": 0.9761543273925781,
"start": 242,
"tag": "KEY",
"value": "btom-mode.modes"
}
] | lib/btom-mode.coffee | bouzuya/atom-btom-mode | 1 | {CompositeDisposable} = require 'atom'
module.exports = BtomMode =
config:
modes:
type: 'array'
default: []
items:
type: 'string'
modes: []
subscriptions: null
# public
activate: ->
configKey = 'btom-mode.modes'
@subscriptions = new CompositeDisposable
@subscriptio... | 154002 | {CompositeDisposable} = require 'atom'
module.exports = BtomMode =
config:
modes:
type: 'array'
default: []
items:
type: 'string'
modes: []
subscriptions: null
# public
activate: ->
configKey = '<KEY>'
@subscriptions = new CompositeDisposable
@subscriptions.add ato... | true | {CompositeDisposable} = require 'atom'
module.exports = BtomMode =
config:
modes:
type: 'array'
default: []
items:
type: 'string'
modes: []
subscriptions: null
# public
activate: ->
configKey = 'PI:KEY:<KEY>END_PI'
@subscriptions = new CompositeDisposable
@subscrip... |
[
{
"context": "Runner 1, done\n\n sampleObject = {\n name: 'John Doe'\n age: 23\n }\n node = new ObjectNode sa",
"end": 1009,
"score": 0.9995554685592651,
"start": 1001,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "Runner 1, done\n\n sampleObject = {\n ... | src/test/object-node.coffee | bbs-enterprise/odse | 0 |
{ expect } = require 'chai'
{ ObjectDataStorageEngine, ObjectNode, BubbleableOdseEvent, PrimitiveNode } = require './../odse'
{ JobRunner } = require './_job-runner'
describe 'ObjectNode' , ->
it 'new', (done)->
job = new JobRunner 1, done
try
node = new ObjectNode 'Example Value'
catch ex
... | 166153 |
{ expect } = require 'chai'
{ ObjectDataStorageEngine, ObjectNode, BubbleableOdseEvent, PrimitiveNode } = require './../odse'
{ JobRunner } = require './_job-runner'
describe 'ObjectNode' , ->
it 'new', (done)->
job = new JobRunner 1, done
try
node = new ObjectNode 'Example Value'
catch ex
... | true |
{ expect } = require 'chai'
{ ObjectDataStorageEngine, ObjectNode, BubbleableOdseEvent, PrimitiveNode } = require './../odse'
{ JobRunner } = require './_job-runner'
describe 'ObjectNode' , ->
it 'new', (done)->
job = new JobRunner 1, done
try
node = new ObjectNode 'Example Value'
catch ex
... |
[
{
"context": "ocalhost\"\n user: \"user\"\n password: \"pass\"\n paths:\n # You can create multiple con",
"end": 303,
"score": 0.9993690252304077,
"start": 299,
"tag": "PASSWORD",
"value": "pass"
}
] | settings.template.coffee | soulweaver91/ftporter | 0 | joinPath = require 'path.join'
###
Use joinPath to combine folder names instead of typing forward or backslashes manually, like so:
joinPath 'root', 'folder', 'subfolder'
###
module.exports = {
credentials:
host: "ftp.example.localhost"
user: "user"
password: "pass"
paths:
... | 38821 | joinPath = require 'path.join'
###
Use joinPath to combine folder names instead of typing forward or backslashes manually, like so:
joinPath 'root', 'folder', 'subfolder'
###
module.exports = {
credentials:
host: "ftp.example.localhost"
user: "user"
password: "<PASSWORD>"
paths... | true | joinPath = require 'path.join'
###
Use joinPath to combine folder names instead of typing forward or backslashes manually, like so:
joinPath 'root', 'folder', 'subfolder'
###
module.exports = {
credentials:
host: "ftp.example.localhost"
user: "user"
password: "PI:PASSWORD:<PASSWORD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.