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": "keke.com')).toBeFalsy()\n\n it 'should succeed on \"keke@keke.com\"', () ->\n helper.link()\n expect(helper.vali",
"end": 563,
"score": 0.9997132420539856,
"start": 550,
"tag": "EMAIL",
"value": "keke@keke.com"
},
{
"context": " ->\n helper.link()\n expect(... | src/tests/validators/email.spec.coffee | SteefTheBeef/angular-validate | 0 | describe 'Email Test', () ->
helper = new ValidatorTestHelper()
helper.beforeEach('email')
it 'should fail on "keke"', () ->
helper.link()
expect(helper.validate('keke')).toBeFalsy()
it 'should fail on "keke@"', () ->
helper.link()
expect(helper.validate('keke@')).toBeFalsy()
it 'should fa... | 217792 | describe 'Email Test', () ->
helper = new ValidatorTestHelper()
helper.beforeEach('email')
it 'should fail on "keke"', () ->
helper.link()
expect(helper.validate('keke')).toBeFalsy()
it 'should fail on "keke@"', () ->
helper.link()
expect(helper.validate('keke@')).toBeFalsy()
it 'should fa... | true | describe 'Email Test', () ->
helper = new ValidatorTestHelper()
helper.beforeEach('email')
it 'should fail on "keke"', () ->
helper.link()
expect(helper.validate('keke')).toBeFalsy()
it 'should fail on "keke@"', () ->
helper.link()
expect(helper.validate('keke@')).toBeFalsy()
it 'should fa... |
[
{
"context": "(element) ->\n super\n @name = ko.observable('World')\n",
"end": 273,
"score": 0.7235448956489563,
"start": 268,
"tag": "NAME",
"value": "World"
}
] | client/components/home-page/index.coffee | ryansolid/component-ko-example | 0 | ko = require 'knockout'
Component = require 'component-register-ko'
module.exports = class HomePage extends Component
@tag: 'home-page', @template: require './template'
@styles: require './styles'
constructor: (element) ->
super
@name = ko.observable('World')
| 160375 | ko = require 'knockout'
Component = require 'component-register-ko'
module.exports = class HomePage extends Component
@tag: 'home-page', @template: require './template'
@styles: require './styles'
constructor: (element) ->
super
@name = ko.observable('<NAME>')
| true | ko = require 'knockout'
Component = require 'component-register-ko'
module.exports = class HomePage extends Component
@tag: 'home-page', @template: require './template'
@styles: require './styles'
constructor: (element) ->
super
@name = ko.observable('PI:NAME:<NAME>END_PI')
|
[
{
"context": "R = if LOCAL then \"http://localhost\" else \"http://50.116.7.184\"\n\nwindow.socket = socket = io.connect SERVER\n\nper",
"end": 67,
"score": 0.9825966954231262,
"start": 55,
"tag": "IP_ADDRESS",
"value": "50.116.7.184"
},
{
"context": ".latitude, lng: position.coords.... | src/client.coffee | feross/Fling | 13 | SERVER = if LOCAL then "http://localhost" else "http://50.116.7.184"
window.socket = socket = io.connect SERVER
percentOfHeight = (percent) -> $(window).height() * (percent / 100)
percentOfWidth = (percent) -> $(window).width() * (percent / 100)
playWhoosh = ->
$('body').append '<audio preload="auto" autoplay><sou... | 128505 | SERVER = if LOCAL then "http://localhost" else "http://192.168.127.12"
window.socket = socket = io.connect SERVER
percentOfHeight = (percent) -> $(window).height() * (percent / 100)
percentOfWidth = (percent) -> $(window).width() * (percent / 100)
playWhoosh = ->
$('body').append '<audio preload="auto" autoplay><s... | true | SERVER = if LOCAL then "http://localhost" else "http://PI:IP_ADDRESS:192.168.127.12END_PI"
window.socket = socket = io.connect SERVER
percentOfHeight = (percent) -> $(window).height() * (percent / 100)
percentOfWidth = (percent) -> $(window).width() * (percent / 100)
playWhoosh = ->
$('body').append '<audio preloa... |
[
{
"context": " autoassign : false\n key : \"is_proxy_rule\"\n id_touch_list\n ast\n ",
"end": 18601,
"score": 0.874885082244873,
"start": 18588,
"tag": "KEY",
"value": "is_proxy_rule"
},
{
"context": " for i in [0 ... last_id]\n ... | src/rule.coffee | hu2prod/gram2 | 0 | # BUG hash_to_pos для head/tail правил отсутствует
module = @
require 'fy/lib/codegen'
{Node} = require './node'
{explicit_list_generator} = require './explicit_list_generator'
# ###################################################################################################
# tokenizer
# #######################... | 26213 | # BUG hash_to_pos для head/tail правил отсутствует
module = @
require 'fy/lib/codegen'
{Node} = require './node'
{explicit_list_generator} = require './explicit_list_generator'
# ###################################################################################################
# tokenizer
# #######################... | true | # BUG hash_to_pos для head/tail правил отсутствует
module = @
require 'fy/lib/codegen'
{Node} = require './node'
{explicit_list_generator} = require './explicit_list_generator'
# ###################################################################################################
# tokenizer
# #######################... |
[
{
"context": "from version 0.0.1 of ck\n##\n## https://github.com/kaleb/ck\n## sha: 3b83bb352928a856f92f5fa4dd4a5bdf6aacb7",
"end": 235,
"score": 0.9081936478614807,
"start": 230,
"tag": "USERNAME",
"value": "kaleb"
},
{
"context": "6f92f5fa4dd4a5bdf6aacb7d1\n##\n## Copyright (c) 201... | modules/gui/tools/ck.coffee | nero-networks/floyd | 0 |
## coffeescript and fs -less ck clone for callback usage
## no files, no raw coffee.. but it runs in the browser
## and it compiles js functions into kup templates
##
## derrifed from version 0.0.1 of ck
##
## https://github.com/kaleb/ck
## sha: 3b83bb352928a856f92f5fa4dd4a5bdf6aacb7d1
##
## Copyright (c) 2011 James C... | 77182 |
## coffeescript and fs -less ck clone for callback usage
## no files, no raw coffee.. but it runs in the browser
## and it compiles js functions into kup templates
##
## derrifed from version 0.0.1 of ck
##
## https://github.com/kaleb/ck
## sha: 3b83bb352928a856f92f5fa4dd4a5bdf6aacb7d1
##
## Copyright (c) 2011 <NAME> ... | true |
## coffeescript and fs -less ck clone for callback usage
## no files, no raw coffee.. but it runs in the browser
## and it compiles js functions into kup templates
##
## derrifed from version 0.0.1 of ck
##
## https://github.com/kaleb/ck
## sha: 3b83bb352928a856f92f5fa4dd4a5bdf6aacb7d1
##
## Copyright (c) 2011 PI:NAME... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998569488525391,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
},
{
"context": "calns instanceof Namespace)\n\n key = localName\n ... | src/namespaces.coffee | vibejs/vibejs-namespaces | 0 | #
# Copyright 2014 Carsten Klein
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 65283 | #
# Copyright 2014 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | true | #
# Copyright 2014 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
[
{
"context": "API Blueprint fixtures as well)\n sensitiveKey = 'token'\n sensitiveHeaderName = 'authorization'\n sensit",
"end": 340,
"score": 0.6263347268104553,
"start": 335,
"tag": "KEY",
"value": "token"
},
{
"context": "eHeaderName = 'authorization'\n sensitiveValue = '5229c... | test/integration/sanitation-test.coffee | DMG-Cloud-Services/dmg-dredd | 1 | {assert} = require('chai')
clone = require('clone')
{EventEmitter} = require('events')
{runDredd, createServer, runDreddWithServer} = require('./helpers')
Dredd = require('../../src/dredd')
describe('Sanitation of Reported Data', ->
# sample sensitive data (this value is used in API Blueprint fixtures as well)
s... | 93149 | {assert} = require('chai')
clone = require('clone')
{EventEmitter} = require('events')
{runDredd, createServer, runDreddWithServer} = require('./helpers')
Dredd = require('../../src/dredd')
describe('Sanitation of Reported Data', ->
# sample sensitive data (this value is used in API Blueprint fixtures as well)
s... | true | {assert} = require('chai')
clone = require('clone')
{EventEmitter} = require('events')
{runDredd, createServer, runDreddWithServer} = require('./helpers')
Dredd = require('../../src/dredd')
describe('Sanitation of Reported Data', ->
# sample sensitive data (this value is used in API Blueprint fixtures as well)
s... |
[
{
"context": "nt#on` method overload\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nfor Unit in [Element, Document, Window]\n do (U",
"end": 96,
"score": 0.9998923540115356,
"start": 79,
"tag": "NAME",
"value": "Nikolay Nemshilov"
},
{
"context": "e.indexOf(',') is -1\n ... | ui/core/src/element.coffee | lovely-io/lovely.io-stl | 2 | #
# The 'dom' package `Element#on` method overload
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
for Unit in [Element, Document, Window]
do (Unit)->
original_method = Unit::on
Unit::on = (name)->
args = A(arguments)
name = args[0]
if typeof(name) is 'string'
if name.indexOf(',') ... | 164102 | #
# The 'dom' package `Element#on` method overload
#
# Copyright (C) 2011-2012 <NAME>
#
for Unit in [Element, Document, Window]
do (Unit)->
original_method = Unit::on
Unit::on = (name)->
args = A(arguments)
name = args[0]
if typeof(name) is 'string'
if name.indexOf(',') is -1
... | true | #
# The 'dom' package `Element#on` method overload
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
for Unit in [Element, Document, Window]
do (Unit)->
original_method = Unit::on
Unit::on = (name)->
args = A(arguments)
name = args[0]
if typeof(name) is 'string'
if name.indexOf(',... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992449879646301,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-read-sync-stack.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... | 159939 | # 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": "ices.SessionStorage() \n @data =\n username: username \n password: password\n\n $.ajax @loginUrl,\n",
"end": 222,
"score": 0.9986990094184875,
"start": 214,
"tag": "USERNAME",
"value": "username"
},
{
"context": " @data =\n username: username \n ... | app/assets/javascripts/models/user.coffee | okapusta/skirace | 0 | class Skirace.Models.User extends Backbone.Model
loginUrl: '/login'
urlRoot: '/users'
login: (username, password) ->
session_storage = new Skirace.Services.SessionStorage()
@data =
username: username
password: password
$.ajax @loginUrl,
type: 'POST',
dataType: 'json'
... | 112153 | class Skirace.Models.User extends Backbone.Model
loginUrl: '/login'
urlRoot: '/users'
login: (username, password) ->
session_storage = new Skirace.Services.SessionStorage()
@data =
username: username
password: <PASSWORD>
$.ajax @loginUrl,
type: 'POST',
dataType: 'json'
... | true | class Skirace.Models.User extends Backbone.Model
loginUrl: '/login'
urlRoot: '/users'
login: (username, password) ->
session_storage = new Skirace.Services.SessionStorage()
@data =
username: username
password: PI:PASSWORD:<PASSWORD>END_PI
$.ajax @loginUrl,
type: 'POST',
da... |
[
{
"context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998387098312378,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/Graph.coffee | ensonic/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# NoFlo graphs are Event Emitters, providing signals when the graph
# definition changes.
#
{EventEmitter} = require 'ev... | 39734 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# NoFlo graphs are Event Emitters, providing signals when the graph
# definition changes.
#
{EventEmitter} = require 'events'
... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# NoFlo graphs are Event Emitters, providing signals when the graph
# definition changes.
#
{EventE... |
[
{
"context": " ret\n\n pushFileCaching: (file, f) ->\n key = JSON.stringify {pushFileCaching: @userPath(file)}\n ",
"end": 14599,
"score": 0.5892186164855957,
"start": 14595,
"tag": "KEY",
"value": "JSON"
},
{
"context": "t\n\n pushFileCaching: (file, f) ->\n key = JSON... | root/usr/src/template-package/lib/cfn-transformer.coffee | showmethemodel/cfn-tool | 0 | yaml = require 'js-yaml'
fs = require 'fs'
os = require 'os'
path = require 'path'
assert = require 'assert'
crypto = require 'crypto'
{spawnSync} = require 'child_process'
YamlTransformer = require './yaml-transformer'
{ResourceTypes} = require './s... | 63106 | yaml = require 'js-yaml'
fs = require 'fs'
os = require 'os'
path = require 'path'
assert = require 'assert'
crypto = require 'crypto'
{spawnSync} = require 'child_process'
YamlTransformer = require './yaml-transformer'
{ResourceTypes} = require './s... | true | yaml = require 'js-yaml'
fs = require 'fs'
os = require 'os'
path = require 'path'
assert = require 'assert'
crypto = require 'crypto'
{spawnSync} = require 'child_process'
YamlTransformer = require './yaml-transformer'
{ResourceTypes} = require './s... |
[
{
"context": "g = P \"00000000000000000000000000000000\"\nkey = P \"00000000000000000000000000000000\"\n\ntf = CryptoJS.algo.TwoFish.create 0, key, {}\nco",
"end": 198,
"score": 0.9991270899772644,
"start": 166,
"tag": "KEY",
"value": "00000000000000000000000000000000"
}
] | dev/twofish.iced | CyberFlameGO/triplesec | 274 |
{CryptoJS} = require 'cryptojs-2fish'
{TwoFish} = require '../lib/twofish'
P = (x) -> CryptoJS.enc.Hex.parse x
msg = P "00000000000000000000000000000000"
key = P "00000000000000000000000000000000"
tf = CryptoJS.algo.TwoFish.create 0, key, {}
console.log msg
tf.encryptBlock msg.words, 0
console.log msg
console.log m... | 74640 |
{CryptoJS} = require 'cryptojs-2fish'
{TwoFish} = require '../lib/twofish'
P = (x) -> CryptoJS.enc.Hex.parse x
msg = P "00000000000000000000000000000000"
key = P "<KEY>"
tf = CryptoJS.algo.TwoFish.create 0, key, {}
console.log msg
tf.encryptBlock msg.words, 0
console.log msg
console.log msg.toString()
tf.decryptBlo... | true |
{CryptoJS} = require 'cryptojs-2fish'
{TwoFish} = require '../lib/twofish'
P = (x) -> CryptoJS.enc.Hex.parse x
msg = P "00000000000000000000000000000000"
key = P "PI:KEY:<KEY>END_PI"
tf = CryptoJS.algo.TwoFish.create 0, key, {}
console.log msg
tf.encryptBlock msg.words, 0
console.log msg
console.log msg.toString()
... |
[
{
"context": "Tinysou = require 'tinysou'\n\nTOKEN = 'YOUR_TOKEN'\n\nengine = {\n name: 'YOUR-blog',\n display_name:",
"end": 48,
"score": 0.8931726813316345,
"start": 38,
"tag": "KEY",
"value": "YOUR_TOKEN"
},
{
"context": "le: 'My First Post',\n tags: ['news'],\n author: 'Autho... | examples/demo.coffee | tinysou/tinysou-node | 3 | Tinysou = require 'tinysou'
TOKEN = 'YOUR_TOKEN'
engine = {
name: 'YOUR-blog',
display_name: 'Blog'
}
collection = {
name: 'posts',
field_types: {
title: 'string',
tags: 'string',
author: 'enum',
date: 'date',
body: 'text'
}
}
document = {
title: 'My First Post',
tags: ['news'],
... | 163422 | Tinysou = require 'tinysou'
TOKEN = '<KEY>'
engine = {
name: 'YOUR-blog',
display_name: 'Blog'
}
collection = {
name: 'posts',
field_types: {
title: 'string',
tags: 'string',
author: 'enum',
date: 'date',
body: 'text'
}
}
document = {
title: 'My First Post',
tags: ['news'],
autho... | true | Tinysou = require 'tinysou'
TOKEN = 'PI:KEY:<KEY>END_PI'
engine = {
name: 'YOUR-blog',
display_name: 'Blog'
}
collection = {
name: 'posts',
field_types: {
title: 'string',
tags: 'string',
author: 'enum',
date: 'date',
body: 'text'
}
}
document = {
title: 'My First Post',
tags: ['ne... |
[
{
"context": " username: ssh.config.username\n password: ssh.config.password\n private_key: ssh.config.privateKey\n .cal",
"end": 421,
"score": 0.9992461204528809,
"start": 402,
"tag": "PASSWORD",
"value": "ssh.config.password"
},
{
"context": " username: ssh.con... | packages/core/test/ssh/index.coffee | chibanemourad/node-nikita | 0 |
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'ssh.index', ->
they 'argument is true', ({ssh}) ->
return @skip() unless ssh
nikita
.ssh.open
host: ssh.config.hos... | 218648 |
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'ssh.index', ->
they 'argument is true', ({ssh}) ->
return @skip() unless ssh
nikita
.ssh.open
host: ssh.config.hos... | true |
nikita = require '../../src'
misc = require '../../src/misc'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'ssh.index', ->
they 'argument is true', ({ssh}) ->
return @skip() unless ssh
nikita
.ssh.open
host: ssh.config.hos... |
[
{
"context": " newUser = objtrans\n token: token\n profile: profile\n , ndx.",
"end": 2120,
"score": 0.7018923163414001,
"start": 2115,
"tag": "PASSWORD",
"value": "token"
},
{
"context": "lse\n updateUser = objtrans\n to... | src/index.coffee | ndxbxrme/ndx-passport-facebook | 0 | 'use strict'
FacebookStrategy = require('passport-facebook').Strategy
objtrans = require 'objtrans'
module.exports = (ndx) ->
ndx.settings.FACEBOOK_KEY = process.env.FACEBOOK_KEY or ndx.settings.FACEBOOK_KEY
ndx.settings.FACEBOOK_SECRET = process.env.FACEBOOK_SECRET or ndx.settings.FACEBOOK_SECRET
ndx.settings.... | 200852 | 'use strict'
FacebookStrategy = require('passport-facebook').Strategy
objtrans = require 'objtrans'
module.exports = (ndx) ->
ndx.settings.FACEBOOK_KEY = process.env.FACEBOOK_KEY or ndx.settings.FACEBOOK_KEY
ndx.settings.FACEBOOK_SECRET = process.env.FACEBOOK_SECRET or ndx.settings.FACEBOOK_SECRET
ndx.settings.... | true | 'use strict'
FacebookStrategy = require('passport-facebook').Strategy
objtrans = require 'objtrans'
module.exports = (ndx) ->
ndx.settings.FACEBOOK_KEY = process.env.FACEBOOK_KEY or ndx.settings.FACEBOOK_KEY
ndx.settings.FACEBOOK_SECRET = process.env.FACEBOOK_SECRET or ndx.settings.FACEBOOK_SECRET
ndx.settings.... |
[
{
"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.9998774528503418,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Bundle/FrameworkBundle/Command/GenerateBundleCommand.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')
file_helper = use('fs')
path_helper = use('path')
Table = use('cl... | 84114 | ###
* 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')
file_helper = use('fs')
path_helper = use('path')
Table = use('cli-table');
Command ... | 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')
file_helper = use('fs')
path_helper = use('path')
Table ... |
[
{
"context": ".load [\n {\n id: 1,\n committer_name: 'Jimmy',\n committer_email: 'jimmy@example.com',\n ",
"end": 217,
"score": 0.9996939897537231,
"start": 212,
"tag": "NAME",
"value": "Jimmy"
},
{
"context": " committer_name: 'Jimmy',\n committer_email: 'ji... | assets/scripts/spec/unit/commit_spec.coffee | Acidburn0zzz/travis-web | 0 | record = null
module "Travis.Commit",
setup: ->
teardown: ->
Travis.Commit.resetData()
test 'it recognizes when author is committer', ->
Travis.Commit.load [
{
id: 1,
committer_name: 'Jimmy',
committer_email: 'jimmy@example.com',
author_name: 'Jimmy',
author_email: 'jimmy@e... | 193655 | record = null
module "Travis.Commit",
setup: ->
teardown: ->
Travis.Commit.resetData()
test 'it recognizes when author is committer', ->
Travis.Commit.load [
{
id: 1,
committer_name: '<NAME>',
committer_email: '<EMAIL>',
author_name: '<NAME>',
author_email: '<EMAIL>'
}
... | true | record = null
module "Travis.Commit",
setup: ->
teardown: ->
Travis.Commit.resetData()
test 'it recognizes when author is committer', ->
Travis.Commit.load [
{
id: 1,
committer_name: 'PI:NAME:<NAME>END_PI',
committer_email: 'PI:EMAIL:<EMAIL>END_PI',
author_name: 'PI:NAME:<NAME>EN... |
[
{
"context": "cess.nextTick ->\n if (!rec.partition)\n key = [rec.id]\n value = []\n \n for i in [0...rec.schema",
"end": 474,
"score": 0.9920859336853027,
"start": 468,
"tag": "KEY",
"value": "rec.id"
}
] | src/provider/foundationdb/activerecord/functions/save.coffee | frisb/formalize | 2 | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
savePartioned = (tr, rec) ->
# tr.set(rec.provider.dir.records.pack([rec.id]), deepak.pack(''))
for d in rec.schema.destKeys
if (d isnt 'id')
val = rec.data(d)
if (typeof(val) isnt 'undefined')
tr.set(rec.provid... | 165916 | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
savePartioned = (tr, rec) ->
# tr.set(rec.provider.dir.records.pack([rec.id]), deepak.pack(''))
for d in rec.schema.destKeys
if (d isnt 'id')
val = rec.data(d)
if (typeof(val) isnt 'undefined')
tr.set(rec.provid... | true | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
savePartioned = (tr, rec) ->
# tr.set(rec.provider.dir.records.pack([rec.id]), deepak.pack(''))
for d in rec.schema.destKeys
if (d isnt 'id')
val = rec.data(d)
if (typeof(val) isnt 'undefined')
tr.set(rec.provid... |
[
{
"context": " getChunk: (x, y, z, create = false) ->\n key = \"#{x}|#{y}|#{z}\"\n chunk = @chunks[key]\n if !chunk? && create",
"end": 3785,
"score": 0.9992904663085938,
"start": 3769,
"tag": "KEY",
"value": "\"#{x}|#{y}|#{z}\""
},
{
"context": " chunk\n\n setChunk: (x, ... | src/world.coffee | TamaMcGlinn/webgl-meincraft | 0 | # Rendering size of a single block cube
CUBE_SIZE = 1.0
# must be a power of two for the octree based fast raycasting
# to work properly.
CHUNK_SIZE = 32
# View distances are in chunks
GENERATE_DISTANCE_X = 2
GENERATE_DISTANCE_Y = 2
GENERATE_DISTANCE_Z = 2
VIEW_DISTANCE_X = 4
VIEW_DISTANCE_Y = 4
VIEW_DISTANCE_Z = 4
... | 64495 | # Rendering size of a single block cube
CUBE_SIZE = 1.0
# must be a power of two for the octree based fast raycasting
# to work properly.
CHUNK_SIZE = 32
# View distances are in chunks
GENERATE_DISTANCE_X = 2
GENERATE_DISTANCE_Y = 2
GENERATE_DISTANCE_Z = 2
VIEW_DISTANCE_X = 4
VIEW_DISTANCE_Y = 4
VIEW_DISTANCE_Z = 4
... | true | # Rendering size of a single block cube
CUBE_SIZE = 1.0
# must be a power of two for the octree based fast raycasting
# to work properly.
CHUNK_SIZE = 32
# View distances are in chunks
GENERATE_DISTANCE_X = 2
GENERATE_DISTANCE_Y = 2
GENERATE_DISTANCE_Z = 2
VIEW_DISTANCE_X = 4
VIEW_DISTANCE_Y = 4
VIEW_DISTANCE_Z = 4
... |
[
{
"context": "## MCSHOPDEX by LAKEN HAFNER\n## (c) 2017\n## AVAILABLE UNDER THE MIT LICENSE\n##",
"end": 28,
"score": 0.9998864531517029,
"start": 16,
"tag": "NAME",
"value": "LAKEN HAFNER"
},
{
"context": "T LICENSE\n## PROJECT HOMEPAGE: HTTPS://GITLAB.COM/LAKEN/MCSHOPDEX/\n\n# crea... | js/shopdex.coffee | FrozenBeard/MCShop | 2 | ## MCSHOPDEX by LAKEN HAFNER
## (c) 2017
## AVAILABLE UNDER THE MIT LICENSE
## PROJECT HOMEPAGE: HTTPS://GITLAB.COM/LAKEN/MCSHOPDEX/
# creating a few variables, setting them to null for now
symbol = null
dynmapURL = null
# on page load, starts all other functions
$ ->
# loading our config
$.getJSON 'config.json', (... | 180306 | ## MCSHOPDEX by <NAME>
## (c) 2017
## AVAILABLE UNDER THE MIT LICENSE
## PROJECT HOMEPAGE: HTTPS://GITLAB.COM/LAKEN/MCSHOPDEX/
# creating a few variables, setting them to null for now
symbol = null
dynmapURL = null
# on page load, starts all other functions
$ ->
# loading our config
$.getJSON 'config.json', (config... | true | ## MCSHOPDEX by PI:NAME:<NAME>END_PI
## (c) 2017
## AVAILABLE UNDER THE MIT LICENSE
## PROJECT HOMEPAGE: HTTPS://GITLAB.COM/LAKEN/MCSHOPDEX/
# creating a few variables, setting them to null for now
symbol = null
dynmapURL = null
# on page load, starts all other functions
$ ->
# loading our config
$.getJSON 'config.... |
[
{
"context": "y The Mousetrap key combo string (e.g. \"k\", \"shift+s\", \"command+t\")\n @param {function} fn The callb",
"end": 466,
"score": 0.6316704154014587,
"start": 465,
"tag": "KEY",
"value": "s"
},
{
"context": "ap key combo string (e.g. \"k\", \"shift+s\", \"command+t\"... | src/common/keyCommands/keyCommands.coffee | anandthakker/yawpcow | 1 | angular.module("yawpcow.keyCommands", []
).config( () ->
stopCallback = Mousetrap.stopCallback
Mousetrap.stopCallback = (e, element, combo) ->
return not combo.match(/ctrl|alt|option|meta|command|esc/i) and stopCallback(e,element,combo)
).factory("keyCommands", ($log) ->
glossary = {}
keyCommands =
##... | 210345 | angular.module("yawpcow.keyCommands", []
).config( () ->
stopCallback = Mousetrap.stopCallback
Mousetrap.stopCallback = (e, element, combo) ->
return not combo.match(/ctrl|alt|option|meta|command|esc/i) and stopCallback(e,element,combo)
).factory("keyCommands", ($log) ->
glossary = {}
keyCommands =
##... | true | angular.module("yawpcow.keyCommands", []
).config( () ->
stopCallback = Mousetrap.stopCallback
Mousetrap.stopCallback = (e, element, combo) ->
return not combo.match(/ctrl|alt|option|meta|command|esc/i) and stopCallback(e,element,combo)
).factory("keyCommands", ($log) ->
glossary = {}
keyCommands =
##... |
[
{
"context": "s private message\n# * Based on welcome.coffee by Bob Silverberg <bob.silverberg@gmail.com>\n#\n# Commands:\n# hubo",
"end": 233,
"score": 0.9996009469032288,
"start": 219,
"tag": "NAME",
"value": "Bob Silverberg"
},
{
"context": "\n# * Based on welcome.coffee by ... | scripts/welcome-to-zihub.coffee | francho/agilico | 1 | # Description:
# Welcome to Zithub.
#
# Configuration:
# * A persistent brain store like hubot-redis-brain is highly recommended.
#
# Notes:
# * Sends welcome as private message
# * Based on welcome.coffee by Bob Silverberg <bob.silverberg@gmail.com>
#
# Commands:
# hubot la bienvenida
# Author:
# Franch... | 133256 | # Description:
# Welcome to Zithub.
#
# Configuration:
# * A persistent brain store like hubot-redis-brain is highly recommended.
#
# Notes:
# * Sends welcome as private message
# * Based on welcome.coffee by <NAME> <<EMAIL>>
#
# Commands:
# hubot la bienvenida
# Author:
# <NAME>
hubot = require 'hubot'... | true | # Description:
# Welcome to Zithub.
#
# Configuration:
# * A persistent brain store like hubot-redis-brain is highly recommended.
#
# Notes:
# * Sends welcome as private message
# * Based on welcome.coffee by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Commands:
# hubot la bienvenida
# Author:
# PI... |
[
{
"context": "\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1011\"\n }, {\n \"name\" : \"Acute Tonsil",
"end": 3534,
"score": 0.9349563717842102,
"start": 3523,
"tag": "IP_ADDRESS",
"value": "102.12.1011"
},
{
"context": "\n \"id\" : \"2.1... | Src/coffeescript/cql-execution/src/example/CMS146v2_CQM.coffee | esteban-aliverti/clinical_quality_language | 0 | module.exports = {
"library" : {
"identifier" : {
"id" : "CMS146",
"version" : "2"
},
"schemaIdentifier" : {
"id" : "urn:hl7-org:elm",
"version" : "r1"
},
"usings" : {
"def" : [ {
"localIdentifier" : "QUICK",
"uri" : "... | 154577 | module.exports = {
"library" : {
"identifier" : {
"id" : "CMS146",
"version" : "2"
},
"schemaIdentifier" : {
"id" : "urn:hl7-org:elm",
"version" : "r1"
},
"usings" : {
"def" : [ {
"localIdentifier" : "QUICK",
"uri" : "... | true | module.exports = {
"library" : {
"identifier" : {
"id" : "CMS146",
"version" : "2"
},
"schemaIdentifier" : {
"id" : "urn:hl7-org:elm",
"version" : "r1"
},
"usings" : {
"def" : [ {
"localIdentifier" : "QUICK",
"uri" : "... |
[
{
"context": "\n backbone-articulation.js 0.3.4\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-articulati",
"end": 68,
"score": 0.9998233318328857,
"start": 54,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.3.4\n (c) 2011, 2012 Kevin Malako... | src/backbone-articulation.coffee | kmalakoff/backbone-articulation | 2 | ###
backbone-articulation.js 0.3.4
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import and re-export Underscore (or Lo-Dash with precedence), Backbone, and... | 84921 | ###
backbone-articulation.js 0.3.4
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import and re-export Underscore (or Lo-Dash with precedence), Backbone, and Knockou... | true | ###
backbone-articulation.js 0.3.4
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import and re-export Underscore (or Lo-Dash with precedence), Backbon... |
[
{
"context": " = children.last()\n if last.mx_hash.hash_key == \"rextem_end\"\n ret += \"\"\"\",\"#{last.flags}\"\"\" if last.flags\n",
"end": 13010,
"score": 0.9800094366073608,
"start": 13000,
"tag": "KEY",
"value": "rextem_end"
},
{
"context": "in node.value_array\n if v.mx... | src/translator.coffee | hu2prod/scriptscript | 1 | require 'fy'
require 'fy/lib/codegen'
{
Translator
un_op_translator_holder
un_op_translator_framework
bin_op_translator_holder
bin_op_translator_framework
} = require 'gram2'
module = @
# ###################################################################################################
trans = new Translato... | 70683 | require 'fy'
require 'fy/lib/codegen'
{
Translator
un_op_translator_holder
un_op_translator_framework
bin_op_translator_holder
bin_op_translator_framework
} = require 'gram2'
module = @
# ###################################################################################################
trans = new Translato... | true | require 'fy'
require 'fy/lib/codegen'
{
Translator
un_op_translator_holder
un_op_translator_framework
bin_op_translator_holder
bin_op_translator_framework
} = require 'gram2'
module = @
# ###################################################################################################
trans = new Translato... |
[
{
"context": "(done) ->\n user = App.User.build(firstName: 'Lance')\n\n Tower.StoreTransportAjax.create [user], ",
"end": 845,
"score": 0.9994208812713623,
"start": 840,
"tag": "NAME",
"value": "Lance"
},
{
"context": "(done) ->\n user = App.User.build(firstName: 'Lanc... | test/cases/store/client/ajaxTest.coffee | jivagoalves/tower | 1 | describe 'Tower.StoreTransportAjax', ->
describe 'params', ->
test 'conditions', ->
criteria = App.User.where(firstName: '=~': 'L').compile()
params = criteria.toParams()
expected =
conditions:
firstName: '=~': 'L'
assert.deepEqual expected, params
test 'cond... | 105451 | describe 'Tower.StoreTransportAjax', ->
describe 'params', ->
test 'conditions', ->
criteria = App.User.where(firstName: '=~': 'L').compile()
params = criteria.toParams()
expected =
conditions:
firstName: '=~': 'L'
assert.deepEqual expected, params
test 'cond... | true | describe 'Tower.StoreTransportAjax', ->
describe 'params', ->
test 'conditions', ->
criteria = App.User.where(firstName: '=~': 'L').compile()
params = criteria.toParams()
expected =
conditions:
firstName: '=~': 'L'
assert.deepEqual expected, params
test 'cond... |
[
{
"context": "tml(), \"some name\"\n c.scope.model.set \"name\", \"new name\"\n assert.equal h.$el.html(), \"new name\"\n\n h",
"end": 3573,
"score": 0.9001052975654602,
"start": 3565,
"tag": "NAME",
"value": "new name"
},
{
"context": " ->\n c.scope.model = new Backbone.... | test/spec/helpers/bind.coffee | smalluban/neck | 5 | describe '[ui-bind]', ->
c = null
beforeEach ->
c = new Neck.Controller()
c.scope.text = 'someValue'
c.scope.htmlText = '<b>someValue</b>'
c.scope.boolTrue = true
c.scope.boolFalse = false
it 'should set proper value and listen changes', ->
h = new Neck.Helper.bind parent: c, el: $('<di... | 111244 | describe '[ui-bind]', ->
c = null
beforeEach ->
c = new Neck.Controller()
c.scope.text = 'someValue'
c.scope.htmlText = '<b>someValue</b>'
c.scope.boolTrue = true
c.scope.boolFalse = false
it 'should set proper value and listen changes', ->
h = new Neck.Helper.bind parent: c, el: $('<di... | true | describe '[ui-bind]', ->
c = null
beforeEach ->
c = new Neck.Controller()
c.scope.text = 'someValue'
c.scope.htmlText = '<b>someValue</b>'
c.scope.boolTrue = true
c.scope.boolFalse = false
it 'should set proper value and listen changes', ->
h = new Neck.Helper.bind parent: c, el: $('<di... |
[
{
"context": " = {} #set of visited coordinates\n key = (x,y) -> \"\"+x+\"#\"+y\n has_cell = (x,y) -> mpattern.hasOwnProperty key",
"end": 22674,
"score": 0.7938884496688843,
"start": 22664,
"tag": "KEY",
"value": "\"\"+x+\"#\"+y"
}
] | tools/collider.coffee | Kosx-Kosx/js-revca | 25 | #!/usr/bin/env coffee
"use strict"
# Particle collider.
# Make collision table
fs = require "fs"
{Cells, inverseTfm, evaluateCellList, getDualTransform, splitPattern} = require "../scripts-src/cells"
{from_list_elem, parseElementary} = require "../scripts-src/rules"
stdio = require "stdio"
{mod,mod2} = require "../scr... | 48061 | #!/usr/bin/env coffee
"use strict"
# Particle collider.
# Make collision table
fs = require "fs"
{Cells, inverseTfm, evaluateCellList, getDualTransform, splitPattern} = require "../scripts-src/cells"
{from_list_elem, parseElementary} = require "../scripts-src/rules"
stdio = require "stdio"
{mod,mod2} = require "../scr... | true | #!/usr/bin/env coffee
"use strict"
# Particle collider.
# Make collision table
fs = require "fs"
{Cells, inverseTfm, evaluateCellList, getDualTransform, splitPattern} = require "../scripts-src/cells"
{from_list_elem, parseElementary} = require "../scripts-src/rules"
stdio = require "stdio"
{mod,mod2} = require "../scr... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 52,
"score": 0.9998698234558105,
"start": 33,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "#\n QuoJS 2.1\n (c) 2011, 2012 Javi Jimén... | src/QuoJS/src/quo.element.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.attr = (name, value) ->
if $$.toType(name) is "string" and value is undefined
this[0].getAttribute name
else
@each -> @setAttribute name, value
$$.fn.data = (na... | 203848 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.attr = (name, value) ->
if $$.toType(name) is "string" and value is undefined
this[0].getAttribute name
else
@each -> @setAttribute name, value
$$.fn.data = (name, value) ->... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.attr = (name, value) ->
if $$.toType(name) is "string" and value is undefined
this[0].getAttribute name
else
@each -> @setAttribute name, value
$$.fn.data = (n... |
[
{
"context": "ll,\"Aapeli\",\"Elmo ja Elmer\",\"Ruut\",\"Lea ja Leea\",\"Harri\",\"Aukusti, Aku\",\"Hilppa ja Titta\",\"Veikko, Veli j",
"end": 87,
"score": 0.8743336796760559,
"start": 82,
"tag": "NAME",
"value": "Harri"
},
{
"context": "mari ja Ilmo\",\"Toni ja Anttoni\",\"Laura\",... | homedisplay/display/static/js/namedays.coffee | ojarva/home-info-display | 1 | Namedays = ->
data = [
[null,"Aapeli","Elmo ja Elmer","Ruut","Lea ja Leea","Harri","Aukusti, Aku","Hilppa ja Titta","Veikko, Veli ja Veijo","Nyyrikki","Kari ja Karri","Toini","Nuutti","Sakari ja Saku","Solja",
"Ilmari ja Ilmo","Toni ja Anttoni","Laura","Heikki ja Henrik","Henna ja Henni","Aune ja Oona","Visa"... | 209900 | Namedays = ->
data = [
[null,"Aapeli","Elmo ja Elmer","Ruut","Lea ja Leea","<NAME>","Aukusti, Aku","Hilppa ja Titta","Veikko, Veli ja Veijo","Nyyrikki","Kari ja Karri","Toini","Nuutti","Sakari ja Saku","Solja",
"Ilmari ja Ilmo","Toni ja Anttoni","Laura","Heikki ja <NAME>","<NAME> ja <NAME>","Aune ja Oona","Vi... | true | Namedays = ->
data = [
[null,"Aapeli","Elmo ja Elmer","Ruut","Lea ja Leea","PI:NAME:<NAME>END_PI","Aukusti, Aku","Hilppa ja Titta","Veikko, Veli ja Veijo","Nyyrikki","Kari ja Karri","Toini","Nuutti","Sakari ja Saku","Solja",
"Ilmari ja Ilmo","Toni ja Anttoni","Laura","Heikki ja PI:NAME:<NAME>END_PI","PI:NAME:... |
[
{
"context": "er for Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 557,
"score": 0.9998797178268433,
"start": 536,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright (... | example /hqz/queue-submit.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# Job Submitter. Uploads the JSON scene description for a job
# and enqueues a work item for each frame.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# AWS_REGION
# HQZ_BUCKET
#
# Required Node modules:
#
# npm i... | 38204 | #!/usr/bin/env coffee
#
# Job Submitter. Uploads the JSON scene description for a job
# and enqueues a work item for each frame.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# AWS_REGION
# HQZ_BUCKET
#
# Required Node modules:
#
# npm i... | true | #!/usr/bin/env coffee
#
# Job Submitter. Uploads the JSON scene description for a job
# and enqueues a work item for each frame.
#
# AWS configuration comes from the environment:
#
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY
# AWS_REGION
# HQZ_BUCKET
#
# Required Node modules:
#
# npm i... |
[
{
"context": " false\n @tagsFlood : null \n\n @GA_ACCOUNT : '37524215-3'\n\n @start : =>\n window._gaq = window._g",
"end": 108,
"score": 0.990747332572937,
"start": 98,
"tag": "KEY",
"value": "37524215-3"
}
] | project/develop/coffee/utils/Analytics.coffee | GyanaPrasannaa/oz-experiment | 0 | class Analytics
@tags : null
@started : false
@tagsFlood : null
@GA_ACCOUNT : '37524215-3'
@start : =>
window._gaq = window._gaq or [['_setAccount',"UA-#{@GA_ACCOUNT}"],['_trackPageview']]
@tags = JSON.parse window.oz.baseAssets.get('trackingTags').result
@tagsFlood = JSO... | 100608 | class Analytics
@tags : null
@started : false
@tagsFlood : null
@GA_ACCOUNT : '<KEY>'
@start : =>
window._gaq = window._gaq or [['_setAccount',"UA-#{@GA_ACCOUNT}"],['_trackPageview']]
@tags = JSON.parse window.oz.baseAssets.get('trackingTags').result
@tagsFlood = JSON.par... | true | class Analytics
@tags : null
@started : false
@tagsFlood : null
@GA_ACCOUNT : 'PI:KEY:<KEY>END_PI'
@start : =>
window._gaq = window._gaq or [['_setAccount',"UA-#{@GA_ACCOUNT}"],['_trackPageview']]
@tags = JSON.parse window.oz.baseAssets.get('trackingTags').result
@tagsFlo... |
[
{
"context": "ng underscores in variable declarations.\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 102,
"score": 0.999731183052063,
"start": 91,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/rules/no-underscore-dangle.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag trailing underscores in variable declarations.
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------------------------... | 222137 | ###*
# @fileoverview Rule to flag trailing underscores in variable declarations.
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#----------------------------------------------------------------------------... | true | ###*
# @fileoverview Rule to flag trailing underscores in variable declarations.
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#--------------------------------------------------------------... |
[
{
"context": "###\n(c) 2011 Jan Monschke\nv1.0\nGeoMock is licensed under the MIT license.\n#",
"end": 25,
"score": 0.9997203946113586,
"start": 13,
"tag": "NAME",
"value": "Jan Monschke"
}
] | geomock.coffee | MazeMap/GeoMock | 1 | ###
(c) 2011 Jan Monschke
v1.0
GeoMock is licensed under the MIT license.
###
do ->
unless navigator?
window.navigator = {}
delete navigator.geolocation
navigator.geolocation =
delay : 1000
shouldFail : false
failsAt : -1
errorMessage : "There was an error retrieving the position... | 129911 | ###
(c) 2011 <NAME>
v1.0
GeoMock is licensed under the MIT license.
###
do ->
unless navigator?
window.navigator = {}
delete navigator.geolocation
navigator.geolocation =
delay : 1000
shouldFail : false
failsAt : -1
errorMessage : "There was an error retrieving the position!"
... | true | ###
(c) 2011 PI:NAME:<NAME>END_PI
v1.0
GeoMock is licensed under the MIT license.
###
do ->
unless navigator?
window.navigator = {}
delete navigator.geolocation
navigator.geolocation =
delay : 1000
shouldFail : false
failsAt : -1
errorMessage : "There was an error retrieving the ... |
[
{
"context": "sed under the MIT License\nDate: 11-08-2015\nAuthor: Julio Cesar Fausto\nSource: https://github.com/jcfausto/jcfausto-com-",
"end": 107,
"score": 0.9998741745948792,
"start": 89,
"tag": "NAME",
"value": "Julio Cesar Fausto"
},
{
"context": "or: Julio Cesar Fausto\nSourc... | app/assets/javascripts/components/portfolio_row.js.jsx.coffee | jcfausto/jcfausto-rails-website | 1 | ###
PortfolioRow React Component
Released under the MIT License
Date: 11-08-2015
Author: Julio Cesar Fausto
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@PortfolioRow = React.createClass
getInitialState: ->
row: this.props.row
render: ->
`<div key={this.state.key} className="row">
{
... | 31751 | ###
PortfolioRow React Component
Released under the MIT License
Date: 11-08-2015
Author: <NAME>
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@PortfolioRow = React.createClass
getInitialState: ->
row: this.props.row
render: ->
`<div key={this.state.key} className="row">
{
this.s... | true | ###
PortfolioRow React Component
Released under the MIT License
Date: 11-08-2015
Author: PI:NAME:<NAME>END_PI
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@PortfolioRow = React.createClass
getInitialState: ->
row: this.props.row
render: ->
`<div key={this.state.key} className="row">
{
... |
[
{
"context": "states.statements\n key = state.range[0].ofs + '-' + state.range[1].ofs\n continue if seen[key] ",
"end": 2817,
"score": 0.6596012711524963,
"start": 2814,
"tag": "KEY",
"value": "'-'"
},
{
"context": "e ={\n getEnemies: function() { return [{id: \"Brack\... | dev/index.coffee | codecombat/aether | 110 | editors = []
Range = ace.require("ace/range").Range
$ ->
$(".ace-editor-wrapper").each ->
editor = ace.edit(this)
editor.setTheme "ace/theme/xcode"
editor.getSession().setUseWorker false
editor.getSession().setMode "ace/mode/javascript"
editor.getSession().getDocument().on "change", watchForCodeCh... | 150271 | editors = []
Range = ace.require("ace/range").Range
$ ->
$(".ace-editor-wrapper").each ->
editor = ace.edit(this)
editor.setTheme "ace/theme/xcode"
editor.getSession().setUseWorker false
editor.getSession().setMode "ace/mode/javascript"
editor.getSession().getDocument().on "change", watchForCodeCh... | true | editors = []
Range = ace.require("ace/range").Range
$ ->
$(".ace-editor-wrapper").each ->
editor = ace.edit(this)
editor.setTheme "ace/theme/xcode"
editor.getSession().setUseWorker false
editor.getSession().setMode "ace/mode/javascript"
editor.getSession().getDocument().on "change", watchForCodeCh... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.7033076286315918,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/Container.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
], (
dou
Component
) ->
"use strict"
EMPTY = []
add_component = (c... | 47221 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
], (
dou
Component
) ->
"use strict"
EMPTY = []
add_component = (... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
], (
dou
Component
) ->
"use strict"
EMPTY = []
add... |
[
{
"context": "t message', () ->\n expect(validator_default 'test@example.com').toBeUndefined()\n expect(validator_colon 't",
"end": 451,
"score": 0.9999179840087891,
"start": 435,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "m').toBeUndefined()\n expect... | spec/multiple.spec.coffee | tomi77/backbone-forms-validators | 0 | describe 'A multiple validator', () ->
validator_default = Backbone.Form.validators.multiple
base_type: 'email'
validator_colon = Backbone.Form.validators.multiple
base_type: 'email'
separator: ','
validator_message = Backbone.Form.validators.multiple
base_type: 'email'
message: 'Invalid'
... | 163739 | describe 'A multiple validator', () ->
validator_default = Backbone.Form.validators.multiple
base_type: 'email'
validator_colon = Backbone.Form.validators.multiple
base_type: 'email'
separator: ','
validator_message = Backbone.Form.validators.multiple
base_type: 'email'
message: 'Invalid'
... | true | describe 'A multiple validator', () ->
validator_default = Backbone.Form.validators.multiple
base_type: 'email'
validator_colon = Backbone.Form.validators.multiple
base_type: 'email'
separator: ','
validator_message = Backbone.Form.validators.multiple
base_type: 'email'
message: 'Invalid'
... |
[
{
"context": " base_url: @state.currentBaseUrl\n username: @state.currentUsername\n password: @state.currentPass",
"end": 691,
"score": 0.7041974067687988,
"start": 685,
"tag": "USERNAME",
"value": "@state"
},
{
"context": "tate.currentBaseUrl\n username: @state.curr... | app/assets/javascripts/1-components/password_list.js.coffee | quark-zju/gerrit-frontend | 2 | {div, span, table, code, tbody, thead, tr, th, td, i, input, li, ul, p, pre, br, button} = React.DOM
cx = React.addons.classSet
@PasswordList = React.createClass
displayName: 'PasswordList'
getInitialState: ->
passwords: @props.initialPasswords
busy: false
isBaseUrlIllegal: ->
url = @state.current... | 76597 | {div, span, table, code, tbody, thead, tr, th, td, i, input, li, ul, p, pre, br, button} = React.DOM
cx = React.addons.classSet
@PasswordList = React.createClass
displayName: 'PasswordList'
getInitialState: ->
passwords: @props.initialPasswords
busy: false
isBaseUrlIllegal: ->
url = @state.current... | true | {div, span, table, code, tbody, thead, tr, th, td, i, input, li, ul, p, pre, br, button} = React.DOM
cx = React.addons.classSet
@PasswordList = React.createClass
displayName: 'PasswordList'
getInitialState: ->
passwords: @props.initialPasswords
busy: false
isBaseUrlIllegal: ->
url = @state.current... |
[
{
"context": "ct':{Project:Project}\n\t\t\t'../../models/User':{User:@User}\n\t\t\t\"./ProjectGetter\":@ProjectGetter\n\t\t\t'logger-s",
"end": 1539,
"score": 0.8278820514678955,
"start": 1534,
"tag": "USERNAME",
"value": "@User"
},
{
"context": "an array case insenstive', (done)->\n... | test/UnitTests/coffee/Project/ProjectLocatorTests.coffee | HasanSanli/web-sharelatex | 0 | spies = require('chai-spies')
chai = require('chai').use(spies)
assert = require('chai').assert
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectLocator"
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
Errors = require "../../../../app/js/Features/Errors/Errors"
exp... | 160723 | spies = require('chai-spies')
chai = require('chai').use(spies)
assert = require('chai').assert
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectLocator"
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
Errors = require "../../../../app/js/Features/Errors/Errors"
exp... | true | spies = require('chai-spies')
chai = require('chai').use(spies)
assert = require('chai').assert
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectLocator"
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
Errors = require "../../../../app/js/Features/Errors/Errors"
exp... |
[
{
"context": "om/articulate/grunt-release\n#\n# Copyright (c) 2013 Andrew Nordman\n# Licensed under the MIT license.\n#\n\nexec = requi",
"end": 101,
"score": 0.9998394250869751,
"start": 87,
"tag": "NAME",
"value": "Andrew Nordman"
}
] | src/tasks/release.coffee | articulate/grunt-release | 0 | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 Andrew Nordman
# Licensed under the MIT license.
#
exec = require('child_process').exec
fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'release', 'Release a version of application', ->... | 199581 | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
#
exec = require('child_process').exec
fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'release', 'Release a version of application', ->
opt... | true | #
# grunt-release
# https://github.com/articulate/grunt-release
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
exec = require('child_process').exec
fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'release', 'Release a version of applicatio... |
[
{
"context": "# * http://foundation.zurb.com\n# * Copyright 2012, ZURB\n# * Free to use under the MIT license.\n# * http:/",
"end": 165,
"score": 0.9732481837272644,
"start": 161,
"tag": "NAME",
"value": "ZURB"
},
{
"context": "control whether cookies are used\n cookieName: \"joyr... | coffee/nextstep.coffee | alejo8591/shurikend | 0 | ###
Inspired in foundation v.3.2
joyride: joyride.coffee
###
#
# * jQuery Foundation Joyride Plugin 2.0.3
# * http://foundation.zurb.com
# * Copyright 2012, ZURB
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, win... | 172955 | ###
Inspired in foundation v.3.2
joyride: joyride.coffee
###
#
# * jQuery Foundation Joyride Plugin 2.0.3
# * http://foundation.zurb.com
# * Copyright 2012, <NAME>
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, w... | true | ###
Inspired in foundation v.3.2
joyride: joyride.coffee
###
#
# * jQuery Foundation Joyride Plugin 2.0.3
# * http://foundation.zurb.com
# * Copyright 2012, PI:NAME:<NAME>END_PI
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, ind... |
[
{
"context": " people who do not use Coffeescript. \n \n @author Mads Hartmann Jensen. \n###\n\nmugs.provide(\"mugs.range\")\n\nmugs.range = {",
"end": 185,
"score": 0.9998239278793335,
"start": 165,
"tag": "NAME",
"value": "Mads Hartmann Jensen"
}
] | src/Range.coffee | mads-hartmann/mugs | 1 | ###
range is a utility object that can create arrays with all natural number in a
given range. Convenient for people who do not use Coffeescript.
@author Mads Hartmann Jensen.
###
mugs.provide("mugs.range")
mugs.range = {}
###*
Creates an array with all the numbers between from and to inclusive.
@p... | 180086 | ###
range is a utility object that can create arrays with all natural number in a
given range. Convenient for people who do not use Coffeescript.
@author <NAME>.
###
mugs.provide("mugs.range")
mugs.range = {}
###*
Creates an array with all the numbers between from and to inclusive.
@param from Th... | true | ###
range is a utility object that can create arrays with all natural number in a
given range. Convenient for people who do not use Coffeescript.
@author PI:NAME:<NAME>END_PI.
###
mugs.provide("mugs.range")
mugs.range = {}
###*
Creates an array with all the numbers between from and to inclusive.
@p... |
[
{
"context": "# base64\n# \n# @description\n# @Copyright 2014 Fantasy <fantasyshao@icloud.com>\n# @create 2014-12-11\n# @",
"end": 52,
"score": 0.9777643084526062,
"start": 45,
"tag": "USERNAME",
"value": "Fantasy"
},
{
"context": "se64\n# \n# @description\n# @Copyright 2014 Fantasy ... | src/coffee/base64.coffee | FantasyMedia/Toolbox | 0 | # base64
#
# @description
# @Copyright 2014 Fantasy <fantasyshao@icloud.com>
# @create 2014-12-11
# @update 2014-12-22
exports.encode = (str) ->
try
new Buffer(str).toString('base64')
catch err
console.debug err
exports.decode = (str) ->
try
new Buffer(str, 'base64').toString('ascii')
catch err
... | 63538 | # base64
#
# @description
# @Copyright 2014 Fantasy <<EMAIL>>
# @create 2014-12-11
# @update 2014-12-22
exports.encode = (str) ->
try
new Buffer(str).toString('base64')
catch err
console.debug err
exports.decode = (str) ->
try
new Buffer(str, 'base64').toString('ascii')
catch err
console.debu... | true | # base64
#
# @description
# @Copyright 2014 Fantasy <PI:EMAIL:<EMAIL>END_PI>
# @create 2014-12-11
# @update 2014-12-22
exports.encode = (str) ->
try
new Buffer(str).toString('base64')
catch err
console.debug err
exports.decode = (str) ->
try
new Buffer(str, 'base64').toString('ascii')
catch err
... |
[
{
"context": "rn\n\ncola.util.cancelDelay = (owner, name)->\n\tkey = \"_timer_\" + name\n\ttimerId = owner[key]\n\tif timerId\n\t\tdelete owner[",
"end": 3221,
"score": 0.9747292399406433,
"start": 3205,
"tag": "KEY",
"value": "\"_timer_\" + name"
}
] | src/core/util.coffee | homeant/cola-ui | 90 | cola.util.createDeferredIf = (originDfd, failbackArgs)->
return originDfd or $.Deferred().resolve(failbackArgs)
cola.util.wrapDeferredWith = (context, originDfd, failbackArgs)->
if originDfd and (not originDfd.done or not originDfd.fail)
return originDfd
dfd = $.Deferred()
if originDfd
originDfd.done(()->
... | 209212 | cola.util.createDeferredIf = (originDfd, failbackArgs)->
return originDfd or $.Deferred().resolve(failbackArgs)
cola.util.wrapDeferredWith = (context, originDfd, failbackArgs)->
if originDfd and (not originDfd.done or not originDfd.fail)
return originDfd
dfd = $.Deferred()
if originDfd
originDfd.done(()->
... | true | cola.util.createDeferredIf = (originDfd, failbackArgs)->
return originDfd or $.Deferred().resolve(failbackArgs)
cola.util.wrapDeferredWith = (context, originDfd, failbackArgs)->
if originDfd and (not originDfd.done or not originDfd.fail)
return originDfd
dfd = $.Deferred()
if originDfd
originDfd.done(()->
... |
[
{
"context": "\ntest_passwords = '''\nzxcvbn\nqwER43@!\nTr0ub4dour&3\ncorrecthorsebatteryst",
"end": 21,
"score": 0.9680730104446411,
"start": 21,
"tag": "PASSWORD",
"value": ""
},
{
"context": "\ntest_passwords = '''\nzxcvbn\nqwER43@!\nTr0ub4dour&3\ncorrecthorsebatterystaple\nco",
... | contrib/client/zxcvbn-1.0/test/test.coffee | stdjon/httplib | 2 |
test_passwords = '''
zxcvbn
qwER43@!
Tr0ub4dour&3
correcthorsebatterystaple
coRrecth0rseba++ery9.23.2007staple$
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1qaz2wsx3edc
temppass22
briansmith
briansmith4mayor
password1
viking
thx1138
ScoRpi0ns
do you know
ryanhunter2000
rianhunter2000
asdfghju76... | 28563 |
test_passwords = '''<PASSWORD>
<PASSWORD>
<PASSWORD>
coRrecth0rseba++ery9.23.2007staple$
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1<PASSWORD>edc
temppass22
b<PASSWORD>
b<PASSWORD>or
password1
vik<PASSWORD>
th<PASSWORD>
ScoRpi0ns
do you know
ryanhunter2000
rianhunter2000
asdfghju7654rewq
AOEU... | true |
test_passwords = '''PI:PASSWORD:<PASSWORD>END_PI
PI:PASSWORD:<PASSWORD>END_PI
PI:PASSWORD:<PASSWORD>END_PI
coRrecth0rseba++ery9.23.2007staple$
D0g..................
abcdefghijk987654321
neverforget13/3/1997
1PI:PASSWORD:<PASSWORD>END_PIedc
temppass22
bPI:PASSWORD:<PASSWORD>END_PI
bPI:PASSWORD:<PASSWORD>END_PIor
pass... |
[
{
"context": "\"fs\"\nlibraries = {}\nscripts =\n init:\n keys: [\"b_settings\", \"b_running\", \"b_executing\"]\n libs: []\n upda",
"end": 176,
"score": 0.996023952960968,
"start": 166,
"tag": "KEY",
"value": "b_settings"
},
{
"context": " = {}\nscripts =\n init:\n keys:... | src/RedisStorage.coffee | VinayaSathyanarayana/bottleneck | 0 | parser = require "./parser"
DLList = require "./DLList"
BottleneckError = require "./BottleneckError"
fs = require "fs"
libraries = {}
scripts =
init:
keys: ["b_settings", "b_running", "b_executing"]
libs: []
updateSettings:
keys: ["b_settings"]
libs: []
running:
keys: ["b_settings", "b_runni... | 217608 | parser = require "./parser"
DLList = require "./DLList"
BottleneckError = require "./BottleneckError"
fs = require "fs"
libraries = {}
scripts =
init:
keys: ["<KEY>", "<KEY>", "<KEY>"]
libs: []
updateSettings:
keys: ["<KEY>"]
libs: []
running:
keys: ["<KEY>", "<KEY>", "<KEY>"]
libs: ["ref... | true | parser = require "./parser"
DLList = require "./DLList"
BottleneckError = require "./BottleneckError"
fs = require "fs"
libraries = {}
scripts =
init:
keys: ["PI:KEY:<KEY>END_PI", "PI:KEY:<KEY>END_PI", "PI:KEY:<KEY>END_PI"]
libs: []
updateSettings:
keys: ["PI:KEY:<KEY>END_PI"]
libs: []
running:
... |
[
{
"context": "f items[i].sell_in < 0\n if items[i].name != 'Aged Brie'\n if items[i].name != 'Backstage passes to",
"end": 1487,
"score": 0.9996030330657959,
"start": 1478,
"tag": "NAME",
"value": "Aged Brie"
},
{
"context": "s[i].quality > 0\n if items[i].name... | Original.coffee | Adelost/CodeKata-GildedRose-Redesign | 0 | Item = (name, sell_in, quality) ->
@name = name
@sell_in = sell_in
@quality = quality
return
class Item
constructor: (@name, @sell_in, @quality) ->
items = [
new Item("+5 Dexterity Vest", 10, 20),
new Item("Aged Brie", 2, 0),
new Item("Elixir of the Mongoose", 5, 7),
new Item("Sulfuras, Hand of Ragn... | 137547 | Item = (name, sell_in, quality) ->
@name = name
@sell_in = sell_in
@quality = quality
return
class Item
constructor: (@name, @sell_in, @quality) ->
items = [
new Item("+5 Dexterity Vest", 10, 20),
new Item("Aged Brie", 2, 0),
new Item("Elixir of the Mongoose", 5, 7),
new Item("Sulfuras, Hand of Ragn... | true | Item = (name, sell_in, quality) ->
@name = name
@sell_in = sell_in
@quality = quality
return
class Item
constructor: (@name, @sell_in, @quality) ->
items = [
new Item("+5 Dexterity Vest", 10, 20),
new Item("Aged Brie", 2, 0),
new Item("Elixir of the Mongoose", 5, 7),
new Item("Sulfuras, Hand of Ragn... |
[
{
"context": "key: 'todo'\npatterns: [\n {\n # Borrowed from language-gfm",
"end": 10,
"score": 0.9662103056907654,
"start": 6,
"tag": "KEY",
"value": "todo"
},
{
"context": "wed from language-gfm, because https://github.com/atom/language-todo/pull/36 isn't coming through\n ma... | grammars/repositories/inlines/todo.cson | doc22940/language-markdown | 138 | key: 'todo'
patterns: [
{
# Borrowed from language-gfm, because https://github.com/atom/language-todo/pull/36 isn't coming through
match: '(?<!\\w)@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|COMBAK|TEMP)\\b'
name: 'storage.type.class.${1:/downcase}.md'
}
]
| 198630 | key: '<KEY>'
patterns: [
{
# Borrowed from language-gfm, because https://github.com/atom/language-todo/pull/36 isn't coming through
match: '(?<!\\w)@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|COMBAK|TEMP)\\b'
name: 'storage.type.class.${1:/downcase}.md'
}
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
# Borrowed from language-gfm, because https://github.com/atom/language-todo/pull/36 isn't coming through
match: '(?<!\\w)@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|COMBAK|TEMP)\\b'
name: 'storage.type.class.${1:/downcase}.md'
}
]
|
[
{
"context": " uuid: 'dim-green'\n token: 'blue-purple'\n toUuid: 'bright-green'\n f",
"end": 561,
"score": 0.6870265603065491,
"start": 550,
"tag": "PASSWORD",
"value": "blue-purple"
},
{
"context": " uuid: 'dim-green'\n ... | test/check-whitelist-message-from-spec.coffee | octoblu/meshblu-core-task-check-whitelist-message-from | 0 | http = require 'http'
CheckWhitelistMessageFrom = require '../'
describe 'CheckWhitelistMessageFrom', ->
beforeEach ->
@whitelistManager =
checkMessageFrom: sinon.stub()
@sut = new CheckWhitelistMessageFrom
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when the auth.uu... | 41950 | http = require 'http'
CheckWhitelistMessageFrom = require '../'
describe 'CheckWhitelistMessageFrom', ->
beforeEach ->
@whitelistManager =
checkMessageFrom: sinon.stub()
@sut = new CheckWhitelistMessageFrom
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when the auth.uu... | true | http = require 'http'
CheckWhitelistMessageFrom = require '../'
describe 'CheckWhitelistMessageFrom', ->
beforeEach ->
@whitelistManager =
checkMessageFrom: sinon.stub()
@sut = new CheckWhitelistMessageFrom
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when the auth.uu... |
[
{
"context": " mediamanager\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype",
"end": 72,
"score": 0.9992935657501221,
"start": 66,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "://github.com/nodize/nodizecms\n#\n# Copyright 2... | modules/backend/controllers/ctrl_mediamanager.coffee | nodize/nodizecms | 32 | # Controller for mediamanager
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
# Components used :
# http://blueimp.github.com/jQuery-File-Upload/
# TinyMCE
# ...
@include = ->
basePath = _... | 57222 | # Controller for mediamanager
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
# Components used :
# http://blueimp.github.com/jQuery-File-Upload/
# TinyMCE
# ...
@include = ->
basePath = ... | true | # Controller for mediamanager
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
# Components used :
# http://blueimp.github.com/jQuery-File-Upload/
# TinyMCE
# ...
@include = ->... |
[
{
"context": "t be blank'\n return\n if newPassword != cnfPassword\n @error 'Passwords do not match'",
"end": 1114,
"score": 0.5602576732635498,
"start": 1113,
"tag": "PASSWORD",
"value": "c"
},
{
"context": " blank'\n return\n if newPassword != cnfPass... | public/scripts/backbone-schedule/views/settings/general/password.coffee | courseshark/courseshark | 1 | define(['jQuery'
'Underscore'
'Backbone'
'views/shark-view'
'models/user'
'text!tmpl/settings/general/password.ejs'], ($, _, Backbone, SharkView, User, templateText) ->
class EmailSettingsView extends SharkView
initialize: ->
_.bindAll @
@template = _.templat... | 3355 | define(['jQuery'
'Underscore'
'Backbone'
'views/shark-view'
'models/user'
'text!tmpl/settings/general/password.ejs'], ($, _, Backbone, SharkView, User, templateText) ->
class EmailSettingsView extends SharkView
initialize: ->
_.bindAll @
@template = _.templat... | true | define(['jQuery'
'Underscore'
'Backbone'
'views/shark-view'
'models/user'
'text!tmpl/settings/general/password.ejs'], ($, _, Backbone, SharkView, User, templateText) ->
class EmailSettingsView extends SharkView
initialize: ->
_.bindAll @
@template = _.templat... |
[
{
"context": "e: process.env.CONOHA_USERNAME\n password: process.env.CONOHA_PASSWORD\n tenantId: process.env.CONOHA_TENANT_ID\n ",
"end": 292,
"score": 0.9975185394287109,
"start": 265,
"tag": "PASSWORD",
"value": "process.env.CONOHA_PASSWORD"
}
] | tests/conoha_test.spec.coffee | nukosuke/node-conoha-api | 0 | ConoHa = require '../src/conoha'
describe 'ConoHa class', ->
conoha = null
before (done) ->
conoha = new ConoHa process.env.CONOHA_IDENTITY_URL,
auth:
passwordCredentials:
username: process.env.CONOHA_USERNAME
password: process.env.CONOHA_PASSWORD
tenantId: process.e... | 195904 | ConoHa = require '../src/conoha'
describe 'ConoHa class', ->
conoha = null
before (done) ->
conoha = new ConoHa process.env.CONOHA_IDENTITY_URL,
auth:
passwordCredentials:
username: process.env.CONOHA_USERNAME
password: <PASSWORD>
tenantId: process.env.CONOHA_TENANT_... | true | ConoHa = require '../src/conoha'
describe 'ConoHa class', ->
conoha = null
before (done) ->
conoha = new ConoHa process.env.CONOHA_IDENTITY_URL,
auth:
passwordCredentials:
username: process.env.CONOHA_USERNAME
password: PI:PASSWORD:<PASSWORD>END_PI
tenantId: process.... |
[
{
"context": "in pres\n parts = pre.split \"</pre>\"\n key = \"code#{ i }\"\n lang = null\n code = parts[ 0 ]\n ",
"end": 977,
"score": 0.9073674082756042,
"start": 973,
"tag": "KEY",
"value": "code"
}
] | lib/react-transform.coffee | PaulLeCam/voila | 1 | transform = require("react-tools").transform
jsdom = require "jsdom"
# Lib from https://github.com/facebook/react/blob/master/docs/_js/html-jsx-lib.js
html2jsxlib = require("fs").readFileSync __dirname + "/html-jsx-lib.js"
html2jsx = (html, cb) ->
jsdom.env
html: "<html><body></body></html>"
src: [html2jsxli... | 118692 | transform = require("react-tools").transform
jsdom = require "jsdom"
# Lib from https://github.com/facebook/react/blob/master/docs/_js/html-jsx-lib.js
html2jsxlib = require("fs").readFileSync __dirname + "/html-jsx-lib.js"
html2jsx = (html, cb) ->
jsdom.env
html: "<html><body></body></html>"
src: [html2jsxli... | true | transform = require("react-tools").transform
jsdom = require "jsdom"
# Lib from https://github.com/facebook/react/blob/master/docs/_js/html-jsx-lib.js
html2jsxlib = require("fs").readFileSync __dirname + "/html-jsx-lib.js"
html2jsx = (html, cb) ->
jsdom.env
html: "<html><body></body></html>"
src: [html2jsxli... |
[
{
"context": " ->\n Backbone.history.start()\n\nParse.initialize(\"uwdostKJHj59UqMPm8pS6XO6OspSXBOy7s1IHkJo\", \"o0IPafacxdIuNIbsirAkULxMn2p28fBMbu7l0abY\")",
"end": 377,
"score": 0.9995355010032654,
"start": 337,
"tag": "KEY",
"value": "uwdostKJHj59UqMPm8pS6XO6OspSXBOy7s1IHkJo"
},
{
... | source/javascripts/app/index.coffee | iic-ninjas/shakespear | 0 | #= require_self
#= require_tree ./models
#= require_tree ./views
#= require_tree ./controllers
window.Shake = new Marionette.Application()
window.Shake.addRegions(
top: '.top'
main: '.main'
)
Shake.Models = {}
Shake.Views = {}
Shake.Controllers = {}
Shake.addInitializer (options) ->
Backbone.history.start()
P... | 53595 | #= require_self
#= require_tree ./models
#= require_tree ./views
#= require_tree ./controllers
window.Shake = new Marionette.Application()
window.Shake.addRegions(
top: '.top'
main: '.main'
)
Shake.Models = {}
Shake.Views = {}
Shake.Controllers = {}
Shake.addInitializer (options) ->
Backbone.history.start()
P... | true | #= require_self
#= require_tree ./models
#= require_tree ./views
#= require_tree ./controllers
window.Shake = new Marionette.Application()
window.Shake.addRegions(
top: '.top'
main: '.main'
)
Shake.Models = {}
Shake.Views = {}
Shake.Controllers = {}
Shake.addInitializer (options) ->
Backbone.history.start()
P... |
[
{
"context": "ort')[0].value\n conf.proxy.shadowsocks.password = $('#shadowsocks-password')[0].value\n conf.proxy.shadowsocks.method = $('#",
"end": 2540,
"score": 0.8733566403388977,
"start": 2516,
"tag": "PASSWORD",
"value": "$('#shadowsocks-password"
}
] | modules/settingsUi.coffee | Magimagi/poi | 3 | config = require('./config')
proxy = config.config.proxy
util = require('./util')
fs = require('fs')
$ = global.settingsWin.window.$
exports.updatePacPath = (path) ->
$('#pac-path')[0].value = "file://#{path}"
exports.showModal = (title, content) ->
$('#modal-message-title').text title
$('#modal-message-conten... | 86858 | config = require('./config')
proxy = config.config.proxy
util = require('./util')
fs = require('fs')
$ = global.settingsWin.window.$
exports.updatePacPath = (path) ->
$('#pac-path')[0].value = "file://#{path}"
exports.showModal = (title, content) ->
$('#modal-message-title').text title
$('#modal-message-conten... | true | config = require('./config')
proxy = config.config.proxy
util = require('./util')
fs = require('fs')
$ = global.settingsWin.window.$
exports.updatePacPath = (path) ->
$('#pac-path')[0].value = "file://#{path}"
exports.showModal = (title, content) ->
$('#modal-message-title').text title
$('#modal-message-conten... |
[
{
"context": "file), destFile)\n\n queue.push({\n name: name\n num: num\n lucky: 0\n image: ",
"end": 942,
"score": 0.9979379773139954,
"start": 938,
"tag": "NAME",
"value": "name"
}
] | init-data.coffee | huyinghuan/lottery-2016 | 113 | _fs = require 'fs'
_fse = require 'fs-extra'
_path = require 'path'
_Coal = require('./connection').getConnection()
_config = require './config'
_Employee = _Coal.Model('employee')
_dest = _config.dest
_img_source = _config.img_source
doInit = ->
_fs.readdir(_img_source, (err, files)->
queue = []
for file, ... | 1797 | _fs = require 'fs'
_fse = require 'fs-extra'
_path = require 'path'
_Coal = require('./connection').getConnection()
_config = require './config'
_Employee = _Coal.Model('employee')
_dest = _config.dest
_img_source = _config.img_source
doInit = ->
_fs.readdir(_img_source, (err, files)->
queue = []
for file, ... | true | _fs = require 'fs'
_fse = require 'fs-extra'
_path = require 'path'
_Coal = require('./connection').getConnection()
_config = require './config'
_Employee = _Coal.Model('employee')
_dest = _config.dest
_img_source = _config.img_source
doInit = ->
_fs.readdir(_img_source, (err, files)->
queue = []
for file, ... |
[
{
"context": " #\n # Category.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 45,
"score": 0.9646839499473572,
"start": 35,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Category.\n #\n # Created by hector spc <hector@aer... | src/collections/categories_collection.coffee | aerstudio/Phallanxpress | 1 | #
# Category.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/categories_collection.js.coffee
#
class Phallanxpress.Categories extends Phallanxpress.Collection
model: Phallanxpress.Category
parseTag: 'categories'
ca... | 212488 | #
# Category.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/categories_collection.js.coffee
#
class Phallanxpress.Categories extends Phallanxpress.Collection
model: Phallanxpress.Category
parseTag: 'categories'
categoryList: (opti... | true | #
# Category.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# collections/categories_collection.js.coffee
#
class Phallanxpress.Categories extends Phallanxpress.Collection
model: Phallanxpress.Category
parseTag: 'categ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993050694465637,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-internal.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... | 170913 | # 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": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991295337677002,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-end-emits-exit.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 8402 | # 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": "\"Recorda-m'ho més tard\"\n \"Escriure una ressenya ara\"\n\t\t]\n\tcs:\n\t\ttitle: \"Ohodnotit %@\"\n\t\tmessage: \"Pok",
"end": 885,
"score": 0.6791742444038391,
"start": 879,
"tag": "NAME",
"value": "ya ara"
},
{
"context": "r!\"\n\t\tbuttonLabels: [\n\t\t\t\"Te... | www_src/locales.coffee | Abine/cordova-plugin-apprate | 0 | ###
ar:
displayAppName: "localized application name"
title: "Window title"
message: "Info message"
buttonLabels: [
"no - 1"
"later - 2"
"yes - 3"
]
###
AppRateLocales =
ar:
title: "قيِّم %@"
message: "ذا أعجبك برنامج %@، هل تمانع من أخذ دقيقة لتقييمه؟ شكرا لدعمك!"
buttonLabels: [
"ل... | 205815 | ###
ar:
displayAppName: "localized application name"
title: "Window title"
message: "Info message"
buttonLabels: [
"no - 1"
"later - 2"
"yes - 3"
]
###
AppRateLocales =
ar:
title: "قيِّم %@"
message: "ذا أعجبك برنامج %@، هل تمانع من أخذ دقيقة لتقييمه؟ شكرا لدعمك!"
buttonLabels: [
"ل... | true | ###
ar:
displayAppName: "localized application name"
title: "Window title"
message: "Info message"
buttonLabels: [
"no - 1"
"later - 2"
"yes - 3"
]
###
AppRateLocales =
ar:
title: "قيِّم %@"
message: "ذا أعجبك برنامج %@، هل تمانع من أخذ دقيقة لتقييمه؟ شكرا لدعمك!"
buttonLabels: [
"ل... |
[
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###\n\n# # ",
"end": 27,
"score": 0.9998807907104492,
"start": 13,
"tag": "NAME",
"value": "Branko Vukelic"
},
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###... | src/lib/collection.coffee | foxbunny/ribcage-soap | 0 | ###!
@author Branko Vukelic <branko@brankovukelic.com>
@license MIT
###
# # Soap collection
#
# This module implements a soap-based collection. Since making Soap requests
# per model can be expensive in some cases, this collection will make a SOAP
# request and instantiate appropriate models.
#
# This module is in UMD... | 93330 | ###!
@author <NAME> <<EMAIL>>
@license MIT
###
# # Soap collection
#
# This module implements a soap-based collection. Since making Soap requests
# per model can be expensive in some cases, this collection will make a SOAP
# request and instantiate appropriate models.
#
# This module is in UMD format and will export `... | true | ###!
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license MIT
###
# # Soap collection
#
# This module implements a soap-based collection. Since making Soap requests
# per model can be expensive in some cases, this collection will make a SOAP
# request and instantiate appropriate models.
#
# This module is in... |
[
{
"context": "rrors.push errorMsg\n\n # \"a.en,a.de,a.it\"\n # \"hi,Hallo,ciao\"\n # values:\n # de: 'Hallo'\n # en: 'hi",
"end": 16265,
"score": 0.9910492897033691,
"start": 16260,
"tag": "NAME",
"value": "Hallo"
},
{
"context": "push errorMsg\n\n # \"a.en,a.de,a.it\"\n #... | src/coffee/mapping.coffee | easybi-vv/sphere-node-product-csv-sync-1 | 0 | _ = require 'underscore'
_.mixin require('underscore.string').exports()
CONS = require './constants'
GLOBALS = require './globals'
# TODO:
# - JSDoc
# - no services!!!
# - utils only
class Mapping
constructor: (options = {}) ->
@types = options.types
@customerGroups = options.customerGroups
@categories ... | 223143 | _ = require 'underscore'
_.mixin require('underscore.string').exports()
CONS = require './constants'
GLOBALS = require './globals'
# TODO:
# - JSDoc
# - no services!!!
# - utils only
class Mapping
constructor: (options = {}) ->
@types = options.types
@customerGroups = options.customerGroups
@categories ... | true | _ = require 'underscore'
_.mixin require('underscore.string').exports()
CONS = require './constants'
GLOBALS = require './globals'
# TODO:
# - JSDoc
# - no services!!!
# - utils only
class Mapping
constructor: (options = {}) ->
@types = options.types
@customerGroups = options.customerGroups
@categories ... |
[
{
"context": "#\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\n# The global namespa",
"end": 39,
"score": 0.999626874923706,
"start": 29,
"tag": "NAME",
"value": "Nick Small"
},
{
"context": "n.Hash::hashKeyFor(@base)}, key: \\\"#{Batman.Hash::hashKeyFor(@k... | data/coffeescript/0569016f3e1a9ec6aeace62190287183_batman.coffee | maxim5/code-inspector | 5 | #
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
Batman.version = '0.8.0'
Batman.config =
pathPrefix: ... | 60733 | #
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
Batman.version = '0.8.0'
Batman.config =
pathPrefix: '/'
... | true | #
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
Batman.version = '0.8.0'
Batman.config =
pa... |
[
{
"context": "app.coffee\n# lotto-ionic\n# v0.0.2\n# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic\n# For l",
"end": 71,
"score": 0.9998804926872253,
"start": 55,
"tag": "NAME",
"value": "Andreja Tonevski"
},
{
"context": "pyright 2016 Andreja Tonevski, ht... | www/coffee/app.coffee | atonevski/lotto-ionic | 0 | #
# app.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
# Ionic Starter App
# angular.module is a global place for creating, registering and retrieving Angular modules
# 'starter' is the name of this an... | 20369 | #
# app.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 <NAME>, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
# Ionic Starter App
# angular.module is a global place for creating, registering and retrieving Angular modules
# 'starter' is the name of this angular modu... | true | #
# app.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 PI:NAME:<NAME>END_PI, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
# Ionic Starter App
# angular.module is a global place for creating, registering and retrieving Angular modules
# 'starter' is the name of thi... |
[
{
"context": "application/x-www-form-urlencoded'\n username: client.id\n password: client.secret\n data =\n gr",
"end": 318,
"score": 0.9995718002319336,
"start": 309,
"tag": "USERNAME",
"value": "client.id"
},
{
"context": "encoded'\n username: client.id\n ... | test/1-api.coffee | twhtanghk/activerecord-model | 0 | co = require 'co'
util = require 'util'
assert = require 'assert'
describe 'api', ->
api = null
oauth2 = null
before ->
{api, oauth2} = sails.config
it 'post', -> co ->
{url, client, user, scope} = oauth2
opts =
'Content-Type': 'application/x-www-form-urlencoded'
username: client.id
... | 26537 | co = require 'co'
util = require 'util'
assert = require 'assert'
describe 'api', ->
api = null
oauth2 = null
before ->
{api, oauth2} = sails.config
it 'post', -> co ->
{url, client, user, scope} = oauth2
opts =
'Content-Type': 'application/x-www-form-urlencoded'
username: client.id
... | true | co = require 'co'
util = require 'util'
assert = require 'assert'
describe 'api', ->
api = null
oauth2 = null
before ->
{api, oauth2} = sails.config
it 'post', -> co ->
{url, client, user, scope} = oauth2
opts =
'Content-Type': 'application/x-www-form-urlencoded'
username: client.id
... |
[
{
"context": "ams =\n actor:\n displayName: \"Assaf\"\n verb: \"posted\"\n Activ",
"end": 422,
"score": 0.9997724890708923,
"start": 417,
"tag": "NAME",
"value": "Assaf"
},
{
"context": "owser.query(\".activity .actor .name\").innerHTML,... | server/test/view_activity.coffee | assaf/vanity.js | 2 | { setup } = require("./helper") # must be at top
assert = require("assert")
Browser = require("zombie")
Activity = require("../models/activity")
describe "activity", ->
browser = new Browser()
before setup
###
# -- Activity actor --
describe "actor", ->
describe "name only", ->
activi... | 190668 | { setup } = require("./helper") # must be at top
assert = require("assert")
Browser = require("zombie")
Activity = require("../models/activity")
describe "activity", ->
browser = new Browser()
before setup
###
# -- Activity actor --
describe "actor", ->
describe "name only", ->
activi... | true | { setup } = require("./helper") # must be at top
assert = require("assert")
Browser = require("zombie")
Activity = require("../models/activity")
describe "activity", ->
browser = new Browser()
before setup
###
# -- Activity actor --
describe "actor", ->
describe "name only", ->
activi... |
[
{
"context": "=node(3, 1)\n # WHERE (n.age < 30 and n.name = \"Tobias\") or not(n.name = \"Tobias\")\n # RETURN n\n #\n ",
"end": 327,
"score": 0.9980943202972412,
"start": 321,
"tag": "NAME",
"value": "Tobias"
},
{
"context": ".age < 30 and n.name = \"Tobias\") or not(n.name... | node_modules/tower/packages/tower-store/shared/neo4j/serialization.coffee | MagicPower2/Power | 1 | # @todo
# http://docs.neo4j.org/chunked/stable/security-server.html
# http://sujitpal.blogspot.com/2009/05/using-neo4j-to-load-and-query-owl.html
Tower.StoreNeo4jSerialization =
# @example conditions (http://docs.neo4j.org/chunked/stable/query-where.html)
# START n=node(3, 1)
# WHERE (n.age < 30 and n.name = ... | 199858 | # @todo
# http://docs.neo4j.org/chunked/stable/security-server.html
# http://sujitpal.blogspot.com/2009/05/using-neo4j-to-load-and-query-owl.html
Tower.StoreNeo4jSerialization =
# @example conditions (http://docs.neo4j.org/chunked/stable/query-where.html)
# START n=node(3, 1)
# WHERE (n.age < 30 and n.name = ... | true | # @todo
# http://docs.neo4j.org/chunked/stable/security-server.html
# http://sujitpal.blogspot.com/2009/05/using-neo4j-to-load-and-query-owl.html
Tower.StoreNeo4jSerialization =
# @example conditions (http://docs.neo4j.org/chunked/stable/query-where.html)
# START n=node(3, 1)
# WHERE (n.age < 30 and n.name = ... |
[
{
"context": "###\n termap - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n Handling of and access to ",
"end": 60,
"score": 0.9998739361763,
"start": 40,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michael St... | src/Tile.coffee | 82ndAirborneDiv/mapsc | 1 | ###
termap - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
Handling of and access to single VectorTiles
###
VectorTile = require('@mapbox/vector-tile').VectorTile
Protobuf = require 'pbf'
Promise = require 'bluebird'
zlib = require 'zlib'
rbush = require 'rbush'
x256 = require 'x256'
earcut = ... | 126658 | ###
termap - Terminal Map Viewer
by <NAME> <<EMAIL>>
Handling of and access to single VectorTiles
###
VectorTile = require('@mapbox/vector-tile').VectorTile
Protobuf = require 'pbf'
Promise = require 'bluebird'
zlib = require 'zlib'
rbush = require 'rbush'
x256 = require 'x256'
earcut = require 'earcut'
config... | true | ###
termap - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Handling of and access to single VectorTiles
###
VectorTile = require('@mapbox/vector-tile').VectorTile
Protobuf = require 'pbf'
Promise = require 'bluebird'
zlib = require 'zlib'
rbush = require 'rbush'
x256 = require 'x256'
earc... |
[
{
"context": "->\n expect(MyLibrary.Product.where(token: 'jshf8e').klass()).toEqual(ActiveResource::Relation)\n\n ",
"end": 487,
"score": 0.8882865905761719,
"start": 481,
"tag": "PASSWORD",
"value": "jshf8e"
},
{
"context": "->\n expect(MyLibrary.Product.where(token:... | spec/relation.coffee | nicklandgrebe/active-resource.js | 95 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Relat... | 89588 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Relat... | true | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Relat... |
[
{
"context": "###\nContent: obtiene el Tab.\n@autor Ronny Cabrera\n###\nyOSON.AppCore.addModule \"getTab\", (Sb) ->\n\tde",
"end": 49,
"score": 0.9998816847801208,
"start": 36,
"tag": "NAME",
"value": "Ronny Cabrera"
}
] | frontend/resources/coffee/modules/inicio/inicio/getTab.coffee | ronnyfly2/openvios | 0 | ###
Content: obtiene el Tab.
@autor Ronny Cabrera
###
yOSON.AppCore.addModule "getTab", (Sb) ->
defaults =
tabItem : '.list_numbers li'
st = {}
dom = {}
catchDom = (st)->
dom.tabItem = $(st.tabItem)
return
suscribeEvents = ->
dom.tabItem.on 'click', events.getTabActive
return
events =
getTabActive:()-... | 100273 | ###
Content: obtiene el Tab.
@autor <NAME>
###
yOSON.AppCore.addModule "getTab", (Sb) ->
defaults =
tabItem : '.list_numbers li'
st = {}
dom = {}
catchDom = (st)->
dom.tabItem = $(st.tabItem)
return
suscribeEvents = ->
dom.tabItem.on 'click', events.getTabActive
return
events =
getTabActive:()->
do... | true | ###
Content: obtiene el Tab.
@autor PI:NAME:<NAME>END_PI
###
yOSON.AppCore.addModule "getTab", (Sb) ->
defaults =
tabItem : '.list_numbers li'
st = {}
dom = {}
catchDom = (st)->
dom.tabItem = $(st.tabItem)
return
suscribeEvents = ->
dom.tabItem.on 'click', events.getTabActive
return
events =
getTabAct... |
[
{
"context": " when 'intersectsBufferRowRange'\n key = 'intersectsRowRange'\n when 'intersectsScreenRowRange'\n ",
"end": 17082,
"score": 0.8671441078186035,
"start": 17064,
"tag": "KEY",
"value": "intersectsRowRange"
},
{
"context": " when 'intersectsScreenRow... | src/display-marker-layer.coffee | FeodorFitsner/hang-1-text-buffer | 0 | {Emitter, CompositeDisposable} = require 'event-kit'
DisplayMarker = require './display-marker'
Range = require './range'
Point = require './point'
# Public: *Experimental:* A container for a related set of markers at the
# {DisplayLayer} level. Wraps an underlying {MarkerLayer} on the {TextBuffer}.
#
# This API is ex... | 78485 | {Emitter, CompositeDisposable} = require 'event-kit'
DisplayMarker = require './display-marker'
Range = require './range'
Point = require './point'
# Public: *Experimental:* A container for a related set of markers at the
# {DisplayLayer} level. Wraps an underlying {MarkerLayer} on the {TextBuffer}.
#
# This API is ex... | true | {Emitter, CompositeDisposable} = require 'event-kit'
DisplayMarker = require './display-marker'
Range = require './range'
Point = require './point'
# Public: *Experimental:* A container for a related set of markers at the
# {DisplayLayer} level. Wraps an underlying {MarkerLayer} on the {TextBuffer}.
#
# This API is ex... |
[
{
"context": "module.exports = ->\n port: 5000\n\n name: 'Bumpin.js'\n\n hosturl: 'http://localhost:5000'\n cdn: ",
"end": 47,
"score": 0.46238383650779724,
"start": 43,
"tag": "NAME",
"value": "Bump"
},
{
"context": "module.exports = ->\n port: 5000\n\n name: 'Bumpin.js'\n\n ... | config.coffee | rongierlach/bumpin.js | 0 | module.exports = ->
port: 5000
name: 'Bumpin.js'
hosturl: 'http://localhost:5000'
cdn: './'
version: '?v=0'
env: 'development'
title: 'Bumpin.js'
site_description: "Affect DOM elements with the Web Audio API"
site_keywords: ["bumpin.js", "audio", "visualizer", "dancer", "codepen", "webaudio", "api"... | 185201 | module.exports = ->
port: 5000
name: '<NAME>in.js'
hosturl: 'http://localhost:5000'
cdn: './'
version: '?v=0'
env: 'development'
title: 'Bumpin.js'
site_description: "Affect DOM elements with the Web Audio API"
site_keywords: ["bumpin.js", "audio", "visualizer", "dancer", "codepen", "webaudio", "ap... | true | module.exports = ->
port: 5000
name: 'PI:NAME:<NAME>END_PIin.js'
hosturl: 'http://localhost:5000'
cdn: './'
version: '?v=0'
env: 'development'
title: 'Bumpin.js'
site_description: "Affect DOM elements with the Web Audio API"
site_keywords: ["bumpin.js", "audio", "visualizer", "dancer", "codepen", "... |
[
{
"context": "###\n mapscii - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n UI and central command cen",
"end": 61,
"score": 0.9998716115951538,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michae... | src/Mapscii.coffee | 82ndAirborneDiv/mapsc | 1 | ###
mapscii - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
UI and central command center
###
keypress = require 'keypress'
TermMouse = require 'term-mouse'
Promise = require 'bluebird'
Renderer = require './Renderer'
TileSource = require './TileSource'
utils = require './utils'
config = requ... | 189652 | ###
mapscii - Terminal Map Viewer
by <NAME> <<EMAIL>>
UI and central command center
###
keypress = require 'keypress'
TermMouse = require 'term-mouse'
Promise = require 'bluebird'
Renderer = require './Renderer'
TileSource = require './TileSource'
utils = require './utils'
config = require './config'
module.e... | true | ###
mapscii - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
UI and central command center
###
keypress = require 'keypress'
TermMouse = require 'term-mouse'
Promise = require 'bluebird'
Renderer = require './Renderer'
TileSource = require './TileSource'
utils = require './utils'
config =... |
[
{
"context": ": ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'No",
"end": 1349,
"score": 0.9301509857177734,
"start": 1344,
"tag": "NAME",
"value": "Junio"
},
{
"context": "', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio'... | app/assets/javascripts/actionable/core/constants.js.coffee | pawelszymanski/actionable-gem | 1 | class Constants
constructor: ->
@STRING = '_string'
@INTEGER_POSITIVE = '_integer_positive'
@INTEGER_NOT_NEGATIVE = '_integer_not_negative'
@BOOLEAN = '_boolean'
@REGEXP = '_regexp'
@REQUIRED = '_required'
@SELECTOR = '_selector'
@SELF = '_self'
@EMPTY = ''
@RESTOR... | 218901 | class Constants
constructor: ->
@STRING = '_string'
@INTEGER_POSITIVE = '_integer_positive'
@INTEGER_NOT_NEGATIVE = '_integer_not_negative'
@BOOLEAN = '_boolean'
@REGEXP = '_regexp'
@REQUIRED = '_required'
@SELECTOR = '_selector'
@SELF = '_self'
@EMPTY = ''
@RESTOR... | true | class Constants
constructor: ->
@STRING = '_string'
@INTEGER_POSITIVE = '_integer_positive'
@INTEGER_NOT_NEGATIVE = '_integer_not_negative'
@BOOLEAN = '_boolean'
@REGEXP = '_regexp'
@REQUIRED = '_required'
@SELECTOR = '_selector'
@SELF = '_self'
@EMPTY = ''
@RESTOR... |
[
{
"context": "ole.log sentence()\n\nclass Person\n constructor: (@name) ->\n\n greet: ->\n Action.say -> \"My name is #{",
"end": 97,
"score": 0.8354071378707886,
"start": 93,
"tag": "USERNAME",
"value": "name"
},
{
"context": "ame) ->\n\n greet: ->\n Action.say -> \"My name... | code/coffeescript/method-block-binding.coffee | evmorov/ruby-coffeescript | 29 | class Action
@say: (sentence) ->
console.log sentence()
class Person
constructor: (@name) ->
greet: ->
Action.say -> "My name is #{@name}!"
Action.say => "My name is #{@name}!"
new Person('Alex').greet()
| 112558 | class Action
@say: (sentence) ->
console.log sentence()
class Person
constructor: (@name) ->
greet: ->
Action.say -> "My name is<NAME> #{@name}!"
Action.say => "My name is<NAME> #{@name}!"
new Person('<NAME>').greet()
| true | class Action
@say: (sentence) ->
console.log sentence()
class Person
constructor: (@name) ->
greet: ->
Action.say -> "My name isPI:NAME:<NAME>END_PI #{@name}!"
Action.say => "My name isPI:NAME:<NAME>END_PI #{@name}!"
new Person('PI:NAME:<NAME>END_PI').greet()
|
[
{
"context": "# Author: Vishnu Raghav B\n# apps@vishnuraghav.com\n\n# NativeScript-Vue snipp",
"end": 25,
"score": 0.9998897910118103,
"start": 10,
"tag": "NAME",
"value": "Vishnu Raghav B"
},
{
"context": "# Author: Vishnu Raghav B\n# apps@vishnuraghav.com\n\n# NativeScript-Vue snip... | snippets/nativescript-vue-atom-snippets.cson | vishnuraghavb/nativescript-vue-atom-snippets | 0 | # Author: Vishnu Raghav B
# apps@vishnuraghav.com
# NativeScript-Vue snippets
'.text.html.vue':
# Layouts
'{N}-vue AbsoluteLayout':
'prefix': 'nsabsolute'
'body': """
<AbsoluteLayout>
$1
</AbsoluteLayout>
"""
'{N}-vue DockLayout':
'prefix': 'n... | 113634 | # Author: <NAME>
# <EMAIL>
# NativeScript-Vue snippets
'.text.html.vue':
# Layouts
'{N}-vue AbsoluteLayout':
'prefix': 'nsabsolute'
'body': """
<AbsoluteLayout>
$1
</AbsoluteLayout>
"""
'{N}-vue DockLayout':
'prefix': 'nsdock'
'body': """
... | true | # Author: PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
# NativeScript-Vue snippets
'.text.html.vue':
# Layouts
'{N}-vue AbsoluteLayout':
'prefix': 'nsabsolute'
'body': """
<AbsoluteLayout>
$1
</AbsoluteLayout>
"""
'{N}-vue DockLayout':
'prefi... |
[
{
"context": "Validate closing bracket location in JSX\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 89,
"score": 0.9998583197593689,
"start": 72,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/jsx-closing-bracket-location.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate closing bracket location in JSX
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-cl... | 108629 | ###*
# @fileoverview Validate closing bracket location in JSX
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-closing-brack... | true | ###*
# @fileoverview Validate closing bracket location in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx... |
[
{
"context": "uin\": process.env.HUBOT_ICQ_UIN,\n \"password\": process.env.HUBOT_ICQ_PASSWORD,\n \"token\": \"ic1rtwz1s1Hj1O0r\"\n )\n im.o",
"end": 629,
"score": 0.9534376263618469,
"start": 599,
"tag": "PASSWORD",
"value": "process.env.HUBOT_ICQ_PASSWORD"
},
{
"con... | src/hubot-icq.coffee | sclown/hubot-icq | 0 | try
{Robot,Adapter,TextMessage,User} = require 'hubot'
catch
prequire = require('parent-require')
{Robot,Adapter,TextMessage,User} = prequire 'hubot'
ICQ = require('node-icq')
class Icq extends Adapter
constructor: ->
super
@robot.logger.info "Constructor"
send: (user, strings...) ->
@robot... | 205280 | try
{Robot,Adapter,TextMessage,User} = require 'hubot'
catch
prequire = require('parent-require')
{Robot,Adapter,TextMessage,User} = prequire 'hubot'
ICQ = require('node-icq')
class Icq extends Adapter
constructor: ->
super
@robot.logger.info "Constructor"
send: (user, strings...) ->
@robot... | true | try
{Robot,Adapter,TextMessage,User} = require 'hubot'
catch
prequire = require('parent-require')
{Robot,Adapter,TextMessage,User} = prequire 'hubot'
ICQ = require('node-icq')
class Icq extends Adapter
constructor: ->
super
@robot.logger.info "Constructor"
send: (user, strings...) ->
@robot... |
[
{
"context": "s['caron'] =\n\tglyphName: \"caron\"\n\tcharacterName: \"CARON\"\n\tanchors:\n\t\t0:\n\t\t\tx: parentAnchors[0].x\n\t\t\ty: pa",
"end": 68,
"score": 0.9778661727905273,
"start": 63,
"tag": "NAME",
"value": "CARON"
}
] | src/glyphs/components/caron.coffee | byte-foundry/venus.ptf | 3 | exports.glyphs['caron'] =
glyphName: "caron"
characterName: "CARON"
anchors:
0:
x: parentAnchors[0].x
y: parentAnchors[0].y
tags: [
'component',
'diacritic'
]
components:
0:
base: 'circumflex'
parentAnchors:
0:
x: anchors[0].x
y: anchors[0].y
transformOrigin: Array( anchors[0]... | 161701 | exports.glyphs['caron'] =
glyphName: "caron"
characterName: "<NAME>"
anchors:
0:
x: parentAnchors[0].x
y: parentAnchors[0].y
tags: [
'component',
'diacritic'
]
components:
0:
base: 'circumflex'
parentAnchors:
0:
x: anchors[0].x
y: anchors[0].y
transformOrigin: Array( anchors[0... | true | exports.glyphs['caron'] =
glyphName: "caron"
characterName: "PI:NAME:<NAME>END_PI"
anchors:
0:
x: parentAnchors[0].x
y: parentAnchors[0].y
tags: [
'component',
'diacritic'
]
components:
0:
base: 'circumflex'
parentAnchors:
0:
x: anchors[0].x
y: anchors[0].y
transformOrigin: Ar... |
[
{
"context": "= uuid()\n user = \n 'userName': userName\n 'password': hash\n 'uuid': ",
"end": 1110,
"score": 0.9980335831642151,
"start": 1102,
"tag": "USERNAME",
"value": "userName"
},
{
"context": " 'userName': userName\n '... | helper.coffee | EveryoneHacks/express-coffee | 0 | bcrypt = require('bcryptjs')
whenjs = require('when')
express = require('express')
uuid = require('uuid4')
app = express()
# config = require('./config.js')
# config file should contain all tokens and other private info
#used in local-signup strategy
exports.localReg = (app) ->
(userName, password) ->
db = app.... | 127821 | bcrypt = require('bcryptjs')
whenjs = require('when')
express = require('express')
uuid = require('uuid4')
app = express()
# config = require('./config.js')
# config file should contain all tokens and other private info
#used in local-signup strategy
exports.localReg = (app) ->
(userName, password) ->
db = app.... | true | bcrypt = require('bcryptjs')
whenjs = require('when')
express = require('express')
uuid = require('uuid4')
app = express()
# config = require('./config.js')
# config file should contain all tokens and other private info
#used in local-signup strategy
exports.localReg = (app) ->
(userName, password) ->
db = app.... |
[
{
"context": " 'ns:Key': @key\n 'ns:Password': @password\n 'ns:ClientDetail':\n 'ns:AccountN",
"end": 823,
"score": 0.9764343500137329,
"start": 814,
"tag": "PASSWORD",
"value": "@password"
}
] | src/fedex.coffee | lyxsus/shipit | 0 | {Builder, Parser} = require 'xml2js'
{find} = require 'underscore'
moment = require 'moment-timezone'
{titleCase} = require 'change-case'
{ShipperClient} = require './shipper'
class FedexClient extends ShipperClient
constructor: ({@key, @password, @account, @meter}, @options) ->
super()
@parser = new Parser... | 117393 | {Builder, Parser} = require 'xml2js'
{find} = require 'underscore'
moment = require 'moment-timezone'
{titleCase} = require 'change-case'
{ShipperClient} = require './shipper'
class FedexClient extends ShipperClient
constructor: ({@key, @password, @account, @meter}, @options) ->
super()
@parser = new Parser... | true | {Builder, Parser} = require 'xml2js'
{find} = require 'underscore'
moment = require 'moment-timezone'
{titleCase} = require 'change-case'
{ShipperClient} = require './shipper'
class FedexClient extends ShipperClient
constructor: ({@key, @password, @account, @meter}, @options) ->
super()
@parser = new Parser... |
[
{
"context": "ation helpers\n#\n# Nodize CMS\n# https://github.com/hypee/nodize\n#\n# Copyright 2012, Hypee\n# http://hypee.c",
"end": 73,
"score": 0.9994912147521973,
"start": 68,
"tag": "USERNAME",
"value": "hypee"
},
{
"context": "ttps://github.com/hypee/nodize\n#\n# Copyright 201... | modules/ionize/helpers/helper_navigation.coffee | nodize/nodizecms | 32 | #
# Nodize - navigation helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
jade = require "jade"
#*****
#* Displaying navigation
#* use @navigation.fieldName in ne... | 49788 | #
# Nodize - navigation helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
jade = require "jade"
#*****
#* Displaying navigation
#* use @navigation.fieldName in n... | true | #
# Nodize - navigation helpers
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
jade = require "jade"
#*****
#* Displaying navigation
#* use @navigation.... |
[
{
"context": "should.equal(1)\n compareVer.lt(\"1.7.0.2\", \"1.7.0.10\").should.equal(1)\n\n it 'compare 5', ->\n ",
"end": 1085,
"score": 0.9755693674087524,
"start": 1077,
"tag": "IP_ADDRESS",
"value": "1.7.0.10"
}
] | node_modules/compare-ver/tests/lt.coffee | gthememarket/ghost_local_themesxxx | 3 | if typeof require == 'function'
should = require('should')
compareVer = require('../index')
describe 'compareVer #lt', ->
it 'compare 0', ->
compareVer.lt("1.7.2","1.7.1").should.equal(-1)
compareVer.lt("1.7.10","1.7.1").should.equal(-1)
compareVer.lt("1.8.0", "1.7.10").should.equal(... | 61800 | if typeof require == 'function'
should = require('should')
compareVer = require('../index')
describe 'compareVer #lt', ->
it 'compare 0', ->
compareVer.lt("1.7.2","1.7.1").should.equal(-1)
compareVer.lt("1.7.10","1.7.1").should.equal(-1)
compareVer.lt("1.8.0", "1.7.10").should.equal(... | true | if typeof require == 'function'
should = require('should')
compareVer = require('../index')
describe 'compareVer #lt', ->
it 'compare 0', ->
compareVer.lt("1.7.2","1.7.1").should.equal(-1)
compareVer.lt("1.7.10","1.7.1").should.equal(-1)
compareVer.lt("1.8.0", "1.7.10").should.equal(... |
[
{
"context": "n. Begin eens met je naam, bijvoorbeeld\\nnaam = \\\"Henk\\\"\",\n answer: /naam\\s*=\\s*\\\"[\\w\\s]*\\\"/,\n ",
"end": 220,
"score": 0.998333752155304,
"start": 216,
"tag": "NAME",
"value": "Henk"
},
{
"context": "ekje, gevolgd door accolades. Bijvoorbeeld zo... | _coffeescripts/interactive_lessons/hoofdstuk1.coffee | b1592/b1592.github.io | 2 | this.lesson = new Lesson([
new Question(
{
description: "Laten we bij het begin beginnen! In Ruby kun je makkelijk variabelen gebruiken om iets op te slaan. Begin eens met je naam, bijvoorbeeld\nnaam = \"Henk\"",
answer: /naam\s*=\s*\"[\w\s]*\"/,
possible_errors: {
quotes_vergeten: /^n... | 200632 | this.lesson = new Lesson([
new Question(
{
description: "Laten we bij het begin beginnen! In Ruby kun je makkelijk variabelen gebruiken om iets op te slaan. Begin eens met je naam, bijvoorbeeld\nnaam = \"<NAME>\"",
answer: /naam\s*=\s*\"[\w\s]*\"/,
possible_errors: {
quotes_vergeten: /... | true | this.lesson = new Lesson([
new Question(
{
description: "Laten we bij het begin beginnen! In Ruby kun je makkelijk variabelen gebruiken om iets op te slaan. Begin eens met je naam, bijvoorbeeld\nnaam = \"PI:NAME:<NAME>END_PI\"",
answer: /naam\s*=\s*\"[\w\s]*\"/,
possible_errors: {
quot... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998464584350586,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/securing.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 73741 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": " in using token'\n REQUEST_NEW_PASSWORD : 'requested a new password'\n CHANGED_PASSWORD : 'changed their p",
"end": 1084,
"score": 0.9989653825759888,
"start": 1060,
"tag": "PASSWORD",
"value": "requested a new password"
},
{
"context": " a new passw... | workers/social/lib/social/models/tracker.coffee | ezgikaysi/koding | 1 | bongo = require 'bongo'
KodingError = require '../error'
KodingLogger = require './kodinglogger'
{ secure, signature } = bongo
_ = require 'lodash'
KONFIG = require 'koding-config-manager'
{ socialapi } = KONFIG
exchangeName = "#{socialapi.eventExchangeName}:0"
exchangeOpts = { autoDelete: no, durab... | 75971 | bongo = require 'bongo'
KodingError = require '../error'
KodingLogger = require './kodinglogger'
{ secure, signature } = bongo
_ = require 'lodash'
KONFIG = require 'koding-config-manager'
{ socialapi } = KONFIG
exchangeName = "#{socialapi.eventExchangeName}:0"
exchangeOpts = { autoDelete: no, durab... | true | bongo = require 'bongo'
KodingError = require '../error'
KodingLogger = require './kodinglogger'
{ secure, signature } = bongo
_ = require 'lodash'
KONFIG = require 'koding-config-manager'
{ socialapi } = KONFIG
exchangeName = "#{socialapi.eventExchangeName}:0"
exchangeOpts = { autoDelete: no, durab... |
[
{
"context": "re is licensed under the MIT License.\n\n Copyright Fedor Indutny, 2011.\n\n Permission is hereby granted, free of c",
"end": 121,
"score": 0.9994741678237915,
"start": 108,
"tag": "NAME",
"value": "Fedor Indutny"
}
] | node_modules/index/lib/index/memory-storage.coffee | beshrkayali/monkey-release-action | 12 | ###
Memory storage for Node Index Module
This software is licensed under the MIT License.
Copyright Fedor Indutny, 2011.
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 restr... | 5810 | ###
Memory storage for Node Index Module
This software is licensed under the MIT License.
Copyright <NAME>, 2011.
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,... | true | ###
Memory storage for Node Index Module
This software is licensed under the MIT License.
Copyright PI:NAME:<NAME>END_PI, 2011.
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 withou... |
[
{
"context": "ther assistance please contact the Species team on species@unep-wcmc.org')\n error: (error) ->\n console.log(err",
"end": 416,
"score": 0.9999316930770874,
"start": 395,
"tag": "EMAIL",
"value": "species@unep-wcmc.org"
}
] | app/assets/javascripts/trade/mixins/authorise_user.js.coffee | unepwcmc/SAPI | 6 | Trade.AuthoriseUser = Ember.Mixin.create
userCanEdit: (callback) ->
$.ajax({
type: 'GET'
url: "/trade/user_can_edit"
data: {}
dataType: 'json'
success: (response) =>
if response.can_edit
callback()
else
alert('It is not possible to perform this ac... | 136507 | Trade.AuthoriseUser = Ember.Mixin.create
userCanEdit: (callback) ->
$.ajax({
type: 'GET'
url: "/trade/user_can_edit"
data: {}
dataType: 'json'
success: (response) =>
if response.can_edit
callback()
else
alert('It is not possible to perform this ac... | true | Trade.AuthoriseUser = Ember.Mixin.create
userCanEdit: (callback) ->
$.ajax({
type: 'GET'
url: "/trade/user_can_edit"
data: {}
dataType: 'json'
success: (response) =>
if response.can_edit
callback()
else
alert('It is not possible to perform this ac... |
[
{
"context": "und the JSX opening and closing brackets\n# @author Diogo Franco (Kovensky)\n###\n'use strict'\n\ngetTokenBeforeClosin",
"end": 115,
"score": 0.9998567700386047,
"start": 103,
"tag": "NAME",
"value": "Diogo Franco"
},
{
"context": "ing and closing brackets\n# @author Di... | src/rules/jsx-tag-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validates whitespace in and around the JSX opening and closing brackets
# @author Diogo Franco (Kovensky)
###
'use strict'
getTokenBeforeClosingBracket = require(
'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'
)
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# -----------... | 77564 | ###*
# @fileoverview Validates whitespace in and around the JSX opening and closing brackets
# @author <NAME> (K<NAME>)
###
'use strict'
getTokenBeforeClosingBracket = require(
'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'
)
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------... | true | ###*
# @fileoverview Validates whitespace in and around the JSX opening and closing brackets
# @author PI:NAME:<NAME>END_PI (KPI:NAME:<NAME>END_PI)
###
'use strict'
getTokenBeforeClosingBracket = require(
'eslint-plugin-react/lib/util/getTokenBeforeClosingBracket'
)
docsUrl = require 'eslint-plugin-react/lib/util/do... |
[
{
"context": " \"byline\"\n fullNames: \n knowtheory: \"Ted Han\"\n davidherzog: \"David Herzog\"\n janetsaidi",
"end": 129,
"score": 0.9998791813850403,
"start": 122,
"tag": "NAME",
"value": "Ted Han"
},
{
"context": "\n knowtheory: \"Ted Han\"\n davidh... | assets/javascripts/views/username.coffee | knowtheory/projectopenvault | 0 | POV.views.Byline = Backbone.View.extend
tagName: "span"
className: "byline"
fullNames:
knowtheory: "Ted Han"
davidherzog: "David Herzog"
janetsaidi: "Janet Saidi"
joyandstuff: "Joy Mayer"
mfpatane: "Matthew Patane"
ryanfamuliner: "Ryan Famuliner"
scottphamkbia: ... | 85488 | POV.views.Byline = Backbone.View.extend
tagName: "span"
className: "byline"
fullNames:
knowtheory: "<NAME>"
davidherzog: "<NAME>"
janetsaidi: "<NAME>"
joyandstuff: "<NAME>"
mfpatane: "<NAME>"
ryanfamuliner: "<NAME>"
scottphamkbia: "<NAME>"
swaffords: "<N... | true | POV.views.Byline = Backbone.View.extend
tagName: "span"
className: "byline"
fullNames:
knowtheory: "PI:NAME:<NAME>END_PI"
davidherzog: "PI:NAME:<NAME>END_PI"
janetsaidi: "PI:NAME:<NAME>END_PI"
joyandstuff: "PI:NAME:<NAME>END_PI"
mfpatane: "PI:NAME:<NAME>END_PI"
ryan... |
[
{
"context": " require 'assert'\n\nconnString = 'mongodb://heroku:flk3ungh0x3anflx1bab@staff.mongohq.com:10092/app1321916260066'\nexpectedCommand = \"mongod",
"end": 96,
"score": 0.9048569798469543,
"start": 58,
"tag": "EMAIL",
"value": "flk3ungh0x3anflx1bab@staff.mongohq.com"
},
{
"... | test/makeDumpCommand.coffee | Trippnology/mongo-utils | 0 | assert = require 'assert'
connString = 'mongodb://heroku:flk3ungh0x3anflx1bab@staff.mongohq.com:10092/app1321916260066'
expectedCommand = "mongodump --db app1321916260066 --host staff.mongohq.com:10092 --username heroku --password flk3ungh0x3anflx1bab --out /dumps/mongodb/some-backup"
dirName = '/dumps/mongodb/some-ba... | 184163 | assert = require 'assert'
connString = 'mongodb://heroku:<EMAIL>:10092/app1321916260066'
expectedCommand = "mongodump --db app1321916260066 --host staff.mongohq.com:10092 --username heroku --password <PASSWORD> --out /dumps/mongodb/some-backup"
dirName = '/dumps/mongodb/some-backup'
utils = require '../'
describe 'm... | true | assert = require 'assert'
connString = 'mongodb://heroku:PI:EMAIL:<EMAIL>END_PI:10092/app1321916260066'
expectedCommand = "mongodump --db app1321916260066 --host staff.mongohq.com:10092 --username heroku --password PI:PASSWORD:<PASSWORD>END_PI --out /dumps/mongodb/some-backup"
dirName = '/dumps/mongodb/some-backup'
u... |
[
{
"context": "PR_TOKEN\n process.env.GH_RELEASE_PR_TOKEN = 'bogus-token'\n\n @subject = params.toAuth()\n\n ",
"end": 1835,
"score": 0.4911060929298401,
"start": 1833,
"tag": "PASSWORD",
"value": "bo"
},
{
"context": "ame: 'foo'}\n\n assert.equal @subject.user, 'u... | test/params-test.coffee | banyan/hubot-gh-release-pr | 3 | assert = require 'power-assert'
params = require '../src/params'
describe 'params', ->
describe 'toInit', ->
context 'without ENV', ->
beforeEach ->
@subject = params.toInit()
it 'gets expected values', ->
assert.equal @subject.version, '3.0.0'
assert.equal @subject.protocol,... | 153219 | assert = require 'power-assert'
params = require '../src/params'
describe 'params', ->
describe 'toInit', ->
context 'without ENV', ->
beforeEach ->
@subject = params.toInit()
it 'gets expected values', ->
assert.equal @subject.version, '3.0.0'
assert.equal @subject.protocol,... | true | assert = require 'power-assert'
params = require '../src/params'
describe 'params', ->
describe 'toInit', ->
context 'without ENV', ->
beforeEach ->
@subject = params.toInit()
it 'gets expected values', ->
assert.equal @subject.version, '3.0.0'
assert.equal @subject.protocol,... |
[
{
"context": "00 - 19.00'\n }\n {\n description: 'Pau Garcia | Domestic Data Streamers'\n time: '19.00 -",
"end": 1583,
"score": 0.9992954134941101,
"start": 1573,
"tag": "NAME",
"value": "Pau Garcia"
},
{
"context": "00 - 20.00'\n }\n {\n des... | docpad.coffee | phillchill/sensorium.is | 0 | module.exports =
prompts: false
templateData:
conf:
name: 'Sensorium 2016'
description: 'Sensorium festival is a celebration of art and science taking place in Bratislava'
date: 'April 19'
price: '€10'
venue: 'Berlinka, Slovenská Národná Galéria'
address: 'Námestie Ľudovíta Š... | 88981 | module.exports =
prompts: false
templateData:
conf:
name: 'Sensorium 2016'
description: 'Sensorium festival is a celebration of art and science taking place in Bratislava'
date: 'April 19'
price: '€10'
venue: 'Berlinka, Slovenská Národná Galéria'
address: 'Námestie Ľudovíta Š... | true | module.exports =
prompts: false
templateData:
conf:
name: 'Sensorium 2016'
description: 'Sensorium festival is a celebration of art and science taking place in Bratislava'
date: 'April 19'
price: '€10'
venue: 'Berlinka, Slovenská Národná Galéria'
address: 'Námestie Ľudovíta Š... |
[
{
"context": "###\n@author Nicholas Sardo <gcc.programmer@gmail.com>\n©2018 \n###\n\nimport { T",
"end": 26,
"score": 0.9998924136161804,
"start": 12,
"tag": "NAME",
"value": "Nicholas Sardo"
},
{
"context": "###\n@author Nicholas Sardo <gcc.programmer@gmail.com>\n©2018 \n###\n\nimpo... | client/main.coffee | nsardo/meteor-1.8-coffeescript-example | 0 | ###
@author Nicholas Sardo <gcc.programmer@gmail.com>
©2018
###
import { Template } from 'meteor/templating'
import { Meteor } from 'meteor/meteor'
import './main.coffee'
Template.hello.onCreated =
Session.setDefault 'counter', 0
Template.hello.helpers
counter: -> Session.get 'counter'
records: -> Session.get... | 169967 | ###
@author <NAME> <<EMAIL>>
©2018
###
import { Template } from 'meteor/templating'
import { Meteor } from 'meteor/meteor'
import './main.coffee'
Template.hello.onCreated =
Session.setDefault 'counter', 0
Template.hello.helpers
counter: -> Session.get 'counter'
records: -> Session.get 'records'
Template.hell... | true | ###
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
©2018
###
import { Template } from 'meteor/templating'
import { Meteor } from 'meteor/meteor'
import './main.coffee'
Template.hello.onCreated =
Session.setDefault 'counter', 0
Template.hello.helpers
counter: -> Session.get 'counter'
records: -> Session... |
[
{
"context": "key_Z = 90\n key_questionmark = 191\n\n key_num = [48, 49, 50, 51, 52 ,53 ,54 ,55, 56, 57]\n key_numpad",
"end": 6549,
"score": 0.9314455389976501,
"start": 6547,
"tag": "KEY",
"value": "48"
},
{
"context": "Z = 90\n key_questionmark = 191\n\n key_num = [48, 49, 50... | src/EventHandlers.coffee | dunkelziffer/Roofpig | 0 | #= require utils
#= require OneChange
#This is all page wide data and functions.
class EventHandlers
@initialized = false
@set_focus: (new_focus) ->
if @_focus != new_focus
@dom.has_focus(false) if @_focus
@_focus = new_focus
unless @focus().is_null
@camera = @_focus.world3d.camera
... | 204734 | #= require utils
#= require OneChange
#This is all page wide data and functions.
class EventHandlers
@initialized = false
@set_focus: (new_focus) ->
if @_focus != new_focus
@dom.has_focus(false) if @_focus
@_focus = new_focus
unless @focus().is_null
@camera = @_focus.world3d.camera
... | true | #= require utils
#= require OneChange
#This is all page wide data and functions.
class EventHandlers
@initialized = false
@set_focus: (new_focus) ->
if @_focus != new_focus
@dom.has_focus(false) if @_focus
@_focus = new_focus
unless @focus().is_null
@camera = @_focus.world3d.camera
... |
[
{
"context": ":\n# Coconut pictures, based on\n# Applause from Orson Welles and others\n#\n# Dependencies:\n# None\n#\n# Configu",
"end": 76,
"score": 0.9961780309677124,
"start": 64,
"tag": "NAME",
"value": "Orson Welles"
},
{
"context": "s:\n# coconut - Get coconut image\n#... | scripts/coconut.coffee | mxlje/ben | 0 | # Description:
# Coconut pictures, based on
# Applause from Orson Welles and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# coconut - Get coconut image
#
# Author:
# mxlje
images = [
"http://i.imgur.com/wyGu3R4.jpg",
"http://i.imgur.com/eDVVKXZ.jpg",
"http://i.imgur.com/1rb... | 150876 | # Description:
# Coconut pictures, based on
# Applause from <NAME> and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# coconut - Get coconut image
#
# Author:
# mxlje
images = [
"http://i.imgur.com/wyGu3R4.jpg",
"http://i.imgur.com/eDVVKXZ.jpg",
"http://i.imgur.com/1rbE6Gt.j... | true | # Description:
# Coconut pictures, based on
# Applause from PI:NAME:<NAME>END_PI and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# coconut - Get coconut image
#
# Author:
# mxlje
images = [
"http://i.imgur.com/wyGu3R4.jpg",
"http://i.imgur.com/eDVVKXZ.jpg",
"http://i.imgur... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999912440776825,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/search.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Search
constructor: ->
@debouncedSubmitInput = _.debounce @submitInput, 500
$(document).on 'click', '.js-search--forum-options-... | 213225 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Search
constructor: ->
@debouncedSubmitInput = _.debounce @submitInput, 500
$(document).on 'click', '.js-search--forum-options-reset',... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Search
constructor: ->
@debouncedSubmitInput = _.debounce @submitInput, 500
$(document).on 'click', '.js-search--forum-... |
[
{
"context": "key: 'math-inline'\npatterns: [\n\n name: 'inline.math.markup.md'\n m",
"end": 17,
"score": 0.9337267875671387,
"start": 6,
"tag": "KEY",
"value": "math-inline"
}
] | grammars/repositories/flavors/math-inline.cson | doc22940/language-markdown | 138 | key: 'math-inline'
patterns: [
name: 'inline.math.markup.md'
match: '(\\$)(?! )(.+?)(?<! )(\\$)(?!\\d)'
captures:
1: name: 'punctuation.md'
2: patterns: [{ include: 'text.tex.latex' }]
3: name: 'punctuation.md'
]
| 72273 | key: '<KEY>'
patterns: [
name: 'inline.math.markup.md'
match: '(\\$)(?! )(.+?)(?<! )(\\$)(?!\\d)'
captures:
1: name: 'punctuation.md'
2: patterns: [{ include: 'text.tex.latex' }]
3: name: 'punctuation.md'
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
name: 'inline.math.markup.md'
match: '(\\$)(?! )(.+?)(?<! )(\\$)(?!\\d)'
captures:
1: name: 'punctuation.md'
2: patterns: [{ include: 'text.tex.latex' }]
3: name: 'punctuation.md'
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.