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": "s Info\n redis_host: process.env.REDIS_HOST || '127.0.0.1'\n redis_port: +process.env.REDIS_PORT || 6379\n",
"end": 508,
"score": 0.9997134804725647,
"start": 499,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "db: +process.env.REDIS_DB || 2\n redis... | config/default.coffee | SizzlingStats/sizzlingstats.com | 9 | port = +process.env.PORT || 8001
module.exports =
cfg:
port: port
address: process.env.ADDRESS || 'http://localhost:' + port
socket_io_address: process.env.SOCKET_IO_ADDRESS || 'http://localhost'
socket_io_port: process.env.SOCKET_IO_PORT || port
mongo_url: process.env.MONGO_URL || 'mongodb://lo... | 35718 | port = +process.env.PORT || 8001
module.exports =
cfg:
port: port
address: process.env.ADDRESS || 'http://localhost:' + port
socket_io_address: process.env.SOCKET_IO_ADDRESS || 'http://localhost'
socket_io_port: process.env.SOCKET_IO_PORT || port
mongo_url: process.env.MONGO_URL || 'mongodb://lo... | true | port = +process.env.PORT || 8001
module.exports =
cfg:
port: port
address: process.env.ADDRESS || 'http://localhost:' + port
socket_io_address: process.env.SOCKET_IO_ADDRESS || 'http://localhost'
socket_io_port: process.env.SOCKET_IO_PORT || port
mongo_url: process.env.MONGO_URL || 'mongodb://lo... |
[
{
"context": " @$scope.playlists = [\n {\n title: 'Reggae'\n id: 1\n }\n {\n title: 'Ch",
"end": 136,
"score": 0.9997519850730896,
"start": 130,
"tag": "NAME",
"value": "Reggae"
},
{
"context": "ae'\n id: 1\n }\n {\n titl... | www/coffee/controllers/playlists.controller.coffee | yoophi/ionic-coffee-sidebar | 0 | class PlaylistsCtrl extends BaseController
@inject '$scope'
initialize: ->
@$scope.playlists = [
{
title: 'Reggae'
id: 1
}
{
title: 'Chill'
id: 2
}
{
title: 'Dubstep'
id: 3
}
{
title: 'Indie'
id: 4
}... | 26843 | class PlaylistsCtrl extends BaseController
@inject '$scope'
initialize: ->
@$scope.playlists = [
{
title: '<NAME>'
id: 1
}
{
title: '<NAME>'
id: 2
}
{
title: '<NAME>'
id: 3
}
{
title: '<NAME>'
id: 4
... | true | class PlaylistsCtrl extends BaseController
@inject '$scope'
initialize: ->
@$scope.playlists = [
{
title: 'PI:NAME:<NAME>END_PI'
id: 1
}
{
title: 'PI:NAME:<NAME>END_PI'
id: 2
}
{
title: 'PI:NAME:<NAME>END_PI'
id: 3
}
{
... |
[
{
"context": "appingsValue = opts.mappings[kkey]\n key = kkey.trim();\n \n swaggerFiles = (if optsMappingsValue ",
"end": 547,
"score": 0.6559970378875732,
"start": 543,
"tag": "KEY",
"value": "trim"
}
] | .gulp/regeneration.iced | Azure/autorest.nodejs | 6 |
###############################################
# LEGACY
# Instead: have bunch of configuration files sitting in a well-known spot, discover them, feed them to AutoRest, done.
path = require("path");
repositoryLocalRoot = path.dirname(__dirname);
regenExpected = (opts,done) ->
outputDir = if !!opts.outputBaseDir ... | 52926 |
###############################################
# LEGACY
# Instead: have bunch of configuration files sitting in a well-known spot, discover them, feed them to AutoRest, done.
path = require("path");
repositoryLocalRoot = path.dirname(__dirname);
regenExpected = (opts,done) ->
outputDir = if !!opts.outputBaseDir ... | true |
###############################################
# LEGACY
# Instead: have bunch of configuration files sitting in a well-known spot, discover them, feed them to AutoRest, done.
path = require("path");
repositoryLocalRoot = path.dirname(__dirname);
regenExpected = (opts,done) ->
outputDir = if !!opts.outputBaseDir ... |
[
{
"context": " knex(@toModel.metadata.tableName)\n .select(@returning)\n .leftJoin(@through, \"#{@toModel",
"end": 2152,
"score": 0.8078191876411438,
"start": 2152,
"tag": "USERNAME",
"value": ""
},
{
"context": "ame)\n .select(@returning)\n .leftJoin(@thr... | src/fields/manyToMany.coffee | BlackBalloon/hapi-simple-orm | 2 | 'use strict'
_ = require 'underscore'
knexConf = require process.cwd() + '/knexfile'
knex = require('knex')(knexConf[process.env.NODE_ENV])
Joi = require 'joi'
class ManyToMany
@acceptedParameters: [
'schema'
'toModel'
'through'
'throughFields'
'returning'
'name... | 203300 | 'use strict'
_ = require 'underscore'
knexConf = require process.cwd() + '/knexfile'
knex = require('knex')(knexConf[process.env.NODE_ENV])
Joi = require 'joi'
class ManyToMany
@acceptedParameters: [
'schema'
'toModel'
'through'
'throughFields'
'returning'
'name... | true | 'use strict'
_ = require 'underscore'
knexConf = require process.cwd() + '/knexfile'
knex = require('knex')(knexConf[process.env.NODE_ENV])
Joi = require 'joi'
class ManyToMany
@acceptedParameters: [
'schema'
'toModel'
'through'
'throughFields'
'returning'
'name... |
[
{
"context": "ient_time:new Date() # form-hidden\n admin_alias:'fengfeng2' # form-hidden\n #(optional)\n #media:'/path/to/m",
"end": 249,
"score": 0.9991310238838196,
"start": 240,
"tag": "USERNAME",
"value": "fengfeng2"
},
{
"context": "nt'\nagent = request.agent()\nagent\n .pos... | share/superagent.auth.admin.coffee | android1and1/tickets | 0 | # post one article
# 2019-9-30
data = {
urge:0
resolved:0
title:'a very very very patient post'
category:'problem'
visits:20
ticket:'a post,from cmd,\nfrom superagent app'
client_time:new Date() # form-hidden
admin_alias:'fengfeng2' # form-hidden
#(optional)
#media:'/path/to/media'
}
request = re... | 173737 | # post one article
# 2019-9-30
data = {
urge:0
resolved:0
title:'a very very very patient post'
category:'problem'
visits:20
ticket:'a post,from cmd,\nfrom superagent app'
client_time:new Date() # form-hidden
admin_alias:'fengfeng2' # form-hidden
#(optional)
#media:'/path/to/media'
}
request = re... | true | # post one article
# 2019-9-30
data = {
urge:0
resolved:0
title:'a very very very patient post'
category:'problem'
visits:20
ticket:'a post,from cmd,\nfrom superagent app'
client_time:new Date() # form-hidden
admin_alias:'fengfeng2' # form-hidden
#(optional)
#media:'/path/to/media'
}
request = re... |
[
{
"context": "efined\n# * in FIPS 180-1\n# * Version 2.2 Copyright Paul Johnston 2000 - 2009.\n# * Other contributors: Greg Holt, A",
"end": 140,
"score": 0.9998701214790344,
"start": 127,
"tag": "NAME",
"value": "Paul Johnston"
},
{
"context": "Paul Johnston 2000 - 2009.\n# * Other ... | coffee/tools/sha1.coffee | qreeves/oauth-js | 403 |
#
# * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
# * in FIPS 180-1
# * Version 2.2 Copyright Paul Johnston 2000 - 2009.
# * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
# * Distributed under the BSD License
# * See http://pajhome.org.uk/crypt/md5 for details.
#
#
# *... | 189512 |
#
# * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
# * in FIPS 180-1
# * Version 2.2 Copyright <NAME> 2000 - 2009.
# * Other contributors: <NAME>, <NAME>, <NAME>, <NAME>
# * Distributed under the BSD License
# * See http://pajhome.org.uk/crypt/md5 for details.
#
#
# * Configurable vari... | true |
#
# * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
# * in FIPS 180-1
# * Version 2.2 Copyright PI:NAME:<NAME>END_PI 2000 - 2009.
# * Other contributors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# * Distributed under the BSD License
# * See ht... |
[
{
"context": "y.name\n email: req.body.email\n password: req.body.password\n ).end (err, sres) ->\n if err and err.mes",
"end": 1221,
"score": 0.9936437606811523,
"start": 1204,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | lib/app/lifecycle.coffee | craigspaeth/artsy-passport | 0 | #
# Middleware functions that help control what happens before and after
# logging in or signing up.
#
_ = require 'underscore'
_s = require 'underscore.string'
opts = require '../options'
passport = require 'passport'
qs = require 'querystring'
redirectBack = require './redirectback'
request = require 'superagent'
ar... | 64432 | #
# Middleware functions that help control what happens before and after
# logging in or signing up.
#
_ = require 'underscore'
_s = require 'underscore.string'
opts = require '../options'
passport = require 'passport'
qs = require 'querystring'
redirectBack = require './redirectback'
request = require 'superagent'
ar... | true | #
# Middleware functions that help control what happens before and after
# logging in or signing up.
#
_ = require 'underscore'
_s = require 'underscore.string'
opts = require '../options'
passport = require 'passport'
qs = require 'querystring'
redirectBack = require './redirectback'
request = require 'superagent'
ar... |
[
{
"context": "###!\nApp.net timeline fetcher (c) 2013 Brandon Mathis, @imathis // MIT License\nVersion: 1.2\nSource: htt",
"end": 53,
"score": 0.9998561143875122,
"start": 39,
"tag": "NAME",
"value": "Brandon Mathis"
},
{
"context": "\nApp.net timeline fetcher (c) 2013 Brandon Mathis... | javascripts/coffeescript/adn-timeline.coffee | imathis/adn-timeline | 3 | ###!
App.net timeline fetcher (c) 2013 Brandon Mathis, @imathis // MIT License
Version: 1.2
Source: https://github.com/imathis/adn-timeline/
###
class AdnTimeline
defaults:
el: '.adn-timeline'
count: 4
replies: false
reposts: false
cookie: 'adn-timeline'
avatars: false
# A page can render... | 205490 | ###!
App.net timeline fetcher (c) 2013 <NAME>, @imathis // MIT License
Version: 1.2
Source: https://github.com/imathis/adn-timeline/
###
class AdnTimeline
defaults:
el: '.adn-timeline'
count: 4
replies: false
reposts: false
cookie: 'adn-timeline'
avatars: false
# A page can render multipl... | true | ###!
App.net timeline fetcher (c) 2013 PI:NAME:<NAME>END_PI, @imathis // MIT License
Version: 1.2
Source: https://github.com/imathis/adn-timeline/
###
class AdnTimeline
defaults:
el: '.adn-timeline'
count: 4
replies: false
reposts: false
cookie: 'adn-timeline'
avatars: false
# A page can ... |
[
{
"context": "# @Author: Guan Gui <guiguan>\n# @Date: 2016-01-21T00:44:03+11:00\n# ",
"end": 19,
"score": 0.9998286366462708,
"start": 11,
"tag": "NAME",
"value": "Guan Gui"
},
{
"context": "# @Author: Guan Gui <guiguan>\n# @Date: 2016-01-21T00:44:03+11:00\n# @Email: ",
"end... | keymaps/file-header.cson | Shinrai/file-header | 38 | # @Author: Guan Gui <guiguan>
# @Date: 2016-01-21T00:44:03+11:00
# @Email: root@guiguan.net
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T22:02:34+11:00
# Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystroke and the command... | 193378 | # @Author: <NAME> <guiguan>
# @Date: 2016-01-21T00:44:03+11:00
# @Email: <EMAIL>
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T22:02:34+11:00
# Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystroke and the command to
# execu... | true | # @Author: PI:NAME:<NAME>END_PI <guiguan>
# @Date: 2016-01-21T00:44:03+11:00
# @Email: PI:EMAIL:<EMAIL>END_PI
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T22:02:34+11:00
# Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystro... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.9268958568572998,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecCircle.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
createView = (attributes) ->
new kin.Circle(attributes)
... | 10158 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
createView = (attributes) ->
new kin.Circle(attributes)
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
createView = (attributes) ->
new kin.Circle... |
[
{
"context": "lback = (error, recentlyCompiled) ->) ->\n\t\tkey = \"compile:#{project_id}:#{user_id}\"\n\t\trclient.set key, true, \"EX\", @COMPILE_DELAY, \"N",
"end": 2050,
"score": 0.995663583278656,
"start": 2017,
"tag": "KEY",
"value": "compile:#{project_id}:#{user_id}\""
}
] | app/coffee/Features/Compile/CompileManager.coffee | ukasiu/web-sharelatex | 0 | Settings = require('settings-sharelatex')
redis = require('redis')
rclient = redis.createClient(Settings.redis.web.port, Settings.redis.web.host)
rclient.auth(Settings.redis.web.password)
DocumentUpdaterHandler = require "../DocumentUpdater/DocumentUpdaterHandler"
Project = require("../../models/Project").Project
Proje... | 152300 | Settings = require('settings-sharelatex')
redis = require('redis')
rclient = redis.createClient(Settings.redis.web.port, Settings.redis.web.host)
rclient.auth(Settings.redis.web.password)
DocumentUpdaterHandler = require "../DocumentUpdater/DocumentUpdaterHandler"
Project = require("../../models/Project").Project
Proje... | true | Settings = require('settings-sharelatex')
redis = require('redis')
rclient = redis.createClient(Settings.redis.web.port, Settings.redis.web.host)
rclient.auth(Settings.redis.web.password)
DocumentUpdaterHandler = require "../DocumentUpdater/DocumentUpdaterHandler"
Project = require("../../models/Project").Project
Proje... |
[
{
"context": "# Chrome storage data key\nDATA_KEY = 'game-of-spoils'\n\n# jQuery selectors that specify elements to blo",
"end": 52,
"score": 0.6518591046333313,
"start": 38,
"tag": "KEY",
"value": "game-of-spoils"
},
{
"context": "ler blocker\nSPOILER_WORDS_LIST = [\n '#got'\n 'ad... | src/scripts/constants.coffee | stu-blair/game-of-spoils | 27 | # Chrome storage data key
DATA_KEY = 'game-of-spoils'
# jQuery selectors that specify elements to block on each supported site
AVCLUB_FEED_ELEMENTS_SELECTOR = '.item, article.short, article > .heading'
BUZZFEED_ELEMENTS_SELECTOR = '.card--article-featured, .card--article, .card--package, .card--video, .si... | 159237 | # Chrome storage data key
DATA_KEY = '<KEY>'
# jQuery selectors that specify elements to block on each supported site
AVCLUB_FEED_ELEMENTS_SELECTOR = '.item, article.short, article > .heading'
BUZZFEED_ELEMENTS_SELECTOR = '.card--article-featured, .card--article, .card--package, .card--video, .sidebar__li... | true | # Chrome storage data key
DATA_KEY = 'PI:KEY:<KEY>END_PI'
# jQuery selectors that specify elements to block on each supported site
AVCLUB_FEED_ELEMENTS_SELECTOR = '.item, article.short, article > .heading'
BUZZFEED_ELEMENTS_SELECTOR = '.card--article-featured, .card--article, .card--package, .card--video,... |
[
{
"context": "###\n# @author Will Steinmetz\n# jQuery notification plug-in inspired by the not",
"end": 28,
"score": 0.9998559951782227,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ation style of Windows 8\n# Copyright (c)2013-2015, Will Steinmetz\n# Licens... | public/third_party/notific8/grunt/update-json.coffee | pvndn/spa | 130 | ###
# @author Will Steinmetz
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('update_json',
options:
src: 'pack... | 118338 | ###
# @author <NAME>
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('update_json',
options:
src: 'package.json'
... | true | ###
# @author PI:NAME:<NAME>END_PI
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.config('update_json',
options:
... |
[
{
"context": "RIA state and property values are valid.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 116,
"score": 0.9998547434806824,
"start": 105,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/aria-proptypes.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce ARIA state and property values are valid.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
... | 202642 | ### eslint-env jest ###
###*
# @fileoverview Enforce ARIA state and property values are valid.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
asser... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce ARIA state and property values are valid.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = requir... |
[
{
"context": "cation _.extend {}, @props,\n key: \"navbar-notification-#{notification._id}\"\n notification: n",
"end": 2443,
"score": 0.9689007997512817,
"start": 2421,
"tag": "KEY",
"value": "navbar-notification-#{"
},
{
"context": " key: \"na... | src/components/navbar.coffee | EmmanuelCuillier/kerplunk-notifications-master | 0 | _ = require 'lodash'
React = require 'react'
Notification = require './notification'
{DOM} = React
diffArrays = (arr1 = [], arr2 = []) ->
return false if arr1.length != arr2.length
for item, index in arr1
if arr1[index] != arr2[index]
return false
true
module.exports = React.createFactory React.crea... | 156382 | _ = require 'lodash'
React = require 'react'
Notification = require './notification'
{DOM} = React
diffArrays = (arr1 = [], arr2 = []) ->
return false if arr1.length != arr2.length
for item, index in arr1
if arr1[index] != arr2[index]
return false
true
module.exports = React.createFactory React.crea... | true | _ = require 'lodash'
React = require 'react'
Notification = require './notification'
{DOM} = React
diffArrays = (arr1 = [], arr2 = []) ->
return false if arr1.length != arr2.length
for item, index in arr1
if arr1[index] != arr2[index]
return false
true
module.exports = React.createFactory React.crea... |
[
{
"context": "ackUrl: 'whatevs.co'})\n @sut.authenticate 'sliced@diced.net', 'one-easy-payment', 'laptop.com'\n @rootS",
"end": 630,
"score": 0.9999251365661621,
"start": 614,
"tag": "EMAIL",
"value": "sliced@diced.net"
},
{
"context": ".com/sessions'\n params =\... | test/app/authenticator-service-spec.coffee | octoblu/email-password-site | 1 | describe 'AuthenticatorService', ->
beforeEach ->
module 'email-password', ($provide) =>
@http = post: sinon.stub()
$provide.value '$http', @http
$provide.constant 'AUTHENTICATOR_URI', 'https://email-password.octoblu.com'
return
inject ($q, $rootScope, AuthenticatorService) =>
@... | 135429 | describe 'AuthenticatorService', ->
beforeEach ->
module 'email-password', ($provide) =>
@http = post: sinon.stub()
$provide.value '$http', @http
$provide.constant 'AUTHENTICATOR_URI', 'https://email-password.octoblu.com'
return
inject ($q, $rootScope, AuthenticatorService) =>
@... | true | describe 'AuthenticatorService', ->
beforeEach ->
module 'email-password', ($provide) =>
@http = post: sinon.stub()
$provide.value '$http', @http
$provide.constant 'AUTHENTICATOR_URI', 'https://email-password.octoblu.com'
return
inject ($q, $rootScope, AuthenticatorService) =>
@... |
[
{
"context": "html ->\n\thead ->\n\t\tmeta charset: 'utf-8'\n\t\ttitle \"Jeffreel | #{@broadcasterData.username}\"\n\n\t\tstyle '''\n ",
"end": 68,
"score": 0.999046802520752,
"start": 60,
"tag": "NAME",
"value": "Jeffreel"
},
{
"context": "oken, contact: \"\n\t\t\t\ta href: \"htt... | jeffreel/views/index.coffee | MrBobBarker/jefflr | 0 | doctype 5
html ->
head ->
meta charset: 'utf-8'
title "Jeffreel | #{@broadcasterData.username}"
style '''
body {background-color: #1E262C; font-size: 12px; font-family: Tahoma, Verdana, Arial, sans-serif}
footer {text-align: center}
p {color: #E0A666; margin: 0px}
a {color: #D18026; text-decorati... | 185387 | doctype 5
html ->
head ->
meta charset: 'utf-8'
title "<NAME> | #{@broadcasterData.username}"
style '''
body {background-color: #1E262C; font-size: 12px; font-family: Tahoma, Verdana, Arial, sans-serif}
footer {text-align: center}
p {color: #E0A666; margin: 0px}
a {color: #D18026; text-decoration... | true | doctype 5
html ->
head ->
meta charset: 'utf-8'
title "PI:NAME:<NAME>END_PI | #{@broadcasterData.username}"
style '''
body {background-color: #1E262C; font-size: 12px; font-family: Tahoma, Verdana, Arial, sans-serif}
footer {text-align: center}
p {color: #E0A666; margin: 0px}
a {color: #D18026; t... |
[
{
"context": "*\n* Handle a mouse or a tactile screen\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass Mouse\n\n ###*\n ",
"end": 65,
"score": 0.9998775124549866,
"start": 54,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": "ouse or a tactile screen\n*\n* @author ... | src/Mouse.coffee | Djeg/MicroRacing | 1 | ###*
* Handle a mouse or a tactile screen
*
* @author David Jegat <david.jegat@gmail.com>
###
class Mouse
###*
* @param {string} selector, the selector where you want to attach the Mouse
* @constructor
###
constructor: (selector) ->
@$ = $ selector
@x = 0
@y = 0
@in = o... | 216705 | ###*
* Handle a mouse or a tactile screen
*
* @author <NAME> <<EMAIL>>
###
class Mouse
###*
* @param {string} selector, the selector where you want to attach the Mouse
* @constructor
###
constructor: (selector) ->
@$ = $ selector
@x = 0
@y = 0
@in = off
@buttons = [... | true | ###*
* Handle a mouse or a tactile screen
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class Mouse
###*
* @param {string} selector, the selector where you want to attach the Mouse
* @constructor
###
constructor: (selector) ->
@$ = $ selector
@x = 0
@y = 0
@i... |
[
{
"context": "name: 'one-time-device-uuid'\n password: 'one-time-device-token'\n\n request.get options, (error, @response, @",
"end": 2130,
"score": 0.999381422996521,
"start": 2109,
"tag": "PASSWORD",
"value": "one-time-device-token"
}
] | test/integration/box-link-download.coffee | octoblu/box-link-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
enableDestroy = require 'server-destroy'
MeshbluHttp = require 'meshblu-http'
Server = require '../../src/server'
describe 'Download', ->
before ->
@timeout 20000
meshbluHttp = new MeshbluHttp(... | 62344 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
enableDestroy = require 'server-destroy'
MeshbluHttp = require 'meshblu-http'
Server = require '../../src/server'
describe 'Download', ->
before ->
@timeout 20000
meshbluHttp = new MeshbluHttp(... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
enableDestroy = require 'server-destroy'
MeshbluHttp = require 'meshblu-http'
Server = require '../../src/server'
describe 'Download', ->
before ->
@timeout 20000
meshbluHttp = new MeshbluHttp(... |
[
{
"context": "###\ndoT Express Master of Ceremonies\n@author Dannel Albert <cuebix@gmail.com>\n@license http://opensource.org",
"end": 58,
"score": 0.9998583793640137,
"start": 45,
"tag": "NAME",
"value": "Dannel Albert"
},
{
"context": "press Master of Ceremonies\n@author Dannel Alb... | node_modules/dot-emc/src/dot-emc.coffee | junior201110/nef_node | 0 | ###
doT Express Master of Ceremonies
@author Dannel Albert <cuebix@gmail.com>
@license http://opensource.org/licenses/MIT
###
fs = require "fs"
path = require "path"
doT = require "dot"
# optional html pretty printer
try
html = require "html"
catch e
throw e if e.code != "MODULE_NOT_FOUND"
workingPaths = []
curOpt... | 200263 | ###
doT Express Master of Ceremonies
@author <NAME> <<EMAIL>>
@license http://opensource.org/licenses/MIT
###
fs = require "fs"
path = require "path"
doT = require "dot"
# optional html pretty printer
try
html = require "html"
catch e
throw e if e.code != "MODULE_NOT_FOUND"
workingPaths = []
curOptions = null
curP... | true | ###
doT Express Master of Ceremonies
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license http://opensource.org/licenses/MIT
###
fs = require "fs"
path = require "path"
doT = require "dot"
# optional html pretty printer
try
html = require "html"
catch e
throw e if e.code != "MODULE_NOT_FOUND"
workingPath... |
[
{
"context": " tomId = Meteor.users.insert(profile:\n name: \"Tom Coleman\"\n )\n tom = Meteor.users.findOne(tomId)\n sachaI",
"end": 157,
"score": 0.999846339225769,
"start": 146,
"tag": "NAME",
"value": "Tom Coleman"
},
{
"context": "sachaId = Meteor.users.insert(profile:\n ... | microscope/server/fixtures.coffee | Brabon/meteor-tutorial-coffeescript | 1 | # Fixture data
if Posts.find().count() is 0
now = new Date().getTime()
# create two users
tomId = Meteor.users.insert(profile:
name: "Tom Coleman"
)
tom = Meteor.users.findOne(tomId)
sachaId = Meteor.users.insert(profile:
name: "Sacha Greif"
)
sacha = Meteor.users.findOne(sachaId)
telescopeI... | 176295 | # Fixture data
if Posts.find().count() is 0
now = new Date().getTime()
# create two users
tomId = Meteor.users.insert(profile:
name: "<NAME>"
)
tom = Meteor.users.findOne(tomId)
sachaId = Meteor.users.insert(profile:
name: "<NAME>"
)
sacha = Meteor.users.findOne(sachaId)
telescopeId = Posts.... | true | # Fixture data
if Posts.find().count() is 0
now = new Date().getTime()
# create two users
tomId = Meteor.users.insert(profile:
name: "PI:NAME:<NAME>END_PI"
)
tom = Meteor.users.findOne(tomId)
sachaId = Meteor.users.insert(profile:
name: "PI:NAME:<NAME>END_PI"
)
sacha = Meteor.users.findOne(sac... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.766970157623291,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\",... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/uk/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/uk_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"
... | 53087 | bcv_parser = require("../../js/uk_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/uk_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": " \"hello!\"\n# hubot orly - \"yarly\"\n#\n# Author:\n# tombell\n\nlastmessage = \"\"\nsayings =\n phrasing: [\n \"ar",
"end": 180,
"score": 0.9997053146362305,
"start": 173,
"tag": "USERNAME",
"value": "tombell"
},
{
"context": "asing! First! Boom!\"\n ]\n dan... | node_modules/hubot-archer-quotes/src/archer-quotes.coffee | mikelovskij/sauron2 | 0 | # Description:
# Say Hi to Hubot.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hello - "hello!"
# hubot orly - "yarly"
#
# Author:
# tombell
lastmessage = ""
sayings =
phrasing: [
"are we not saying phrasing anymore?",
"phrasing?",
"phrasing!",
"On my tits! Wha... | 137311 | # Description:
# Say Hi to Hubot.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hello - "hello!"
# hubot orly - "yarly"
#
# Author:
# tombell
lastmessage = ""
sayings =
phrasing: [
"are we not saying phrasing anymore?",
"phrasing?",
"phrasing!",
"On my tits! Wha... | true | # Description:
# Say Hi to Hubot.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hello - "hello!"
# hubot orly - "yarly"
#
# Author:
# tombell
lastmessage = ""
sayings =
phrasing: [
"are we not saying phrasing anymore?",
"phrasing?",
"phrasing!",
"On my tits! Wha... |
[
{
"context": "('[name=\"sign-out__email\"]').val()\n password: $form.find('[name=\"sign-out__pass\"]').val()\n full_name:",
"end": 1049,
"score": 0.8004988431930542,
"start": 1039,
"tag": "PASSWORD",
"value": "$form.find"
},
{
"context": "mail\"]').val()\n password: $f... | resources/themes/lets_cook/assets/coffee/auth.coffee | DDiimmkkaass/lets-cook | 0 | $(document).on "ready", () ->
$(document).on 'submit', '.sign-in__form', (e) ->
e.preventDefault()
$form = $(this)
data =
_token: $form.find('[name="_token"]').val()
email: $form.find('[name="sign-in__mail"]').val()
password: $form.find('[name="sign-in__pass"]').val()
$.ajax
... | 58188 | $(document).on "ready", () ->
$(document).on 'submit', '.sign-in__form', (e) ->
e.preventDefault()
$form = $(this)
data =
_token: $form.find('[name="_token"]').val()
email: $form.find('[name="sign-in__mail"]').val()
password: $form.find('[name="sign-in__pass"]').val()
$.ajax
... | true | $(document).on "ready", () ->
$(document).on 'submit', '.sign-in__form', (e) ->
e.preventDefault()
$form = $(this)
data =
_token: $form.find('[name="_token"]').val()
email: $form.find('[name="sign-in__mail"]').val()
password: $form.find('[name="sign-in__pass"]').val()
$.ajax
... |
[
{
"context": " res) ->\n email = req.body.email\n password = req.body.password\n systemId = req.systemId\n output = {}\n\n ",
"end": 776,
"score": 0.9990115165710449,
"start": 759,
"tag": "PASSWORD",
"value": "req.body.password"
},
{
"context": " {message: err}\n ... | server/controllers/user.coffee | GoIncremental/gi-security | 0 | _ = require 'underscore'
gi = require 'gi-util'
logger = gi.common
module.exports = (model, crudControllerFactory) ->
crud = crudControllerFactory(model)
isUsernameAvailable = (req, res) ->
systemId = req.systemId
email = req.query.username
if email?
model.findOneBy 'email', email, systemId, (er... | 97259 | _ = require 'underscore'
gi = require 'gi-util'
logger = gi.common
module.exports = (model, crudControllerFactory) ->
crud = crudControllerFactory(model)
isUsernameAvailable = (req, res) ->
systemId = req.systemId
email = req.query.username
if email?
model.findOneBy 'email', email, systemId, (er... | true | _ = require 'underscore'
gi = require 'gi-util'
logger = gi.common
module.exports = (model, crudControllerFactory) ->
crud = crudControllerFactory(model)
isUsernameAvailable = (req, res) ->
systemId = req.systemId
email = req.query.username
if email?
model.findOneBy 'email', email, systemId, (er... |
[
{
"context": "rty\n#\n# Commands:\n# house party\n#\n# Author:\n# sagasu\n\nhouseParty = [\n \"this is how my last party l",
"end": 110,
"score": 0.6212261915206909,
"start": 107,
"tag": "USERNAME",
"value": "sag"
},
{
"context": "#\n# Commands:\n# house party\n#\n# Author:\... | src/party.coffee | sagasu/hubot-houseparty | 0 | # Description:
# react when someone mentions house party
#
# Commands:
# house party
#
# Author:
# sagasu
houseParty = [
"this is how my last party looked like: https://github.com/sagasu/hubot-houseparty/blob/master/img/1.jpg?raw=true",
"this is how my last party looked like: https://github.com/sagasu/hubo... | 157475 | # Description:
# react when someone mentions house party
#
# Commands:
# house party
#
# Author:
# sag<NAME>
houseParty = [
"this is how my last party looked like: https://github.com/sagasu/hubot-houseparty/blob/master/img/1.jpg?raw=true",
"this is how my last party looked like: https://github.com/sagasu/h... | true | # Description:
# react when someone mentions house party
#
# Commands:
# house party
#
# Author:
# sagPI:NAME:<NAME>END_PI
houseParty = [
"this is how my last party looked like: https://github.com/sagasu/hubot-houseparty/blob/master/img/1.jpg?raw=true",
"this is how my last party looked like: https://githu... |
[
{
"context": " productType: productType\n productBrand: \"Calvin Klein\"\n imageUrl: (e.querySelector(\"img\").getAtt",
"end": 913,
"score": 0.9989370107650757,
"start": 901,
"tag": "NAME",
"value": "Calvin Klein"
}
] | private/indexer/calvin_klein.coffee | wangjohn/shopperling | 1 | casper = require('casper').create(
clientScripts: ["../../client/lib/jquery.js"]
waitTimeout: 10000
)
fs = require('fs')
LINKS = [{productType: "sweaters", url: "http://www.calvinklein.com/shop/en/ck/search/womens-sweaters"},
{productType: "tops", url: "http://www.calvinklein.com/shop/en/ck/search/womens-... | 161585 | casper = require('casper').create(
clientScripts: ["../../client/lib/jquery.js"]
waitTimeout: 10000
)
fs = require('fs')
LINKS = [{productType: "sweaters", url: "http://www.calvinklein.com/shop/en/ck/search/womens-sweaters"},
{productType: "tops", url: "http://www.calvinklein.com/shop/en/ck/search/womens-... | true | casper = require('casper').create(
clientScripts: ["../../client/lib/jquery.js"]
waitTimeout: 10000
)
fs = require('fs')
LINKS = [{productType: "sweaters", url: "http://www.calvinklein.com/shop/en/ck/search/womens-sweaters"},
{productType: "tops", url: "http://www.calvinklein.com/shop/en/ck/search/womens-... |
[
{
"context": "please replace this with your own id\n secret: \"c67378e5e2d1f349397eb15f34e7f889\" # please replace this with your own secret\n\n @g",
"end": 170,
"score": 0.9997437596321106,
"start": 138,
"tag": "KEY",
"value": "c67378e5e2d1f349397eb15f34e7f889"
},
{
"context": "... | lib/configuration.coffee | tyrchen/teamspark | 21 | if Meteor.isServer
@weibo_service =
service: "weibo"
clientId: "2737982731" # please replace this with your own id
secret: "c67378e5e2d1f349397eb15f34e7f889" # please replace this with your own secret
@github_service =
service: "github"
clientId: "70316cc48b0cc9a6fa32"
secret: "c30d604147e1... | 104828 | if Meteor.isServer
@weibo_service =
service: "weibo"
clientId: "2737982731" # please replace this with your own id
secret: "<KEY>" # please replace this with your own secret
@github_service =
service: "github"
clientId: "70316cc48b0cc9a6fa32"
secret: "<KEY>"
if Meteor.isClient
Meteor.sta... | true | if Meteor.isServer
@weibo_service =
service: "weibo"
clientId: "2737982731" # please replace this with your own id
secret: "PI:KEY:<KEY>END_PI" # please replace this with your own secret
@github_service =
service: "github"
clientId: "70316cc48b0cc9a6fa32"
secret: "PI:KEY:<KEY>END_PI"
if Me... |
[
{
"context": "###\n backbone-http.js 0.5.5\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http\n Lic",
"end": 58,
"score": 0.9992840886116028,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/index.coffee | michaelBenin/backbone-http | 1 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
# ensure the client symbols are resolved
if w... | 55419 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
# ensure the client symbols are resolved
if win... | true | ###
backbone-http.js 0.5.5
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
# ensure the client symbols are r... |
[
{
"context": "hen keys present)\n i = 1\n loop\n key = \"ZNAME#{i}\"\n break unless header.contains(key)\n \n ",
"end": 1551,
"score": 0.9990522265434265,
"start": 1541,
"tag": "KEY",
"value": "ZNAME#{i}\""
}
] | src/compressed-image.coffee | astrojs/fitsjs | 57 |
class CompressedImage extends BinaryTable
@include ImageUtils
@extend Decompress
# Predefined random number generator from http://arxiv.org/pdf/1201.1336v1.pdf
# This is the same method used by fpack when dithering images during compression.
@randomGenerator: ->
a = 16807
m = 2147483647
see... | 170205 |
class CompressedImage extends BinaryTable
@include ImageUtils
@extend Decompress
# Predefined random number generator from http://arxiv.org/pdf/1201.1336v1.pdf
# This is the same method used by fpack when dithering images during compression.
@randomGenerator: ->
a = 16807
m = 2147483647
see... | true |
class CompressedImage extends BinaryTable
@include ImageUtils
@extend Decompress
# Predefined random number generator from http://arxiv.org/pdf/1201.1336v1.pdf
# This is the same method used by fpack when dithering images during compression.
@randomGenerator: ->
a = 16807
m = 2147483647
see... |
[
{
"context": "sMissingHeaderWarning = true\n im\n\nCHANNEL_KEY = 'retailerA'\n\nuniqueId = (prefix) ->\n _.uniqueId \"#{prefix}#",
"end": 1038,
"score": 0.9416084885597229,
"start": 1029,
"tag": "KEY",
"value": "retailerA"
}
] | src/spec/integration/categoryOrderHint.spec.coffee | daern91/sphere-node-product-csv-sync | 0 | _ = require 'underscore'
_.mixin require('underscore-mixins')
{Import, Export} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ client_id, client_secret, project_key } = Config.config
authConfig = {
... | 202835 | _ = require 'underscore'
_.mixin require('underscore-mixins')
{Import, Export} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ client_id, client_secret, project_key } = Config.config
authConfig = {
... | true | _ = require 'underscore'
_.mixin require('underscore-mixins')
{Import, Export} = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ client_id, client_secret, project_key } = Config.config
authConfig = {
... |
[
{
"context": "ssertion')\n fakeToken = { userId: 'acct:hey@joe'}\n userSetter = fakeAnnotator.plugins.Auth",
"end": 1446,
"score": 0.6521413922309875,
"start": 1442,
"tag": "PASSWORD",
"value": "@joe"
},
{
"context": "h.user', ->\n assert.equal(auth.user, 'acct:h... | tests/js/auth-service-test.coffee | Treora/h | 0 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
fakeAnnotator = null
fakeIdentity = null
sandbox = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAnnotator = {
plugins: {
Auth:{
withToken: sand... | 81782 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
fakeAnnotator = null
fakeIdentity = null
sandbox = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAnnotator = {
plugins: {
Auth:{
withToken: sand... | true | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'h', ->
fakeAnnotator = null
fakeIdentity = null
sandbox = null
beforeEach module('h')
beforeEach module ($provide) ->
sandbox = sinon.sandbox.create()
fakeAnnotator = {
plugins: {
Auth:{
withToken: sand... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.7478528022766113,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecContentEditLayer.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
'../command/CommandPropertyChange'
'./SpecContentEditLayerExportable'
], (
dou
... | 17482 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
'../command/CommandPropertyChange'
'./SpecContentEditLayerExportable'
], (
dou
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
'../command/CommandPropertyChange'
'./SpecContentEditLayerExportable'
],... |
[
{
"context": " School Boys\"},\n {title: \"Trust You\", artist: \"Yuna Ito\", background: \"assets/images/snsd.jpg\"}\n ]\n\n ac",
"end": 270,
"score": 0.7631795406341553,
"start": 262,
"tag": "NAME",
"value": "Yuna Ito"
}
] | tests/dummy/app/controllers/tiles.coffee | simwms/simwms-assets | 0 | `import Ember from 'ember'`
TilesController = Ember.Controller.extend
tiles: [
{title: "Echo", artist: "GigaP", background: "assets/images/ahegao.jpg"},
{title: "From Dusk 'Til Dawn", artist: "Abington School Boys"},
{title: "Trust You", artist: "Yuna Ito", background: "assets/images/snsd.jpg"}
]
ac... | 225898 | `import Ember from 'ember'`
TilesController = Ember.Controller.extend
tiles: [
{title: "Echo", artist: "GigaP", background: "assets/images/ahegao.jpg"},
{title: "From Dusk 'Til Dawn", artist: "Abington School Boys"},
{title: "Trust You", artist: "<NAME>", background: "assets/images/snsd.jpg"}
]
acti... | true | `import Ember from 'ember'`
TilesController = Ember.Controller.extend
tiles: [
{title: "Echo", artist: "GigaP", background: "assets/images/ahegao.jpg"},
{title: "From Dusk 'Til Dawn", artist: "Abington School Boys"},
{title: "Trust You", artist: "PI:NAME:<NAME>END_PI", background: "assets/images/snsd.jpg... |
[
{
"context": " @sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222\n @sut.co",
"end": 631,
"score": 0.6586863398551941,
"start": 626,
"tag": "KEY",
"value": "token"
},
{
"context": "message',\n type: 'normal'\n to: 'uuid@m... | test/on-message-spec.coffee | octoblu/node-meshblu-xmpp | 1 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'on: message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on '... | 119865 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'on: message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on '... | true | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'on: message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on '... |
[
{
"context": "\tcell: 'Cell: +38 093 675 18 44'\n\t\temail: 'E-mail: info@despace.com'\n\n\n",
"end": 2578,
"score": 0.999928891658783,
"start": 2562,
"tag": "EMAIL",
"value": "info@despace.com"
}
] | locale/ua.coffee | winnlab/Despace | 0 | module.exports =
menu:
about: 'ми'
work: 'проекти'
blog: 'блог'
contact: 'контакти'
slogan:
partOne: 'ВАША ІСТОРІЯ.'
partTwo: 'НАШЕ НАТХНЕННЯ'
we:
we: 'Ми'
content: "<p>Привіт! Ми - DESPACE.</p>
<br>
<p>Ми молоді, творчі та ініціативні люди, які
обожнюють свою справу. Наша команда... | 74811 | module.exports =
menu:
about: 'ми'
work: 'проекти'
blog: 'блог'
contact: 'контакти'
slogan:
partOne: 'ВАША ІСТОРІЯ.'
partTwo: 'НАШЕ НАТХНЕННЯ'
we:
we: 'Ми'
content: "<p>Привіт! Ми - DESPACE.</p>
<br>
<p>Ми молоді, творчі та ініціативні люди, які
обожнюють свою справу. Наша команда... | true | module.exports =
menu:
about: 'ми'
work: 'проекти'
blog: 'блог'
contact: 'контакти'
slogan:
partOne: 'ВАША ІСТОРІЯ.'
partTwo: 'НАШЕ НАТХНЕННЯ'
we:
we: 'Ми'
content: "<p>Привіт! Ми - DESPACE.</p>
<br>
<p>Ми молоді, творчі та ініціативні люди, які
обожнюють свою справу. Наша команда... |
[
{
"context": "3 Flarebyte.com Ltd. All rights reserved.\nCreator: Olivier Huin\nContributors:\n###\n\n'use strict'\nmodules= [\n \"fla",
"end": 151,
"score": 0.9998737573623657,
"start": 139,
"tag": "NAME",
"value": "Olivier Huin"
}
] | nodejs/flarebyte.net/0.8/node/flaming/browser/js/app.coffee | flarebyte/wonderful-bazar | 0 | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: Olivier Huin
Contributors:
###
'use strict'
modules= [
"flamingApp.controllers"
"flamingApp.filters"
"flamingApp.services"
"flamingApp.directives"
"jmdobry.angular-cache"... | 122925 | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: <NAME>
Contributors:
###
'use strict'
modules= [
"flamingApp.controllers"
"flamingApp.filters"
"flamingApp.services"
"flamingApp.directives"
"jmdobry.angular-cache"
]
... | true | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: PI:NAME:<NAME>END_PI
Contributors:
###
'use strict'
modules= [
"flamingApp.controllers"
"flamingApp.filters"
"flamingApp.services"
"flamingApp.directives"
"jmdobry.angula... |
[
{
"context": "map to a dictionary-like string', ->\n hash = {'Jonathan': 24, 'Bash': 23, 'Matt': 26}\n\n it 'should not",
"end": 8809,
"score": 0.9820432066917419,
"start": 8801,
"tag": "NAME",
"value": "Jonathan"
},
{
"context": "ary-like string', ->\n hash = {'Jonathan': 2... | coffee/test/test_humanize.spec.coffee | hallucinogen/humanize | 1 | describe 'When using method via destructured assignment', ->
it 'should properly reference other Humanize methods', ->
spyOn(Humanize, 'capitalize').andCallThrough()
{titlecase} = Humanize
expect(titlecase('ship it')).toEqual('Ship It')
expect(Humanize.capitalize).toHaveBeenCalled()... | 69108 | describe 'When using method via destructured assignment', ->
it 'should properly reference other Humanize methods', ->
spyOn(Humanize, 'capitalize').andCallThrough()
{titlecase} = Humanize
expect(titlecase('ship it')).toEqual('Ship It')
expect(Humanize.capitalize).toHaveBeenCalled()... | true | describe 'When using method via destructured assignment', ->
it 'should properly reference other Humanize methods', ->
spyOn(Humanize, 'capitalize').andCallThrough()
{titlecase} = Humanize
expect(titlecase('ship it')).toEqual('Ship It')
expect(Humanize.capitalize).toHaveBeenCalled()... |
[
{
"context": "ss\n getDefaultProps: ->\n {\n name: 'Jon Snow'\n image: 'http://www.allmediany.com/bignai",
"end": 117,
"score": 0.994853675365448,
"start": 109,
"tag": "NAME",
"value": "Jon Snow"
},
{
"context": "k.jpg'\n fb_link: 'https://www.facebook.co... | app/assets/javascripts/components/catalog.jsx.coffee | gaiax-asia/describe_me | 0 | #Main View
jQuery ->
Component.Catalog = React.createClass
getDefaultProps: ->
{
name: 'Jon Snow'
image: 'http://www.allmediany.com/bignails/1343917142_blank.jpg'
fb_link: 'https://www.facebook.com/JonSnowWatcherOnTheWall'
description: 'He knows Nothing!'
description... | 100571 | #Main View
jQuery ->
Component.Catalog = React.createClass
getDefaultProps: ->
{
name: '<NAME>'
image: 'http://www.allmediany.com/bignails/1343917142_blank.jpg'
fb_link: 'https://www.facebook.com/JonSnowWatcherOnTheWall'
description: 'He knows Nothing!'
descriptions:... | true | #Main View
jQuery ->
Component.Catalog = React.createClass
getDefaultProps: ->
{
name: 'PI:NAME:<NAME>END_PI'
image: 'http://www.allmediany.com/bignails/1343917142_blank.jpg'
fb_link: 'https://www.facebook.com/JonSnowWatcherOnTheWall'
description: 'He knows Nothing!'
... |
[
{
"context": " reporter: 'Spec'\n urls: ['http://127.0.0.1:9000/index.html']\n\n yuidoc:\n compile:\n ",
"end": 2574,
"score": 0.7011075615882874,
"start": 2566,
"tag": "IP_ADDRESS",
"value": "27.0.0.1"
}
] | Gruntfile.coffee | tictail/tt.js | 7 | module.exports = (grunt) ->
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
config:
src: 'src'
test: 'test'
build: 'build'
tmp: '.tmp'
docs: '.tmp/docs'
coffee:
test:
expand: tru... | 14752 | module.exports = (grunt) ->
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
config:
src: 'src'
test: 'test'
build: 'build'
tmp: '.tmp'
docs: '.tmp/docs'
coffee:
test:
expand: tru... | true | module.exports = (grunt) ->
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
config:
src: 'src'
test: 'test'
build: 'build'
tmp: '.tmp'
docs: '.tmp/docs'
coffee:
test:
expand: tru... |
[
{
"context": "sification.annotations\n annotation._key = Math.random()\n task = @props.workflow.tasks[annotation",
"end": 444,
"score": 0.9441130757331848,
"start": 431,
"tag": "KEY",
"value": "Math.random()"
}
] | app/classifier/classification-summary.cjsx | Crentist/Panoptes-frontend-spanish | 1 | React = require 'react'
tasks = require './tasks'
module.exports = React.createClass
displayName: 'ClassificationSummary'
getDefaultProps: ->
workflow: null
classification: null
render: ->
<div className="classification-summary">
{if @props.classification.annotations.length is 0
'No a... | 47970 | React = require 'react'
tasks = require './tasks'
module.exports = React.createClass
displayName: 'ClassificationSummary'
getDefaultProps: ->
workflow: null
classification: null
render: ->
<div className="classification-summary">
{if @props.classification.annotations.length is 0
'No a... | true | React = require 'react'
tasks = require './tasks'
module.exports = React.createClass
displayName: 'ClassificationSummary'
getDefaultProps: ->
workflow: null
classification: null
render: ->
<div className="classification-summary">
{if @props.classification.annotations.length is 0
'No a... |
[
{
"context": " options.data.views\n }, {\n name: \"Просмотры\",\n pointStart: options.startDate",
"end": 2898,
"score": 0.5601512789726257,
"start": 2897,
"tag": "NAME",
"value": "П"
}
] | src/Vifeed/FrontendBundle/Resources/assets/js/analytics/services/chart-configurator.coffee | bzis/zomba | 0 | angular.module('analytics').factory 'ChartConfigurator', [
'$window', 'Statistics', ($window, Statistics) ->
'use strict'
new class ChartConfigurator
HOUR_IN_SECS = 3600000
HOURS_24 = 24
moment = $window.moment
highcharts = $window.Highcharts
getConfig: (opts = {}) ->
v... | 50562 | angular.module('analytics').factory 'ChartConfigurator', [
'$window', 'Statistics', ($window, Statistics) ->
'use strict'
new class ChartConfigurator
HOUR_IN_SECS = 3600000
HOURS_24 = 24
moment = $window.moment
highcharts = $window.Highcharts
getConfig: (opts = {}) ->
v... | true | angular.module('analytics').factory 'ChartConfigurator', [
'$window', 'Statistics', ($window, Statistics) ->
'use strict'
new class ChartConfigurator
HOUR_IN_SECS = 3600000
HOURS_24 = 24
moment = $window.moment
highcharts = $window.Highcharts
getConfig: (opts = {}) ->
v... |
[
{
"context": " @utils.setupHash @scope, [\n key : \"page\"\n post_change : () =>\n ",
"end": 278,
"score": 0.9256280660629272,
"start": 274,
"tag": "KEY",
"value": "page"
},
{
"context": " @utils.setupHash s, [\n key : \"read... | app/scripts/result_controllers.coffee | Keeleressursid/korp-frontend | 1 | korpApp = angular.module("korpApp")
korpApp.controller "resultContainerCtrl", ($scope, searches, $location) ->
$scope.searches = searches
class KwicCtrl
setupHash : () ->
c.log "setupHash", @scope.$id
@utils.setupHash @scope, [
key : "page"
post_change : () =>
... | 59319 | korpApp = angular.module("korpApp")
korpApp.controller "resultContainerCtrl", ($scope, searches, $location) ->
$scope.searches = searches
class KwicCtrl
setupHash : () ->
c.log "setupHash", @scope.$id
@utils.setupHash @scope, [
key : "<KEY>"
post_change : () =>
... | true | korpApp = angular.module("korpApp")
korpApp.controller "resultContainerCtrl", ($scope, searches, $location) ->
$scope.searches = searches
class KwicCtrl
setupHash : () ->
c.log "setupHash", @scope.$id
@utils.setupHash @scope, [
key : "PI:KEY:<KEY>END_PI"
post_change : ... |
[
{
"context": " event.o?.email\n event.o.email.should.eql 'billy@daventry.com'\n done()\n\n @watcher.ready =>\n @use",
"end": 1068,
"score": 0.9999218583106995,
"start": 1050,
"tag": "EMAIL",
"value": "billy@daventry.com"
},
{
"context": " @watcher.ready =>\n ... | test/mongo-watch.coffee | classdojo/mongo-watch | 1 | should = require 'should'
{Server, Db} = require 'mongodb'
{isEqual} = require 'lodash'
{inspect} = require 'util'
MongoWatch = require '../'
describe 'Mongo Watch', ->
before (done) ->
client = new Db 'test', new Server('localhost', 27017), {w: 1}
client.open (err) =>
return done err if err
... | 167449 | should = require 'should'
{Server, Db} = require 'mongodb'
{isEqual} = require 'lodash'
{inspect} = require 'util'
MongoWatch = require '../'
describe 'Mongo Watch', ->
before (done) ->
client = new Db 'test', new Server('localhost', 27017), {w: 1}
client.open (err) =>
return done err if err
... | true | should = require 'should'
{Server, Db} = require 'mongodb'
{isEqual} = require 'lodash'
{inspect} = require 'util'
MongoWatch = require '../'
describe 'Mongo Watch', ->
before (done) ->
client = new Db 'test', new Server('localhost', 27017), {w: 1}
client.open (err) =>
return done err if err
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986753463745117,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/zlib.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... | 205072 | # 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": "e.sync.set\n username: document.getElementById('username').value,\n password: document.getElementById('p",
"end": 90,
"score": 0.9713989496231079,
"start": 82,
"tag": "USERNAME",
"value": "username"
},
{
"context": "nt.getElementById('username').value,\n passwo... | src/options.coffee | ActionsPerMinute/Appdynamics-JIRA-Issue-Highlighter | 0 | saveOptions = ->
chrome.storage.sync.set
username: document.getElementById('username').value,
password: document.getElementById('password').value,
lastChecked: 0 # force a refresh on next load
, ->
status = document.getElementById('status')
status.textContent = 'Options saved.'
setTimeout ->... | 34981 | saveOptions = ->
chrome.storage.sync.set
username: document.getElementById('username').value,
password: <PASSWORD>.getElementById('<PASSWORD>').value,
lastChecked: 0 # force a refresh on next load
, ->
status = document.getElementById('status')
status.textContent = 'Options saved.'
setTimeou... | true | saveOptions = ->
chrome.storage.sync.set
username: document.getElementById('username').value,
password: PI:PASSWORD:<PASSWORD>END_PI.getElementById('PI:PASSWORD:<PASSWORD>END_PI').value,
lastChecked: 0 # force a refresh on next load
, ->
status = document.getElementById('status')
status.textCont... |
[
{
"context": "llection.count({}), 0\n\n document1 =\n foo: 'bar1'\n faa: 'zar'\n document1Id = testCollection.in",
"end": 217,
"score": 0.5469916462898254,
"start": 216,
"tag": "NAME",
"value": "1"
}
] | tests.coffee | peerlibrary/meteor-directcollection | 8 | Tinytest.add 'directcollection - basic', (test) ->
testCollection = new DirectCollection 'direct'
# First cleanup
testCollection.remove {}
test.equal testCollection.count({}), 0
document1 =
foo: 'bar1'
faa: 'zar'
document1Id = testCollection.insert document1
# insert should not modify document... | 9388 | Tinytest.add 'directcollection - basic', (test) ->
testCollection = new DirectCollection 'direct'
# First cleanup
testCollection.remove {}
test.equal testCollection.count({}), 0
document1 =
foo: 'bar<NAME>'
faa: 'zar'
document1Id = testCollection.insert document1
# insert should not modify doc... | true | Tinytest.add 'directcollection - basic', (test) ->
testCollection = new DirectCollection 'direct'
# First cleanup
testCollection.remove {}
test.equal testCollection.count({}), 0
document1 =
foo: 'barPI:NAME:<NAME>END_PI'
faa: 'zar'
document1Id = testCollection.insert document1
# insert should ... |
[
{
"context": "###\n* Cepat Sembuh v1.0\n* Copyright 2016 Cepat Sembuh\n###\n\ndataUrl = 'http://cepatsembuh.firebaseio.com",
"end": 53,
"score": 0.9998841881752014,
"start": 41,
"tag": "NAME",
"value": "Cepat Sembuh"
},
{
"context": "f = url\n return\n\nupdateBed = ->\n username = ... | js/coffee.coffee | cepatsembuh/admin | 0 | ###
* Cepat Sembuh v1.0
* Copyright 2016 Cepat Sembuh
###
dataUrl = 'http://cepatsembuh.firebaseio.com/'
getPasien = (faskes) ->
# Firebase ref
dataRef = new Firebase(dataUrl + faskes + '/pasien')
# Friendly message
alert 'Syncing data..'
# Show data
dataRef.once 'value', (snapshot) ->
data = snapshot... | 116416 | ###
* Cepat Sembuh v1.0
* Copyright 2016 <NAME>
###
dataUrl = 'http://cepatsembuh.firebaseio.com/'
getPasien = (faskes) ->
# Firebase ref
dataRef = new Firebase(dataUrl + faskes + '/pasien')
# Friendly message
alert 'Syncing data..'
# Show data
dataRef.once 'value', (snapshot) ->
data = snapshot.numCh... | true | ###
* Cepat Sembuh v1.0
* Copyright 2016 PI:NAME:<NAME>END_PI
###
dataUrl = 'http://cepatsembuh.firebaseio.com/'
getPasien = (faskes) ->
# Firebase ref
dataRef = new Firebase(dataUrl + faskes + '/pasien')
# Friendly message
alert 'Syncing data..'
# Show data
dataRef.once 'value', (snapshot) ->
data = ... |
[
{
"context": "'\n\njson =\n breakfastMenuMap:\n name: 'Belgian Waffles',\n price: '$5.95'\n breakfastMenuArray: [\n ",
"end": 105,
"score": 0.5793837904930115,
"start": 99,
"tag": "NAME",
"value": "affles"
},
{
"context": "95'\n breakfastMenuArray: [\n { name: 'Belgian... | test/transform.coffee | mohan-chinnappan-n/json2json | 1 | require('chai').should()
json2json = require '../'
json =
breakfastMenuMap:
name: 'Belgian Waffles',
price: '$5.95'
breakfastMenuArray: [
{ name: 'Belgian Waffles', price: '$5.95' }
]
sportsTeams: [
{ id: 'yankees', name: 'New York Yankees', players: [ 'Alex', 'Starlin' ] }
{ id: 'cubs', na... | 208708 | require('chai').should()
json2json = require '../'
json =
breakfastMenuMap:
name: 'Belgian W<NAME>',
price: '$5.95'
breakfastMenuArray: [
{ name: 'Belgian W<NAME>les', price: '$5.95' }
]
sportsTeams: [
{ id: 'yanke<NAME>', name: '<NAME>', players: [ '<NAME>', '<NAME>' ] }
{ id: 'cubs', name... | true | require('chai').should()
json2json = require '../'
json =
breakfastMenuMap:
name: 'Belgian WPI:NAME:<NAME>END_PI',
price: '$5.95'
breakfastMenuArray: [
{ name: 'Belgian WPI:NAME:<NAME>END_PIles', price: '$5.95' }
]
sportsTeams: [
{ id: 'yankePI:NAME:<NAME>END_PI', name: 'PI:NAME:<NAME>END_PI', ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992115497589111,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-cluster-setup-master.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... | 215646 | # 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": "uts: [{name: \"email\", type: \"text\", placeholder: \"email@example.com\"}, {type: \"submit\", value: \"Далее\"}]\n onSubm",
"end": 193,
"score": 0.9999038577079773,
"start": 176,
"tag": "EMAIL",
"value": "email@example.com"
},
{
"context": "url: \"https://docs.go... | examples/email.js.coffee | ulitiy/WidLib | 1 | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
enter:
body: "Enter your email"
inputs: [{name: "email", type: "text", placeholder: "email@example.com"}, {type: "submit", value: "Далее"}]
onSubmit: (input)->
@addData("emails",input.email)
@addData("notify... | 33433 | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
enter:
body: "Enter your email"
inputs: [{name: "email", type: "text", placeholder: "<EMAIL>"}, {type: "submit", value: "Далее"}]
onSubmit: (input)->
@addData("emails",input.email)
@addData("notify",input.em... | true | widget=new Widlib.Widget template: "pizza"
widget.setRemoteScript
pages:
enter:
body: "Enter your email"
inputs: [{name: "email", type: "text", placeholder: "PI:EMAIL:<EMAIL>END_PI"}, {type: "submit", value: "Далее"}]
onSubmit: (input)->
@addData("emails",input.email)
@addData("n... |
[
{
"context": " space: spaceId,\n owner: userId\n }, {\n fields: {\n ",
"end": 12630,
"score": 0.6365542411804199,
"start": 12624,
"tag": "NAME",
"value": "userId"
},
{
"context": "n.findOne({ space: spaceId, owner: userId, user... | creator/packages/steedos-love/server/lib/love_manager.coffee | yicone/steedos-platform | 42 | LoveManager = {
answerObjectNames: ['love_answer','love_answer2','love_test']
loveMiniAppId: 'wx033a2ed30bf98cc2'
}
LoveManager.caculateResult = (loveSpaceId, userIds) ->
check loveSpaceId, String
console.time 'caculateScore'
topNumber = 10
loveMiniAppId = LoveManager.loveMiniAppId
loveAb... | 219579 | LoveManager = {
answerObjectNames: ['love_answer','love_answer2','love_test']
loveMiniAppId: 'wx033a2ed30bf98cc2'
}
LoveManager.caculateResult = (loveSpaceId, userIds) ->
check loveSpaceId, String
console.time 'caculateScore'
topNumber = 10
loveMiniAppId = LoveManager.loveMiniAppId
loveAb... | true | LoveManager = {
answerObjectNames: ['love_answer','love_answer2','love_test']
loveMiniAppId: 'wx033a2ed30bf98cc2'
}
LoveManager.caculateResult = (loveSpaceId, userIds) ->
check loveSpaceId, String
console.time 'caculateScore'
topNumber = 10
loveMiniAppId = LoveManager.loveMiniAppId
loveAb... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998911619186401,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/seeders/manufactures/tags.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
faker = require 'faker'
###
Create tags demo data
###
module.exports = (number) ->
# demo data container
demoData = []
# create articles for each user
for ... | 139903 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
faker = require 'faker'
###
Create tags demo data
###
module.exports = (number) ->
# demo data container
demoData = []
# create articles for each user
for i in [0..number-1]
... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
faker = require 'faker'
###
Create tags demo data
###
module.exports = (number) ->
# demo data container
demoData = []
# create articles for each us... |
[
{
"context": "nId:'0123456789012345678900aa'\n\n validPassword: 'mw123456789!'\n\n validAuthorization:\n provider : \"facebook\"\n",
"end": 228,
"score": 0.9991371631622314,
"start": 217,
"tag": "PASSWORD",
"value": "mw123456789"
},
{
"context": " 'tesrt'\n providerType : \"X... | test/support/fixtures.coffee | codedoctor/hapi-routes-users-authorizations | 1 |
module.exports =
clientId: '01234567890123456789000a'
_tenantId: '01234567890123456789000b'
invalidUserId: '0123456789012345678900aa'
invalidAuthorizationId:'0123456789012345678900aa'
validPassword: 'mw123456789!'
validAuthorization:
provider : "facebook"
key : "this is a long key"
v1 : ... | 219086 |
module.exports =
clientId: '01234567890123456789000a'
_tenantId: '01234567890123456789000b'
invalidUserId: '0123456789012345678900aa'
invalidAuthorizationId:'0123456789012345678900aa'
validPassword: '<PASSWORD>!'
validAuthorization:
provider : "facebook"
key : "this is a long key"
v1 : "... | true |
module.exports =
clientId: '01234567890123456789000a'
_tenantId: '01234567890123456789000b'
invalidUserId: '0123456789012345678900aa'
invalidAuthorizationId:'0123456789012345678900aa'
validPassword: 'PI:PASSWORD:<PASSWORD>END_PI!'
validAuthorization:
provider : "facebook"
key : "this is a lo... |
[
{
"context": "method. Should return an object like { username: 'username', balance: balanceInSatoshis }\"))\n\n updateBalanc",
"end": 3767,
"score": 0.9967118501663208,
"start": 3759,
"tag": "USERNAME",
"value": "username"
},
{
"context": " =>\n @setBalance(p.balance)\n @u... | js/martingala.coffee | eromirou/martingala | 0 | class Evented
emit: (eventName, args...) -> $(@).trigger(eventName, args...)
on: (eventName, callback) -> $(@).on(eventName, callback.bind(@))
one: (eventName, callback) -> $(@).one(eventName, callback.bind(@))
window.Martingala = class Martingala extends Evented
@accessor 'multiplier',
set: (v) -> @_multi... | 176483 | class Evented
emit: (eventName, args...) -> $(@).trigger(eventName, args...)
on: (eventName, callback) -> $(@).on(eventName, callback.bind(@))
one: (eventName, callback) -> $(@).one(eventName, callback.bind(@))
window.Martingala = class Martingala extends Evented
@accessor 'multiplier',
set: (v) -> @_multi... | true | class Evented
emit: (eventName, args...) -> $(@).trigger(eventName, args...)
on: (eventName, callback) -> $(@).on(eventName, callback.bind(@))
one: (eventName, callback) -> $(@).one(eventName, callback.bind(@))
window.Martingala = class Martingala extends Evented
@accessor 'multiplier',
set: (v) -> @_multi... |
[
{
"context": "ash\n\t\t\t# Hash of 'testpassword'\n\t\t\t@testPassword = '$2a$12$zhtThy3R5tLtw5sCwr5XD.zhPENGn4ecjeMcP87oYSYrIICFqBpei'\n\n\t\tdescribe \"authenticate\", ->\n\t\t\tbeforeEach ->\n",
"end": 1149,
"score": 0.9995067715644836,
"start": 1088,
"tag": "PASSWORD",
"value": "'$2a$12$... | test/unit/coffee/Authentication/AuthenticationManagerTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationManager.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
ObjectId = require("mongojs").ObjectId
Errors = require "../../../../app/... | 37007 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationManager.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
ObjectId = require("mongojs").ObjectId
Errors = require "../../../../app/... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authentication/AuthenticationManager.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
ObjectId = require("mongojs").ObjectId
Errors = require "../../../../app/... |
[
{
"context": "min\"\n\ngoodtoken = querystring.stringify({ token: 'abc123' })\nbadtoken = querystring.stringify({ token: 'f'",
"end": 303,
"score": 0.9696382880210876,
"start": 297,
"tag": "KEY",
"value": "abc123"
},
{
"context": "time', ->\n beforeEach ->\n @room.user.say 'a... | tests/scripts/test_diagnostics.coffee | fangamer/ibizan | 0 |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
querystring = require('querystring')
helper = new Helper('../../src/scripts/diagnostics.coffee')
process.env.ORG_NAME = "test"
process.env.ADMINS = "admin"
goodtoken = querystring.stringify({ token: 'abc123' })
badtoken = q... | 176670 |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
querystring = require('querystring')
helper = new Helper('../../src/scripts/diagnostics.coffee')
process.env.ORG_NAME = "test"
process.env.ADMINS = "admin"
goodtoken = querystring.stringify({ token: '<KEY>' })
badtoken = qu... | true |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
querystring = require('querystring')
helper = new Helper('../../src/scripts/diagnostics.coffee')
process.env.ORG_NAME = "test"
process.env.ADMINS = "admin"
goodtoken = querystring.stringify({ token: 'PI:KEY:<KEY>END_PI' })
... |
[
{
"context": " notebooks: 1\n accessToken: 'abc'\n timeout: 8000\n de",
"end": 4363,
"score": 0.884092390537262,
"start": 4360,
"tag": "KEY",
"value": "abc"
},
{
"context": "id is 1\n assert client.accessToken is 'abc'\n ... | spec/loopback-promised.coffee | CureApp/loopback-promised | 10 |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
LoopbackRelatedClient = require '../src/loopback-related-client'
PushManager = require '../src/push-manager'
before ->
@timeou... | 115979 |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
LoopbackRelatedClient = require '../src/loopback-related-client'
PushManager = require '../src/push-manager'
before ->
@timeou... | true |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
LoopbackRelatedClient = require '../src/loopback-related-client'
PushManager = require '../src/push-manager'
before ->
@timeou... |
[
{
"context": " color conversions\n * \n * Copyright (c) 2011-2015, Gregor Aisch\n * All rights reserved.\n * \n * Redistribution and",
"end": 120,
"score": 0.999865710735321,
"start": 108,
"tag": "NAME",
"value": "Gregor Aisch"
},
{
"context": "provided with the distribution.\n * \n ... | node_modules/chroma-js/docs/license.coffee | Dozacode/ResumeChain | 4 | ###*
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2015, Gregor Aisch
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributi... | 208262 | ###*
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2015, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of... | true | ###*
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2015, PI:NAME:<NAME>END_PI
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redi... |
[
{
"context": ".ajax\n method: 'POST'\n url: 'http://54.169.214.119:3000/changes'\n dataType: 'json'\n da",
"end": 2721,
"score": 0.9986683130264282,
"start": 2707,
"tag": "IP_ADDRESS",
"value": "54.169.214.119"
}
] | public/js/docs.coffee | coadotvn/clicklion-docs-generator | 0 | unless ClickLion? then window.ClickLion = {}
ClickLion['docs'] =
ready: () ->
lockBody = () ->
$ 'body'
.addClass 'locked'
$ '.fixed-menu'
.removeClass 'hfso'
unlockBody = () ->
$ 'body'
.removeClass 'locked'
$ '.fixed-menu'
.addClass 'hfso'
in... | 29900 | unless ClickLion? then window.ClickLion = {}
ClickLion['docs'] =
ready: () ->
lockBody = () ->
$ 'body'
.addClass 'locked'
$ '.fixed-menu'
.removeClass 'hfso'
unlockBody = () ->
$ 'body'
.removeClass 'locked'
$ '.fixed-menu'
.addClass 'hfso'
in... | true | unless ClickLion? then window.ClickLion = {}
ClickLion['docs'] =
ready: () ->
lockBody = () ->
$ 'body'
.addClass 'locked'
$ '.fixed-menu'
.removeClass 'hfso'
unlockBody = () ->
$ 'body'
.removeClass 'locked'
$ '.fixed-menu'
.addClass 'hfso'
in... |
[
{
"context": "roup\"]\n [\"bravo\", \"Bravo Group\"]\n [\"charlie\",\"Charlie Group\"]\n ]\n ,\n type: \"card\"",
"end": 2146,
"score": 0.9182879328727722,
"start": 2142,
"tag": "NAME",
"value": "char"
},
{
"context": " [\"bravo\", \"Bravo Group\"]\n ... | site/source/app/assets/javascripts/docs/views/views/form_view_examples/complex_layout.coffee | datapimp/luca | 4 | # The `Docs.views.ComplexLayoutForm` is an example of a `Luca.components.FormView` which contains
# a nested container, and which uses the bootstrap grid helper properties `@rowFluid` and `@span`
# to arrange the nested components inside of a grid layout.
#
# In addition to laying out the form components visually, the... | 198158 | # The `Docs.views.ComplexLayoutForm` is an example of a `Luca.components.FormView` which contains
# a nested container, and which uses the bootstrap grid helper properties `@rowFluid` and `@span`
# to arrange the nested components inside of a grid layout.
#
# In addition to laying out the form components visually, the... | true | # The `Docs.views.ComplexLayoutForm` is an example of a `Luca.components.FormView` which contains
# a nested container, and which uses the bootstrap grid helper properties `@rowFluid` and `@span`
# to arrange the nested components inside of a grid layout.
#
# In addition to laying out the form components visually, the... |
[
{
"context": "nges', ->\n component = @subject(model1: { name: 'foo' })\n @append()\n\n Ember.run ->\n component.set",
"end": 2663,
"score": 0.8761013746261597,
"start": 2660,
"tag": "NAME",
"value": "foo"
}
] | tests/unit/mixins/polling-test.coffee | 2947721120/travis-web | 0 | `import { test, moduleForComponent } from 'ember-qunit'`
`import Polling from 'travis/mixins/polling'`
hookRuns = 0
pollingChangesHistory = []
# define component just for testing
define('travis/components/polling-test', [], ->
PollingService = Ember.Object.extend(
startPolling: (model) ->
pollingChangesHi... | 145760 | `import { test, moduleForComponent } from 'ember-qunit'`
`import Polling from 'travis/mixins/polling'`
hookRuns = 0
pollingChangesHistory = []
# define component just for testing
define('travis/components/polling-test', [], ->
PollingService = Ember.Object.extend(
startPolling: (model) ->
pollingChangesHi... | true | `import { test, moduleForComponent } from 'ember-qunit'`
`import Polling from 'travis/mixins/polling'`
hookRuns = 0
pollingChangesHistory = []
# define component just for testing
define('travis/components/polling-test', [], ->
PollingService = Ember.Object.extend(
startPolling: (model) ->
pollingChangesHi... |
[
{
"context": "ategy to test the Baker, NOT optimized\n{\n name: 'Big Money-Baker'\n author: 'DStu'\n requires: ['Baker",
"end": 57,
"score": 0.7864486575126648,
"start": 54,
"tag": "NAME",
"value": "Big"
},
{
"context": " optimized\n{\n name: 'Big Money-Baker'\n author: 'DStu'\n... | strategies/BigMoneyBaker.coffee | rspeer/dominiate | 65 | #strategy to test the Baker, NOT optimized
{
name: 'Big Money-Baker'
author: 'DStu'
requires: ['Baker']
gainPriority: (state, my) -> [
"Province" if my.getTotalMoney() > 18
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Baker"
"Silver"
]
}
| 4113 | #strategy to test the Baker, NOT optimized
{
name: '<NAME> Money-Baker'
author: 'DStu'
requires: ['Baker']
gainPriority: (state, my) -> [
"Province" if my.getTotalMoney() > 18
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Baker"
"Silver"
]
}
| true | #strategy to test the Baker, NOT optimized
{
name: 'PI:NAME:<NAME>END_PI Money-Baker'
author: 'DStu'
requires: ['Baker']
gainPriority: (state, my) -> [
"Province" if my.getTotalMoney() > 18
"Duchy" if state.gainsToEndGame() <= 4
"Estate" if state.gainsToEndGame() <= 2
"Gold"
"Baker"
"Sil... |
[
{
"context": "ement\n\t@id: \"christmasLoginAchievement\"\n\t@title: \"HAPPY WINTER HOLIDAYS\"\n\t@description: \"ALL THE SNOWCHASERS HAVE GONE OU",
"end": 293,
"score": 0.6787737607955933,
"start": 272,
"tag": "NAME",
"value": "HAPPY WINTER HOLIDAYS"
}
] | app/sdk/achievements/loginBasedAchievements/christmasLoginAchievement.coffee | willroberts/duelyst | 5 | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ChristmasLoginAchievement extends Achievement
@id: "christmasLoginAchievement"
@title: "HAPPY WINTER HOLIDAYS"
@description: "ALL THE S... | 195999 | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ChristmasLoginAchievement extends Achievement
@id: "christmasLoginAchievement"
@title: "<NAME>"
@description: "ALL THE SNOWCHASERS HAVE... | true | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ChristmasLoginAchievement extends Achievement
@id: "christmasLoginAchievement"
@title: "PI:NAME:<NAME>END_PI"
@description: "ALL THE SN... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9979431629180908,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-raw-headers.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... | 115611 | # 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": "dy: \"{\\n \\\"type\\\": \\\"bulldozer\\\",\\n \\\"name\\\": \\\"willy\\\",\\n \\\"id\\\": \\\"5229c6e8e4b0bd7dbb07e29c\\\"\\n}\\n\"\n",
"end": 2360,
"score": 0.9989495873451233,
"start": 2355,
"tag": "NAME",
"value": "willy"
},
{
"context": "dy: \"{\\n \\\"type\\\"... | test/unit/reporters/apiary-reporter-test.coffee | jasonrayles-nbcuni/dredd-public | 0 | {assert} = require 'chai'
{EventEmitter} = require 'events'
proxyquire = require 'proxyquire'
nock = require 'nock'
nock.enableNetConnect()
clone = require 'clone'
sinon = require 'sinon'
loggerStub = require '../../../src/logger'
ApiaryReporter = proxyquire '../../../src/reporters/apiary-reporter', {
'./../logger':... | 128698 | {assert} = require 'chai'
{EventEmitter} = require 'events'
proxyquire = require 'proxyquire'
nock = require 'nock'
nock.enableNetConnect()
clone = require 'clone'
sinon = require 'sinon'
loggerStub = require '../../../src/logger'
ApiaryReporter = proxyquire '../../../src/reporters/apiary-reporter', {
'./../logger':... | true | {assert} = require 'chai'
{EventEmitter} = require 'events'
proxyquire = require 'proxyquire'
nock = require 'nock'
nock.enableNetConnect()
clone = require 'clone'
sinon = require 'sinon'
loggerStub = require '../../../src/logger'
ApiaryReporter = proxyquire '../../../src/reporters/apiary-reporter', {
'./../logger':... |
[
{
"context": "edentials.password'))\n# username.sendKeys 'demo'\n# password.sendKeys 'demodemo'\n# f",
"end": 1169,
"score": 0.9973908066749573,
"start": 1165,
"tag": "USERNAME",
"value": "demo"
},
{
"context": "rname.sendKeys 'demo'\n# password.sendKeys '... | public/modules/core/e2e/main-spec.coffee | amIwho/words | 0 |
Pages = require './pages'
Mocks = require './mocks'
describe 'Aughentication', ->
ptor = protractor.getInstance()
ptor.addMockModule 'httpBackendMock', Mocks.httpBackendMock
login_page = new Pages.LoginPage()
it
#
#
#
#
#
#describe '500 words', ->
#
# it 'should have a title, welcome message, register and... | 23558 |
Pages = require './pages'
Mocks = require './mocks'
describe 'Aughentication', ->
ptor = protractor.getInstance()
ptor.addMockModule 'httpBackendMock', Mocks.httpBackendMock
login_page = new Pages.LoginPage()
it
#
#
#
#
#
#describe '500 words', ->
#
# it 'should have a title, welcome message, register and... | true |
Pages = require './pages'
Mocks = require './mocks'
describe 'Aughentication', ->
ptor = protractor.getInstance()
ptor.addMockModule 'httpBackendMock', Mocks.httpBackendMock
login_page = new Pages.LoginPage()
it
#
#
#
#
#
#describe '500 words', ->
#
# it 'should have a title, welcome message, register and... |
[
{
"context": "ion: ( key )=>\n\t\todef =\n\t\t\tget: =>\n\t\t\t\tif key is \"needleLengthFactor\" and not @opt[ key ]?\n\t\t\t\t\treturn @opt[ \"thicknes",
"end": 1106,
"score": 0.9454299807548523,
"start": 1088,
"tag": "KEY",
"value": "needleLengthFactor"
}
] | _src/js/gauge.coffee | mpneuried/tcs-charts | 1 | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_Gauge = class Gauge extends _Base
defaults:
width: 500
margin: 0
startAngle: -75
endAngle: 75
thicknessFactor: .8
needleLengthFactor: null
bgColor: "#ddd"
needleColor: "#333"
fixe... | 202047 | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_Gauge = class Gauge extends _Base
defaults:
width: 500
margin: 0
startAngle: -75
endAngle: 75
thicknessFactor: .8
needleLengthFactor: null
bgColor: "#ddd"
needleColor: "#333"
fixe... | true | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_Gauge = class Gauge extends _Base
defaults:
width: 500
margin: 0
startAngle: -75
endAngle: 75
thicknessFactor: .8
needleLengthFactor: null
bgColor: "#ddd"
needleColor: "#333"
fixe... |
[
{
"context": "st) ->\n\n casper.start url(\"/\")\n login profile: \"cersei\", next: \"/admin\"\n # Creates a review in order to",
"end": 258,
"score": 0.9992973208427429,
"start": 252,
"tag": "USERNAME",
"value": "cersei"
},
{
"context": "assertHttpStatus 200\n test.assertTitle... | tests/integration/test-admin.coffee | christophetd/courseadvisor | 19 | ###
test-comments.coffee
Tests admin page
###
{url, screenshot, login, randomStr, waitForPage} = require './utils.coffee'
casper.test.begin "Unauthenticated user cannot access admin page", 2, (test) ->
casper.start url("/")
login profile: "cersei", next: "/admin"
# Creates a review in order to comment
c... | 49729 | ###
test-comments.coffee
Tests admin page
###
{url, screenshot, login, randomStr, waitForPage} = require './utils.coffee'
casper.test.begin "Unauthenticated user cannot access admin page", 2, (test) ->
casper.start url("/")
login profile: "cersei", next: "/admin"
# Creates a review in order to comment
c... | true | ###
test-comments.coffee
Tests admin page
###
{url, screenshot, login, randomStr, waitForPage} = require './utils.coffee'
casper.test.begin "Unauthenticated user cannot access admin page", 2, (test) ->
casper.start url("/")
login profile: "cersei", next: "/admin"
# Creates a review in order to comment
c... |
[
{
"context": "ngodb_username = process.env.mongodb_username || \"admin\"\nmongodb_password = process.env.mongodb_password ",
"end": 828,
"score": 0.9887864589691162,
"start": 823,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "ngodb_password = process.env.mongodb_password || \"... | server.coffee | dfraser74/whoislikingyou | 0 | #require internal libraries
myMiddleware = require "./business-layer/common/middleware"
myErrorHandler = require "./business-layer/common/errorHandler"
myAuthentication = require "./business-layer/common/authentication"
myRoutes = require "./business-layer/common/routes"
mySocketRoutes = require "./business-layer/commo... | 38668 | #require internal libraries
myMiddleware = require "./business-layer/common/middleware"
myErrorHandler = require "./business-layer/common/errorHandler"
myAuthentication = require "./business-layer/common/authentication"
myRoutes = require "./business-layer/common/routes"
mySocketRoutes = require "./business-layer/commo... | true | #require internal libraries
myMiddleware = require "./business-layer/common/middleware"
myErrorHandler = require "./business-layer/common/errorHandler"
myAuthentication = require "./business-layer/common/authentication"
myRoutes = require "./business-layer/common/routes"
mySocketRoutes = require "./business-layer/commo... |
[
{
"context": "opyright 2013 Canopy Canopy Canopy, Inc.\n# Authors Adam Florin & Anthony Tran\n#\nclass Alongslide\n\n panels :",
"end": 123,
"score": 0.9997434616088867,
"start": 112,
"tag": "NAME",
"value": "Adam Florin"
},
{
"context": "Canopy Canopy Canopy, Inc.\n# Authors Ad... | app/assets/javascripts/alongslide/alongslide.coffee | triplecanopy/alongslide | 33 | #
# alongslide.cofee: Central init, pull in submodules.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors Adam Florin & Anthony Tran
#
class Alongslide
panels : {}
sections : {}
parser : null
layout : null
scrolling : null
state : null
constructor: (options= {}) ->
@source ... | 123850 | #
# alongslide.cofee: Central init, pull in submodules.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors <NAME> & <NAME>
#
class Alongslide
panels : {}
sections : {}
parser : null
layout : null
scrolling : null
state : null
constructor: (options= {}) ->
@source = $(opti... | true | #
# alongslide.cofee: Central init, pull in submodules.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
class Alongslide
panels : {}
sections : {}
parser : null
layout : null
scrolling : null
state : null
constructor: (options= {}) -... |
[
{
"context": ").andCallFake -> Promise.resolve()\n @myName = \"Ben Tester\"\n @myEmail = \"tester@nylas.com\"\n @event = n",
"end": 403,
"score": 0.9998837113380432,
"start": 393,
"tag": "NAME",
"value": "Ben Tester"
},
{
"context": "olve()\n @myName = \"Ben Tester\"\n ... | packages/client-app/spec/tasks/event-rsvp-task-spec.coffee | cnheider/nylas-mail | 24,369 | _ = require 'underscore'
{NylasAPI,
NylasAPIRequest,
Event,
Actions,
APIError,
EventRSVPTask,
DatabaseStore,
DatabaseWriter,
AccountStore} = require 'nylas-exports'
xdescribe "EventRSVPTask", ->
beforeEach ->
spyOn(DatabaseStore, 'find').andCallFake => Promise.resolve(@event)
spyOn(DatabaseWriter.pr... | 123293 | _ = require 'underscore'
{NylasAPI,
NylasAPIRequest,
Event,
Actions,
APIError,
EventRSVPTask,
DatabaseStore,
DatabaseWriter,
AccountStore} = require 'nylas-exports'
xdescribe "EventRSVPTask", ->
beforeEach ->
spyOn(DatabaseStore, 'find').andCallFake => Promise.resolve(@event)
spyOn(DatabaseWriter.pr... | true | _ = require 'underscore'
{NylasAPI,
NylasAPIRequest,
Event,
Actions,
APIError,
EventRSVPTask,
DatabaseStore,
DatabaseWriter,
AccountStore} = require 'nylas-exports'
xdescribe "EventRSVPTask", ->
beforeEach ->
spyOn(DatabaseStore, 'find').andCallFake => Promise.resolve(@event)
spyOn(DatabaseWriter.pr... |
[
{
"context": "ls.extend @getInitialState(), options.state\n\n { firstName, lastName } = whoami().profile\n\n clearValidati",
"end": 386,
"score": 0.7638924717903137,
"start": 377,
"tag": "NAME",
"value": "firstName"
},
{
"context": "getInitialState(), options.state\n\n { fir... | client/app/lib/payment/stripeformview.coffee | ezgikaysi/koding | 1 | $ = require 'jquery'
whoami = require '../util/whoami'
showError = require '../util/showError'
kd = require 'kd'
KDFormViewWithFields = kd.FormViewWithFields
module.exports = class StripeFormView extends KDFormViewWithFields
getInitialState: -> kd.utils.dict()
constructor: (options = {}, data) ->
@state = ... | 208399 | $ = require 'jquery'
whoami = require '../util/whoami'
showError = require '../util/showError'
kd = require 'kd'
KDFormViewWithFields = kd.FormViewWithFields
module.exports = class StripeFormView extends KDFormViewWithFields
getInitialState: -> kd.utils.dict()
constructor: (options = {}, data) ->
@state = ... | true | $ = require 'jquery'
whoami = require '../util/whoami'
showError = require '../util/showError'
kd = require 'kd'
KDFormViewWithFields = kd.FormViewWithFields
module.exports = class StripeFormView extends KDFormViewWithFields
getInitialState: -> kd.utils.dict()
constructor: (options = {}, data) ->
@state = ... |
[
{
"context": "d.json',\n data:\n user:\n name: username\n email: email\n dataType: 'json'\n ",
"end": 219,
"score": 0.6694516539573669,
"start": 211,
"tag": "NAME",
"value": "username"
},
{
"context": "d, background, func) ->\n parameters = use... | app/javascript/src/legacy/user.coffee | proteanblank/moebooru | 1 | window.User =
checkXhr: null
cancel_check: ->
User.checkXhr?.abort()
reset_password: (username, email, func) ->
jQuery.ajax '/user/reset_password.json',
data:
user:
name: username
email: email
dataType: 'json'
method: 'POST'
.done func
.fail (xhr) ->... | 179218 | window.User =
checkXhr: null
cancel_check: ->
User.checkXhr?.abort()
reset_password: (username, email, func) ->
jQuery.ajax '/user/reset_password.json',
data:
user:
name: <NAME>
email: email
dataType: 'json'
method: 'POST'
.done func
.fail (xhr) ->
... | true | window.User =
checkXhr: null
cancel_check: ->
User.checkXhr?.abort()
reset_password: (username, email, func) ->
jQuery.ajax '/user/reset_password.json',
data:
user:
name: PI:NAME:<NAME>END_PI
email: email
dataType: 'json'
method: 'POST'
.done func
.f... |
[
{
"context": "')\n i = 0\n ++i while target.get_(key = \"untitled#{i}\")?\n key\n )\n bind('name-exists', from('target",
"end": 786,
"score": 0.9473387598991394,
"start": 772,
"tag": "KEY",
"value": "untitled#{i}\")"
}
] | inspect/src/model/panel-view.coffee | issa-tseng/janus | 11 | { DomView, template, find, from, Model, attribute, bind, validate } = require('janus')
{ valid, error } = require('janus').types.validity
{ InspectorView } = require('../common/inspector')
{ reference } = require('../common/types')
{ tryValuate } = require('../common/valuate')
$ = require('../dollar')
{ KeyPair, Mapped... | 99464 | { DomView, template, find, from, Model, attribute, bind, validate } = require('janus')
{ valid, error } = require('janus').types.validity
{ InspectorView } = require('../common/inspector')
{ reference } = require('../common/types')
{ tryValuate } = require('../common/valuate')
$ = require('../dollar')
{ KeyPair, Mapped... | true | { DomView, template, find, from, Model, attribute, bind, validate } = require('janus')
{ valid, error } = require('janus').types.validity
{ InspectorView } = require('../common/inspector')
{ reference } = require('../common/types')
{ tryValuate } = require('../common/valuate')
$ = require('../dollar')
{ KeyPair, Mapped... |
[
{
"context": "lation's collection of nests.\n\nhttps://github.com/NicMcPhee/whooping-crane-model\n\nCopyright (c) 2015 Nic McPh",
"end": 85,
"score": 0.9993564486503601,
"start": 76,
"tag": "USERNAME",
"value": "NicMcPhee"
},
{
"context": "NicMcPhee/whooping-crane-model\n\nCopyright ... | src/lib/nesting.coffee | NicMcPhee/whooping-crane-model | 0 | ###
Basic model of a population's collection of nests.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 Nic McPhee
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
Nest = require './nest'
# Move shuffle, chunk to a util fi... | 208990 | ###
Basic model of a population's collection of nests.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 <NAME>
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
Nest = require './nest'
# Move shuffle, chunk to a util file
... | true | ###
Basic model of a population's collection of nests.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
Nest = require './nest'
# Move shuffle, chunk to... |
[
{
"context": "legs': '足'\n 'cash': {\n 'unit':'G'\n 'name':'ゴールド'\n }\n}\n\nc.EQUIP_POSITONS = [\n 'left_hand'\n 'rig",
"end": 1881,
"score": 0.706115186214447,
"start": 1877,
"tag": "NAME",
"value": "ゴールド"
}
] | src/main/common/constants.coffee | fukuyama/tmlib-rpg | 0 | # node.js と ブラウザでの this.rpg を同じインスタンスにする
_g = window ? global ? @
rpg = _g.rpg = _g.rpg ? {}
rpg.constants = rpg.constants ? {}
c = rpg.constants
# 移動制限定数、移動できる方向が true
# 方向は [2,4,6,8] の位置パラメータ
# VXAce にならって乗り物も入れるか…?
c.MOVE_RESTRICTION = {
ALLOK: [true ,true ,true ,true ]
UPOK: [false,false,false,true ]
... | 85682 | # node.js と ブラウザでの this.rpg を同じインスタンスにする
_g = window ? global ? @
rpg = _g.rpg = _g.rpg ? {}
rpg.constants = rpg.constants ? {}
c = rpg.constants
# 移動制限定数、移動できる方向が true
# 方向は [2,4,6,8] の位置パラメータ
# VXAce にならって乗り物も入れるか…?
c.MOVE_RESTRICTION = {
ALLOK: [true ,true ,true ,true ]
UPOK: [false,false,false,true ]
... | true | # node.js と ブラウザでの this.rpg を同じインスタンスにする
_g = window ? global ? @
rpg = _g.rpg = _g.rpg ? {}
rpg.constants = rpg.constants ? {}
c = rpg.constants
# 移動制限定数、移動できる方向が true
# 方向は [2,4,6,8] の位置パラメータ
# VXAce にならって乗り物も入れるか…?
c.MOVE_RESTRICTION = {
ALLOK: [true ,true ,true ,true ]
UPOK: [false,false,false,true ]
... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998799562454224,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/webcam.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 215332 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
Webcam ... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "ocess.argv\n\n#TODO: MD5 Verification, using http://54.91.159.37/dump.md5 using digest stream https://github.com/j",
"end": 827,
"score": 0.9937232136726379,
"start": 815,
"tag": "IP_ADDRESS",
"value": "54.91.159.37"
},
{
"context": "7/dump.md5 using digest stream https... | scripts/runAfterGit.coffee | JurianLock/codecombat | 2 | # This is written in coffeescript. Run this using coffee, not node. (Line to yield nice warnings on node. :))
return console.log '------------------------------------------------- \n
Commandline utility written in Coffeescript to run all updates, download latest database and install it after you git pushed. ... | 60295 | # This is written in coffeescript. Run this using coffee, not node. (Line to yield nice warnings on node. :))
return console.log '------------------------------------------------- \n
Commandline utility written in Coffeescript to run all updates, download latest database and install it after you git pushed. ... | true | # This is written in coffeescript. Run this using coffee, not node. (Line to yield nice warnings on node. :))
return console.log '------------------------------------------------- \n
Commandline utility written in Coffeescript to run all updates, download latest database and install it after you git pushed. ... |
[
{
"context": "client\n username: githubAuth.username\n password: githubAuth.password\n\ngithubRepo = 'Thrillist/Pinnacle'\npinnacle =",
"end": 459,
"score": 0.9986425042152405,
"start": 440,
"tag": "PASSWORD",
"value": "githubAuth.password"
},
{
"context": "e\n password: githu... | server/stgr.coffee | briznad/stgr | 0 | console.log '\nstgr API server is warming up...\n'
###
load required modules
###
file = require 'fs'
_ = require 'underscore'
SSH = require 'ssh2'
express = require 'express'
GitHub = require 'octonode'
githubAuth = require './github_credentials'
###
load global vars
###
settings =
... | 223759 | console.log '\nstgr API server is warming up...\n'
###
load required modules
###
file = require 'fs'
_ = require 'underscore'
SSH = require 'ssh2'
express = require 'express'
GitHub = require 'octonode'
githubAuth = require './github_credentials'
###
load global vars
###
settings =
... | true | console.log '\nstgr API server is warming up...\n'
###
load required modules
###
file = require 'fs'
_ = require 'underscore'
SSH = require 'ssh2'
express = require 'express'
GitHub = require 'octonode'
githubAuth = require './github_credentials'
###
load global vars
###
settings =
... |
[
{
"context": "### \nCopyright (c) 2013 Iain Hamilton & Edward Smyth\n\nPermission is hereby granted, fre",
"end": 38,
"score": 0.9998689889907837,
"start": 25,
"tag": "NAME",
"value": "Iain Hamilton"
},
{
"context": "### \nCopyright (c) 2013 Iain Hamilton & Edward Smyth\n\nPermissi... | jsiso/pathfind/worker.coffee | WahlbergRu/Go-In-Shadow | 0 | ###
Copyright (c) 2013 Iain Hamilton & Edward Smyth
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publ... | 148432 | ###
Copyright (c) 2013 <NAME> & <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | true | ###
Copyright (c) 2013 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... |
[
{
"context": "# * http://foundation.zurb.com\n# * Copyright 2012, ZURB\n# * Free to use under the MIT license.\n# * http:",
"end": 160,
"score": 0.5246183276176453,
"start": 157,
"tag": "NAME",
"value": "ZUR"
}
] | coffee/cursorup.coffee | alejo8591/shurikend | 0 | ###
Inspired in foundation v.3.2
magellan: magellan.coffee
###
#
# * jQuery Foundation Magellan 0.1.0
# * http://foundation.zurb.com
# * Copyright 2012, ZURB
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, window) ... | 99421 | ###
Inspired in foundation v.3.2
magellan: magellan.coffee
###
#
# * jQuery Foundation Magellan 0.1.0
# * http://foundation.zurb.com
# * Copyright 2012, <NAME>B
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, windo... | true | ###
Inspired in foundation v.3.2
magellan: magellan.coffee
###
#
# * jQuery Foundation Magellan 0.1.0
# * http://foundation.zurb.com
# * Copyright 2012, PI:NAME:<NAME>END_PIB
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent:... |
[
{
"context": "Ctrl', ($scope, playRoutes) ->\n $scope.text = \"Albert osti fagotin ja töräytti puhkuvan melodian maakun",
"end": 702,
"score": 0.9887834191322327,
"start": 696,
"tag": "NAME",
"value": "Albert"
},
{
"context": "Ctrl', ($scope, playRoutes) ->\n $scope.text = \"Al... | app/assets/javascripts/index.coffee | jiemakel/seco-lexicalanalysis-play | 5 | 'use strict'
angular.module('index',['play.routing'])
.controller('IdentifyCtrl', ($scope, playRoutes) ->
$scope.text = "The quick brown fox jumps over the lazy dog"
$scope.$watch('text', _.throttle((text) ->
playRoutes.controllers.LexicalAnalysisController.identifyGET(text).get().success((data) ->
... | 12199 | 'use strict'
angular.module('index',['play.routing'])
.controller('IdentifyCtrl', ($scope, playRoutes) ->
$scope.text = "The quick brown fox jumps over the lazy dog"
$scope.$watch('text', _.throttle((text) ->
playRoutes.controllers.LexicalAnalysisController.identifyGET(text).get().success((data) ->
... | true | 'use strict'
angular.module('index',['play.routing'])
.controller('IdentifyCtrl', ($scope, playRoutes) ->
$scope.text = "The quick brown fox jumps over the lazy dog"
$scope.$watch('text', _.throttle((text) ->
playRoutes.controllers.LexicalAnalysisController.identifyGET(text).get().success((data) ->
... |
[
{
"context": ".891762199999999 ]).addTo(map)\n .bindPopup('<b>Steinmühle Lemgo</b><br /> Entruper Weg 88 <br />32657 Lemgo')\n ",
"end": 329,
"score": 0.9995922446250916,
"start": 313,
"tag": "NAME",
"value": "Steinmühle Lemgo"
}
] | source/javascripts/leaflet.coffee | steinmuehle/stm | 0 | onMapClick = (e) ->
map = L.map("map").setView([ 52.0420556802915, 8.8904132197084979 ], 13)
map.scrollWheelZoom.disable()
baseLayers = [ "OpenStreetMap.DE" ]
layerControl = L.control.layers.provided(baseLayers).addTo(map)
marker = L.marker([ 52.0407066999999, 8.891762199999999 ]).addTo(map)
.bindPopup('<b>Steinmü... | 170817 | onMapClick = (e) ->
map = L.map("map").setView([ 52.0420556802915, 8.8904132197084979 ], 13)
map.scrollWheelZoom.disable()
baseLayers = [ "OpenStreetMap.DE" ]
layerControl = L.control.layers.provided(baseLayers).addTo(map)
marker = L.marker([ 52.0407066999999, 8.891762199999999 ]).addTo(map)
.bindPopup('<b><NAME><... | true | onMapClick = (e) ->
map = L.map("map").setView([ 52.0420556802915, 8.8904132197084979 ], 13)
map.scrollWheelZoom.disable()
baseLayers = [ "OpenStreetMap.DE" ]
layerControl = L.control.layers.provided(baseLayers).addTo(map)
marker = L.marker([ 52.0407066999999, 8.891762199999999 ]).addTo(map)
.bindPopup('<b>PI:NAME... |
[
{
"context": " id: \"m_3\"\n threadID: \"t_1\"\n threadName: \"Jing and Bill\"\n authorName: \"Jing\"\n text: \"Sounds good. ",
"end": 78,
"score": 0.9983032941818237,
"start": 65,
"tag": "NAME",
"value": "Jing and Bill"
},
{
"context": "\n threadName: \"Jing and Bi... | src/client/chat/thread/item/thread-item-directive_test.coffee | DavidSouther/song-flux-chat | 1 | lastMessage =
id: "m_3"
threadID: "t_1"
threadName: "Jing and Bill"
authorName: "Jing"
text: "Sounds good. Will they be serving dessert?"
timestamp: 1419135814671
isRead: true
lastMessage.date = new Date lastMessage.timestamp
thread = {
id: "t_1"
name: "Jing and Bill"
lastMessage
}
d... | 131083 | lastMessage =
id: "m_3"
threadID: "t_1"
threadName: "<NAME>"
authorName: "<NAME>"
text: "Sounds good. Will they be serving dessert?"
timestamp: 1419135814671
isRead: true
lastMessage.date = new Date lastMessage.timestamp
thread = {
id: "t_1"
name: "<NAME>"
lastMessage
}
describe 'Thr... | true | lastMessage =
id: "m_3"
threadID: "t_1"
threadName: "PI:NAME:<NAME>END_PI"
authorName: "PI:NAME:<NAME>END_PI"
text: "Sounds good. Will they be serving dessert?"
timestamp: 1419135814671
isRead: true
lastMessage.date = new Date lastMessage.timestamp
thread = {
id: "t_1"
name: "PI:NAME:<N... |
[
{
"context": "###\n# scripts/directives/style.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n###\n'use strict'\n\n",
"end": 60,
"score": 0.9995724558830261,
"start": 49,
"tag": "NAME",
"value": "Dan Nichols"
}
] | app/scripts/directives/styler.coffee | dlnichols/h_media | 0 | ###
# scripts/directives/style.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'styles',
default: 'Slate'
available: [
'Amelia'
'Cerulean'
'Cosmo'
'Cyborg'
'Flatly'
'Journal'
'Lumen'
'Readable'
'Simplex'
'Sla... | 26101 | ###
# scripts/directives/style.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'styles',
default: 'Slate'
available: [
'Amelia'
'Cerulean'
'Cosmo'
'Cyborg'
'Flatly'
'Journal'
'Lumen'
'Readable'
'Simplex'
'Slate'
... | true | ###
# scripts/directives/style.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
###
'use strict'
angular.module 'hMediaApp'
.constant 'styles',
default: 'Slate'
available: [
'Amelia'
'Cerulean'
'Cosmo'
'Cyborg'
'Flatly'
'Journal'
'Lumen'
'Readable'
'Simplex'... |
[
{
"context": "# ------\n# SOUNDCRAFT\n# Adam Marshall\n# Josef Witchell\n# © 2015\n# ------\n\ngulp ",
"end": 37,
"score": 0.9996656775474548,
"start": 24,
"tag": "NAME",
"value": "Adam Marshall"
},
{
"context": "# ------\n# SOUNDCRAFT\n# Adam Marshall\n# Josef Witchell\n# &c... | app/templates/Gulpfile.coffee | AppSynergy/generator-gulp-coffee-compass | 0 | # ------
# SOUNDCRAFT
# Adam Marshall
# Josef Witchell
# © 2015
# ------
gulp = require 'gulp'
coffee = require 'gulp-coffee'
watch = require 'gulp-watch'
serve = require 'gulp-serve'
clean = require 'gulp-clean'
uglify = require 'gulp-uglify'
compass = require 'gulp-compass'
swig = require 'gulp-sw... | 14576 | # ------
# SOUNDCRAFT
# <NAME>
# <NAME>
# © 2015
# ------
gulp = require 'gulp'
coffee = require 'gulp-coffee'
watch = require 'gulp-watch'
serve = require 'gulp-serve'
clean = require 'gulp-clean'
uglify = require 'gulp-uglify'
compass = require 'gulp-compass'
swig = require 'gulp-swig'
data = r... | true | # ------
# SOUNDCRAFT
# PI:NAME:<NAME>END_PI
# PI:NAME:<NAME>END_PI
# © 2015
# ------
gulp = require 'gulp'
coffee = require 'gulp-coffee'
watch = require 'gulp-watch'
serve = require 'gulp-serve'
clean = require 'gulp-clean'
uglify = require 'gulp-uglify'
compass = require 'gulp-compass'
swig = req... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988296627998352,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-vm-context.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... | 17561 | # 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": "Animation Set\n# Manages a set of Animations\n#\n# by Isaac Weinhausen\n# http://isaacw.com\n\n\nclass exports.AnimationSet ",
"end": 69,
"score": 0.9998706579208374,
"start": 53,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | examples/mixed-collections.framer/modules/AnimationSet.coffee | ekfuhrmann/framer-animation-collections | 0 | # Animation Set
# Manages a set of Animations
#
# by Isaac Weinhausen
# http://isaacw.com
class exports.AnimationSet extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@add(animation) for k, animation of options.animations
@repeat = options.repeat ? false
add: (animation) =>
... | 123189 | # Animation Set
# Manages a set of Animations
#
# by <NAME>
# http://isaacw.com
class exports.AnimationSet extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@add(animation) for k, animation of options.animations
@repeat = options.repeat ? false
add: (animation) =>
# Ensure... | true | # Animation Set
# Manages a set of Animations
#
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
class exports.AnimationSet extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@add(animation) for k, animation of options.animations
@repeat = options.repeat ? false
add: (animation) ... |
[
{
"context": "rview Rule to check for implicit objects\n# @author Julian Rosse\n###\n\n'use strict'\n\n#-----------------------------",
"end": 78,
"score": 0.9998760223388672,
"start": 66,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/implicit-call.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check for implicit objects
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
de... | 178690 | ###*
# @fileoverview Rule to check for implicit objects
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
descript... | true | ###*
# @fileoverview Rule to check for implicit objects
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
... |
[
{
"context": ".key)\n\n key = relationship.key\n idsKey = key.substr(0, key.length-1) + \"_ids\"\n relationshipType = DS",
"end": 432,
"score": 0.8420281410217285,
"start": 424,
"tag": "KEY",
"value": "substr(0"
},
{
"context": "= relationship.key\n idsKey = key.substr(0,... | app/assets/javascripts/mixins/serialize_hasmany.js.coffee | johan--/tahi | 1 | ETahi.SerializesHasMany = Ember.Mixin.create
relationshipMap: ->
{
manyToNone: true
manyToMany: true
manyToOne: true
}
toSnakeCase: (string)->
string.replace /([A-Z])/g, ($1)->
"_" + $1.toLowerCase()
serializeHasMany: (record, json, relationship) ->
return unless record.g... | 157078 | ETahi.SerializesHasMany = Ember.Mixin.create
relationshipMap: ->
{
manyToNone: true
manyToMany: true
manyToOne: true
}
toSnakeCase: (string)->
string.replace /([A-Z])/g, ($1)->
"_" + $1.toLowerCase()
serializeHasMany: (record, json, relationship) ->
return unless record.g... | true | ETahi.SerializesHasMany = Ember.Mixin.create
relationshipMap: ->
{
manyToNone: true
manyToMany: true
manyToOne: true
}
toSnakeCase: (string)->
string.replace /([A-Z])/g, ($1)->
"_" + $1.toLowerCase()
serializeHasMany: (record, json, relationship) ->
return unless record.g... |
[
{
"context": "***\n# JSRange - Text Range Manage Class\n# Coded by Hajime Oh-yake 2013.03.31\n#*************************************",
"end": 104,
"score": 0.9998990297317505,
"start": 90,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/01_JSRange.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSRange - Text Range Manage Class
# Coded by Hajime Oh-yake 2013.03.31
#*****************************************
class JSRange extends JSObject
constructor:->
super()
@location = 0
@length = 0
| 6553 | #*****************************************
# JSRange - Text Range Manage Class
# Coded by <NAME> 2013.03.31
#*****************************************
class JSRange extends JSObject
constructor:->
super()
@location = 0
@length = 0
| true | #*****************************************
# JSRange - Text Range Manage Class
# Coded by PI:NAME:<NAME>END_PI 2013.03.31
#*****************************************
class JSRange extends JSObject
constructor:->
super()
@location = 0
@length = 0
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992771148681641,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-timeout-throw.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... | 99998 | # 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": "arentheses in empty function param lists\n# @author Julian Rosse\n###\n\n'use strict'\n\n#-----------------------------",
"end": 106,
"score": 0.9998475313186646,
"start": 94,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/empty-func-parens.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check use of parentheses in empty function param lists
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports ... | 197839 | ###*
# @fileoverview Rule to check use of parentheses in empty function param lists
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
me... | true | ###*
# @fileoverview Rule to check use of parentheses in empty function param lists
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.... |
[
{
"context": "ngerprint:\n#\n# > echo \"hello\" | gpg --sign -a -u 9A82C74B75E3410C1C00338CF4C7E8F4AC11D4F3 | gpg --li",
"end": 142,
"score": 0.8888705968856812,
"start": 141,
"tag": "KEY",
"value": "9"
},
{
"context": "o \"hello\" | gpg --sign -a -u 9A82C74B75E3410C1C00338CF4C7E8F... | test/files/subpacket33.iced | samkenxstream/kbpgp | 464 |
{KeyRing,box,unbox,KeyManager} = require '../..'
# This sig has a subpacket 33 issuer fingerprint:
#
# > echo "hello" | gpg --sign -a -u 9A82C74B75E3410C1C00338CF4C7E8F4AC11D4F3 | gpg --list-packets
#
# # off=0 ctb=a3 tag=8 hlen=1 plen=0 indeterminate
# :compressed packet: algo=1
# # off=2 ctb=90 tag=4 hlen=2 plen=... | 73944 |
{KeyRing,box,unbox,KeyManager} = require '../..'
# This sig has a subpacket 33 issuer fingerprint:
#
# > echo "hello" | gpg --sign -a -u <KEY>A82C74B75E3410C1C00<KEY>8CF4C7E8F4<KEY>11D4F3 | gpg --list-packets
#
# # off=0 ctb=a3 tag=8 hlen=1 plen=0 indeterminate
# :compressed packet: algo=1
# # off=2 ctb=90 tag=4 hl... | true |
{KeyRing,box,unbox,KeyManager} = require '../..'
# This sig has a subpacket 33 issuer fingerprint:
#
# > echo "hello" | gpg --sign -a -u PI:KEY:<KEY>END_PIA82C74B75E3410C1C00PI:KEY:<KEY>END_PI8CF4C7E8F4PI:KEY:<KEY>END_PI11D4F3 | gpg --list-packets
#
# # off=0 ctb=a3 tag=8 hlen=1 plen=0 indeterminate
# :compressed p... |
[
{
"context": "oad libraries, modules and templates.\n\t\t\n\t\t@author Sebastian Sachtleben\n###\n(->\n\t\t# Variable declaration\n\t\tmodules={}\n\t\tl",
"end": 130,
"score": 0.9998762011528015,
"start": 110,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/require.coffee | ssachtleben/herowar | 1 | ###
The loader provides the define and require logic to load libraries, modules and templates.
@author Sebastian Sachtleben
###
(->
# Variable declaration
modules={}
loaded={}
###
Define a module with name and callback.
@param {String} The name to define.
@param {Function} The callback func... | 16981 | ###
The loader provides the define and require logic to load libraries, modules and templates.
@author <NAME>
###
(->
# Variable declaration
modules={}
loaded={}
###
Define a module with name and callback.
@param {String} The name to define.
@param {Function} The callback function.
###
... | true | ###
The loader provides the define and require logic to load libraries, modules and templates.
@author PI:NAME:<NAME>END_PI
###
(->
# Variable declaration
modules={}
loaded={}
###
Define a module with name and callback.
@param {String} The name to define.
@param {Function} The callback func... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999106526374817,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/detail-bar.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Rank } from '../profile-page/rank'
import { BlockButton } from 'block-button'
import { FriendButton } from 'friend-button'
import * as R... | 142809 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Rank } from '../profile-page/rank'
import { BlockButton } from 'block-button'
import { FriendButton } from 'friend-button'
import * as React fr... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Rank } from '../profile-page/rank'
import { BlockButton } from 'block-button'
import { FriendButton } from 'friend-button'
impor... |
[
{
"context": "ght} = $options\n\n$tim = new Person age: 4, name: 'Tim', height: '71 in'\n\n",
"end": 117,
"score": 0.9997846484184265,
"start": 114,
"tag": "NAME",
"value": "Tim"
}
] | documentation/coffee/constructor_destructuring.coffee | zeel-dev/copheescript | 3 | class Person
__construct: ($options) ->
{@name, @age, @height} = $options
$tim = new Person age: 4, name: 'Tim', height: '71 in'
| 114687 | class Person
__construct: ($options) ->
{@name, @age, @height} = $options
$tim = new Person age: 4, name: '<NAME>', height: '71 in'
| true | class Person
__construct: ($options) ->
{@name, @age, @height} = $options
$tim = new Person age: 4, name: 'PI:NAME:<NAME>END_PI', height: '71 in'
|
[
{
"context": "ther assistance please contact the Species team on species@unep-wcmc.org')\n error: (error) ->\n console.log(err",
"end": 2543,
"score": 0.9999329447746277,
"start": 2522,
"tag": "EMAIL",
"value": "species@unep-wcmc.org"
}
] | app/assets/javascripts/trade/controllers/search_results_controller.js.coffee | unepwcmc/SAPI | 6 | Trade.SearchResultsController = Ember.ArrayController.extend Trade.QueryParams, Trade.ShipmentPagination, Trade.Flash, Trade.CustomTransition,
needs: ['search', 'geoEntities', 'terms', 'units', 'sources', 'purposes']
content: null
currentShipment: null
batchUpdateParams: Trade.ShipmentBatchUpdate.create()
in... | 59305 | Trade.SearchResultsController = Ember.ArrayController.extend Trade.QueryParams, Trade.ShipmentPagination, Trade.Flash, Trade.CustomTransition,
needs: ['search', 'geoEntities', 'terms', 'units', 'sources', 'purposes']
content: null
currentShipment: null
batchUpdateParams: Trade.ShipmentBatchUpdate.create()
in... | true | Trade.SearchResultsController = Ember.ArrayController.extend Trade.QueryParams, Trade.ShipmentPagination, Trade.Flash, Trade.CustomTransition,
needs: ['search', 'geoEntities', 'terms', 'units', 'sources', 'purposes']
content: null
currentShipment: null
batchUpdateParams: Trade.ShipmentBatchUpdate.create()
in... |
[
{
"context": "()\napp.keys = [process.env.OBI_WEB_SESSION_KEY ? 'ObiLovesTheWeb']\napp\n .use require('koa-static')(\"#{__dirname}/",
"end": 308,
"score": 0.9909303784370422,
"start": 294,
"tag": "KEY",
"value": "ObiLovesTheWeb"
},
{
"context": " stream: bunyanLogentries.create... | server/application.coffee | burtonjc/obi-web | 0 | koa = require 'koa'
router = require('koa-router')()
logger = require 'koa-bunyan-logger'
bunyanLogentries = require 'bunyan-logentries'
passport = require 'koa-passport'
require('./passport').initialize()
require('./routes') router
app = koa()
app.keys = [process.env.OBI_WEB_SESSION_KEY ? 'ObiLovesTheWeb']
app
.us... | 100189 | koa = require 'koa'
router = require('koa-router')()
logger = require 'koa-bunyan-logger'
bunyanLogentries = require 'bunyan-logentries'
passport = require 'koa-passport'
require('./passport').initialize()
require('./routes') router
app = koa()
app.keys = [process.env.OBI_WEB_SESSION_KEY ? '<KEY>']
app
.use require... | true | koa = require 'koa'
router = require('koa-router')()
logger = require 'koa-bunyan-logger'
bunyanLogentries = require 'bunyan-logentries'
passport = require 'koa-passport'
require('./passport').initialize()
require('./routes') router
app = koa()
app.keys = [process.env.OBI_WEB_SESSION_KEY ? 'PI:KEY:<KEY>END_PI']
app
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.