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": "\n acceptRemoteChangesTo: (klass, id) ->\n key = \"#{klass.name}-#{id}\"\n @_locks[key] is undefined\n\n increment: (klas",
"end": 1018,
"score": 0.9971709847450256,
"start": 997,
"tag": "KEY",
"value": "\"#{klass.name}-#{id}\""
},
{
"context": "s undefined\n\n ... | app/src/flux/nylas-api.coffee | immershy/nodemail | 0 | _ = require 'underscore'
# {remote} = require 'electron'
request = require 'request'
NylasLongConnection = require './nylas-long-connection'
Utils = require './models/utils'
Account = require './models/account'
Message = require './models/message'
Actions = require './actions'
{APIError} = require './errors'
PriorityUI... | 78889 | _ = require 'underscore'
# {remote} = require 'electron'
request = require 'request'
NylasLongConnection = require './nylas-long-connection'
Utils = require './models/utils'
Account = require './models/account'
Message = require './models/message'
Actions = require './actions'
{APIError} = require './errors'
PriorityUI... | true | _ = require 'underscore'
# {remote} = require 'electron'
request = require 'request'
NylasLongConnection = require './nylas-long-connection'
Utils = require './models/utils'
Account = require './models/account'
Message = require './models/message'
Actions = require './actions'
{APIError} = require './errors'
PriorityUI... |
[
{
"context": "\n resize: true,\n data: [],\n xkey: 'created_at',\n ykeys: ['remaining_estimate'],\n l",
"end": 281,
"score": 0.5561710596084595,
"start": 274,
"tag": "NAME",
"value": "created"
}
] | app/assets/javascripts/controllers/project_dashboard.js.coffee | dfraser74/sofreakingboring | 17 | @ProjectDashboard=
init: ->
ProjectDashboard.initCharts()
ProjectDashboard.initData()
$(".knob").knob()
initCharts: ->
ProjectDashboard.burndown = new Morris.Line({
element: 'burndown-chart',
resize: true,
data: [],
xkey: 'created_at',
ykeys: ['remaining_estimate... | 118867 | @ProjectDashboard=
init: ->
ProjectDashboard.initCharts()
ProjectDashboard.initData()
$(".knob").knob()
initCharts: ->
ProjectDashboard.burndown = new Morris.Line({
element: 'burndown-chart',
resize: true,
data: [],
xkey: '<NAME>_at',
ykeys: ['remaining_estimate'... | true | @ProjectDashboard=
init: ->
ProjectDashboard.initCharts()
ProjectDashboard.initData()
$(".knob").knob()
initCharts: ->
ProjectDashboard.burndown = new Morris.Line({
element: 'burndown-chart',
resize: true,
data: [],
xkey: 'PI:NAME:<NAME>END_PI_at',
ykeys: ['remai... |
[
{
"context": "Role = ef.createJournalRole journal,\n name: \"Admin\"\n kind: \"admin\"\n can_administer_journal",
"end": 286,
"score": 0.5264388918876648,
"start": 281,
"tag": "NAME",
"value": "Admin"
}
] | test/javascripts/integration/admin_journal_test.js.coffee | johan--/tahi | 1 | module 'Integration: Admin Journal Test',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "Admin"
kind: "admin"
can_ad... | 221840 | module 'Integration: Admin Journal Test',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "<NAME>"
kind: "admin"
can_a... | true | module 'Integration: Admin Journal Test',
teardown: -> ETahi.reset()
setup: ->
setupApp integration: true
ef = ETahi.Factory
journal = ef.createRecord('AdminJournal')
TahiTest.journalId = journal.id
adminRole = ef.createJournalRole journal,
name: "PI:NAME:<NAME>END_PI"
kind: "admi... |
[
{
"context": "arameter\"\n return\n newScript.key = \"#{newScript.hook}:#{newScript.param}\"\n when 'on",
"end": 1636,
"score": 0.9129446744918823,
"start": 1633,
"tag": "KEY",
"value": "\"#{"
},
{
"context": " return\n newScript.key = \"#{newScript.hook}... | client/control/modules/edit-view-scripts.coffee | scopely/withboard | 32 | Template.EditViewScripts.onRendered ->
@autorun =>
if scriptKey = Session.get 'script key'
editor = @$('.script-editor')[0].cm
if scriptKey is 'new'
editor.setValue '(event) ->\n # logic goes here'
else if script = @data.template.scripts?.filter(({key}) -> key is scriptKey)[0]
... | 114850 | Template.EditViewScripts.onRendered ->
@autorun =>
if scriptKey = Session.get 'script key'
editor = @$('.script-editor')[0].cm
if scriptKey is 'new'
editor.setValue '(event) ->\n # logic goes here'
else if script = @data.template.scripts?.filter(({key}) -> key is scriptKey)[0]
... | true | Template.EditViewScripts.onRendered ->
@autorun =>
if scriptKey = Session.get 'script key'
editor = @$('.script-editor')[0].cm
if scriptKey is 'new'
editor.setValue '(event) ->\n # logic goes here'
else if script = @data.template.scripts?.filter(({key}) -> key is scriptKey)[0]
... |
[
{
"context": "then entry.eukaryota = 1\n\t\t# \twhen \"Nomascus_leucogenys\" then entry.eukaryota = 1\n\t\t# \twhen \"Gorilla_gori",
"end": 1606,
"score": 0.5999171733856201,
"start": 1601,
"tag": "NAME",
"value": "genys"
},
{
"context": "thaliana\" : 1\n\t\t\t\"Caenorhabditis elegan... | src/hmmer_crossfilter.coffee | fabsta/dc_crossfilter | 0 |
div_width = d3.select("#crossfilter_div").style("width").replace("px","");
d3.json("data/real_data.json", (hmmer_data) ->
#d3.json("data/real_data_6000.json", (hmmer_data) ->
console.log hmmer_data
# Set the divs
example_data = [
{"evalue":0.10, "x":7,"y":2,"sp":"Homo_sapiens", "da":"SH2", "bubble":4},
... | 110381 |
div_width = d3.select("#crossfilter_div").style("width").replace("px","");
d3.json("data/real_data.json", (hmmer_data) ->
#d3.json("data/real_data_6000.json", (hmmer_data) ->
console.log hmmer_data
# Set the divs
example_data = [
{"evalue":0.10, "x":7,"y":2,"sp":"Homo_sapiens", "da":"SH2", "bubble":4},
... | true |
div_width = d3.select("#crossfilter_div").style("width").replace("px","");
d3.json("data/real_data.json", (hmmer_data) ->
#d3.json("data/real_data_6000.json", (hmmer_data) ->
console.log hmmer_data
# Set the divs
example_data = [
{"evalue":0.10, "x":7,"y":2,"sp":"Homo_sapiens", "da":"SH2", "bubble":4},
... |
[
{
"context": "class MonotonicCubicSpline\n\n# by George MacKerron, mackerron.com\n\n# adapted from:\n# http://sourcefo",
"end": 49,
"score": 0.9998898506164551,
"start": 33,
"tag": "NAME",
"value": "George MacKerron"
},
{
"context": "22-in-python-td25204843.html)\n\n# with help from:... | src/map_generator/splines.coffee | simulated-tea/tmx-server | 0 | class MonotonicCubicSpline
# by George MacKerron, mackerron.com
# adapted from:
# http://sourceforge.net/mailarchive/forum.php?thread_name=
# EC90C5C6-C982-4F49-8D46-A64F270C5247%40gmail.com&forum_name=matplotlib-users
# (easier to read at http://old.nabble.com/%22Piecewise-Cubic-Hermite-Interpolating-
# Polynomial%2... | 17672 | class MonotonicCubicSpline
# by <NAME>, mackerron.com
# adapted from:
# http://sourceforge.net/mailarchive/forum.php?thread_name=
# EC90C5C6-C982-4F49-8D46-A64F270C5247%40gmail.com&forum_name=matplotlib-users
# (easier to read at http://old.nabble.com/%22Piecewise-Cubic-Hermite-Interpolating-
# Polynomial%22-in-pytho... | true | class MonotonicCubicSpline
# by PI:NAME:<NAME>END_PI, mackerron.com
# adapted from:
# http://sourceforge.net/mailarchive/forum.php?thread_name=
# EC90C5C6-C982-4F49-8D46-A64F270C5247%40gmail.com&forum_name=matplotlib-users
# (easier to read at http://old.nabble.com/%22Piecewise-Cubic-Hermite-Interpolating-
# Polynomi... |
[
{
"context": "200, [\n {\n id: 1\n name: 'Black Rock'\n owner: 'test'\n },\n {\n ",
"end": 539,
"score": 0.9997906684875488,
"start": 529,
"tag": "NAME",
"value": "Black Rock"
},
{
"context": " },\n {\n id: 2\n ... | test/spec/services/editors.coffee | MaximeMorille/BoardGamesCriticsClient | 0 | 'use strict'
describe 'Service: editors', ->
# load the service's module
beforeEach module('boardGamesCriticsClientApp')
# instantiate service
editors = {}
apiKey = {}
httpBackend = {}
beforeEach(inject((Editors, API_KEY, $httpBackend) ->
editors = Editors
apiKey = API_KEY
httpBackend = $ht... | 102694 | 'use strict'
describe 'Service: editors', ->
# load the service's module
beforeEach module('boardGamesCriticsClientApp')
# instantiate service
editors = {}
apiKey = {}
httpBackend = {}
beforeEach(inject((Editors, API_KEY, $httpBackend) ->
editors = Editors
apiKey = API_KEY
httpBackend = $ht... | true | 'use strict'
describe 'Service: editors', ->
# load the service's module
beforeEach module('boardGamesCriticsClientApp')
# instantiate service
editors = {}
apiKey = {}
httpBackend = {}
beforeEach(inject((Editors, API_KEY, $httpBackend) ->
editors = Editors
apiKey = API_KEY
httpBackend = $ht... |
[
{
"context": " Amsterdam Brewery\n info@amsterdambeer.com\n 416.504.6882\n ",
"end": 1499,
"score": 0.999922513961792,
"start": 1477,
"tag": "EMAIL",
"value": "info@amsterdambeer.com"
},
{
"context": "er('input')\n e... | spec/jquery-addressparserSpec.coffee | thrustlabs/jquery-addressparser | 1 | describe 'jQuery Address Parser Plugin', ->
beforeEach ->
jasmine.getFixtures().set("""
<textarea id='rawAddress'></textarea>
<input type='text' id='name' />
<input type='text' id='address' />
... | 90363 | describe 'jQuery Address Parser Plugin', ->
beforeEach ->
jasmine.getFixtures().set("""
<textarea id='rawAddress'></textarea>
<input type='text' id='name' />
<input type='text' id='address' />
... | true | describe 'jQuery Address Parser Plugin', ->
beforeEach ->
jasmine.getFixtures().set("""
<textarea id='rawAddress'></textarea>
<input type='text' id='name' />
<input type='text' id='address' />
... |
[
{
"context": "\": [{ \"value\": \"1\" }],\n \"name\": {\"given\":[\"John\"], \"family\": [\"Smith\"]},\n \"gender\": \"M\",\n ",
"end": 402,
"score": 0.9998764991760254,
"start": 398,
"tag": "NAME",
"value": "John"
},
{
"context": "],\n \"name\": {\"given\":[\"Jo... | test/data/cql-test-patients.coffee | luis1van/cql-execution-1 | 0 | # Born in 1980
p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["cqf-patient"]},
"resourceType" : "P... | 210537 | # Born in 1980
p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["cqf-patient"]},
"resourceType" : "P... | true | # Born in 1980
p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["cqf-patient"]},
"resourceType" : "P... |
[
{
"context": "futurists =\n sculptor: \"Umberto Boccioni\"\n painter: \"Vladimir Burliuk\"\n poet:\n name:",
"end": 41,
"score": 0.9998914003372192,
"start": 25,
"tag": "NAME",
"value": "Umberto Boccioni"
},
{
"context": "sts =\n sculptor: \"Umberto Boccioni\"\n painter: \"... | documentation/coffee/object_extraction.coffee | rev22/reflective-coffeescript | 537 | futurists =
sculptor: "Umberto Boccioni"
painter: "Vladimir Burliuk"
poet:
name: "F.T. Marinetti"
address: [
"Via Roma 42R"
"Bellagio, Italy 22021"
]
{poet: {name, address: [street, city]}} = futurists
| 211728 | futurists =
sculptor: "<NAME>"
painter: "<NAME>"
poet:
name: "<NAME>"
address: [
"Via Roma 42R"
"Bellagio, Italy 22021"
]
{poet: {name, address: [street, city]}} = futurists
| true | futurists =
sculptor: "PI:NAME:<NAME>END_PI"
painter: "PI:NAME:<NAME>END_PI"
poet:
name: "PI:NAME:<NAME>END_PI"
address: [
"Via Roma 42R"
"Bellagio, Italy 22021"
]
{poet: {name, address: [street, city]}} = futurists
|
[
{
"context": "gerprint : source.fingerprint,\n username : \"code@keybase.io\"\n }\n @_tmp_keyring.set_fingerprint source.f",
"end": 1275,
"score": 0.9999163746833801,
"start": 1260,
"tag": "EMAIL",
"value": "code@keybase.io"
},
{
"context": "ngerprint : source.fingerprint... | src/key_install.iced | AngelKey/Angelkey.nodeinstaller | 151 |
{make_esc} = require 'iced-error'
{chain} = require('iced-utils').util
{keyring} = require 'gpg-wrapper'
{fpeq} = require('pgp-utils').util
{hash_json} = require './util'
log = require './log'
##========================================================================
exports.KeyInstall = class KeyInstall
#-------... | 12007 |
{make_esc} = require 'iced-error'
{chain} = require('iced-utils').util
{keyring} = require 'gpg-wrapper'
{fpeq} = require('pgp-utils').util
{hash_json} = require './util'
log = require './log'
##========================================================================
exports.KeyInstall = class KeyInstall
#-------... | true |
{make_esc} = require 'iced-error'
{chain} = require('iced-utils').util
{keyring} = require 'gpg-wrapper'
{fpeq} = require('pgp-utils').util
{hash_json} = require './util'
log = require './log'
##========================================================================
exports.KeyInstall = class KeyInstall
#-------... |
[
{
"context": " velge = new Velge($container, choices: [{ name: 'apple' }]).setup()\n\n it 'opens the dropdown when dow",
"end": 1398,
"score": 0.8200939297676086,
"start": 1393,
"tag": "NAME",
"value": "apple"
},
{
"context": "s: [\n { name: 'apple' },\n { name: 'ki... | test/ui_test.coffee | chalkchisel/velge | 0 | describe 'Velge.UI', ->
press = ($input, name) ->
key = switch name
when 'backspace' then 8
when 'tab' then 9
when 'enter' then 13
when 'escape' then 27
when 'space' then 32
when 'up' then 38
when 'down' then 40
when 'left' then 37
... | 118422 | describe 'Velge.UI', ->
press = ($input, name) ->
key = switch name
when 'backspace' then 8
when 'tab' then 9
when 'enter' then 13
when 'escape' then 27
when 'space' then 32
when 'up' then 38
when 'down' then 40
when 'left' then 37
... | true | describe 'Velge.UI', ->
press = ($input, name) ->
key = switch name
when 'backspace' then 8
when 'tab' then 9
when 'enter' then 13
when 'escape' then 27
when 'space' then 32
when 'up' then 38
when 'down' then 40
when 'left' then 37
... |
[
{
"context": "tp://stephan.steynfaardt.com\n\n Copyright (c) 2013 Stephan Steynfaardt\n Released under the MIT license\n http://opensou",
"end": 133,
"score": 0.9998959302902222,
"start": 114,
"tag": "NAME",
"value": "Stephan Steynfaardt"
}
] | src/safeConsole.coffee | ssteynfaardt/SafeConsole | 1 | ###
SafeConsole: Create safe consoles for older browsers
http://stephan.steynfaardt.com
Copyright (c) 2013 Stephan Steynfaardt
Released under the MIT license
http://opensource.org/licenses/MIT
###
class SafeConsole
#combined console method for both webkit and firefox
consoleMethods = ["_commandLineAPI", ... | 44203 | ###
SafeConsole: Create safe consoles for older browsers
http://stephan.steynfaardt.com
Copyright (c) 2013 <NAME>
Released under the MIT license
http://opensource.org/licenses/MIT
###
class SafeConsole
#combined console method for both webkit and firefox
consoleMethods = ["_commandLineAPI", "assert", "cl... | true | ###
SafeConsole: Create safe consoles for older browsers
http://stephan.steynfaardt.com
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Released under the MIT license
http://opensource.org/licenses/MIT
###
class SafeConsole
#combined console method for both webkit and firefox
consoleMethods = ["_commandLineAPI",... |
[
{
"context": "###\nVersion: 1.2.0\nAuthor: Michael Kefeder\nhttps://github.com/mike-kfed/roundcube-thunderbir",
"end": 42,
"score": 0.9998644590377808,
"start": 27,
"tag": "NAME",
"value": "Michael Kefeder"
},
{
"context": " 1.2.0\nAuthor: Michael Kefeder\nhttps://github.com/mike-kfe... | coffeescripts/main.coffee | rinenweb/roundcube-thunderbird_labels | 0 | ###
Version: 1.2.0
Author: Michael Kefeder
https://github.com/mike-kfed/roundcube-thunderbird_labels
###
require ('../node_modules/jquery')($, window)
# document.ready
$ ->
rcm_tb_label_init_onclick()
css = new rcm_tb_label_css
css.inject()
# superglobal variable set? if not set it
if not rcm_tb_label_globa... | 190144 | ###
Version: 1.2.0
Author: <NAME>
https://github.com/mike-kfed/roundcube-thunderbird_labels
###
require ('../node_modules/jquery')($, window)
# document.ready
$ ->
rcm_tb_label_init_onclick()
css = new rcm_tb_label_css
css.inject()
# superglobal variable set? if not set it
if not rcm_tb_label_global('tb_lab... | true | ###
Version: 1.2.0
Author: PI:NAME:<NAME>END_PI
https://github.com/mike-kfed/roundcube-thunderbird_labels
###
require ('../node_modules/jquery')($, window)
# document.ready
$ ->
rcm_tb_label_init_onclick()
css = new rcm_tb_label_css
css.inject()
# superglobal variable set? if not set it
if not rcm_tb_label_... |
[
{
"context": "# @author Gianluigi Mango\n# Reaction Model\nmongoose = require 'mongoose'\n\nm",
"end": 25,
"score": 0.9998693466186523,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/models/reactionModel.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Reaction Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Reaction',
mongoose.Schema
parent: String,
type: String,
active: Number,
createdBy: String,
createdAt: String
'reactions' | 151177 | # @author <NAME>
# Reaction Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Reaction',
mongoose.Schema
parent: String,
type: String,
active: Number,
createdBy: String,
createdAt: String
'reactions' | true | # @author PI:NAME:<NAME>END_PI
# Reaction Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Reaction',
mongoose.Schema
parent: String,
type: String,
active: Number,
createdBy: String,
createdAt: String
'reactions' |
[
{
"context": " CleverStyle Music\n * @category app\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 85,
"score": 0.9998902678489685,
"start": 69,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": " * @category app\n * @author N... | js/ab.cs-bus.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category app
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
###*
* Randomize array element order in-place.
* Using Fisher-Yates shuffle algorithm.
###
if !window.cs
... | 17269 | ###*
* @package CleverStyle Music
* @category app
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
###*
* Randomize array element order in-place.
* Using Fisher-Yates shuffle algorithm.
###
if !window.cs
window.cs = {}
cs.bus = do ->
su... | true | ###*
* @package CleverStyle Music
* @category app
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
###*
* Randomize array element order in-place.
* Using Fisher-Yates shuffle algorithm.
###
if !w... |
[
{
"context": "# Route of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nroute = module.exports = (ap",
"end": 36,
"score": 0.9992622137069702,
"start": 28,
"tag": "USERNAME",
"value": "dreampuf"
},
{
"context": "# Route of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nroute = ... | route/route.coffee | dreampuf/banajs | 3 | # Route of BanaJs
# author: dreampuf(soddyque@gmail.com)
route = module.exports = (app)->
app.get "/", (req, res)->
res.render "index",
format: true
nav_ul:
[
[
href:"#array"
text:"数组"
, href:"#ssss"
text:"集合"
],[
hr... | 202978 | # Route of BanaJs
# author: dreampuf(<EMAIL>)
route = module.exports = (app)->
app.get "/", (req, res)->
res.render "index",
format: true
nav_ul:
[
[
href:"#array"
text:"数组"
, href:"#ssss"
text:"集合"
],[
href:"#arrays... | true | # Route of BanaJs
# author: dreampuf(PI:EMAIL:<EMAIL>END_PI)
route = module.exports = (app)->
app.get "/", (req, res)->
res.render "index",
format: true
nav_ul:
[
[
href:"#array"
text:"数组"
, href:"#ssss"
text:"集合"
],[
... |
[
{
"context": "e: engine\n admin_username: db[engine].admin_username\n admin_password: db[engine].admin_password",
"end": 413,
"score": 0.9790195822715759,
"start": 405,
"tag": "USERNAME",
"value": "username"
},
{
"context": " db[engine].admin_username\n admin_pas... | packages/db/test/user.coffee | chibanemourad/node-nikita | 0 |
nikita = require '@nikitajs/core'
misc = require '@nikitajs/core/src/misc'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user #{engine}", ->
they 'validate options', ({ssh}) ->
nikita
ssh: ssh
.db.use... | 144646 |
nikita = require '@nikitajs/core'
misc = require '@nikitajs/core/src/misc'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user #{engine}", ->
they 'validate options', ({ssh}) ->
nikita
ssh: ssh
.db.use... | true |
nikita = require '@nikitajs/core'
misc = require '@nikitajs/core/src/misc'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db
describe "db.user #{engine}", ->
they 'validate options', ({ssh}) ->
nikita
ssh: ssh
.db.use... |
[
{
"context": " name : 'password'\n placeholder : 'password'\n validate :\n container : this",
"end": 879,
"score": 0.9974150061607361,
"start": 871,
"tag": "PASSWORD",
"value": "password"
}
] | client/landing/site.landing/coffee/team/forms/teamjointabform.coffee | lionheart1022/koding | 0 | kd = require 'kd'
JView = require './../../core/jview'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinTabForm extends kd.FormView
JView.mixin @prototype
constructor: (options = {}, data) ->
options.cssClass = 'clearfix login-form'
super options, data
... | 190048 | kd = require 'kd'
JView = require './../../core/jview'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinTabForm extends kd.FormView
JView.mixin @prototype
constructor: (options = {}, data) ->
options.cssClass = 'clearfix login-form'
super options, data
... | true | kd = require 'kd'
JView = require './../../core/jview'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinTabForm extends kd.FormView
JView.mixin @prototype
constructor: (options = {}, data) ->
options.cssClass = 'clearfix login-form'
super options, data
... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Satoshi Watanabe <sassy.watanabe@gmail.com>\n\nmodule.exports = (rob",
"end": 324,
"score": 0.9998569488525391,
"start": 308,
"tag": "NAME",
"value": "Satoshi Watanabe"
},
{
"context": "for the script>\n#\n# Author:\... | src/sasaki.coffee | sassy/hubot-sasaki | 1 | # Description
# A-rin Robot (Sasaki Ayaka commands)
#
# Commands:
# hubot sasaki - あーりんがかわいい顔で癒してあげるよ。
# hubot good - あーりんがかわりに褒めてあげるよ
# hubot どこいく? - パラダイム!
# hubot thx - ありがとうをかわりに言います。
# kakuni - 角煮って言うなー!
# ピンチ - ピンク?
#
# Notes:
# <optional notes required for the script>
#
# Author:
# Satoshi Wata... | 30707 | # Description
# A-rin Robot (Sasaki Ayaka commands)
#
# Commands:
# hubot sasaki - あーりんがかわいい顔で癒してあげるよ。
# hubot good - あーりんがかわりに褒めてあげるよ
# hubot どこいく? - パラダイム!
# hubot thx - ありがとうをかわりに言います。
# kakuni - 角煮って言うなー!
# ピンチ - ピンク?
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME> <<EMA... | true | # Description
# A-rin Robot (Sasaki Ayaka commands)
#
# Commands:
# hubot sasaki - あーりんがかわいい顔で癒してあげるよ。
# hubot good - あーりんがかわりに褒めてあげるよ
# hubot どこいく? - パラダイム!
# hubot thx - ありがとうをかわりに言います。
# kakuni - 角煮って言うなー!
# ピンチ - ピンク?
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAM... |
[
{
"context": "Id = sender.teamId\n recipient.firstName = 'Test'\n teamsnap.saveMember recipient, (err, res",
"end": 422,
"score": 0.9972756505012512,
"start": 418,
"tag": "NAME",
"value": "Test"
}
] | test/broadcastAlerts.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Broadcast Alerts', ->
alert = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers {userId: me.id}, (err, result) ->
expect(err).to.be.null
expect(result.length).to.be.above(0)
sender = result[0]
recipient ... | 85503 | describe 'Broadcast Alerts', ->
alert = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers {userId: me.id}, (err, result) ->
expect(err).to.be.null
expect(result.length).to.be.above(0)
sender = result[0]
recipient ... | true | describe 'Broadcast Alerts', ->
alert = null
sender = null
recipient = null
before (done) ->
teamsnap.loadMe().then (me) ->
teamsnap.loadMembers {userId: me.id}, (err, result) ->
expect(err).to.be.null
expect(result.length).to.be.above(0)
sender = result[0]
recipient ... |
[
{
"context": "ttr(\"selected\", \"selected\")\n else if key is \"matchIOPS\" or key is \"matchCPU\" or key is \"loadBalancing\"\n ",
"end": 1409,
"score": 0.9746416211128235,
"start": 1400,
"tag": "KEY",
"value": "matchIOPS"
},
{
"context": "ted\")\n else if key is \"matchI... | source/js/app/views/InputPanelView.coffee | CenturyLinkCloud/EstimatorTCO | 4 | Config = require '../Config.coffee'
PubSub = require '../PubSub.coffee'
SettingsModel = require '../models/SettingsModel.coffee'
AdditionalFeatureView = require './AdditionalFeatureView.coffee'
InputPanelView = Backbone.View.extend
el: "#input-panel"
events:
"change #platform-select": "onPlatformChanged"
... | 74286 | Config = require '../Config.coffee'
PubSub = require '../PubSub.coffee'
SettingsModel = require '../models/SettingsModel.coffee'
AdditionalFeatureView = require './AdditionalFeatureView.coffee'
InputPanelView = Backbone.View.extend
el: "#input-panel"
events:
"change #platform-select": "onPlatformChanged"
... | true | Config = require '../Config.coffee'
PubSub = require '../PubSub.coffee'
SettingsModel = require '../models/SettingsModel.coffee'
AdditionalFeatureView = require './AdditionalFeatureView.coffee'
InputPanelView = Backbone.View.extend
el: "#input-panel"
events:
"change #platform-select": "onPlatformChanged"
... |
[
{
"context": "\nNormalise mouse/touch events.\n\n(c) 2015 Copyright Stardotstar.\nproject located at https://github.com/stardotsta",
"end": 89,
"score": 0.9935453534126282,
"start": 78,
"tag": "NAME",
"value": "Stardotstar"
},
{
"context": "tardotstar.\nproject located at https://git... | touchy.coffee | stardotstar/Touchy | 0 | ###
touchy.js, version 1.0
Normalise mouse/touch events.
(c) 2015 Copyright Stardotstar.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
Events have the following custom data:
* touchy: the touchy instance that is responding to the event.
* event: the... | 90628 | ###
touchy.js, version 1.0
Normalise mouse/touch events.
(c) 2015 Copyright <NAME>.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
Events have the following custom data:
* touchy: the touchy instance that is responding to the event.
* event: the orig... | true | ###
touchy.js, version 1.0
Normalise mouse/touch events.
(c) 2015 Copyright PI:NAME:<NAME>END_PI.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
Events have the following custom data:
* touchy: the touchy instance that is responding to the event.
* e... |
[
{
"context": "{ name: 'language' }\n assignee: { name: 'assignee' }\n issue: { import: 'issue' }\n publ",
"end": 770,
"score": 0.8459839224815369,
"start": 762,
"tag": "NAME",
"value": "assignee"
},
{
"context": "llaborators.push(creator)\n\n ref.add({ name... | resource/translators/Better BibTeX.coffee | edwinksl/zotero-better-bibtex | 0 | Translator.fieldMap = {
# Zotero BibTeX
place: { name: 'address', import: 'location' }
section: { name: 'chapter' }
edition: { name: 'edition' }
type: { name: 'type' }
series: { name: 'series' }
title: { name: 'title', autoCase: true }... | 153230 | Translator.fieldMap = {
# Zotero BibTeX
place: { name: 'address', import: 'location' }
section: { name: 'chapter' }
edition: { name: 'edition' }
type: { name: 'type' }
series: { name: 'series' }
title: { name: 'title', autoCase: true }... | true | Translator.fieldMap = {
# Zotero BibTeX
place: { name: 'address', import: 'location' }
section: { name: 'chapter' }
edition: { name: 'edition' }
type: { name: 'type' }
series: { name: 'series' }
title: { name: 'title', autoCase: true }... |
[
{
"context": " {\n resultKey: \"uid\"\n profileProperty: \"username\"\n }\n {\n resultKey: \"dn\"\n profileP",
"end": 462,
"score": 0.9240007400512695,
"start": 454,
"tag": "USERNAME",
"value": "username"
},
{
"context": "leProperty: \"email\"\n }\n {\... | server/ldap.coffee | ICTU/docker-dashboard | 33 | Meteor.startup ->
LDAP_DEFAULTS.url = Meteor.settings?.ldap?.serverAddr
LDAP_DEFAULTS.port = Meteor.settings?.ldap?.serverPort
LDAP_DEFAULTS.base = Meteor.settings?.ldap?.baseDn
LDAP_DEFAULTS.superDn = Meteor.settings?.ldap?.superDn
LDAP_DEFAULTS.superPass = Meteor.settings?.ldap?.superPass
LDAP_DEFAULTS.ad... | 121682 | Meteor.startup ->
LDAP_DEFAULTS.url = Meteor.settings?.ldap?.serverAddr
LDAP_DEFAULTS.port = Meteor.settings?.ldap?.serverPort
LDAP_DEFAULTS.base = Meteor.settings?.ldap?.baseDn
LDAP_DEFAULTS.superDn = Meteor.settings?.ldap?.superDn
LDAP_DEFAULTS.superPass = Meteor.settings?.ldap?.superPass
LDAP_DEFAULTS.ad... | true | Meteor.startup ->
LDAP_DEFAULTS.url = Meteor.settings?.ldap?.serverAddr
LDAP_DEFAULTS.port = Meteor.settings?.ldap?.serverPort
LDAP_DEFAULTS.base = Meteor.settings?.ldap?.baseDn
LDAP_DEFAULTS.superDn = Meteor.settings?.ldap?.superDn
LDAP_DEFAULTS.superPass = Meteor.settings?.ldap?.superPass
LDAP_DEFAULTS.ad... |
[
{
"context": "wUser = (i) ->\n _test_users[\"#{i}\"] =\n name: \"jane#{i}\"\n password: \"secret#{i}\"\n _test_users[\"#{i}",
"end": 94,
"score": 0.9903919696807861,
"start": 90,
"tag": "USERNAME",
"value": "jane"
},
{
"context": "ers[\"#{i}\"] =\n name: \"jane#{i}\"\n ... | app/specs/e2e/data/user.coffee | asartalo/axya | 0 | 'use strict'
_test_users = {}
k = 0
newUser = (i) ->
_test_users["#{i}"] =
name: "jane#{i}"
password: "secret#{i}"
_test_users["#{i}"]
hasUser = (i) ->
!!_test_users["#{i}"]
getUser = (i) ->
_test_users["#{i}"]
module.exports = (i) ->
if i?
if hasUser(i)
return getUser(i)
else
... | 89484 | 'use strict'
_test_users = {}
k = 0
newUser = (i) ->
_test_users["#{i}"] =
name: "jane#{i}"
password: "<PASSWORD>}"
_test_users["#{i}"]
hasUser = (i) ->
!!_test_users["#{i}"]
getUser = (i) ->
_test_users["#{i}"]
module.exports = (i) ->
if i?
if hasUser(i)
return getUser(i)
else
... | true | 'use strict'
_test_users = {}
k = 0
newUser = (i) ->
_test_users["#{i}"] =
name: "jane#{i}"
password: "PI:PASSWORD:<PASSWORD>END_PI}"
_test_users["#{i}"]
hasUser = (i) ->
!!_test_users["#{i}"]
getUser = (i) ->
_test_users["#{i}"]
module.exports = (i) ->
if i?
if hasUser(i)
return getUse... |
[
{
"context": "3-34ee-4ffe-831b-557ddfe19788'\n\nauth =\n username: meshbluJson.uuid\n password: meshbluJson.token\n\n\nmeshblu = new Mes",
"end": 316,
"score": 0.9478330016136169,
"start": 300,
"tag": "USERNAME",
"value": "meshbluJson.uuid"
},
{
"context": "'\n\nauth =\n username:... | main.coffee | octoblu/approve-deny-work | 0 | request = require 'request'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
meshbluJson = require './meshblu.json'
messageSchema = require './approve-deny-schema'
bluprintUrl = 'https://app.octoblu.com/api/templates/dddbcda3-34ee-4ffe-831b-557ddfe19788'
auth =
username: meshbluJson.uuid
p... | 208538 | request = require 'request'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
meshbluJson = require './meshblu.json'
messageSchema = require './approve-deny-schema'
bluprintUrl = 'https://app.octoblu.com/api/templates/dddbcda3-34ee-4ffe-831b-557ddfe19788'
auth =
username: meshbluJson.uuid
p... | true | request = require 'request'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
meshbluJson = require './meshblu.json'
messageSchema = require './approve-deny-schema'
bluprintUrl = 'https://app.octoblu.com/api/templates/dddbcda3-34ee-4ffe-831b-557ddfe19788'
auth =
username: meshbluJson.uuid
p... |
[
{
"context": "meta:\r\n name: \"shiptag\"\r\n version: \"2020/12/11/01\"\r\n\r\ndata:\r\n mapname:",
"end": 23,
"score": 0.7134406566619873,
"start": 16,
"tag": "NAME",
"value": "shiptag"
}
] | fcd/shiptag.cson | Akizuki-kancolle/poi | 0 | meta:
name: "shiptag"
version: "2020/12/11/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
]
color: [
"#FF5722"
"#03A9F4"
"#FFD54F"
"#4CAF50"
]
fleetname:
"zh-CN": [
"地中海舰队"
"护卫 R 部队"
"PQ17 船团"
"南西方面舰队"
]
"zh-TW": [
... | 157080 | meta:
name: "<NAME>"
version: "2020/12/11/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
]
color: [
"#FF5722"
"#03A9F4"
"#FFD54F"
"#4CAF50"
]
fleetname:
"zh-CN": [
"地中海舰队"
"护卫 R 部队"
"PQ17 船团"
"南西方面舰队"
]
"zh-TW": [
... | true | meta:
name: "PI:NAME:<NAME>END_PI"
version: "2020/12/11/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
]
color: [
"#FF5722"
"#03A9F4"
"#FFD54F"
"#4CAF50"
]
fleetname:
"zh-CN": [
"地中海舰队"
"护卫 R 部队"
"PQ17 船团"
"南西方面舰队"
]
"z... |
[
{
"context": "# Copyright (c) 2016-2017 Bennet Carstensen\n#\n# Permission is hereby granted, free of charge,",
"end": 43,
"score": 0.9998550415039062,
"start": 26,
"tag": "NAME",
"value": "Bennet Carstensen"
}
] | lib/linter-opencl.coffee | BenSolus/linter-clcc | 0 | # Copyright (c) 2016-2017 Bennet Carstensen
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publi... | 56766 | # Copyright (c) 2016-2017 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distr... | true | # Copyright (c) 2016-2017 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, pu... |
[
{
"context": "grammar/\n\n'scopeName': 'source.digistar'\n'name': 'Digistar'\n'fileTypes': [\n 'ds'\n]\n'patterns': [\n {\n 'm",
"end": 195,
"score": 0.995557963848114,
"start": 187,
"tag": "NAME",
"value": "Digistar"
}
] | grammars/digistar.cson | retroj/language-digistar | 0 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.digistar'
'name': 'Digistar'
'fileTypes': [
'ds'
]
'patterns': [
{
'match': '[#;].*$'
'name': 'comment'
}
]
| 64017 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.digistar'
'name': '<NAME>'
'fileTypes': [
'ds'
]
'patterns': [
{
'match': '[#;].*$'
'name': 'comment'
}
]
| true | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.digistar'
'name': 'PI:NAME:<NAME>END_PI'
'fileTypes': [
'ds'
]
'patterns': [
{
'match': '[#;].*$'
'name': 'comment'
}
]
|
[
{
"context": "###\n https://github.com/olihel/coffee-required.git\n Copyright (c) 2013 Oliver He",
"end": 30,
"score": 0.9993817806243896,
"start": 24,
"tag": "USERNAME",
"value": "olihel"
},
{
"context": "com/olihel/coffee-required.git\n Copyright (c) 2013 Oliver Hellebusch\n Releas... | src/app/main.coffee | olihel/coffee-required | 1 | ###
https://github.com/olihel/coffee-required.git
Copyright (c) 2013 Oliver Hellebusch
Released under MIT license (https://raw.github.com/olihel/coffee-required/master/LICENSE)
###
define (require) ->
test = require 'cs!Test'
console.log test.testFunc()
console.log 'main.coffee: APP READY'
| 70959 | ###
https://github.com/olihel/coffee-required.git
Copyright (c) 2013 <NAME>
Released under MIT license (https://raw.github.com/olihel/coffee-required/master/LICENSE)
###
define (require) ->
test = require 'cs!Test'
console.log test.testFunc()
console.log 'main.coffee: APP READY'
| true | ###
https://github.com/olihel/coffee-required.git
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Released under MIT license (https://raw.github.com/olihel/coffee-required/master/LICENSE)
###
define (require) ->
test = require 'cs!Test'
console.log test.testFunc()
console.log 'main.coffee: APP READY'
|
[
{
"context": "ocess.cwd() + '/.app'\n\n\nINITIAL_DATA = {\n name: 'test server',\n address: '127.0.0.1'\n}\n\nUPDATED_DATA =",
"end": 162,
"score": 0.8329598903656006,
"start": 158,
"tag": "NAME",
"value": "test"
},
{
"context": "s.cwd() + '/.app'\n\n\nINITIAL_DATA = {\n name: 'te... | test/servers.test.coffee | aureld/testci | 0 | request = require 'supertest'
server = require process.cwd() + '/.app/controllers/servers'
app = require process.cwd() + '/.app'
INITIAL_DATA = {
name: 'test server',
address: '127.0.0.1'
}
UPDATED_DATA = {
name: 'other server',
address: '127.0.0.1'
}
cleanServersDB = (done) ->
request(app)
.get "/se... | 216744 | request = require 'supertest'
server = require process.cwd() + '/.app/controllers/servers'
app = require process.cwd() + '/.app'
INITIAL_DATA = {
name: '<NAME> server',
address: '127.0.0.1'
}
UPDATED_DATA = {
name: '<NAME> server',
address: '127.0.0.1'
}
cleanServersDB = (done) ->
request(app)
.get "... | true | request = require 'supertest'
server = require process.cwd() + '/.app/controllers/servers'
app = require process.cwd() + '/.app'
INITIAL_DATA = {
name: 'PI:NAME:<NAME>END_PI server',
address: '127.0.0.1'
}
UPDATED_DATA = {
name: 'PI:NAME:<NAME>END_PI server',
address: '127.0.0.1'
}
cleanServersDB = (done) ... |
[
{
"context": "rmissions\n\n displayName: ->\n @get('name') or \"Anoner\"\n\n lang: ->\n @get('preferredLanguage') or \"en",
"end": 417,
"score": 0.8833340406417847,
"start": 411,
"tag": "NAME",
"value": "Anoner"
},
{
"context": ":\n announcement: 'generalNews'\n develop... | app/models/User.coffee | oaugereau/codecombat | 0 | GRAVATAR_URL = 'https://www.gravatar.com/'
cache = {}
CocoModel = require('./CocoModel')
module.exports = class User extends CocoModel
@className: "User"
@schema: require 'schemas/models/user'
urlRoot: "/db/user"
initialize: ->
super()
@migrateEmails()
isAdmin: ->
permissions = @attributes['per... | 82977 | GRAVATAR_URL = 'https://www.gravatar.com/'
cache = {}
CocoModel = require('./CocoModel')
module.exports = class User extends CocoModel
@className: "User"
@schema: require 'schemas/models/user'
urlRoot: "/db/user"
initialize: ->
super()
@migrateEmails()
isAdmin: ->
permissions = @attributes['per... | true | GRAVATAR_URL = 'https://www.gravatar.com/'
cache = {}
CocoModel = require('./CocoModel')
module.exports = class User extends CocoModel
@className: "User"
@schema: require 'schemas/models/user'
urlRoot: "/db/user"
initialize: ->
super()
@migrateEmails()
isAdmin: ->
permissions = @attributes['per... |
[
{
"context": " checked: ->\n $.set @name, @checked\n Conf[@name] = @checked\n value: ->\n $.set @name, @value.t",
"end": 2152,
"score": 0.9142068028450012,
"start": 2148,
"tag": "USERNAME",
"value": "name"
},
{
"context": ")\n$.rmAll = (root) ->\n # https://gist.github.co... | lib/$.coffee | ihavenoface/4chan-x | 4 | # loosely follows the jquery api:
# http://api.jquery.com/
# not chainable
$ = (selector, root=d.body) ->
root.querySelector selector
$$ = (selector, root=d.body) ->
[root.querySelectorAll(selector)...]
$.SECOND = 1000
$.MINUTE = 1000 * 60
$.HOUR = 1000 * 60 * 60
$.DAY = 1000 * 60 * 60 * 24
$.id = (id) ->
d... | 201545 | # loosely follows the jquery api:
# http://api.jquery.com/
# not chainable
$ = (selector, root=d.body) ->
root.querySelector selector
$$ = (selector, root=d.body) ->
[root.querySelectorAll(selector)...]
$.SECOND = 1000
$.MINUTE = 1000 * 60
$.HOUR = 1000 * 60 * 60
$.DAY = 1000 * 60 * 60 * 24
$.id = (id) ->
d... | true | # loosely follows the jquery api:
# http://api.jquery.com/
# not chainable
$ = (selector, root=d.body) ->
root.querySelector selector
$$ = (selector, root=d.body) ->
[root.querySelectorAll(selector)...]
$.SECOND = 1000
$.MINUTE = 1000 * 60
$.HOUR = 1000 * 60 * 60
$.DAY = 1000 * 60 * 60 * 24
$.id = (id) ->
d... |
[
{
"context": "###\n *\n * jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText\n * ",
"end": 48,
"score": 0.9998987317085266,
"start": 36,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "sponsiveText by Gary Hepting - https://github.com/gheptin... | src/coffee/plugins/jquery-responsiveText.coffee | agiza/groundwork | 1 | ###
*
* jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
(($) ->
elems = []
$.fn.responsiveText = (options) ->
settings =
compressor: options.compressor or 1... | 31045 | ###
*
* jQuery ResponsiveText by <NAME> - https://github.com/ghepting/responsiveText
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
(($) ->
elems = []
$.fn.responsiveText = (options) ->
settings =
compressor: options.compressor or 10
minS... | true | ###
*
* jQuery ResponsiveText by PI:NAME:<NAME>END_PI - https://github.com/ghepting/responsiveText
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
(($) ->
elems = []
$.fn.responsiveText = (options) ->
settings =
compressor: options... |
[
{
"context": "equation> - calculate simple maths\n#\n# Author:\n# mrinjamul <mrinjamul@gmail.com>\n\nmodule.exports = (robot) -",
"end": 238,
"score": 0.9997214674949646,
"start": 229,
"tag": "USERNAME",
"value": "mrinjamul"
},
{
"context": "calculate simple maths\n#\n# Author:\n# ... | src/calc.coffee | mrinjamul/hubot-calc | 0 | # Description:
# Simple JS Calculator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot calculate me <equation> - calculate simple maths
# expr <equation> - calculate simple maths
#
# Author:
# mrinjamul <mrinjamul@gmail.com>
module.exports = (robot) ->
robot.respond /(calc|calcula... | 152937 | # Description:
# Simple JS Calculator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot calculate me <equation> - calculate simple maths
# expr <equation> - calculate simple maths
#
# Author:
# mrinjamul <<EMAIL>>
module.exports = (robot) ->
robot.respond /(calc|calculate|calculato... | true | # Description:
# Simple JS Calculator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot calculate me <equation> - calculate simple maths
# expr <equation> - calculate simple maths
#
# Author:
# mrinjamul <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond /(calc|calc... |
[
{
"context": " headers['Authorization'] = \"Token token=#{pagerDutyApiKey}\"\n headers['Accept'] = 'application/vnd.pagerd",
"end": 720,
"score": 0.5193276405334473,
"start": 710,
"tag": "KEY",
"value": "DutyApiKey"
}
] | src/pagerduty.coffee | andypoole/hubot-pager-me | 0 | HttpClient = require 'scoped-http-client'
request = require 'request'
qs = require 'query-string'
pagerDutyApiKey = process.env.HUBOT_PAGERDUTY_API_KEY
pagerDutySubdomain = process.env.HUBOT_PAGERDUTY_SUBDOMAIN
pagerDutyBaseUrl = "https://api.pagerduty.com"
pagerDutyServices = process.... | 37963 | HttpClient = require 'scoped-http-client'
request = require 'request'
qs = require 'query-string'
pagerDutyApiKey = process.env.HUBOT_PAGERDUTY_API_KEY
pagerDutySubdomain = process.env.HUBOT_PAGERDUTY_SUBDOMAIN
pagerDutyBaseUrl = "https://api.pagerduty.com"
pagerDutyServices = process.... | true | HttpClient = require 'scoped-http-client'
request = require 'request'
qs = require 'query-string'
pagerDutyApiKey = process.env.HUBOT_PAGERDUTY_API_KEY
pagerDutySubdomain = process.env.HUBOT_PAGERDUTY_SUBDOMAIN
pagerDutyBaseUrl = "https://api.pagerduty.com"
pagerDutyServices = process.... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998555183410645,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/image.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
# Plugin to minimalistic add a image to the editable
((jQuery) ->
jQuery.widget 'IKS.halloimage',
dropdownform: null
dropdownsubform: null
debug: ... | 81440 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a image to the editable
((jQuery) ->
jQuery.widget 'IKS.halloimage',
dropdownform: null
dropdownsubform: null
debug: true
... | 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
# Plugin to minimalistic add a image to the editable
((jQuery) ->
jQuery.widget 'IKS.halloimage',
dropdownform: null
dropdownsubform: null
... |
[
{
"context": "false\n\n# set up normal recipients\nsubscribers = ['subs0@test.com', 'subs1@test.com', 'subs2@test.com']\n\n# set up u",
"end": 203,
"score": 0.999927818775177,
"start": 189,
"tag": "EMAIL",
"value": "subs0@test.com"
},
{
"context": "rmal recipients\nsubscribers = ['su... | tests.coffee | Dropoly/meteor-unsubscribe | 0 | # set-up email
emailSent = undefined
recipients = undefined
EmailTest.hookSend (options) ->
emailSent = true
recipients = options.to
false
# set up normal recipients
subscribers = ['subs0@test.com', 'subs1@test.com', 'subs2@test.com']
# set up unsubscribers
unsubscribers = ['unsub0@test.com', 'unsub1@test.com',... | 196590 | # set-up email
emailSent = undefined
recipients = undefined
EmailTest.hookSend (options) ->
emailSent = true
recipients = options.to
false
# set up normal recipients
subscribers = ['<EMAIL>', '<EMAIL>', '<EMAIL>']
# set up unsubscribers
unsubscribers = ['<EMAIL>', '<EMAIL>', '<EMAIL>']
unsubscribe = _.partial M... | true | # set-up email
emailSent = undefined
recipients = undefined
EmailTest.hookSend (options) ->
emailSent = true
recipients = options.to
false
# set up normal recipients
subscribers = ['PI:EMAIL:<EMAIL>END_PI', 'PI:EMAIL:<EMAIL>END_PI', 'PI:EMAIL:<EMAIL>END_PI']
# set up unsubscribers
unsubscribers = ['PI:EMAIL:<EM... |
[
{
"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.9997848868370056,
"start": 53,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/observable.coffee | metacommunications/knockback | 0 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Backbone... | 75387 | ###
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": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999176263809204,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/dumb-storage.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
# Kind of implements localStorage
class @DumbStorage
constructor: ->
@_data = {}
clear: =>
@_data = {}
getItem: (key) =>
if... | 62488 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
# Kind of implements localStorage
class @DumbStorage
constructor: ->
@_data = {}
clear: =>
@_data = {}
getItem: (key) =>
if @_data... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
# Kind of implements localStorage
class @DumbStorage
constructor: ->
@_data = {}
clear: =>
@_data = {}
getItem: (key) =... |
[
{
"context": "ess, @timeout, @verbose=true) ->\n `/*\n Author: Cody Kochmann\n Build: 4\n Date Last Modified: Fri Jun 12 0",
"end": 99,
"score": 0.9985978007316589,
"start": 86,
"tag": "NAME",
"value": "Cody Kochmann"
}
] | interval_function.coffee | CodyKochmann/snippets | 0 | window.timed_interval = (@main_process, @timeout, @verbose=true) ->
`/*
Author: Cody Kochmann
Build: 4
Date Last Modified: Fri Jun 12 09:53:37 PDT 2015
This is an improved function to the currently used setInterval in javascript.
It has better Controls towards the control flow of the interval ove... | 138415 | window.timed_interval = (@main_process, @timeout, @verbose=true) ->
`/*
Author: <NAME>
Build: 4
Date Last Modified: Fri Jun 12 09:53:37 PDT 2015
This is an improved function to the currently used setInterval in javascript.
It has better Controls towards the control flow of the interval overall.
... | true | window.timed_interval = (@main_process, @timeout, @verbose=true) ->
`/*
Author: PI:NAME:<NAME>END_PI
Build: 4
Date Last Modified: Fri Jun 12 09:53:37 PDT 2015
This is an improved function to the currently used setInterval in javascript.
It has better Controls towards the control flow of the inter... |
[
{
"context": "kbone, Marionette, $, _) ->\n\n localStorageKey = 'gconsole.settings'\n\n Entities.Settings = Backbone.Model.extend\n\n ",
"end": 109,
"score": 0.9859223961830139,
"start": 92,
"tag": "KEY",
"value": "gconsole.settings"
}
] | web/app/entities/settings-model.coffee | ebakke/grails-console | 54 | App.module 'Entities', (Entities, App, Backbone, Marionette, $, _) ->
localStorageKey = 'gconsole.settings'
Entities.Settings = Backbone.Model.extend
defaults:
'orientation': 'vertical'
'layout.west.isClosed': true
'layout.west.size': 250
'layout.east.size': '50%'
'layout.south.... | 121261 | App.module 'Entities', (Entities, App, Backbone, Marionette, $, _) ->
localStorageKey = '<KEY>'
Entities.Settings = Backbone.Model.extend
defaults:
'orientation': 'vertical'
'layout.west.isClosed': true
'layout.west.size': 250
'layout.east.size': '50%'
'layout.south.size': '50%'... | true | App.module 'Entities', (Entities, App, Backbone, Marionette, $, _) ->
localStorageKey = 'PI:KEY:<KEY>END_PI'
Entities.Settings = Backbone.Model.extend
defaults:
'orientation': 'vertical'
'layout.west.isClosed': true
'layout.west.size': 250
'layout.east.size': '50%'
'layout.south... |
[
{
"context": "###\n@Author: Kristinita\n@Date: 2017-12-28 13:35:33\n@Last Modified time:",
"end": 23,
"score": 0.9997795224189758,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
}
] | themes/sashapelican/static/coffee/Visualize/visualize-bar-chart.coffee | Kristinita/--- | 6 | ###
@Author: Kristinita
@Date: 2017-12-28 13:35:33
@Last Modified time: 2017-12-28 13:46:50
###
#############
# visualize #
#############
# bar chart:
# http://www.bbc.co.uk/schools/gcsebitesize/geography/geographical_skills/graphs_rev3.shtml
$(document).ready ->
$('.SashaBarChart').visualize
width: 700
type: 'b... | 53051 | ###
@Author: <NAME>
@Date: 2017-12-28 13:35:33
@Last Modified time: 2017-12-28 13:46:50
###
#############
# visualize #
#############
# bar chart:
# http://www.bbc.co.uk/schools/gcsebitesize/geography/geographical_skills/graphs_rev3.shtml
$(document).ready ->
$('.SashaBarChart').visualize
width: 700
type: 'bar'
... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2017-12-28 13:35:33
@Last Modified time: 2017-12-28 13:46:50
###
#############
# visualize #
#############
# bar chart:
# http://www.bbc.co.uk/schools/gcsebitesize/geography/geographical_skills/graphs_rev3.shtml
$(document).ready ->
$('.SashaBarChart').visualize
width: 700
... |
[
{
"context": "ams.id = 'foo-auction'\n @req.body.email = 'foo@bar.com'\n @request.end.yields null, ok: true, {}\n ",
"end": 2335,
"score": 0.9999223947525024,
"start": 2324,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "request.send.args[0][0].email.email.shou... | apps/auction/test/routes.coffee | xtina-starr/microgravity | 1 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user'
rewire = require 'rewire'
routes = rewire '../routes'
moment = require 'moment'
describe '/auction routes', ->
beforeEach ->
sinon.stub Backbon... | 164300 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user'
rewire = require 'rewire'
routes = rewire '../routes'
moment = require 'moment'
describe '/auction routes', ->
beforeEach ->
sinon.stub Backbon... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user'
rewire = require 'rewire'
routes = rewire '../routes'
moment = require 'moment'
describe '/auction routes', ->
beforeEach ->
sinon.stub Backbon... |
[
{
"context": "number -- ユーザーID\n# name: string -- ユーザー名\n# isPremium: boolean -- プレミアムアカウント",
"end": 1261,
"score": 0.809840202331543,
"start": 1260,
"tag": "NAME",
"value": "ユ"
},
{
"context": "umber -- ユーザーID\n# name: string -- ユーザー名\n# ... | src/live/NicoLiveInfo.coffee | taku-o/node-nicovideo-api | 28 | ###
# ニコニコ生放送の配信情報
#
# Properties
# stream: -- 放送の基礎情報
# liveId: string -- 放送ID
# title: string -- 放送タイトル
# description: string -- 放送の説明
#
# watchCount: number -- 視聴数
# commentCount: number -- コメント数
#
# baseTime: Date -- 生放送の時間の関わる計算の"元になる時間"
# ... | 127307 | ###
# ニコニコ生放送の配信情報
#
# Properties
# stream: -- 放送の基礎情報
# liveId: string -- 放送ID
# title: string -- 放送タイトル
# description: string -- 放送の説明
#
# watchCount: number -- 視聴数
# commentCount: number -- コメント数
#
# baseTime: Date -- 生放送の時間の関わる計算の"元になる時間"
# ... | true | ###
# ニコニコ生放送の配信情報
#
# Properties
# stream: -- 放送の基礎情報
# liveId: string -- 放送ID
# title: string -- 放送タイトル
# description: string -- 放送の説明
#
# watchCount: number -- 視聴数
# commentCount: number -- コメント数
#
# baseTime: Date -- 生放送の時間の関わる計算の"元になる時間"
# ... |
[
{
"context": "$(obj).attr('name')\n key = name.replace(\"line_item_\", '')\n data = {}\n data[key] = $(ob",
"end": 10276,
"score": 0.6360904574394226,
"start": 10276,
"tag": "KEY",
"value": ""
}
] | app/assets/javascripts/service_calendar.js.coffee | Trott/sparc-request | 0 | # Copyright © 2011 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of c... | 178560 | # Copyright © 2011 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of c... | true | # Copyright © 2011 MUSC Foundation for Research Development
# All rights reserved.
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of c... |
[
{
"context": "###\n# test/factories/archive.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Factory for ou",
"end": 58,
"score": 0.9997110366821289,
"start": 47,
"tag": "NAME",
"value": "Dan Nichols"
}
] | test/factories/archive.coffee | dlnichols/h_media | 0 | ###
# test/factories/archive.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
Archive = require '../../lib/models/archive'
Factory.define 'archive', Archive,
glacierId: ->
"aa... | 173154 | ###
# test/factories/archive.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
Archive = require '../../lib/models/archive'
Factory.define 'archive', Archive,
glacierId: ->
"aaaaaaa... | true | ###
# test/factories/archive.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
Archive = require '../../lib/models/archive'
Factory.define 'archive', Archive,
glacierId: -... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7977999448776245,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/lv/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/lv_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"
... | 144966 | bcv_parser = require("../../js/lv_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/lv_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": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9951623678207397,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/createClientFileDialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to create a new client file
_ = require 'underscore'
Async = require 'async'
Imm = require 'immutable'
Moment... | 117590 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to create a new client file
_ = require 'underscore'
Async = require 'async'
Imm = require 'immutable'
Moment... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to create a new client file
_ = require 'underscore'
Async = require 'async'
Imm = require 'imm... |
[
{
"context": "ompletions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 121,
"score": 0.6392664909362793,
"start": 117,
"tag": "USERNAME",
"value": "claw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter created by Ren... | snippets/SIF.ItemSerializer.pwn.cson | Wuzi/language-pawn | 4 | # SIF.ItemSerializer.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'SerialiseItems':
'pr... | 106724 | # SIF.ItemSerializer.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'SerialiseItems':
'prefix'... | true | # SIF.ItemSerializer.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'S... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999103546142578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/discussions.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img } from 'react-dom-factories'
import { Discussion } from "../beatmap-discussions/discussio... | 89486 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img } from 'react-dom-factories'
import { Discussion } from "../beatmap-discussions/discussion"
el =... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img } from 'react-dom-factories'
import { Discussion } from "../beatmap-discussions/d... |
[
{
"context": "n: ({ session, request }, callback) =>\n key = \"session:#{session.sessionId}\"\n @client.get key, (error, r",
"end": 822,
"score": 0.890672504901886,
"start": 812,
"tag": "KEY",
"value": "session:#{"
},
{
"context": "uest }, callback) =>\n key = \"session:#{se... | src/handlers/session-handler.coffee | octoblu/alexa-service | 3 | _ = require 'lodash'
Alexa = require 'alexa-app'
EchoIn = require '../models/echo-in'
EchoDevice = require '../models/echo-device'
AlexaError = require '../models/alexa-error'
class SessionHandler
constructor: ({ timeoutSeconds, @client, @alexaServiceUri }) ->
throw new Error 'SessionHandler: r... | 29221 | _ = require 'lodash'
Alexa = require 'alexa-app'
EchoIn = require '../models/echo-in'
EchoDevice = require '../models/echo-device'
AlexaError = require '../models/alexa-error'
class SessionHandler
constructor: ({ timeoutSeconds, @client, @alexaServiceUri }) ->
throw new Error 'SessionHandler: r... | true | _ = require 'lodash'
Alexa = require 'alexa-app'
EchoIn = require '../models/echo-in'
EchoDevice = require '../models/echo-device'
AlexaError = require '../models/alexa-error'
class SessionHandler
constructor: ({ timeoutSeconds, @client, @alexaServiceUri }) ->
throw new Error 'SessionHandler: r... |
[
{
"context": "performs an update on a single checklist.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass AircraftCheckli",
"end": 1073,
"score": 0.9997873902320862,
"start": 1061,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/AircraftChecklistRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... | 104599 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... |
[
{
"context": "sole.log \"\"\"\nTechnicolor OpenWRT Shell Unlocker By BoLaMN\n\n* Connect network cable from your computer to th",
"end": 60,
"score": 0.9997425675392151,
"start": 54,
"tag": "USERNAME",
"value": "BoLaMN"
},
{
"context": "k card to be a static ip address\n\n IPv4 Addr... | src/index.coffee | LuKePicci/tch-exploit | 0 | console.log """
Technicolor OpenWRT Shell Unlocker By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static ip address
IPv4 Address: 58.162.0.1
Subnet Mask: 255.255.255.0
Default Gateway\\Router: 58.162.0.1
"""
{ Duplex } = req... | 47116 | console.log """
Technicolor OpenWRT Shell Unlocker By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static ip address
IPv4 Address: 192.168.127.12
Subnet Mask: 255.255.255.0
Default Gateway\\Router: 192.168.127.12
"""
{ Duplex... | true | console.log """
Technicolor OpenWRT Shell Unlocker By BoLaMN
* Connect network cable from your computer to the WAN (red) port of the modem
* Change your computers network card to be a static ip address
IPv4 Address: PI:IP_ADDRESS:192.168.127.12END_PI
Subnet Mask: 255.255.255.0
Default Gateway\\Router: PI:IP_ADD... |
[
{
"context": "{\n angular: [\n { key: 'slurry.disabled' }\n { key: 'slurry.track' }\n { key",
"end": 33,
"score": 0.573426365852356,
"start": 29,
"tag": "KEY",
"value": "urry"
},
{
"context": "lar: [\n { key: 'slurry.disabled' }\n { key: 'slurry.track' }\n { key: '... | app/templates/src/configurations/public-filtered-stream/_form.cson | octoblu/generator-slurry | 0 | {
angular: [
{ key: 'slurry.disabled' }
{ key: 'slurry.track' }
{ key: 'slurry.follow' }
]
}
| 68487 | {
angular: [
{ key: 'sl<KEY>.disabled' }
{ key: '<KEY>track' }
{ key: 'sl<KEY>.follow' }
]
}
| true | {
angular: [
{ key: 'slPI:KEY:<KEY>END_PI.disabled' }
{ key: 'PI:KEY:<KEY>END_PItrack' }
{ key: 'slPI:KEY:<KEY>END_PI.follow' }
]
}
|
[
{
"context": "0, 0, 1\n 1, 1, 0\n]\n\nkids =\n brother:\n name: \"Max\"\n age: 11\n sister:\n name: \"Ida\"\n age: ",
"end": 485,
"score": 0.9998573064804077,
"start": 482,
"tag": "NAME",
"value": "Max"
},
{
"context": " name: \"Max\"\n age: 11\n sister:\n ... | bundles/coffeescript/misc/example.coffee | felipetavares/folt-howl | 0 | #! /usr/bin/coffee
# Lots of examples copied from http://coffeescript.org/
# Functions
square = (x) -> x * x
fill = (container, liquid = "coffee") ->
"Filling the #{container} with #{1 / 2}..."
awardMedals = (first, second, others...) ->
gold = first
String::dasherize = ->
this.replace /_/g, "-"
# Arrays and ... | 116172 | #! /usr/bin/coffee
# Lots of examples copied from http://coffeescript.org/
# Functions
square = (x) -> x * x
fill = (container, liquid = "coffee") ->
"Filling the #{container} with #{1 / 2}..."
awardMedals = (first, second, others...) ->
gold = first
String::dasherize = ->
this.replace /_/g, "-"
# Arrays and ... | true | #! /usr/bin/coffee
# Lots of examples copied from http://coffeescript.org/
# Functions
square = (x) -> x * x
fill = (container, liquid = "coffee") ->
"Filling the #{container} with #{1 / 2}..."
awardMedals = (first, second, others...) ->
gold = first
String::dasherize = ->
this.replace /_/g, "-"
# Arrays and ... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.999873161315918,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/content.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Content Script
# --------------
# Retrieve any JavaScript and CSS code that is to be injected into the current page.
chrome.runtime.sendMessage { url: location.href, type: 'injection' }, (response)... | 197642 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Content Script
# --------------
# Retrieve any JavaScript and CSS code that is to be injected into the current page.
chrome.runtime.sendMessage { url: location.href, type: 'injection' }, (response) ->
bod... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Content Script
# --------------
# Retrieve any JavaScript and CSS code that is to be injected into the current page.
chrome.runtime.sendMessage { url: location.href, type: 'injection' }, (resp... |
[
{
"context": "ment 'div'\n\n key = document.createElement 'div'\n key.classList.add 'text-padded'\n ",
"end": 562,
"score": 0.7762838006019592,
"start": 559,
"tag": "KEY",
"value": "div"
},
{
"context": " values.appendChild value\n\n key = document.createE... | lib/stream-modifiers/regex.coffee | fstiewitz/build-tools-cpp | 3 | XRegExp = null
CSON = null
{$, $$, TextEditorView, View} = require 'atom-space-pen-views'
module.exports =
name: 'Regular Expression'
activate: ->
XRegExp = require('xregexp')
CSON = require('season')
deactivate: ->
XRegExp = null
CSON = null
info:
class RegexInfoPane
constructor:... | 198087 | XRegExp = null
CSON = null
{$, $$, TextEditorView, View} = require 'atom-space-pen-views'
module.exports =
name: 'Regular Expression'
activate: ->
XRegExp = require('xregexp')
CSON = require('season')
deactivate: ->
XRegExp = null
CSON = null
info:
class RegexInfoPane
constructor:... | true | XRegExp = null
CSON = null
{$, $$, TextEditorView, View} = require 'atom-space-pen-views'
module.exports =
name: 'Regular Expression'
activate: ->
XRegExp = require('xregexp')
CSON = require('season')
deactivate: ->
XRegExp = null
CSON = null
info:
class RegexInfoPane
constructor:... |
[
{
"context": "althy}\"\n\n\n## multiline strings\nmobyDick = \"Call me Ishmael. Some years ago --\n never mind how long precisely",
"end": 2146,
"score": 0.9486798048019409,
"start": 2139,
"tag": "NAME",
"value": "Ishmael"
}
] | javascript/coffee-script-20120430/basics.coffee | iandeth/trials | 0 | ## http://coffeescript.org/
## perl's $speed ||= 75
speed ?= 75
console.log speed
## ruby's foo.nil?
foo = 0
console.log 'foo defined' if foo?
## php's in_array
foo = 2
console.log 'in array' if foo in [1, 2, 3]
## interpolation
foo = 'foo'
console.log "hello #{foo}"
## return collection with iterators
arr = (... | 98585 | ## http://coffeescript.org/
## perl's $speed ||= 75
speed ?= 75
console.log speed
## ruby's foo.nil?
foo = 0
console.log 'foo defined' if foo?
## php's in_array
foo = 2
console.log 'in array' if foo in [1, 2, 3]
## interpolation
foo = 'foo'
console.log "hello #{foo}"
## return collection with iterators
arr = (... | true | ## http://coffeescript.org/
## perl's $speed ||= 75
speed ?= 75
console.log speed
## ruby's foo.nil?
foo = 0
console.log 'foo defined' if foo?
## php's in_array
foo = 2
console.log 'in array' if foo in [1, 2, 3]
## interpolation
foo = 'foo'
console.log "hello #{foo}"
## return collection with iterators
arr = (... |
[
{
"context": "config) ->\n\t\t\t\t\t$scope.projects.push {\n\t\t\t\t\t\tname: name\n\t\t\t\t\t\t_id: data.project_id\n\t\t\t\t\t\taccessLevel: \"ow",
"end": 7040,
"score": 0.969388484954834,
"start": 7036,
"tag": "NAME",
"value": "name"
},
{
"context": "config) ->\n\t\t\t\t\t$scope.p... | public/coffee/main/project-list/project-list.coffee | watercrossing/web-sharelatex | 0 | define [
"base"
], (App) ->
App.controller "ProjectPageController", ($scope, $modal, $q, $window, queuedHttp, event_tracking, $timeout) ->
$scope.projects = window.data.projects
$scope.tags = window.data.tags
$scope.notifications = window.data.notifications
$scope.allSelected = false
$scope.selectedProject... | 150615 | define [
"base"
], (App) ->
App.controller "ProjectPageController", ($scope, $modal, $q, $window, queuedHttp, event_tracking, $timeout) ->
$scope.projects = window.data.projects
$scope.tags = window.data.tags
$scope.notifications = window.data.notifications
$scope.allSelected = false
$scope.selectedProject... | true | define [
"base"
], (App) ->
App.controller "ProjectPageController", ($scope, $modal, $q, $window, queuedHttp, event_tracking, $timeout) ->
$scope.projects = window.data.projects
$scope.tags = window.data.tags
$scope.notifications = window.data.notifications
$scope.allSelected = false
$scope.selectedProject... |
[
{
"context": "ort:\"23456\"\n\t\t\t\t\thost:\"otherhost\"\n\t\t\t\t\tpassword: \"banana\"\n\t\t\t@RedisWrapper.client(\"my_feature\")\n\t\t\t@redis.",
"end": 656,
"score": 0.99925696849823,
"start": 650,
"tag": "PASSWORD",
"value": "banana"
},
{
"context": "\t\tport:\"43\"\n\t\t\t\t\... | test/unit/coffee/infrastructure/RedisWrapperTests.coffee | davidmehren/web-sharelatex | 1 | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RedisWrapper.js"
SandboxedModule = require('sandboxed-module')
describe 'RedisWrapper', ->
beforeEach ->
@settings = { redis: {} }
@redis =
... | 66980 | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RedisWrapper.js"
SandboxedModule = require('sandboxed-module')
describe 'RedisWrapper', ->
beforeEach ->
@settings = { redis: {} }
@redis =
... | true | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RedisWrapper.js"
SandboxedModule = require('sandboxed-module')
describe 'RedisWrapper', ->
beforeEach ->
@settings = { redis: {} }
@redis =
... |
[
{
"context": " SECURE_ARENA_URL: API_URL\n userKeys: [\n 'id',\n 'first_name',\n 'last_name',\n 'e",
"end": 3368,
"score": 0.7887222766876221,
"start": 3366,
"tag": "KEY",
"value": "id"
},
{
"context": "ollowing_ids',\n 'notification_count',\n 'userna... | lib/setup.coffee | broskoski/ervell | 2 | #
# Sets up intial project settings, middleware, mounted apps, and
# global configuration such as overriding Backbone.sync and
# populating sharify data
#
{ APP_URL, API_URL, NODE_ENV, SESSION_SECRET,
SESSION_COOKIE_MAX_AGE, SESSION_COOKIE_KEY,
COOKIE_DOMAIN, ASSET_PATH, IMAGE_PATH, REDIS_URL,
PUSHER_KEY, IMAGE_PROXY_... | 78249 | #
# Sets up intial project settings, middleware, mounted apps, and
# global configuration such as overriding Backbone.sync and
# populating sharify data
#
{ APP_URL, API_URL, NODE_ENV, SESSION_SECRET,
SESSION_COOKIE_MAX_AGE, SESSION_COOKIE_KEY,
COOKIE_DOMAIN, ASSET_PATH, IMAGE_PATH, REDIS_URL,
PUSHER_KEY, IMAGE_PROXY_... | true | #
# Sets up intial project settings, middleware, mounted apps, and
# global configuration such as overriding Backbone.sync and
# populating sharify data
#
{ APP_URL, API_URL, NODE_ENV, SESSION_SECRET,
SESSION_COOKIE_MAX_AGE, SESSION_COOKIE_KEY,
COOKIE_DOMAIN, ASSET_PATH, IMAGE_PATH, REDIS_URL,
PUSHER_KEY, IMAGE_PROXY_... |
[
{
"context": "cribe \"core\", ->\n credentials =\n id: \"dh37fgj492je\"\n key: \"werxhqb98rpaxn39848xrunpaw3489ruxn",
"end": 349,
"score": 0.5879588723182678,
"start": 337,
"tag": "KEY",
"value": "dh37fgj492je"
},
{
"context": "ntials =\n id: \"dh37fgj492je\... | deps/npm/node_modules/request/node_modules/hawk/test/readme.coffee | lxe/io.coffee | 0 | # Load modules
Lab = require("lab")
Hoek = require("hoek")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "README", ->
describe "core", ->
credential... | 76827 | # Load modules
Lab = require("lab")
Hoek = require("hoek")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "README", ->
describe "core", ->
credential... | true | # Load modules
Lab = require("lab")
Hoek = require("hoek")
Hawk = require("../lib")
# Declare internals
internals = {}
# Test shortcuts
expect = Lab.expect
before = Lab.before
after = Lab.after
describe = Lab.experiment
it = Lab.test
describe "Hawk", ->
describe "README", ->
describe "core", ->
credential... |
[
{
"context": "handle, and compare to competitors\n#\n# Author:\n# l_kang\n\n\ncompetitors = []\n\nklout_api_key = () ->\n ret",
"end": 717,
"score": 0.9994462728500366,
"start": 711,
"tag": "USERNAME",
"value": "l_kang"
},
{
"context": "ors when p.score > player.score\n ... | src/scripts/klout.coffee | Reelhouse/hubot-scripts | 1,450 | # Description
# Reports Klout score for a twitter handle. The players in the competitors list
# whose score is greater will be reported. The last 9 unique requested names
# are kept in the competitors list. More than that will trigger the klout api's
# per second rate limit.
#
# Dependencies:
# A klout ap... | 82213 | # Description
# Reports Klout score for a twitter handle. The players in the competitors list
# whose score is greater will be reported. The last 9 unique requested names
# are kept in the competitors list. More than that will trigger the klout api's
# per second rate limit.
#
# Dependencies:
# A klout ap... | true | # Description
# Reports Klout score for a twitter handle. The players in the competitors list
# whose score is greater will be reported. The last 9 unique requested names
# are kept in the competitors list. More than that will trigger the klout api's
# per second rate limit.
#
# Dependencies:
# A klout ap... |
[
{
"context": ".\n @ievmsUrl: 'https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh'\n\n # The command used to i",
"end": 1261,
"score": 0.9774723052978516,
"start": 1253,
"tag": "USERNAME",
"value": "xdissent"
},
{
"context": "\n\n # The host IP as seen by the VM.\n @... | src/ievm.coffee | xdissent/iectrl | 96 | # # IEVM
# This class represents an ievms VM and its current state, as queried through
# Virtualbox and the [modern.ie](http://modern.ie) website.
fs = require 'fs'
path = require 'path'
Q = require 'q'
url = require 'url'
https = require 'https'
child_process = require 'child_process'
debug = require 'debug'
class ... | 106433 | # # IEVM
# This class represents an ievms VM and its current state, as queried through
# Virtualbox and the [modern.ie](http://modern.ie) website.
fs = require 'fs'
path = require 'path'
Q = require 'q'
url = require 'url'
https = require 'https'
child_process = require 'child_process'
debug = require 'debug'
class ... | true | # # IEVM
# This class represents an ievms VM and its current state, as queried through
# Virtualbox and the [modern.ie](http://modern.ie) website.
fs = require 'fs'
path = require 'path'
Q = require 'q'
url = require 'url'
https = require 'https'
child_process = require 'child_process'
debug = require 'debug'
class ... |
[
{
"context": "###\n * gulp file 配置\n * @author jackie Lin <dashi_lin@163.com>\n###\n\n'use strict'\n\ngulp = req",
"end": 41,
"score": 0.9997580647468567,
"start": 31,
"tag": "NAME",
"value": "jackie Lin"
},
{
"context": "###\n * gulp file 配置\n * @author jackie Lin <dashi_lin@163.com... | gulpfile.coffee | JackieLin/gis | 0 | ###
* gulp file 配置
* @author jackie Lin <dashi_lin@163.com>
###
'use strict'
gulp = require 'gulp'
argv = require('yargs').argv
FS = require 'q-io/fs'
path = require 'path'
watch = require 'gulp-watch'
# 配置文件信息
config = require './config'
rename = require './rename'
# 处理 requirejs 信息
requirejs = require './require'... | 99004 | ###
* gulp file 配置
* @author <NAME> <<EMAIL>>
###
'use strict'
gulp = require 'gulp'
argv = require('yargs').argv
FS = require 'q-io/fs'
path = require 'path'
watch = require 'gulp-watch'
# 配置文件信息
config = require './config'
rename = require './rename'
# 处理 requirejs 信息
requirejs = require './require'
# js 打包
pack... | true | ###
* gulp file 配置
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
gulp = require 'gulp'
argv = require('yargs').argv
FS = require 'q-io/fs'
path = require 'path'
watch = require 'gulp-watch'
# 配置文件信息
config = require './config'
rename = require './rename'
# 处理 requirejs 信息
requirejs = requ... |
[
{
"context": " describe 'with authentication', ->\n token = '123456'\n userEmail = 'test@example.com'\n befo",
"end": 363,
"score": 0.6207911968231201,
"start": 362,
"tag": "KEY",
"value": "1"
},
{
"context": " describe 'with authentication', ->\n token = '123456'\n u... | spec/controllers/account_controller_spec.coffee | RedBulli/LiveSnooker-Server | 0 | request = require 'supertest'
expect = require('chai').expect
models = require '../../models'
specHelper = require '../spec_helper'
describe 'Account controller', ->
describe 'without authentication', ->
it 'returns 401', (done) ->
request($app)
.get('/account')
.expect(401, done)
descri... | 29941 | request = require 'supertest'
expect = require('chai').expect
models = require '../../models'
specHelper = require '../spec_helper'
describe 'Account controller', ->
describe 'without authentication', ->
it 'returns 401', (done) ->
request($app)
.get('/account')
.expect(401, done)
descri... | true | request = require 'supertest'
expect = require('chai').expect
models = require '../../models'
specHelper = require '../spec_helper'
describe 'Account controller', ->
describe 'without authentication', ->
it 'returns 401', (done) ->
request($app)
.get('/account')
.expect(401, done)
descri... |
[
{
"context": " delete role <rolename> \n2. get role\n3. get user <username>\n4. create user <username> with password <passwor",
"end": 928,
"score": 0.9901623129844666,
"start": 920,
"tag": "USERNAME",
"value": "username"
},
{
"context": ". get role\n3. get user <username>\n4. create... | scripts/xldeploy/scripts-slack/xldeploy_role.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 172560 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": "t( group.get('master-node') )\n\t\t\t\t\t\n\t\t\t\t\tlinkKey = Math.min(src.get('id'), tgt.get('id')) + '-' + Math.max(sr",
"end": 1811,
"score": 0.7975932955741882,
"start": 1803,
"tag": "KEY",
"value": "Math.min"
}
] | app/assets/javascripts/collections/LinksCollection.coffee | uhh-lt/NoDWeb | 0 | define ['backbone', 'underscore', 'models/LinkModel', 'collections/TagsCollection'], (Backbone, _, model, TagsCollection) ->
Backbone.Collection.extend
model: model
url: () -> jsRoutes.controllers.Graphs.clusterGraph(this.date).url
initialize: (data, options) ->
this.nodesCollection = options.nodesCollecti... | 69449 | define ['backbone', 'underscore', 'models/LinkModel', 'collections/TagsCollection'], (Backbone, _, model, TagsCollection) ->
Backbone.Collection.extend
model: model
url: () -> jsRoutes.controllers.Graphs.clusterGraph(this.date).url
initialize: (data, options) ->
this.nodesCollection = options.nodesCollecti... | true | define ['backbone', 'underscore', 'models/LinkModel', 'collections/TagsCollection'], (Backbone, _, model, TagsCollection) ->
Backbone.Collection.extend
model: model
url: () -> jsRoutes.controllers.Graphs.clusterGraph(this.date).url
initialize: (data, options) ->
this.nodesCollection = options.nodesCollecti... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998624920845032,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/sessions/sessions.controller.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... | 160917 | # 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": "est\r\n \t\r\n Creates a new aircraft model.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass AircraftModelsR",
"end": 764,
"score": 0.9997135996818542,
"start": 752,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/AircraftModelsRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all models and the creation of new models.
@example Se... | 22890 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all models and the creation of new models.
@example Se... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all models and the creation of new models.
@example Se... |
[
{
"context": "# #\n# @author: Nino P. Cocchiarella #\n#\tCopyright (C) 2014 #\n# http:",
"end": 109,
"score": 0.9998672008514404,
"start": 89,
"tag": "NAME",
"value": "Nino P. Cocchiarella"
}
] | src/static/site/coffeescript/fractal-trees/_old/class.FractalTree.coffee | nino-c/plerp.org | 0 | #####################################
# #
# @author: Nino P. Cocchiarella #
# Copyright (C) 2014 #
# http://nino.cc #
# #
#####################################
pi = Math.PI
abs = Math.abs
sin = Math.sin
cos = Math.c... | 35888 | #####################################
# #
# @author: <NAME> #
# Copyright (C) 2014 #
# http://nino.cc #
# #
#####################################
pi = Math.PI
abs = Math.abs
sin = Math.sin
cos = Math.cos
root = Math... | true | #####################################
# #
# @author: PI:NAME:<NAME>END_PI #
# Copyright (C) 2014 #
# http://nino.cc #
# #
#####################################
pi = Math.PI
abs = Math.abs
sin = Math.sin
cos = Math.c... |
[
{
"context": "nc 'read', callback\n # sync 'exists', { name: 'test' }, callback\n sync: (method, rest...) ->\n ",
"end": 955,
"score": 0.6395618319511414,
"start": 951,
"tag": "NAME",
"value": "test"
}
] | views/coffee/app/collection.coffee | cncolder/vcvs | 0 | Backbone = require 'backbone'
class Collection extends Backbone.Collection
parse: (resp, xhr) ->
@model.prototype.parse json, xhr for json in resp
fetch: (rest...) ->
[ conditions, options, callback ] = rest if typeof rest[2] is 'function'
[ conditions, callback ] = rest if typeof ... | 206969 | Backbone = require 'backbone'
class Collection extends Backbone.Collection
parse: (resp, xhr) ->
@model.prototype.parse json, xhr for json in resp
fetch: (rest...) ->
[ conditions, options, callback ] = rest if typeof rest[2] is 'function'
[ conditions, callback ] = rest if typeof ... | true | Backbone = require 'backbone'
class Collection extends Backbone.Collection
parse: (resp, xhr) ->
@model.prototype.parse json, xhr for json in resp
fetch: (rest...) ->
[ conditions, options, callback ] = rest if typeof rest[2] is 'function'
[ conditions, callback ] = rest if typeof ... |
[
{
"context": "module.exports =\n name: 'Text'\n mime: 'text/plain'\n\n render: (req, res) ->\n ",
"end": 30,
"score": 0.8695363402366638,
"start": 26,
"tag": "NAME",
"value": "Text"
}
] | lib/renderers/text.coffee | brettminnie/foaas | 4 | module.exports =
name: 'Text'
mime: 'text/plain'
render: (req, res) ->
res.set 'Content-Type', 'text/plain'
res.send "#{req.message} #{req.subtitle}" | 29415 | module.exports =
name: '<NAME>'
mime: 'text/plain'
render: (req, res) ->
res.set 'Content-Type', 'text/plain'
res.send "#{req.message} #{req.subtitle}" | true | module.exports =
name: 'PI:NAME:<NAME>END_PI'
mime: 'text/plain'
render: (req, res) ->
res.set 'Content-Type', 'text/plain'
res.send "#{req.message} #{req.subtitle}" |
[
{
"context": "\"perm_identity\");\n $(\"#at-label-password\").text(\"lock_outline\");\n $(\".at-title\").addClass(\"text-center\");\n \n",
"end": 418,
"score": 0.9993937611579895,
"start": 406,
"tag": "PASSWORD",
"value": "lock_outline"
}
] | client/views/account/signup.coffee | thiago-zaidem/appVilaDosBichos | 0 | Template['override-fullPageAtForm'].replaces('fullPageAtForm')
Template['override-atPwdForm'].replaces('atPwdForm')
Template['override-atTextInput'].replaces('atTextInput')
Template['override-atPwdFormBtn'].replaces('atPwdFormBtn')
Template.atForm.rendered = () ->
$("body").attr('style','background:url(/img/bg-login... | 44686 | Template['override-fullPageAtForm'].replaces('fullPageAtForm')
Template['override-atPwdForm'].replaces('atPwdForm')
Template['override-atTextInput'].replaces('atTextInput')
Template['override-atPwdFormBtn'].replaces('atPwdFormBtn')
Template.atForm.rendered = () ->
$("body").attr('style','background:url(/img/bg-login... | true | Template['override-fullPageAtForm'].replaces('fullPageAtForm')
Template['override-atPwdForm'].replaces('atPwdForm')
Template['override-atTextInput'].replaces('atTextInput')
Template['override-atPwdFormBtn'].replaces('atPwdFormBtn')
Template.atForm.rendered = () ->
$("body").attr('style','background:url(/img/bg-login... |
[
{
"context": "v1Api =\n\t\turl: undefined\n\t\tuser: undefined\n\t\tpass: undefined\n\nmodule.exports = settings =\n\n\tallowAnonymousRead",
"end": 817,
"score": 0.505528450012207,
"start": 808,
"tag": "PASSWORD",
"value": "undefined"
},
{
"context": "L'] || \"mongodb://#{process.env... | config/settings.defaults.coffee | kingzevin/serverless_web | 0 | Path = require('path')
http = require('http')
http.globalAgent.maxSockets = 300
# Make time interval config easier.
seconds = 1000
minutes = 60 * seconds
# These credentials are used for authenticating api requests
# between services that may need to go over public channels
httpAuthUser = process.env['WEB_API_USER']
... | 108268 | Path = require('path')
http = require('http')
http.globalAgent.maxSockets = 300
# Make time interval config easier.
seconds = 1000
minutes = 60 * seconds
# These credentials are used for authenticating api requests
# between services that may need to go over public channels
httpAuthUser = process.env['WEB_API_USER']
... | true | Path = require('path')
http = require('http')
http.globalAgent.maxSockets = 300
# Make time interval config easier.
seconds = 1000
minutes = 60 * seconds
# These credentials are used for authenticating api requests
# between services that may need to go over public channels
httpAuthUser = process.env['WEB_API_USER']
... |
[
{
"context": "U_RDIO_AUTHENTICATOR_UUID\n token: process.env.MESHBLU_RDIO_AUTHENTICATOR_TOKEN\n server: process.e",
"end": 562,
"score": 0.4731040298938751,
"start": 558,
"tag": "PASSWORD",
"value": "MESH"
}
] | server.coffee | octoblu/meshblu-rdio-authenticator | 0 | express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
cookieParser = require 'cookie-parser'
session = require 'cookie-session'
passport = require 'passport'
Router = require './app/routes'
Config = require './app/config'
MeshbluDB = require 'mesh... | 193506 | express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
cookieParser = require 'cookie-parser'
session = require 'cookie-session'
passport = require 'passport'
Router = require './app/routes'
Config = require './app/config'
MeshbluDB = require 'mesh... | true | express = require 'express'
morgan = require 'morgan'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
cookieParser = require 'cookie-parser'
session = require 'cookie-session'
passport = require 'passport'
Router = require './app/routes'
Config = require './app/config'
MeshbluDB = require 'mesh... |
[
{
"context": "ame differ, requests were redirected\n # (e.g. \"Juzam Djinn\" => \"Juzám Djinn\"). Resend requests with the\n ",
"end": 689,
"score": 0.9998108744621277,
"start": 678,
"tag": "NAME",
"value": "Juzam Djinn"
},
{
"context": "sts were redirected\n # (e.g. \"Juzam... | src/tutor.coffee | davidchambers/tutor | 45 | Q = require 'q'
_ = require 'underscore'
gatherer = require './gatherer'
tutor = module.exports
tutor[name] = gatherer[name] for name in [
'formats'
'set'
'sets'
'types'
]
pending = {}
tutor.card = (details, callback) ->
switch
when _.isNumber details then details = id: details
... | 80016 | Q = require 'q'
_ = require 'underscore'
gatherer = require './gatherer'
tutor = module.exports
tutor[name] = gatherer[name] for name in [
'formats'
'set'
'sets'
'types'
]
pending = {}
tutor.card = (details, callback) ->
switch
when _.isNumber details then details = id: details
... | true | Q = require 'q'
_ = require 'underscore'
gatherer = require './gatherer'
tutor = module.exports
tutor[name] = gatherer[name] for name in [
'formats'
'set'
'sets'
'types'
]
pending = {}
tutor.card = (details, callback) ->
switch
when _.isNumber details then details = id: details
... |
[
{
"context": "#\t> File Name: util.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W",
"end": 41,
"score": 0.9993808269500732,
"start": 39,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "\t> File Name: util.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@... | server/common/util.coffee | wiiliamking/miac-website | 0 | # > File Name: util.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
util = exports
util.encrypt = (str)->
sha1 = crypto.createHash 'sha1'
sha1.update str
sha1.digest 'hex'
util.setLocalsUser = (req, res, next)->
... | 133805 | # > File Name: util.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
util = exports
util.encrypt = (str)->
sha1 = crypto.createHash 'sha1'
sha1.update str
sha1.digest 'hex'
util.setLocalsUser = (req, res, next)->
res.loca... | true | # > File Name: util.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Wednesday, November 19, 2014 PM05:38:24 CST
crypto = require 'crypto'
util = exports
util.encrypt = (str)->
sha1 = crypto.createHash 'sha1'
sha1.update str
sha1.digest 'hex'
util.setLocalsUser = (req, res, next)... |
[
{
"context": "singleStockMock()\n\n @fetchStocks.channelKey = \"warehouse-1\"\n @fetchStocks.run()\n .then (result) ->\n ",
"end": 1809,
"score": 0.8647010326385498,
"start": 1798,
"tag": "KEY",
"value": "warehouse-1"
}
] | src/spec/fetchstock.spec.coffee | sphereio/sphere-stock-export | 0 | _ = require 'underscore'
Promise = require 'bluebird'
FetchStocks = require '../lib/fetchstocks'
{ExtendedLogger} = require 'sphere-node-utils'
Config = require '../config'
SpecHelper = require './helper.spec'
describe 'FetchStocks', ->
beforeEach ->
@logger = new ExtendedLogger
@fetchStocks = new FetchStoc... | 90013 | _ = require 'underscore'
Promise = require 'bluebird'
FetchStocks = require '../lib/fetchstocks'
{ExtendedLogger} = require 'sphere-node-utils'
Config = require '../config'
SpecHelper = require './helper.spec'
describe 'FetchStocks', ->
beforeEach ->
@logger = new ExtendedLogger
@fetchStocks = new FetchStoc... | true | _ = require 'underscore'
Promise = require 'bluebird'
FetchStocks = require '../lib/fetchstocks'
{ExtendedLogger} = require 'sphere-node-utils'
Config = require '../config'
SpecHelper = require './helper.spec'
describe 'FetchStocks', ->
beforeEach ->
@logger = new ExtendedLogger
@fetchStocks = new FetchStoc... |
[
{
"context": "# = Nginx Log Adapter for MongoDB\n# by Mike Green\n#\n# Listens for input on a named pipe, which Ngin",
"end": 49,
"score": 0.9997528195381165,
"start": 39,
"tag": "NAME",
"value": "Mike Green"
},
{
"context": " = if process.argv[4] then process.argv[4] else \"127.0.0... | src/nginx-logger.coffee | max232l/nginx-mongo-logger | 0 | # = Nginx Log Adapter for MongoDB
# by Mike Green
#
# Listens for input on a named pipe, which Nginx sends it log output to (instead of a standard file).
# Parses the log output and sends it on to a MongoDB server for storage, which need not live on the
# same machine.
# Libraries
fs = require 'fs'
path ... | 188689 | # = Nginx Log Adapter for MongoDB
# by <NAME>
#
# Listens for input on a named pipe, which Nginx sends it log output to (instead of a standard file).
# Parses the log output and sends it on to a MongoDB server for storage, which need not live on the
# same machine.
# Libraries
fs = require 'fs'
path ... | true | # = Nginx Log Adapter for MongoDB
# by PI:NAME:<NAME>END_PI
#
# Listens for input on a named pipe, which Nginx sends it log output to (instead of a standard file).
# Parses the log output and sends it on to a MongoDB server for storage, which need not live on the
# same machine.
# Libraries
fs = require 'f... |
[
{
"context": "# nodejs-express-mongoose-demo\n# Copyright(c) 2013 Madhusudhan Srinivasa <madhums8@gmail.com>\n# MIT Licensed\n###\n\n## Modul",
"end": 76,
"score": 0.9998859167098999,
"start": 55,
"tag": "NAME",
"value": "Madhusudhan Srinivasa"
},
{
"context": "e-demo\n# Copyright(c)... | src/server.coffee | thelucyclub/ticketman-tests | 0 | ###
# nodejs-express-mongoose-demo
# Copyright(c) 2013 Madhusudhan Srinivasa <madhums8@gmail.com>
# MIT Licensed
###
## Module dependencies.
express = require('express')
fs = require('fs')
p = require "commander"
path = require "path"
_ = require "underscore"
debuglog = require("debug")("ticketman:server")
pkg = JSO... | 55479 | ###
# nodejs-express-mongoose-demo
# Copyright(c) 2013 <NAME> <<EMAIL>>
# MIT Licensed
###
## Module dependencies.
express = require('express')
fs = require('fs')
p = require "commander"
path = require "path"
_ = require "underscore"
debuglog = require("debug")("ticketman:server")
pkg = JSON.parse(fs.readFileSync(pa... | true | ###
# nodejs-express-mongoose-demo
# Copyright(c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
###
## Module dependencies.
express = require('express')
fs = require('fs')
p = require "commander"
path = require "path"
_ = require "underscore"
debuglog = require("debug")("ticketman:server")
pkg = ... |
[
{
"context": "oreEach (done) ->\n App.User.create firstName: 'John', (error, record) =>\n user = record\n\n A",
"end": 131,
"score": 0.9992990493774414,
"start": 127,
"tag": "NAME",
"value": "John"
},
{
"context": "->\n referenceUser.updateAttributes firstName: 'Pete'... | test/cases/model/shared/reloadTest.coffee | jivagoalves/tower | 1 | describe 'Tower.Model#reload', ->
user = null
referenceUser = null
beforeEach (done) ->
App.User.create firstName: 'John', (error, record) =>
user = record
App.User.find user.get('id'), (error, record) =>
referenceUser = record
done()
test 'reload', (done) ->
referenceUse... | 81004 | describe 'Tower.Model#reload', ->
user = null
referenceUser = null
beforeEach (done) ->
App.User.create firstName: '<NAME>', (error, record) =>
user = record
App.User.find user.get('id'), (error, record) =>
referenceUser = record
done()
test 'reload', (done) ->
referenceU... | true | describe 'Tower.Model#reload', ->
user = null
referenceUser = null
beforeEach (done) ->
App.User.create firstName: 'PI:NAME:<NAME>END_PI', (error, record) =>
user = record
App.User.find user.get('id'), (error, record) =>
referenceUser = record
done()
test 'reload', (done) ->
... |
[
{
"context": "###\n#Grunt Tasks\n*__Author__: Panjie SW <panjie@panjiesw.com>*\n*__Project__: ah-nodemaile",
"end": 39,
"score": 0.9998783469200134,
"start": 30,
"tag": "NAME",
"value": "Panjie SW"
},
{
"context": "###\n#Grunt Tasks\n*__Author__: Panjie SW <panjie@panjiesw.com>*\n*__... | Gruntfile.coffee | manjunathkg/ah-auth-plugin | 0 | ###
#Grunt Tasks
*__Author__: Panjie SW <panjie@panjiesw.com>*
*__Project__: ah-nodemailer-plugin*
*__Company__: PanjieSW*
Defines tasks for Grunt
*********************************************
###
module.exports = (grunt) ->
###
Constants
###
SRC = ".src"
ACTION = "actions"
CONFIG = "config"
INITIALIZE... | 14913 | ###
#Grunt Tasks
*__Author__: <NAME> <<EMAIL>>*
*__Project__: ah-nodemailer-plugin*
*__Company__: PanjieSW*
Defines tasks for Grunt
*********************************************
###
module.exports = (grunt) ->
###
Constants
###
SRC = ".src"
ACTION = "actions"
CONFIG = "config"
INITIALIZER = "initialize... | true | ###
#Grunt Tasks
*__Author__: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>*
*__Project__: ah-nodemailer-plugin*
*__Company__: PanjieSW*
Defines tasks for Grunt
*********************************************
###
module.exports = (grunt) ->
###
Constants
###
SRC = ".src"
ACTION = "actions"
CONFIG = "config... |
[
{
"context": "[\n {\n givenName: 'Nathan'\n familyName: 'Bolam'\n email: 'bolamnathan@",
"end": 28,
"score": 0.9997265338897705,
"start": 22,
"tag": "NAME",
"value": "Nathan"
},
{
"context": "[\n {\n givenName: 'Nathan'\n familyName: 'Bolam'\n email: 'bolamnathan@... | seed/user.cson | BoLaMN/node-client | 0 | [
{
givenName: 'Nathan'
familyName: 'Bolam'
email: 'bolamnathan@gmail.com'
password: '12345678'
emailVerified: true
}
]
| 89673 | [
{
givenName: '<NAME>'
familyName: '<NAME>'
email: '<EMAIL>'
password: '<PASSWORD>'
emailVerified: true
}
]
| true | [
{
givenName: 'PI:NAME:<NAME>END_PI'
familyName: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
emailVerified: true
}
]
|
[
{
"context": " s?.key\n source_password: s?.source_password\n slave_uri: \"\"\n ",
"end": 870,
"score": 0.995043933391571,
"start": 852,
"tag": "PASSWORD",
"value": "s?.source_password"
},
{
"context": " config\n\n ... | test/helpers/standalone.coffee | firebrandv2/FirebrandNetwork.ga | 342 | StandaloneMode = $src "modes/standalone"
StreamHelper = require "./stream"
uuid = require "node-uuid"
_ = require "underscore"
module.exports =
startStandalone: (stream,cb) ->
s = null
if stream
s = StreamHelper.getStream stream
config =
chunk_duration: 0.... | 46247 | StandaloneMode = $src "modes/standalone"
StreamHelper = require "./stream"
uuid = require "node-uuid"
_ = require "underscore"
module.exports =
startStandalone: (stream,cb) ->
s = null
if stream
s = StreamHelper.getStream stream
config =
chunk_duration: 0.... | true | StandaloneMode = $src "modes/standalone"
StreamHelper = require "./stream"
uuid = require "node-uuid"
_ = require "underscore"
module.exports =
startStandalone: (stream,cb) ->
s = null
if stream
s = StreamHelper.getStream stream
config =
chunk_duration: 0.... |
[
{
"context": "\"/app/contract_manage/contracts/grid/all\"\n\tname: \"合同\"\n\tdescription: \"管理合同等。\"\n\ticon_slds: \"document\"\n\t",
"end": 89,
"score": 0.5764958262443542,
"start": 88,
"tag": "NAME",
"value": "合"
}
] | creator/packages/steedos-app-contract/contract_manage.coffee | yicone/steedos-platform | 42 | Creator.Apps.contract_manage =
url: "/app/contract_manage/contracts/grid/all"
name: "合同"
description: "管理合同等。"
icon_slds: "document"
visible:true
is_creator:true
objects: [
"contracts"
] | 768 | Creator.Apps.contract_manage =
url: "/app/contract_manage/contracts/grid/all"
name: "<NAME>同"
description: "管理合同等。"
icon_slds: "document"
visible:true
is_creator:true
objects: [
"contracts"
] | true | Creator.Apps.contract_manage =
url: "/app/contract_manage/contracts/grid/all"
name: "PI:NAME:<NAME>END_PI同"
description: "管理合同等。"
icon_slds: "document"
visible:true
is_creator:true
objects: [
"contracts"
] |
[
{
"context": "Esquema de l\\'escenari:'\n 'Exemples:'\n 'Donat '\n 'Donada '\n 'Atès '\n 'Atesa '\n ",
"end": 244,
"score": 0.9866830110549927,
"start": 239,
"tag": "NAME",
"value": "Donat"
},
{
"context": "scenari:'\n 'Exemples:'\n 'Donat '\n ... | settings/language-gherkin_ca.cson | mackoj/language-gherkin-i18n | 17 | '.text.gherkin.feature.ca':
'editor':
'completions': [
'Característica:'
'Funcionalitat:'
'Rerefons:'
'Antecedents:'
'Exemple:'
'Escenari:'
'Esquema de l\'escenari:'
'Exemples:'
'Donat '
'Donada '
'Atès '
'Atesa '
'Quan '
'Aleshor... | 113242 | '.text.gherkin.feature.ca':
'editor':
'completions': [
'Característica:'
'Funcionalitat:'
'Rerefons:'
'Antecedents:'
'Exemple:'
'Escenari:'
'Esquema de l\'escenari:'
'Exemples:'
'<NAME> '
'<NAME> '
'<NAME> '
'<NAME>a '
'Quan '
'Al... | true | '.text.gherkin.feature.ca':
'editor':
'completions': [
'Característica:'
'Funcionalitat:'
'Rerefons:'
'Antecedents:'
'Exemple:'
'Escenari:'
'Esquema de l\'escenari:'
'Exemples:'
'PI:NAME:<NAME>END_PI '
'PI:NAME:<NAME>END_PI '
'PI:NAME:<NAME>END_PI ... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998899102210999,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/migrations/2021032400006-create-orders.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
###
Create orders table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Orders',
id:
allowNull: false
a... | 206882 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
###
Create orders table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Orders',
id:
allowNull: false
autoIncrement: true
... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
###
Create orders table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Orders',
id:
allowNull: fal... |
[
{
"context": " at the target\n#\n# Notes:\n# None\n#\n# Author:\n# bsensale\n\nmodule.exports = (robot) ->\n\n robot.respond /sh",
"end": 267,
"score": 0.9995326995849609,
"start": 259,
"tag": "USERNAME",
"value": "bsensale"
},
{
"context": " \"The dart smacks into #{victimN... | src/darts.coffee | hubot-scripts/hubot-darts | 6 | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fires a foam dart at the target
#
# Notes:
# None
#
# Author:
# bsensale
module.exports = (robot) ->
robot.respond /shoot... | 112417 | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fires a foam dart at the target
#
# Notes:
# None
#
# Author:
# bsensale
module.exports = (robot) ->
robot.respond /shoot... | true | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fires a foam dart at the target
#
# Notes:
# None
#
# Author:
# bsensale
module.exports = (robot) ->
robot.respond /shoot... |
[
{
"context": "sTo: (opts, handler) ->\n as = opts.as\n key = privateName(as)\n handler ?= getHandlerForHasAssos(this, op",
"end": 7463,
"score": 0.9401376247406006,
"start": 7452,
"tag": "KEY",
"value": "privateName"
},
{
"context": " ?= getHandlerInBelongsAssos(this, opts)\... | lib/model-association.coffee | xmail-client/node-sqlite-orm | 0 | Mixin = require 'mixto'
Q = require 'q'
ObserverArray = require './observer-array'
_ = require 'underscore'
# Virtual Association is used to keep the association consistent such as when
# the child model destroy to notify the parent model delete the destroyed child.
module.exports =
class ModelAssociation extends Mixi... | 171054 | Mixin = require 'mixto'
Q = require 'q'
ObserverArray = require './observer-array'
_ = require 'underscore'
# Virtual Association is used to keep the association consistent such as when
# the child model destroy to notify the parent model delete the destroyed child.
module.exports =
class ModelAssociation extends Mixi... | true | Mixin = require 'mixto'
Q = require 'q'
ObserverArray = require './observer-array'
_ = require 'underscore'
# Virtual Association is used to keep the association consistent such as when
# the child model destroy to notify the parent model delete the destroyed child.
module.exports =
class ModelAssociation extends Mixi... |
[
{
"context": " email: program.email\n password: program.password\n force: program.force\n\n\n# Alias creati",
"end": 1385,
"score": 0.7869814038276672,
"start": 1369,
"tag": "PASSWORD",
"value": "program.password"
}
] | src/cli.coffee | impleri/sow | 18 | # Primary: command-line interface
'use strict'
cmd = require "commander"
commands = require './'
cmd.version require("../package.json").version
# Helper to parse shorthand resource names for aliasing
parseAlias = (input) ->
switch input
when 'c' then 'client'
when 't' then 'task'
when 'p'... | 57101 | # Primary: command-line interface
'use strict'
cmd = require "commander"
commands = require './'
cmd.version require("../package.json").version
# Helper to parse shorthand resource names for aliasing
parseAlias = (input) ->
switch input
when 'c' then 'client'
when 't' then 'task'
when 'p'... | true | # Primary: command-line interface
'use strict'
cmd = require "commander"
commands = require './'
cmd.version require("../package.json").version
# Helper to parse shorthand resource names for aliasing
parseAlias = (input) ->
switch input
when 'c' then 'client'
when 't' then 'task'
when 'p'... |
[
{
"context": " body:\n firstName: 'John'\n\n makeRequest(\n 'http:",
"end": 2174,
"score": 0.9996614456176758,
"start": 2170,
"tag": "NAME",
"value": "John"
},
{
"context": " expect(result.body).toEqual firstName: 'John... | test/jasmine-http-server-spy.spec.coffee | LaudateCorpus1/jasmine-http-server-spy | 2 | jasmineHttpServerSpy = require('../src/jasmine-http-server-spy')
request = require('request')
q = require('q')
_ = require('lodash')
parseBodyAsJson = (responseAndBody) ->
try
return q(
response: responseAndBody.response
body: JSON.parse responseAndBody.body)
catch e
ret... | 156368 | jasmineHttpServerSpy = require('../src/jasmine-http-server-spy')
request = require('request')
q = require('q')
_ = require('lodash')
parseBodyAsJson = (responseAndBody) ->
try
return q(
response: responseAndBody.response
body: JSON.parse responseAndBody.body)
catch e
ret... | true | jasmineHttpServerSpy = require('../src/jasmine-http-server-spy')
request = require('request')
q = require('q')
_ = require('lodash')
parseBodyAsJson = (responseAndBody) ->
try
return q(
response: responseAndBody.response
body: JSON.parse responseAndBody.body)
catch e
ret... |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\n\n'use stri",
"end": 58,
"score": 0.9998488426208496,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
},
{
"context": ".MONGOLAB_URI or process.env.db or \"mongodb:... | src/index.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
'use strict'
express = require("express")
resource = require 'express-resource'
app = express()
chalk = require "chalk"
path = require "path"
bodyParser = require "body-parser"
router = require "./router"
session = requ... | 169979 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
'use strict'
express = require("express")
resource = require 'express-resource'
app = express()
chalk = require "chalk"
path = require "path"
bodyParser = require "body-parser"
router = require "./router"
session = require... | true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict'
express = require("express")
resource = require 'express-resource'
app = express()
chalk = require "chalk"
path = require "path"
bodyParser = require "body-parser"
router = require "./router"
ses... |
[
{
"context": "places the text\", ->\n b.text().should.eql \"Held\"\n \n it \"updates the end point\", ->\n ",
"end": 32860,
"score": 0.8836811780929565,
"start": 32856,
"tag": "NAME",
"value": "Held"
},
{
"context": "eletes the region\", ->\n b.text().should.... | test/buffer.test.coffee | stratuseditor/fractus | 1 | should = require 'should'
{Buffer, Point, Region} = require '../src/buffer'
describe "Buffer", ->
describe "new", ->
it "sets the initial text", ->
b = new Buffer "Initial\ntext"
b.text().should.eql "Initial\ntext"
describe "when using Windows-style line endings", ->
i... | 38525 | should = require 'should'
{Buffer, Point, Region} = require '../src/buffer'
describe "Buffer", ->
describe "new", ->
it "sets the initial text", ->
b = new Buffer "Initial\ntext"
b.text().should.eql "Initial\ntext"
describe "when using Windows-style line endings", ->
i... | true | should = require 'should'
{Buffer, Point, Region} = require '../src/buffer'
describe "Buffer", ->
describe "new", ->
it "sets the initial text", ->
b = new Buffer "Initial\ntext"
b.text().should.eql "Initial\ntext"
describe "when using Windows-style line endings", ->
i... |
[
{
"context": "Manager service\n driver: \"mongodb\",\n host: \"127.0.0.1\",\n port: \"27017\",\n name: \"test\",\n user: ",
"end": 297,
"score": 0.9997462034225464,
"start": 288,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": ",\n port: \"27017\",\n na... | app/config/config.coffee | konsserto/konsserto | 2 | config =
bodyParser: # Optional, default value for type : both, default value for config : {extended:false}
type: "both"
config:
extended: false
database: # Optional at the basis, but mandatory when exploiting the EntityManager service
driver: "mongodb",
host: "127.0.0.1",
port: "27017",
... | 146074 | config =
bodyParser: # Optional, default value for type : both, default value for config : {extended:false}
type: "both"
config:
extended: false
database: # Optional at the basis, but mandatory when exploiting the EntityManager service
driver: "mongodb",
host: "127.0.0.1",
port: "27017",
... | true | config =
bodyParser: # Optional, default value for type : both, default value for config : {extended:false}
type: "both"
config:
extended: false
database: # Optional at the basis, but mandatory when exploiting the EntityManager service
driver: "mongodb",
host: "127.0.0.1",
port: "27017",
... |
[
{
"context": "\" key data type using hashing', ->\n key = {id: 1}\n expect(Cache.getCacheKey(key)).not.toBeN",
"end": 2601,
"score": 0.9965275526046753,
"start": 2596,
"tag": "KEY",
"value": "id: 1"
},
{
"context": "specified time', ->\n data = {id: 1, name: 'kho... | spec/CacheSpec.coffee | angelxmoreno/node-promise-cache | 10 | describe 'Cache', ->
Q = {
defer: -> return this
reject: -> return this
resolve: -> return this
promise: {
then: (callback)-> callback()
}
}
Crypto = {
createHash: -> return this
update: -> return this
digest: -> return this
}... | 50103 | describe 'Cache', ->
Q = {
defer: -> return this
reject: -> return this
resolve: -> return this
promise: {
then: (callback)-> callback()
}
}
Crypto = {
createHash: -> return this
update: -> return this
digest: -> return this
}... | true | describe 'Cache', ->
Q = {
defer: -> return this
reject: -> return this
resolve: -> return this
promise: {
then: (callback)-> callback()
}
}
Crypto = {
createHash: -> return this
update: -> return this
digest: -> return this
}... |
[
{
"context": "nge.id } #{ change.key }\"\n if change.key is 'editor.name'\n $(\"div[data-id='#{ change.id }']\").find(",
"end": 518,
"score": 0.9919636249542236,
"start": 507,
"tag": "KEY",
"value": "editor.name"
},
{
"context": "').html change.value\n else if change... | public-source/javascripts/models/connections/props.coffee | lekevicius/vijual | 1 | class App.Connections.Props extends App.Connections.Base
protocol: 'props'
onOpen: (e) =>
# @listenTo App.ticker, 'frame', @sendDataUpdates
App.utils.every Math.round(1000 / @connectionRate), @sendDataUpdates
super
main_setLayout: (doc) =>
# console.log doc
$('#propertiesModalBackground').hi... | 212831 | class App.Connections.Props extends App.Connections.Base
protocol: 'props'
onOpen: (e) =>
# @listenTo App.ticker, 'frame', @sendDataUpdates
App.utils.every Math.round(1000 / @connectionRate), @sendDataUpdates
super
main_setLayout: (doc) =>
# console.log doc
$('#propertiesModalBackground').hi... | true | class App.Connections.Props extends App.Connections.Base
protocol: 'props'
onOpen: (e) =>
# @listenTo App.ticker, 'frame', @sendDataUpdates
App.utils.every Math.round(1000 / @connectionRate), @sendDataUpdates
super
main_setLayout: (doc) =>
# console.log doc
$('#propertiesModalBackground').hi... |
[
{
"context": "implemented via a sequence.\n#\n# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)\n# ------------------------------",
"end": 162,
"score": 0.9998809695243835,
"start": 139,
"tag": "NAME",
"value": "Olaf Delgado-Friedrichs"
},
{
"context": ".\n#\n# Copyright ... | lib/stack.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# A simple stack implemented via a sequence.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence')
e... | 91418 | # --------------------------------------------------------------------
# A simple stack implemented via a sequence.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequence')
else
{ seq } = this.paz... | true | # --------------------------------------------------------------------
# A simple stack implemented via a sequence.
#
# Copyright (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# --------------------------------------------------------------------
if typeof(require) != 'undefined'
{ seq } = require('sequenc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.