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": "lic service.'\n\n ## Special Items\n\n quality 'jackie',\n () ->\n switch @value\n whe",
"end": 2078,
"score": 0.9690072536468506,
"start": 2072,
"tag": "NAME",
"value": "jackie"
},
{
"context": ">\n switch @value\n when 1 then... | src/coffee/game/qualities.coffee | arashikou/exper3-2015 | 0 | angular.module 'gameDefinition.qualities', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{quality, qualityType} = qbnEdsl
{origins, leads} = enums
quality 'keyOfDreams', qualityType.item,
'Key of Dreams' # Shamelessly stealing this name from Storynexus
'An item that does not e... | 86194 | angular.module 'gameDefinition.qualities', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{quality, qualityType} = qbnEdsl
{origins, leads} = enums
quality 'keyOfDreams', qualityType.item,
'Key of Dreams' # Shamelessly stealing this name from Storynexus
'An item that does not e... | true | angular.module 'gameDefinition.qualities', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{quality, qualityType} = qbnEdsl
{origins, leads} = enums
quality 'keyOfDreams', qualityType.item,
'Key of Dreams' # Shamelessly stealing this name from Storynexus
'An item that does not e... |
[
{
"context": "aved\", (done) ->\r\n user = new User {username: \"john\", password: \"password\"}\r\n user.save (err, doc)",
"end": 363,
"score": 0.7298129200935364,
"start": 359,
"tag": "USERNAME",
"value": "john"
},
{
"context": " user = new User {username: \"john\", passwo... | express/tests/models/userModelTests.coffee | stackroute/mean-simple-seed | 0 | config = require 'config'
dbURI = config.get 'db.dbURI'
should = (require 'chai').should()
mongoose = require 'mongoose'
clearDB = (require 'mocha-mongoose')(dbURI)
User = require '../../models/user'
describe 'User Model', ->
before (done) ->
clearDB done
it "can be saved", (don... | 110586 | config = require 'config'
dbURI = config.get 'db.dbURI'
should = (require 'chai').should()
mongoose = require 'mongoose'
clearDB = (require 'mocha-mongoose')(dbURI)
User = require '../../models/user'
describe 'User Model', ->
before (done) ->
clearDB done
it "can be saved", (don... | true | config = require 'config'
dbURI = config.get 'db.dbURI'
should = (require 'chai').should()
mongoose = require 'mongoose'
clearDB = (require 'mocha-mongoose')(dbURI)
User = require '../../models/user'
describe 'User Model', ->
before (done) ->
clearDB done
it "can be saved", (don... |
[
{
"context": "9\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\tosis: [\"John\"]\n\t\tregexp: ///(^|#{bcv_parser::regexps.pre_book}",
"end": 16344,
"score": 0.8685442209243774,
"start": 16340,
"tag": "NAME",
"value": "John"
}
] | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/is/regexps.coffee | saiba-mais/bible-lessons | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 100963 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "composer and Solver. v<%= version%> (c) <%= year%> Bill Dwyer. MIT License. Build <%= timestamp%> */\\n', option",
"end": 1124,
"score": 0.999830961227417,
"start": 1114,
"tag": "NAME",
"value": "Bill Dwyer"
},
{
"context": "ublish-bower', (cb) ->\n exec 'bower registe... | gulpfile.coffee | themadcreator/literator | 5 | gulp = require 'gulp'
ghPages = require 'gulp-gh-pages'
bump = require 'gulp-bump'
rename = require 'gulp-rename'
coffee = require 'gulp-coffee'
mocha = require 'gulp-mocha'
gutil = require 'gulp-util'
git = require 'gulp-git'
uglify = require 'gulp-uglify'
header = requi... | 114433 | gulp = require 'gulp'
ghPages = require 'gulp-gh-pages'
bump = require 'gulp-bump'
rename = require 'gulp-rename'
coffee = require 'gulp-coffee'
mocha = require 'gulp-mocha'
gutil = require 'gulp-util'
git = require 'gulp-git'
uglify = require 'gulp-uglify'
header = requi... | true | gulp = require 'gulp'
ghPages = require 'gulp-gh-pages'
bump = require 'gulp-bump'
rename = require 'gulp-rename'
coffee = require 'gulp-coffee'
mocha = require 'gulp-mocha'
gutil = require 'gulp-util'
git = require 'gulp-git'
uglify = require 'gulp-uglify'
header = requi... |
[
{
"context": "Notification _.extend {}, @props,\n key: \"plugin-manager-notification-#{plugin.name}\"\n plugin: plugin\n children: if p",
"end": 808,
"score": 0.9863733053207397,
"start": 765,
"tag": "KEY",
"value": "plugin-manager-notification-#{plugin.name}\""
... | src/components/flash.coffee | brianshaler/kerplunk-plugin-manager | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
BasicNotification = React.createFactory React.createClass
render: ->
DOM.div null,
DOM.h4 null,
DOM.em
className: 'glyphicon glyphicon-ok'
" #{@props.plugin.displayName ? @props.plugin.name}"
@props.children
module... | 121186 | _ = require 'lodash'
React = require 'react'
{DOM} = React
BasicNotification = React.createFactory React.createClass
render: ->
DOM.div null,
DOM.h4 null,
DOM.em
className: 'glyphicon glyphicon-ok'
" #{@props.plugin.displayName ? @props.plugin.name}"
@props.children
module... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
BasicNotification = React.createFactory React.createClass
render: ->
DOM.div null,
DOM.h4 null,
DOM.em
className: 'glyphicon glyphicon-ok'
" #{@props.plugin.displayName ? @props.plugin.name}"
@props.children
module... |
[
{
"context": "rDevice =\n uuid: 'imposter-uuid'\n token: bcrypt.hashSync 'leak', 8\n type: 'device:imposter'\n\n ",
"end": 1552,
"score": 0.7042274475097656,
"start": 1541,
"tag": "KEY",
"value": "bcrypt.hash"
},
{
"context": "erDevice =\n uuid: 'bananas-uuid'\... | test/integration/send-message-2-as-spec.coffee | ramonhpr/meshblu-core-dispatcher | 0 | {describe,context,beforeEach,afterEach,expect,it} = global
bcrypt = require 'bcryptjs'
TestDispatcherWorker = require './test-dispatcher-worker'
describe 'SendMessage: send-as', ->
@timeout 5000
beforeEach 'prepare TestDispatcherWorker', (done) ->
@testDispatcherWorker = new TestDispatcherWorker
@t... | 5740 | {describe,context,beforeEach,afterEach,expect,it} = global
bcrypt = require 'bcryptjs'
TestDispatcherWorker = require './test-dispatcher-worker'
describe 'SendMessage: send-as', ->
@timeout 5000
beforeEach 'prepare TestDispatcherWorker', (done) ->
@testDispatcherWorker = new TestDispatcherWorker
@t... | true | {describe,context,beforeEach,afterEach,expect,it} = global
bcrypt = require 'bcryptjs'
TestDispatcherWorker = require './test-dispatcher-worker'
describe 'SendMessage: send-as', ->
@timeout 5000
beforeEach 'prepare TestDispatcherWorker', (done) ->
@testDispatcherWorker = new TestDispatcherWorker
@t... |
[
{
"context": "_LOOKUP_URL\n#\n# Commands:\n# None\n#\n# Author:\n# Matthew Finlayson <matthew.finlayson@jivesoftware.com> (http://www.",
"end": 243,
"score": 0.9998654127120972,
"start": 226,
"tag": "NAME",
"value": "Matthew Finlayson"
},
{
"context": "ands:\n# None\n#\n# Autho... | scripts/jira-lookup.coffee | lroggendorff/hubot-jira-lookup | 1 | # Description:
# Jira lookup when issues are heard
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_LOOKUP_USERNAME
# HUBOT_JIRA_LOOKUP_PASSWORD
# HUBOT_JIRA_LOOKUP_URL
#
# Commands:
# None
#
# Author:
# Matthew Finlayson <matthew.finlayson@jivesoftware.com> (http://www.jivesoftware.com)
# Benja... | 166720 | # Description:
# Jira lookup when issues are heard
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_LOOKUP_USERNAME
# HUBOT_JIRA_LOOKUP_PASSWORD
# HUBOT_JIRA_LOOKUP_URL
#
# Commands:
# None
#
# Author:
# <NAME> <<EMAIL>> (http://www.jivesoftware.com)
# <NAME> <<EMAIL>> (http://www.jivesoftware.... | true | # Description:
# Jira lookup when issues are heard
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_LOOKUP_USERNAME
# HUBOT_JIRA_LOOKUP_PASSWORD
# HUBOT_JIRA_LOOKUP_URL
#
# Commands:
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (http://www.jivesoftware.com)
# PI:NAME:<NAME>... |
[
{
"context": "ew User()\n\t\tnewUser.save {name: 'test', password:'test'}, (err, user) ->\n\t\t\tif !err\n\t\t\t\tconsole.log 'sav",
"end": 310,
"score": 0.9996260404586792,
"start": 306,
"tag": "PASSWORD",
"value": "test"
},
{
"context": ") ->\n\t\t\tcurl = spawn 'curl', ['--data', ... | server/test/passport.coffee | shackspace/shack-hq | 1 | assert = require 'assert'
should = require 'should'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/shack-hq'
User = require '../app/schemas/User'
{spawn, exec} = require 'child_process'
describe 'passport', =>
before ->
newUser = new User()
newUser.save {name: 'test', password:'test'}, (err, ... | 115185 | assert = require 'assert'
should = require 'should'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/shack-hq'
User = require '../app/schemas/User'
{spawn, exec} = require 'child_process'
describe 'passport', =>
before ->
newUser = new User()
newUser.save {name: 'test', password:'<PASSWORD>'}, ... | true | assert = require 'assert'
should = require 'should'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/shack-hq'
User = require '../app/schemas/User'
{spawn, exec} = require 'child_process'
describe 'passport', =>
before ->
newUser = new User()
newUser.save {name: 'test', password:'PI:PASSWORD:<P... |
[
{
"context": " true\n client =\n oauth_consumer_key: '1q2w3e4r'\n oauth_consumer_secret: 's3cr3t'\n ve",
"end": 790,
"score": 0.998806893825531,
"start": 782,
"tag": "KEY",
"value": "1q2w3e4r"
},
{
"context": "r_key: '1q2w3e4r'\n oauth_consumer_secret: ... | test/unit/strategies/oauth/tokenCredentials.coffee | Zacaria/connect | 0 | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
User = proxyquire('../../../../models/User... | 83861 | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
User = proxyquire('../../../../models/User... | true | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
# Assertions
chai.use sinonChai
chai.should()
# Code under test
User = proxyquire('../../../../models/User... |
[
{
"context": "]\n\n ops = AVAILABLE_OPERATORS.join('|')\n key = '[^\\\\s\\=\\>\\<]+'\n\n new RegExp(\"(#{key})\\\\s*(#{ops})\\\\s*(#{key})\"",
"end": 559,
"score": 0.9771419763565063,
"start": 550,
"tag": "KEY",
"value": "s\\=\\>\\<]+"
}
] | app/assets/javascripts/directives/token_input.coffee | rrampage/monitor | 114 | angular.module('slug.directives.token_input', ['slug.directives'])
.factory 'KEY_CODES', ->
LEFT_ARROW: 37
RIGHT_ARROW: 39
ENTER: 13
BACKSPACE: 8
DELETE: 46
.factory 'TokenCollection', ->
class TokenCollection
constructor: (@tokens) ->
has: (token) ->
string = token.toString()
for exi... | 219683 | angular.module('slug.directives.token_input', ['slug.directives'])
.factory 'KEY_CODES', ->
LEFT_ARROW: 37
RIGHT_ARROW: 39
ENTER: 13
BACKSPACE: 8
DELETE: 46
.factory 'TokenCollection', ->
class TokenCollection
constructor: (@tokens) ->
has: (token) ->
string = token.toString()
for exi... | true | angular.module('slug.directives.token_input', ['slug.directives'])
.factory 'KEY_CODES', ->
LEFT_ARROW: 37
RIGHT_ARROW: 39
ENTER: 13
BACKSPACE: 8
DELETE: 46
.factory 'TokenCollection', ->
class TokenCollection
constructor: (@tokens) ->
has: (token) ->
string = token.toString()
for exi... |
[
{
"context": "d-party-json-store.herokuapp.com\"\nhttpUsername = \"user\"\nhttpPass = \"pass\"\nsiteUrl = \"http://www.localhos",
"end": 537,
"score": 0.8110551238059998,
"start": 533,
"tag": "USERNAME",
"value": "user"
},
{
"context": ".herokuapp.com\"\nhttpUsername = \"user\"\nhttp... | test/UnitTests/coffee/ThirdPartyDataStore/TpdsUpdateSenderTests.coffee | sandstormports/web-sharelatex | 1 | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/TpdsUpdateSender.js'
sinon = require('sinon')
ath = require('path')
project_id = "project_id_here"
user_id = "user_id_here"
read... | 186770 | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/TpdsUpdateSender.js'
sinon = require('sinon')
ath = require('path')
project_id = "project_id_here"
user_id = "user_id_here"
read... | true | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/TpdsUpdateSender.js'
sinon = require('sinon')
ath = require('path')
project_id = "project_id_here"
user_id = "user_id_here"
read... |
[
{
"context": "maxValue: 2097152\n connectRetries: 5\n key: 'shostream.com'\n logentries:\n enabled: false\n token: 'YOU",
"end": 226,
"score": 0.9984151721000671,
"start": 213,
"tag": "KEY",
"value": "shostream.com"
},
{
"context": "com'\n logentries:\n enabled: fals... | src/config.coffee | johnthillaye/seoserver | 0 | config =
host: 'http://shostream.com'
defaultPort: 10300
memcached:
enabled: false
defaultHost: 'seo-memcache-production'
defaultPort: 11211
maxValue: 2097152
connectRetries: 5
key: 'shostream.com'
logentries:
enabled: false
token: 'YOUR_LOGENTRIES_TOKEN_HERE'
# By default GET ... | 89475 | config =
host: 'http://shostream.com'
defaultPort: 10300
memcached:
enabled: false
defaultHost: 'seo-memcache-production'
defaultPort: 11211
maxValue: 2097152
connectRetries: 5
key: '<KEY>'
logentries:
enabled: false
token: '<KEY>'
# By default GET params are being ignored.
#... | true | config =
host: 'http://shostream.com'
defaultPort: 10300
memcached:
enabled: false
defaultHost: 'seo-memcache-production'
defaultPort: 11211
maxValue: 2097152
connectRetries: 5
key: 'PI:KEY:<KEY>END_PI'
logentries:
enabled: false
token: 'PI:KEY:<KEY>END_PI'
# By default GET par... |
[
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\n###\n\nrequire 'c",
"end": 37,
"score": 0.9998480081558228,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Lic... | Tools/phantalyzer-master/node_modules/csv/test/fromto.coffee | pianomanx/watchdog | 377 |
###
Test CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'fromto', ->
it 'Test fs stream', (next) ->
csv()
.from.stream(fs.createRea... | 58054 |
###
Test CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'fromto', ->
it 'Test fs stream', (next) ->
csv()
.from.stream(fs.createReadStream "#{__d... | true |
###
Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'fromto', ->
it 'Test fs stream', (next) ->
csv()
.from.stre... |
[
{
"context": " process', (done) ->\n customer =\n email: \"someone+#{uniqueId()}@example.com\"\n firstName: 'Some'\n lastName: 'One'\n ",
"end": 943,
"score": 0.9971684813499451,
"start": 910,
"tag": "EMAIL",
"value": "someone+#{uniqueId()}@example.com"
},
{
"conte... | src/spec/integration/customers.spec.coffee | commercetools/sphere-node-sdk | 13 | debug = require('debug')('spec-integration:customers')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
Promise = require 'bluebird'
{SphereClient} = require '../../lib/main'
Config = require('../../config').config
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
describe 'Integrati... | 209829 | debug = require('debug')('spec-integration:customers')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
Promise = require 'bluebird'
{SphereClient} = require '../../lib/main'
Config = require('../../config').config
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
describe 'Integrati... | true | debug = require('debug')('spec-integration:customers')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
Promise = require 'bluebird'
{SphereClient} = require '../../lib/main'
Config = require('../../config').config
uniqueId = (prefix) ->
_.uniqueId "#{prefix}#{new Date().getTime()}_"
describe 'Integrati... |
[
{
"context": "ry\n\nexport default class NewsTicker\n cookieKey: 'hide-news-ticker'\n\n constructor: ->\n $ @initialize\n\n\n initial",
"end": 74,
"score": 0.9686602354049683,
"start": 58,
"tag": "KEY",
"value": "hide-news-ticker"
}
] | app/javascript/src/classes/news_ticker.coffee | AstroAntics/moebooru | 452 | $ = jQuery
export default class NewsTicker
cookieKey: 'hide-news-ticker'
constructor: ->
$ @initialize
initialize: =>
@$newsTicker = $('#news-ticker')
@newsDate = @$newsTicker.attr('data-date')
return if @$newsTicker.attr('data-news-hide') == '1'
@$newsTicker.find('.close-link').click @o... | 137202 | $ = jQuery
export default class NewsTicker
cookieKey: '<KEY>'
constructor: ->
$ @initialize
initialize: =>
@$newsTicker = $('#news-ticker')
@newsDate = @$newsTicker.attr('data-date')
return if @$newsTicker.attr('data-news-hide') == '1'
@$newsTicker.find('.close-link').click @onCloseLink
... | true | $ = jQuery
export default class NewsTicker
cookieKey: 'PI:KEY:<KEY>END_PI'
constructor: ->
$ @initialize
initialize: =>
@$newsTicker = $('#news-ticker')
@newsDate = @$newsTicker.attr('data-date')
return if @$newsTicker.attr('data-news-hide') == '1'
@$newsTicker.find('.close-link').click ... |
[
{
"context": "tCardCaches\n ###\n\t@_cacheCardsBy: [\n\t\t{\n\t\t\tkey: \"cardSet\"\n\t\t\tgetGroupKey: (card) -> return card.getCardSet",
"end": 2987,
"score": 0.9532222747802734,
"start": 2980,
"tag": "KEY",
"value": "cardSet"
},
{
"context": "), (key) -> return CardSet[key])\n\t\... | app/sdk/gameSession.coffee | willroberts/duelyst | 5 | ###
why is code organized int his weird fashion? check: https://coderwall.com/p/myzvmg
###
class GameSession
# region INSTANCE
@instance: null
@create: () ->
return new _GameSession()
@getInstance: () ->
#Logger.module("SDK").debug "[G:#{@.gameId}]", "GS.getInstance"
@instance ?= new _GameSession()
re... | 26805 | ###
why is code organized int his weird fashion? check: https://coderwall.com/p/myzvmg
###
class GameSession
# region INSTANCE
@instance: null
@create: () ->
return new _GameSession()
@getInstance: () ->
#Logger.module("SDK").debug "[G:#{@.gameId}]", "GS.getInstance"
@instance ?= new _GameSession()
re... | true | ###
why is code organized int his weird fashion? check: https://coderwall.com/p/myzvmg
###
class GameSession
# region INSTANCE
@instance: null
@create: () ->
return new _GameSession()
@getInstance: () ->
#Logger.module("SDK").debug "[G:#{@.gameId}]", "GS.getInstance"
@instance ?= new _GameSession()
re... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9992588758468628,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/index.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
# ensure the client symbols are resolved
if window? and require.shim
require.shim([
... | 190509 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
# ensure the client symbols are resolved
if window? and require.shim
require.shim([
... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
# ensure the client symbols are resolved
if window? and require.shim
req... |
[
{
"context": "subteams are working in these tests.\n\nusers: {\n \"herb\": {}\n \"basil\":\n keys:\n default:\n ",
"end": 308,
"score": 0.998284101486206,
"start": 304,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "working in these tests.\n\nusers: {\n \"herb\... | teamchains/inputs/stub_by_revoked_ok.iced | keybase/keybase-test-vectors | 4 | description: "stub a chain link signed by a revoked device _before_ it was revoked"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"bas... | 85569 | description: "stub a chain link signed by a revoked device _before_ it was revoked"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"bas... | true | description: "stub a chain link signed by a revoked device _before_ it was revoked"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"bas... |
[
{
"context": " query = MongoThing.find { public: true }\n\n #@log.trace 'Using filters:'\n #@log.trace filters\n\n ",
"end": 6955,
"score": 0.9313508868217468,
"start": 6944,
"tag": "EMAIL",
"value": "#@log.trace"
},
{
"context": " }\n\n #@log.trace 'Using filt... | src/mongoose-backend.coffee | TNO-IoT/ekster | 3 | # Backend implementation for mongoose/mongodb
# Backend for Octoblu
Backend = require './backend.coffee'
Q = require 'q'
_ = require 'lodash'
Logger = require './logger.coffee'
Thing = require './thing.coffee'
Property = require './property.coffee'
MongoThing = undefined
MongoProperty = undefined
class MongooseBack... | 78251 | # Backend implementation for mongoose/mongodb
# Backend for Octoblu
Backend = require './backend.coffee'
Q = require 'q'
_ = require 'lodash'
Logger = require './logger.coffee'
Thing = require './thing.coffee'
Property = require './property.coffee'
MongoThing = undefined
MongoProperty = undefined
class MongooseBack... | true | # Backend implementation for mongoose/mongodb
# Backend for Octoblu
Backend = require './backend.coffee'
Q = require 'q'
_ = require 'lodash'
Logger = require './logger.coffee'
Thing = require './thing.coffee'
Property = require './property.coffee'
MongoThing = undefined
MongoProperty = undefined
class MongooseBack... |
[
{
"context": "h.coffee: Github search class\n#\n# Copyright © 2013 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 79,
"score": 0.9998392462730408,
"start": 60,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
}
] | src/octonode/search.coffee | waltfy/octonode | 0 | #
# search.coffee: Github search class
#
# Copyright © 2013 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (params, cb) ->
@client.get "/search/issues", params, (err, s, b, h) ->
return cb(err) if err
... | 79094 | #
# search.coffee: Github search class
#
# Copyright © 2013 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (params, cb) ->
@client.get "/search/issues", params, (err, s, b, h) ->
return cb(err) if err
if s isnt ... | true | #
# search.coffee: Github search class
#
# Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (params, cb) ->
@client.get "/search/issues", params, (err, s, b, h) ->
return cb(err) if err
... |
[
{
"context": "\n data:\n errors:\n username: 'taken'\n reason: 'registration error'\n\nmockFormHe",
"end": 242,
"score": 0.9972660541534424,
"start": 237,
"tag": "USERNAME",
"value": "taken"
},
{
"context": "applyValidationErrors, form,\n username... | tests/js/auth-test.coffee | RichardLitt/h | 0 | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
class MockSession
$login: sandbox.stub()
$register: (callback, errback) ->
errback
data:
errors:
username: 'taken'
reason: 'registration error'
mockFormHelpers = applyValidationError... | 145375 | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
class MockSession
$login: sandbox.stub()
$register: (callback, errback) ->
errback
data:
errors:
username: 'taken'
reason: 'registration error'
mockFormHelpers = applyValidationError... | true | assert = chai.assert
sinon.assert.expose assert, prefix: null
sandbox = sinon.sandbox.create()
class MockSession
$login: sandbox.stub()
$register: (callback, errback) ->
errback
data:
errors:
username: 'taken'
reason: 'registration error'
mockFormHelpers = applyValidationError... |
[
{
"context": "eoverview Tests for no-unused-vars rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 74,
"score": 0.9997660517692566,
"start": 62,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-unused-vars.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Tests for no-unused-vars rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '../../ru... | 53938 | ###*
# @fileoverview Tests for no-unused-vars rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '../../rules/no... | true | ###*
# @fileoverview Tests for no-unused-vars rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
eslint = require 'eslint'
rule = require '... |
[
{
"context": "s:\n apiName: 'vsvsapi'\n token: 'f705fa3d532e07a6d884cecef124996b'\n\n grunt.loadNpmTasks 'grunt-contrib-uglify'\n g",
"end": 3573,
"score": 0.979214608669281,
"start": 3541,
"tag": "KEY",
"value": "f705fa3d532e07a6d884cecef124996b"
}
] | Gruntfile.coffee | rao1219/Vedio | 0 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
jade:
install:
cwd: './frontend'
src: ['./**/*.jade']
dest: './public'
ext: '.html'
extDot: 'last'
expand: true
options:
doctype: 'html'
filter... | 104364 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
jade:
install:
cwd: './frontend'
src: ['./**/*.jade']
dest: './public'
ext: '.html'
extDot: 'last'
expand: true
options:
doctype: 'html'
filter... | true | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
jade:
install:
cwd: './frontend'
src: ['./**/*.jade']
dest: './public'
ext: '.html'
extDot: 'last'
expand: true
options:
doctype: 'html'
filter... |
[
{
"context": " car = new Car('bmw')\n user = new User(name, 'password')\n user.addCar(car)\n @em.persist(user)\n ",
"end": 329,
"score": 0.9981362819671631,
"start": 321,
"tag": "PASSWORD",
"value": "password"
}
] | src/MF/TestBundle/Controller/HelloController.coffee | konsserto/konsserto | 2 | Controller = use('@Konsserto/Bundle/FrameworkBundle/Controller/Controller')
User = use('/src/MF/TestBundle/Entities/User')
Car = use('/src/MF/TestBundle/Entities/Car')
class HelloController extends Controller
indexAction: (name) =>
@em = @get('EntityManager')
car = new Car('bmw')
user = new User(name, ... | 210299 | Controller = use('@Konsserto/Bundle/FrameworkBundle/Controller/Controller')
User = use('/src/MF/TestBundle/Entities/User')
Car = use('/src/MF/TestBundle/Entities/Car')
class HelloController extends Controller
indexAction: (name) =>
@em = @get('EntityManager')
car = new Car('bmw')
user = new User(name, ... | true | Controller = use('@Konsserto/Bundle/FrameworkBundle/Controller/Controller')
User = use('/src/MF/TestBundle/Entities/User')
Car = use('/src/MF/TestBundle/Entities/Car')
class HelloController extends Controller
indexAction: (name) =>
@em = @get('EntityManager')
car = new Car('bmw')
user = new User(name, ... |
[
{
"context": "c: '2.0', method: 'test.foobar', params: {name: 'myself'}, id: '5'},\n {jsonrpc: '2.0', method: '",
"end": 3896,
"score": 0.9162865877151489,
"start": 3890,
"tag": "NAME",
"value": "myself"
}
] | test/jsonrpc20.spec.coffee | jhorology/bitwig-websocket-rpc | 3 | chai = require 'chai'
utils = require './test-utils'
assert = chai.assert
chai.use require 'chai-as-promised'
chai.should()
wsRequest = utils.wsRequest
wsNotify = utils.wsNotify
wsConnect= utils.wsConnect
wsClose= utils.wsClose
$ =
OK: 'ok'
expectError: on
describe 'JSON-RPC 2.0 Specification, see https... | 186283 | chai = require 'chai'
utils = require './test-utils'
assert = chai.assert
chai.use require 'chai-as-promised'
chai.should()
wsRequest = utils.wsRequest
wsNotify = utils.wsNotify
wsConnect= utils.wsConnect
wsClose= utils.wsClose
$ =
OK: 'ok'
expectError: on
describe 'JSON-RPC 2.0 Specification, see https... | true | chai = require 'chai'
utils = require './test-utils'
assert = chai.assert
chai.use require 'chai-as-promised'
chai.should()
wsRequest = utils.wsRequest
wsNotify = utils.wsNotify
wsConnect= utils.wsConnect
wsClose= utils.wsClose
$ =
OK: 'ok'
expectError: on
describe 'JSON-RPC 2.0 Specification, see https... |
[
{
"context": "_BUCKET = 'octoblu-channels'\nCHANNEL_S3_KEY = 'channels.json'\n\nclass ChannelConfig\n constructor: (options, de",
"end": 142,
"score": 0.9718999862670898,
"start": 129,
"tag": "KEY",
"value": "channels.json"
}
] | src/models/channel-config.coffee | octoblu/channel-proxy-service | 0 | s3 = require 's3'
jsonfile = require 'jsonfile'
_ = require 'lodash'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = 'channels.json'
class ChannelConfig
constructor: (options, dependencies={}) ->
{@s3client,@jsonfile} = dependencies
@jsonfile ?= jsonfile
@s3client ?= s3.createClient
s3O... | 211499 | s3 = require 's3'
jsonfile = require 'jsonfile'
_ = require 'lodash'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = '<KEY>'
class ChannelConfig
constructor: (options, dependencies={}) ->
{@s3client,@jsonfile} = dependencies
@jsonfile ?= jsonfile
@s3client ?= s3.createClient
s3Options:
... | true | s3 = require 's3'
jsonfile = require 'jsonfile'
_ = require 'lodash'
CHANNEL_S3_BUCKET = 'octoblu-channels'
CHANNEL_S3_KEY = 'PI:KEY:<KEY>END_PI'
class ChannelConfig
constructor: (options, dependencies={}) ->
{@s3client,@jsonfile} = dependencies
@jsonfile ?= jsonfile
@s3client ?= s3.createClient
... |
[
{
"context": "ateRes = (msg) ->\n args: ['#test', msg]\n user: 'Test'\n prefix: '!test@test.com'\n\nnoopMw = (res, next)",
"end": 138,
"score": 0.998960018157959,
"start": 134,
"tag": "USERNAME",
"value": "Test"
},
{
"context": " args: ['#test', msg]\n user: 'Test'\n prefix: '!... | test/messageDispatch.coffee | rikukissa/domo | 4 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!test@test.com'
noopMw = (res, next) -> next()
describe 'Message dispatcher', ->
it 'should route messages to right route handler', (done) ->
domo = new Domo()
... | 38243 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!<EMAIL>'
noopMw = (res, next) -> next()
describe 'Message dispatcher', ->
it 'should route messages to right route handler', (done) ->
domo = new Domo()
d... | true | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!PI:EMAIL:<EMAIL>END_PI'
noopMw = (res, next) -> next()
describe 'Message dispatcher', ->
it 'should route messages to right route handler', (done) ->
domo = ne... |
[
{
"context": "l\n\n dateTimeFormat: \"YYYY/MM/DD HH:mm:ss\"\n mail: \"%s@myges.fr\"\n byName: \"%s \\<%s\\>\"\n timestampBy: \"%s by %s\"\n",
"end": 527,
"score": 0.9998692870140076,
"start": 515,
"tag": "EMAIL",
"value": "\"%s@myges.fr"
},
{
"context": "getPath())\n if create... | lib/header-esgi.coffee | mtibaldi486/atom-header-ESGI | 0 | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
util = require 'util'
sprintf = require('sprintf-js').sprintf
moment = require 'moment'
String::rstrip = -> @replace /\s+$/g, ""
module.exports = Headeresgi =
config:
login:
type: 'string'
default: (process.env.USER ? "an... | 27371 | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
util = require 'util'
sprintf = require('sprintf-js').sprintf
moment = require 'moment'
String::rstrip = -> @replace /\s+$/g, ""
module.exports = Headeresgi =
config:
login:
type: 'string'
default: (process.env.USER ? "an... | true | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
util = require 'util'
sprintf = require('sprintf-js').sprintf
moment = require 'moment'
String::rstrip = -> @replace /\s+$/g, ""
module.exports = Headeresgi =
config:
login:
type: 'string'
default: (process.env.USER ? "an... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author mikael emtinger / ",
"end": 17,
"score": 0.9636744260787964,
"start": 10,
"tag": "NAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author mikael emtinger / http://gomo.se/\n# @author ... | source/javascripts/new_src/core/object_3d.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author mikael emtinger / http://gomo.se/
# @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/quaternion
class Object3D
constructor: ->
@id =... | 173497 | # @author <NAME> / http://mrdoob.com/
# @author <NAME> / http://gomo.se/
# @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/quaternion
class Object3D
constructor: ->
@id = THREE.Object3DCount++
... | true | # @author PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author PI:NAME:<NAME>END_PI / http://gomo.se/
# @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/quaternion
class Object3D
constructor: ->
... |
[
{
"context": "onfig ~ GG\n\n AWS_KEY = KONFIG.awsKeys.worker_koding_client_s3_put_only.accessKeyId\n AWS_SECRET",
"end": 454,
"score": 0.515181303024292,
"start": 454,
"tag": "KEY",
"value": ""
},
{
"context": "accessKeyId\n AWS_SECRET = KONFIG.awsKeys.worker_koding_client_... | workers/social/lib/social/models/s3.coffee | ezgikaysi/koding | 1 | { Base, secure, signature } = require 'bongo'
crypto = require 'crypto'
KONFIG = require 'koding-config-manager'
KodingError = require '../error'
module.exports = class S3 extends Base
# Following aws credentials are belong to koding-client
# user on aws, and it only has permission for following:
#
# pu... | 36391 | { Base, secure, signature } = require 'bongo'
crypto = require 'crypto'
KONFIG = require 'koding-config-manager'
KodingError = require '../error'
module.exports = class S3 extends Base
# Following aws credentials are belong to koding-client
# user on aws, and it only has permission for following:
#
# pu... | true | { Base, secure, signature } = require 'bongo'
crypto = require 'crypto'
KONFIG = require 'koding-config-manager'
KodingError = require '../error'
module.exports = class S3 extends Base
# Following aws credentials are belong to koding-client
# user on aws, and it only has permission for following:
#
# pu... |
[
{
"context": "../index') robot\n\n userInfo =\n name: 'ys'\n room: '#zf-promo'\n\n user = robot.br",
"end": 516,
"score": 0.882778525352478,
"start": 514,
"tag": "NAME",
"value": "ys"
}
] | test/scripts/vault_test.coffee | ys/hubot-vault | 3 | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'Vault commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env.HU... | 5048 | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'Vault commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env.HU... | true | Path = require('path')
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMessage
describe 'Vault commands', ->
user = robot = adapter = null
beforeEach (done) ->
robot = new Robot(null, 'mock-adapter', true, 'bender')
robot.adapter.on 'connected', ->
process.env.HU... |
[
{
"context": "orts = lemon.Component {\n package: 'ei'\n name: 'Linkedin'\n class: 'evil-icon'\n\n data: {\n size: 50\n }",
"end": 81,
"score": 0.9993916749954224,
"start": 73,
"tag": "NAME",
"value": "Linkedin"
}
] | Linkedin.coffee | lemon/lemonjs-ei | 0 |
# Component
module.exports = lemon.Component {
package: 'ei'
name: 'Linkedin'
class: 'evil-icon'
data: {
size: 50
}
template: (data) ->
size = "#{data.size}px"
div style: {display: 'inline-block', height: size, width: size}, ->
raw '<svg viewBox="0 0 50 50"><g><path d="M36.1 12H13.9c-1.... | 158721 |
# Component
module.exports = lemon.Component {
package: 'ei'
name: '<NAME>'
class: 'evil-icon'
data: {
size: 50
}
template: (data) ->
size = "#{data.size}px"
div style: {display: 'inline-block', height: size, width: size}, ->
raw '<svg viewBox="0 0 50 50"><g><path d="M36.1 12H13.9c-1.1 ... | true |
# Component
module.exports = lemon.Component {
package: 'ei'
name: 'PI:NAME:<NAME>END_PI'
class: 'evil-icon'
data: {
size: 50
}
template: (data) ->
size = "#{data.size}px"
div style: {display: 'inline-block', height: size, width: size}, ->
raw '<svg viewBox="0 0 50 50"><g><path d="M36.1... |
[
{
"context": "interim you can also use this temporary API Key: 'dO6M2p9sKRMGQYub'.\n\n As an example, one simple DocumentAlchem",
"end": 8822,
"score": 0.9974475502967834,
"start": 8806,
"tag": "KEY",
"value": "dO6M2p9sKRMGQYub"
},
{
"context": "eate a JSON document such as:\n\n... | lib/document-alchemy-cli.coffee | DocumentAlchemy/document-alchemy-cli | 5 | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join(__dirname,'..')
IS_INSTRUMENTED = fs.existsSync( path.join(HOMEDIR,'lib-cov') )
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
Util ... | 65615 | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join(__dirname,'..')
IS_INSTRUMENTED = fs.existsSync( path.join(HOMEDIR,'lib-cov') )
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
Util ... | true | path = require 'path'
fs = require 'fs'
HOMEDIR = path.join(__dirname,'..')
IS_INSTRUMENTED = fs.existsSync( path.join(HOMEDIR,'lib-cov') )
LIB_DIR = if IS_INSTRUMENTED then path.join(HOMEDIR,'lib-cov') else path.join(HOMEDIR,'lib')
Util ... |
[
{
"context": "\n version : '0.2.5'\n author : 'Foo, inc. <support@foo.com>'\n description : 'Handy st",
"end": 262,
"score": 0.7729520797729492,
"start": 254,
"tag": "NAME",
"value": "Foo, inc"
},
{
"context": "ion : '0.2.5'\n author : 'Foo, inc.... | test/header_spec.coffee | jeremyruppel/frosting | 0 | {File} = require '../lib/frosting'
fs = require 'fs'
describe 'header', ->
it 'should prepend the correct header to the buffer', ( done ) ->
pkg = JSON.stringify
name : 'mymodule'
version : '0.2.5'
author : 'Foo, inc. <support@foo.com>'
description : 'Handy stuff for ... | 85283 | {File} = require '../lib/frosting'
fs = require 'fs'
describe 'header', ->
it 'should prepend the correct header to the buffer', ( done ) ->
pkg = JSON.stringify
name : 'mymodule'
version : '0.2.5'
author : '<NAME>. <<EMAIL>>'
description : 'Handy stuff for the intern... | true | {File} = require '../lib/frosting'
fs = require 'fs'
describe 'header', ->
it 'should prepend the correct header to the buffer', ( done ) ->
pkg = JSON.stringify
name : 'mymodule'
version : '0.2.5'
author : 'PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>'
description ... |
[
{
"context": "###\nchromereload.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 51,
"score": 0.9997310638427734,
"start": 43,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "\nchromereload.coffee\nCopyright (C) 2015 ender xu <xuend... | src/extension/background/chromereload.coffee | roceys/cm | 248 | ###
chromereload.coffee
Copyright (C) 2015 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
LIVERELOAD_HOST = 'localhost:'
LIVERELOAD_PORT = 35729
connection = new WebSocket("ws://#{LIVERELOAD_HOST}#{LIVERELOAD_PORT}/livereload")
connection.onerror = (error)->
console.log('reload conne... | 40598 | ###
chromereload.coffee
Copyright (C) 2015 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
LIVERELOAD_HOST = 'localhost:'
LIVERELOAD_PORT = 35729
connection = new WebSocket("ws://#{LIVERELOAD_HOST}#{LIVERELOAD_PORT}/livereload")
connection.onerror = (error)->
console.log('reload connection got er... | true | ###
chromereload.coffee
Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
LIVERELOAD_HOST = 'localhost:'
LIVERELOAD_PORT = 35729
connection = new WebSocket("ws://#{LIVERELOAD_HOST}#{LIVERELOAD_PORT}/livereload")
connection.onerror = (error)->
console.... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994705319404602,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-outgoing-finish.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... | 121378 | # 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": "feeScript mode for CodeMirror\n# Copyright (c) 2011 Jeff Pickhardt, released under\n# the MIT License.\n#\n# Modified f",
"end": 70,
"score": 0.9998760223388672,
"start": 56,
"tag": "NAME",
"value": "Jeff Pickhardt"
},
{
"context": "also is\n# under the MIT License Copy... | test/coffee/codeMirror.coffee | MiguelCastillo/Brackets-InteractiveLinter | 86 | # CoffeeScript mode for CodeMirror
# Copyright (c) 2011 Jeff Pickhardt, released under
# the MIT License.
#
# Modified from the Python CodeMirror mode, which also is
# under the MIT License Copyright (c) 2010 Timothy Farrell.
#
# The following script, Underscore.coffee, is used to
# demonstrate CoffeeScript mode for Co... | 85951 | # CoffeeScript mode for CodeMirror
# Copyright (c) 2011 <NAME>, released under
# the MIT License.
#
# Modified from the Python CodeMirror mode, which also is
# under the MIT License Copyright (c) 2010 <NAME>.
#
# The following script, Underscore.coffee, is used to
# demonstrate CoffeeScript mode for CodeMirror.
#
# To ... | true | # CoffeeScript mode for CodeMirror
# Copyright (c) 2011 PI:NAME:<NAME>END_PI, released under
# the MIT License.
#
# Modified from the Python CodeMirror mode, which also is
# under the MIT License Copyright (c) 2010 PI:NAME:<NAME>END_PI.
#
# The following script, Underscore.coffee, is used to
# demonstrate CoffeeScript ... |
[
{
"context": "ty to storage.type, but have no idea what it is -- Allan\n \t\t\tAnd I changed this to constant.other.sym",
"end": 2088,
"score": 0.9435077905654907,
"start": 2083,
"tag": "NAME",
"value": "Allan"
},
{
"context": "r the docs,\n \t\t\t might still be wrong. ... | grammars/rego.cson | ferhaty/language-rego | 1 | fileTypes: ["rego"]
name: "Rego"
patterns: [
{
begin: "('|\")"
beginCaptures:
"0":
name: "punctuation.definition.string.begin.rego"
end: "('|\")"
endCaptures:
"0":
name: "punctuation.definition.string.end.rego"
name: "string.quoted.single.rego"
patterns: [
{
... | 67581 | fileTypes: ["rego"]
name: "Rego"
patterns: [
{
begin: "('|\")"
beginCaptures:
"0":
name: "punctuation.definition.string.begin.rego"
end: "('|\")"
endCaptures:
"0":
name: "punctuation.definition.string.end.rego"
name: "string.quoted.single.rego"
patterns: [
{
... | true | fileTypes: ["rego"]
name: "Rego"
patterns: [
{
begin: "('|\")"
beginCaptures:
"0":
name: "punctuation.definition.string.begin.rego"
end: "('|\")"
endCaptures:
"0":
name: "punctuation.definition.string.end.rego"
name: "string.quoted.single.rego"
patterns: [
{
... |
[
{
"context": "size = 'little'\nconsole.log \"Mary had a #{size} lamb.\" # Mary had a little lamb.\nco",
"end": 33,
"score": 0.9998011589050293,
"start": 29,
"tag": "NAME",
"value": "Mary"
},
{
"context": " 'little'\nconsole.log \"Mary had a #{size} lamb.\" # Mary had a little lamb.\n... | Task/String-interpolation--included-/CoffeeScript/string-interpolation--included-.coffee | LaudateCorpus1/RosettaCodeData | 1 | size = 'little'
console.log "Mary had a #{size} lamb." # Mary had a little lamb.
console.log "Escaping: \#{}" # Escaping: #{}
console.log 'No #{ interpolation} with single quotes' # No #{ interpolation} with single quotes
# Multi-line strings and arbtrary expressions work: 20
console.log """
Multi-line strings and a... | 71864 | size = 'little'
console.log "<NAME> had a #{size} lamb." # <NAME> had a little lamb.
console.log "Escaping: \#{}" # Escaping: #{}
console.log 'No #{ interpolation} with single quotes' # No #{ interpolation} with single quotes
# Multi-line strings and arbtrary expressions work: 20
console.log """
Multi-line strings a... | true | size = 'little'
console.log "PI:NAME:<NAME>END_PI had a #{size} lamb." # PI:NAME:<NAME>END_PI had a little lamb.
console.log "Escaping: \#{}" # Escaping: #{}
console.log 'No #{ interpolation} with single quotes' # No #{ interpolation} with single quotes
# Multi-line strings and arbtrary expressions work: 20
console.lo... |
[
{
"context": "param\n email : email,\n password : password\n\n headers =\n 'Content-Type': 'applica",
"end": 302,
"score": 0.9993396401405334,
"start": 294,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " : admin.email\n password... | client/dashboard/javascripts/modules/api/api.coffee | jedbangers/exclusive-content-web | 0 | 'use strict'
$ = require 'jquery'
module.exports = (Restangular) ->
api = Restangular.all 'api'
auth:
me: ->
api.one('auth', 'me').get()
.then Restangular.stripRestangular
login: (email, password) ->
body = $.param
email : email,
password : password
headers =
... | 114425 | 'use strict'
$ = require 'jquery'
module.exports = (Restangular) ->
api = Restangular.all 'api'
auth:
me: ->
api.one('auth', 'me').get()
.then Restangular.stripRestangular
login: (email, password) ->
body = $.param
email : email,
password : <PASSWORD>
headers ... | true | 'use strict'
$ = require 'jquery'
module.exports = (Restangular) ->
api = Restangular.all 'api'
auth:
me: ->
api.one('auth', 'me').get()
.then Restangular.stripRestangular
login: (email, password) ->
body = $.param
email : email,
password : PI:PASSWORD:<PASSWORD>END_... |
[
{
"context": "dirname);\n\n# App OAuth Credentials\n#\nprodAppId = \"6e966b7a-2e6e-4eeb-9f71-9c2b2d9b1b3f\"\noauthCreds =\n \"6e966b7a-2e6e-4eeb-9f71-9c2b2d9b",
"end": 1460,
"score": 0.9933916926383972,
"start": 1424,
"tag": "KEY",
"value": "6e966b7a-2e6e-4eeb-9f71-9c2b2d9b1b3f"
},
{
... | applications/props/props-server/web.coffee | yingjieg/jiveapps | 13 | # Copyright 2013 Jive Software
#
# 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... | 164130 | # Copyright 2013 Jive Software
#
# 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... | true | # Copyright 2013 Jive Software
#
# 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... |
[
{
"context": "SOQL query and outputs the results\n#\n# Author:\n# lnediger, grokify\n\nsys = require 'sys' # Used for debuggin",
"end": 729,
"score": 0.9996960759162903,
"start": 721,
"tag": "USERNAME",
"value": "lnediger"
},
{
"context": " and outputs the results\n#\n# Author:\n# ... | node_modules/hubot-salesforce/src/salesforce.coffee | grokify/glipbot-demos-enterprise | 0 | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET = c... | 111596 | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET = c... | true | # Description:
# Get connected to the Salesforce.com REST API and do something fun!
#
# Dependencies:
# None
#
# Configuration:
# SF_INSTANCE_URL = url of your salesforce instance eg. https://na2.salesforce.com
# SF_CONSUMER_KEY = consumer key from the Remote Access Setup page in Salesforce
# SF_CONSUMER_SECRET = c... |
[
{
"context": "041uuu - 1041uuu.tumblr.com images\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nmodule.exports = (robot) ->\n r",
"end": 183,
"score": 0.9997054934501648,
"start": 176,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "041uuu.tumblr.com images\n#\n# Author:\n# ... | src/scripts/1041uuu.coffee | bouzuya/hubot-1041uuu | 2 | # Description
# A Hubot script that returns 1041uuu.tumblr.com images
#
# Configuration:
# None
#
# Commands:
# hubot 1041uuu - 1041uuu.tumblr.com images
#
# Author:
# bouzuya <m@bouzuya.net>
#
module.exports = (robot) ->
request = require 'request-b'
cheerio = require 'cheerio'
loaded = false
images =... | 19120 | # Description
# A Hubot script that returns 1041uuu.tumblr.com images
#
# Configuration:
# None
#
# Commands:
# hubot 1041uuu - 1041uuu.tumblr.com images
#
# Author:
# bouzuya <<EMAIL>>
#
module.exports = (robot) ->
request = require 'request-b'
cheerio = require 'cheerio'
loaded = false
images = []
... | true | # Description
# A Hubot script that returns 1041uuu.tumblr.com images
#
# Configuration:
# None
#
# Commands:
# hubot 1041uuu - 1041uuu.tumblr.com images
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
module.exports = (robot) ->
request = require 'request-b'
cheerio = require 'cheerio'
loaded = false
... |
[
{
"context": "esentation of electron density. ':\n 'prefix': 'carvedIsomesh'\n 'body': '''\n delete all;\n # Fetch ",
"end": 9134,
"score": 0.9986101984977722,
"start": 9121,
"tag": "USERNAME",
"value": "carvedIsomesh"
},
{
"context": " ${1:3nd3} and chain ${4:A};\n ... | atompymolsnips/pymolsnippets.cson | MooersLab/pymolsnips | 21 | '.source.pml':
'Apply the ambient occlussion effect to get the photorealistic effect.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
# the 'as' command is a shortcut for show_as
util.cbaw;
... | 65168 | '.source.pml':
'Apply the ambient occlussion effect to get the photorealistic effect.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
# the 'as' command is a shortcut for show_as
util.cbaw;
... | true | '.source.pml':
'Apply the ambient occlussion effect to get the photorealistic effect.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
# the 'as' command is a shortcut for show_as
util.cbaw;
... |
[
{
"context": " Cloud Code.\nParse.initialize \"Ig1obxPL8urC3KUx7SxLUA5WvygdvwZuFcEvp3zq\", \"Whw4i8WRBgyzToQu14wSbIqA8HOX",
"end": 1286,
"score": 0.5070105791091919,
"start": 1283,
"tag": "KEY",
"value": "LUA"
},
{
"context": "initialize \"Ig1obxPL8urC3KUx7SxLUA5WvygdvwZuFcEvp3zq\", ... | app-new.coffee | TerryWareNet/terry-ware-net | 0 | renderOrRedirect = (res, page, data) ->
res.render page, data, (err, html) ->
if err
res.redirect "/"
else
res.send html
return
return
express = require("express")
app = express()
fs = require("fs")
DataParser = require("cloud/services/data-parser.js")
app.locals.Formatter = require("clou... | 59823 | renderOrRedirect = (res, page, data) ->
res.render page, data, (err, html) ->
if err
res.redirect "/"
else
res.send html
return
return
express = require("express")
app = express()
fs = require("fs")
DataParser = require("cloud/services/data-parser.js")
app.locals.Formatter = require("clou... | true | renderOrRedirect = (res, page, data) ->
res.render page, data, (err, html) ->
if err
res.redirect "/"
else
res.send html
return
return
express = require("express")
app = express()
fs = require("fs")
DataParser = require("cloud/services/data-parser.js")
app.locals.Formatter = require("clou... |
[
{
"context": ": @project_id\n\t\t\t@req.body =\n\t\t\t\temail: @email = \"Joe@example.com\"\n\t\t\t\tprivileges: @privileges = \"readOnly\"\n\t\t\t@req",
"end": 1129,
"score": 0.9999077320098877,
"start": 1114,
"tag": "EMAIL",
"value": "Joe@example.com"
},
{
"context": "r-id\"\n\t\t\... | test/UnitTests/coffee/Collaborators/CollaboratorsControllerTests.coffee | bowlofstew/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... | 35137 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... |
[
{
"context": " \"test\"\n source_password: \"abc123\"\n root_route: true\n seconds",
"end": 198,
"score": 0.9983654022216797,
"start": 192,
"tag": "PASSWORD",
"value": "abc123"
}
] | test/helpers/stream.coffee | firebrandv2/FirebrandNetwork.ga | 342 | uuid = require "node-uuid"
_ = require "underscore"
debug = require("debug")("sm:tests:helpers:stream")
STREAMS =
mp3:
key: "test"
source_password: "abc123"
root_route: true
seconds: 60*60*4
format: "mp3"
module.exports ... | 191831 | uuid = require "node-uuid"
_ = require "underscore"
debug = require("debug")("sm:tests:helpers:stream")
STREAMS =
mp3:
key: "test"
source_password: "<PASSWORD>"
root_route: true
seconds: 60*60*4
format: "mp3"
module.expo... | true | uuid = require "node-uuid"
_ = require "underscore"
debug = require("debug")("sm:tests:helpers:stream")
STREAMS =
mp3:
key: "test"
source_password: "PI:PASSWORD:<PASSWORD>END_PI"
root_route: true
seconds: 60*60*4
format: "... |
[
{
"context": "ent 'onSomething' shortcuts\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\n#\n# builds the 'onEvent' shortucts\n#\n# @param ",
"end": 84,
"score": 0.9998883605003357,
"start": 67,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/sugar/src/element.coffee | lovely-io/lovely.io-stl | 2 | #
# The dom.Element 'onSomething' shortcuts
#
# Copyright (C) 2011 Nikolay Nemshilov
#
#
# builds the 'onEvent' shortucts
#
# @param {core.Class} dom-wrapper class
# @param {String} space separated event names list
#
make_shortcuts = (Klass, EVENTS)->
for name in EVENTS.split(' ')
do (name)->
method = "on#... | 125117 | #
# The dom.Element 'onSomething' shortcuts
#
# Copyright (C) 2011 <NAME>
#
#
# builds the 'onEvent' shortucts
#
# @param {core.Class} dom-wrapper class
# @param {String} space separated event names list
#
make_shortcuts = (Klass, EVENTS)->
for name in EVENTS.split(' ')
do (name)->
method = "on#{name[0].to... | true | #
# The dom.Element 'onSomething' shortcuts
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
#
# builds the 'onEvent' shortucts
#
# @param {core.Class} dom-wrapper class
# @param {String} space separated event names list
#
make_shortcuts = (Klass, EVENTS)->
for name in EVENTS.split(' ')
do (name)->
method = "... |
[
{
"context": "el in @getVisibleClickableElements())\n\n # Note(philc): Append these markers as top level children inst",
"end": 2709,
"score": 0.7492226362228394,
"start": 2704,
"tag": "NAME",
"value": "philc"
},
{
"context": "isActive\n @remove()\n })\n\n # TODO(... | content_scripts/link_hints.coffee | noomorph/vimtage-opera | 4 | #
# This implements link hinting. Typing "F" will enter link-hinting mode, where all clickable items on the
# page have a hint marker displayed containing a sequence of letters. Typing those letters will select a link.
#
# In our 'default' mode, the characters we use to show link hints are a user-configurable option. B... | 94680 | #
# This implements link hinting. Typing "F" will enter link-hinting mode, where all clickable items on the
# page have a hint marker displayed containing a sequence of letters. Typing those letters will select a link.
#
# In our 'default' mode, the characters we use to show link hints are a user-configurable option. B... | true | #
# This implements link hinting. Typing "F" will enter link-hinting mode, where all clickable items on the
# page have a hint marker displayed containing a sequence of letters. Typing those letters will select a link.
#
# In our 'default' mode, the characters we use to show link hints are a user-configurable option. B... |
[
{
"context": "els/LevelSession'\n\ntestPost =\n data:\n email: 'scott@codecombat.com'\n id: '12345678'\n merges:\n INTERESTS: ",
"end": 331,
"score": 0.9999215602874756,
"start": 311,
"tag": "EMAIL",
"value": "scott@codecombat.com"
},
{
"context": ", Diplomats, Ambassa... | spec/server/functional/mail.spec.coffee | johanvl/codecombat | 2 | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: 'scott@cod... | 16324 | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: '<EMAIL>'
... | true | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: 'PI:EMAIL:... |
[
{
"context": "use - Get a random designer excuse\n#\n# Author:\n# ianmurrays, hopkinschris\n\nDESIGNER_EXCUSES = [\n \"That won't",
"end": 396,
"score": 0.9994678497314453,
"start": 386,
"tag": "USERNAME",
"value": "ianmurrays"
},
{
"context": "random designer excuse\n#\n# Author:... | src/scripts/excuse.coffee | RisingStack/hubot-scripts | 9 | # Description:
# Get a random developer or designer excuse
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot developer excuse me - Get a random developer excuse
# hubot developer excuse - Get a random developer excuse
#
# hubot designer excuse me - Get a random designer excuse
# hub... | 191383 | # Description:
# Get a random developer or designer excuse
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot developer excuse me - Get a random developer excuse
# hubot developer excuse - Get a random developer excuse
#
# hubot designer excuse me - Get a random designer excuse
# hub... | true | # Description:
# Get a random developer or designer excuse
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot developer excuse me - Get a random developer excuse
# hubot developer excuse - Get a random developer excuse
#
# hubot designer excuse me - Get a random designer excuse
# hub... |
[
{
"context": "r = @robot.brain.userForId from\n user.token = token\n @robot.logger.debug \"LINE beacon <#{beacon.",
"end": 6500,
"score": 0.36484038829803467,
"start": 6495,
"tag": "PASSWORD",
"value": "token"
},
{
"context": "line-signature'\n hash = crypto.createHmac('... | src/line.coffee | yoshikichung/hubot-line | 3 | {Robot, Adapter, TextMessage} = require 'hubot'
{EventEmitter} = require 'events'
{LineImageMessage, LineVideoMessage, LineAudioMessage, LineLocationMessage, LineStickerMessage, LineFollow, LineUnfollow, LineJoin, LineLeave, LinePostback, LineBeacon} = require './message'
crypto = require 'crypto'
class LineAdapter e... | 131279 | {Robot, Adapter, TextMessage} = require 'hubot'
{EventEmitter} = require 'events'
{LineImageMessage, LineVideoMessage, LineAudioMessage, LineLocationMessage, LineStickerMessage, LineFollow, LineUnfollow, LineJoin, LineLeave, LinePostback, LineBeacon} = require './message'
crypto = require 'crypto'
class LineAdapter e... | true | {Robot, Adapter, TextMessage} = require 'hubot'
{EventEmitter} = require 'events'
{LineImageMessage, LineVideoMessage, LineAudioMessage, LineLocationMessage, LineStickerMessage, LineFollow, LineUnfollow, LineJoin, LineLeave, LinePostback, LineBeacon} = require './message'
crypto = require 'crypto'
class LineAdapter e... |
[
{
"context": "gerFactory\n@requires bunyan\n@requires path\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\nmodule.exports = ",
"end": 857,
"score": 0.9998880624771118,
"start": 843,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "res bunyan\n@requires path\n@autho... | src/log/LoggerFactory.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 46838 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": " chat, you'll be notified (assuming\n# your name is jim):\n#\n# Hey @jim, how's it going.\n# Congrats @e",
"end": 326,
"score": 0.9890356063842773,
"start": 323,
"tag": "NAME",
"value": "jim"
},
{
"context": " notified (assuming\n# your name is jim):\n#\n# Hey @ji... | src/scripts/notify.coffee | mcollina/hubot-scripts | 1 | # Notifies you by Prowl or NotifyMyAndroid when you're mentioned
#
# To setup your username for notification:
#
# hubot notify me by prowl with YOUR_PROWL_API_KEY
# hubot notify me by nma with YOUR_NMA_API_KEY
# hubot list notifiers
#
# Then when this happens in the chat, you'll be notified (assuming
# your name ... | 45624 | # Notifies you by Prowl or NotifyMyAndroid when you're mentioned
#
# To setup your username for notification:
#
# hubot notify me by prowl with YOUR_PROWL_API_KEY
# hubot notify me by nma with YOUR_NMA_API_KEY
# hubot list notifiers
#
# Then when this happens in the chat, you'll be notified (assuming
# your name ... | true | # Notifies you by Prowl or NotifyMyAndroid when you're mentioned
#
# To setup your username for notification:
#
# hubot notify me by prowl with YOUR_PROWL_API_KEY
# hubot notify me by nma with YOUR_NMA_API_KEY
# hubot list notifiers
#
# Then when this happens in the chat, you'll be notified (assuming
# your name ... |
[
{
"context": "(ann.user)\n\n ann = {}\n permissions.setUser('alice')\n $(el).trigger('beforeAnnotationCreated', [a",
"end": 499,
"score": 0.8973300457000732,
"start": 494,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "ationCreated', [ann])\n assert.equal(ann.user, ... | inception-html-editor/src/main/js/annotatorjs/test/spec/plugin/permissions_spec.coffee | CPHI-TVHS/inception | 377 | describe 'Annotator.Plugin.Permissions', ->
el = null
permissions = null
beforeEach ->
el = $("<div class='annotator-viewer'></div>").appendTo('body')[0]
permissions = new Annotator.Plugin.Permissions(el)
afterEach -> $(el).remove()
it "it should add the current user object to newly created annotat... | 174943 | describe 'Annotator.Plugin.Permissions', ->
el = null
permissions = null
beforeEach ->
el = $("<div class='annotator-viewer'></div>").appendTo('body')[0]
permissions = new Annotator.Plugin.Permissions(el)
afterEach -> $(el).remove()
it "it should add the current user object to newly created annotat... | true | describe 'Annotator.Plugin.Permissions', ->
el = null
permissions = null
beforeEach ->
el = $("<div class='annotator-viewer'></div>").appendTo('body')[0]
permissions = new Annotator.Plugin.Permissions(el)
afterEach -> $(el).remove()
it "it should add the current user object to newly created annotat... |
[
{
"context": ".bar'\n customerId: 'sample'\n username: 'name'\n password: 'secret'\n @sut.start {options",
"end": 287,
"score": 0.9904446005821228,
"start": 283,
"tag": "USERNAME",
"value": "name"
},
{
"context": " 'sample'\n username: 'name'\n password: '... | test/connector-spec.coffee | octoblu/meshblu-connector-xen-director | 0 | Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
@sut = new Connector
{@request} = @sut
@request.get = sinon.stub().yields null, {}, 'foo'
options =
protocol: 'https'
domain: 'foo.bar'
customerId: 'sample'
username: 'name'
password: 'secret'
@s... | 46831 | Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
@sut = new Connector
{@request} = @sut
@request.get = sinon.stub().yields null, {}, 'foo'
options =
protocol: 'https'
domain: 'foo.bar'
customerId: 'sample'
username: 'name'
password: '<PASSWORD>'
... | true | Connector = require '../'
describe 'Connector', ->
beforeEach (done) ->
@sut = new Connector
{@request} = @sut
@request.get = sinon.stub().yields null, {}, 'foo'
options =
protocol: 'https'
domain: 'foo.bar'
customerId: 'sample'
username: 'name'
password: 'PI:PASSWORD:<P... |
[
{
"context": "postgres'\n port: 5432\n admin_username: 'root'\n admin_password: 'rootme'\n admin_db: '",
"end": 155,
"score": 0.9806366562843323,
"start": 151,
"tag": "USERNAME",
"value": "root"
},
{
"context": " admin_username: 'root'\n admin_password: 'r... | packages/db/env/postgresql/test.coffee | chibanemourad/node-nikita | 0 |
module.exports =
tags:
db: true
db:
postgresql:
engine: 'postgresql'
host: 'postgres'
port: 5432
admin_username: 'root'
admin_password: 'rootme'
admin_db: 'root'
ssh:
host: 'localhost'
username: 'root'
| 4569 |
module.exports =
tags:
db: true
db:
postgresql:
engine: 'postgresql'
host: 'postgres'
port: 5432
admin_username: 'root'
admin_password: '<PASSWORD>'
admin_db: 'root'
ssh:
host: 'localhost'
username: 'root'
| true |
module.exports =
tags:
db: true
db:
postgresql:
engine: 'postgresql'
host: 'postgres'
port: 5432
admin_username: 'root'
admin_password: 'PI:PASSWORD:<PASSWORD>END_PI'
admin_db: 'root'
ssh:
host: 'localhost'
username: 'root'
|
[
{
"context": "he uuid sent by the server', ->\n @uuid = 'Erik Loves Copy and Paste'\n @httpBackend.expectPOST(",
"end": 1211,
"score": 0.9943853616714478,
"start": 1201,
"tag": "NAME",
"value": "Erik Loves"
},
{
"context": "id: @uuid\n @sut.registerWithPin('wh... | test/authenticator-service-spec.coffee | octoblu/blu-web | 3 | describe 'AuthenticatorService', ->
beforeEach ->
module 'blu', =>
return
inject ($httpBackend, $rootScope, AuthenticatorService) =>
@rootScope = $rootScope
@httpBackend = $httpBackend
@sut = AuthenticatorService
it 'should exist', ->
expect(@sut).to.exist
describe '->regis... | 72019 | describe 'AuthenticatorService', ->
beforeEach ->
module 'blu', =>
return
inject ($httpBackend, $rootScope, AuthenticatorService) =>
@rootScope = $rootScope
@httpBackend = $httpBackend
@sut = AuthenticatorService
it 'should exist', ->
expect(@sut).to.exist
describe '->regis... | true | describe 'AuthenticatorService', ->
beforeEach ->
module 'blu', =>
return
inject ($httpBackend, $rootScope, AuthenticatorService) =>
@rootScope = $rootScope
@httpBackend = $httpBackend
@sut = AuthenticatorService
it 'should exist', ->
expect(@sut).to.exist
describe '->regis... |
[
{
"context": "oftware Version\n###\n\n# <iq type='get'\n# from='romeo@montague.net/orchard'\n# to='plays.shakespeare.lit'\n# i",
"end": 2261,
"score": 0.9996358156204224,
"start": 2243,
"tag": "EMAIL",
"value": "romeo@montague.net"
},
{
"context": "rvice Discovery\n###\n\... | src/xmpp/pubsub_server.coffee | surevine/buddycloud-server | 0 | logger = require('../logger').makeLogger 'xmpp/pubsub_server'
xmpp = require('node-xmpp')
{EventEmitter} = require('events')
NS = require('./ns')
forms = require('./forms')
errors = require('../errors')
RSM = require('./rsm')
##
# A request:
# * Unpacks the request
# * Specifies the operation to run
# * Compiles the r... | 205038 | logger = require('../logger').makeLogger 'xmpp/pubsub_server'
xmpp = require('node-xmpp')
{EventEmitter} = require('events')
NS = require('./ns')
forms = require('./forms')
errors = require('../errors')
RSM = require('./rsm')
##
# A request:
# * Unpacks the request
# * Specifies the operation to run
# * Compiles the r... | true | logger = require('../logger').makeLogger 'xmpp/pubsub_server'
xmpp = require('node-xmpp')
{EventEmitter} = require('events')
NS = require('./ns')
forms = require('./forms')
errors = require('../errors')
RSM = require('./rsm')
##
# A request:
# * Unpacks the request
# * Specifies the operation to run
# * Compiles the r... |
[
{
"context": "###\nSingle-Page UI for network visualizer.\nkeroserene@google.com (Serene Han)\n###\ndefine ['domReady', 'jquery', '",
"end": 64,
"score": 0.9999185800552368,
"start": 43,
"tag": "EMAIL",
"value": "keroserene@google.com"
},
{
"context": "I for network visualizer.\nker... | networkx-d3-v2/static/js/netx.coffee | suraj-testing2/Clock_Websites | 0 | ###
Single-Page UI for network visualizer.
keroserene@google.com (Serene Han)
###
define ['domReady', 'jquery', 'underscore'], (domReady, $, _) ->
gButter = null
gActions = null
gIndex = null
gView = null
gForm = null
class Vis
ID_PREFIX = '#v-'
constructor: (@id, @name, @url, @isPublic) ->
... | 188764 | ###
Single-Page UI for network visualizer.
<EMAIL> (<NAME>)
###
define ['domReady', 'jquery', 'underscore'], (domReady, $, _) ->
gButter = null
gActions = null
gIndex = null
gView = null
gForm = null
class Vis
ID_PREFIX = '#v-'
constructor: (@id, @name, @url, @isPublic) ->
@entry = $(ID_PREF... | true | ###
Single-Page UI for network visualizer.
PI:EMAIL:<EMAIL>END_PI (PI:NAME:<NAME>END_PI)
###
define ['domReady', 'jquery', 'underscore'], (domReady, $, _) ->
gButter = null
gActions = null
gIndex = null
gView = null
gForm = null
class Vis
ID_PREFIX = '#v-'
constructor: (@id, @name, @url, @isPublic... |
[
{
"context": "tchLab: 'Worm Watch Lab'\n higgsHunters: 'Higgs Hunters'\n social:\n content: '''\n [**Zooniv",
"end": 2215,
"score": 0.9961330890655518,
"start": 2202,
"tag": "NAME",
"value": "Higgs Hunters"
},
{
"context": "org/privacy) | [Source & Bugs](https... | app/partials/main-footer.cjsx | zooniverse/wildcam-gorongosa-facebook | 7 | React = require 'react'
Translate = require 'react-translate-component'
counterpart = require 'counterpart'
{Link} = require 'react-router'
ZooniverseLogo = require './zooniverse-logo'
{Markdown} = require 'markdownz'
LoadingIndicator = require '../components/loading-indicator'
FooterLogo = require './footer-logo'
Pro... | 223073 | React = require 'react'
Translate = require 'react-translate-component'
counterpart = require 'counterpart'
{Link} = require 'react-router'
ZooniverseLogo = require './zooniverse-logo'
{Markdown} = require 'markdownz'
LoadingIndicator = require '../components/loading-indicator'
FooterLogo = require './footer-logo'
Pro... | true | React = require 'react'
Translate = require 'react-translate-component'
counterpart = require 'counterpart'
{Link} = require 'react-router'
ZooniverseLogo = require './zooniverse-logo'
{Markdown} = require 'markdownz'
LoadingIndicator = require '../components/loading-indicator'
FooterLogo = require './footer-logo'
Pro... |
[
{
"context": " @collection 'units'\n\n # Populating database.\n zeratul = Unit.create name: 'Zeratul', race: 'Pro",
"end": 505,
"score": 0.9181443452835083,
"start": 504,
"tag": "NAME",
"value": "z"
},
{
"context": "ulating database.\n zeratul = Unit.create name: 'Zeratul', ... | examples/queries.coffee | wanbok/mongo-model | 1 | # Using Queries, Cursor and Scopes with [Model](model.html)
#
# In this example we'll see standard MongoDB Queries, Cursor and Scopes.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to default ... | 160524 | # Using Queries, Cursor and Scopes with [Model](model.html)
#
# In this example we'll see standard MongoDB Queries, Cursor and Scopes.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to default ... | true | # Using Queries, Cursor and Scopes with [Model](model.html)
#
# In this example we'll see standard MongoDB Queries, Cursor and Scopes.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to default ... |
[
{
"context": "d\": 1,\n \"gender\": \"Female\",\n \"first_name\": \"Andrea\",\n \"last_name\": \"Larson\",\n \"email\": \"alarso",
"end": 90,
"score": 0.9996952414512634,
"start": 84,
"tag": "NAME",
"value": "Andrea"
},
{
"context": "e\",\n \"first_name\": \"Andrea\",\... | Santa Maria/ui/coffee/time_benchmark_data.coffee | coshx/santa-maria | 1 | window.DICTIONARIES = [
{
"id": 1,
"gender": "Female",
"first_name": "Andrea",
"last_name": "Larson",
"email": "alarson0@house.gov",
"ip_address": "214.156.90.56"
},
{
"id": 2,
"gender": "Female",
"first_name": "Cynthia",
"last_name": "Franklin",
"email": "cfranklin1@ar... | 216440 | window.DICTIONARIES = [
{
"id": 1,
"gender": "Female",
"first_name": "<NAME>",
"last_name": "<NAME>",
"email": "<EMAIL>",
"ip_address": "172.16.58.3"
},
{
"id": 2,
"gender": "Female",
"first_name": "<NAME>",
"last_name": "<NAME>",
"email": "<EMAIL>",
"ip_address": "... | true | window.DICTIONARIES = [
{
"id": 1,
"gender": "Female",
"first_name": "PI:NAME:<NAME>END_PI",
"last_name": "PI:NAME:<NAME>END_PI",
"email": "PI:EMAIL:<EMAIL>END_PI",
"ip_address": "PI:IP_ADDRESS:172.16.58.3END_PI"
},
{
"id": 2,
"gender": "Female",
"first_name": "PI:NAME:<NAME>EN... |
[
{
"context": "Done = false\n svc = new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret', maxRetries: 0)\n ",
"end": 5228,
"score": 0.9361863136291504,
"start": 5224,
"tag": "KEY",
"value": "akid"
},
{
"context": "new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret'... | test/browser.spec.coffee | ashharrison90/ibm-cos-sdk-js | 0 | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
uniqueName = (prefix) ->
if prefix
prefix + '-' + AWS.util.date.getDate().getTime()
else
AWS.util.date.getDate().getTime().toString()
eventually = (condition, next, done) ->
options = delay: 0, backoff... | 66198 | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
uniqueName = (prefix) ->
if prefix
prefix + '-' + AWS.util.date.getDate().getTime()
else
AWS.util.date.getDate().getTime().toString()
eventually = (condition, next, done) ->
options = delay: 0, backoff... | true | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
uniqueName = (prefix) ->
if prefix
prefix + '-' + AWS.util.date.getDate().getTime()
else
AWS.util.date.getDate().getTime().toString()
eventually = (condition, next, done) ->
options = delay: 0, backoff... |
[
{
"context": "a basic model\", (test) ->\n Recipe.create {name: 'Apple Pie'}\n recipe = Recipe.first {name: 'Apple Pie'}\n t",
"end": 84,
"score": 0.9534289240837097,
"start": 75,
"tag": "NAME",
"value": "Apple Pie"
},
{
"context": "ame: 'Apple Pie'}\n recipe = Recipe.first {name... | tests/model_tests.coffee | tianfranco/uno | 50 | Tinytest.add "can create a basic model", (test) ->
Recipe.create {name: 'Apple Pie'}
recipe = Recipe.first {name: 'Apple Pie'}
test.equal recipe.name, 'Apple Pie'
Tinytest.add "can have embedded models", (test) ->
Recipe.create {name: 'Chicken Parmesan', ingredients: [{name: 'chicken'}, {name: 'parmesan'}]}
... | 94878 | Tinytest.add "can create a basic model", (test) ->
Recipe.create {name: '<NAME>'}
recipe = Recipe.first {name: '<NAME>'}
test.equal recipe.name, '<NAME>'
Tinytest.add "can have embedded models", (test) ->
Recipe.create {name: '<NAME>', ingredients: [{name: 'chicken'}, {name: 'parmesan'}]}
recipe = Recipe.fir... | true | Tinytest.add "can create a basic model", (test) ->
Recipe.create {name: 'PI:NAME:<NAME>END_PI'}
recipe = Recipe.first {name: 'PI:NAME:<NAME>END_PI'}
test.equal recipe.name, 'PI:NAME:<NAME>END_PI'
Tinytest.add "can have embedded models", (test) ->
Recipe.create {name: 'PI:NAME:<NAME>END_PI', ingredients: [{name... |
[
{
"context": "packages = [\n {\n name: 'Twitter Bootstrap'\n version: '3.0.0'\n desc: 'Sleek, intuitive",
"end": 45,
"score": 0.9226251840591431,
"start": 28,
"tag": "NAME",
"value": "Twitter Bootstrap"
},
{
"context": "ipt in the browser.'\n url: 'https://github.com/emb... | express/routes/index.coffee | denya133/neemb | 0 | packages = [
{
name: 'Twitter Bootstrap'
version: '3.0.0'
desc: 'Sleek, intuitive, and powerful front-end framework for faster and
easier web development. A 12-column responsive grid, dozens of
components, JavaScript plugins, typography, form controls, and even a
web-based Customizer to mak... | 141437 | packages = [
{
name: '<NAME>'
version: '3.0.0'
desc: 'Sleek, intuitive, and powerful front-end framework for faster and
easier web development. A 12-column responsive grid, dozens of
components, JavaScript plugins, typography, form controls, and even a
web-based Customizer to make Bootstrap... | true | packages = [
{
name: 'PI:NAME:<NAME>END_PI'
version: '3.0.0'
desc: 'Sleek, intuitive, and powerful front-end framework for faster and
easier web development. A 12-column responsive grid, dozens of
components, JavaScript plugins, typography, form controls, and even a
web-based Customizer to ... |
[
{
"context": "\nScaffolded with generator-microjs v0.1.2\n\n@author Daniel Lamb <dlamb.open.source@gmail.com>\n###\n\ndescribe 'perf",
"end": 120,
"score": 0.9998509287834167,
"start": 109,
"tag": "NAME",
"value": "Daniel Lamb"
},
{
"context": "th generator-microjs v0.1.2\n\n@author ... | test/spec/perfnow.spec.coffee | daniellmb/perfnow.js | 41 | ###
@file
## Responsibilities
- unit test perfnow.coffee
Scaffolded with generator-microjs v0.1.2
@author Daniel Lamb <dlamb.open.source@gmail.com>
###
describe 'perfnow.coffee', ->
beforeEach ->
# add spies
it 'should have a working test harness', ->
# arrange
# act
# assert
expect(true).n... | 169747 | ###
@file
## Responsibilities
- unit test perfnow.coffee
Scaffolded with generator-microjs v0.1.2
@author <NAME> <<EMAIL>>
###
describe 'perfnow.coffee', ->
beforeEach ->
# add spies
it 'should have a working test harness', ->
# arrange
# act
# assert
expect(true).not.toBe false
it 'shou... | true | ###
@file
## Responsibilities
- unit test perfnow.coffee
Scaffolded with generator-microjs v0.1.2
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
describe 'perfnow.coffee', ->
beforeEach ->
# add spies
it 'should have a working test harness', ->
# arrange
# act
# assert
expect(tru... |
[
{
"context": "leoverview Tests for no-unknown-property\n# @author Yannick Croissant\n###\n\n'use strict'\n\n# ----------------------------",
"end": 78,
"score": 0.9998552203178406,
"start": 61,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/no-unknown-property.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-unknown-property
# @author Yannick Croissant
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/... | 183494 | ###*
# @fileoverview Tests for no-unknown-property
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-unknown-... | true | ###*
# @fileoverview Tests for no-unknown-property
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rul... |
[
{
"context": "class SponsorsView\n el: \"#add-sponsor\"\n email: \"growth@growthglasgow.com\"\n\n constructor: ->\n $(@el).click => @onClick(",
"end": 96,
"score": 0.9999136328697205,
"start": 72,
"tag": "EMAIL",
"value": "growth@growthglasgow.com"
}
] | src/js/views/sponsors.coffee | dunckr/growthglasgow | 0 | $ = require "jquery"
class SponsorsView
el: "#add-sponsor"
email: "growth@growthglasgow.com"
constructor: ->
$(@el).click => @onClick()
onClick: ->
window.location.href = "mailto:#{@email}"
module.exports = SponsorsView
| 210991 | $ = require "jquery"
class SponsorsView
el: "#add-sponsor"
email: "<EMAIL>"
constructor: ->
$(@el).click => @onClick()
onClick: ->
window.location.href = "mailto:#{@email}"
module.exports = SponsorsView
| true | $ = require "jquery"
class SponsorsView
el: "#add-sponsor"
email: "PI:EMAIL:<EMAIL>END_PI"
constructor: ->
$(@el).click => @onClick()
onClick: ->
window.location.href = "mailto:#{@email}"
module.exports = SponsorsView
|
[
{
"context": "[4]: http:\n # [5]: //\n # [6]: jblas:password@mycompany.com:8080\n # [7]: jblas:password\n # [8]:",
"end": 1088,
"score": 0.9338909983634949,
"start": 1066,
"tag": "EMAIL",
"value": "password@mycompany.com"
}
] | src/umobi.navigation.coffee | c9s/umobi | 2 | # define ['cs!umobi.core','cs!umobi.page'], ()->
(->
umobi.handleHashChange = (e) -> umobi.page.revealByHash(location.hash)
$(window).on 'hashchange', (e) -> umobi.handleHashChange(e)
class window.umobi.Navigator
# url path helpers for use in relative url management
# This scary looking regular expres... | 226150 | # define ['cs!umobi.core','cs!umobi.page'], ()->
(->
umobi.handleHashChange = (e) -> umobi.page.revealByHash(location.hash)
$(window).on 'hashchange', (e) -> umobi.handleHashChange(e)
class window.umobi.Navigator
# url path helpers for use in relative url management
# This scary looking regular expres... | true | # define ['cs!umobi.core','cs!umobi.page'], ()->
(->
umobi.handleHashChange = (e) -> umobi.page.revealByHash(location.hash)
$(window).on 'hashchange', (e) -> umobi.handleHashChange(e)
class window.umobi.Navigator
# url path helpers for use in relative url management
# This scary looking regular expres... |
[
{
"context": "I dedicate all this code, all my work, to my wife, Darlene, who will\n * have to support me and our three ch",
"end": 985,
"score": 0.9990512132644653,
"start": 978,
"tag": "NAME",
"value": "Darlene"
},
{
"context": "t way to deal with this, but today is my last day, R... | data/random-comments.cson | elishaterada/insert-random-comments | 0 | # Source http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
[
'''/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kin... | 33810 | # Source http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
[
'''/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kin... | true | # Source http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered
[
'''/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kin... |
[
{
"context": "#!/usr/bin/env coffee\n\nusername = 'name'\n\nhost = 'localhost'\nport = '3000'\npass = '5555'\n",
"end": 39,
"score": 0.9994120597839355,
"start": 35,
"tag": "USERNAME",
"value": "name"
},
{
"context": " 'name'\n\nhost = 'localhost'\nport = '3000'\npass = '5555'\n\nsh ... | coffee/fucking.coffee | TheMegaGaming/hacker-scripts | 1 | #!/usr/bin/env coffee
username = 'name'
host = 'localhost'
port = '3000'
pass = '5555'
sh = require('child_process').execSync
# weekend
process.exit 0 if new Date().getDay() in [6, 0]
# no sessions
process.exit 0 unless new RegExp(username).test sh('who -q').toString()
conn = require('net').createConnection(port,... | 156292 | #!/usr/bin/env coffee
username = 'name'
host = 'localhost'
port = '3000'
pass = '<PASSWORD>'
sh = require('child_process').execSync
# weekend
process.exit 0 if new Date().getDay() in [6, 0]
# no sessions
process.exit 0 unless new RegExp(username).test sh('who -q').toString()
conn = require('net').createConnection... | true | #!/usr/bin/env coffee
username = 'name'
host = 'localhost'
port = '3000'
pass = 'PI:PASSWORD:<PASSWORD>END_PI'
sh = require('child_process').execSync
# weekend
process.exit 0 if new Date().getDay() in [6, 0]
# no sessions
process.exit 0 unless new RegExp(username).test sh('who -q').toString()
conn = require('net'... |
[
{
"context": "uests\n guests.push\n key: random.randomString()\n status: 'INVITATION-NOT-SENT'\n ",
"end": 4557,
"score": 0.9522280693054199,
"start": 4538,
"tag": "KEY",
"value": "random.randomString"
}
] | client/app/views/event_modal.coffee | jacquarg/cozy-calendar | 0 | ViewCollection = require 'lib/view_collection'
ReminderView = require 'views/event_modal_reminder'
RRuleFormView = require 'views/event_modal_rrule'
TagsView = require 'views/tags'
ComboBox = require 'views/widgets/combobox'
Event = require 'models/event'
random = require 'lib/random'
ap... | 71109 | ViewCollection = require 'lib/view_collection'
ReminderView = require 'views/event_modal_reminder'
RRuleFormView = require 'views/event_modal_rrule'
TagsView = require 'views/tags'
ComboBox = require 'views/widgets/combobox'
Event = require 'models/event'
random = require 'lib/random'
ap... | true | ViewCollection = require 'lib/view_collection'
ReminderView = require 'views/event_modal_reminder'
RRuleFormView = require 'views/event_modal_rrule'
TagsView = require 'views/tags'
ComboBox = require 'views/widgets/combobox'
Event = require 'models/event'
random = require 'lib/random'
ap... |
[
{
"context": "l')\n\n game.settleUp()\n\n expect(-> game.bet('romer', '5')).toThrow \"No new bets.\"\n game.sendComma",
"end": 1782,
"score": 0.9776272773742676,
"start": 1777,
"tag": "NAME",
"value": "romer"
},
{
"context": ".sendCommand('glv', 'call')\n game.sendCommand... | spec/token-poker/reverse-hold-em-spec.coffee | robksawyer/hubot-poker | 1 | ReverseHoldEm = require('../../js/token-poker/reverse-hold-em')
Fakes = require('./../poker/fake-time')
Rounds = require('../../js/poker/round')
Player = require('../../js/poker/player')
describe 'ReverseHoldEm', ->
store = game = null
builder = time = round = null
beforeEach ->
store = {}
builder = new... | 202511 | ReverseHoldEm = require('../../js/token-poker/reverse-hold-em')
Fakes = require('./../poker/fake-time')
Rounds = require('../../js/poker/round')
Player = require('../../js/poker/player')
describe 'ReverseHoldEm', ->
store = game = null
builder = time = round = null
beforeEach ->
store = {}
builder = new... | true | ReverseHoldEm = require('../../js/token-poker/reverse-hold-em')
Fakes = require('./../poker/fake-time')
Rounds = require('../../js/poker/round')
Player = require('../../js/poker/player')
describe 'ReverseHoldEm', ->
store = game = null
builder = time = round = null
beforeEach ->
store = {}
builder = new... |
[
{
"context": "le: 'test'\n inspired: no\n users: [\n {email: 'house@gmail.com', name: 'house'}\n {email: 'cuddy@gmail.com', n",
"end": 157,
"score": 0.9999200105667114,
"start": 142,
"tag": "EMAIL",
"value": "house@gmail.com"
},
{
"context": "\n users: [\n {email: 'house@... | node_modules/ethercalc/node_modules/zappajs/node_modules/coffeecup/optimized_bench.coffee | kurakuradave/Etherboard | 21 | #!/usr/bin/env coffee
coffeecup = require './src/coffeecup'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'house@gmail.com', name: 'house'}
{email: 'cuddy@gmail.com', name: 'cuddy'}
{email: 'wilson@gmail.com', name: 'wilson'}
]
coffeecup_template = ->
doctype 5
html lan... | 37656 | #!/usr/bin/env coffee
coffeecup = require './src/coffeecup'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: '<EMAIL>', name: 'house'}
{email: '<EMAIL>', name: '<NAME>'}
{email: '<EMAIL>', name: '<NAME>'}
]
coffeecup_template = ->
doctype 5
html lang: 'en', ->
head ->
... | true | #!/usr/bin/env coffee
coffeecup = require './src/coffeecup'
log = console.log
data =
title: 'test'
inspired: no
users: [
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'house'}
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'PI:NAME:<NAME>END_PI'}
{email: 'PI:EMAIL:<EMAIL>END_PI', name: 'PI:NAME:<NAME>END_PI'}
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994487166404724,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | deps/npm/node_modules/sha/node_modules/readable-stream/node_modules/core-util-is/util.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... | 223249 | # 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": "?:\\[(?:\\d*|[a-zA-Z0-9_]+)\\])*$/,\n key : /[a-zA-Z0-9_]+|(?=\\[\\])/g,\n push : /^$/,\n fixed : /^\\d+$/,\n ",
"end": 565,
"score": 0.9945528507232666,
"start": 542,
"tag": "KEY",
"value": "a-zA-Z0-9_]+|(?=\\[\\])/g"
}
] | app/assets/javascripts/prolearning.js.coffee | LAS-IT/open_observations | 0 | ready = ->
$('.chzn').chosen
allow_single_deselect: true
no_results_text: 'No results matched'
width: '450px'
setTimeout ->
$('.flash').fadeOut()
, 2000
$(document).ready ready
$(document).on('page:load', ready)
Number.prototype.pad = (size) ->
s = String(@);
if typeof(size) != "number"
... | 133712 | ready = ->
$('.chzn').chosen
allow_single_deselect: true
no_results_text: 'No results matched'
width: '450px'
setTimeout ->
$('.flash').fadeOut()
, 2000
$(document).ready ready
$(document).on('page:load', ready)
Number.prototype.pad = (size) ->
s = String(@);
if typeof(size) != "number"
... | true | ready = ->
$('.chzn').chosen
allow_single_deselect: true
no_results_text: 'No results matched'
width: '450px'
setTimeout ->
$('.flash').fadeOut()
, 2000
$(document).ready ready
$(document).on('page:load', ready)
Number.prototype.pad = (size) ->
s = String(@);
if typeof(size) != "number"
... |
[
{
"context": "one) ->\n main.bind()\n deps.page.password = \"foo\"\n deps.page.connectClicked()\n assert.equal ",
"end": 1091,
"score": 0.9986138343811035,
"start": 1088,
"tag": "PASSWORD",
"value": "foo"
},
{
"context": "d()\n assert.equal deps.sumWebSocket.password, ... | test/assets/ControllerSpec.coffee | pahomovda/scissis-prototype1 | 1 | mocks = require("./Mocks")
# Setup Squire to mock the page and colorService
runTest = (test) ->
(done) ->
injector = new Squire()
page = new mocks.MockPage()
webSocket = new mocks.MockSumWebSocketFactory()
injector.mock("page", page)
injector.mock("sumWebSocket", webSocket.MockSumWebSocket)
... | 85249 | mocks = require("./Mocks")
# Setup Squire to mock the page and colorService
runTest = (test) ->
(done) ->
injector = new Squire()
page = new mocks.MockPage()
webSocket = new mocks.MockSumWebSocketFactory()
injector.mock("page", page)
injector.mock("sumWebSocket", webSocket.MockSumWebSocket)
... | true | mocks = require("./Mocks")
# Setup Squire to mock the page and colorService
runTest = (test) ->
(done) ->
injector = new Squire()
page = new mocks.MockPage()
webSocket = new mocks.MockSumWebSocketFactory()
injector.mock("page", page)
injector.mock("sumWebSocket", webSocket.MockSumWebSocket)
... |
[
{
"context": "\n obj.position.y -= 1.06 if key isnt 'nubble' \n objects.rods.push myrod\n stateMan",
"end": 4823,
"score": 0.8803114891052246,
"start": 4818,
"tag": "KEY",
"value": "ubble"
}
] | src/index.coffee | ndxbxrme/earthbar-viz | 0 | module.exports = (container) ->
THREE = window.THREE = require 'three'
OrbitControls = require 'three-orbitcontrols'
GLTFLoader = require './gltfloader'
Reflector = require './reflector'
AnimationManager = require './animation-manager'
easing = require './easing'
camera = null
cubeCamera = null
scene ... | 84805 | module.exports = (container) ->
THREE = window.THREE = require 'three'
OrbitControls = require 'three-orbitcontrols'
GLTFLoader = require './gltfloader'
Reflector = require './reflector'
AnimationManager = require './animation-manager'
easing = require './easing'
camera = null
cubeCamera = null
scene ... | true | module.exports = (container) ->
THREE = window.THREE = require 'three'
OrbitControls = require 'three-orbitcontrols'
GLTFLoader = require './gltfloader'
Reflector = require './reflector'
AnimationManager = require './animation-manager'
easing = require './easing'
camera = null
cubeCamera = null
scene ... |
[
{
"context": " Css/JS Loader using the border of the screen\n# By David Ronai / Makio64 / makiopolis.com\n#\n\nStage = require \"ma",
"end": 82,
"score": 0.9997837543487549,
"start": 71,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": " using the border of the screen\n# By Davi... | src/coffee/makio/ui/BorderLoader.coffee | Makio64/pizzaparty_vj | 1 | #
# BorderLoader
#
# Css/JS Loader using the border of the screen
# By David Ronai / Makio64 / makiopolis.com
#
Stage = require "makio/core/Stage"
class BorderLoader
constructor:()->
@top = @createDiv('topBorder')
@bottom = @createDiv('bottomBorder')
@right = @createDiv('rightBorder')
@left = @createDiv('le... | 75319 | #
# BorderLoader
#
# Css/JS Loader using the border of the screen
# By <NAME> / Makio64 / makiopolis.com
#
Stage = require "makio/core/Stage"
class BorderLoader
constructor:()->
@top = @createDiv('topBorder')
@bottom = @createDiv('bottomBorder')
@right = @createDiv('rightBorder')
@left = @createDiv('leftBor... | true | #
# BorderLoader
#
# Css/JS Loader using the border of the screen
# By PI:NAME:<NAME>END_PI / Makio64 / makiopolis.com
#
Stage = require "makio/core/Stage"
class BorderLoader
constructor:()->
@top = @createDiv('topBorder')
@bottom = @createDiv('bottomBorder')
@right = @createDiv('rightBorder')
@left = @crea... |
[
{
"context": "created by ' +\n '<a href=\"https://github.com/tjumyk\" target=\"_blank\">Kelvin Miao</a>.<br>' +\n 'C",
"end": 422,
"score": 0.9994964599609375,
"start": 416,
"tag": "USERNAME",
"value": "tjumyk"
},
{
"context": " href=\"https://github.com/tjumyk\" target=\"_... | neteasy/static/js/app.coffee | tjumyk/neteasy | 4 | angular.module 'app', ['ngSanitize']
.controller 'RootController', ['$scope', '$sce', '$http', '$interval', 'util', ($scope, $sce, $http, $interval, util)->
$scan_progress_bar = $('#scan_progress_bar')
$scan_progress_bar.progress()
$scope.app =
name: 'NetEasy Music Player'
title: 'NetEasy'
copyrigh... | 52201 | angular.module 'app', ['ngSanitize']
.controller 'RootController', ['$scope', '$sce', '$http', '$interval', 'util', ($scope, $sce, $http, $interval, util)->
$scan_progress_bar = $('#scan_progress_bar')
$scan_progress_bar.progress()
$scope.app =
name: 'NetEasy Music Player'
title: 'NetEasy'
copyrigh... | true | angular.module 'app', ['ngSanitize']
.controller 'RootController', ['$scope', '$sce', '$http', '$interval', 'util', ($scope, $sce, $http, $interval, util)->
$scan_progress_bar = $('#scan_progress_bar')
$scan_progress_bar.progress()
$scope.app =
name: 'NetEasy Music Player'
title: 'NetEasy'
copyrigh... |
[
{
"context": "\n\t\tfor container in [\"header\", \"actions\"]\n\t\t\tkey = \"_#{container}\"\n\t\t\tif @[key]?.length\n\t\t\t\t@_makeInternalDom(contai",
"end": 835,
"score": 0.9752317667007446,
"start": 820,
"tag": "KEY",
"value": "\"_#{container}\""
}
] | test/src/widget/layout/dialog.coffee | AlexTong/grunt-dorado-build | 0 | class dorado.Dialog extends dorado.Layer
@CLASS_NAME: "dialog transition v-box hidden"
@ATTRIBUTES:
context: null
header:
setter: (value)->
@_setInternal(value, "header")
return @
content:
setter: (value)->
@_setInternal(value, "content")
return @
actions:
setter: (value)->
@_se... | 139555 | class dorado.Dialog extends dorado.Layer
@CLASS_NAME: "dialog transition v-box hidden"
@ATTRIBUTES:
context: null
header:
setter: (value)->
@_setInternal(value, "header")
return @
content:
setter: (value)->
@_setInternal(value, "content")
return @
actions:
setter: (value)->
@_se... | true | class dorado.Dialog extends dorado.Layer
@CLASS_NAME: "dialog transition v-box hidden"
@ATTRIBUTES:
context: null
header:
setter: (value)->
@_setInternal(value, "header")
return @
content:
setter: (value)->
@_setInternal(value, "content")
return @
actions:
setter: (value)->
@_se... |
[
{
"context": "ck_page'\n\n# Map::tilesId = 53589\n# Map::apiKey = '21a5504123984624a5e1a856fc00e238'\n\nnavigation = new Navigation\nnavigation.el.appen",
"end": 1066,
"score": 0.9997503757476807,
"start": 1034,
"tag": "KEY",
"value": "21a5504123984624a5e1a856fc00e238"
}
] | app/index.coffee | zooniverse/Serengeti | 8 | require 'lib/setup'
Navigation = require 'controllers/navigation'
$ = require 'jqueryify'
{Stack} = require 'spine/lib/manager'
Route = require 'spine/lib/route'
AboutPage = require 'controllers/about_page'
AuthorsPage = require 'controllers/authors_page'
HomePage = require 'controllers/home_page'
Classifier = require ... | 74888 | require 'lib/setup'
Navigation = require 'controllers/navigation'
$ = require 'jqueryify'
{Stack} = require 'spine/lib/manager'
Route = require 'spine/lib/route'
AboutPage = require 'controllers/about_page'
AuthorsPage = require 'controllers/authors_page'
HomePage = require 'controllers/home_page'
Classifier = require ... | true | require 'lib/setup'
Navigation = require 'controllers/navigation'
$ = require 'jqueryify'
{Stack} = require 'spine/lib/manager'
Route = require 'spine/lib/route'
AboutPage = require 'controllers/about_page'
AuthorsPage = require 'controllers/authors_page'
HomePage = require 'controllers/home_page'
Classifier = require ... |
[
{
"context": "#*\n* Detect Element Resize\n*\n* https://github.com/sdecima/javascript-detect-element-resize\n* Sebastian Deci",
"end": 479,
"score": 0.9992747902870178,
"start": 472,
"tag": "USERNAME",
"value": "sdecima"
},
{
"context": "hub.com/sdecima/javascript-detect-element-resi... | src/utils/resize-events/detect-element-resize.coffee | p-koscielniak/hexagonjs | 61 | # use http://js2.coffee/ to convert the js to coffee and replace
# do ->
# with:
# export default () ->
# replace window.addResizeListener with addResizeListener
# replace window.removeResizeListener with removeResizeListener
# change the retun value of the function to return an object {addResizeListener, removeResiz... | 107236 | # use http://js2.coffee/ to convert the js to coffee and replace
# do ->
# with:
# export default () ->
# replace window.addResizeListener with addResizeListener
# replace window.removeResizeListener with removeResizeListener
# change the retun value of the function to return an object {addResizeListener, removeResiz... | true | # use http://js2.coffee/ to convert the js to coffee and replace
# do ->
# with:
# export default () ->
# replace window.addResizeListener with addResizeListener
# replace window.removeResizeListener with removeResizeListener
# change the retun value of the function to return an object {addResizeListener, removeResiz... |
[
{
"context": " \"server_id\" : 'A',\n \"email_address\":\"bengotow@gmail.com\",\n \"object\":\"account\"\n \"organiz",
"end": 1011,
"score": 0.9999254941940308,
"start": 993,
"tag": "EMAIL",
"value": "bengotow@gmail.com"
},
{
"context": "tion_unit\": \"l... | packages/client-app/spec/stores/account-store-spec.coffee | cnheider/nylas-mail | 24,369 | _ = require 'underscore'
KeyManager = require('../../src/key-manager').default
NylasAPI = require('../../src/flux/nylas-api').default
NylasAPIRequest = require('../../src/flux/nylas-api-request').default
AccountStore = require('../../src/flux/stores/account-store').default
Account = require('../../src/flux/models/accou... | 38088 | _ = require 'underscore'
KeyManager = require('../../src/key-manager').default
NylasAPI = require('../../src/flux/nylas-api').default
NylasAPIRequest = require('../../src/flux/nylas-api-request').default
AccountStore = require('../../src/flux/stores/account-store').default
Account = require('../../src/flux/models/accou... | true | _ = require 'underscore'
KeyManager = require('../../src/key-manager').default
NylasAPI = require('../../src/flux/nylas-api').default
NylasAPIRequest = require('../../src/flux/nylas-api-request').default
AccountStore = require('../../src/flux/stores/account-store').default
Account = require('../../src/flux/models/accou... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 1062,
"score": 0.9978435039520264,
"start": 1055,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/logical/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and ... | 205897 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and ... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and ... |
[
{
"context": "tions: http://minijs.com/plugins/11/dropdown\n# By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @mattaussaguel\n",
"end": 125,
"score": 0.9999000430107117,
"start": 107,
"tag": "NAME",
"value": "Matthieu Aussaguel"
},
{
"context": "tthieu Aussaguel, http://www.... | js/miniDropdown.coffee | miniJs/miniDropdown | 1 | #
# miniDropdown, a dropdown plugin for jQuery
# Instructions: http://minijs.com/plugins/11/dropdown
# By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @mattaussaguel
# Version: v1.0 stable
# More info: http://minijs.com/
#
$ ->
$.miniDropdown = (element, options) ->
@defaults =
activeClass: 'act... | 195262 | #
# miniDropdown, a dropdown plugin for jQuery
# Instructions: http://minijs.com/plugins/11/dropdown
# By: <NAME>, http://www.mynameismatthieu.com, @mattaussaguel
# Version: v1.0 stable
# More info: http://minijs.com/
#
$ ->
$.miniDropdown = (element, options) ->
@defaults =
activeClass: 'active' # css c... | true | #
# miniDropdown, a dropdown plugin for jQuery
# Instructions: http://minijs.com/plugins/11/dropdown
# By: PI:NAME:<NAME>END_PI, http://www.mynameismatthieu.com, @mattaussaguel
# Version: v1.0 stable
# More info: http://minijs.com/
#
$ ->
$.miniDropdown = (element, options) ->
@defaults =
activeClass: 'a... |
[
{
"context": "ay Update Component script\n# -----\n# Copyright (c) Kiruse 2021. Licensed under MIT License\nimport WotDContr",
"end": 143,
"score": 0.9960977435112,
"start": 137,
"tag": "NAME",
"value": "Kiruse"
}
] | dapp/src/components/wotd-update.coffee | Kiruse/WotD.sol | 0 | ######################################################################
# Word of the Day Update Component script
# -----
# Copyright (c) Kiruse 2021. Licensed under MIT License
import WotDContract from './wotd.contract'
export default
inject: ['eth']
computed:
provContract: -> if this.eth.provider then new Wo... | 190924 | ######################################################################
# Word of the Day Update Component script
# -----
# Copyright (c) <NAME> 2021. Licensed under MIT License
import WotDContract from './wotd.contract'
export default
inject: ['eth']
computed:
provContract: -> if this.eth.provider then new Wo... | true | ######################################################################
# Word of the Day Update Component script
# -----
# Copyright (c) PI:NAME:<NAME>END_PI 2021. Licensed under MIT License
import WotDContract from './wotd.contract'
export default
inject: ['eth']
computed:
provContract: -> if this.eth.provid... |
[
{
"context": "le.\n#\n# Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details\n# abo",
"end": 483,
"score": 0.999684751033783,
"start": 472,
"tag": "USERNAME",
"value": "sstephenson"
},
{
"context": " || 30) - 1)\n params:\n ... | app/assets/javascripts/wall/application.js.coffee | madawei2699/magnet | 3 | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... | 52485 | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... | true | # This is a manifest file that'll be compiled into app.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's n... |
[
{
"context": "My Service}\n owners:\n - ${3:my-team@opentable.com}\n inherits:\n - ${4:base-v1}",
"end": 218,
"score": 0.9999275803565979,
"start": 197,
"tag": "EMAIL",
"value": "my-team@opentable.com"
}
] | snippets/otl.cson | adamzr/language-otl | 0 | '.source.otl':
'accesskey':
'prefix': 'otl'
'body':"""
otl:
name: ${1:my-service-v1}
description: ${2:My Service}
owners:
- ${3:my-team@opentable.com}
inherits:
- ${4:base-v1}
fields:
${5:field-name}:
... | 70887 | '.source.otl':
'accesskey':
'prefix': 'otl'
'body':"""
otl:
name: ${1:my-service-v1}
description: ${2:My Service}
owners:
- ${3:<EMAIL>}
inherits:
- ${4:base-v1}
fields:
${5:field-name}:
... | true | '.source.otl':
'accesskey':
'prefix': 'otl'
'body':"""
otl:
name: ${1:my-service-v1}
description: ${2:My Service}
owners:
- ${3:PI:EMAIL:<EMAIL>END_PI}
inherits:
- ${4:base-v1}
fields:
${5:field-name}:
... |
[
{
"context": "\"\n let kids = []\n {}\n name: \"Alpha\"\n age: 10\n {}\n name:",
"end": 1849,
"score": 0.9997902512550354,
"start": 1844,
"tag": "NAME",
"value": "Alpha"
},
{
"context": " age: 10\n {}\n na... | node_modules/ion/src/test/ionCompiler.coffee | IanGlass/Budgetty | 14 | ion = require '../'
index = require '../compiler'
tests =
"let x = 10": """
'use strict';
let x = 10;
"""
"""
for name, value of foo
console.log(name + value)
""": """
'use strict';
for (let name in foo) {
let value = foo[name];
console.log(name + value);
... | 205413 | ion = require '../'
index = require '../compiler'
tests =
"let x = 10": """
'use strict';
let x = 10;
"""
"""
for name, value of foo
console.log(name + value)
""": """
'use strict';
for (let name in foo) {
let value = foo[name];
console.log(name + value);
... | true | ion = require '../'
index = require '../compiler'
tests =
"let x = 10": """
'use strict';
let x = 10;
"""
"""
for name, value of foo
console.log(name + value)
""": """
'use strict';
for (let name in foo) {
let value = foo[name];
console.log(name + value);
... |
[
{
"context": "ib/main'\n\n\nexports.check_good = (T, cb) ->\n a = \"1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW\"\n [err,ret] = address.check a\n T.no_error err\n ",
"end": 113,
"score": 0.9680585265159607,
"start": 79,
"tag": "KEY",
"value": "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW"
},
{
"cont... | node_modules/bitcoyne/test/files/0_address_check.iced | AngelKey/Angelkey.nodeclient | 151 |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmW"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
cb()
exports.check_bad_address_1 = (T,cb) ->
b = "1PUr4cy6J7hi6GxQa2hX2iuXJkvZvCrKmi"
[err,ret] = address.check b
T.assert e... | 217039 |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "<KEY>"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
cb()
exports.check_bad_address_1 = (T,cb) ->
b = "<KEY>"
[err,ret] = address.check b
T.assert err?, "an error"
T.equal err.message, "Checksum mismatch"... | true |
{address} = require '../../lib/main'
exports.check_good = (T, cb) ->
a = "PI:KEY:<KEY>END_PI"
[err,ret] = address.check a
T.no_error err
T.equal ret.version, 0
cb()
exports.check_bad_address_1 = (T,cb) ->
b = "PI:KEY:<KEY>END_PI"
[err,ret] = address.check b
T.assert err?, "an error"
T.equal err.me... |
[
{
"context": "esult = null\n\n model =\n name: Observable \"Foobert\"\n click: ->\n result = @name()\n\n be",
"end": 193,
"score": 0.9997967481613159,
"start": 186,
"tag": "NAME",
"value": "Foobert"
},
{
"context": " click Q(\"button\")\n assert.equal r... | test/events.coffee | STRd6/hamlet-runtime | 1 | describe "Events", ->
it "click should be bound to the object context", ->
template = makeTemplate "%button(click=@click)"
result = null
model =
name: Observable "Foobert"
click: ->
result = @name()
behave template(model), ->
assert.equal result, null
click Q("butto... | 2119 | describe "Events", ->
it "click should be bound to the object context", ->
template = makeTemplate "%button(click=@click)"
result = null
model =
name: Observable "<NAME>"
click: ->
result = @name()
behave template(model), ->
assert.equal result, null
click Q("button... | true | describe "Events", ->
it "click should be bound to the object context", ->
template = makeTemplate "%button(click=@click)"
result = null
model =
name: Observable "PI:NAME:<NAME>END_PI"
click: ->
result = @name()
behave template(model), ->
assert.equal result, null
c... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998767971992493,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/DependencyInjection/ServiceInstance.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
Tools = use('@Konsserto/Component/Static/Tools')
#
# ServiceIns... | 79958 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
Tools = use('@Konsserto/Component/Static/Tools')
#
# ServiceInstance
#
# @author <N... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
Tools = use('@Konsserto/Component/Static/Tools')
#
# S... |
[
{
"context": "se .exact so that terms match on full terms e.g. \"Mark MacGillivray\" rather than partials\n\n Options that can be in",
"end": 15117,
"score": 0.9998554587364197,
"start": 15100,
"tag": "NAME",
"value": "Mark MacGillivray"
}
] | server/lib/collection.coffee | CottageLabs/jct_api | 1 |
import moment from 'moment'
import { Random } from 'meteor/random'
# there are a few direct debug console.log calls in here, depending on whether or not the collection is
# one with _log in the name or not, just to avoid endless log loops but still have useful output in debug mode for dev
API.collection = (opts, dev... | 145456 |
import moment from 'moment'
import { Random } from 'meteor/random'
# there are a few direct debug console.log calls in here, depending on whether or not the collection is
# one with _log in the name or not, just to avoid endless log loops but still have useful output in debug mode for dev
API.collection = (opts, dev... | true |
import moment from 'moment'
import { Random } from 'meteor/random'
# there are a few direct debug console.log calls in here, depending on whether or not the collection is
# one with _log in the name or not, just to avoid endless log loops but still have useful output in debug mode for dev
API.collection = (opts, dev... |
[
{
"context": ".\n# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/\n$ () ->\n if $('#total_",
"end": 202,
"score": 0.9871933460235596,
"start": 193,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "eScript in this file: http://jashkenas.gith... | app/assets/javascripts/admin/reports.js.coffee | zombiepaladin/scoreboard | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ () ->
if $('#total_task_completion_chart').length > 0
Morris.Line
element: 't... | 209975 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ () ->
if $('#total_task_completion_chart').length > 0
Morris.Line
element: 't... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ () ->
if $('#total_task_completion_chart').length > 0
Morris.Line
element: 't... |
[
{
"context": " {a: (num) -> num is 10 }.a 10\n\n\nmoe: {\n name: 'Moe'\n greet: (salutation) ->\n salutation + \" \" + ",
"end": 852,
"score": 0.9970531463623047,
"start": 849,
"tag": "NAME",
"value": "Moe"
},
{
"context": "\"Hello\"\n 10: 'number'\n}\n\nok moe.hello() is \"He... | test/test_literals.coffee | rpl/coffee-script | 1 | a: [((x) -> x), ((x) -> x * x)]
ok a.length is 2
regex: /match/i
words: "I think there is a match in here."
ok !!words.match(regex)
neg: (3 -4)
ok neg is -1
func: ->
return if true
ok func() is null
str: "\\"
reg: /\\/
ok reg(str) and str is '\\'
trailing_comma: [1, 2, 3,]
ok (trailing_comma[0] is 1) an... | 134658 | a: [((x) -> x), ((x) -> x * x)]
ok a.length is 2
regex: /match/i
words: "I think there is a match in here."
ok !!words.match(regex)
neg: (3 -4)
ok neg is -1
func: ->
return if true
ok func() is null
str: "\\"
reg: /\\/
ok reg(str) and str is '\\'
trailing_comma: [1, 2, 3,]
ok (trailing_comma[0] is 1) an... | true | a: [((x) -> x), ((x) -> x * x)]
ok a.length is 2
regex: /match/i
words: "I think there is a match in here."
ok !!words.match(regex)
neg: (3 -4)
ok neg is -1
func: ->
return if true
ok func() is null
str: "\\"
reg: /\\/
ok reg(str) and str is '\\'
trailing_comma: [1, 2, 3,]
ok (trailing_comma[0] is 1) an... |
[
{
"context": "ers/refresh-token'\n auth:\n username: @meshbluConfig.uuid\n password: @meshbluConfig.token\n json",
"end": 358,
"score": 0.7463192939758301,
"start": 340,
"tag": "USERNAME",
"value": "meshbluConfig.uuid"
},
{
"context": " username: @meshbluCon... | src/api-octoblu-service.coffee | octoblu/refresh-token-worker | 0 | request = require 'request'
debug = require('debug')('refresh-token-worker:api-octoblu-service')
class ApiOctobluService
constructor: ({@apiOctobluUri,@meshbluConfig}) ->
refreshToken: ({type, userUuid}, callback) =>
options =
baseUrl: @apiOctobluUri
uri: '/api/workers/refresh-token'
auth:... | 151402 | request = require 'request'
debug = require('debug')('refresh-token-worker:api-octoblu-service')
class ApiOctobluService
constructor: ({@apiOctobluUri,@meshbluConfig}) ->
refreshToken: ({type, userUuid}, callback) =>
options =
baseUrl: @apiOctobluUri
uri: '/api/workers/refresh-token'
auth:... | true | request = require 'request'
debug = require('debug')('refresh-token-worker:api-octoblu-service')
class ApiOctobluService
constructor: ({@apiOctobluUri,@meshbluConfig}) ->
refreshToken: ({type, userUuid}, callback) =>
options =
baseUrl: @apiOctobluUri
uri: '/api/workers/refresh-token'
auth:... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982733726501465,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-pipe.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... | 16148 | # 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": "/base/Spell\"\n\nclass Resume extends Spell\n name: \"résumé\"\n @element = Resume::element = Spell::Element.ph",
"end": 82,
"score": 0.9934771656990051,
"start": 76,
"tag": "NAME",
"value": "résumé"
},
{
"context": "rtist\n * @package Spells\n */`\n {name:... | src/character/spells/combat-skills/sandwichArtist/Resume.coffee | sadbear-/IdleLands | 0 |
Spell = require "../../../base/Spell"
class Resume extends Spell
name: "résumé"
@element = Resume::element = Spell::Element.physical
@tiers = Resume::tiers = [
`/**
* This skill attempts to give a resume to a target, assuming the caster has <=25% HP. Resumes can be accepted or rejected.
* The ou... | 100508 |
Spell = require "../../../base/Spell"
class Resume extends Spell
name: "<NAME>"
@element = Resume::element = Spell::Element.physical
@tiers = Resume::tiers = [
`/**
* This skill attempts to give a resume to a target, assuming the caster has <=25% HP. Resumes can be accepted or rejected.
* The ou... | true |
Spell = require "../../../base/Spell"
class Resume extends Spell
name: "PI:NAME:<NAME>END_PI"
@element = Resume::element = Spell::Element.physical
@tiers = Resume::tiers = [
`/**
* This skill attempts to give a resume to a target, assuming the caster has <=25% HP. Resumes can be accepted or rejected.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.