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": "le.com\"\n port: 8998\n\n transport:\n server: \"127.0.0.1:6381\"\n queues:\n blocking_timeout: 0\n\n st",
"end": 141,
"score": 0.9997240900993347,
"start": 132,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " blocking_timeout: 0\n\n sto... | benchmarks/draft3/medium/valid_doc.coffee | pandastrike/jsck | 176 | module.exports =
api_server:
url: "http://example.com:8998"
host: "example.com"
port: 8998
transport:
server: "127.0.0.1:6381"
queues:
blocking_timeout: 0
storage:
server: "127.0.0.1:5432"
database: "thingy-test"
user: "thingy-test"
password: "password"
chain:
ap... | 222592 | module.exports =
api_server:
url: "http://example.com:8998"
host: "example.com"
port: 8998
transport:
server: "127.0.0.1:6381"
queues:
blocking_timeout: 0
storage:
server: "127.0.0.1:5432"
database: "thingy-test"
user: "thingy-test"
password: "<PASSWORD>"
chain:
... | true | module.exports =
api_server:
url: "http://example.com:8998"
host: "example.com"
port: 8998
transport:
server: "127.0.0.1:6381"
queues:
blocking_timeout: 0
storage:
server: "127.0.0.1:5432"
database: "thingy-test"
user: "thingy-test"
password: "PI:PASSWORD:<PASSWORD>END_... |
[
{
"context": "n. If that doesn\\'t work, please send a message to sage@wikiedu.org.')\n\n\n )\n \n\n publishHandler: ->\n\n if Wiz",
"end": 2003,
"score": 0.9999246001243591,
"start": 1987,
"tag": "EMAIL",
"value": "sage@wikiedu.org"
}
] | source/javascripts/views/OutputView.coffee | WikiEducationFoundation/WikiEduWizard | 1 |
#APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
CourseDetailsTemplate = require('../templates/steps/output/CourseDetailsTemplate.hbs')
GradingTemplate = require('../templates/steps/output/GradingTemplate.hbs')
#CONFIG DATA
WizardStepInputs = require('../... | 93623 |
#APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
CourseDetailsTemplate = require('../templates/steps/output/CourseDetailsTemplate.hbs')
GradingTemplate = require('../templates/steps/output/GradingTemplate.hbs')
#CONFIG DATA
WizardStepInputs = require('../... | true |
#APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
CourseDetailsTemplate = require('../templates/steps/output/CourseDetailsTemplate.hbs')
GradingTemplate = require('../templates/steps/output/GradingTemplate.hbs')
#CONFIG DATA
WizardStepInputs = require('../... |
[
{
"context": "###\n @author Curtis M. Humphrey, Ph.D.\n \n The files adds a KO extender that tie",
"end": 32,
"score": 0.9998789429664612,
"start": 14,
"tag": "NAME",
"value": "Curtis M. Humphrey"
},
{
"context": "nockoutjs\n Lawnchair - from https://github.com/brianleroux/lawn... | bower_components/kox_lawnchair/kox_lawnchair.coffee | CurtisHumphrey/mobile_class_2014 | 1 | ###
@author Curtis M. Humphrey, Ph.D.
The files adds a KO extender that ties with Lawnchair
Dependence (from global namespace):
ko - knockoutjs
Lawnchair - from https://github.com/brianleroux/lawnchair)=
Public API, Fired Events, or Exports
options {key: name of key, db_name: name o... | 134679 | ###
@author <NAME>, Ph.D.
The files adds a KO extender that ties with Lawnchair
Dependence (from global namespace):
ko - knockoutjs
Lawnchair - from https://github.com/brianleroux/lawnchair)=
Public API, Fired Events, or Exports
options {key: name of key, db_name: name of db}
#... | true | ###
@author PI:NAME:<NAME>END_PI, Ph.D.
The files adds a KO extender that ties with Lawnchair
Dependence (from global namespace):
ko - knockoutjs
Lawnchair - from https://github.com/brianleroux/lawnchair)=
Public API, Fired Events, or Exports
options {key: name of key, db_name: name... |
[
{
"context": "akes you very likely to flee combat.\n *\n * @name Pacifist\n * @prerequisite Flee combat once\n * @effect +1",
"end": 132,
"score": 0.9290879368782043,
"start": 124,
"tag": "NAME",
"value": "Pacifist"
}
] | src/character/personalities/Pacifist.coffee | sadbear-/IdleLands | 3 |
Personality = require "../base/Personality"
`/**
* This personality makes you very likely to flee combat.
*
* @name Pacifist
* @prerequisite Flee combat once
* @effect +100 fleePercent
* @effect +5% xp
* @category Personalities
* @package Player
*/`
class Pacifist extends Personality
constructor: ->... | 175732 |
Personality = require "../base/Personality"
`/**
* This personality makes you very likely to flee combat.
*
* @name <NAME>
* @prerequisite Flee combat once
* @effect +100 fleePercent
* @effect +5% xp
* @category Personalities
* @package Player
*/`
class Pacifist extends Personality
constructor: ->
... | true |
Personality = require "../base/Personality"
`/**
* This personality makes you very likely to flee combat.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite Flee combat once
* @effect +100 fleePercent
* @effect +5% xp
* @category Personalities
* @package Player
*/`
class Pacifist extends Personality
con... |
[
{
"context": "###\nAuthor: Paul B. Hartzog\nYear: 2015\nWWW: http:paulbhartzog.org\nGithub: htt",
"end": 27,
"score": 0.9998900890350342,
"start": 12,
"tag": "NAME",
"value": "Paul B. Hartzog"
},
{
"context": ": http:paulbhartzog.org\nGithub: http://github.com/paulbhartzog\n\nRequire... | ubersicht-widgets/ubersicht-youtube-video.widget/ubersicht-youtube-video.coffee | calvinlam0124/macOS-development-tools | 1 | ###
Author: Paul B. Hartzog
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
README
- This widget uses the HTML5 "iframe" tag to place a YouTube video into Übersicht
EXAMPLE:
<iframe
width="368"
height="216"
sr... | 22222 | ###
Author: <NAME>
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
README
- This widget uses the HTML5 "iframe" tag to place a YouTube video into Übersicht
EXAMPLE:
<iframe
width="368"
height="216"
src="https:... | true | ###
Author: PI:NAME:<NAME>END_PI
Year: 2015
WWW: http:paulbhartzog.org
Github: http://github.com/paulbhartzog
Requirements:
Übersicht: http://github.com/felixhageloh/uebersicht/
README
- This widget uses the HTML5 "iframe" tag to place a YouTube video into Übersicht
EXAMPLE:
<iframe
width="368"
height="216"
... |
[
{
"context": "ls._index = true\n#P.src.crossref.journals._key = 'ISSN'\n#P.src.crossref.journals._prefix = false\n\nP.src.",
"end": 491,
"score": 0.8517270088195801,
"start": 487,
"tag": "KEY",
"value": "ISSN"
},
{
"context": " number_of_shards: 9\nP.src.crossref.works._key = 'DOI'\n... | worker/src/src/crossref.coffee | oaworks/paradigm | 1 |
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
P.src.crossref = () ->
return 'Crossref API wrapper'
P.src.crossref.journals = (issn) ->
issn ?= @params.journals ? @.params.issn
res = await @fetch 'https://api.crossref.org/journals/'... | 143473 |
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
P.src.crossref = () ->
return 'Crossref API wrapper'
P.src.crossref.journals = (issn) ->
issn ?= @params.journals ? @.params.issn
res = await @fetch 'https://api.crossref.org/journals/'... | true |
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
P.src.crossref = () ->
return 'Crossref API wrapper'
P.src.crossref.journals = (issn) ->
issn ?= @params.journals ? @.params.issn
res = await @fetch 'https://api.crossref.org/journals/'... |
[
{
"context": "ee: Github notification class\n#\n# Copyright © 2015 Steve Smith. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 83,
"score": 0.9901609420776367,
"start": 72,
"tag": "NAME",
"value": "Steve Smith"
}
] | src/octonode/notification.coffee | noblejasper/octonode | 0 | #
# notification.coffee: Github notification class
#
# Copyright © 2015 Steve Smith. All rights reserved
#
# Requiring modules
# Initiate class
class Notification
constructor: (@id, @client) ->
# Mark a notification as read
# '/notifications/threads/:id' PATCH
markAsRead: (cb) ->
@client.post "/notifica... | 175675 | #
# notification.coffee: Github notification class
#
# Copyright © 2015 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Notification
constructor: (@id, @client) ->
# Mark a notification as read
# '/notifications/threads/:id' PATCH
markAsRead: (cb) ->
@client.post "/notifications... | true | #
# notification.coffee: Github notification class
#
# Copyright © 2015 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Notification
constructor: (@id, @client) ->
# Mark a notification as read
# '/notifications/threads/:id' PATCH
markAsRead: (cb) ->
@client.post "... |
[
{
"context": "hen PR opens on the given API url\n#\n# Authors:\n# Christoffer Skeppstedt (chris.skeppstedt@klarna.com, http://github.com/c",
"end": 826,
"score": 0.9998999238014221,
"start": 804,
"tag": "NAME",
"value": "Christoffer Skeppstedt"
},
{
"context": " API url\n#\n# Autho... | src/scripts/bot.coffee | klarna/hubot-stash-poll | 8 | # Description:
# Hubot integration with Atlassian Stash.
#
# Configuration:
# HUBOT_STASH_USERNAME
# HUBOT_STASH_PASSWORD
#
# Commands:
# hubot stash-poll - Lists the subscriptions in the current room
# hubot stash-poll add <api url> - Subscribe current room to PR changes on the given API url, e.g. https://stas... | 217209 | # Description:
# Hubot integration with Atlassian Stash.
#
# Configuration:
# HUBOT_STASH_USERNAME
# HUBOT_STASH_PASSWORD
#
# Commands:
# hubot stash-poll - Lists the subscriptions in the current room
# hubot stash-poll add <api url> - Subscribe current room to PR changes on the given API url, e.g. https://stas... | true | # Description:
# Hubot integration with Atlassian Stash.
#
# Configuration:
# HUBOT_STASH_USERNAME
# HUBOT_STASH_PASSWORD
#
# Commands:
# hubot stash-poll - Lists the subscriptions in the current room
# hubot stash-poll add <api url> - Subscribe current room to PR changes on the given API url, e.g. https://stas... |
[
{
"context": " _id: '111111111111111111111110'\n name: 'John'\n\n client = redis.createClient()\n clien",
"end": 803,
"score": 0.9998164772987366,
"start": 799,
"tag": "NAME",
"value": "John"
},
{
"context": " _id: '111111111111111111111111'\n name: 'John'... | test/test_notifier.coffee | mahnunchik/mongoose-notifier | 0 |
assert = require 'assert'
mongoose = require 'mongoose'
Schema = mongoose.Schema
redis = require 'redis'
notifier = require '../'
dbName = 'mongodb://localhost/test_notifier'
describe 'Mongoose notifier', ()->
@timeout(0)
before (done)->
db = mongoose.createConnection(dbName)
User = db.model 'user', ... | 62681 |
assert = require 'assert'
mongoose = require 'mongoose'
Schema = mongoose.Schema
redis = require 'redis'
notifier = require '../'
dbName = 'mongodb://localhost/test_notifier'
describe 'Mongoose notifier', ()->
@timeout(0)
before (done)->
db = mongoose.createConnection(dbName)
User = db.model 'user', ... | true |
assert = require 'assert'
mongoose = require 'mongoose'
Schema = mongoose.Schema
redis = require 'redis'
notifier = require '../'
dbName = 'mongodb://localhost/test_notifier'
describe 'Mongoose notifier', ()->
@timeout(0)
before (done)->
db = mongoose.createConnection(dbName)
User = db.model 'user', ... |
[
{
"context": "scription: the main klass of the library.\n@author: Christopher Thorn <chris@koding.com>\n###\n\n{EventEmitter} = require ",
"end": 149,
"score": 0.9998810291290283,
"start": 132,
"tag": "NAME",
"value": "Christopher Thorn"
},
{
"context": "klass of the library.\n@autho... | node_modules_koding/bongo/lib/bongo.coffee | lionheart1022/koding | 0 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: bongo
@description: the main klass of the library.
@author: Christopher Thorn <chris@koding.com>
###
{EventEmitter} = require 'events'
module.exports = class Bongo extends EventEmitter
[READY, NOTREADY] = [0,1]
Promise = require 'bluebird'
... | 161785 | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: bongo
@description: the main klass of the library.
@author: <NAME> <<EMAIL>>
###
{EventEmitter} = require 'events'
module.exports = class Bongo extends EventEmitter
[READY, NOTREADY] = [0,1]
Promise = require 'bluebird'
# core
url = req... | true | ###
Bongo.js
Unfancy models for MongoDB
(c) 2011 Koding, Inc.
@class: bongo
@description: the main klass of the library.
@author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
{EventEmitter} = require 'events'
module.exports = class Bongo extends EventEmitter
[READY, NOTREADY] = [0,1]
Promise = require 'bl... |
[
{
"context": " .get('/v2.6/199125480124588/feed?access_token=SET_APP_ACCESS_TOKEN_AS_ENVIRONMENT_VARIABLE')\n .reply 200, '{\n \"data\": [\n {\n \"m",
"end": 484,
"score": 0.9038420915603638,
"start": 440,
"tag": "KEY",
"value": "SET_APP_ACCESS_TOKEN_AS_ENVIRONMENT_VARIABLE"... | test/cesare.coffee | tholu/hubot-cesare | 0 | Helper = require('hubot-test-helper')
expect = require('chai').expect
nock = require('nock')
# helper loads a specific script if it's a file
helper = new Helper('./../src/cesare.coffee')
describe 'cesare', ->
room = null
beforeEach ->
# Set up the room before running the test
room = helper.createRoom()
... | 124266 | Helper = require('hubot-test-helper')
expect = require('chai').expect
nock = require('nock')
# helper loads a specific script if it's a file
helper = new Helper('./../src/cesare.coffee')
describe 'cesare', ->
room = null
beforeEach ->
# Set up the room before running the test
room = helper.createRoom()
... | true | Helper = require('hubot-test-helper')
expect = require('chai').expect
nock = require('nock')
# helper loads a specific script if it's a file
helper = new Helper('./../src/cesare.coffee')
describe 'cesare', ->
room = null
beforeEach ->
# Set up the room before running the test
room = helper.createRoom()
... |
[
{
"context": "/docker_url\",\n baseUrl,\n auth: {\n username,\n password,\n },\n }\n debug 'get ",
"end": 774,
"score": 0.9984500408172607,
"start": 766,
"tag": "USERNAME",
"value": "username"
},
{
"context": " baseUrl,\n auth: {\n user... | src/service-state-service.coffee | octoblu/deploy-state-util | 0 | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:service-state-service')
class GovernatorService
constructor: ({ config }) ->
@serviceStates = config['service-state']
getStatuses: (... | 47313 | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:service-state-service')
class GovernatorService
constructor: ({ config }) ->
@serviceStates = config['service-state']
getStatuses: (... | true | _ = require 'lodash'
url = require 'url'
async = require 'async'
request = require 'request'
moment = require 'moment'
debug = require('debug')('deploy-state-util:service-state-service')
class GovernatorService
constructor: ({ config }) ->
@serviceStates = config['service-state']
getStatuses: (... |
[
{
"context": " \r\n genid = (len = 16, prefix = \"\", keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\") ->\r\n prefix += keyspace.charAt(Math.floor(Ma",
"end": 1049,
"score": 0.9995272159576416,
"start": 987,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXY... | assets/js/panes/streamer.coffee | bhargav1709/plunker_www | 210 | #= require jquery.cookie/jquery.cookie
#= require script/dist/script
#= require ./../services/panes
#= require ./../services/participants
#= require ./../services/visitor
#= require ./../services/notifier
#= require ./../services/activity
#= require ./../services/url
#= require ./../directives/overlay
... | 50447 | #= require jquery.cookie/jquery.cookie
#= require script/dist/script
#= require ./../services/panes
#= require ./../services/participants
#= require ./../services/visitor
#= require ./../services/notifier
#= require ./../services/activity
#= require ./../services/url
#= require ./../directives/overlay
... | true | #= require jquery.cookie/jquery.cookie
#= require script/dist/script
#= require ./../services/panes
#= require ./../services/participants
#= require ./../services/visitor
#= require ./../services/notifier
#= require ./../services/activity
#= require ./../services/url
#= require ./../directives/overlay
... |
[
{
"context": "eteFuzzyFilteringEnabled: true\n cacheDirectory: \"/var/folders/yf/nwshn_sn44d6l00z8kskjrc80000gn/T/elmjutsu378446YKMC07KhyMQ\"\n globalAutocompleteEnabled: true\n hypercli",
"end": 947,
"score": 0.9952142238616943,
"start": 872,
"tag": "KEY",
"value": "\"/var/folders/... | atom.symlink/config.cson | andrewhao/dotfiles | 0 | "*":
"atom-package-deps":
ignored: []
core:
disabledPackages: [
"background-tips"
"exception-reporting"
"metrics"
"linter-clojure"
"linter-jscs"
"linter-jshint"
"symbols-view"
"screen-send"
"linter-coffeelint"
]
ignoredNames: [
".bundle"
... | 24505 | "*":
"atom-package-deps":
ignored: []
core:
disabledPackages: [
"background-tips"
"exception-reporting"
"metrics"
"linter-clojure"
"linter-jscs"
"linter-jshint"
"symbols-view"
"screen-send"
"linter-coffeelint"
]
ignoredNames: [
".bundle"
... | true | "*":
"atom-package-deps":
ignored: []
core:
disabledPackages: [
"background-tips"
"exception-reporting"
"metrics"
"linter-clojure"
"linter-jscs"
"linter-jshint"
"symbols-view"
"screen-send"
"linter-coffeelint"
]
ignoredNames: [
".bundle"
... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Gregory Orton\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n# Module info\n# ",
"end": 155,
"score": 0.9998946189880371,
"start": 142,
"tag": "NAME",
"value": "Gregory Orton"
},
{
"context": "odule info\n# this m... | AudioAccess.framer/app.coffee | ortonomy/AudioAccess-framer | 12 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Gregory Orton"
twitter: ""
description: ""
# Module info
# this module requires 'Recorder JS' by Matt Diamond (https://github.com/mattdiamond/Recorderjs)
# you can install th... | 217751 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
# Module info
# this module requires 'Recorder JS' by <NAME> (https://github.com/mattdiamond/Recorderjs)
# you can install this by running... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
# Module info
# this module requires 'Recorder JS' by PI:NAME:<NAME>END_PI (https://github.com/mattdiamond/Recorderjs)
# you... |
[
{
"context": "the\n# [tiny-doorbell-remote](https://github.com/anroots/tiny-doorbell-remote) project\n#\n# Rings the off",
"end": 95,
"score": 0.9996165037155151,
"start": 88,
"tag": "USERNAME",
"value": "anroots"
},
{
"context": "bell: there's someone at the door!\n#\n# Author:\... | hubot/doorbell-remote.coffee | anroots/tiny-doorbell-remote | 8 | # Description:
# Hubot bindings for the
# [tiny-doorbell-remote](https://github.com/anroots/tiny-doorbell-remote) project
#
# Rings the office doorbell when requested.
#
# Dependencies:
# hubot-auth
#
# Configuration:
# OFFICE_DOORBELL_API_URL
# OFFICE_DOORBELL_AUTH
#
# Commands:
# hubot ding-dong - Tells... | 129094 | # Description:
# Hubot bindings for the
# [tiny-doorbell-remote](https://github.com/anroots/tiny-doorbell-remote) project
#
# Rings the office doorbell when requested.
#
# Dependencies:
# hubot-auth
#
# Configuration:
# OFFICE_DOORBELL_API_URL
# OFFICE_DOORBELL_AUTH
#
# Commands:
# hubot ding-dong - Tells... | true | # Description:
# Hubot bindings for the
# [tiny-doorbell-remote](https://github.com/anroots/tiny-doorbell-remote) project
#
# Rings the office doorbell when requested.
#
# Dependencies:
# hubot-auth
#
# Configuration:
# OFFICE_DOORBELL_API_URL
# OFFICE_DOORBELL_AUTH
#
# Commands:
# hubot ding-dong - Tells... |
[
{
"context": " channel: channel\n username: 'cybozulive'\n icon_url: 'http://labs.cybozu.co.jp/",
"end": 2186,
"score": 0.999667763710022,
"start": 2176,
"tag": "USERNAME",
"value": "cybozulive"
},
{
"context": " color: \"gray\"\n ... | src/cybozulive.coffee | uetchy/hubot-cybozulive-notification | 0 | {CronJob} = require 'cron'
{OAuth} = require 'oauth'
{parseString} = require 'xml2js'
moment = require 'moment'
Promise = require 'bluebird'
entrypoint_url = 'https://api.cybozulive.com/api'
request_token_url = 'https://api.cybozulive.com/oauth/initiate'
authorize_url = 'https://api.cybozulive.com/oauth/authorize?oaut... | 184502 | {CronJob} = require 'cron'
{OAuth} = require 'oauth'
{parseString} = require 'xml2js'
moment = require 'moment'
Promise = require 'bluebird'
entrypoint_url = 'https://api.cybozulive.com/api'
request_token_url = 'https://api.cybozulive.com/oauth/initiate'
authorize_url = 'https://api.cybozulive.com/oauth/authorize?oaut... | true | {CronJob} = require 'cron'
{OAuth} = require 'oauth'
{parseString} = require 'xml2js'
moment = require 'moment'
Promise = require 'bluebird'
entrypoint_url = 'https://api.cybozulive.com/api'
request_token_url = 'https://api.cybozulive.com/oauth/initiate'
authorize_url = 'https://api.cybozulive.com/oauth/authorize?oaut... |
[
{
"context": "toFixed(2)\n ]\n xkey: \"y\"\n ykeys: [\"one\", \"five\", 'fifteen']\n labels: [\"1-min\", \"5-m",
"end": 1824,
"score": 0.8106868267059326,
"start": 1821,
"tag": "KEY",
"value": "one"
},
{
"context": "(2)\n ]\n xkey: \"y\"\n ykeys: [\... | presentation/app/scripts/views/remote.coffee | yungookim/pm2-monitor | 2 | 'use strict';
class presentation.Views.RemoteView extends Backbone.View
initialize : ->
@template = window.JST['remote-template']
@listenTo @model, 'change', @render
render : ->
@$el.html Mustache.render @template, @model.toJSON()
# Notify that the data is not available
if @model.get 'err... | 207528 | 'use strict';
class presentation.Views.RemoteView extends Backbone.View
initialize : ->
@template = window.JST['remote-template']
@listenTo @model, 'change', @render
render : ->
@$el.html Mustache.render @template, @model.toJSON()
# Notify that the data is not available
if @model.get 'err... | true | 'use strict';
class presentation.Views.RemoteView extends Backbone.View
initialize : ->
@template = window.JST['remote-template']
@listenTo @model, 'change', @render
render : ->
@$el.html Mustache.render @template, @model.toJSON()
# Notify that the data is not available
if @model.get 'err... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9922468662261963,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-sni-server-client.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... | 212313 | # 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": " = req.body\n if req.headers['x-event-key'] is \"pullrequest:created\"\n robot.messageRoom room, \"Pull request from",
"end": 844,
"score": 0.9143273234367371,
"start": 825,
"tag": "KEY",
"value": "pullrequest:created"
}
] | scripts/bitbucket-ci.coffee | bayuhaste/haste-awesome-bot | 0 | # Description:
# Control CI helper from huhu slack.
#
# Notes:
module.exports = (robot) ->
robot.respond /bitbucket (.*) status/i, (res) ->
status = res.match[1]
if status is "ready"
secret = "data.secret"
room = 'pull-requests'
# robot.messageRoom room, "I have a secret: #{secret}"
... | 117449 | # Description:
# Control CI helper from huhu slack.
#
# Notes:
module.exports = (robot) ->
robot.respond /bitbucket (.*) status/i, (res) ->
status = res.match[1]
if status is "ready"
secret = "data.secret"
room = 'pull-requests'
# robot.messageRoom room, "I have a secret: #{secret}"
... | true | # Description:
# Control CI helper from huhu slack.
#
# Notes:
module.exports = (robot) ->
robot.respond /bitbucket (.*) status/i, (res) ->
status = res.match[1]
if status is "ready"
secret = "data.secret"
room = 'pull-requests'
# robot.messageRoom room, "I have a secret: #{secret}"
... |
[
{
"context": "#\n# CanvasUtils\n# By David Ronai / Makio64 / makiopolis.com\n#\n\nclass CanvasUtils\n\n",
"end": 32,
"score": 0.9998680949211121,
"start": 21,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "#\n# CanvasUtils\n# By David Ronai / Makio64 / makiopolis.com\n#\n\ncl... | src/coffee/makio/utils/CanvasUtils.coffee | Makio64/pizzaparty_vj | 1 | #
# CanvasUtils
# By David Ronai / Makio64 / makiopolis.com
#
class CanvasUtils
constructor:()->
return
@init:()->
if(@isInit)
return
@isInit = true
@canvas = document.createElement('canvas')
@context = @canvas.getContext('2d')
return
@measureText:(text,font,padding)->
@context.save()
@context... | 159400 | #
# CanvasUtils
# By <NAME> / Makio64 / m<EMAIL>
#
class CanvasUtils
constructor:()->
return
@init:()->
if(@isInit)
return
@isInit = true
@canvas = document.createElement('canvas')
@context = @canvas.getContext('2d')
return
@measureText:(text,font,padding)->
@context.save()
@context.fillStyle ... | true | #
# CanvasUtils
# By PI:NAME:<NAME>END_PI / Makio64 / mPI:EMAIL:<EMAIL>END_PI
#
class CanvasUtils
constructor:()->
return
@init:()->
if(@isInit)
return
@isInit = true
@canvas = document.createElement('canvas')
@context = @canvas.getContext('2d')
return
@measureText:(text,font,padding)->
@context... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999539852142334,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-process-title.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... | 109660 | # 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": "ire 'pivotaltracker'\nclient = new tracker.Client '2c2b8e85c26ebd70ead19c9ca248b081'\nMyStoriesView = require './my-stories-view'\n\nmod",
"end": 96,
"score": 0.9459099173545837,
"start": 64,
"tag": "KEY",
"value": "2c2b8e85c26ebd70ead19c9ca248b081"
}
] | lib/pivotal-tracker.coffee | dan12mol/pivotal-tracker | 0 | tracker = require 'pivotaltracker'
client = new tracker.Client '2c2b8e85c26ebd70ead19c9ca248b081'
MyStoriesView = require './my-stories-view'
module.exports =
activate: (state) ->
atom.commands.add 'atom-workspace', 'pivotal-tracker:my-stories': => @myStories()
myStories: ->
view = new MyStoriesView
... | 169329 | tracker = require 'pivotaltracker'
client = new tracker.Client '<KEY>'
MyStoriesView = require './my-stories-view'
module.exports =
activate: (state) ->
atom.commands.add 'atom-workspace', 'pivotal-tracker:my-stories': => @myStories()
myStories: ->
view = new MyStoriesView
elements = view.getElements... | true | tracker = require 'pivotaltracker'
client = new tracker.Client 'PI:KEY:<KEY>END_PI'
MyStoriesView = require './my-stories-view'
module.exports =
activate: (state) ->
atom.commands.add 'atom-workspace', 'pivotal-tracker:my-stories': => @myStories()
myStories: ->
view = new MyStoriesView
elements = vie... |
[
{
"context": "2, arg3, arg4) ->\n res = ''\n str = ''\n str1 = 'qwertyuioplkjhgfdsazxcvbnm'\n str2 = 'QWERTYUIOPLKJHGFDS",
"end": 454,
"score": 0.5895988941192627,
"start": 448,
"tag": "PASSWORD",
"value": "qwerty"
},
{
"context": "'\n str1 = 'qwertyuioplkjhgfdsazxcvbnm'\n str2... | development/coffee/app.coffee | angeal185/electron-password-generator | 0 | pw_len = undefined
genpw = (id, plen, arg1, arg2, arg3, arg4) ->
obj = document.getElementById(id)
arg1 = document.getElementById(arg1)
arg2 = document.getElementById(arg2)
arg3 = document.getElementById(arg3)
arg4 = document.getElementById(arg4)
obj.value = GeneratePassword(plen, arg1.checked, arg2.checke... | 202814 | pw_len = undefined
genpw = (id, plen, arg1, arg2, arg3, arg4) ->
obj = document.getElementById(id)
arg1 = document.getElementById(arg1)
arg2 = document.getElementById(arg2)
arg3 = document.getElementById(arg3)
arg4 = document.getElementById(arg4)
obj.value = GeneratePassword(plen, arg1.checked, arg2.checke... | true | pw_len = undefined
genpw = (id, plen, arg1, arg2, arg3, arg4) ->
obj = document.getElementById(id)
arg1 = document.getElementById(arg1)
arg2 = document.getElementById(arg2)
arg3 = document.getElementById(arg3)
arg4 = document.getElementById(arg4)
obj.value = GeneratePassword(plen, arg1.checked, arg2.checke... |
[
{
"context": "')\n .get('/v2/users/self/friends?oauth_token=foobarbaz&v=20140806')\n .replyWithFile(200, __dirname ",
"end": 522,
"score": 0.9955544471740723,
"start": 513,
"tag": "PASSWORD",
"value": "foobarbaz"
},
{
"context": "('/v2/users/self/friends?oauth_token=foobarb... | test/foursquare-locator_test.coffee | stephenyeargin/hubot-foursquare-locator | 2 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/foursquare-locator.coffee')
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-0600 (CST)')
describe 'hubot-fours... | 166706 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/foursquare-locator.coffee')
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-0600 (CST)')
describe 'hubot-fours... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/foursquare-locator.coffee')
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 06 2018 23:01:27 GMT-0600 (CST)')
describe 'hubot-fours... |
[
{
"context": "] = instanceMethodDefinition\n\n\n ###\n TODO(chris): Figure out a way to set these virtuals\n in",
"end": 1059,
"score": 0.8614879846572876,
"start": 1054,
"tag": "NAME",
"value": "chris"
}
] | src/core/initializers.model/adapter.coffee | classdojo/mongoose-builder | 0 | ###
A small mongoose adapter that transforms schemas from class-like coffeescript classes
into the more idosyncratic mongoose plugin interface
###
_ = require("underscore")
exports.adapt = (schema, options, plugin) ->
#expands a plugins methods and adds to mongoose
#schema object
_plugin = (skema, options) ... | 169342 | ###
A small mongoose adapter that transforms schemas from class-like coffeescript classes
into the more idosyncratic mongoose plugin interface
###
_ = require("underscore")
exports.adapt = (schema, options, plugin) ->
#expands a plugins methods and adds to mongoose
#schema object
_plugin = (skema, options) ... | true | ###
A small mongoose adapter that transforms schemas from class-like coffeescript classes
into the more idosyncratic mongoose plugin interface
###
_ = require("underscore")
exports.adapt = (schema, options, plugin) ->
#expands a plugins methods and adds to mongoose
#schema object
_plugin = (skema, options) ... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\nroot = exports ? ",
"end": 36,
"score": 0.9998898506164551,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/src/m26_age_calculator.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
root = exports ? this
class AgeCalculator
# these are "class methods", not "instance methods".
@milliseconds_per_year: ->
31557600000 # ms_yr = 1000 * 60 * 60 * 24 * 365.25
@calculate: (birth_yyyy_mm_dd, as_of_yyyy_mm_dd) ->
if birth... | 131786 | # Copyright 2015, <NAME> <<EMAIL>>
root = exports ? this
class AgeCalculator
# these are "class methods", not "instance methods".
@milliseconds_per_year: ->
31557600000 # ms_yr = 1000 * 60 * 60 * 24 * 365.25
@calculate: (birth_yyyy_mm_dd, as_of_yyyy_mm_dd) ->
if birth_yyyy_mm_dd
bdate = new Dat... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
root = exports ? this
class AgeCalculator
# these are "class methods", not "instance methods".
@milliseconds_per_year: ->
31557600000 # ms_yr = 1000 * 60 * 60 * 24 * 365.25
@calculate: (birth_yyyy_mm_dd, as_of_yyyy_mm_dd) ->
if birth_yyy... |
[
{
"context": "\ncharacter =\n name:'キャラクター1'\n team:'teamA'\n ai:\n name: 'Chaser'\n weapon",
"end": 28,
"score": 0.9979218244552612,
"start": 21,
"tag": "NAME",
"value": "キャラクター1"
},
{
"context": "\n name:'キャラクター1'\n team:'teamA'\n ai:\n name: 'Chaser'\n weapon:\n d... | src/main/data/character_001.coffee | fukuyama/nineteen | 2 |
character =
name:'キャラクター1'
team:'teamA'
ai:
name: 'Chaser'
weapon:
damage: 40
height: 48
width: 12
range:
start: 0
end: 120
speed: 600
module.exports = character
| 139913 |
character =
name:'<NAME>'
team:'teamA'
ai:
name: '<NAME>'
weapon:
damage: 40
height: 48
width: 12
range:
start: 0
end: 120
speed: 600
module.exports = character
| true |
character =
name:'PI:NAME:<NAME>END_PI'
team:'teamA'
ai:
name: 'PI:NAME:<NAME>END_PI'
weapon:
damage: 40
height: 48
width: 12
range:
start: 0
end: 120
speed: 600
module.exports = character
|
[
{
"context": " {\n id: \"09vsjk3209svdjh\",\n name: \"Joe Johnson\",\n email: \"joe.johnson@example.com\",\n ",
"end": 1944,
"score": 0.9998220801353455,
"start": 1933,
"tag": "NAME",
"value": "Joe Johnson"
},
{
"context": "jh\",\n name: \"Joe Johnson... | lib/seed.coffee | zhangcheng/bbclonemail-meteor | 1 | body =
[
"Voluptate quinoa wayfarers, american apparel consectetur mlkshk dolor DIY. Portland pitchfork terry richardson jean shorts locavore placeat. Qui retro stumptown, art party aute delectus reprehenderit wolf quinoa craft beer nesciunt minim master cleanse. Irony cliche dreamcatcher, PBR skateboard laborum... | 65135 | body =
[
"Voluptate quinoa wayfarers, american apparel consectetur mlkshk dolor DIY. Portland pitchfork terry richardson jean shorts locavore placeat. Qui retro stumptown, art party aute delectus reprehenderit wolf quinoa craft beer nesciunt minim master cleanse. Irony cliche dreamcatcher, PBR skateboard laborum... | true | body =
[
"Voluptate quinoa wayfarers, american apparel consectetur mlkshk dolor DIY. Portland pitchfork terry richardson jean shorts locavore placeat. Qui retro stumptown, art party aute delectus reprehenderit wolf quinoa craft beer nesciunt minim master cleanse. Irony cliche dreamcatcher, PBR skateboard laborum... |
[
{
"context": "'00000@000'\n process.env.HUBOT_FLICKR_API_KEY='foo123bar'\n nock.disableNetConnect()\n @room = helper.",
"end": 362,
"score": 0.9986812472343445,
"start": 353,
"tag": "KEY",
"value": "foo123bar"
},
{
"context": "on')\n\n selfRoom = @room\n selfRoom.user.... | test/flickr-group-search-test.coffee | stephenyeargin/hubot-flickr-group-search | 1 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'../src/flickr-group-search.coffee'
]
describe 'hubot-flickr-group-search', ->
beforeEach ->
process.env.HUBOT_LOG_LEVEL='error'
process.env.HUBOT_FLICKR_GROUP_ID='00000@000'
p... | 59689 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'../src/flickr-group-search.coffee'
]
describe 'hubot-flickr-group-search', ->
beforeEach ->
process.env.HUBOT_LOG_LEVEL='error'
process.env.HUBOT_FLICKR_GROUP_ID='00000@000'
p... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'../src/flickr-group-search.coffee'
]
describe 'hubot-flickr-group-search', ->
beforeEach ->
process.env.HUBOT_LOG_LEVEL='error'
process.env.HUBOT_FLICKR_GROUP_ID='00000@000'
p... |
[
{
"context": "tAttribute('tappable')\n\n # OWM api id\n APPID = '74caac32fcc2d61b715c249e789a875e'\n\n osm = L.tileLayer 'http://{s}.tile.openstreet",
"end": 1059,
"score": 0.9858319163322449,
"start": 1027,
"tag": "KEY",
"value": "74caac32fcc2d61b715c249e789a875e"
}
] | www/coffee/clouds.coffee | atonevski/skp-ons | 0 | #
# clouds.coffee: map with clouds
#
window.fn.cloudMap = null
window.fn.loadClouds = () ->
content = $('#content')[0]
menu = $('#menu')[0]
if window.fn.selected is 'clouds'
menu.close.bind(menu)()
return
content.load 'views/clouds.html'
.then menu.close.bind(menu)
.then () ->
... | 196533 | #
# clouds.coffee: map with clouds
#
window.fn.cloudMap = null
window.fn.loadClouds = () ->
content = $('#content')[0]
menu = $('#menu')[0]
if window.fn.selected is 'clouds'
menu.close.bind(menu)()
return
content.load 'views/clouds.html'
.then menu.close.bind(menu)
.then () ->
... | true | #
# clouds.coffee: map with clouds
#
window.fn.cloudMap = null
window.fn.loadClouds = () ->
content = $('#content')[0]
menu = $('#menu')[0]
if window.fn.selected is 'clouds'
menu.close.bind(menu)()
return
content.load 'views/clouds.html'
.then menu.close.bind(menu)
.then () ->
... |
[
{
"context": "t_path, gist_id, html_url) ->\n git_push_url = \"git@gist.github.com:#{ gist_id }.git\"\n git(project_path).init (err",
"end": 9320,
"score": 0.9972525835037231,
"start": 9301,
"tag": "EMAIL",
"value": "git@gist.github.com"
},
{
"context": "cription : 'A proto p... | src/proto.coffee | marquee/proto | 7 | fs = require 'fs'
sys = require 'sys'
cli = require 'cli'
git = require 'simple-git'
rest = require 'restler'
renderer = require './renderer'
{ htmlResponse, fileResponse } = require './http_utils'
{ cacheFileFromURL } ... | 103675 | fs = require 'fs'
sys = require 'sys'
cli = require 'cli'
git = require 'simple-git'
rest = require 'restler'
renderer = require './renderer'
{ htmlResponse, fileResponse } = require './http_utils'
{ cacheFileFromURL } ... | true | fs = require 'fs'
sys = require 'sys'
cli = require 'cli'
git = require 'simple-git'
rest = require 'restler'
renderer = require './renderer'
{ htmlResponse, fileResponse } = require './http_utils'
{ cacheFileFromURL } ... |
[
{
"context": "ject.coffee\"\n data: ->\n data: [\n {name: \"test1\", name2: \"test\", name3:\"test\"}\n {name: \"test",
"end": 208,
"score": 0.8329634666442871,
"start": 203,
"tag": "NAME",
"value": "test1"
},
{
"context": "ata: ->\n data: [\n {name: \"test1\", ... | test/byObject.coffee | paulpflug/vue-filters | 16 | comp =
template: "<ul><li v-for='d in data | byObject filter'>{{d.name}}{{d.name2}}{{d.name3}}</li></ul>"
filters:
byObject: require "../src/byObject.coffee"
data: ->
data: [
{name: "test1", name2: "test", name3:"test"}
{name: "test2", name2: "test", name3:"test"}
{name: "test3", name2: ... | 129883 | comp =
template: "<ul><li v-for='d in data | byObject filter'>{{d.name}}{{d.name2}}{{d.name3}}</li></ul>"
filters:
byObject: require "../src/byObject.coffee"
data: ->
data: [
{name: "<NAME>", name2: "<NAME>", name3:"test"}
{name: "<NAME>", name2: "test", name3:"test"}
{name: "<NAME>", na... | true | comp =
template: "<ul><li v-for='d in data | byObject filter'>{{d.name}}{{d.name2}}{{d.name3}}</li></ul>"
filters:
byObject: require "../src/byObject.coffee"
data: ->
data: [
{name: "PI:NAME:<NAME>END_PI", name2: "PI:NAME:<NAME>END_PI", name3:"test"}
{name: "PI:NAME:<NAME>END_PI", name2: "test... |
[
{
"context": "dule = require '../src/coffee/Schedule'\n\nalice = 'alice'\nAlice = 'Alice'\nalicesmith = 'alice smith'\nAlice",
"end": 96,
"score": 0.9575772881507874,
"start": 91,
"tag": "NAME",
"value": "alice"
},
{
"context": "../src/coffee/Schedule'\n\nalice = 'alice'\nAlice = 'Al... | test/scheduleTest.coffee | paulmand3l/schedule-optimizer | 0 | chai = require 'chai'
chai.should()
Schedule = require '../src/coffee/Schedule'
alice = 'alice'
Alice = 'Alice'
alicesmith = 'alice smith'
AliceSmith = 'Alice Smith'
alice_ = 'alice '
aliceq = 'alice?'
bob = 'bob'
charlie = 'charlie'
david = 'david'
describe 'Schedule instance', ->
it 'should lowercase instructors... | 161850 | chai = require 'chai'
chai.should()
Schedule = require '../src/coffee/Schedule'
alice = '<NAME>'
Alice = '<NAME>'
alicesmith = '<NAME>'
<NAME>Sm<NAME> = '<NAME>'
alice_ = '<NAME> '
aliceq = 'alice?'
bob = '<NAME>'
charlie = '<NAME>'
david = '<NAME>'
describe 'Schedule instance', ->
it 'should lowercase instructors... | true | chai = require 'chai'
chai.should()
Schedule = require '../src/coffee/Schedule'
alice = 'PI:NAME:<NAME>END_PI'
Alice = 'PI:NAME:<NAME>END_PI'
alicesmith = 'PI:NAME:<NAME>END_PI'
PI:NAME:<NAME>END_PISmPI:NAME:<NAME>END_PI = 'PI:NAME:<NAME>END_PI'
alice_ = 'PI:NAME:<NAME>END_PI '
aliceq = 'alice?'
bob = 'PI:NAME:<NAME>... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'shmd'\n\n parse: ->\n count = @file.readInt()\n\n fo",
"end": 175,
"score": 0.9938886165618896,
"start": 171,
"tag": "KEY",
"value": "shmd"
},
{
"context": "tell() + len\n\n @parseLayerComps() if key is 'cml... | lib/psd/layer_info/metadata.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class Metadata extends LayerInfo
@shouldParse: (key) -> key is 'shmd'
parse: ->
count = @file.readInt()
for i in [0...count]
@file.seek 4, true
key = @file.readString(4)
copyO... | 91046 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class Metadata extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
count = @file.readInt()
for i in [0...count]
@file.seek 4, true
key = @file.readString(4)
copy... | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class Metadata extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
count = @file.readInt()
for i in [0...count]
@file.seek 4, true
key = @file.readString(4)
... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\ndescribe 'RunWalk",
"end": 36,
"score": 0.9998860359191895,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/test-src/m26_run_walk_calculator_spec.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
describe 'RunWalkCalculator', ->
it "should calculate with all walking", ->
run_hhmmss = '00:00'
run_ppm = '9:00'
walk_hhmmss = '10:00'
walk_ppm = '18:00'
miles = '3.333'
result = RunWalkCalculator.calculate(r... | 36708 | # Copyright 2015, <NAME> <<EMAIL>>
describe 'RunWalkCalculator', ->
it "should calculate with all walking", ->
run_hhmmss = '00:00'
run_ppm = '9:00'
walk_hhmmss = '10:00'
walk_ppm = '18:00'
miles = '3.333'
result = RunWalkCalculator.calculate(run_hhmmss, run_ppm, walk_hhmmss, ... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
describe 'RunWalkCalculator', ->
it "should calculate with all walking", ->
run_hhmmss = '00:00'
run_ppm = '9:00'
walk_hhmmss = '10:00'
walk_ppm = '18:00'
miles = '3.333'
result = RunWalkCalculator.calculate(run_h... |
[
{
"context": "\n value: 90\n }\n {\n name: 'Jack hammer (100 db)'\n class: 'db100 qualitative-defau",
"end": 1481,
"score": 0.9965057969093323,
"start": 1470,
"tag": "NAME",
"value": "Jack hammer"
}
] | webapp/app/static/coffeescripts/city.coffee | sampathweb/datacanvas | 0 | helpers =
getColorClass: (value=Infinity, qualitative=[]) ->
for setting in qualitative
if value <= setting.value
return setting.class
false
aqiQualitative: [
{
name: 'Good'
class: 'good'
lower: 0
value: 50
},
{
name: 'Moderate'
... | 125879 | helpers =
getColorClass: (value=Infinity, qualitative=[]) ->
for setting in qualitative
if value <= setting.value
return setting.class
false
aqiQualitative: [
{
name: 'Good'
class: 'good'
lower: 0
value: 50
},
{
name: 'Moderate'
... | true | helpers =
getColorClass: (value=Infinity, qualitative=[]) ->
for setting in qualitative
if value <= setting.value
return setting.class
false
aqiQualitative: [
{
name: 'Good'
class: 'good'
lower: 0
value: 50
},
{
name: 'Moderate'
... |
[
{
"context": "Welcome:\n tabTitle: \"Benvenuto\"\n subtitle: {\n text1: \"Un editor di testo hac",
"end": 31,
"score": 0.8548309803009033,
"start": 22,
"tag": "NAME",
"value": "Benvenuto"
}
] | def/it/welcome.cson | rclenzi/atom-i18n | 76 | Welcome:
tabTitle: "Benvenuto"
subtitle: {
text1: "Un editor di testo hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per ricevere supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per le Guide e la consulta... | 100535 | Welcome:
tabTitle: "<NAME>"
subtitle: {
text1: "Un editor di testo hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per ricevere supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per le Guide e la consultazio... | true | Welcome:
tabTitle: "PI:NAME:<NAME>END_PI"
subtitle: {
text1: "Un editor di testo hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per ricevere supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per le Guide e ... |
[
{
"context": "ot (time|時間|何時) - 今が何時か教えてあげるよー\r\n#\r\n# Author:\r\n# aha-oretama <sekine_y_529@msn.com>\r\n\r\nmoment = require('momen",
"end": 279,
"score": 0.9982295036315918,
"start": 268,
"tag": "USERNAME",
"value": "aha-oretama"
},
{
"context": ") - 今が何時か教えてあげるよー\r\n#\r\n# Aut... | scripts/diagostics.coffee | aha-oretama/oretamaBot | 0 | # Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot (ping|おーい|おーい?|おい|おい?|生きてる?|生きている?|大丈夫?) - なに~?
# hubot (date|日にち|何日) - 今日が何日か教えてあげるよー
# hubot (day|曜日) - 今日が何曜日か教えてあげるよー
# hubot (time|時間|何時) - 今が何時か教えてあげるよー
#
# Author:
# aha-oretama <sekine_y_529@msn.com>
moment = requi... | 52826 | # Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot (ping|おーい|おーい?|おい|おい?|生きてる?|生きている?|大丈夫?) - なに~?
# hubot (date|日にち|何日) - 今日が何日か教えてあげるよー
# hubot (day|曜日) - 今日が何曜日か教えてあげるよー
# hubot (time|時間|何時) - 今が何時か教えてあげるよー
#
# Author:
# aha-oretama <<EMAIL>>
moment = require('moment')
... | true | # Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot (ping|おーい|おーい?|おい|おい?|生きてる?|生きている?|大丈夫?) - なに~?
# hubot (date|日にち|何日) - 今日が何日か教えてあげるよー
# hubot (day|曜日) - 今日が何曜日か教えてあげるよー
# hubot (time|時間|何時) - 今が何時か教えてあげるよー
#
# Author:
# aha-oretama <PI:EMAIL:<EMAIL>END_PI>
moment = req... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998904466629028,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/common/attachments.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 199892 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "end = Point.new ['90%', '93%']\n\n if name == 'mona' || name == 'kamisato_ayaka'\n start = Poin",
"end": 904,
"score": 0.4635735750198364,
"start": 900,
"tag": "USERNAME",
"value": "mona"
},
{
"context": "90%', '93%']\n\n if name == 'mona' || name == 'k... | source/skill.coffee | yunmengjiangnan/genshin-impact-script | 0 | ### interface
type Slot = 1 | 2 | 3 | 4 | 5
type Step = 'end' | 'start'
type Timestamp = number
###
# function
class Skill
listCountDown: {}
listDuration: {}
listQ: {}
listRecord: {}
constructor: ->
@reset()
@watch()
# cancelCheck(): void
cancelCheck: ->
token = 'skill/check'
Timer.r... | 45500 | ### interface
type Slot = 1 | 2 | 3 | 4 | 5
type Step = 'end' | 'start'
type Timestamp = number
###
# function
class Skill
listCountDown: {}
listDuration: {}
listQ: {}
listRecord: {}
constructor: ->
@reset()
@watch()
# cancelCheck(): void
cancelCheck: ->
token = 'skill/check'
Timer.r... | true | ### interface
type Slot = 1 | 2 | 3 | 4 | 5
type Step = 'end' | 'start'
type Timestamp = number
###
# function
class Skill
listCountDown: {}
listDuration: {}
listQ: {}
listRecord: {}
constructor: ->
@reset()
@watch()
# cancelCheck(): void
cancelCheck: ->
token = 'skill/check'
Timer.r... |
[
{
"context": "rd Tutorial Edit (assets)\nProject: Waaave\nAuthors: Julien Le Coupanec, Valerian Saliou\nCopyright: 2014, Waaave\n###\n\n__ ",
"end": 88,
"score": 0.9998599290847778,
"start": 70,
"tag": "NAME",
"value": "Julien Le Coupanec"
},
{
"context": "sets)\nProject: Waaave\nAut... | static/src/assets/dashboard/javascripts/dashboard_tutorial_edit.coffee | valeriansaliou/waaave-web | 1 | ###
Bundle: Dashboard Tutorial Edit (assets)
Project: Waaave
Authors: Julien Le Coupanec, Valerian Saliou
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialEdit
init: ->
try
# Selectors
@_document_sel = $ document
@_window_sel = $ window
@_das... | 24740 | ###
Bundle: Dashboard Tutorial Edit (assets)
Project: Waaave
Authors: <NAME>, <NAME>
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialEdit
init: ->
try
# Selectors
@_document_sel = $ document
@_window_sel = $ window
@_dashboard_sel = $ '.dash... | true | ###
Bundle: Dashboard Tutorial Edit (assets)
Project: Waaave
Authors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialEdit
init: ->
try
# Selectors
@_document_sel = $ document
@_window_sel = $ window
... |
[
{
"context": "ic CoffeeScript.\n \"\"\"\n\n\n tokens: [ \"CALL_START\" ]\n\n lintToken : (token, tokenApi) ->\n ",
"end": 654,
"score": 0.9417638778686523,
"start": 644,
"tag": "KEY",
"value": "CALL_START"
}
] | nodejs/flarebyte.net/0.8/node/magma/node_modules/grunt-coffeelint/node_modules/coffeelint/src/rules/no_implicit_parens.coffee | flarebyte/wonderful-bazar | 8 |
module.exports = class NoImplicitParens
rule:
name: 'no_implicit_parens'
level : 'ignore'
message : 'Implicit parens are forbidden'
description: """
This rule prohibits implicit parens on function calls.
<pre>
<code># Some folks don't like this s... | 50622 |
module.exports = class NoImplicitParens
rule:
name: 'no_implicit_parens'
level : 'ignore'
message : 'Implicit parens are forbidden'
description: """
This rule prohibits implicit parens on function calls.
<pre>
<code># Some folks don't like this s... | true |
module.exports = class NoImplicitParens
rule:
name: 'no_implicit_parens'
level : 'ignore'
message : 'Implicit parens are forbidden'
description: """
This rule prohibits implicit parens on function calls.
<pre>
<code># Some folks don't like this s... |
[
{
"context": "emoved due to node.crypto issue\n#__$Keys = crypto.getDiffieHellman('modp5')\n#__$Keys.generateKeys()\n#__$privkey = __",
"end": 353,
"score": 0.8356927037239075,
"start": 337,
"tag": "KEY",
"value": "getDiffieHellman"
},
{
"context": ".crypto issue\n#__$Keys = crypto.g... | test/index.coffee | caffeineaddiction/ca-auth | 0 | crypto = require 'crypto'
_auth = require('../index')
should = require('chai').should()
fs = require 'fs'
db_init = _auth.init
db_close = _auth.close
db_create = _auth.create
db_auth = _auth.authenticate
db_update = _auth.update
db_del = _auth.delete
#_auth.debug()
#TODO# Removed due to node.crypto issue
#... | 198854 | crypto = require 'crypto'
_auth = require('../index')
should = require('chai').should()
fs = require 'fs'
db_init = _auth.init
db_close = _auth.close
db_create = _auth.create
db_auth = _auth.authenticate
db_update = _auth.update
db_del = _auth.delete
#_auth.debug()
#TODO# Removed due to node.crypto issue
#... | true | crypto = require 'crypto'
_auth = require('../index')
should = require('chai').should()
fs = require 'fs'
db_init = _auth.init
db_close = _auth.close
db_create = _auth.create
db_auth = _auth.authenticate
db_update = _auth.update
db_del = _auth.delete
#_auth.debug()
#TODO# Removed due to node.crypto issue
#... |
[
{
"context": "rue\n hashrocket: {}\n \"gist-it\":\n userToken: \"71af32918872d0c395925a39fb7c468bfb6a4c37\"\n \"atom-be",
"end": 528,
"score": 0.6286969780921936,
"start": 526,
"tag": "KEY",
"value": "71"
},
{
"context": "e\n hashrocket: {}\n \"gist-it\":\n userToken: \"71... | etc/atom/config.cson | cchamberlain/zdotdir | 2 | "*":
"exception-reporting":
userId: "a033da22-32ae-96c7-4173-bae5fe67adac"
welcome:
showOnStartup: false
core:
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
autoHideMenuBar: true
linter: {}
editor:
invisibles: {}
showIndentGuide: true
showInvisibles: true
fo... | 91072 | "*":
"exception-reporting":
userId: "a033da22-32ae-96c7-4173-bae5fe67adac"
welcome:
showOnStartup: false
core:
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
autoHideMenuBar: true
linter: {}
editor:
invisibles: {}
showIndentGuide: true
showInvisibles: true
fo... | true | "*":
"exception-reporting":
userId: "a033da22-32ae-96c7-4173-bae5fe67adac"
welcome:
showOnStartup: false
core:
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
autoHideMenuBar: true
linter: {}
editor:
invisibles: {}
showIndentGuide: true
showInvisibles: true
fo... |
[
{
"context": "# class Person\n# @accessor 'name', 'momName', 'dadName',\n# get: -> @firstName+' '+@la",
"end": 41,
"score": 0.5122807621955872,
"start": 39,
"tag": "NAME",
"value": "om"
},
{
"context": "llNameAccessor)\n person = Batman\n firstName: 'James'\n lastName: '... | tests/batman/property/property_test.coffee | nickjs/batman | 1 | # class Person
# @accessor 'name', 'momName', 'dadName',
# get: -> @firstName+' '+@lastName
# set: (val) -> [@firstName, @lastName] = val.split(' ')
# unset: ->
# @firstName = null
# delete @firstName
# @lastName = null
# delete @lastName
#
# class Batman.Object
# constructor: (... | 163320 | # class Person
# @accessor 'name', 'm<NAME>Name', 'dadName',
# get: -> @firstName+' '+@lastName
# set: (val) -> [@firstName, @lastName] = val.split(' ')
# unset: ->
# @firstName = null
# delete @firstName
# @lastName = null
# delete @lastName
#
# class Batman.Object
# constructo... | true | # class Person
# @accessor 'name', 'mPI:NAME:<NAME>END_PIName', 'dadName',
# get: -> @firstName+' '+@lastName
# set: (val) -> [@firstName, @lastName] = val.split(' ')
# unset: ->
# @firstName = null
# delete @firstName
# @lastName = null
# delete @lastName
#
# class Batman.Object
... |
[
{
"context": "sole.cloud.google.com/datastore/entities/edit?key=0%2F%7C6%2FConfig%7C11%2Fname:master&project=#{@CONFIG_DB.APPLICATION_ID}&",
"end": 255,
"score": 0.8798775672912598,
"start": 231,
"tag": "KEY",
"value": "0%2F%7C6%2FConfig%7C11%2"
},
{
"context": "astore/entities/edit?... | main/static/src/script/app/components/admin/config/config_ctrl.coffee | topless/less-tabs | 1 |
class AdminConfig extends Controller
constructor: ($location, @$scope, @CONFIG_DB, @authService, @configService) ->
@configDB = @CONFIG_DB
@editConfigUrl = "https://console.cloud.google.com/datastore/entities/edit?key=0%2F%7C6%2FConfig%7C11%2Fname:master&project=#{@CONFIG_DB.APPLICATION_ID}&ns=&kind=Config... | 219403 |
class AdminConfig extends Controller
constructor: ($location, @$scope, @CONFIG_DB, @authService, @configService) ->
@configDB = @CONFIG_DB
@editConfigUrl = "https://console.cloud.google.com/datastore/entities/edit?key=<KEY>F<KEY>:<KEY>&project=#{@CONFIG_DB.APPLICATION_ID}&ns=&kind=Config&queryType=kind"
... | true |
class AdminConfig extends Controller
constructor: ($location, @$scope, @CONFIG_DB, @authService, @configService) ->
@configDB = @CONFIG_DB
@editConfigUrl = "https://console.cloud.google.com/datastore/entities/edit?key=PI:KEY:<KEY>END_PIFPI:KEY:<KEY>END_PI:PI:KEY:<KEY>END_PI&project=#{@CONFIG_DB.APPLICATION... |
[
{
"context": "il', type: 'email'}\n {name: 'password', type: 'password'}\n]\n\nLoginView = React.createClass\n mixins: [ ",
"end": 215,
"score": 0.7800143361091614,
"start": 207,
"tag": "PASSWORD",
"value": "password"
}
] | api/static/js/components/login.coffee | withmaia/maia-api | 0 | React = require 'react'
{Router, Link, History} = require 'react-router'
{ValidatedForm} = require 'react-zamba/lib/forms'
login_fields = [
{name: 'email', type: 'email'}
{name: 'password', type: 'password'}
]
LoginView = React.createClass
mixins: [ History ]
didLogin: ({success, user}) ->
w... | 150571 | React = require 'react'
{Router, Link, History} = require 'react-router'
{ValidatedForm} = require 'react-zamba/lib/forms'
login_fields = [
{name: 'email', type: 'email'}
{name: 'password', type: '<PASSWORD>'}
]
LoginView = React.createClass
mixins: [ History ]
didLogin: ({success, user}) ->
... | true | React = require 'react'
{Router, Link, History} = require 'react-router'
{ValidatedForm} = require 'react-zamba/lib/forms'
login_fields = [
{name: 'email', type: 'email'}
{name: 'password', type: 'PI:PASSWORD:<PASSWORD>END_PI'}
]
LoginView = React.createClass
mixins: [ History ]
didLogin: ({success,... |
[
{
"context": "copeName': 'source.jc'\n'fileTypes': ['jc']\nname: 'Jacy'\n\npatterns: [\n {\n comment: 'Call exp",
"end": 53,
"score": 0.553280770778656,
"start": 52,
"tag": "NAME",
"value": "J"
}
] | grammars/jacy.cson | jacylang/Jacy-Atom | 0 | 'scopeName': 'source.jc'
'fileTypes': ['jc']
name: 'Jacy'
patterns: [
{
comment: 'Call expression'
match: '\\b([\\p{Alpha}_][\\w]*)\\s*(?=\\()'
captures: {
'1': {name: 'entity.name.function.jacy'}
}
}
{include: '#comments'}
{include: '#operators'}
{inclu... | 135585 | 'scopeName': 'source.jc'
'fileTypes': ['jc']
name: '<NAME>acy'
patterns: [
{
comment: 'Call expression'
match: '\\b([\\p{Alpha}_][\\w]*)\\s*(?=\\()'
captures: {
'1': {name: 'entity.name.function.jacy'}
}
}
{include: '#comments'}
{include: '#operators'}
{... | true | 'scopeName': 'source.jc'
'fileTypes': ['jc']
name: 'PI:NAME:<NAME>END_PIacy'
patterns: [
{
comment: 'Call expression'
match: '\\b([\\p{Alpha}_][\\w]*)\\s*(?=\\()'
captures: {
'1': {name: 'entity.name.function.jacy'}
}
}
{include: '#comments'}
{include: '#ope... |
[
{
"context": " pattern: \"http*://mail.google.com/*\", passKeys: \"jk\" } ]\n\n parseLegacyRules = (lines) ->\n for lin",
"end": 2231,
"score": 0.9346253871917725,
"start": 2229,
"tag": "KEY",
"value": "jk"
}
] | background_scripts/exclusions.coffee | nchase/vimium | 0 | root = exports ? window
RegexpCache =
cache: {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*/g, ".*") + "$")
... | 101052 | root = exports ? window
RegexpCache =
cache: {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*/g, ".*") + "$")
... | true | root = exports ? window
RegexpCache =
cache: {}
get: (pattern) ->
if regexp = @cache[pattern]
regexp
else
@cache[pattern] =
# We use try/catch to ensure that a broken regexp doesn't wholly cripple Vimium.
try
new RegExp("^" + pattern.replace(/\*/g, ".*") + "$")
... |
[
{
"context": "#\n# (c) 2014, Alexey Illarionov\n#\n# (c) 2014, Vladimir Agafonkin\n# Leaflet.heat, ",
"end": 31,
"score": 0.999840259552002,
"start": 14,
"tag": "NAME",
"value": "Alexey Illarionov"
},
{
"context": "#\n# (c) 2014, Alexey Illarionov\n#\n# (c) 2014, Vladimir Agafonkin\n... | app/scripts/CoverageLayer.coffee | illarionov/cellview0 | 1 | #
# (c) 2014, Alexey Illarionov
#
# (c) 2014, Vladimir Agafonkin
# Leaflet.heat, a tiny and fast heatmap plugin for Leaflet.
# https://github.com/Leaflet/Leaflet.heat
#
define [
'leaflet',
'SignalGradient'
], (L, SignalGradient) ->
"use strict"
class CoverageLayer extends L.Class
constructor: ->
@defa... | 150410 | #
# (c) 2014, <NAME>
#
# (c) 2014, <NAME>
# Leaflet.heat, a tiny and fast heatmap plugin for Leaflet.
# https://github.com/Leaflet/Leaflet.heat
#
define [
'leaflet',
'SignalGradient'
], (L, SignalGradient) ->
"use strict"
class CoverageLayer extends L.Class
constructor: ->
@defaultGridSize = 51
... | true | #
# (c) 2014, PI:NAME:<NAME>END_PI
#
# (c) 2014, PI:NAME:<NAME>END_PI
# Leaflet.heat, a tiny and fast heatmap plugin for Leaflet.
# https://github.com/Leaflet/Leaflet.heat
#
define [
'leaflet',
'SignalGradient'
], (L, SignalGradient) ->
"use strict"
class CoverageLayer extends L.Class
constructor: ->
... |
[
{
"context": "_token=\"+asset.get(\"secret_token\")+\"&consumer_key=HPVSlSWvz2eoFt5jGGB8A\"\r\n whileloading: ->\r\n $('#cli",
"end": 4441,
"score": 0.7224453687667847,
"start": 4420,
"tag": "KEY",
"value": "HPVSlSWvz2eoFt5jGGB8A"
}
] | app/coffeescripts/baphomet-js/views/session.coffee | devilcoders/BaphometDAW | 1 | $( () ->
window.SessionView = Backbone.View.extend
el : $("#container")
events:
"click #play" : "playSession"
"click #stop" : "stopSession"
"click #add-track" : "addTrack"
initialize: ->
_.bindAll(this,
'addOn... | 109192 | $( () ->
window.SessionView = Backbone.View.extend
el : $("#container")
events:
"click #play" : "playSession"
"click #stop" : "stopSession"
"click #add-track" : "addTrack"
initialize: ->
_.bindAll(this,
'addOn... | true | $( () ->
window.SessionView = Backbone.View.extend
el : $("#container")
events:
"click #play" : "playSession"
"click #stop" : "stopSession"
"click #add-track" : "addTrack"
initialize: ->
_.bindAll(this,
'addOn... |
[
{
"context": "= process.env.SURESPOT_REDIS_SENTINEL_HOSTNAME ? \"127.0.0.1\"\ndontUseSSL = process.env.SURESPOT_DONT_USE_SSL i",
"end": 509,
"score": 0.9997345805168152,
"start": 500,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " \"true\"\n\npool = new helenus.Connectio... | test/test/serverTests.coffee | SchoolOfFreelancing/SureSpot | 1 | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... | 75378 | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... | true | assert = require("assert")
should = require("should")
http = require("request")
redis = require("redis")
util = require("util")
crypto = require 'crypto'
dcrypt = require 'dcrypt'
async = require 'async'
fs = require("fs")
redisSentinel = require 'redis-sentinel-client'
helenus = require 'helenus'
socketPort = proce... |
[
{
"context": "-------------------------------------\n#\n#\tAuthor : philippe.billet@noos.fr\n#\n#\terfc(x)\n#\n#\tGW\tAdded erfc() from Numerical Re",
"end": 115,
"score": 0.997165322303772,
"start": 92,
"tag": "EMAIL",
"value": "philippe.billet@noos.fr"
}
] | sources/erfc.coffee | ribrdb/Algebrite | 4 | #-----------------------------------------------------------------------------
#
# Author : philippe.billet@noos.fr
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
yerfc = ->... | 200716 | #-----------------------------------------------------------------------------
#
# Author : <EMAIL>
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
yerfc = ->
save()
yyerfc... | true | #-----------------------------------------------------------------------------
#
# Author : PI:EMAIL:<EMAIL>END_PI
#
# erfc(x)
#
# GW Added erfc() from Numerical Recipes in C
#
#-----------------------------------------------------------------------------
Eval_erfc = ->
push(cadr(p1))
Eval()
yerfc()
yerfc = ->
... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.500694215297699,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/ApplicationState.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 148588 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "fixtures()[collection], data\n data.access_token = bcrypt.hashSync(data.access_token, SALT) if data.access_",
"end": 527,
"score": 0.6157369613647461,
"start": 521,
"tag": "PASSWORD",
"value": "bcrypt"
}
] | src/api/test/helpers/db.coffee | craigspaeth/positron | 76 | _ = require 'underscore'
path = require 'path'
fs = require 'fs'
bcrypt = require 'bcryptjs'
{ SALT } = process.env
@fixtures = fixtures = require '../../../test/helpers/fixtures'
@db = require '../../lib/db'
@fabricate = (collection, data, callback) =>
if _.isArray(data)
data = (fixturize collection, obj for o... | 132028 | _ = require 'underscore'
path = require 'path'
fs = require 'fs'
bcrypt = require 'bcryptjs'
{ SALT } = process.env
@fixtures = fixtures = require '../../../test/helpers/fixtures'
@db = require '../../lib/db'
@fabricate = (collection, data, callback) =>
if _.isArray(data)
data = (fixturize collection, obj for o... | true | _ = require 'underscore'
path = require 'path'
fs = require 'fs'
bcrypt = require 'bcryptjs'
{ SALT } = process.env
@fixtures = fixtures = require '../../../test/helpers/fixtures'
@db = require '../../lib/db'
@fabricate = (collection, data, callback) =>
if _.isArray(data)
data = (fixturize collection, obj for o... |
[
{
"context": "\n###\n Paraxify.js - v0.1\n @author Jaime Caballero\n MIT license\n###\n\n((document, window, index) ->\n\n",
"end": 49,
"score": 0.9998487830162048,
"start": 34,
"tag": "NAME",
"value": "Jaime Caballero"
}
] | home_assets/paraxify/paraxify.coffee | AvyuTech/repricer | 110 |
###
Paraxify.js - v0.1
@author Jaime Caballero
MIT license
###
((document, window, index) ->
"use strict"
paraxify = (el, options) ->
posY = 0
screenY = 0
i = 0
opt = {}
pho = []
contador = 0
Paraxify = (el, options) ->
this.options = {
speed: 1,
boost: 0
... | 148317 |
###
Paraxify.js - v0.1
@author <NAME>
MIT license
###
((document, window, index) ->
"use strict"
paraxify = (el, options) ->
posY = 0
screenY = 0
i = 0
opt = {}
pho = []
contador = 0
Paraxify = (el, options) ->
this.options = {
speed: 1,
boost: 0
}
... | true |
###
Paraxify.js - v0.1
@author PI:NAME:<NAME>END_PI
MIT license
###
((document, window, index) ->
"use strict"
paraxify = (el, options) ->
posY = 0
screenY = 0
i = 0
opt = {}
pho = []
contador = 0
Paraxify = (el, options) ->
this.options = {
speed: 1,
boos... |
[
{
"context": "growl stop - Stop the gmail update\n#\n# Author:\n# Jimmy Xu / (xjimmyshcn@gmail.com)\n#\n# See Also:\n# refere",
"end": 515,
"score": 0.9998329877853394,
"start": 507,
"tag": "NAME",
"value": "Jimmy Xu"
},
{
"context": "Stop the gmail update\n#\n# Author:\n# Jimm... | scripts/gmail-growl.coffee | Jimmy-Xu/hubot-gmail-growl | 0 | # Description:
# Get new mail from GMail, then notify via growl
#
# Configuration:
# HUBOT_GMAIL_USERNAME
# HUBOT_GMAIL_PASSWORD
# HUBOT_GMAIL_LABEL
# HUBOT_GMAIL_CHECK_INTERVAL
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_IMAP_PROXY_SERVER
# HUBOT_IMAP_PROXY_PORT
#
# Commands:
# hubot gmail-gr... | 204122 | # Description:
# Get new mail from GMail, then notify via growl
#
# Configuration:
# HUBOT_GMAIL_USERNAME
# HUBOT_GMAIL_PASSWORD
# HUBOT_GMAIL_LABEL
# HUBOT_GMAIL_CHECK_INTERVAL
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_IMAP_PROXY_SERVER
# HUBOT_IMAP_PROXY_PORT
#
# Commands:
# hubot gmail-gr... | true | # Description:
# Get new mail from GMail, then notify via growl
#
# Configuration:
# HUBOT_GMAIL_USERNAME
# HUBOT_GMAIL_PASSWORD
# HUBOT_GMAIL_LABEL
# HUBOT_GMAIL_CHECK_INTERVAL
# HUBOT_GNTP_SERVER
# HUBOT_GNTP_PASSWORD
# HUBOT_IMAP_PROXY_SERVER
# HUBOT_IMAP_PROXY_PORT
#
# Commands:
# hubot gmail-gr... |
[
{
"context": "'})\n return\n\n model = new Contact({name: 'Ringo', number: '555-555-5556'})\n view_model = new C",
"end": 979,
"score": 0.99980229139328,
"start": 974,
"tag": "NAME",
"value": "Ringo"
},
{
"context": ")\n\n # get\n assert.equal(view_model.name(), 'Rin... | test/spec/core/observable.tests.coffee | metacommunications/knockback | 160 | assert = assert or require?('chai').assert
describe 'observable @quick @observable', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mo... | 176896 | assert = assert or require?('chai').assert
describe 'observable @quick @observable', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mo... | true | assert = assert or require?('chai').assert
describe 'observable @quick @observable', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Mo... |
[
{
"context": "p_token', (req, res) ->\n res.send { xapp_token: 'xapp_foobar', expires_in: 'expires in utc string' }\n\ngravity.",
"end": 1107,
"score": 0.732660710811615,
"start": 1096,
"tag": "PASSWORD",
"value": "xapp_foobar"
},
{
"context": " 'the-armory-show' }\n else if req.pa... | node/server.coffee | craigspaeth/antigravity | 0 | #
# Fake gravity express app
#
_ = require 'underscore'
express = require 'express'
fabricate = require './fabricate'
fabricate2 = require './fabricate2'
{ spawn } = require 'child_process'
path = require 'path'
GRAVITY_URL = process.env.ARTSY_URL or 'http://localhost:5000/__gravity'
gravity = module.exports = expres... | 223977 | #
# Fake gravity express app
#
_ = require 'underscore'
express = require 'express'
fabricate = require './fabricate'
fabricate2 = require './fabricate2'
{ spawn } = require 'child_process'
path = require 'path'
GRAVITY_URL = process.env.ARTSY_URL or 'http://localhost:5000/__gravity'
gravity = module.exports = expres... | true | #
# Fake gravity express app
#
_ = require 'underscore'
express = require 'express'
fabricate = require './fabricate'
fabricate2 = require './fabricate2'
{ spawn } = require 'child_process'
path = require 'path'
GRAVITY_URL = process.env.ARTSY_URL or 'http://localhost:5000/__gravity'
gravity = module.exports = expres... |
[
{
"context": "9025359'\n }\n ]\n linux: [\n {\n title: 'Clementine'\n scheme: 'itpc://'\n icon: 'linux/cleme",
"end": 4397,
"score": 0.9166576266288757,
"start": 4387,
"tag": "NAME",
"value": "Clementine"
}
] | src/coffee/clients.coffee | johannes-mueller/podlove-subscribe-button | 0 | class Clients
constructor: (platform, osDefault=false) ->
if osDefault
return @['os_defaults'][platform]
return @[platform]
rss: {
title: 'Other (Feed URL)'
icon: 'generic/rss@2x.png'
}
os_defaults: {
android: {
scheme: 'pcast:'
icon: 'generic/android@2x.png'
},
... | 33652 | class Clients
constructor: (platform, osDefault=false) ->
if osDefault
return @['os_defaults'][platform]
return @[platform]
rss: {
title: 'Other (Feed URL)'
icon: 'generic/rss@2x.png'
}
os_defaults: {
android: {
scheme: 'pcast:'
icon: 'generic/android@2x.png'
},
... | true | class Clients
constructor: (platform, osDefault=false) ->
if osDefault
return @['os_defaults'][platform]
return @[platform]
rss: {
title: 'Other (Feed URL)'
icon: 'generic/rss@2x.png'
}
os_defaults: {
android: {
scheme: 'pcast:'
icon: 'generic/android@2x.png'
},
... |
[
{
"context": "'/real/config'\n auth:\n username: 'real-device-uuid'\n password: 'real-device-token'\n ",
"end": 1791,
"score": 0.9955654144287109,
"start": 1775,
"tag": "USERNAME",
"value": "real-device-uuid"
},
{
"context": "'/real/config'\n au... | test/integration/real-config-event-spec.coffee | octoblu/shadow-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /real/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefined... | 79277 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /real/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefined... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /real/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefined... |
[
{
"context": "oller\n\tconstructor: ($scope) -> \n\t\t$scope.name = 'world'\n\n",
"end": 79,
"score": 0.6045552492141724,
"start": 74,
"tag": "NAME",
"value": "world"
}
] | app/states/root/logic.coffee | ckotso/ksekina | 1 | class Root extends Controller
constructor: ($scope) ->
$scope.name = 'world'
| 208287 | class Root extends Controller
constructor: ($scope) ->
$scope.name = '<NAME>'
| true | class Root extends Controller
constructor: ($scope) ->
$scope.name = 'PI:NAME:<NAME>END_PI'
|
[
{
"context": " the modal from the spotlight\n\n_sessionKeyPrefix = \"_tutorial_step_\"\n\nclass @TutorialManager\n constructor: (options",
"end": 494,
"score": 0.9026700854301453,
"start": 479,
"tag": "KEY",
"value": "\"_tutorial_step"
}
] | tutorial.coffee | c316/meteor-tutorials | 42 | defaultSpot = ->
top: 0
left: 0
bottom: $(window).height()
right: $(window).width()
defaultModal = ->
# ensure the modal still fits on small screens
width = Math.min( $(window).width(), 560)
return {
top: "10%"
left: "50%"
width: width
"margin-left": -width / 2 # keep the modal centered
... | 136571 | defaultSpot = ->
top: 0
left: 0
bottom: $(window).height()
right: $(window).width()
defaultModal = ->
# ensure the modal still fits on small screens
width = Math.min( $(window).width(), 560)
return {
top: "10%"
left: "50%"
width: width
"margin-left": -width / 2 # keep the modal centered
... | true | defaultSpot = ->
top: 0
left: 0
bottom: $(window).height()
right: $(window).width()
defaultModal = ->
# ensure the modal still fits on small screens
width = Math.min( $(window).width(), 560)
return {
top: "10%"
left: "50%"
width: width
"margin-left": -width / 2 # keep the modal centered
... |
[
{
"context": "ubscription.create {\n paymentMethodToken: creditCard.token\n planId: specHelper.plans.trialless.id\n ",
"end": 702,
"score": 0.6048498153686523,
"start": 686,
"tag": "KEY",
"value": "creditCard.token"
},
{
"context": "scription.create {\n p... | spec/integration/braintree/advanced_search_spec.coffee | StreamCo/braintree_node | 0 | require("../../spec_helper")
{SubscriptionSearch} = require('../../../lib/braintree/subscription_search')
{TransactionSearch} = require('../../../lib/braintree/transaction_search')
describe "AdvancedSearch", ->
beforeEach ->
@timeout 5000
describe "textFields", ->
subscription1 = null
subscription2 = ... | 165333 | require("../../spec_helper")
{SubscriptionSearch} = require('../../../lib/braintree/subscription_search')
{TransactionSearch} = require('../../../lib/braintree/transaction_search')
describe "AdvancedSearch", ->
beforeEach ->
@timeout 5000
describe "textFields", ->
subscription1 = null
subscription2 = ... | true | require("../../spec_helper")
{SubscriptionSearch} = require('../../../lib/braintree/subscription_search')
{TransactionSearch} = require('../../../lib/braintree/transaction_search')
describe "AdvancedSearch", ->
beforeEach ->
@timeout 5000
describe "textFields", ->
subscription1 = null
subscription2 = ... |
[
{
"context": "rgs_to_actions action_global, [\n [{key_1_1: '1.1'}, {key_1_2: '1.2'}]\n [{key_2_1: '2.1'}, {ke",
"end": 420,
"score": 0.9926114082336426,
"start": 417,
"tag": "KEY",
"value": "1.1"
},
{
"context": "ion_global, [\n [{key_1_1: '1.1'}, {key_1_2: '1.2'}]\n ... | packages/core/test/engine/args_to_actions.coffee | chibanemourad/node-nikita | 1 |
nikita = require '../../src'
args_to_actions = require '../../src/engine/args_to_actions'
registry = require '../../src/registry'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'engine.args_to_actions', ->
it 'internal.options', ->
actio... | 57081 |
nikita = require '../../src'
args_to_actions = require '../../src/engine/args_to_actions'
registry = require '../../src/registry'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'engine.args_to_actions', ->
it 'internal.options', ->
actio... | true |
nikita = require '../../src'
args_to_actions = require '../../src/engine/args_to_actions'
registry = require '../../src/registry'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'engine.args_to_actions', ->
it 'internal.options', ->
actio... |
[
{
"context": "-config-schema\")\n\n @email = @config.email # \"email@domain.com\";\n @password = @config.password #\"a1b2c3d4\";",
"end": 439,
"score": 0.9998952746391296,
"start": 423,
"tag": "EMAIL",
"value": "email@domain.com"
},
{
"context": "nfig.email # \"email@domain... | pimatic-dyson.coffee | bertreb/pimatic-dyson | 0 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
purelink = require('./dyson-purelink')
class DysonPlugin extends env.plugins.Plugin
init: (app, @framework, @config) =>
pluginConfigDef = require './pimatic-dyson-confi... | 48309 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
purelink = require('./dyson-purelink')
class DysonPlugin extends env.plugins.Plugin
init: (app, @framework, @config) =>
pluginConfigDef = require './pimatic-dyson-confi... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
purelink = require('./dyson-purelink')
class DysonPlugin extends env.plugins.Plugin
init: (app, @framework, @config) =>
pluginConfigDef = require './pimatic-dyson-confi... |
[
{
"context": " corresponding to keys', ->\n values = name: 'Foo Bar', email: 'foo@bar.com', comment: 'Baz Qux Whateve",
"end": 679,
"score": 0.9927738904953003,
"start": 672,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "keys', ->\n values = name: 'Foo Bar', email: 'fo... | src/desktop/components/form/test/serializer.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Serializer = require '../serializer'
{ template } = require './fixture'
describe 'Serializer', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
done()
after ->
benv.tea... | 96214 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Serializer = require '../serializer'
{ template } = require './fixture'
describe 'Serializer', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
done()
after ->
benv.tea... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Serializer = require '../serializer'
{ template } = require './fixture'
describe 'Serializer', ->
before (done) ->
benv.setup ->
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
done()
after ->
benv.tea... |
[
{
"context": "'''\nUtilities\n\n@auther Jungho song (threeword.com)\n@since 2016.11.24\n'''\n\n# Utilitis",
"end": 34,
"score": 0.9998425245285034,
"start": 23,
"tag": "NAME",
"value": "Jungho song"
},
{
"context": "'''\nUtilities\n\n@auther Jungho song (threeword.com)\n@since 2016.1... | modules/util.coffee | framer-modules/watchos | 2 | '''
Utilities
@auther Jungho song (threeword.com)
@since 2016.11.24
'''
# Utilitis
Util = {}
# Text
Util.text = {}
#
Util.text.size = (layer, padding = {}, constraints={}) ->
style = layer.style
text = layer.html
sizeAffectingStyles =
lineHeight: style["line-height"]
fontSize: style["font-size"]
fontWeight:... | 95839 | '''
Utilities
@auther <NAME> (<EMAIL>)
@since 2016.11.24
'''
# Utilitis
Util = {}
# Text
Util.text = {}
#
Util.text.size = (layer, padding = {}, constraints={}) ->
style = layer.style
text = layer.html
sizeAffectingStyles =
lineHeight: style["line-height"]
fontSize: style["font-size"]
fontWeight: style["fon... | true | '''
Utilities
@auther PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
@since 2016.11.24
'''
# Utilitis
Util = {}
# Text
Util.text = {}
#
Util.text.size = (layer, padding = {}, constraints={}) ->
style = layer.style
text = layer.html
sizeAffectingStyles =
lineHeight: style["line-height"]
fontSize: style["font-si... |
[
{
"context": "# Copyright 2013 Matt Farmer\n#\n# Licensed under the Apache License, Version ",
"end": 30,
"score": 0.999815821647644,
"start": 19,
"tag": "NAME",
"value": "Matt Farmer"
},
{
"context": "uire('mongodb').MongoClient\nmongoUrl = \"mongodb://127.0.0.1:27017/galegis-ap... | jobs/scrape-sessions.coffee | maggie-lee/galegis-api | 1 | # Copyright 2013 Matt Farmer
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 65202 | # Copyright 2013 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | true | # Copyright 2013 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... |
[
{
"context": " uuid: 'authenticator-uuid'\n token: 'authenticator-token'\n privateKey: MESHBLU_PRIVATE_KEY\n\n @se",
"end": 1285,
"score": 0.9276838898658752,
"start": 1266,
"tag": "PASSWORD",
"value": "authenticator-token"
}
] | test/integration/auth-with-existing-user-spec.coffee | octoblu/meshblu-authenticator-local-exchange | 0 | {afterEach, beforeEach, describe} = global
sinon = require 'sinon'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
fs = require 'fs'
path = require 'path'
MESHBLU_PRIVATE_KEY = fs.readFileSync path.join(__dirname, '../fixtures/me... | 36909 | {afterEach, beforeEach, describe} = global
sinon = require 'sinon'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
fs = require 'fs'
path = require 'path'
MESHBLU_PRIVATE_KEY = fs.readFileSync path.join(__dirname, '../fixtures/me... | true | {afterEach, beforeEach, describe} = global
sinon = require 'sinon'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
fs = require 'fs'
path = require 'path'
MESHBLU_PRIVATE_KEY = fs.readFileSync path.join(__dirname, '../fixtures/me... |
[
{
"context": "er', id: ROLE_OWNER} #владелец топика\n {name: 'Editor', id: ROLE_EDITOR} #редактор топика (крутой чува",
"end": 171,
"score": 0.9094740748405457,
"start": 165,
"tag": "NAME",
"value": "Editor"
},
{
"context": "ктор топика (крутой чувак, может все)\n {name: 'Comm... | src/client/wave/participants/constants.coffee | LaPingvino/rizzoma | 88 | ROLE_OWNER = 1
ROLE_EDITOR = 2
ROLE_COMMENTATOR = 3
ROLE_READER = 4
ROLE_NO_ROLE = 65536
ROLES = [
{name: 'Owner', id: ROLE_OWNER} #владелец топика
{name: 'Editor', id: ROLE_EDITOR} #редактор топика (крутой чувак, может все)
{name: 'Commenter', id: ROLE_COMMENTATOR} #участник топика
{name: 'Reader', i... | 95957 | ROLE_OWNER = 1
ROLE_EDITOR = 2
ROLE_COMMENTATOR = 3
ROLE_READER = 4
ROLE_NO_ROLE = 65536
ROLES = [
{name: 'Owner', id: ROLE_OWNER} #владелец топика
{name: '<NAME>', id: ROLE_EDITOR} #редактор топика (крутой чувак, может все)
{name: '<NAME>', id: ROLE_COMMENTATOR} #участник топика
{name: '<NAME>', id: ... | true | ROLE_OWNER = 1
ROLE_EDITOR = 2
ROLE_COMMENTATOR = 3
ROLE_READER = 4
ROLE_NO_ROLE = 65536
ROLES = [
{name: 'Owner', id: ROLE_OWNER} #владелец топика
{name: 'PI:NAME:<NAME>END_PI', id: ROLE_EDITOR} #редактор топика (крутой чувак, может все)
{name: 'PI:NAME:<NAME>END_PI', id: ROLE_COMMENTATOR} #участник топи... |
[
{
"context": "ain.styl')\n\ngreetings = [\n 'Hello World',\n 'Hola Mundo',\n 'ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ',\n 'こんにちは世界',\n '",
"end": 72,
"score": 0.7846559882164001,
"start": 62,
"tag": "NAME",
"value": "Hola Mundo"
},
{
"context": "ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ',\n 'こんにちは世界',\n '你好世... | src/main.coffee | feihong/webpack-quickstart | 0 | require('./main.styl')
greetings = [
'Hello World',
'Hola Mundo',
'ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ',
'こんにちは世界',
'你好世界',
'Përshendetje Botë',
'مرحبا بالعالم',
'Բարեւ, աշխարհ',
'হ্যালো দুনিয়া',
'Saluton mondo',
'გამარჯობა მსოფლიო',
]
$('#message').text('Hello World')
$('button').on 'cl... | 155145 | require('./main.styl')
greetings = [
'Hello World',
'<NAME>',
'ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ',
'こんにちは世界',
'你好世界',
'<NAME>',
'مرحبا بالعالم',
'Բարեւ, աշխարհ',
'হ্যালো দুনিয়া',
'Saluton mondo',
'გამარჯობა მსოფლიო',
]
$('#message').text('Hello World')
$('button').on 'click', () ->
i... | true | require('./main.styl')
greetings = [
'Hello World',
'PI:NAME:<NAME>END_PI',
'ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ',
'こんにちは世界',
'你好世界',
'PI:NAME:<NAME>END_PI',
'مرحبا بالعالم',
'Բարեւ, աշխարհ',
'হ্যালো দুনিয়া',
'Saluton mondo',
'გამარჯობა მსოფლიო',
]
$('#message').text('Hello World')
$('bu... |
[
{
"context": " auth:\n user: process.env.EMAIL_NAME\n pass: process.env.EMAIL_PWD\n\nmodule.exports = transport\n\n",
"end": 164,
"score": 0.9489837884902954,
"start": 143,
"tag": "PASSWORD",
"value": "process.env.EMAIL_PWD"
}
] | email.coffee | youqingkui/yinxiang-photo | 0 | nodemailer = require('nodemailer')
transport = nodemailer.createTransport
service: 'QQex'
auth:
user: process.env.EMAIL_NAME
pass: process.env.EMAIL_PWD
module.exports = transport
| 166388 | nodemailer = require('nodemailer')
transport = nodemailer.createTransport
service: 'QQex'
auth:
user: process.env.EMAIL_NAME
pass: <PASSWORD>
module.exports = transport
| true | nodemailer = require('nodemailer')
transport = nodemailer.createTransport
service: 'QQex'
auth:
user: process.env.EMAIL_NAME
pass: PI:PASSWORD:<PASSWORD>END_PI
module.exports = transport
|
[
{
"context": "orie\n Benjamin Blundell - ben@section9.co.uk\n ",
"end": 453,
"score": 0.9998866319656372,
"start": 436,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " ... | src/main/misc/equatorie-src/src/interact.coffee | UoMLibrary/cudl-viewer | 1 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | 42297 | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... | true | ###
__ .__ ________
______ ____ _____/ |_|__| ____ ____/ __ \
/ ___// __ \_/ ___\ __\ |/ _ \ / \____ /
\___ \\ ___/\ \___| | | ( <_> ) | \ / /
/____ >\___ >\___ >__| |__|\____/|___| //____/ .co.uk
\/ \/ \/ ... |
[
{
"context": " flowUuid: 'the-flow-uuid'\n flowToken: 'the-flow-token'\n forwardUrl: 'http://www.zombo.com'\n ",
"end": 639,
"score": 0.9878247976303101,
"start": 625,
"tag": "PASSWORD",
"value": "the-flow-token"
},
{
"context": " userUuid: 'some-user-uuid'\n ... | test/flow-deployer-spec.coffee | octoblu/nanocyte-deployer | 0 | _ = require 'lodash'
Redis = require 'ioredis'
FlowDeployer = require '../src/flow-deployer'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
describe 'FlowDeployer', ->
beforeEach (done) ->
@intervalService = shmock done
enableDestroy @intervalService
afterEach (done) ->
@intervalSe... | 68914 | _ = require 'lodash'
Redis = require 'ioredis'
FlowDeployer = require '../src/flow-deployer'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
describe 'FlowDeployer', ->
beforeEach (done) ->
@intervalService = shmock done
enableDestroy @intervalService
afterEach (done) ->
@intervalSe... | true | _ = require 'lodash'
Redis = require 'ioredis'
FlowDeployer = require '../src/flow-deployer'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
describe 'FlowDeployer', ->
beforeEach (done) ->
@intervalService = shmock done
enableDestroy @intervalService
afterEach (done) ->
@intervalSe... |
[
{
"context": "etPref\n, setPref\n} = require 'prefs'\n\nADDON_ID = 'VimFx@akhodakivskiy.github.com'\n\n{ classes: Cc, interfaces: Ci, utils: Cu } = Co",
"end": 117,
"score": 0.9999123811721802,
"start": 87,
"tag": "EMAIL",
"value": "VimFx@akhodakivskiy.github.com"
}
] | extension/packages/utils.coffee | cbertoldi/VimFx | 0 | { unloader } = require 'unloader'
{ getPref
, setPref
} = require 'prefs'
ADDON_ID = 'VimFx@akhodakivskiy.github.com'
{ classes: Cc, interfaces: Ci, utils: Cu } = Components
HTMLInputElement = Ci.nsIDOMHTMLInputElement
HTMLTextAreaElement = Ci.nsIDOMHTMLTextAreaElement
HTMLSelectElement = Ci.nsIDOMHTMLSelectEle... | 49946 | { unloader } = require 'unloader'
{ getPref
, setPref
} = require 'prefs'
ADDON_ID = '<EMAIL>'
{ classes: Cc, interfaces: Ci, utils: Cu } = Components
HTMLInputElement = Ci.nsIDOMHTMLInputElement
HTMLTextAreaElement = Ci.nsIDOMHTMLTextAreaElement
HTMLSelectElement = Ci.nsIDOMHTMLSelectElement
XULMenuListElement... | true | { unloader } = require 'unloader'
{ getPref
, setPref
} = require 'prefs'
ADDON_ID = 'PI:EMAIL:<EMAIL>END_PI'
{ classes: Cc, interfaces: Ci, utils: Cu } = Components
HTMLInputElement = Ci.nsIDOMHTMLInputElement
HTMLTextAreaElement = Ci.nsIDOMHTMLTextAreaElement
HTMLSelectElement = Ci.nsIDOMHTMLSelectElement
XUL... |
[
{
"context": "eeScript][reuse])\n#\n# [reuse]: https://github.com/raganwald/homoiconic/blob/master/2012/01/reuseable-abstract",
"end": 2015,
"score": 0.9997339248657227,
"start": 2006,
"tag": "USERNAME",
"value": "raganwald"
},
{
"context": ".html\n# [gc]: http:gc.html\n\n# ---\n#\n#... | lib/rules.coffee | raganwald/recursiveuniverse | 4 | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## Rules Module
#
# The Rules Module provides a method for setting up the [rules][ll] of the Life universe.
#
# [ll]: http://www.conwaylife.com/wiki/Cellular_automaton#Well-known_Life-like_cellular_automata
# ### Setting the rules for this g... | 97410 | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## Rules Module
#
# The Rules Module provides a method for setting up the [rules][ll] of the Life universe.
#
# [ll]: http://www.conwaylife.com/wiki/Cellular_automaton#Well-known_Life-like_cellular_automata
# ### Setting the rules for this g... | true | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## Rules Module
#
# The Rules Module provides a method for setting up the [rules][ll] of the Life universe.
#
# [ll]: http://www.conwaylife.com/wiki/Cellular_automaton#Well-known_Life-like_cellular_automata
# ### Setting the rules for this g... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.6070249080657959,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/baseui/models/MainMenuModel.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 61918 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "KEYS = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\"\nKEY_LENGTH = KEYS.length;\n@BackbonePrepare = Bac",
"end": 44,
"score": 0.9997130632400513,
"start": 8,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
},
{
"context": "genId() unless subject._bbId?\n ... | dist/backbone-initialize.coffee | stervets/backbone-initialize | 0 | KEYS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
KEY_LENGTH = KEYS.length;
@BackbonePrepare = BackbonePrepare = []
@BackboneLaunchStatus =
INIT: 0x0
PREPARE: 0x1
PREPARE_FAIL: 0x2
READY: 0x4
arrayFromString = (string)->
return string if Array.isArray string
string.split(',').map (item)-> item.tr... | 161773 | KEYS = "<KEY>"
KEY_LENGTH = KEYS.length;
@BackbonePrepare = BackbonePrepare = []
@BackboneLaunchStatus =
INIT: 0x0
PREPARE: 0x1
PREPARE_FAIL: 0x2
READY: 0x4
arrayFromString = (string)->
return string if Array.isArray string
string.split(',').map (item)-> item.trim()
genId = (length = 16, id ... | true | KEYS = "PI:KEY:<KEY>END_PI"
KEY_LENGTH = KEYS.length;
@BackbonePrepare = BackbonePrepare = []
@BackboneLaunchStatus =
INIT: 0x0
PREPARE: 0x1
PREPARE_FAIL: 0x2
READY: 0x4
arrayFromString = (string)->
return string if Array.isArray string
string.split(',').map (item)-> item.trim()
genId = (len... |
[
{
"context": " single property', ->\n arr = [{id: 1, name: 'John'},{id: 2, name: 'Steve'}]\n result = processo",
"end": 187,
"score": 0.9998133778572083,
"start": 183,
"tag": "NAME",
"value": "John"
},
{
"context": " arr = [{id: 1, name: 'John'},{id: 2, name: 'Steve'}]... | spec/pluck_spec.coffee | craigerm/jeep-cli | 0 | processor = require '../src/processor'
_ = require 'underscore'
describe 'pluck', ->
describe 'on arrays', ->
it 'works for a single property', ->
arr = [{id: 1, name: 'John'},{id: 2, name: 'Steve'}]
result = processor.pluck(arr, ['name'])
expect(result.length).toBe(2)
expect(result[0]).... | 215914 | processor = require '../src/processor'
_ = require 'underscore'
describe 'pluck', ->
describe 'on arrays', ->
it 'works for a single property', ->
arr = [{id: 1, name: '<NAME>'},{id: 2, name: '<NAME>'}]
result = processor.pluck(arr, ['name'])
expect(result.length).toBe(2)
expect(result[0... | true | processor = require '../src/processor'
_ = require 'underscore'
describe 'pluck', ->
describe 'on arrays', ->
it 'works for a single property', ->
arr = [{id: 1, name: 'PI:NAME:<NAME>END_PI'},{id: 2, name: 'PI:NAME:<NAME>END_PI'}]
result = processor.pluck(arr, ['name'])
expect(result.length).t... |
[
{
"context": " null, [\n {\n name : \"character_name\"\n }\n ]\n charname_query.o",
"end": 804,
"score": 0.748296320438385,
"start": 790,
"tag": "NAME",
"value": "character_name"
}
] | src/character_generator.coffee | dmauro/ScryEngine | 1 | class engine.CharacterGenerator
constructor: () ->
PlayerThing = @constructor_for_name "player_thing"
@character = new PlayerThing()
constructor_for_name: (name) ->
switch name
when "player_thing"
return engine.things.Sentient
when "query_ui"
... | 70784 | class engine.CharacterGenerator
constructor: () ->
PlayerThing = @constructor_for_name "player_thing"
@character = new PlayerThing()
constructor_for_name: (name) ->
switch name
when "player_thing"
return engine.things.Sentient
when "query_ui"
... | true | class engine.CharacterGenerator
constructor: () ->
PlayerThing = @constructor_for_name "player_thing"
@character = new PlayerThing()
constructor_for_name: (name) ->
switch name
when "player_thing"
return engine.things.Sentient
when "query_ui"
... |
[
{
"context": "ttani.com/javascript/ajaxessio\n\nCopyright (c) 2015 M. Kamal Khan <shout@bhittani.com>\n\nThe MIT License (MIT)\n\nPerm",
"end": 174,
"score": 0.9998582005500793,
"start": 161,
"tag": "NAME",
"value": "M. Kamal Khan"
},
{
"context": "ript/ajaxessio\n\nCopyright (c) 201... | src/ajaxessio.coffee | kamalkhan/ajaxessio | 0 | ###
AjaxEsSio v0.0.1
Seamless Socket.IO/WebSocket with EventSource and AJAX long polling fallbacks.
http://bhittani.com/javascript/ajaxessio
Copyright (c) 2015 M. Kamal Khan <shout@bhittani.com>
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... | 20807 | ###
AjaxEsSio v0.0.1
Seamless Socket.IO/WebSocket with EventSource and AJAX long polling fallbacks.
http://bhittani.com/javascript/ajaxessio
Copyright (c) 2015 <NAME> <<EMAIL>>
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documenta... | true | ###
AjaxEsSio v0.0.1
Seamless Socket.IO/WebSocket with EventSource and AJAX long polling fallbacks.
http://bhittani.com/javascript/ajaxessio
Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this soft... |
[
{
"context": "one) ->\n options = {\n form: {name: 'Patrick'}\n }\n request 'post', '/test1', options",
"end": 4255,
"score": 0.9970806837081909,
"start": 4248,
"tag": "NAME",
"value": "Patrick"
},
{
"context": " json.should.have.property('name').and.equal... | test/mock.test.coffee | ChensStudio/node-easymock | 165 | should = require('chai').should()
MockServer = require('../index').MockServer
utils = require('./utils')
request = utils.request
describe 'Mock Server', ->
mock = undefined
beforeEach ->
mock = new MockServer({ port: utils.TESTING_PORT, log_enabled: false, path: __dirname + '/mock_data/' })
mock.start()
... | 87154 | should = require('chai').should()
MockServer = require('../index').MockServer
utils = require('./utils')
request = utils.request
describe 'Mock Server', ->
mock = undefined
beforeEach ->
mock = new MockServer({ port: utils.TESTING_PORT, log_enabled: false, path: __dirname + '/mock_data/' })
mock.start()
... | true | should = require('chai').should()
MockServer = require('../index').MockServer
utils = require('./utils')
request = utils.request
describe 'Mock Server', ->
mock = undefined
beforeEach ->
mock = new MockServer({ port: utils.TESTING_PORT, log_enabled: false, path: __dirname + '/mock_data/' })
mock.start()
... |
[
{
"context": "ce?\n# hubot show tango the money\n#\n# Author:\n# bhankus\n\nmodule.exports = (robot) ->\n robot.respond /(wh",
"end": 305,
"score": 0.9997076988220215,
"start": 298,
"tag": "USERNAME",
"value": "bhankus"
},
{
"context": " pass).toString('base64');\n data = {cu... | scripts/tango.coffee | Homefinder/hubot | 0 | # Dependencies:
# None
#
# Configuration:
# TANGO_PLATFORM_NAME
# TANGO_PLATFORM_KEY
# TANGO_TEST_PLATFORM_NAME
# TANGO_TEST_PLATFORM_KEY
#
# Commands:
# hubot what is our tango card balance?
# hubot what is our test tango card balance?
# hubot show tango the money
#
# Author:
# bhankus
module.export... | 76580 | # Dependencies:
# None
#
# Configuration:
# TANGO_PLATFORM_NAME
# TANGO_PLATFORM_KEY
# TANGO_TEST_PLATFORM_NAME
# TANGO_TEST_PLATFORM_KEY
#
# Commands:
# hubot what is our tango card balance?
# hubot what is our test tango card balance?
# hubot show tango the money
#
# Author:
# bhankus
module.export... | true | # Dependencies:
# None
#
# Configuration:
# TANGO_PLATFORM_NAME
# TANGO_PLATFORM_KEY
# TANGO_TEST_PLATFORM_NAME
# TANGO_TEST_PLATFORM_KEY
#
# Commands:
# hubot what is our tango card balance?
# hubot what is our test tango card balance?
# hubot show tango the money
#
# Author:
# bhankus
module.export... |
[
{
"context": "me: $scope.userEntity.username\n password: $scope.userEntity.password2\n }).then((res) ->\n alert('注册成功!')\n ",
"end": 494,
"score": 0.9846712946891785,
"start": 468,
"tag": "PASSWORD",
"value": "scope.userEntity.password2"
}
] | src/app/register/registerCtrl.coffee | leftjs/uphall-client | 1 | angular.module('tmsApp')
.controller('RegisterCtrl', ['$scope', '$http', '$location', 'tmsUtil', ($scope, $http, $location, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
password2: ''
}
$scope.doRegister = ->
return alert('两次密码不一致') if $scope.userEntity.password isnt $s... | 70337 | angular.module('tmsApp')
.controller('RegisterCtrl', ['$scope', '$http', '$location', 'tmsUtil', ($scope, $http, $location, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
password2: ''
}
$scope.doRegister = ->
return alert('两次密码不一致') if $scope.userEntity.password isnt $s... | true | angular.module('tmsApp')
.controller('RegisterCtrl', ['$scope', '$http', '$location', 'tmsUtil', ($scope, $http, $location, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
password2: ''
}
$scope.doRegister = ->
return alert('两次密码不一致') if $scope.userEntity.password isnt $s... |
[
{
"context": "The Charisma day lowers shop prices.\n *\n * @name Charisma Day\n * @effect -15% Shop Prices\n * @category Da",
"end": 110,
"score": 0.6518070697784424,
"start": 102,
"tag": "NAME",
"value": "Charisma"
},
{
"context": "s TimePeriod\n\n constructor: ->\n \n @dateN... | src/event/calendar/day/CharismaDay.coffee | sadbear-/IdleLands | 3 |
TimePeriod = require "../../TimePeriod"
`/**
* The Charisma day lowers shop prices.
*
* @name Charisma Day
* @effect -15% Shop Prices
* @category Day
* @package Calendar
*/`
class CharismaDay extends TimePeriod
constructor: ->
@dateName = "Day of Charisma"
@desc = "15% shop price reduction"
@... | 64335 |
TimePeriod = require "../../TimePeriod"
`/**
* The Charisma day lowers shop prices.
*
* @name <NAME> Day
* @effect -15% Shop Prices
* @category Day
* @package Calendar
*/`
class CharismaDay extends TimePeriod
constructor: ->
@dateName = "<NAME> of Charisma"
@desc = "15% shop price reduction"
... | true |
TimePeriod = require "../../TimePeriod"
`/**
* The Charisma day lowers shop prices.
*
* @name PI:NAME:<NAME>END_PI Day
* @effect -15% Shop Prices
* @category Day
* @package Calendar
*/`
class CharismaDay extends TimePeriod
constructor: ->
@dateName = "PI:NAME:<NAME>END_PI of Charisma"
@desc = "1... |
[
{
"context": "\n country: 'US'\n name: 'Mick Berry'\n phone_number: '+1 555-181-7247'\n ",
"end": 4796,
"score": 0.9998463988304138,
"start": 4786,
"tag": "NAME",
"value": "Mick Berry"
},
{
"context": "at.country, 'US'\n assert.equal fla... | test/merchant.coffee | cncolder/wishapi | 4 | { debug, assert, nock } = require './helpers'
fixture = require './fixture'
Merchant = require '../src/merchant'
errors = require '../src/errors'
describe 'Merchant', ->
{ apikey } = fixture.sandbox
wish = nock 'https://sandbox.merchant.wish.com'
after ->
if not wish.isDone()
pendingMocks = wish.pendi... | 20014 | { debug, assert, nock } = require './helpers'
fixture = require './fixture'
Merchant = require '../src/merchant'
errors = require '../src/errors'
describe 'Merchant', ->
{ apikey } = fixture.sandbox
wish = nock 'https://sandbox.merchant.wish.com'
after ->
if not wish.isDone()
pendingMocks = wish.pendi... | true | { debug, assert, nock } = require './helpers'
fixture = require './fixture'
Merchant = require '../src/merchant'
errors = require '../src/errors'
describe 'Merchant', ->
{ apikey } = fixture.sandbox
wish = nock 'https://sandbox.merchant.wish.com'
after ->
if not wish.isDone()
pendingMocks = wish.pendi... |
[
{
"context": "ng a typing sound': 'タイプ音を鳴らす'\n 'Access Token': 'アクセストークン'\n 'Update teams and templates': 'チーム/テンプレートを更新す",
"end": 4253,
"score": 0.43291738629341125,
"start": 4246,
"tag": "PASSWORD",
"value": "アクセストーク"
}
] | application/src/fixtures/languages/ja.coffee | CHU-BURA/clone-app-kobito-oss | 215 | # TODO: sort
module.exports =
'NO ITEM': 'まだ投稿はありません'
'No Title': '無題'
'Open file': '開く'
'Edit': '編集'
'Develop': '開発'
'Quit': '終了'
'Preference': '設定'
'Finish downloading the latest version:': '最新バージョンをダウンロード終了:'
'Yes': 'はい'
'No': 'いいえ'
'Tag': 'タグ'
'Current Team': '現在のチーム'
'Insert an Image (Dra... | 35076 | # TODO: sort
module.exports =
'NO ITEM': 'まだ投稿はありません'
'No Title': '無題'
'Open file': '開く'
'Edit': '編集'
'Develop': '開発'
'Quit': '終了'
'Preference': '設定'
'Finish downloading the latest version:': '最新バージョンをダウンロード終了:'
'Yes': 'はい'
'No': 'いいえ'
'Tag': 'タグ'
'Current Team': '現在のチーム'
'Insert an Image (Dra... | true | # TODO: sort
module.exports =
'NO ITEM': 'まだ投稿はありません'
'No Title': '無題'
'Open file': '開く'
'Edit': '編集'
'Develop': '開発'
'Quit': '終了'
'Preference': '設定'
'Finish downloading the latest version:': '最新バージョンをダウンロード終了:'
'Yes': 'はい'
'No': 'いいえ'
'Tag': 'タグ'
'Current Team': '現在のチーム'
'Insert an Image (Dra... |
[
{
"context": "###\n knockback_statistics.js 0.18.5\n (c) 2012 Kevin Malakoff.\n Knockback.Stats is freely distributable under ",
"end": 62,
"score": 0.999810516834259,
"start": 48,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https://gi... | src/statistics/statistics.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback_statistics.js 0.18.5
(c) 2012 Kevin Malakoff.
Knockback.Stats is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# kb.Statistics is an optional components that is useful for measuring your a... | 50673 | ###
knockback_statistics.js 0.18.5
(c) 2012 <NAME>.
Knockback.Stats is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# kb.Statistics is an optional components that is useful for measuring your applicati... | true | ###
knockback_statistics.js 0.18.5
(c) 2012 PI:NAME:<NAME>END_PI.
Knockback.Stats is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# kb.Statistics is an optional components that is useful for measuring ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999073147773743,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/hype.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 { BigButton } from 'big-button'
import { route } from 'laroute'
import * as React from 'react'
import { a, div, p, span } from 'react-dom-... | 145339 | # 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 { BigButton } from 'big-button'
import { route } from 'laroute'
import * as React from 'react'
import { a, div, p, span } from 'react-dom-factori... | 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 { BigButton } from 'big-button'
import { route } from 'laroute'
import * as React from 'react'
import { a, div, p, span } from 're... |
[
{
"context": "e account', @body\n name = @body.name\n pass = @body.pass\n race = @body.race\n cls = @body.class\n\n ",
"end": 547,
"score": 0.8421260118484497,
"start": 537,
"tag": "PASSWORD",
"value": "@body.pass"
},
{
"context": " = create_new(name,race,cls)\n s... | web.coffee | mizchi/Wanderer | 3 | {create_new} = require './server/Player'
config = require './config'
models = require './models'
@include = ->
@get '/logout': ->
@session.destroy ()=>
@redirect '/'
@get '/api/id': ->
@send @session.name or ''
@get '/': ->
console.log @session.name
# @session.name = "test" # for debug
... | 3678 | {create_new} = require './server/Player'
config = require './config'
models = require './models'
@include = ->
@get '/logout': ->
@session.destroy ()=>
@redirect '/'
@get '/api/id': ->
@send @session.name or ''
@get '/': ->
console.log @session.name
# @session.name = "test" # for debug
... | true | {create_new} = require './server/Player'
config = require './config'
models = require './models'
@include = ->
@get '/logout': ->
@session.destroy ()=>
@redirect '/'
@get '/api/id': ->
@send @session.name or ''
@get '/': ->
console.log @session.name
# @session.name = "test" # for debug
... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998835325241089,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/plugins/terms/terms.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 160763 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "BXbIVPav/YbutYxjyiPg6p3umEzolq5i271/UYq7NQfA==',\n '+wv8wAF8q7zQRggPwLwUgSQ/41+WklAsbQYaD/YE31AU+4l3Gaz",
"end": 2760,
"score": 0.7156757116317749,
"start": 2758,
"tag": "KEY",
"value": "'+"
},
{
"context": "1/UYq7NQfA==',\n '+wv8wAF8q7zQRggPwLwUgSQ/41+WklAsbQYaD/YE31... | test/files/basex.iced | samkenxstream/kbpgp | 464 |
basex = require '../../lib/basex'
strings = [
'NQ==',
'JFw=',
'tcsx',
'Tu4GxA==',
'auSjOaA=',
'ZkefLR8+',
'DFXXotba8Q==',
'd5qIhsw1VDM=',
'q3Ec9ylXeDkH',
'aeMRo800op92Vg==',
'6CLydI2A/4B+r8M=',
'WgpKRQPUqRoQicJR',
'fzmjwo6FoabVJhPdIA==',
'nZz6BzabiiEIq1GRxVk=',
'ZteBZ2Qbp34Kq2fRc/Nb',
... | 74966 |
basex = require '../../lib/basex'
strings = [
'NQ==',
'JFw=',
'tcsx',
'Tu4GxA==',
'auSjOaA=',
'ZkefLR8+',
'DFXXotba8Q==',
'd5qIhsw1VDM=',
'q3Ec9ylXeDkH',
'aeMRo800op92Vg==',
'6CLydI2A/4B+r8M=',
'WgpKRQPUqRoQicJR',
'fzmjwo6FoabVJhPdIA==',
'nZz6BzabiiEIq1GRxVk=',
'ZteBZ2Qbp34Kq2fRc/Nb',
... | true |
basex = require '../../lib/basex'
strings = [
'NQ==',
'JFw=',
'tcsx',
'Tu4GxA==',
'auSjOaA=',
'ZkefLR8+',
'DFXXotba8Q==',
'd5qIhsw1VDM=',
'q3Ec9ylXeDkH',
'aeMRo800op92Vg==',
'6CLydI2A/4B+r8M=',
'WgpKRQPUqRoQicJR',
'fzmjwo6FoabVJhPdIA==',
'nZz6BzabiiEIq1GRxVk=',
'ZteBZ2Qbp34Kq2fRc/Nb',
... |
[
{
"context": " beforeEach ->\n process.env.PAGERV2_API_KEY = 'xxx'\n process.env.PAGERV2_SCHEDULE_ID = '42'\n p",
"end": 531,
"score": 0.8511160612106323,
"start": 528,
"tag": "KEY",
"value": "xxx"
},
{
"context": "room.robot.brain.userForId 'user', {\n name: 'user'\n ... | test/pagerv2_lib_test.coffee | explody/hubot-pager-v2 | 6 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/pagerv2_hook.coffee')
Pagerv2 = require '../lib/pagerv2'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai = req... | 65900 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/pagerv2_hook.coffee')
Pagerv2 = require '../lib/pagerv2'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai = req... | true | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/pagerv2_hook.coffee')
Pagerv2 = require '../lib/pagerv2'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai = req... |
[
{
"context": "ike notifications component.\nOriginally written by Aaron Haurwitz (http://aaron.haurwitz.com/), licensed under MIT.",
"end": 78,
"score": 0.9998815059661865,
"start": 64,
"tag": "NAME",
"value": "Aaron Haurwitz"
}
] | app/scripts/components/GrowlNotifications.coffee | Shipow/bootstrap-for-ember | 1 | ###
A Growl-like notifications component.
Originally written by Aaron Haurwitz (http://aaron.haurwitz.com/), licensed under MIT.
###
Bootstrap.GrowlNotifications = Ember.CollectionView.extend (
###
@property {String[]} The array of concrete class names to put on this view's element
###
classNames: ['gro... | 71332 | ###
A Growl-like notifications component.
Originally written by <NAME> (http://aaron.haurwitz.com/), licensed under MIT.
###
Bootstrap.GrowlNotifications = Ember.CollectionView.extend (
###
@property {String[]} The array of concrete class names to put on this view's element
###
classNames: ['growl-notif... | true | ###
A Growl-like notifications component.
Originally written by PI:NAME:<NAME>END_PI (http://aaron.haurwitz.com/), licensed under MIT.
###
Bootstrap.GrowlNotifications = Ember.CollectionView.extend (
###
@property {String[]} The array of concrete class names to put on this view's element
###
classNames:... |
[
{
"context": "nit\n principal: 'admin'\n password: 'adm1n_p4ssw0rd'\n realm: 'KRB.LOCAL'\n ccname: '/tmp",
"end": 2763,
"score": 0.9991297721862793,
"start": 2749,
"tag": "PASSWORD",
"value": "adm1n_p4ssw0rd"
},
{
"context": " krb5.spnego\n hos... | test/spnego.coffee | pdkovacs/forked-node-krb5 | 28 | krb5 = require '../lib/'
http = require 'http'
describe 'spnego', ->
describe 'function with callback', ->
it 'checks that server requires authentication', (done) ->
http.request
hostname: 'rest.krb.local'
port: 8080
path: '/'
method: 'GET'
, (res) ->
res... | 53187 | krb5 = require '../lib/'
http = require 'http'
describe 'spnego', ->
describe 'function with callback', ->
it 'checks that server requires authentication', (done) ->
http.request
hostname: 'rest.krb.local'
port: 8080
path: '/'
method: 'GET'
, (res) ->
res... | true | krb5 = require '../lib/'
http = require 'http'
describe 'spnego', ->
describe 'function with callback', ->
it 'checks that server requires authentication', (done) ->
http.request
hostname: 'rest.krb.local'
port: 8080
path: '/'
method: 'GET'
, (res) ->
res... |
[
{
"context": "许数据替换, 用 #{ ... } 语法, 而单引号包裹的字符串仅仅是字面量.\nauthor = \"Wittgenstein\"\nquote = \"A picture is a fact. -- #{ author }\"\n\n",
"end": 986,
"score": 0.9995213747024536,
"start": 974,
"tag": "NAME",
"value": "Wittgenstein"
},
{
"context": "会用一个空格拼接, 除非结尾用了反斜杠. 其中缩进会被忽略.\nmoby... | src/coffee/switch.coffee | Caraxiong/CoffeeScript_demo | 0 | # JavaScript 里的 Switch 语句有点难看. 你需要在每个 case 写 break 防止自动进入默认的 case. CoffeeScript 会阻止掉意外的 fall-through. 而且 switch 编译的结果会是可以带 return, 可以被用于赋值的表达式. 格式这样写: switch 判断条件, when 然后子句, else 然后默认的 case.
switch day
when "Mon" then go work
when "Tue" then go relax
when "Thu" then go iceFishing
when "Fri", "Sat"
if day ... | 213258 | # JavaScript 里的 Switch 语句有点难看. 你需要在每个 case 写 break 防止自动进入默认的 case. CoffeeScript 会阻止掉意外的 fall-through. 而且 switch 编译的结果会是可以带 return, 可以被用于赋值的表达式. 格式这样写: switch 判断条件, when 然后子句, else 然后默认的 case.
switch day
when "Mon" then go work
when "Tue" then go relax
when "Thu" then go iceFishing
when "Fri", "Sat"
if day ... | true | # JavaScript 里的 Switch 语句有点难看. 你需要在每个 case 写 break 防止自动进入默认的 case. CoffeeScript 会阻止掉意外的 fall-through. 而且 switch 编译的结果会是可以带 return, 可以被用于赋值的表达式. 格式这样写: switch 判断条件, when 然后子句, else 然后默认的 case.
switch day
when "Mon" then go work
when "Tue" then go relax
when "Thu" then go iceFishing
when "Fri", "Sat"
if day ... |
[
{
"context": "#\n knockback.js 0.19.1\n Copyright (c) 2011-2014 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 67,
"score": 0.9998210072517395,
"start": 53,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/localization/localized-observable.coffee | metacommunications/knockback | 0 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Backbone... | 175358 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###... | true | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Ba... |
[
{
"context": "234\n uuid: 'some-uuid'\n token: 'some-token'\n }\n @callback = sinon.spy()\n\n ",
"end": 5045,
"score": 0.9149613380432129,
"start": 5035,
"tag": "KEY",
"value": "some-token"
}
] | test/meshblu-spec.coffee | octoblu/meshblu-websocket | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
{EventEmitter} = require 'events'
sinon = require 'sinon'
Meshblu = require '../src/meshblu'
describe 'Meshblu', ->
beforeEach ->
@ws = new WebSocket
@WebSocket = sinon.stub().returns @ws
describe 'SRV resolve', ->
... | 193404 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
{EventEmitter} = require 'events'
sinon = require 'sinon'
Meshblu = require '../src/meshblu'
describe 'Meshblu', ->
beforeEach ->
@ws = new WebSocket
@WebSocket = sinon.stub().returns @ws
describe 'SRV resolve', ->
... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
{EventEmitter} = require 'events'
sinon = require 'sinon'
Meshblu = require '../src/meshblu'
describe 'Meshblu', ->
beforeEach ->
@ws = new WebSocket
@WebSocket = sinon.stub().returns @ws
describe 'SRV resolve', ->
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.