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": "er a valid email address'\n\n @input.setValue 'test@koding.com'\n\n should(KDInputValidator.ruleEmail(@input)",
"end": 1120,
"score": 0.9999229311943054,
"start": 1105,
"tag": "EMAIL",
"value": "test@koding.com"
}
] | test/components/inputs/inputvalidator.coffee | awsapps/kd | 62 | should = require 'should'
sinon = require 'sinon'
shouldSinon = require 'should-sinon'
KDInputValidator = require '../../../lib/components/inputs/inputvalidator'
KDInputView = require '../../../lib/components/inputs/inputview'
describe 'KDInputValidator', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@ins... | 129049 | should = require 'should'
sinon = require 'sinon'
shouldSinon = require 'should-sinon'
KDInputValidator = require '../../../lib/components/inputs/inputvalidator'
KDInputView = require '../../../lib/components/inputs/inputview'
describe 'KDInputValidator', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@ins... | true | should = require 'should'
sinon = require 'sinon'
shouldSinon = require 'should-sinon'
KDInputValidator = require '../../../lib/components/inputs/inputvalidator'
KDInputView = require '../../../lib/components/inputs/inputview'
describe 'KDInputValidator', ->
beforeEach ->
@sinon = sinon.sandbox.create()
@ins... |
[
{
"context": "string.\ngeocode = (location, callback)->\n key = \"geocode.#{location.toLowerCase().trim().replace(/\\s+/g, \"+\")}\"\n redis.hgetall key, (error, property)->\n",
"end": 821,
"score": 0.7767640948295593,
"start": 767,
"tag": "KEY",
"value": "geocode.#{location.toLowerCase().... | server/lib/geocode.coffee | assaf/vanity.js | 2 | # Geocodes free-form location.
#
# Exports a single method that geocodes a string. If successul, passes one result to callback consisting of:
# * displayName - Canonical form of location
# * lat - Latitude
# * lon - Longitude
QS = require("querystring")
Request = require("request")
redis = req... | 160031 | # Geocodes free-form location.
#
# Exports a single method that geocodes a string. If successul, passes one result to callback consisting of:
# * displayName - Canonical form of location
# * lat - Latitude
# * lon - Longitude
QS = require("querystring")
Request = require("request")
redis = req... | true | # Geocodes free-form location.
#
# Exports a single method that geocodes a string. If successul, passes one result to callback consisting of:
# * displayName - Canonical form of location
# * lat - Latitude
# * lon - Longitude
QS = require("querystring")
Request = require("request")
redis = req... |
[
{
"context": "nd get user', (next) ->\n user1 =\n email: 'dorian@ethylocle.com'\n password: '1234'\n client = db \"#{__dirn",
"end": 278,
"score": 0.999929666519165,
"start": 258,
"tag": "EMAIL",
"value": "dorian@ethylocle.com"
},
{
"context": " email: 'dorian@ethyl... | lib/model/levelDB/test/down.coffee | dorianb/Web-application---Ethylocl- | 0 | rimraf = require 'rimraf'
should = require 'should'
Up = require '../down'
describe 'Down levelDB Model', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../db/tmp/user", next
###it 'Insert and get user', (next) ->
user1 =
email: 'dorian@ethylocle.com'
password: '1234'
client = db "... | 47428 | rimraf = require 'rimraf'
should = require 'should'
Up = require '../down'
describe 'Down levelDB Model', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../db/tmp/user", next
###it 'Insert and get user', (next) ->
user1 =
email: '<EMAIL>'
password: '<PASSWORD>'
client = db "#{__dir... | true | rimraf = require 'rimraf'
should = require 'should'
Up = require '../down'
describe 'Down levelDB Model', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../db/tmp/user", next
###it 'Insert and get user', (next) ->
user1 =
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD... |
[
{
"context": "---------------------------\n# An implementation of Chris Okasaki's functional real-time\n# double-ended queue with ",
"end": 107,
"score": 0.9219012260437012,
"start": 94,
"tag": "NAME",
"value": "Chris Okasaki"
},
{
"context": "ution time\n# per operation.\n#\n# Copyr... | examples/dequeue.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# An implementation of Chris Okasaki's functional real-time
# double-ended queue with constant amortized persistent execution time
# per operation.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)
# -----------------------------------... | 214727 | # --------------------------------------------------------------------
# An implementation of <NAME>'s functional real-time
# double-ended queue with constant amortized persistent execution time
# per operation.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# ------------------------------------------------------------------... | true | # --------------------------------------------------------------------
# An implementation of PI:NAME:<NAME>END_PI's functional real-time
# double-ended queue with constant amortized persistent execution time
# per operation.
#
# Copyright (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# -----------------------... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998611211776733,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | test/namespaces-test.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... | 119302 | #
# 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": " \"redis://localhost:#{REDIS_PORT}/1\"\n key: \"SMTests\"\n\ndescribe \"Redis\", ->\n redis = null\n befor",
"end": 304,
"score": 0.9989941120147705,
"start": 297,
"tag": "KEY",
"value": "SMTests"
},
{
"context": ".kill()\n\n redis = Redis.createClien... | test/redis.coffee | firebrandv2/FirebrandNetwork.ga | 342 | RedisManager = $src "redis"
RedisConfig = $src "redis_config"
MasterHelper = require "./helpers/master"
Redis = require "redis"
debug = require("debug")("sm:tests:redis")
REDIS_PORT = process.env.REDIS_PORT || 9999
config =
server: "redis://localhost:#{REDIS_PORT}/1"
key: "SMTests"
describe "Red... | 168283 | RedisManager = $src "redis"
RedisConfig = $src "redis_config"
MasterHelper = require "./helpers/master"
Redis = require "redis"
debug = require("debug")("sm:tests:redis")
REDIS_PORT = process.env.REDIS_PORT || 9999
config =
server: "redis://localhost:#{REDIS_PORT}/1"
key: "<KEY>"
describe "Redis... | true | RedisManager = $src "redis"
RedisConfig = $src "redis_config"
MasterHelper = require "./helpers/master"
Redis = require "redis"
debug = require("debug")("sm:tests:redis")
REDIS_PORT = process.env.REDIS_PORT || 9999
config =
server: "redis://localhost:#{REDIS_PORT}/1"
key: "PI:KEY:<KEY>END_PI"
de... |
[
{
"context": "map( @fixKey ) if not @isArray path\n\t\t\tkey = path.pop()\n\t\t\tpath.reverse()\n\n\t\t\tparent = @invito obj, pat",
"end": 2263,
"score": 0.7513716220855713,
"start": 2260,
"tag": "KEY",
"value": "pop"
}
] | coffee/src/patronum.coffee | csidro/Objectinator | 1 | ((context, factory)->
if typeof define is 'function' and define.amd
define([], factory);
else if typeof module isnt 'undefined' and module.exports
module.exports = factory()
else
context["objectoPatronum"] = factory()
return
)(@, () ->
###
# ObjectoPatronum is a tree helper
###
objectoPatronum = (->
... | 140978 | ((context, factory)->
if typeof define is 'function' and define.amd
define([], factory);
else if typeof module isnt 'undefined' and module.exports
module.exports = factory()
else
context["objectoPatronum"] = factory()
return
)(@, () ->
###
# ObjectoPatronum is a tree helper
###
objectoPatronum = (->
... | true | ((context, factory)->
if typeof define is 'function' and define.amd
define([], factory);
else if typeof module isnt 'undefined' and module.exports
module.exports = factory()
else
context["objectoPatronum"] = factory()
return
)(@, () ->
###
# ObjectoPatronum is a tree helper
###
objectoPatronum = (->
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998635053634644,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/selection.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# selectText functionality for plugins to select text
# in order to create undoable actions
jQuery.extend jQuery.fn ,
selectText: ->
element = this[0... | 190180 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# selectText functionality for plugins to select text
# in order to create undoable actions
jQuery.extend jQuery.fn ,
selectText: ->
element = this[0]
i... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# selectText functionality for plugins to select text
# in order to create undoable actions
jQuery.extend jQuery.fn ,
selectText: ->
element =... |
[
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\n###\n\nfs = requi",
"end": 37,
"score": 0.999853253364563,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Lice... | test/parser.coffee | narayand4/node-csv-parser | 1 |
###
Test CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'parser', ->
it 'should handle empty lines', (next) ->
count = 0
csv()
.from.string("""
... | 41904 |
###
Test CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'parser', ->
it 'should handle empty lines', (next) ->
count = 0
csv()
.from.string("""
... | true |
###
Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'parser', ->
it 'should handle empty lines', (next) ->
count = 0
csv()
.from... |
[
{
"context": " = options.sync\n BASE_COUNT = 5\n\n PICK_KEYS = ['id', 'name']\n\n describe \"hasMany #{options.$paramet",
"end": 631,
"score": 0.7673146724700928,
"start": 629,
"tag": "KEY",
"value": "id"
},
{
"context": "ship (belongsTo)', (done) ->\n related_key = 'reverses... | test/spec/sync/relational/has_many.tests.coffee | dk-dev/backbone-orm | 54 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | 67466 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | true | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7774869203567505,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/no/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/no_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 176734 | bcv_parser = require("../../js/no_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/no_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "rs (dot) noreply (dot) github (dot) com\n# @Author: Ben Mz\n\n# Licensed under the Apache License, Version 2.0",
"end": 101,
"score": 0.9997679591178894,
"start": 95,
"tag": "NAME",
"value": "Ben Mz"
}
] | Disk_action.coffee | x42en/Disk_action | 0 | # Copyright [2017]
# @Email: x42en (at) users (dot) noreply (dot) github (dot) com
# @Author: Ben Mz
# 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/LICE... | 106284 | # Copyright [2017]
# @Email: x42en (at) users (dot) noreply (dot) github (dot) com
# @Author: <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/LICE... | true | # Copyright [2017]
# @Email: x42en (at) users (dot) noreply (dot) github (dot) com
# @Author: 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... |
[
{
"context": "sh cb\n\n \n makeHolder: (str) ->\n key = \"|\\r\" + @uniqid + @id + \"\\r|\"\n @id += 1\n ",
"end": 3554,
"score": 0.9819207191467285,
"start": 3553,
"tag": "KEY",
"value": "\""
},
{
"context": " cb\n\n \n makeHolder: (str) ->\n key ... | src/Parser.coffee | SegmentFault/HyperDown.js | 450 |
class Parser
# begin php function wrappers
ucfirst = (str) ->
(str.charAt 0).toUpperCase() + str.substring 1
preg_quote = (str) -> str.replace /[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"
str_replace = (search, replace, str) ->
if search instanceof Array
if replace ... | 17025 |
class Parser
# begin php function wrappers
ucfirst = (str) ->
(str.charAt 0).toUpperCase() + str.substring 1
preg_quote = (str) -> str.replace /[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"
str_replace = (search, replace, str) ->
if search instanceof Array
if replace ... | true |
class Parser
# begin php function wrappers
ucfirst = (str) ->
(str.charAt 0).toUpperCase() + str.substring 1
preg_quote = (str) -> str.replace /[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"
str_replace = (search, replace, str) ->
if search instanceof Array
if replace ... |
[
{
"context": "ractive plot of pairwise recombination fractions\n# Karl W Broman\n\niplotRF = (widgetdiv, rf_data, geno, chartOpts) ",
"end": 79,
"score": 0.9998482465744019,
"start": 66,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iplotRF.coffee | Alanocallaghan/qtlcharts | 0 | # iplotRF: interactive plot of pairwise recombination fractions
# Karl W Broman
iplotRF = (widgetdiv, rf_data, geno, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart in pixels
width = chartOpts?.width ? 1000 # total width of chart... | 142279 | # iplotRF: interactive plot of pairwise recombination fractions
# <NAME>
iplotRF = (widgetdiv, rf_data, geno, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart in pixels
width = chartOpts?.width ? 1000 # total width of chart in pix... | true | # iplotRF: interactive plot of pairwise recombination fractions
# PI:NAME:<NAME>END_PI
iplotRF = (widgetdiv, rf_data, geno, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart in pixels
width = chartOpts?.width ? 1000 # total width o... |
[
{
"context": ",\n id: 'mapbox.streets',\n accessToken: 'pk.eyJ1Ijoibmlja2J1c2V5IiwiYSI6ImNqYXp4c2VvYTBzMnAyd24yMzAwenU5amYifQ.NKY12XE7DfAjEPtyNRCjYw'\n }).addTo(mymap)\n notes = Notes.find\n ",
"end": 848,
"score": 0.9997422695159912,
"start": 756,
"tag": "KEY",
"value": ... | imports/ui/components/map/map.coffee | jean/BulletNotes | 7 | { Template } = require 'meteor/templating'
{ Notes } = require '/imports/api/notes/notes.coffee'
require './map.jade'
Template.map.onRendered ->
Meteor.subscribe 'notes.view', FlowRouter.getParam 'noteId'
Meteor.subscribe 'notes.children', FlowRouter.getParam 'noteId'
NProgress.done()
setTimeout ->
mymap ... | 163075 | { Template } = require 'meteor/templating'
{ Notes } = require '/imports/api/notes/notes.coffee'
require './map.jade'
Template.map.onRendered ->
Meteor.subscribe 'notes.view', FlowRouter.getParam 'noteId'
Meteor.subscribe 'notes.children', FlowRouter.getParam 'noteId'
NProgress.done()
setTimeout ->
mymap ... | true | { Template } = require 'meteor/templating'
{ Notes } = require '/imports/api/notes/notes.coffee'
require './map.jade'
Template.map.onRendered ->
Meteor.subscribe 'notes.view', FlowRouter.getParam 'noteId'
Meteor.subscribe 'notes.children', FlowRouter.getParam 'noteId'
NProgress.done()
setTimeout ->
mymap ... |
[
{
"context": "ontent\")\nindex = require(\"./index\")\n\n###\n@author Pirhoo\n@description Home route binder\n###\nmodule.exports",
"end": 195,
"score": 0.9993042945861816,
"start": 189,
"tag": "NAME",
"value": "Pirhoo"
}
] | controllers/page.coffee | jplusplus/v1.jplusplus.org | 0 | rest = require("restler")
async = require("async")
cache = require("memory-cache")
i18n = require("i18n")
content = require("./content")
index = require("./index")
###
@author Pirhoo
@description Home route binder
###
module.exports = (app, db, controllers) ->
# GET home page.
app.get "/p/:page", ... | 16827 | rest = require("restler")
async = require("async")
cache = require("memory-cache")
i18n = require("i18n")
content = require("./content")
index = require("./index")
###
@author <NAME>
@description Home route binder
###
module.exports = (app, db, controllers) ->
# GET home page.
app.get "/p/:page", ... | true | rest = require("restler")
async = require("async")
cache = require("memory-cache")
i18n = require("i18n")
content = require("./content")
index = require("./index")
###
@author PI:NAME:<NAME>END_PI
@description Home route binder
###
module.exports = (app, db, controllers) ->
# GET home page.
app.ge... |
[
{
"context": "\n config.port = rtg.port\n config.auth.password = rtg.auth.split(':')[1]\n config\n\ngetQueue = (clientI",
"end": 330,
"score": 0.8566258549690247,
"start": 328,
"tag": "PASSWORD",
"value": "rt"
}
] | test/MQ_SendMessage.coffee | rybesh/noflo | 0 | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/SendMessage"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.pas... | 13868 | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/SendMessage"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.pas... | true | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/SendMessage"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.pas... |
[
{
"context": "bHzAquvx_5h_tK5j-WpQokOhv7JteHbPfADIIP2bQ\"\n key = BASE64.decode(addr)\n addrbin = Buffer.from(key)\n if aw",
"end": 266,
"score": 0.8015351295471191,
"start": 260,
"tag": "KEY",
"value": "BASE64"
},
{
"context": "_5h_tK5j-WpQokOhv7JteHbPfADIIP2bQ\"\n key = BASE64.... | test/index.coffee | rmw-lib/srv | 0 | #!/usr/bin/env coffee
import BASE64 from 'urlsafe-base64'
import srv from '@rmw/srv'
import redis from '@rmw/srv/redis'
import rxdb from './rxdb'
do =>
db = await rxdb()
down = await srv(db)
addr = "p4bHzAquvx_5h_tK5j-WpQokOhv7JteHbPfADIIP2bQ"
key = BASE64.decode(addr)
addrbin = Buffer.from(key)
if await ... | 122480 | #!/usr/bin/env coffee
import BASE64 from 'urlsafe-base64'
import srv from '@rmw/srv'
import redis from '@rmw/srv/redis'
import rxdb from './rxdb'
do =>
db = await rxdb()
down = await srv(db)
addr = "p4bHzAquvx_5h_tK5j-WpQokOhv7JteHbPfADIIP2bQ"
key = <KEY>.<KEY>(addr)
addrbin = Buffer.from(key)
if await re... | true | #!/usr/bin/env coffee
import BASE64 from 'urlsafe-base64'
import srv from '@rmw/srv'
import redis from '@rmw/srv/redis'
import rxdb from './rxdb'
do =>
db = await rxdb()
down = await srv(db)
addr = "p4bHzAquvx_5h_tK5j-WpQokOhv7JteHbPfADIIP2bQ"
key = PI:KEY:<KEY>END_PI.PI:KEY:<KEY>END_PI(addr)
addrbin = Buff... |
[
{
"context": "\n###\nBorrowed heavily from:\nhttps://github.com/firebase/angularFire-seed/blob/master/app/js/service.login",
"end": 55,
"score": 0.9945904612541199,
"start": 47,
"tag": "USERNAME",
"value": "firebase"
},
{
"context": "sword\",\n email: email\n passwo... | src/app/user/login.coffee | anandthakker/yawpcow | 1 |
###
Borrowed heavily from:
https://github.com/firebase/angularFire-seed/blob/master/app/js/service.login.js
###
angular.module("yawpcow.login", [
"ui.router"
"firebase"
"firebase.connection"
"yawpcow.user.profile"
]).config( ($stateProvider)->
$stateProvider.state "login",
url: "/login"
views:
... | 119401 |
###
Borrowed heavily from:
https://github.com/firebase/angularFire-seed/blob/master/app/js/service.login.js
###
angular.module("yawpcow.login", [
"ui.router"
"firebase"
"firebase.connection"
"yawpcow.user.profile"
]).config( ($stateProvider)->
$stateProvider.state "login",
url: "/login"
views:
... | true |
###
Borrowed heavily from:
https://github.com/firebase/angularFire-seed/blob/master/app/js/service.login.js
###
angular.module("yawpcow.login", [
"ui.router"
"firebase"
"firebase.connection"
"yawpcow.user.profile"
]).config( ($stateProvider)->
$stateProvider.state "login",
url: "/login"
views:
... |
[
{
"context": " ).get('length')\n ).property('commentLooks.[]', 'commentLooks.@each.taskId', 'task.id', 'commentLooks.@each.readAt')\n\n setu",
"end": 774,
"score": 0.9335386753082275,
"start": 749,
"tag": "EMAIL",
"value": "commentLooks.@each.taskId"
},
{
"context": ", 'commentLook... | app/assets/javascripts/components/card_preview_component.js.coffee | johan--/tahi | 1 | ETahi.CardPreviewComponent = Ember.Component.extend DragNDrop.Dragable,
classNameBindings: [":card", "task.completed:card--completed", "classes"]
actions:
viewCard: (task) ->
@sendAction('action', task)
removeTask: (task) ->
@sendAction('removeTask', task)
promptDelete: (task) ->
@send... | 191458 | ETahi.CardPreviewComponent = Ember.Component.extend DragNDrop.Dragable,
classNameBindings: [":card", "task.completed:card--completed", "classes"]
actions:
viewCard: (task) ->
@sendAction('action', task)
removeTask: (task) ->
@sendAction('removeTask', task)
promptDelete: (task) ->
@send... | true | ETahi.CardPreviewComponent = Ember.Component.extend DragNDrop.Dragable,
classNameBindings: [":card", "task.completed:card--completed", "classes"]
actions:
viewCard: (task) ->
@sendAction('action', task)
removeTask: (task) ->
@sendAction('removeTask', task)
promptDelete: (task) ->
@send... |
[
{
"context": "lication-window.coffee',\n resourcePath: \"/home/andrew/\",\n # resourcePath,\n devMode: false,\n sa",
"end": 285,
"score": 0.758904218673706,
"start": 279,
"tag": "NAME",
"value": "andrew"
}
] | src/window-load-settings-helpers.coffee | andrewhead/atom-for-codescoop-demo | 2 | windowLoadSettings = null
exports.getWindowLoadSettings = ->
# Hard-code window-load settings
windowLoadSettings = {
initialPaths: [],
locationsToOpen: [{}],
# windowInitializationScript: 'atom/src/initialize-application-window.coffee',
resourcePath: "/home/andrew/",
# resourcePath,
devMode... | 152914 | windowLoadSettings = null
exports.getWindowLoadSettings = ->
# Hard-code window-load settings
windowLoadSettings = {
initialPaths: [],
locationsToOpen: [{}],
# windowInitializationScript: 'atom/src/initialize-application-window.coffee',
resourcePath: "/home/<NAME>/",
# resourcePath,
devMode... | true | windowLoadSettings = null
exports.getWindowLoadSettings = ->
# Hard-code window-load settings
windowLoadSettings = {
initialPaths: [],
locationsToOpen: [{}],
# windowInitializationScript: 'atom/src/initialize-application-window.coffee',
resourcePath: "/home/PI:NAME:<NAME>END_PI/",
# resourcePat... |
[
{
"context": "eq.headers.token is (process.env.MASTER_TOKEN || \"mastersecret\")\n next()\n else\n res.forbidden \"Master tok",
"end": 105,
"score": 0.981295108795166,
"start": 93,
"tag": "PASSWORD",
"value": "mastersecret"
}
] | backend/api/policies/hasMasterToken.coffee | stepanic/fer-travel-orders-prototype | 0 | module.exports = (req, res, next) ->
if req.headers.token is (process.env.MASTER_TOKEN || "mastersecret")
next()
else
res.forbidden "Master token is wrong!"
| 44505 | module.exports = (req, res, next) ->
if req.headers.token is (process.env.MASTER_TOKEN || "<PASSWORD>")
next()
else
res.forbidden "Master token is wrong!"
| true | module.exports = (req, res, next) ->
if req.headers.token is (process.env.MASTER_TOKEN || "PI:PASSWORD:<PASSWORD>END_PI")
next()
else
res.forbidden "Master token is wrong!"
|
[
{
"context": "\n{User} = require '../lib/user'\n\nalice = bob = charlie = null\n\nexports.init = (T,cb) ->\n tmp = {}\n ",
"end": 51,
"score": 0.693903923034668,
"start": 47,
"tag": "NAME",
"value": "char"
},
{
"context": " ->\n tmp = {}\n await User.load_many { names : ['alice',... | test/files/3_enc_dec.iced | AngelKey/Angelkey.nodeclient | 151 |
{User} = require '../lib/user'
alice = bob = charlie = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : ['alice', 'bob', 'charlie'], res : tmp }, defer err
{alice,bob,charlie} = tmp
cb err
msg = """
The golden smithies of the Emperor!
Marbles of the dancing floor
Break bitter furies of ... | 153388 |
{User} = require '../lib/user'
alice = bob = <NAME>lie = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : ['<NAME>', '<NAME>', '<NAME>'], res : tmp }, defer err
{alice,bob,<NAME>} = tmp
cb err
msg = """
The golden smithies of the Emperor!
Marbles of the dancing floor
Break bitter furies... | true |
{User} = require '../lib/user'
alice = bob = PI:NAME:<NAME>END_PIlie = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'], res : tmp }, defer err
{alice,bob,PI:NAME:<NAME>END_PI} = tmp
cb err
msg = """
The golden smi... |
[
{
"context": "xports =\n meta:\n name: \"spotify\"\n author: \"Contra\"\n version: \"0.0.1\"\n description: \"Spotify c",
"end": 1107,
"score": 0.5455349087715149,
"start": 1101,
"tag": "NAME",
"value": "Contra"
}
] | node_modules/status/lib/plugins/spotify.coffee | DORCAS12345/lamisplus-angular | 0 | {exec} = require "child_process"
dbus = require "dbus"
{which} = require "fractal"
throw "Spotify not installed" unless which "spotify"
getMeta = (cb) ->
exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Pla... | 10298 | {exec} = require "child_process"
dbus = require "dbus"
{which} = require "fractal"
throw "Spotify not installed" unless which "spotify"
getMeta = (cb) ->
exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Pla... | true | {exec} = require "child_process"
dbus = require "dbus"
{which} = require "fractal"
throw "Spotify not installed" unless which "spotify"
getMeta = (cb) ->
exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Pla... |
[
{
"context": "ClassName: 'artisan'\n\n contributors: [\n {id: '5276ad5dcf83207a2801d3b4', name: 'Zach Martin', github: 'zac",
"end": 310,
"score": 0.5479877591133118,
"start": 300,
"tag": "KEY",
"value": "5276ad5dcf"
},
{
"context": " 'artisan'\n\n contributors: [\n {id: '527... | app/views/contribute/ArtisanView.coffee | JurianLock/codecombat | 1 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/artisan'
{me} = require 'core/auth'
module.exports = class ArtisanView extends ContributeClassView
id: 'artisan-view'
template: template
contributorClassName: 'artisan'
contributors: [
{id: '5276ad5dcf83207a2801... | 209320 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/artisan'
{me} = require 'core/auth'
module.exports = class ArtisanView extends ContributeClassView
id: 'artisan-view'
template: template
contributorClassName: 'artisan'
contributors: [
{id: '<KEY> <PASSWORD> <KE... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/artisan'
{me} = require 'core/auth'
module.exports = class ArtisanView extends ContributeClassView
id: 'artisan-view'
template: template
contributorClassName: 'artisan'
contributors: [
{id: 'PI:KEY:<KEY>END_PI P... |
[
{
"context": "fer multiple easIng options\n*\n* Copyright (c) 2007 George Smith\n* Licensed under the MIT License:\n* http://www.",
"end": 267,
"score": 0.9996421933174133,
"start": 255,
"tag": "NAME",
"value": "George Smith"
}
] | snippets/js-Jseasing.cson | liuin/liuin-clip | 0 | '*':
'缓动公式':
'prefix': 'js-Jseasing'
'body': """
/* jQuery EasIng v1.1.2 - http://gsgd.co.uk/sandbox/jquery.easIng.php
*
* Uses the built In easIng capabilities added In jQuery 1.1
* to offer multiple easIng options
*
* Copyright (c) 2007 George Smith
* Licensed under the MIT License:
* http://www.ope... | 148873 | '*':
'缓动公式':
'prefix': 'js-Jseasing'
'body': """
/* jQuery EasIng v1.1.2 - http://gsgd.co.uk/sandbox/jquery.easIng.php
*
* Uses the built In easIng capabilities added In jQuery 1.1
* to offer multiple easIng options
*
* Copyright (c) 2007 <NAME>
* Licensed under the MIT License:
* http://www.opensourc... | true | '*':
'缓动公式':
'prefix': 'js-Jseasing'
'body': """
/* jQuery EasIng v1.1.2 - http://gsgd.co.uk/sandbox/jquery.easIng.php
*
* Uses the built In easIng capabilities added In jQuery 1.1
* to offer multiple easIng options
*
* Copyright (c) 2007 PI:NAME:<NAME>END_PI
* Licensed under the MIT License:
* http:/... |
[
{
"context": " ->\n expect(Validation.isValidEmailFormat 'user@example.com').to.be.ok\n\n describe 'invalid', ->\n it '",
"end": 560,
"score": 0.999915599822998,
"start": 544,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": "->\n expect(Validation.is... | source/NuGet/coffeescript/content/Scripts/specs/application/models/validation.coffee | kazimanzurrashid/AspNetMvcBackboneJsSpa | 22 | expect = @chai.expect
describe 'Models.Validation', ->
Validation = Application.Models.Validation
describe '.addError', ->
errors = null
beforeEach ->
errors = {}
Validation.addError errors, 'name', 'Name is required.'
it 'creates new attribute', -> expect(errors.name).to.exist
... | 77340 | expect = @chai.expect
describe 'Models.Validation', ->
Validation = Application.Models.Validation
describe '.addError', ->
errors = null
beforeEach ->
errors = {}
Validation.addError errors, 'name', 'Name is required.'
it 'creates new attribute', -> expect(errors.name).to.exist
... | true | expect = @chai.expect
describe 'Models.Validation', ->
Validation = Application.Models.Validation
describe '.addError', ->
errors = null
beforeEach ->
errors = {}
Validation.addError errors, 'name', 'Name is required.'
it 'creates new attribute', -> expect(errors.name).to.exist
... |
[
{
"context": "\n # <message from='pubsub.shakespeare.lit' to='francisco@denmark.lit' id='foo'>\n #\n # TODO: encapsulate XMPP pro",
"end": 4060,
"score": 0.9998685121536255,
"start": 4039,
"tag": "EMAIL",
"value": "francisco@denmark.lit"
},
{
"context": " done()\n\n ... | src/xmpp/backend_pubsub.coffee | surevine/buddycloud-server | 0 | logger = require('../logger').makeLogger 'xmpp/backend_pubsub'
{EventEmitter} = require('events')
async = require('async')
xmpp = require('node-xmpp')
Notifications = require('./pubsub_notifications')
pubsubClient = require('./pubsub_client')
errors = require('../errors')
NS = require('./ns')
forms = require('./forms')... | 111348 | logger = require('../logger').makeLogger 'xmpp/backend_pubsub'
{EventEmitter} = require('events')
async = require('async')
xmpp = require('node-xmpp')
Notifications = require('./pubsub_notifications')
pubsubClient = require('./pubsub_client')
errors = require('../errors')
NS = require('./ns')
forms = require('./forms')... | true | logger = require('../logger').makeLogger 'xmpp/backend_pubsub'
{EventEmitter} = require('events')
async = require('async')
xmpp = require('node-xmpp')
Notifications = require('./pubsub_notifications')
pubsubClient = require('./pubsub_client')
errors = require('../errors')
NS = require('./ns')
forms = require('./forms')... |
[
{
"context": "hainsaw, #{req.params.name}. Do I look like Mother Teresa?\"\n subtitle = \"- #{req.params.from}\"\n dooutput(",
"end": 3758,
"score": 0.6864297389984131,
"start": 3752,
"tag": "NAME",
"value": "Teresa"
}
] | server.coffee | merlinofchaos/foaas | 1 | express = require 'express'
sanitizer = require 'sanitizer'
template = (message, subtitle) -> '
<html>
<head>
<title>Fuck Off As A Service (FOAAS)</title>
<meta charset="utf-8">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<b... | 15848 | express = require 'express'
sanitizer = require 'sanitizer'
template = (message, subtitle) -> '
<html>
<head>
<title>Fuck Off As A Service (FOAAS)</title>
<meta charset="utf-8">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<b... | true | express = require 'express'
sanitizer = require 'sanitizer'
template = (message, subtitle) -> '
<html>
<head>
<title>Fuck Off As A Service (FOAAS)</title>
<meta charset="utf-8">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<b... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998815655708313,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "nsed under the MIT license.\n * htt... | server/friends.coffee | rynomad/wiki-security-desktop | 0 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for default site security.
#
# This module is not intented for use, but is here to catch... | 43201 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for default site security.
#
# This module is not intented for use, but is here to catch a proble... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-node-server/blob/master/LICENSE.txt
###
# **security.coffee**
# Module for default site security.
#
# This module is not intented for use, but is here to ... |
[
{
"context": " dhis2Url: \"Dhis2 URL\"\n dhis2username: \"Dhis2 Username\"\n dhis2password: \"Dhis2 Password\"\n prog",
"end": 420,
"score": 0.9995675683021545,
"start": 406,
"tag": "USERNAME",
"value": "Dhis2 Username"
},
{
"context": "2username: \"Dhis2 Username... | _attachments/app/views/Dhis2View.coffee | jongoz/coconut-analytice | 3 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
Dialog = require './Dialog'
Dhis2 = require '../models/Dhis2'
class Dhis2View extends Backbone.View
el: "#content"
events:
"click button#updateBtn": "update"
"click button#test": "test"
"click button#send": "s... | 155717 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
Dialog = require './Dialog'
Dhis2 = require '../models/Dhis2'
class Dhis2View extends Backbone.View
el: "#content"
events:
"click button#updateBtn": "update"
"click button#test": "test"
"click button#send": "s... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
Dialog = require './Dialog'
Dhis2 = require '../models/Dhis2'
class Dhis2View extends Backbone.View
el: "#content"
events:
"click button#updateBtn": "update"
"click button#test": "test"
"click button#send": "s... |
[
{
"context": "#############\n#\n#\tMoocita collections\n# Created by Markus on 26/10/2015.\n#\n################################",
"end": 99,
"score": 0.9993796348571777,
"start": 93,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/feedback.coffee | MooqitaSFH/worklearn | 0 | #######################################################
#
# Moocita collections
# Created by Markus on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | 108486 | #######################################################
#
# Moocita collections
# Created by <NAME> on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | true | #######################################################
#
# Moocita collections
# Created by PI:NAME:<NAME>END_PI on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
#####... |
[
{
"context": "s some room to grow (or let go) since 2012\nAuthor: Jeff Bordogna, @jeffthink\nVersion: 0.1 (maybe stable?)\nLicense:",
"end": 105,
"score": 0.9998872876167297,
"start": 92,
"tag": "NAME",
"value": "Jeff Bordogna"
},
{
"context": "grow (or let go) since 2012\nAuthor: Je... | js/maternitypants.coffee | jeffthink/maternitypants | 0 | ###
maternitypants - giving your textareas some room to grow (or let go) since 2012
Author: Jeff Bordogna, @jeffthink
Version: 0.1 (maybe stable?)
License: See https://github.com/jeffthink/jmaternitypants
###
$ ->
$.maternitypants = (element, options) ->
#plugin defaults
@defaults =
event: 'dblclick' #o... | 198306 | ###
maternitypants - giving your textareas some room to grow (or let go) since 2012
Author: <NAME>, @jeffthink
Version: 0.1 (maybe stable?)
License: See https://github.com/jeffthink/jmaternitypants
###
$ ->
$.maternitypants = (element, options) ->
#plugin defaults
@defaults =
event: 'dblclick' #on what ... | true | ###
maternitypants - giving your textareas some room to grow (or let go) since 2012
Author: PI:NAME:<NAME>END_PI, @jeffthink
Version: 0.1 (maybe stable?)
License: See https://github.com/jeffthink/jmaternitypants
###
$ ->
$.maternitypants = (element, options) ->
#plugin defaults
@defaults =
event: 'dblcl... |
[
{
"context": "equest>\\n\\t<credentials name=\\\"Admin\\\" password=\\\"password\\\">\\n \\t<site contentUrl=\\\"\\\" />\\n </crede",
"end": 752,
"score": 0.9995760321617126,
"start": 744,
"tag": "PASSWORD",
"value": "password"
}
] | snippets/tableaulogin.cson | cmtoomey/TableauRESTJS | 1 | '.source.js':
'Tableau login':
'prefix': 'trlogin'
'body': """
//for tablogin - always use this first
//WARNING: this will pass the password in cleartext
var auth = ""
var siteid = ""
var userid = ""
var url = "defineyourURLhere/" + "api/... | 215588 | '.source.js':
'Tableau login':
'prefix': 'trlogin'
'body': """
//for tablogin - always use this first
//WARNING: this will pass the password in cleartext
var auth = ""
var siteid = ""
var userid = ""
var url = "defineyourURLhere/" + "api/... | true | '.source.js':
'Tableau login':
'prefix': 'trlogin'
'body': """
//for tablogin - always use this first
//WARNING: this will pass the password in cleartext
var auth = ""
var siteid = ""
var userid = ""
var url = "defineyourURLhere/" + "api/... |
[
{
"context": " sout1 = null\n sout2 = null\n obj1 =\n name: 'Patrick'\n age: 21\n obj2 =\n title: 'Attorney'\n a",
"end": 413,
"score": 0.9996299743652344,
"start": 406,
"tag": "NAME",
"value": "Patrick"
}
] | spec/ComponentExample.coffee | aretecode/noflo-built | 1 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
MergeObjects = require './components/MergeObjects.coffee'
describe 'MergeObjects component', ->
c = null
sin1... | 210500 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
MergeObjects = require './components/MergeObjects.coffee'
describe 'MergeObjects component', ->
c = null
sin1... | true | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
MergeObjects = require './components/MergeObjects.coffee'
describe 'MergeObjects component', ->
c = null
sin1... |
[
{
"context": "mplate string syntax in regular strings.\n# @author Jeroen Engels\n###\n'use strict'\n\n#------------------------------",
"end": 103,
"score": 0.9998428225517273,
"start": 90,
"tag": "NAME",
"value": "Jeroen Engels"
}
] | src/tests/rules/no-template-curly-in-string.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Warn when using template string syntax in regular strings.
# @author Jeroen Engels
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../... | 174224 | ###*
# @fileoverview Warn when using template string syntax in regular strings.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/n... | true | ###*
# @fileoverview Warn when using template string syntax in regular strings.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require ... |
[
{
"context": " blog: \"Blog\"\n forum: \"Diễn đàn\"\n account: \"Tài khoản\"\n my_account: \"Quản lý tài khoản\"\n profile:",
"end": 5221,
"score": 0.9940634965896606,
"start": 5212,
"tag": "NAME",
"value": "Tài khoản"
},
{
"context": "ễn đàn\"\n account: \"Tài khoản\"... | app/locale/vi.coffee | pickettd/codecombat | 0 | module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietnamese", translation:
new_home:
slogan: "Trò chơi hấp dẫn nhất để học lập trình." # {change}
classroom_edition: "Phiên bản Lớp học:"
learn_to_code: "Học lập trình:"
play_now: "Chơi ngay"
im_a_teacher: "Tôi là Giáo viên"
... | 225140 | module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietnamese", translation:
new_home:
slogan: "Trò chơi hấp dẫn nhất để học lập trình." # {change}
classroom_edition: "Phiên bản Lớp học:"
learn_to_code: "Học lập trình:"
play_now: "Chơi ngay"
im_a_teacher: "Tôi là Giáo viên"
... | true | module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietnamese", translation:
new_home:
slogan: "Trò chơi hấp dẫn nhất để học lập trình." # {change}
classroom_edition: "Phiên bản Lớp học:"
learn_to_code: "Học lập trình:"
play_now: "Chơi ngay"
im_a_teacher: "Tôi là Giáo viên"
... |
[
{
"context": "###\nCopyright 2014 David Mauro\n\nLicensed under the Apache License, Version 2.0 (",
"end": 30,
"score": 0.9998534321784973,
"start": 19,
"tag": "NAME",
"value": "David Mauro"
}
] | tests/app/client_php/libs/dmauro-Keypress/keypress.coffee | pickles2/pickles2-theme-editor | 18 | ###
Copyright 2014 David Mauro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 169894 | ###
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, software
distributed... | 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 in writing, softwa... |
[
{
"context": "le to flag declared but unused variables\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 86,
"score": 0.9998197555541992,
"start": 74,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-unused-vars.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview Rule to flag declared but unused variables
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-util... | 191109 | ###*
# @fileoverview Rule to flag declared but unused variables
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'
uti... | true | ###*
# @fileoverview Rule to flag declared but unused variables
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-... |
[
{
"context": "nvas = document.getElementById('canvas')\n\nntm = [\"Nique tamer\",\"T'es carrément useless\", \"Tu sert à quoi dans l",
"end": 63,
"score": 0.9996813535690308,
"start": 52,
"tag": "NAME",
"value": "Nique tamer"
},
{
"context": "arents auraient du songer à l'avortement\... | server/src/cs/main.coffee | teroratsu/C4NV4S-POC | 0 | canvas = document.getElementById('canvas')
ntm = ["Nique tamer","T'es carrément useless", "Tu sert à quoi dans le projet", "Ferme ta gueule srx", "Et sinon, concrètement, t'as rien foutu", "Vas te suicider", "T'es un ramassis d'ordures", "ça fait quoi de se dire qu'on sert à rien", "ntm batar de", "personne ne t'aime"... | 101824 | canvas = document.getElementById('canvas')
ntm = ["<NAME>","T'es carrément useless", "Tu sert à quoi dans le projet", "Ferme ta gueule srx", "Et sinon, concrètement, t'as rien foutu", "Vas te suicider", "T'es un ramassis d'ordures", "ça fait quoi de se dire qu'on sert à rien", "ntm batar de", "personne ne t'aime", "t'... | true | canvas = document.getElementById('canvas')
ntm = ["PI:NAME:<NAME>END_PI","T'es carrément useless", "Tu sert à quoi dans le projet", "Ferme ta gueule srx", "Et sinon, concrètement, t'as rien foutu", "Vas te suicider", "T'es un ramassis d'ordures", "ça fait quoi de se dire qu'on sert à rien", "ntm batar de", "personne n... |
[
{
"context": "state\n\nserverData =\n\tProject:\n\t\t1: {id: 1, name: 'test'}\n\nsleep = (ms) -> new Promise (res) -> setTimeou",
"end": 1328,
"score": 0.9942438006401062,
"start": 1324,
"tag": "NAME",
"value": "test"
},
{
"context": "subType, cb, key, localRes\n\n\t# https://github.... | examples/playground/client/src/ui/Body.coffee | Cottin/popsiql-cache | 0 | {all, isNil, map, match, props, reverse, test, toPairs, type} = R = require 'ramda' #auto_require: ramda
{fmap, change, fmapO, $, sf2} = RE = require 'ramda-extras' #auto_require: ramda-extras
[ːname, ːtext, ːprice, ːdueDate, ːdate, ːamount, ːtype] = ['name', 'text', 'price', 'dueDate', 'date', 'amount', 'type'] #auto_... | 148696 | {all, isNil, map, match, props, reverse, test, toPairs, type} = R = require 'ramda' #auto_require: ramda
{fmap, change, fmapO, $, sf2} = RE = require 'ramda-extras' #auto_require: ramda-extras
[ːname, ːtext, ːprice, ːdueDate, ːdate, ːamount, ːtype] = ['name', 'text', 'price', 'dueDate', 'date', 'amount', 'type'] #auto_... | true | {all, isNil, map, match, props, reverse, test, toPairs, type} = R = require 'ramda' #auto_require: ramda
{fmap, change, fmapO, $, sf2} = RE = require 'ramda-extras' #auto_require: ramda-extras
[ːname, ːtext, ːprice, ːdueDate, ːdate, ːamount, ːtype] = ['name', 'text', 'price', 'dueDate', 'date', 'amount', 'type'] #auto_... |
[
{
"context": "\n# Makes use of Google's ChartAPI\n#\n# Author:\n# John Hamelink <john@farmer.io>\n\n\nmodule.exports = (robot) ->\n ",
"end": 239,
"score": 0.9998545050621033,
"start": 226,
"tag": "NAME",
"value": "John Hamelink"
},
{
"context": "f Google's ChartAPI\n#\n# Author:... | scripts/qr.coffee | cscott/codex-blackboard-hubot-scripts | 0 | # Description:
# Turn a URL into a QR Code
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot: qr me <url> - turn a URL into a QR Code
#
# Notes:
# Makes use of Google's ChartAPI
#
# Author:
# John Hamelink <john@farmer.io>
module.exports = (robot) ->
robot.hear /qr me (.+)/i, (msg)... | 20033 | # Description:
# Turn a URL into a QR Code
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot: qr me <url> - turn a URL into a QR Code
#
# Notes:
# Makes use of Google's ChartAPI
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.hear /qr me (.+)/i, (msg) ->
url = ... | true | # Description:
# Turn a URL into a QR Code
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot: qr me <url> - turn a URL into a QR Code
#
# Notes:
# Makes use of Google's ChartAPI
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.hear /qr m... |
[
{
"context": "\"MO\",\n \"countryName\": \"Macau\",\n \"countryPhoneNumber",
"end": 25987,
"score": 0.7652155160903931,
"start": 25982,
"tag": "NAME",
"value": "Macau"
},
{
"context": "\"MS\",\n \"countr... | models/country_list/fixture/country_options.coffee | signonsridhar/sridhar_hbs | 0 | define([ 'can_fixture', 'Faker'], (can, Faker, State)->
can.fixture('GET /bss/system?action=getcountrylist', (req, res)->
return {
"response": {
"execution_time": 220,
"response_code": 100,
"response_data": {
"countries": [
... | 12938 | define([ 'can_fixture', 'Faker'], (can, Faker, State)->
can.fixture('GET /bss/system?action=getcountrylist', (req, res)->
return {
"response": {
"execution_time": 220,
"response_code": 100,
"response_data": {
"countries": [
... | true | define([ 'can_fixture', 'Faker'], (can, Faker, State)->
can.fixture('GET /bss/system?action=getcountrylist', (req, res)->
return {
"response": {
"execution_time": 220,
"response_code": 100,
"response_data": {
"countries": [
... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998358488082886,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | METEOR-OLD/private/build/org.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 74192 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": "phrase = (src) ->\n if src == 'root'\n 'masterpassphrase'\n else\n src\n\n make_tx_json = (src,",
"end": 13021,
"score": 0.9824877381324768,
"start": 13005,
"tag": "PASSWORD",
"value": "masterpassphrase"
},
{
"context": "lias = @am.lookup_alia... | test/ledger-state.coffee | tdfischer/rippled | 5 | ################################### REQUIRES ###################################
# This gives coffee-script proper file/lines in the exceptions
async = require 'async'
assert = require 'assert'
{
Amount
Remote
Seed
Base
UInt160
Transaction
sjcl
} = require 'ripple-lib'
testutils =... | 185603 | ################################### REQUIRES ###################################
# This gives coffee-script proper file/lines in the exceptions
async = require 'async'
assert = require 'assert'
{
Amount
Remote
Seed
Base
UInt160
Transaction
sjcl
} = require 'ripple-lib'
testutils =... | true | ################################### REQUIRES ###################################
# This gives coffee-script proper file/lines in the exceptions
async = require 'async'
assert = require 'assert'
{
Amount
Remote
Seed
Base
UInt160
Transaction
sjcl
} = require 'ripple-lib'
testutils =... |
[
{
"context": "il.send_mail(\"${1:Subject}\", \"${2:Message}\", \"${3:from@example.com}\", ${4:[\"to@example.com\"]}${5:, fail_silently=Tru",
"end": 3594,
"score": 0.9999055862426758,
"start": 3578,
"tag": "EMAIL",
"value": "from@example.com"
},
{
"context": "\", \"${2:Message}\", \"$... | snippets/atom-django.cson | nerdoc/atom-django | 29 | '.source.python.django':
'AutoField':
'prefix': 'auto'
'body': '${1:FIELDNAME} = models.AutoField()'
'BooleanField':
'prefix': 'boolean'
'body': '${1:FIELDNAME} = models.BooleanField(${2:default=True})'
'CharField':
'prefix': 'char'
'body': '${1:FIELDNAME} = models.CharField(${2:blank=True... | 86989 | '.source.python.django':
'AutoField':
'prefix': 'auto'
'body': '${1:FIELDNAME} = models.AutoField()'
'BooleanField':
'prefix': 'boolean'
'body': '${1:FIELDNAME} = models.BooleanField(${2:default=True})'
'CharField':
'prefix': 'char'
'body': '${1:FIELDNAME} = models.CharField(${2:blank=True... | true | '.source.python.django':
'AutoField':
'prefix': 'auto'
'body': '${1:FIELDNAME} = models.AutoField()'
'BooleanField':
'prefix': 'boolean'
'body': '${1:FIELDNAME} = models.BooleanField(${2:default=True})'
'CharField':
'prefix': 'char'
'body': '${1:FIELDNAME} = models.CharField(${2:blank=True... |
[
{
"context": " \n process.exit(1)\n\nmain()\n\n# ---\n# generated by Ayat Maulana - 2018",
"end": 891,
"score": 0.9998180270195007,
"start": 879,
"tag": "NAME",
"value": "Ayat Maulana"
}
] | main.coffee | ayatmaulana/cekBookingKeretaCLI | 3 | `#!/usr/bin/env node
`
myCredit = require('./credit.js')
# import SELF LIB
scraper = require('./dist/scraper')
extractor = require('./dist/extractor')
cheerio = require('cheerio')
commander = require('commander')
ora = require('ora')
kode_boking = undefined
config = require('./package.json')
spinner = ora('Fetchin... | 126839 | `#!/usr/bin/env node
`
myCredit = require('./credit.js')
# import SELF LIB
scraper = require('./dist/scraper')
extractor = require('./dist/extractor')
cheerio = require('cheerio')
commander = require('commander')
ora = require('ora')
kode_boking = undefined
config = require('./package.json')
spinner = ora('Fetchin... | true | `#!/usr/bin/env node
`
myCredit = require('./credit.js')
# import SELF LIB
scraper = require('./dist/scraper')
extractor = require('./dist/extractor')
cheerio = require('cheerio')
commander = require('commander')
ora = require('ora')
kode_boking = undefined
config = require('./package.json')
spinner = ora('Fetchin... |
[
{
"context": "\"#login_username\" : \"username\"\n \"#login_password\" ",
"end": 206,
"score": 0.9941369295120239,
"start": 198,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\"#login_password\" ... | sources/controllers/login.coffee | TaxiExpress/AppTaxista | 1 | class __Controller.LoginCtrl extends Monocle.Controller
db = undefined
credentials = undefined
passHashed = undefined
elements:
"#login_username" : "username"
"#login_password" : "password"
events:
"tap #login_login_b" ... | 141591 | class __Controller.LoginCtrl extends Monocle.Controller
db = undefined
credentials = undefined
passHashed = undefined
elements:
"#login_username" : "username"
"#login_password" : "<PASSWORD>"
events:
"tap #login_login_b" ... | true | class __Controller.LoginCtrl extends Monocle.Controller
db = undefined
credentials = undefined
passHashed = undefined
elements:
"#login_username" : "username"
"#login_password" : "PI:PASSWORD:<PASSWORD>END_PI"
events:
"tap #login_l... |
[
{
"context": "A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i\n KEY: /^[A-Z0-9]+$/i\n\nfor name, r of regex\n do (r) ->\n exports[nam",
"end": 257,
"score": 0.9528891444206238,
"start": 246,
"tag": "KEY",
"value": "A-Z0-9]+$/i"
}
] | src/regex.coffee | fent/nickserv | 1 | # Regular expressions for validating various IRC fields.
regex =
NICK: /^[A-Z_\-\[\]\\^{}|`][A-Z0-9_\-\[\]\\^{}|`]*$/i # rfc2812
PASSWORD: /^[^\s]{5,}$/ # Checks for white space.
EMAIL: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
KEY: /^[A-Z0-9]+$/i
for name, r of regex
do (r) ->
exports[name.toLowerCase... | 162570 | # Regular expressions for validating various IRC fields.
regex =
NICK: /^[A-Z_\-\[\]\\^{}|`][A-Z0-9_\-\[\]\\^{}|`]*$/i # rfc2812
PASSWORD: /^[^\s]{5,}$/ # Checks for white space.
EMAIL: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
KEY: /^[<KEY>
for name, r of regex
do (r) ->
exports[name.toLowerCase()] = ... | true | # Regular expressions for validating various IRC fields.
regex =
NICK: /^[A-Z_\-\[\]\\^{}|`][A-Z0-9_\-\[\]\\^{}|`]*$/i # rfc2812
PASSWORD: /^[^\s]{5,}$/ # Checks for white space.
EMAIL: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
KEY: /^[PI:KEY:<KEY>END_PI
for name, r of regex
do (r) ->
exports[name.toLo... |
[
{
"context": "# Adapted from https://github.com/josephg/noisejs/blob/master/perlin.js\n\n# This code was pl",
"end": 41,
"score": 0.9997031092643738,
"start": 34,
"tag": "USERNAME",
"value": "josephg"
},
{
"context": "ced in the public domain by its original author,\n# Stefan Gustavs... | site/lib/simplex-noise.coffee | gwa/seen | 0 | # Adapted from https://github.com/josephg/noisejs/blob/master/perlin.js
# This code was placed in the public domain by its original author,
# Stefan Gustavson. You may use it as you see fit, but
# attribution is appreciated.
class Grad
constructor : (@x, @y, @z) ->
dot : (x, y, z) -> @x*x + @y*y + @z*z
grad3 = [... | 85781 | # Adapted from https://github.com/josephg/noisejs/blob/master/perlin.js
# This code was placed in the public domain by its original author,
# <NAME>. You may use it as you see fit, but
# attribution is appreciated.
class Grad
constructor : (@x, @y, @z) ->
dot : (x, y, z) -> @x*x + @y*y + @z*z
grad3 = [
new Gra... | true | # Adapted from https://github.com/josephg/noisejs/blob/master/perlin.js
# This code was placed in the public domain by its original author,
# PI:NAME:<NAME>END_PI. You may use it as you see fit, but
# attribution is appreciated.
class Grad
constructor : (@x, @y, @z) ->
dot : (x, y, z) -> @x*x + @y*y + @z*z
grad3... |
[
{
"context": "licts.\n#\n# See code below for how-to.\n#\n# @author: Daniele Gazzelloni <daniele@danielegazzelloni.com>\n#################",
"end": 226,
"score": 0.9998909831047058,
"start": 208,
"tag": "NAME",
"value": "Daniele Gazzelloni"
},
{
"context": "elow for how-to.\n#\n# @au... | backend/src/main.coffee | danielegazzelloni/barbershop-challenge | 0 |
##
# This is an example of a generic express main file. Let's think it is
# your main express file: you can include my server.coffee without generating conflicts.
#
# See code below for how-to.
#
# @author: Daniele Gazzelloni <daniele@danielegazzelloni.com>
#############################################################... | 92020 |
##
# This is an example of a generic express main file. Let's think it is
# your main express file: you can include my server.coffee without generating conflicts.
#
# See code below for how-to.
#
# @author: <NAME> <<EMAIL>>
######################################################################
## BASE SETUP
## =====... | true |
##
# This is an example of a generic express main file. Let's think it is
# your main express file: you can include my server.coffee without generating conflicts.
#
# See code below for how-to.
#
# @author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
##################################################################... |
[
{
"context": "rollers\"\n\nargs = process.argv.splice 2\naddress = \"127.0.0.1\"\nport = 3000\nif args[0]\n\taddress = args[0]\nif arg",
"end": 101,
"score": 0.9997275471687317,
"start": 92,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "()\noptions =\n\tapplication:\n\t\... | project/core/settings.coffee | stanislavfeldman/wheels | 1 | controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 3000
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port: port || 3000
views:
st... | 80582 | controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 3000
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port: port || 3000
views:
st... | true | controllers = require "../controllers/controllers"
args = process.argv.splice 2
address = "127.0.0.1"
port = 3000
if args[0]
address = args[0]
if args[1]
port = parseInt args[1]
my_controller = new controllers.MyController()
options =
application:
address: address || "127.0.0.1"
port: port || 3000
views:
st... |
[
{
"context": "# @file stars.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 57,
"score": 0.9998227953910828,
"start": 43,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | examples/stars/stars.coffee | siviter-t/lampyridae.coffee | 4 | # @file stars.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::hueMax =... | 56598 | # @file stars.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::hueMax = 70
Lamp... | true | # @file stars.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
require 'particle/firefly'
canvas = new Lampyridae.Canvas 'world'
Lampyridae.Firefly::hu... |
[
{
"context": "s = [\n id: 1\n candidate:\n id: 101\n name: '猪野 隆'\n iconUrl: \"http://iwiz-seiji.c.yimg.jp/im_sig",
"end": 80,
"score": 0.9802738428115845,
"start": 76,
"tag": "NAME",
"value": "猪野 隆"
},
{
"context": " 10\n,\n id: 2\n candidate:\n id: 102\n name: '柿... | web/client/scripts/service/data/votes.coffee | stomita/lotteryvote | 1 | "use strict"
module.exports = [
id: 1
candidate:
id: 101
name: '猪野 隆'
iconUrl: "http://iwiz-seiji.c.yimg.jp/im_siggHtPmoXwO9lGnvYXxmwGf5w---x50-y66/c/seiji/senkyo/2014/giin/13689818.jpg"
weight: 10
,
id: 2
candidate:
id: 102
name: '柿沢 未途'
iconUrl: "http://iwiz-seiji.c.yimg.jp/im_sigg2r... | 121708 | "use strict"
module.exports = [
id: 1
candidate:
id: 101
name: '<NAME>'
iconUrl: "http://iwiz-seiji.c.yimg.jp/im_siggHtPmoXwO9lGnvYXxmwGf5w---x50-y66/c/seiji/senkyo/2014/giin/13689818.jpg"
weight: 10
,
id: 2
candidate:
id: 102
name: '<NAME> 未途'
iconUrl: "http://iwiz-seiji.c.yimg.jp/im_... | true | "use strict"
module.exports = [
id: 1
candidate:
id: 101
name: 'PI:NAME:<NAME>END_PI'
iconUrl: "http://iwiz-seiji.c.yimg.jp/im_siggHtPmoXwO9lGnvYXxmwGf5w---x50-y66/c/seiji/senkyo/2014/giin/13689818.jpg"
weight: 10
,
id: 2
candidate:
id: 102
name: 'PI:NAME:<NAME>END_PI 未途'
iconUrl: "htt... |
[
{
"context": "sourceType: 'Patient',\n name: [{given: ['Name to update']}]\n }\n )\n\n match(\n json_",
"end": 1112,
"score": 0.9074356555938721,
"start": 1098,
"tag": "NAME",
"value": "Name to update"
},
{
"context": " queryString: '_id=patient-... | test/integration/transaction_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../../plpl/src/plv8')
assert = require('assert')
helpers = require('../helpers')
match = helpers.match
json_call = (fn_name, params...) ->
args = params.map((_, i)-> "$#{i+1}").join(',')
res = plv8.execute("SELECT #{fn_name}(#{args})", params.map((x)-> JSON.stringify(x)))
JSON.parse(res[0][fn_nam... | 11069 | plv8 = require('../../plpl/src/plv8')
assert = require('assert')
helpers = require('../helpers')
match = helpers.match
json_call = (fn_name, params...) ->
args = params.map((_, i)-> "$#{i+1}").join(',')
res = plv8.execute("SELECT #{fn_name}(#{args})", params.map((x)-> JSON.stringify(x)))
JSON.parse(res[0][fn_nam... | true | plv8 = require('../../plpl/src/plv8')
assert = require('assert')
helpers = require('../helpers')
match = helpers.match
json_call = (fn_name, params...) ->
args = params.map((_, i)-> "$#{i+1}").join(',')
res = plv8.execute("SELECT #{fn_name}(#{args})", params.map((x)-> JSON.stringify(x)))
JSON.parse(res[0][fn_nam... |
[
{
"context": "rris me <user> -- let's see how <user> would do as Chuck Norris.\n\nmodule.exports = (robot) ->\n\n robot.",
"end": 157,
"score": 0.8028110265731812,
"start": 155,
"tag": "NAME",
"value": "Ch"
},
{
"context": "e <user> -- let's see how <user> would do as Chuck Norris.\... | src/scripts/chuck-norris.coffee | mcollina/hubot-scripts | 1 | # Chuck Norris awesomness.
#
#
# hubot chuck norris -- random Chuck Norris awesomeness.
# hubot chuck norris me <user> -- let's see how <user> would do as Chuck Norris.
module.exports = (robot) ->
robot.respond /(chuck norris)( me )?(.*)/i, (msg)->
user = msg.match[3]
if user.length == 0
askChuck msg,... | 161642 | # Chuck Norris awesomness.
#
#
# hubot chuck norris -- random Chuck Norris awesomeness.
# hubot chuck norris me <user> -- let's see how <user> would do as <NAME>uck <NAME>.
module.exports = (robot) ->
robot.respond /(chuck norris)( me )?(.*)/i, (msg)->
user = msg.match[3]
if user.length == 0
askChuck ... | true | # Chuck Norris awesomness.
#
#
# hubot chuck norris -- random Chuck Norris awesomeness.
# hubot chuck norris me <user> -- let's see how <user> would do as PI:NAME:<NAME>END_PIuck PI:NAME:<NAME>END_PI.
module.exports = (robot) ->
robot.respond /(chuck norris)( me )?(.*)/i, (msg)->
user = msg.match[3]
if user... |
[
{
"context": "ider.getCirclePrNumber('100', 'https://github.com/cypress-io/cypress/pull/2114')).to.equal('100')\n expect",
"end": 1146,
"score": 0.9994153380393982,
"start": 1136,
"tag": "USERNAME",
"value": "cypress-io"
},
{
"context": ".getCirclePrNumber(undefined, 'https://gi... | packages/server/test/unit/ci_provider_spec.coffee | egucciar/cypress | 2 | R = require("ramda")
require("../spec_helper")
ciProvider = require("#{root}lib/util/ci_provider")
describe "lib/util/ci_provider", ->
beforeEach ->
@env = JSON.stringify(process.env)
process.env = {}
@expects = (obj) ->
expect(ciProvider.name()).to.eq(obj.name)
expect(ciProvider.buildNum(... | 175515 | R = require("ramda")
require("../spec_helper")
ciProvider = require("#{root}lib/util/ci_provider")
describe "lib/util/ci_provider", ->
beforeEach ->
@env = JSON.stringify(process.env)
process.env = {}
@expects = (obj) ->
expect(ciProvider.name()).to.eq(obj.name)
expect(ciProvider.buildNum(... | true | R = require("ramda")
require("../spec_helper")
ciProvider = require("#{root}lib/util/ci_provider")
describe "lib/util/ci_provider", ->
beforeEach ->
@env = JSON.stringify(process.env)
process.env = {}
@expects = (obj) ->
expect(ciProvider.name()).to.eq(obj.name)
expect(ciProvider.buildNum(... |
[
{
"context": ".revokeToken uuid: 'invalid-uuid', token: 'invalid-token', (@result) => done()\n\n it 'should have an e",
"end": 6987,
"score": 0.6468358039855957,
"start": 6982,
"tag": "PASSWORD",
"value": "token"
}
] | integration/socket-logic-spec.coffee | CESARBR/knot-cloud-source | 4 | _ = require 'lodash'
path = require 'path'
meshblu = require 'meshblu'
MeshbluConfig = require 'meshblu-config'
describe 'SocketLogic Events', ->
before ->
filename = path.join __dirname, 'meshblu.json'
@config = new MeshbluConfig(filename: filename).toJSON()
before (done) ->
@meshblu = meshblu.create... | 146368 | _ = require 'lodash'
path = require 'path'
meshblu = require 'meshblu'
MeshbluConfig = require 'meshblu-config'
describe 'SocketLogic Events', ->
before ->
filename = path.join __dirname, 'meshblu.json'
@config = new MeshbluConfig(filename: filename).toJSON()
before (done) ->
@meshblu = meshblu.create... | true | _ = require 'lodash'
path = require 'path'
meshblu = require 'meshblu'
MeshbluConfig = require 'meshblu-config'
describe 'SocketLogic Events', ->
before ->
filename = path.join __dirname, 'meshblu.json'
@config = new MeshbluConfig(filename: filename).toJSON()
before (done) ->
@meshblu = meshblu.create... |
[
{
"context": "Algorithm API for JavaScript\n# https://github.com/kzokm/ga.js\n#\n# Copyright (c) 2014 OKAMURA, Kazuhide\n#\n",
"end": 69,
"score": 0.999663770198822,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 2014... | lib/population.coffee | kzokm/ga.js | 4 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 OKAMURA, Kazuhide
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
{EventEmitter} = require 'events'
class Population extends Even... | 77803 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 <NAME>, <NAME>
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
{EventEmitter} = require 'events'
class Population extends EventEm... | true | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
{EventEmitter} = require 'events'
clas... |
[
{
"context": "tes()\n\n \"UsernameToken \" +\n \"Username=\\\"#{@username}\\\", \" +\n \"PasswordDigest=\\\"#{digest}\\\", \" +\n",
"end": 441,
"score": 0.996758222579956,
"start": 432,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "Value.inputs = [\n DynamicV... | WsseDynamicValue.coffee | xelaris/paw-wsse-dynamic-dalue | 2 | require "forge.bundle.js"
WsseDynamicValue = ->
this.username = ""
this.password = ""
this.evaluate = ->
time = (new Date()).toISOString()
nonce = forge.util.bytesToHex forge.random.getBytesSync 10
nonce64 = forge.util.encode64 nonce
md = forge.md.sha1.create()
md.update nonce + time + th... | 132137 | require "forge.bundle.js"
WsseDynamicValue = ->
this.username = ""
this.password = ""
this.evaluate = ->
time = (new Date()).toISOString()
nonce = forge.util.bytesToHex forge.random.getBytesSync 10
nonce64 = forge.util.encode64 nonce
md = forge.md.sha1.create()
md.update nonce + time + th... | true | require "forge.bundle.js"
WsseDynamicValue = ->
this.username = ""
this.password = ""
this.evaluate = ->
time = (new Date()).toISOString()
nonce = forge.util.bytesToHex forge.random.getBytesSync 10
nonce64 = forge.util.encode64 nonce
md = forge.md.sha1.create()
md.update nonce + time + th... |
[
{
"context": "elete a user that we can re-register.\nusername = \"testuser#{Math.floor(Math.random()*100)}@test.com\"\npasswor",
"end": 181,
"score": 0.9830127954483032,
"start": 173,
"tag": "USERNAME",
"value": "testuser"
},
{
"context": "username = \"testuser#{Math.floor(Math.rando... | tests/selenium-nightwatch/register.coffee | ecohealthalliance/grits-diagnostic-dashboard-release | 0 | # generate a random username - test may fail if the username
# is already registered. we should write a setup method to
# delete a user that we can re-register.
username = "testuser#{Math.floor(Math.random()*100)}@test.com"
password = "abcd1234"
module.exports =
"Register" : (browser) ->
# test registering a ne... | 204348 | # generate a random username - test may fail if the username
# is already registered. we should write a setup method to
# delete a user that we can re-register.
username = "testuser#{Math.floor(Math.random()*100)}<EMAIL>"
password = "<PASSWORD>"
module.exports =
"Register" : (browser) ->
# test registering a ne... | true | # generate a random username - test may fail if the username
# is already registered. we should write a setup method to
# delete a user that we can re-register.
username = "testuser#{Math.floor(Math.random()*100)}PI:EMAIL:<EMAIL>END_PI"
password = "PI:PASSWORD:<PASSWORD>END_PI"
module.exports =
"Register" : (browse... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nowEBPALD/ZANAwAKAS/gHEVDSNo5AcsMYgBSzEhJaGVsbG8KiQIcBAABCgAGBQJS\nzEhJAAoJEC/gHEVDSNo5d5gQAMHe2bPIFLL8wdu+KG9rkSqZ3iHloaHTkhN729T1\n+OefN1YeS7RpOHMcptNKtu36f9LFeDUCfgeevXcL3v3f5Crvl1TCmAft87HlsqZ0\n2L++qULRkauu2+HYHB0tr5RwaTYH8A3rYLD79Atrh0XStH... | node_modules/gpg-wrapper/test/files/parse.iced | AngelKey/Angelkey.nodeinstaller | 151 |
{parse} = require '../../lib/main'
exports.test_parse = (T,cb) ->
message = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
owEBPALD/ZANAwAKAS/gHEVDSNo5AcsMYgBSzEhJaGVsbG8KiQIcBAABCgAGBQJS
zEhJAAoJEC/gHEVDSNo5d5gQAMHe2bPIFLL8wdu+KG9rkSqZ3iHloaHTkhN72... | 118788 |
{parse} = require '../../lib/main'
exports.test_parse = (T,cb) ->
message = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
<KEY>
=QoKV
-----END PGP MESSAGE-----
"""
await parse { message }, defer err, mout
T.no_error err
T.equal mout.packets()... | true |
{parse} = require '../../lib/main'
exports.test_parse = (T,cb) ->
message = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
PI:KEY:<KEY>END_PI
=QoKV
-----END PGP MESSAGE-----
"""
await parse { message }, defer err, mout
T.no_error err
T.equal m... |
[
{
"context": "d performs an update on a single product.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass ProductRoute ex",
"end": 954,
"score": 0.9997075796127319,
"start": 942,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/ProductRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ProductManager = require('../../../../db/manager/ProductManager')
###
Service route that allows the r... | 213415 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ProductManager = require('../../../../db/manager/ProductManager')
###
Service route that allows the r... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ProductManager = require('../../../../db/manager/ProductManager')
###
Service route that allows the r... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.999583899974823,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/controllers/champion_stats_controller.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# 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 ... | 25664 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "n the group', ->\n user = new User(username: 'Bobby')\n (-> group.leave user).should.throw /Not F",
"end": 1106,
"score": 0.999626636505127,
"start": 1101,
"tag": "USERNAME",
"value": "Bobby"
},
{
"context": "n the group', ->\n user = new User(username: '... | test/unit/group.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Group = require '../../lib/model/group'
User = require '../../lib/model/user'
Message = require '../../lib/model/message'
GroupSetting = require '../../lib/model/groupSetting'
sinon = require 'sinon'
mongoose = require 'mongoose'
async = require 'asy... | 124633 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Group = require '../../lib/model/group'
User = require '../../lib/model/user'
Message = require '../../lib/model/message'
GroupSetting = require '../../lib/model/groupSetting'
sinon = require 'sinon'
mongoose = require 'mongoose'
async = require 'asy... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Group = require '../../lib/model/group'
User = require '../../lib/model/user'
Message = require '../../lib/model/message'
GroupSetting = require '../../lib/model/groupSetting'
sinon = require 'sinon'
mongoose = require 'mongoose'
async = require 'asy... |
[
{
"context": "\n uid: 42, country: 'US', display_name: 'John P. User')\n contentType = 'application/json'\n if",
"end": 2571,
"score": 0.9998801946640015,
"start": 2559,
"tag": "NAME",
"value": "John P. User"
}
] | test/src/helpers/web_file_server.coffee | fatihacet/dropbox-js | 1 | express = require 'express'
fs = require 'fs'
https = require 'https'
open = require 'open'
# Tiny express.js server for the Web files.
class WebFileServer
# Starts up a HTTP server.
constructor: (@port = 8911) ->
@createApp()
# Opens the test URL in a browser.
openBrowser: (appName) ->
open @testUrl(... | 188637 | express = require 'express'
fs = require 'fs'
https = require 'https'
open = require 'open'
# Tiny express.js server for the Web files.
class WebFileServer
# Starts up a HTTP server.
constructor: (@port = 8911) ->
@createApp()
# Opens the test URL in a browser.
openBrowser: (appName) ->
open @testUrl(... | true | express = require 'express'
fs = require 'fs'
https = require 'https'
open = require 'open'
# Tiny express.js server for the Web files.
class WebFileServer
# Starts up a HTTP server.
constructor: (@port = 8911) ->
@createApp()
# Opens the test URL in a browser.
openBrowser: (appName) ->
open @testUrl(... |
[
{
"context": "er('labelPropertyPath', 'model', () ->\n key = \"model.#{@get('labelPropertyPath')}\"\n Ember.defineProper",
"end": 324,
"score": 0.9860150218009949,
"start": 316,
"tag": "KEY",
"value": "model.#{"
},
{
"context": "del', () ->\n key = \"model.#{@get('labelPrope... | addon/components/search-result.coffee | tenforce/ember-esco-plugins | 0 | `import Ember from 'ember'`
`import layout from '../templates/components/search-result'`
SearchResultComponent = Ember.Component.extend(
layout:layout
tagName: 'div'
classNames: ['aet-node']
attributeBindings: ['tooltipNode:title']
setLabel: Ember.observer('labelPropertyPath', 'model', () ->
key = "mode... | 57564 | `import Ember from 'ember'`
`import layout from '../templates/components/search-result'`
SearchResultComponent = Ember.Component.extend(
layout:layout
tagName: 'div'
classNames: ['aet-node']
attributeBindings: ['tooltipNode:title']
setLabel: Ember.observer('labelPropertyPath', 'model', () ->
key = "<KEY... | true | `import Ember from 'ember'`
`import layout from '../templates/components/search-result'`
SearchResultComponent = Ember.Component.extend(
layout:layout
tagName: 'div'
classNames: ['aet-node']
attributeBindings: ['tooltipNode:title']
setLabel: Ember.observer('labelPropertyPath', 'model', () ->
key = "PI:K... |
[
{
"context": "$scope.$storage.email = $scope.$storage.password = null\n )\n $scope.signup = ->\n $scope.l",
"end": 328,
"score": 0.6862286925315857,
"start": 324,
"tag": "PASSWORD",
"value": "null"
}
] | fuckr/controllers/loginController.coffee | grr69/originatr | 0 | loginController = ($scope, $location, $localStorage, authentication) ->
$scope.$storage = $localStorage
$scope.login = ->
$scope.logging = true
authentication.login().then(
-> $location.path('/profiles/')
-> $scope.logging = $scope.$storage.email = $scope.$storage.passwor... | 23143 | loginController = ($scope, $location, $localStorage, authentication) ->
$scope.$storage = $localStorage
$scope.login = ->
$scope.logging = true
authentication.login().then(
-> $location.path('/profiles/')
-> $scope.logging = $scope.$storage.email = $scope.$storage.passwor... | true | loginController = ($scope, $location, $localStorage, authentication) ->
$scope.$storage = $localStorage
$scope.login = ->
$scope.logging = true
authentication.login().then(
-> $location.path('/profiles/')
-> $scope.logging = $scope.$storage.email = $scope.$storage.passwor... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998491406440735,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/services/ServerService.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# 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 l... | 189484 | # Copyright (c) 2015 naymspace software (<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 a... | true | # Copyright (c) 2015 naymspace software (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 appli... |
[
{
"context": "f markdown', ->\n\t\t\tmarkup = \"\"\"\n\t\t\t<markdown>\n\t\t\t# fatarrow\n\t\t\t</markdown>\n\t\t\t\"\"\"\n\n\t\t\telement = @$compile(",
"end": 262,
"score": 0.9964049458503723,
"start": 254,
"tag": "NAME",
"value": "fatarrow"
},
{
"context": "f markdown', ->\n\t\... | src/components/markdown/test/markdown-directive.spec.coffee | webmaster89898/CaryLandholt-fatarrow | 0 | describe 'markdown', ->
describe 'markdown directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'renders html from a single line of markdown', ->
markup = """
<markdown>
# fatarrow
</markdown>
"""
element = @$compile(markup)(... | 122743 | describe 'markdown', ->
describe 'markdown directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'renders html from a single line of markdown', ->
markup = """
<markdown>
# <NAME>
</markdown>
"""
element = @$compile(markup)(@s... | true | describe 'markdown', ->
describe 'markdown directive', ->
beforeEach module 'app'
beforeEach inject (@$compile, $rootScope) ->
@scope = $rootScope.$new()
it 'renders html from a single line of markdown', ->
markup = """
<markdown>
# PI:NAME:<NAME>END_PI
</markdown>
"""
element = @$comp... |
[
{
"context": " resin.models.environmentVariables.device.getAll('7cf02a62a3a84440b1bb5579a3d57469148943278630b17e7fc6c4f7b465c9', function(error, environmentVariables) {\n# \tif (",
"end": 5393,
"score": 0.99845951795578,
"start": 5331,
"tag": "KEY",
"value": "7cf02a62a3a84440b1bb5579a3d57469... | lib/models/environment-variables.coffee | everyside/resin-sdk | 0 | ###
The MIT License
Copyright (c) 2015 Resin.io, Inc. https://resin.io.
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, ... | 164329 | ###
The MIT License
Copyright (c) 2015 Resin.io, Inc. https://resin.io.
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, ... | true | ###
The MIT License
Copyright (c) 2015 Resin.io, Inc. https://resin.io.
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, ... |
[
{
"context": "view Prevent usage of deprecated methods\n# @author Yannick Croissant\n# @author Scott Feeney\n# @author Sergei Startsev\n",
"end": 84,
"score": 0.999872624874115,
"start": 67,
"tag": "NAME",
"value": "Yannick Croissant"
},
{
"context": "ated methods\n# @author Yannick ... | src/rules/no-deprecated.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of deprecated methods
# @author Yannick Croissant
# @author Scott Feeney
# @author Sergei Startsev
###
'use strict'
Components = require '../util/react/Components'
astUtil = require '../util/react/ast'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
pragmaUtil = require 'esl... | 45008 | ###*
# @fileoverview Prevent usage of deprecated methods
# @author <NAME>
# @author <NAME>
# @author <NAME>
###
'use strict'
Components = require '../util/react/Components'
astUtil = require '../util/react/ast'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
pragmaUtil = require 'eslint-plugin-react/lib/util/... | true | ###*
# @fileoverview Prevent usage of deprecated methods
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
###
'use strict'
Components = require '../util/react/Components'
astUtil = require '../util/react/ast'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
pragmaUti... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\nroot = exports ? ",
"end": 36,
"score": 0.9998825192451477,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.c... | m26-js/src/m26_age.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
root = exports ? this
class Age
constructor: (n) ->
@value = parseFloat(n)
val: ->
@value
max_pulse: ->
if @val() <= 20
200.0
else
220.0 - @val()
add: (another_instance) ->
if another_instance
@val() ... | 140656 | # Copyright 2015, <NAME> <<EMAIL>>
root = exports ? this
class Age
constructor: (n) ->
@value = parseFloat(n)
val: ->
@value
max_pulse: ->
if @val() <= 20
200.0
else
220.0 - @val()
add: (another_instance) ->
if another_instance
@val() + another_instance.val()
subtr... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
root = exports ? this
class Age
constructor: (n) ->
@value = parseFloat(n)
val: ->
@value
max_pulse: ->
if @val() <= 20
200.0
else
220.0 - @val()
add: (another_instance) ->
if another_instance
@val() + an... |
[
{
"context": "representation (what finally you want)\n#\n# @author Cédric ZUGER\n#\nclass @SquareGrid extends AxialGrid\n\n # Create",
"end": 181,
"score": 0.9998521208763123,
"start": 169,
"tag": "NAME",
"value": "Cédric ZUGER"
}
] | app/assets/javascripts/hex_lib/square_grid.coffee | czuger/coffhex-dev | 1 | # This class represents a grid of hexagons stored in an axial coordinate system but manage the conversion to a square representation (what finally you want)
#
# @author Cédric ZUGER
#
class @SquareGrid extends AxialGrid
# Create an axial hexagon grid
#
# @param hex_ray [Integer] the size of an hexagon.
constru... | 114951 | # This class represents a grid of hexagons stored in an axial coordinate system but manage the conversion to a square representation (what finally you want)
#
# @author <NAME>
#
class @SquareGrid extends AxialGrid
# Create an axial hexagon grid
#
# @param hex_ray [Integer] the size of an hexagon.
constructor: ... | true | # This class represents a grid of hexagons stored in an axial coordinate system but manage the conversion to a square representation (what finally you want)
#
# @author PI:NAME:<NAME>END_PI
#
class @SquareGrid extends AxialGrid
# Create an axial hexagon grid
#
# @param hex_ray [Integer] the size of an hexagon.
... |
[
{
"context": "= false\n\n tile_xyz_to_key: (x, y, z) ->\n key = \"#{x}:#{y}:#{z}\"\n return key\n\n key_to_tile_xyz: (k",
"end": 1696,
"score": 0.8792290687561035,
"start": 1692,
"tag": "KEY",
"value": "\"#{x"
}
] | bokehjs/src/coffee/models/tiles/tile_source.coffee | quasiben/bokeh | 1 | _ = require "underscore"
ImagePool = require "./image_pool"
tile_utils = require "./tile_utils"
{logger} = require "../../core/logging"
p = require "../../core/properties"
Model = require "../../model"
class TileSource extends Model
type: 'TileSource'
@define {
url: [ p.String, '' ]
tile_... | 58851 | _ = require "underscore"
ImagePool = require "./image_pool"
tile_utils = require "./tile_utils"
{logger} = require "../../core/logging"
p = require "../../core/properties"
Model = require "../../model"
class TileSource extends Model
type: 'TileSource'
@define {
url: [ p.String, '' ]
tile_... | true | _ = require "underscore"
ImagePool = require "./image_pool"
tile_utils = require "./tile_utils"
{logger} = require "../../core/logging"
p = require "../../core/properties"
Model = require "../../model"
class TileSource extends Model
type: 'TileSource'
@define {
url: [ p.String, '' ]
tile_... |
[
{
"context": "@type:\"ModifierDispelAreaAttack\"\n\n\t@modifierName:\"Magic Buster Cannon\"\n\t@description:\"Whenever this attacks or countera",
"end": 514,
"score": 0.9788101315498352,
"start": 495,
"tag": "NAME",
"value": "Magic Buster Cannon"
}
] | app/sdk/modifiers/modifierDispelAreaAttack.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierSilence = require './modifierSilence'
DamageAction = require 'app/sdk/actions/damageAction'
###
This is purposely not a subclass of myAttackWatch, because this dispel should occur
o... | 216904 | Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierSilence = require './modifierSilence'
DamageAction = require 'app/sdk/actions/damageAction'
###
This is purposely not a subclass of myAttackWatch, because this dispel should occur
o... | true | Modifier = require './modifier'
AttackAction = require 'app/sdk/actions/attackAction'
CardType = require 'app/sdk/cards/cardType'
ModifierSilence = require './modifierSilence'
DamageAction = require 'app/sdk/actions/damageAction'
###
This is purposely not a subclass of myAttackWatch, because this dispel should occur
o... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998397827148438,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/grammar/jison.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 81388 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": " (secret, now = new Date().getTime()) ->\n key = @base32tohex(secret)\n epoch = Math.round(now / 1000.0)\n ",
"end": 1017,
"score": 0.9559011459350586,
"start": 1005,
"tag": "KEY",
"value": "@base32tohex"
}
] | coffee/jsOTP.coffee | styletronix/JS-OTP | 173 | class Totp
# pass in the secret, code dom element, ticker dom element
constructor: (@expiry = 30, @length = 6) ->
# validate input
if @length > 8 or @length < 6
throw "Error: invalid code length"
dec2hex: (s) ->
((if s < 15.5 then "0" else "")) + Math.round(s).toString(16)
hex2dec: (s) ->
... | 196168 | class Totp
# pass in the secret, code dom element, ticker dom element
constructor: (@expiry = 30, @length = 6) ->
# validate input
if @length > 8 or @length < 6
throw "Error: invalid code length"
dec2hex: (s) ->
((if s < 15.5 then "0" else "")) + Math.round(s).toString(16)
hex2dec: (s) ->
... | true | class Totp
# pass in the secret, code dom element, ticker dom element
constructor: (@expiry = 30, @length = 6) ->
# validate input
if @length > 8 or @length < 6
throw "Error: invalid code length"
dec2hex: (s) ->
((if s < 15.5 then "0" else "")) + Math.round(s).toString(16)
hex2dec: (s) ->
... |
[
{
"context": "script.\r\n#\r\n# MIT License\r\n#\r\n# Copyright (c) 2014 Dennis Raymondo van der Sluis\r\n#\r\n# Permission is hereby granted, free of charg",
"end": 158,
"score": 0.9998756051063538,
"start": 129,
"tag": "NAME",
"value": "Dennis Raymondo van der Sluis"
}
] | strings.coffee | phazelift/strings.js | 5 | # strings.coffee - A Javascript string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 Dennis Raymondo van der Sluis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to de... | 132711 | # strings.coffee - A Javascript string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software w... | true | # strings.coffee - A Javascript string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in ... |
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998795390129089,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/... | src/code/arrow.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
arrow = {
left: ref 'Left', 37
up: ref 'Up', 38
righ... | 106643 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
arrow = {
left: ref 'Left', 37
up: ref 'Up', 38
right: ref ... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
arrow = {
left: ref 'Left', 37
up: ref 'Up', 38... |
[
{
"context": "\\\\\\\\begin{thebibliography}{}\n \\\\\\\\bibitem[{Arnol\\\\\\\\$'\\\\\\\\$d et al. [1982]}] {arnold:sing}\n ",
"end": 11775,
"score": 0.6138582229614258,
"start": 11770,
"tag": "NAME",
"value": "Arnol"
},
{
"context": "\\$'\\\\\\\\$d et al. [1982]}] {arno... | snippets.cson | subhylahiri/FasTeX_Snippets | 1 | ".text.tex.latex":
"tepaper.simplest":
"prefix": "tepaper.simplest"
"body": """
%&latex2e--tepaper simplest
\\\\documentclass{article}
\\\\begin{document}
\\\\title{Title of paper}
\\\\author{Author1
\\\\thanks{Research partially supported by ...}... | 32482 | ".text.tex.latex":
"tepaper.simplest":
"prefix": "tepaper.simplest"
"body": """
%&latex2e--tepaper simplest
\\\\documentclass{article}
\\\\begin{document}
\\\\title{Title of paper}
\\\\author{Author1
\\\\thanks{Research partially supported by ...}... | true | ".text.tex.latex":
"tepaper.simplest":
"prefix": "tepaper.simplest"
"body": """
%&latex2e--tepaper simplest
\\\\documentclass{article}
\\\\begin{document}
\\\\title{Title of paper}
\\\\author{Author1
\\\\thanks{Research partially supported by ...}... |
[
{
"context": "d: @tycoonId\n planetId: @planetId\n name: @name\n levelId: @levelId\n lastMailAt: if ",
"end": 518,
"score": 0.5479372143745422,
"start": 518,
"tag": "NAME",
"value": ""
}
] | src/corporation/corporation.coffee | starpeace-project/starpeace-server-galaxy-nodejs | 0 | _ = require('lodash')
{ DateTime } = require('luxon')
module.exports = class Corporation
constructor: (@id) ->
@buildingCount = 0
@companyIds = new Set()
toJsonApi: (companies) ->
{
id: @id
tycoonId: @tycoonId
planetId: @planetId
name: @name
levelId: @levelId
buildi... | 106208 | _ = require('lodash')
{ DateTime } = require('luxon')
module.exports = class Corporation
constructor: (@id) ->
@buildingCount = 0
@companyIds = new Set()
toJsonApi: (companies) ->
{
id: @id
tycoonId: @tycoonId
planetId: @planetId
name: @name
levelId: @levelId
buildi... | true | _ = require('lodash')
{ DateTime } = require('luxon')
module.exports = class Corporation
constructor: (@id) ->
@buildingCount = 0
@companyIds = new Set()
toJsonApi: (companies) ->
{
id: @id
tycoonId: @tycoonId
planetId: @planetId
name: @name
levelId: @levelId
buildi... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# Permission to use, copy, modify",
"end": 39,
"score": 0.9998605847358704,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
},
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# P... | src/http/controllers/auth.coffee | Riemannn/AST_Final_Project | 0 | # Copyright (C) 2017 Alexandre Pielucha & Marie Perin
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 119007 | # Copyright (C) 2017 <NAME> & <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" ... |
[
{
"context": "#\n knockback.js 0.19.1\n Copyright (c) 2011-2014 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 67,
"score": 0.9997067451477051,
"start": 53,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/factory.coffee | metacommunications/knockback | 0 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Backbone... | 130255 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###... | true | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Ba... |
[
{
"context": "railingSlash: true, host: \"rituwall.com\", user: \"lance\", password: \"pollard\", anchor: {likes: 10}})\n# \"h",
"end": 7520,
"score": 0.7022699117660522,
"start": 7516,
"tag": "USERNAME",
"value": "ance"
},
{
"context": ", host: \"rituwall.com\", user: \"lance\", pas... | src/tower/support/string.coffee | vjsingh/tower | 1 | Tower.Support.String =
camelize_rx: /(?:^|_|\-)(.)/g
capitalize_rx: /(^|\s)([a-z])/g
underscore_rx1: /([A-Z]+)([A-Z][a-z])/g
underscore_rx2: /([a-z\d])([A-Z])/g
parameterize: (string) ->
Tower.Support.String.underscore(string).replace("_", "-")
constantize: (string, scope = global) ->
scope[@c... | 166286 | Tower.Support.String =
camelize_rx: /(?:^|_|\-)(.)/g
capitalize_rx: /(^|\s)([a-z])/g
underscore_rx1: /([A-Z]+)([A-Z][a-z])/g
underscore_rx2: /([a-z\d])([A-Z])/g
parameterize: (string) ->
Tower.Support.String.underscore(string).replace("_", "-")
constantize: (string, scope = global) ->
scope[@c... | true | Tower.Support.String =
camelize_rx: /(?:^|_|\-)(.)/g
capitalize_rx: /(^|\s)([a-z])/g
underscore_rx1: /([A-Z]+)([A-Z][a-z])/g
underscore_rx2: /([a-z\d])([A-Z])/g
parameterize: (string) ->
Tower.Support.String.underscore(string).replace("_", "-")
constantize: (string, scope = global) ->
scope[@c... |
[
{
"context": "module.exports = [\n {\n id: 'Blue'\n name: 'Blue Whale'\n scientificName: 'Bala",
"end": 36,
"score": 0.9981789588928223,
"start": 32,
"tag": "NAME",
"value": "Blue"
},
{
"context": "module.exports = [\n {\n id: 'Blue'\n name: 'Blue Whale'\n scienti... | scripts/sightingsTemplate.coffee | mcclintock-lab/shipping-lane-report | 0 | module.exports = [
{
id: 'Blue'
name: 'Blue Whale'
scientificName: 'Balaenoptera musculus'
unchangedCount: 150
count: 0
},
{
id: 'Humpback'
name: 'Humpback Whale'
scientificName: 'Megaptera novaeangliae'
unchangedCount: 218
count: 0
},
{
id: 'Gray'
name: 'Gray W... | 92018 | module.exports = [
{
id: '<NAME>'
name: '<NAME>'
scientificName: 'Balaenoptera musculus'
unchangedCount: 150
count: 0
},
{
id: '<NAME>'
name: '<NAME>'
scientificName: '<NAME>a nov<NAME>liae'
unchangedCount: 218
count: 0
},
{
id: '<NAME>'
name: '<NAME>'
scien... | true | module.exports = [
{
id: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
scientificName: 'Balaenoptera musculus'
unchangedCount: 150
count: 0
},
{
id: 'PI:NAME:<NAME>END_PI'
name: 'PI:NAME:<NAME>END_PI'
scientificName: 'PI:NAME:<NAME>END_PIa novPI:NAME:<NAME>END_PIliae'
unc... |
[
{
"context": " __dirname }/static\")\n\napp.set 'ipWhitelist', [\n\t'127.0.0.0/8',\n\t'128.135.0.0/16',\n\t'205.208.0.0/17',\n\t'165.6",
"end": 366,
"score": 0.9997429251670837,
"start": 357,
"tag": "IP_ADDRESS",
"value": "127.0.0.0"
},
{
"context": "tic\")\n\napp.set 'ipWhitelist', ... | server.coffee | kz26/UChicagoRoulette | 2 | cidrMatch = require 'cidr_match'
express = require 'express'
http = require 'http'
moment = require 'moment'
sanitize = require('validator').sanitize
sockjs = require 'sockjs'
app = express()
app.enable 'trust proxy'
app.use express.logger()
app.use express.compress()
app.use "/static", express.static("#{ __dirname }/... | 36805 | cidrMatch = require 'cidr_match'
express = require 'express'
http = require 'http'
moment = require 'moment'
sanitize = require('validator').sanitize
sockjs = require 'sockjs'
app = express()
app.enable 'trust proxy'
app.use express.logger()
app.use express.compress()
app.use "/static", express.static("#{ __dirname }/... | true | cidrMatch = require 'cidr_match'
express = require 'express'
http = require 'http'
moment = require 'moment'
sanitize = require('validator').sanitize
sockjs = require 'sockjs'
app = express()
app.enable 'trust proxy'
app.use express.logger()
app.use express.compress()
app.use "/static", express.static("#{ __dirname }/... |
[
{
"context": " <li>\n <a itemprop=\"url\" href=\"mailto:hello@koding.com\" >\n <div itemprop=\"name\">Contact</div>",
"end": 3515,
"score": 0.9999250769615173,
"start": 3499,
"tag": "EMAIL",
"value": "hello@koding.com"
},
{
"context": "107</span>\n </div... | servers/lib/crawler/staticpages/kodinghome.coffee | ezgikaysi/koding | 1 | # This file contains static HTML output which is generated with browser.
# Since Koding homepage is now serving static content, we're serving very same
# content to GoogleBot.
module.exports = ->
getGraphMeta = require './graphmeta'
analytics = require './analytics'
"""
<!DOCTYPE html>
<html lang="en" it... | 191882 | # This file contains static HTML output which is generated with browser.
# Since Koding homepage is now serving static content, we're serving very same
# content to GoogleBot.
module.exports = ->
getGraphMeta = require './graphmeta'
analytics = require './analytics'
"""
<!DOCTYPE html>
<html lang="en" it... | true | # This file contains static HTML output which is generated with browser.
# Since Koding homepage is now serving static content, we're serving very same
# content to GoogleBot.
module.exports = ->
getGraphMeta = require './graphmeta'
analytics = require './analytics'
"""
<!DOCTYPE html>
<html lang="en" it... |
[
{
"context": "tp://quojs.tapquo.com\n\n Copyright (C) 2011,2012 Javi Jiménez Villar (@soyjavi)\n\n Permission is hereby granted, fre",
"end": 96,
"score": 0.9998763799667358,
"start": 77,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "m\n\n Copyright (C) 2011... | src/QuoJS/src/quo.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1.2
http://quojs.tapquo.com
Copyright (C) 2011,2012 Javi Jiménez Villar (@soyjavi)
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, includi... | 1474 | ###
QuoJS 2.1.2
http://quojs.tapquo.com
Copyright (C) 2011,2012 <NAME> (@soyjavi)
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 li... | true | ###
QuoJS 2.1.2
http://quojs.tapquo.com
Copyright (C) 2011,2012 PI:NAME:<NAME>END_PI (@soyjavi)
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, includ... |
[
{
"context": "chatHost =\n PROTOCOL: 'ws'\n HOST: '112.74.92.150'\n PORT: 9501\n\nmodule.exports = chatHost\n",
"end": 54,
"score": 0.9997325539588928,
"start": 41,
"tag": "IP_ADDRESS",
"value": "112.74.92.150"
}
] | public/src/pages/chat/chatHost.coffee | yuanzm/Live-Chat | 56 | chatHost =
PROTOCOL: 'ws'
HOST: '112.74.92.150'
PORT: 9501
module.exports = chatHost
| 144452 | chatHost =
PROTOCOL: 'ws'
HOST: '172.16.31.10'
PORT: 9501
module.exports = chatHost
| true | chatHost =
PROTOCOL: 'ws'
HOST: 'PI:IP_ADDRESS:172.16.31.10END_PI'
PORT: 9501
module.exports = chatHost
|
[
{
"context": "EVENT_KEY[key] ? key.toLowerCase()\n if key is \"altgraph\" and process.platform is \"win32\"\n key = \"alt",
"end": 5002,
"score": 0.9033558964729309,
"start": 4994,
"tag": "KEY",
"value": "altgraph"
},
{
"context": "aph\" and process.platform is \"win32\"\n ... | src/helpers.coffee | nkallen/atom-keymap | 0 | {calculateSpecificity} = require 'clear-cut'
keyboard = navigator.keyboard
KeyboardLayout = null
keyboard.getLayoutMap().then((map) -> KeyboardLayout = map)
MODIFIERS = new Set(['ctrl', 'alt', 'shift', 'cmd'])
ENDS_IN_MODIFIER_REGEX = /(ctrl|alt|shift|cmd)$/
WHITESPACE_REGEX = /\s+/
KEY_NAMES_BY_KEYBOARD_EVENT_CODE = ... | 120931 | {calculateSpecificity} = require 'clear-cut'
keyboard = navigator.keyboard
KeyboardLayout = null
keyboard.getLayoutMap().then((map) -> KeyboardLayout = map)
MODIFIERS = new Set(['ctrl', 'alt', 'shift', 'cmd'])
ENDS_IN_MODIFIER_REGEX = /(ctrl|alt|shift|cmd)$/
WHITESPACE_REGEX = /\s+/
KEY_NAMES_BY_KEYBOARD_EVENT_CODE = ... | true | {calculateSpecificity} = require 'clear-cut'
keyboard = navigator.keyboard
KeyboardLayout = null
keyboard.getLayoutMap().then((map) -> KeyboardLayout = map)
MODIFIERS = new Set(['ctrl', 'alt', 'shift', 'cmd'])
ENDS_IN_MODIFIER_REGEX = /(ctrl|alt|shift|cmd)$/
WHITESPACE_REGEX = /\s+/
KEY_NAMES_BY_KEYBOARD_EVENT_CODE = ... |
[
{
"context": "helpers = require 'sha_summarizer'\nkeys = [\"object instantiation: vanilla object creation\", \"object instantiation: clunk creation\"]\nshas = ",
"end": 89,
"score": 0.6280801892280579,
"start": 44,
"tag": "KEY",
"value": "object instantiation: vanilla object creation"
},
... | tests/prof/reports/BatmanObject/Instantiation Speed.coffee | davidcornu/batman | 3 | helpers = require 'sha_summarizer'
keys = ["object instantiation: vanilla object creation", "object instantiation: clunk creation"]
shas = helpers.getAvailableShas(keys)
header "Instantiation Speed (milliseconds)"
barchart helpers.reportKeyAcrossShasAndAgents(keys[0], shas)
header "Instantiation Speed with many keys ... | 105618 | helpers = require 'sha_summarizer'
keys = ["<KEY>", "object instantiation: cl<KEY>"]
shas = helpers.getAvailableShas(keys)
header "Instantiation Speed (milliseconds)"
barchart helpers.reportKeyAcrossShasAndAgents(keys[0], shas)
header "Instantiation Speed with many keys (milliseconds)"
barchart helpers.reportKeyAcros... | true | helpers = require 'sha_summarizer'
keys = ["PI:KEY:<KEY>END_PI", "object instantiation: clPI:KEY:<KEY>END_PI"]
shas = helpers.getAvailableShas(keys)
header "Instantiation Speed (milliseconds)"
barchart helpers.reportKeyAcrossShasAndAgents(keys[0], shas)
header "Instantiation Speed with many keys (milliseconds)"
barch... |
[
{
"context": "nt Settings Root (assets)\nProject: Waaave\nAuthors: Julien Le Coupanec, Valerian Saliou\nCopyright: 2014, Waaave\n###\n\n__ ",
"end": 86,
"score": 0.999862790107727,
"start": 68,
"tag": "NAME",
"value": "Julien Le Coupanec"
},
{
"context": "sets)\nProject: Waaave\nAuth... | static/src/assets/account/javascripts/account_settings_root.coffee | valeriansaliou/waaave-web | 1 | ###
Bundle: Account Settings Root (assets)
Project: Waaave
Authors: Julien Le Coupanec, Valerian Saliou
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsRoot
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
@_body_se... | 4938 | ###
Bundle: Account Settings Root (assets)
Project: Waaave
Authors: <NAME>, <NAME>
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsRoot
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
@_body_sel = $ 'body'
... | true | ###
Bundle: Account Settings Root (assets)
Project: Waaave
Authors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsRoot
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
@_... |
[
{
"context": "ribe '->forgot', ->\n describe 'when called with a@octoblu.com', ->\n beforeEach ->\n @sut.forgot 'a@o",
"end": 1217,
"score": 0.9999241232872009,
"start": 1204,
"tag": "EMAIL",
"value": "a@octoblu.com"
},
{
"context": "com', ->\n beforeEach ->\n ... | test/models/forgot-password-model-spec.coffee | iotrentil/rentil-authenticator-email-password | 0 | ForgotPasswordModel = require '../../app/models/forgot-password-model'
_ = require 'lodash'
describe 'ForgotPasswordModel', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
update: sinon.stub().yields null
sign: sinon.stub()
verify: sinon.stub().returns true
@Mailgun = sinon.spy... | 93671 | ForgotPasswordModel = require '../../app/models/forgot-password-model'
_ = require 'lodash'
describe 'ForgotPasswordModel', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
update: sinon.stub().yields null
sign: sinon.stub()
verify: sinon.stub().returns true
@Mailgun = sinon.spy... | true | ForgotPasswordModel = require '../../app/models/forgot-password-model'
_ = require 'lodash'
describe 'ForgotPasswordModel', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
update: sinon.stub().yields null
sign: sinon.stub()
verify: sinon.stub().returns true
@Mailgun = sinon.spy... |
[
{
"context": "th login : {\n# account : \"hi\"\n# password : \"xxx\"\n#}, (r)->\n# console.log(r)\n",
"end": 597,
"score": 0.9993700385093689,
"start": 594,
"tag": "PASSWORD",
"value": "xxx"
}
] | z42/coffee/_lib/rpc.coffee | jumploop/collection_python | 0 | $import = (config)->
for name, path of config
window["$$#{name}"] = (args , callback)->
for funcname, kwds of args
if $.isFunction(kwds)
callback = kwds
kwds = {}
$.getJSON1(
"#{path}/#{name}.#{funcname}?... | 118530 | $import = (config)->
for name, path of config
window["$$#{name}"] = (args , callback)->
for funcname, kwds of args
if $.isFunction(kwds)
callback = kwds
kwds = {}
$.getJSON1(
"#{path}/#{name}.#{funcname}?... | true | $import = (config)->
for name, path of config
window["$$#{name}"] = (args , callback)->
for funcname, kwds of args
if $.isFunction(kwds)
callback = kwds
kwds = {}
$.getJSON1(
"#{path}/#{name}.#{funcname}?... |
[
{
"context": "ted and maintained by <a href=\"http://thibaut.me\">Thibaut Courouble</a>\n <li>Free and <a href=\"https://github.com/",
"end": 620,
"score": 0.9998701214790344,
"start": 603,
"tag": "NAME",
"value": "Thibaut Courouble"
},
{
"context": "</a>\n <li>Free and <a href... | public/javascripts/templates/pages/about_tmpl.coffee | w3cub/docshub-node | 3 | app.templates.aboutPage = -> """
<nav class="_toc" role="directory">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
<li><a... | 203999 | app.templates.aboutPage = -> """
<nav class="_toc" role="directory">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
<li><a... | true | app.templates.aboutPage = -> """
<nav class="_toc" role="directory">
<h3 class="_toc-title">Table of Contents</h3>
<ul class="_toc-list">
<li><a href="#credits">Credits</a>
<li><a href="#faq">FAQ</a>
<li><a href="#copyright">Copyright</a>
<li><a href="#plugins">Plugins</a>
<li><a... |
[
{
"context": " cacheParams = {\n key: \"#{api.fullname}-matchlist-#{region}-#{summonerId}-\" + paramsToCacheKey(queryPa",
"end": 2010,
"score": 0.880628764629364,
"start": 1998,
"tag": "KEY",
"value": "matchlist-#{"
},
{
"context": " key: \"#{api.fullname}-matchl... | src/api/matchlist.coffee | jwalton/lol-js | 30 | ld = require 'lodash'
pb = require 'promise-breaker'
{arrayToList, paramsToCacheKey} = require '../utils'
api = exports.api = {
fullname: "matchlist-v2.2",
name: "matchlist",
version: "v2.2"
}
exports.methods = {
# Retrieve match history for a summoner.
#
# Parameters:
... | 22421 | ld = require 'lodash'
pb = require 'promise-breaker'
{arrayToList, paramsToCacheKey} = require '../utils'
api = exports.api = {
fullname: "matchlist-v2.2",
name: "matchlist",
version: "v2.2"
}
exports.methods = {
# Retrieve match history for a summoner.
#
# Parameters:
... | true | ld = require 'lodash'
pb = require 'promise-breaker'
{arrayToList, paramsToCacheKey} = require '../utils'
api = exports.api = {
fullname: "matchlist-v2.2",
name: "matchlist",
version: "v2.2"
}
exports.methods = {
# Retrieve match history for a summoner.
#
# Parameters:
... |
[
{
"context": "t> dropdowns\n// Full source at https://github.com/tristanjahier/chosen-order\n// Copyright (c) 2013 - Tristan Jahi",
"end": 399,
"score": 0.9959187507629395,
"start": 386,
"tag": "USERNAME",
"value": "tristanjahier"
},
{
"context": "tristanjahier/chosen-order\n// Copyr... | public/system/vendors/chosen-order/Gruntfile.coffee | osiris2k/school | 46 | module.exports = (grunt) ->
version = ->
grunt.file.readJSON("package.json").version
version_tag = ->
"v#{version()}"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
comments: """
// Chosen Order #{version_tag()}
// This plugin allows you to handle the order of the selection for Chosen... | 14323 | module.exports = (grunt) ->
version = ->
grunt.file.readJSON("package.json").version
version_tag = ->
"v#{version()}"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
comments: """
// Chosen Order #{version_tag()}
// This plugin allows you to handle the order of the selection for Chosen... | true | module.exports = (grunt) ->
version = ->
grunt.file.readJSON("package.json").version
version_tag = ->
"v#{version()}"
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
comments: """
// Chosen Order #{version_tag()}
// This plugin allows you to handle the order of the selection for Chosen... |
[
{
"context": " 'rankKey': 'rank_custom'\n 'scoreKey': 'score_custom'\n 'memberDataKey': 'member_data_custom",
"end": 1148,
"score": 0.5182228684425354,
"start": 1142,
"tag": "KEY",
"value": "score_"
},
{
"context": "r data', (reply) -> )\n\n @leaderboard.scoreFor('d... | spec/leaderboard_spec.coffee | KeKs0r/leaderboard-coffeescript | 22 | describe 'Leaderboard', ->
before ->
@redisConnection = redis.createClient(6379, 'localhost')
beforeEach ->
@leaderboard = new Leaderboard('highscores', Leaderboard.DEFAULT_OPTIONS)
afterEach ->
@redisConnection.flushdb()
it 'should initialize the leaderboard correctly', (done) ->
@leaderboard... | 83489 | describe 'Leaderboard', ->
before ->
@redisConnection = redis.createClient(6379, 'localhost')
beforeEach ->
@leaderboard = new Leaderboard('highscores', Leaderboard.DEFAULT_OPTIONS)
afterEach ->
@redisConnection.flushdb()
it 'should initialize the leaderboard correctly', (done) ->
@leaderboard... | true | describe 'Leaderboard', ->
before ->
@redisConnection = redis.createClient(6379, 'localhost')
beforeEach ->
@leaderboard = new Leaderboard('highscores', Leaderboard.DEFAULT_OPTIONS)
afterEach ->
@redisConnection.flushdb()
it 'should initialize the leaderboard correctly', (done) ->
@leaderboard... |
[
{
"context": "# See https://github.com/meteor-useraccounts/core/blob/master/Guide.md\nmySubmitFunc = (error, ",
"end": 44,
"score": 0.962492823600769,
"start": 25,
"tag": "USERNAME",
"value": "meteor-useraccounts"
},
{
"context": "ates.configure\n \n # Behaviour\n confirmPassword:... | lib/_config/accounts.coffee | Innarticles/projectFindHospital | 0 | # See https://github.com/meteor-useraccounts/core/blob/master/Guide.md
mySubmitFunc = (error, state) ->
if !error
if state == 'signIn'
# ...
else
if state == 'signUp'
# ...
else
return
AccountsTemplates.configure
# Behaviour
confirmPassword: false
enablePasswor... | 77397 | # See https://github.com/meteor-useraccounts/core/blob/master/Guide.md
mySubmitFunc = (error, state) ->
if !error
if state == 'signIn'
# ...
else
if state == 'signUp'
# ...
else
return
AccountsTemplates.configure
# Behaviour
confirmPassword: <PASSWORD>
enablePa... | true | # See https://github.com/meteor-useraccounts/core/blob/master/Guide.md
mySubmitFunc = (error, state) ->
if !error
if state == 'signIn'
# ...
else
if state == 'signUp'
# ...
else
return
AccountsTemplates.configure
# Behaviour
confirmPassword: PI:PASSWORD:<PASSWORD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.