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": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\n\n#/--- G",
"end": 28,
"score": 0.9998739957809448,
"start": 17,
"tag": "NAME",
"value": "Mark Cavage"
},
{
"context": "# Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.\n\n#/--- ... | deps/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.coffee | lxe/io.coffee | 0 | # Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
#/--- Globals
#/--- API
Reader = (data) ->
throw new TypeError("data must be a node Buffer") if not data or not Buffer.isBuffer(data)
@_buf = data
@_size = data.length
# These hold the "current" state
@_len = 0
@_offset = 0
self =... | 136795 | # Copyright 2011 <NAME> <<EMAIL>> All rights reserved.
#/--- Globals
#/--- API
Reader = (data) ->
throw new TypeError("data must be a node Buffer") if not data or not Buffer.isBuffer(data)
@_buf = data
@_size = data.length
# These hold the "current" state
@_len = 0
@_offset = 0
self = this
@__defi... | true | # Copyright 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> All rights reserved.
#/--- Globals
#/--- API
Reader = (data) ->
throw new TypeError("data must be a node Buffer") if not data or not Buffer.isBuffer(data)
@_buf = data
@_size = data.length
# These hold the "current" state
@_len = 0
@_offse... |
[
{
"context": "b')\r\n\r\n extractCounts: (result) ->\r\n keyRe = /(\\w+)Total$/\r\n\r\n _.chain(result?.d?.results or [])\r\n .",
"end": 3860,
"score": 0.9120305180549622,
"start": 3850,
"tag": "KEY",
"value": "w+)Total$/"
}
] | src/search.coffee | Cryptix720/Bing-AI | 0 | _ = require 'underscore'
async = require 'async'
debug = require('debug') 'bing-search'
request = require 'request'
url = require 'url'
markets = require './markets'
BING_SEARCH_ENDPOINT = 'api.cognitive.microsoft.com/bing/v7.0/entities'
API_KEY = 'ENTER_YOUR_APIKEY_HERE'
class Search
@SOURCES = ['we... | 62729 | _ = require 'underscore'
async = require 'async'
debug = require('debug') 'bing-search'
request = require 'request'
url = require 'url'
markets = require './markets'
BING_SEARCH_ENDPOINT = 'api.cognitive.microsoft.com/bing/v7.0/entities'
API_KEY = 'ENTER_YOUR_APIKEY_HERE'
class Search
@SOURCES = ['we... | true | _ = require 'underscore'
async = require 'async'
debug = require('debug') 'bing-search'
request = require 'request'
url = require 'url'
markets = require './markets'
BING_SEARCH_ENDPOINT = 'api.cognitive.microsoft.com/bing/v7.0/entities'
API_KEY = 'ENTER_YOUR_APIKEY_HERE'
class Search
@SOURCES = ['we... |
[
{
"context": "tions) ->\n username = options.pgUser\n password = options.pgPassword\n if username and password\n if checkAuth(usern",
"end": 451,
"score": 0.9631214141845703,
"start": 433,
"tag": "PASSWORD",
"value": "options.pgPassword"
}
] | accounts-pg_server.coffee | Raynes/meteor-accounts-pg | 1 | pg = Npm.require 'pg'
connectSync = Meteor.wrapAsync pg.connect, pg
checkAuth = (user, pass) ->
url = Meteor.settings.PG.url
connectionString = "postgres://#{user}:#{pass}@#{url}"
try
connectSync connectionString
true
catch e
false
Meteor.server.publish null, ->
if this.userId
Meteor.users.... | 158657 | pg = Npm.require 'pg'
connectSync = Meteor.wrapAsync pg.connect, pg
checkAuth = (user, pass) ->
url = Meteor.settings.PG.url
connectionString = "postgres://#{user}:#{pass}@#{url}"
try
connectSync connectionString
true
catch e
false
Meteor.server.publish null, ->
if this.userId
Meteor.users.... | true | pg = Npm.require 'pg'
connectSync = Meteor.wrapAsync pg.connect, pg
checkAuth = (user, pass) ->
url = Meteor.settings.PG.url
connectionString = "postgres://#{user}:#{pass}@#{url}"
try
connectSync connectionString
true
catch e
false
Meteor.server.publish null, ->
if this.userId
Meteor.users.... |
[
{
"context": "test_option_personnummer: ->\n label = 'personnummer'\n description = 'big brother demands i",
"end": 3247,
"score": 0.661247968673706,
"start": 3235,
"tag": "NAME",
"value": "personnummer"
},
{
"context": "label = 'personnummer'\n descr... | clients/data/webshop/test/jstest_products_any.coffee | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 71381 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | true | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... |
[
{
"context": "# Copyright (c) Markus Kohlhase, 2011\n\n# a little helper\nhelper =\n\n fill: (src, ",
"end": 31,
"score": 0.9998877644538879,
"start": 16,
"tag": "NAME",
"value": "Markus Kohlhase"
}
] | dataforms/src/strophe.x.coffee | calendar42/strophejs-plugins | 0 | # Copyright (c) Markus Kohlhase, 2011
# a little helper
helper =
fill: (src, target, klass) -> for f in src
target.push if f instanceof klass then f else new klass f
createHtmlFieldCouple: (f) ->
div = $ "<div>"
id = "Strophe.x.Field-#{ f.type }-#{f.var}"
div
.append("<label for='#{id}'>#{f... | 73790 | # Copyright (c) <NAME>, 2011
# a little helper
helper =
fill: (src, target, klass) -> for f in src
target.push if f instanceof klass then f else new klass f
createHtmlFieldCouple: (f) ->
div = $ "<div>"
id = "Strophe.x.Field-#{ f.type }-#{f.var}"
div
.append("<label for='#{id}'>#{f.label or... | true | # Copyright (c) PI:NAME:<NAME>END_PI, 2011
# a little helper
helper =
fill: (src, target, klass) -> for f in src
target.push if f instanceof klass then f else new klass f
createHtmlFieldCouple: (f) ->
div = $ "<div>"
id = "Strophe.x.Field-#{ f.type }-#{f.var}"
div
.append("<label for='#{id}... |
[
{
"context": "'scopeName': 'source.yorick'\n'name': 'Yorick'\n'fileTypes': ['i']\n'patterns': [\n { # Numeric",
"end": 44,
"score": 0.5235261917114258,
"start": 39,
"tag": "NAME",
"value": "orick"
}
] | grammars/yorick.cson | fabricevidal/language-yorick | 0 | 'scopeName': 'source.yorick'
'name': 'Yorick'
'fileTypes': ['i']
'patterns': [
{ # Numeric match ORANGE
'match': '\\b(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))\\b'
'name': 'constant.numeric.yorick' # First rule
},
{ # Numeric match RED
'match': '\\b(avg|rms|min|max|sum|ptp|mnx|mxx|cum|dif|zcen|p... | 66418 | 'scopeName': 'source.yorick'
'name': 'Y<NAME>'
'fileTypes': ['i']
'patterns': [
{ # Numeric match ORANGE
'match': '\\b(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))\\b'
'name': 'constant.numeric.yorick' # First rule
},
{ # Numeric match RED
'match': '\\b(avg|rms|min|max|sum|ptp|mnx|mxx|cum|dif|zcen|... | true | 'scopeName': 'source.yorick'
'name': 'YPI:NAME:<NAME>END_PI'
'fileTypes': ['i']
'patterns': [
{ # Numeric match ORANGE
'match': '\\b(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))\\b'
'name': 'constant.numeric.yorick' # First rule
},
{ # Numeric match RED
'match': '\\b(avg|rms|min|max|sum|ptp|mnx|mxx... |
[
{
"context": " REDIS:\n HOST: process.env.DB_REDIS_HOST or '127.0.0.1'\n PORT: process.env.DB_REDIS_PORT or 6379\n ",
"end": 276,
"score": 0.9997556209564209,
"start": 267,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "IX: 'carbon:'\n EXPRESS:\n SESSION:\n... | config.coffee | mauriciodelrio/carbon | 0 | require('./_env') if require('fs').existsSync './_env.coffee'
CONFIG =
NAME: 'Carbon'
URL: process.env.URL or ''
STATIC_URL: process.env.STATIC_URL or '' # do not include ending slash
ROOT: __dirname
DB:
REDIS:
HOST: process.env.DB_REDIS_HOST or '127.0.0.1'
PORT: process.env.DB_REDIS_PORT or 6... | 115394 | require('./_env') if require('fs').existsSync './_env.coffee'
CONFIG =
NAME: 'Carbon'
URL: process.env.URL or ''
STATIC_URL: process.env.STATIC_URL or '' # do not include ending slash
ROOT: __dirname
DB:
REDIS:
HOST: process.env.DB_REDIS_HOST or '127.0.0.1'
PORT: process.env.DB_REDIS_PORT or 6... | true | require('./_env') if require('fs').existsSync './_env.coffee'
CONFIG =
NAME: 'Carbon'
URL: process.env.URL or ''
STATIC_URL: process.env.STATIC_URL or '' # do not include ending slash
ROOT: __dirname
DB:
REDIS:
HOST: process.env.DB_REDIS_HOST or '127.0.0.1'
PORT: process.env.DB_REDIS_PORT or 6... |
[
{
"context": "- Learn by Building 14 Apps\"\nEMAIL = \"your@email.com\"\nPASSWORD = \"p@$$word\"\nDOWNLOAD_DIR ",
"end": 253,
"score": 0.9999175071716309,
"start": 239,
"tag": "EMAIL",
"value": "your@email.com"
},
{
"context": " = \"your@email.com\"\... | course_scraper.coffee | clekstro/fedora_course_scraper | 2 | fs = require('fs')
############# Configure to your heart's content ###########################
FEDORA_SCHOOL_URL = "http://bitfountain.io"
COURSE_TITLE = "The Complete iOS 7 Course - Learn by Building 14 Apps"
EMAIL = "your@email.com"
PASSWORD = "p@$$word"
DOWNLOAD_DIR = "/path/to/down... | 144091 | fs = require('fs')
############# Configure to your heart's content ###########################
FEDORA_SCHOOL_URL = "http://bitfountain.io"
COURSE_TITLE = "The Complete iOS 7 Course - Learn by Building 14 Apps"
EMAIL = "<EMAIL>"
PASSWORD = "<PASSWORD>"
DOWNLOAD_DIR = "/path/to/download/... | true | fs = require('fs')
############# Configure to your heart's content ###########################
FEDORA_SCHOOL_URL = "http://bitfountain.io"
COURSE_TITLE = "The Complete iOS 7 Course - Learn by Building 14 Apps"
EMAIL = "PI:EMAIL:<EMAIL>END_PI"
PASSWORD = "PI:PASSWORD:<PASSWORD>END_PI"
DOWNLO... |
[
{
"context": "ge:\"Retrieve succeeded\", data:[\n [1, \"TEST1\", \"Nathan Stitt\", \"swell guy\"]\n [2, \"TEST2\", \"Nathan Stitt\", \"",
"end": 133,
"score": 0.9998877048492432,
"start": 121,
"tag": "NAME",
"value": "Nathan Stitt"
},
{
"context": "\", \"Nathan Stitt\", \"swell... | spec/hippo/components/grid/PopoverEditorSpec.coffee | argosity/hippo | 3 | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "Nathan Stitt", "swell guy"]
[2, "TEST2", "Nathan Stitt", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'string'}
)
LAST_R... | 146897 | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "<NAME>", "swell guy"]
[2, "TEST2", "<NAME>", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'string'}
)
LAST_ROW_SELECTOR ... | true | #= require hippo/components/grid
DATA = {total:2, success:true, message:"Retrieve succeeded", data:[
[1, "TEST1", "PI:NAME:<NAME>END_PI", "swell guy"]
[2, "TEST2", "PI:NAME:<NAME>END_PI", "Dupe of id #1"]
]}
Model = Hippo.Test.defineModel(
props: {id: 'integer', code: 'string', name: 'string', notes: 'st... |
[
{
"context": "finition' };\n# });\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nLovely = ->\n args = A(arguments)\n current",
"end": 372,
"score": 0.9998982548713684,
"start": 355,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/core/src/lovely.coffee | lovely-io/lovely.io-stl | 2 | #
# The top function, handles async modules loading/definition
#
# :js
# Lovely(['module1', 'module2'], function(module1, module2) {
# // do stuff
# });
#
# Modules Definition:
#
# :js
# Lovely('module-name', ['dep1', 'dep2'], function(dep1, dep2) {
# return { module: 'definition' };
# ... | 95356 | #
# The top function, handles async modules loading/definition
#
# :js
# Lovely(['module1', 'module2'], function(module1, module2) {
# // do stuff
# });
#
# Modules Definition:
#
# :js
# Lovely('module-name', ['dep1', 'dep2'], function(dep1, dep2) {
# return { module: 'definition' };
# ... | true | #
# The top function, handles async modules loading/definition
#
# :js
# Lovely(['module1', 'module2'], function(module1, module2) {
# // do stuff
# });
#
# Modules Definition:
#
# :js
# Lovely('module-name', ['dep1', 'dep2'], function(dep1, dep2) {
# return { module: 'definition' };
# ... |
[
{
"context": "al result, true\n # App.Post.exists authorName: \"David\", (error, result) -> assert.equal result, true\n ",
"end": 496,
"score": 0.9991015195846558,
"start": 491,
"tag": "NAME",
"value": "David"
},
{
"context": "al result, true\n # App.Post.exists authorName: \"Ma... | test/cases/model/shared/findersTest.coffee | jivagoalves/tower | 1 | describe "Tower.ModelFinders", ->
beforeEach (done) ->
# @todo I have no idea why adding this makes it work
# (b/c it's also in test/server.coffee beforeEach hook)
if Tower.isServer
Tower.store.clean =>
done()
else
App.Post.store().constructor.clean(done)
#test 'exists', ->
#... | 110357 | describe "Tower.ModelFinders", ->
beforeEach (done) ->
# @todo I have no idea why adding this makes it work
# (b/c it's also in test/server.coffee beforeEach hook)
if Tower.isServer
Tower.store.clean =>
done()
else
App.Post.store().constructor.clean(done)
#test 'exists', ->
#... | true | describe "Tower.ModelFinders", ->
beforeEach (done) ->
# @todo I have no idea why adding this makes it work
# (b/c it's also in test/server.coffee beforeEach hook)
if Tower.isServer
Tower.store.clean =>
done()
else
App.Post.store().constructor.clean(done)
#test 'exists', ->
#... |
[
{
"context": "---\n---\n\n### Ben Scott # 2015-10-12 # Mania ###\n\n'use strict' # just lik",
"end": 22,
"score": 0.9997327923774719,
"start": 13,
"tag": "NAME",
"value": "Ben Scott"
},
{
"context": "gt` \\<**real**,**real**\\> : target position\n - `@max_v` **real** : maximum speed... | js/mania.coffee | evan-erdos/evan-erdos.github.io | 1 | ---
---
### Ben Scott # 2015-10-12 # Mania ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks for P5.js e... | 105748 | ---
---
### <NAME> # 2015-10-12 # Mania ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks for P5.js even... | true | ---
---
### PI:NAME:<NAME>END_PI # 2015-10-12 # Mania ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks ... |
[
{
"context": "rg/TR/websockets).\n#\n# * Copyright (C) 2010-2012 [Jeff Mesnil](http://jmesnil.net/)\n# * Copyright (C) 2012 [Fus",
"end": 165,
"score": 0.9998102784156799,
"start": 154,
"tag": "NAME",
"value": "Jeff Mesnil"
}
] | src/main/webapp/assets/lib/stomp/src/stomp.coffee | xwgx107/xwgx107 | 28 | # **STOMP Over Web Socket** is a JavaScript STOMP Client using
# [HTML5 Web Sockets API](http://www.w3.org/TR/websockets).
#
# * Copyright (C) 2010-2012 [Jeff Mesnil](http://jmesnil.net/)
# * Copyright (C) 2012 [FuseSource, Inc.](http://fusesource.com)
#
# This library supports:
#
# * [STOMP 1.0](http://stomp.github.co... | 94291 | # **STOMP Over Web Socket** is a JavaScript STOMP Client using
# [HTML5 Web Sockets API](http://www.w3.org/TR/websockets).
#
# * Copyright (C) 2010-2012 [<NAME>](http://jmesnil.net/)
# * Copyright (C) 2012 [FuseSource, Inc.](http://fusesource.com)
#
# This library supports:
#
# * [STOMP 1.0](http://stomp.github.com/sto... | true | # **STOMP Over Web Socket** is a JavaScript STOMP Client using
# [HTML5 Web Sockets API](http://www.w3.org/TR/websockets).
#
# * Copyright (C) 2010-2012 [PI:NAME:<NAME>END_PI](http://jmesnil.net/)
# * Copyright (C) 2012 [FuseSource, Inc.](http://fusesource.com)
#
# This library supports:
#
# * [STOMP 1.0](http://stomp.... |
[
{
"context": "e 'Chrono Jigga'\n expect(album.author).toBe '2 Mello'\n expect(album.license).toBe 'by-nc'\n e",
"end": 837,
"score": 0.9829649925231934,
"start": 830,
"tag": "NAME",
"value": "2 Mello"
}
] | test/index.coffee | 59naga/band-camp | 2 | # Dependencies
bandcamp= require '../src'
# Environment
jasmine.DEFAULT_TIMEOUT_INTERVAL= 5000
# Specs
describe 'bandcamp',->
it '.summaries',(done)->
expect(bandcamp.summaries).toBe bandcamp
bandcamp 'vgm'
.then (summaries)->
expect(summaries.length).toBe 40
summary= summaries[summaries.l... | 109694 | # Dependencies
bandcamp= require '../src'
# Environment
jasmine.DEFAULT_TIMEOUT_INTERVAL= 5000
# Specs
describe 'bandcamp',->
it '.summaries',(done)->
expect(bandcamp.summaries).toBe bandcamp
bandcamp 'vgm'
.then (summaries)->
expect(summaries.length).toBe 40
summary= summaries[summaries.l... | true | # Dependencies
bandcamp= require '../src'
# Environment
jasmine.DEFAULT_TIMEOUT_INTERVAL= 5000
# Specs
describe 'bandcamp',->
it '.summaries',(done)->
expect(bandcamp.summaries).toBe bandcamp
bandcamp 'vgm'
.then (summaries)->
expect(summaries.length).toBe 40
summary= summaries[summaries.l... |
[
{
"context": "\n\nvm = new Vue({\n el: '#app',\n data:\n name: 'Taylor' # Change me to something else!\n })\n",
"end": 77,
"score": 0.999528706073761,
"start": 71,
"tag": "NAME",
"value": "Taylor"
}
] | src/app.coffee | taylorzane/skeletons | 0 | require './app.scss'
vm = new Vue({
el: '#app',
data:
name: 'Taylor' # Change me to something else!
})
| 211373 | require './app.scss'
vm = new Vue({
el: '#app',
data:
name: '<NAME>' # Change me to something else!
})
| true | require './app.scss'
vm = new Vue({
el: '#app',
data:
name: 'PI:NAME:<NAME>END_PI' # Change me to something else!
})
|
[
{
"context": "###\nJeannie\n@class Jeannie\n@author Jan Sanchez\n###\n\n###\n# Module dependencies.\n###\n\nyaml = requi",
"end": 46,
"score": 0.9998604655265808,
"start": 35,
"tag": "NAME",
"value": "Jan Sanchez"
}
] | source/coffee/package/lib/jeannie.coffee | jansanchez/jeannie | 0 | ###
Jeannie
@class Jeannie
@author Jan Sanchez
###
###
# Module dependencies.
###
yaml = require('js-yaml')
hbs = require('handlebars')
path = require('path')
fs = require('fs')
extend = require('util')._extend
###
# Library.
###
Jeannie = (opts) ->
@defaults = {}
@settings = {}
@json = {}
@output = []
@setDe... | 173879 | ###
Jeannie
@class Jeannie
@author <NAME>
###
###
# Module dependencies.
###
yaml = require('js-yaml')
hbs = require('handlebars')
path = require('path')
fs = require('fs')
extend = require('util')._extend
###
# Library.
###
Jeannie = (opts) ->
@defaults = {}
@settings = {}
@json = {}
@output = []
@setDefault... | true | ###
Jeannie
@class Jeannie
@author PI:NAME:<NAME>END_PI
###
###
# Module dependencies.
###
yaml = require('js-yaml')
hbs = require('handlebars')
path = require('path')
fs = require('fs')
extend = require('util')._extend
###
# Library.
###
Jeannie = (opts) ->
@defaults = {}
@settings = {}
@json = {}
@output = [... |
[
{
"context": "me_state, x=0, y=0, frame='cactus') ->\n key = 'atlas'\n frame = \"terrain/#{frame}\"\n super @game, ",
"end": 117,
"score": 0.934410035610199,
"start": 112,
"tag": "KEY",
"value": "atlas"
}
] | src/coffeescripts/game/sprites/Terrain.coffee | rongierlach/gunfight-game | 0 | class Terrain extends Phaser.Sprite
constructor: (@game, @game_state, x=0, y=0, frame='cactus') ->
key = 'atlas'
frame = "terrain/#{frame}"
super @game, x, y, key, frame
# set physics body
@game.physics.enable @, Phaser.Physics.ARCADE
@body.immovable = true
# clean up
@game.add.exist... | 136806 | class Terrain extends Phaser.Sprite
constructor: (@game, @game_state, x=0, y=0, frame='cactus') ->
key = '<KEY>'
frame = "terrain/#{frame}"
super @game, x, y, key, frame
# set physics body
@game.physics.enable @, Phaser.Physics.ARCADE
@body.immovable = true
# clean up
@game.add.exist... | true | class Terrain extends Phaser.Sprite
constructor: (@game, @game_state, x=0, y=0, frame='cactus') ->
key = 'PI:KEY:<KEY>END_PI'
frame = "terrain/#{frame}"
super @game, x, y, key, frame
# set physics body
@game.physics.enable @, Phaser.Physics.ARCADE
@body.immovable = true
# clean up
@g... |
[
{
"context": "ecret'\n authentication['refresh_token'] = 'abc123'\n authentication['access_token'] = 'def123",
"end": 574,
"score": 0.8817922472953796,
"start": 568,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": "abc123'\n authentication['access_token'] = ... | test/auth/set-cookies-spec.coffee | theodorick/ocelot | 13 | assert = require('assert')
setCookies = require('../../src/auth/set-cookies')
crypt = require('../../src/auth/crypt')
res = {}
route = {}
authentication = {}
auth = {}
beforeEach ->
res = {}
route = {}
authentication = {}
auth = {}
describe 'set cookies', ->
it 'returns tokens with path equal to ro... | 65597 | assert = require('assert')
setCookies = require('../../src/auth/set-cookies')
crypt = require('../../src/auth/crypt')
res = {}
route = {}
authentication = {}
auth = {}
beforeEach ->
res = {}
route = {}
authentication = {}
auth = {}
describe 'set cookies', ->
it 'returns tokens with path equal to ro... | true | assert = require('assert')
setCookies = require('../../src/auth/set-cookies')
crypt = require('../../src/auth/crypt')
res = {}
route = {}
authentication = {}
auth = {}
beforeEach ->
res = {}
route = {}
authentication = {}
auth = {}
describe 'set cookies', ->
it 'returns tokens with path equal to ro... |
[
{
"context": "url: \"https://docs.google.com/spreadsheet/ccc?key=0Au4e-jj1-69ZdEloMW03UExKLXI3cGRlbkJteGZFSUE#gid=0\"\n\nFunction.prototype.toString=null\n\n#WidLib",
"end": 913,
"score": 0.9997633099555969,
"start": 869,
"tag": "KEY",
"value": "0Au4e-jj1-69ZdEloMW03UExKLXI3cGRlbkJteGZFSUE"
... | examples/full_spec.js.coffee | ulitiy/WidLib | 1 | Widlib.templateEngines=[]
widget=new Widlib.Widget template: "pizza" # default, фолдбэк к совсем стандартному
widget.setRemoteScript
pages:
default:
template: "default" #default
body: "default"
inputs: -> @data "defaultInputs"
inputs: [{name: "phone", type: "text", placeholder: "+7 xxx xx ... | 15551 | Widlib.templateEngines=[]
widget=new Widlib.Widget template: "pizza" # default, фолдбэк к совсем стандартному
widget.setRemoteScript
pages:
default:
template: "default" #default
body: "default"
inputs: -> @data "defaultInputs"
inputs: [{name: "phone", type: "text", placeholder: "+7 xxx xx ... | true | Widlib.templateEngines=[]
widget=new Widlib.Widget template: "pizza" # default, фолдбэк к совсем стандартному
widget.setRemoteScript
pages:
default:
template: "default" #default
body: "default"
inputs: -> @data "defaultInputs"
inputs: [{name: "phone", type: "text", placeholder: "+7 xxx xx ... |
[
{
"context": " debug :\n host : '127.0.0.1'\n port : 1111\n runInBac",
"end": 5166,
"score": 0.9997713565826416,
"start": 5157,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " compiled :\n host ... | Gruntfile.coffee | dashersw/spark | 1 | module.exports = (grunt) ->
grunt.initConfig
clean :
all :
options :
force : yes
src : 'build'
mkdir :
all :
options :
create : [
... | 128869 | module.exports = (grunt) ->
grunt.initConfig
clean :
all :
options :
force : yes
src : 'build'
mkdir :
all :
options :
create : [
... | true | module.exports = (grunt) ->
grunt.initConfig
clean :
all :
options :
force : yes
src : 'build'
mkdir :
all :
options :
create : [
... |
[
{
"context": "rs'\nfs = require 'fs'\n\n# Firebase secure token for duelyst-dev.firebaseio.com\nLogger.module(\"Script\").lo",
"end": 723,
"score": 0.5154337882995605,
"start": 720,
"tag": "EMAIL",
"value": "due"
}
] | scripts/user_scripts/one_offs/20160202_give_users_gold_arena_ticket.coffee | willroberts/duelyst | 5 |
###
give_all_gold_arena_ticket - Gives all current users gold / arena ticket
Examples:
give_all_gold_arena_ticket # does a dry run to see what the results will be
give_all_gold_arena_ticket commit # ...
###
# region Requires
# Configuration object
#config = require("../../config/config.js")
config = require(... | 208884 |
###
give_all_gold_arena_ticket - Gives all current users gold / arena ticket
Examples:
give_all_gold_arena_ticket # does a dry run to see what the results will be
give_all_gold_arena_ticket commit # ...
###
# region Requires
# Configuration object
#config = require("../../config/config.js")
config = require(... | true |
###
give_all_gold_arena_ticket - Gives all current users gold / arena ticket
Examples:
give_all_gold_arena_ticket # does a dry run to see what the results will be
give_all_gold_arena_ticket commit # ...
###
# region Requires
# Configuration object
#config = require("../../config/config.js")
config = require(... |
[
{
"context": "om, automatically generated\n# Generator created by Renato \"Hii\" Garcia\n'.source.pwn, .source.inc':\n 'IsBulle",
"end": 74,
"score": 0.997606098651886,
"start": 68,
"tag": "NAME",
"value": "Renato"
},
{
"context": "atically generated\n# Generator created by Renato \... | snippets/weapon-config.cson | Wuzi/language-pawn | 4 | # Snippets for Atom, automatically generated
# Generator created by Renato "Hii" Garcia
'.source.pwn, .source.inc':
'IsBulletWeapon':
'prefix': 'IsBulletWeapon'
'body': 'IsBulletWeapon(${1:weaponid})'
'description': 'Function from: weapon-config'
'descriptionMoreURL': 'https://github.com/oscar-broman/... | 23786 | # Snippets for Atom, automatically generated
# Generator created by <NAME> "<NAME>" <NAME>
'.source.pwn, .source.inc':
'IsBulletWeapon':
'prefix': 'IsBulletWeapon'
'body': 'IsBulletWeapon(${1:weaponid})'
'description': 'Function from: weapon-config'
'descriptionMoreURL': 'https://github.com/oscar-brom... | true | # Snippets for Atom, automatically generated
# Generator created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
'.source.pwn, .source.inc':
'IsBulletWeapon':
'prefix': 'IsBulletWeapon'
'body': 'IsBulletWeapon(${1:weaponid})'
'description': 'Function from: weapon-config'
'descripti... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.5469404458999634,
"start": 21,
"tag": "NAME",
"value": "ty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Pub... | resources/assets/coffee/_classes/form-placeholder-hide.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FormPlaceholderHide
constructor: ->
$(document).on 'focus', '.js-form-placeholder-hide', @onFocus
$(document).on 'blur', '.js-fo... | 176481 | # Copyright (c) ppy P<NAME> <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FormPlaceholderHide
constructor: ->
$(document).on 'focus', '.js-form-placeholder-hide', @onFocus
$(document).on 'blur', '.js-form-plac... | true | # Copyright (c) ppy PPI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @FormPlaceholderHide
constructor: ->
$(document).on 'focus', '.js-form-placeholder-hide', @onFocus
$(docume... |
[
{
"context": "###\n * quad\n * https://github.com/1egoman/quad\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licens",
"end": 41,
"score": 0.9957389831542969,
"start": 34,
"tag": "USERNAME",
"value": "1egoman"
},
{
"context": "//github.com/1egoman/quad\n *\n * Copyright (c) 2015 Ryan Gaus\... | quadpi/src/models/schema.coffee | 1egoman/quad | 0 | ###
* quad
* https://github.com/1egoman/quad
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
schema = mongoose.Schema
name: String
module.exports = mongoose.model 'Schema', schema
| 66797 | ###
* quad
* https://github.com/1egoman/quad
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
schema = mongoose.Schema
name: String
module.exports = mongoose.model 'Schema', schema
| true | ###
* quad
* https://github.com/1egoman/quad
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
schema = mongoose.Schema
name: String
module.exports = mongoose.model 'Schema', schema
|
[
{
"context": ".sessions)\n }\n {\n key: \"Filtradas\"\n values: ([k, v.filtered] for own k, v ",
"end": 1159,
"score": 0.6619096994400024,
"start": 1153,
"tag": "NAME",
"value": "tradas"
}
] | app/scripts/controllers/party.coffee | vitorbaptista/coesao-parlamentar | 0 | "use strict"
angular.module("votacoesCamaraApp")
.controller "PartyCtrl", ($state, $scope, $location, $http) ->
$http.get("data/#{$state.params.party_id}.json").success (party) ->
$scope.party = party
$scope.showLabels = $scope.party.id == "mensaleiros"
lastAvailableYear = $scope.party.years[$s... | 191497 | "use strict"
angular.module("votacoesCamaraApp")
.controller "PartyCtrl", ($state, $scope, $location, $http) ->
$http.get("data/#{$state.params.party_id}.json").success (party) ->
$scope.party = party
$scope.showLabels = $scope.party.id == "mensaleiros"
lastAvailableYear = $scope.party.years[$s... | true | "use strict"
angular.module("votacoesCamaraApp")
.controller "PartyCtrl", ($state, $scope, $location, $http) ->
$http.get("data/#{$state.params.party_id}.json").success (party) ->
$scope.party = party
$scope.showLabels = $scope.party.id == "mensaleiros"
lastAvailableYear = $scope.party.years[$s... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998496174812317,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/interact/touch.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 68351 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "ent\n server.io handler in client\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 92,
"score": 0.9998024702072144,
"start": 83,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://githu... | src/client/socket-client.coffee | mark-hahn/bace | 1 | ###
file: src/client/socket-client
server.io handler in client
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
bace.server = server = io.connect '/'
$ ->
user.init server
server.on 'refresh', -> window.location = '/'... | 107265 | ###
file: src/client/socket-client
server.io handler in client
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
bace.server = server = io.connect '/'
$ ->
user.init server
server.on 'refresh', -> window.location = '/'
| true | ###
file: src/client/socket-client
server.io handler in client
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
bace.server = server = io.connect '/'
$ ->
user.init server
server.on 'refresh', -> window.loc... |
[
{
"context": "###\n Copyright (c) 2016, Mollie B.V.\n All rights reserved.\n\n Redistribution and use",
"end": 36,
"score": 0.9898766279220581,
"start": 26,
"tag": "NAME",
"value": "Mollie B.V"
},
{
"context": "source.org/licenses/bsd-license.php\n @author Mollie B.V. <info@... | src/lib/mollie/api/resource/customers/subscriptions.coffee | veselinoskih/mollie-test | 0 | ###
Copyright (c) 2016, Mollie B.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the... | 167349 | ###
Copyright (c) 2016, <NAME>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and the fol... | true | ###
Copyright (c) 2016, PI:NAME:<NAME>END_PI.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditio... |
[
{
"context": "hclaw/pawn-sublime-language\n# Converter created by Renato \"Hii\" Garcia\n# Repo: https://github.com/Renato-Ga",
"end": 172,
"score": 0.9996718764305115,
"start": 166,
"tag": "NAME",
"value": "Renato"
},
{
"context": "n-sublime-language\n# Converter created by Renato \... | snippets/SIF.ItemArrayData.pwn.cson | Wuzi/language-pawn | 4 | # SIF.ItemArrayData.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':
'SetItemExtraData(%0,%1)':... | 138221 | # SIF.ItemArrayData.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':
'SetItemExtraData(%0,%1)':
... | true | # SIF.ItemArrayData.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':
'Se... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984648823738098,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "end()\n request++\n return\n).listen(common.PORT, \"127.0.0.1\", ->\n opts = url.parse(\"ht... | test/simple/test-http-agent-no-protocol.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 54038 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "twork.getFiles\n#\t\twifiSsid: 'foobar'\n#\t\twifiKey: 'hello'\n###\nexports.getFiles = (options = {}) ->\n\n\tif no",
"end": 395,
"score": 0.9461119771003723,
"start": 390,
"tag": "KEY",
"value": "hello"
}
] | lib/network.coffee | balena-io/resin-network-conf | 2 | _ = require('lodash')
settings = require('./settings')
###*
# @summary Get network configuration files
# @function
# @public
#
# @param {Object} [options={}] - options
# @param {String} [options.wifiSsid] - wifi ssid
# @param {String} [options.wifiKey] - wifi key
#
# @returns {Object} Network configuration files
#
# @... | 151656 | _ = require('lodash')
settings = require('./settings')
###*
# @summary Get network configuration files
# @function
# @public
#
# @param {Object} [options={}] - options
# @param {String} [options.wifiSsid] - wifi ssid
# @param {String} [options.wifiKey] - wifi key
#
# @returns {Object} Network configuration files
#
# @... | true | _ = require('lodash')
settings = require('./settings')
###*
# @summary Get network configuration files
# @function
# @public
#
# @param {Object} [options={}] - options
# @param {String} [options.wifiSsid] - wifi ssid
# @param {String} [options.wifiKey] - wifi key
#
# @returns {Object} Network configuration files
#
# @... |
[
{
"context": "ert.deepEqual(\n result,\n {account_id: \"54321\"}\n )\n assert.equal(\n matcher.match(\"/b",
"end": 684,
"score": 0.972741961479187,
"start": 680,
"tag": "KEY",
"value": "4321"
},
{
"context": "nts/54321/channels/abcdefg\"),\n {account_id: \"5... | test/path_matcher_test.coffee | patchboard/patchboard | 38 | assert = require("assert")
Testify = require "testify"
matchers = require("../src/server/matchers")
PathMatcher = matchers.Path
Testify.test "Path matching", (context) ->
context.test "for '/'", ->
matcher = new PathMatcher(path: "/")
assert.deepEqual(
matcher.match("/"),
{}
)
assert.eq... | 31621 | assert = require("assert")
Testify = require "testify"
matchers = require("../src/server/matchers")
PathMatcher = matchers.Path
Testify.test "Path matching", (context) ->
context.test "for '/'", ->
matcher = new PathMatcher(path: "/")
assert.deepEqual(
matcher.match("/"),
{}
)
assert.eq... | true | assert = require("assert")
Testify = require "testify"
matchers = require("../src/server/matchers")
PathMatcher = matchers.Path
Testify.test "Path matching", (context) ->
context.test "for '/'", ->
matcher = new PathMatcher(path: "/")
assert.deepEqual(
matcher.match("/"),
{}
)
assert.eq... |
[
{
"context": "cariest moment is always just before you start.\" ― Stephen King'\n '\"There is nothing to writing. All you",
"end": 2146,
"score": 0.9996320605278015,
"start": 2134,
"tag": "NAME",
"value": "Stephen King"
},
{
"context": "l you do is sit down at a typewriter a... | assets/coffee/apps/post/list/list_view.coffee | ravigupta112/laravel-wardrobecms-cabinet | 0 | @Wardrobe.module "PostApp.List", (List, App, Backbone, Marionette, $, _) ->
class List.PostItem extends App.Views.ItemView
template: "post/list/templates/item"
tagName: "tr"
attributes: ->
if String(@model.get("active")) is "1" and @model.get("publish_date") > moment().format('YYYY-MM-DD HH:mm:ss'... | 41317 | @Wardrobe.module "PostApp.List", (List, App, Backbone, Marionette, $, _) ->
class List.PostItem extends App.Views.ItemView
template: "post/list/templates/item"
tagName: "tr"
attributes: ->
if String(@model.get("active")) is "1" and @model.get("publish_date") > moment().format('YYYY-MM-DD HH:mm:ss'... | true | @Wardrobe.module "PostApp.List", (List, App, Backbone, Marionette, $, _) ->
class List.PostItem extends App.Views.ItemView
template: "post/list/templates/item"
tagName: "tr"
attributes: ->
if String(@model.get("active")) is "1" and @model.get("publish_date") > moment().format('YYYY-MM-DD HH:mm:ss'... |
[
{
"context": "\thostname: 'localhost',\n\tport: 25565,\n\tusername: 'admin',\n\tpassword: 'demo',\n\tonConnection: function(err,",
"end": 69,
"score": 0.9987353682518005,
"start": 64,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "t',\n\tport: 25565,\n\tusername: 'admin',\n\tpa... | sdk/js/jsonapi-v3.coffee | NationsGlory/ngjsonapi | 109 |
###
opts = {
hostname: 'localhost',
port: 25565,
username: 'admin',
password: 'demo',
onConnection: function(err, jsonapi){}
}
###
class JSONAPI
constructor: (opts) ->
opts = opts || {}
@host = opts.hostname || 'localhost'
@port = opts.port || 25565
@username = opts.username || 'admin'
@password = opt... | 185267 |
###
opts = {
hostname: 'localhost',
port: 25565,
username: 'admin',
password: '<PASSWORD>',
onConnection: function(err, jsonapi){}
}
###
class JSONAPI
constructor: (opts) ->
opts = opts || {}
@host = opts.hostname || 'localhost'
@port = opts.port || 25565
@username = opts.username || 'admin'
@password... | true |
###
opts = {
hostname: 'localhost',
port: 25565,
username: 'admin',
password: 'PI:PASSWORD:<PASSWORD>END_PI',
onConnection: function(err, jsonapi){}
}
###
class JSONAPI
constructor: (opts) ->
opts = opts || {}
@host = opts.hostname || 'localhost'
@port = opts.port || 25565
@username = opts.username || '... |
[
{
"context": "ample Payload'\n key = (process.argv?[3]) ? 'amqp-demo-queue'\n exchange_name = (process.argv?[4]) ? 'foobar' ",
"end": 6071,
"score": 0.9932276606559753,
"start": 6056,
"tag": "KEY",
"value": "amqp-demo-queue"
}
] | lib/amqp-producer.coffee | intellinote/amqp-util | 1 | fs = require 'fs'
path = require 'path'
HOME_DIR = path.join __dirname, '..'
LIB_COV = path.join HOME_DIR, 'lib-cov'
LIB = path.join HOME_DIR, 'lib'
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else LIB
################################################################################
amqp ... | 58688 | fs = require 'fs'
path = require 'path'
HOME_DIR = path.join __dirname, '..'
LIB_COV = path.join HOME_DIR, 'lib-cov'
LIB = path.join HOME_DIR, 'lib'
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else LIB
################################################################################
amqp ... | true | fs = require 'fs'
path = require 'path'
HOME_DIR = path.join __dirname, '..'
LIB_COV = path.join HOME_DIR, 'lib-cov'
LIB = path.join HOME_DIR, 'lib'
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else LIB
################################################################################
amqp ... |
[
{
"context": "###\nForm field validation service\n@author Antonio Mendes <webaholicson@gmail.com>\n###\n",
"end": 56,
"score": 0.9998775720596313,
"start": 42,
"tag": "NAME",
"value": "Antonio Mendes"
},
{
"context": " field validation service\n@author Antonio Mendes <webaholicson@gm... | vendor/assets/javascripts/validators.coffee | Webaholicson/automall | 0 | ###
Form field validation service
@author Antonio Mendes <webaholicson@gmail.com>
###
| 22731 | ###
Form field validation service
@author <NAME> <<EMAIL>>
###
| true | ###
Form field validation service
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
|
[
{
"context": "if casper.cli.has(0) then casper.cli.get(0) else \"zuck\"\nfilePath = \"parsed/#{user}.json\"\nskipScraping = ",
"end": 895,
"score": 0.5794696807861328,
"start": 891,
"tag": "USERNAME",
"value": "zuck"
},
{
"context": "\n email: _env.fb_user\n pas... | scrape.coffee | patniharshit/fb-scraper | 1 | # fb-scraper
#
# IMPORTANT: run casperjs with --ignore-ssl-errors=yes --cookies-file=cookies.txt
_env = require("system").env
fs = require("fs")
casper = require("casper").create({
# verbose: true, # useful for debug
logLevel: "debug",
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKi... | 190259 | # fb-scraper
#
# IMPORTANT: run casperjs with --ignore-ssl-errors=yes --cookies-file=cookies.txt
_env = require("system").env
fs = require("fs")
casper = require("casper").create({
# verbose: true, # useful for debug
logLevel: "debug",
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKi... | true | # fb-scraper
#
# IMPORTANT: run casperjs with --ignore-ssl-errors=yes --cookies-file=cookies.txt
_env = require("system").env
fs = require("fs")
casper = require("casper").create({
# verbose: true, # useful for debug
logLevel: "debug",
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKi... |
[
{
"context": "ail: \" + email)\n\n params = {\n submittedBy: 'robo@noreply.io',\n startDate: startDate,\n endDate: endD",
"end": 8806,
"score": 0.9999058842658997,
"start": 8791,
"tag": "EMAIL",
"value": "robo@noreply.io"
}
] | app/packages/grits-net-meteor/server/publications.coffee | billdmcconnell/fliightData | 4 | Future = Npm.require('fibers/future')
_FLIRT_SIMULATOR_URL = process.env.FLIRT_SIMULATOR_URL
if !_FLIRT_SIMULATOR_URL
throw new Error('You must set FLIRT_SIMULATOR_URL environment variable, ex: http://localhost:45000/simulator')
_useAggregation = true # enable/disable using the aggregation framework
_useSeatProject... | 46747 | Future = Npm.require('fibers/future')
_FLIRT_SIMULATOR_URL = process.env.FLIRT_SIMULATOR_URL
if !_FLIRT_SIMULATOR_URL
throw new Error('You must set FLIRT_SIMULATOR_URL environment variable, ex: http://localhost:45000/simulator')
_useAggregation = true # enable/disable using the aggregation framework
_useSeatProject... | true | Future = Npm.require('fibers/future')
_FLIRT_SIMULATOR_URL = process.env.FLIRT_SIMULATOR_URL
if !_FLIRT_SIMULATOR_URL
throw new Error('You must set FLIRT_SIMULATOR_URL environment variable, ex: http://localhost:45000/simulator')
_useAggregation = true # enable/disable using the aggregation framework
_useSeatProject... |
[
{
"context": "e = 3\n config =\n auth:\n username: \"dorgarbash\"\n password: \"dorIsGarbash1\"\n subdomai",
"end": 256,
"score": 0.9996861219406128,
"start": 246,
"tag": "USERNAME",
"value": "dorgarbash"
},
{
"context": " username: \"dorgarbash\"\n ... | modules/log._coffee | CyberCRI/KnowNodes | 5 | BaseModule = require './baseModule'
LogDB = require '../DB/LogDB'
loggly = require 'loggly'
module.exports = class Log extends BaseModule
constructor: (user) ->
super user
@currentStage = 3
config =
auth:
username: "dorgarbash"
password: "dorIsGarbash1"
subdomain: "knownodes"... | 38368 | BaseModule = require './baseModule'
LogDB = require '../DB/LogDB'
loggly = require 'loggly'
module.exports = class Log extends BaseModule
constructor: (user) ->
super user
@currentStage = 3
config =
auth:
username: "dorgarbash"
password: "<PASSWORD>"
subdomain: "knownodes"
... | true | BaseModule = require './baseModule'
LogDB = require '../DB/LogDB'
loggly = require 'loggly'
module.exports = class Log extends BaseModule
constructor: (user) ->
super user
@currentStage = 3
config =
auth:
username: "dorgarbash"
password: "PI:PASSWORD:<PASSWORD>END_PI"
subdoma... |
[
{
"context": "\nsummary: \"\"\ndate: <date>\nauthors:\n -\n name: \"Kurtis Rainbolt-Greene\"\n email: \"me@kurtisrainboltgreene.name\"\n av",
"end": 322,
"score": 0.999897301197052,
"start": 300,
"tag": "NAME",
"value": "Kurtis Rainbolt-Greene"
},
{
"context": " -\n name... | _mdwriter.cson | dragonlang/dragonlang.github.io | 1 | siteEngine: "jekyll"
siteLocalDir: "/Users/krainboltgreene/code/beelang/beelang.github.io"
siteDraftsDir: "_drafts/"
sitePostsDir: "_posts/"
siteImagesDir: "/"
siteUrl: "http://beelang.github.io"
frontMatter: """
---
layout: <layout>
title: "<title>"
summary: ""
date: <date>
authors:
-
name: "Kurtis Rainbolt-Gree... | 6270 | siteEngine: "jekyll"
siteLocalDir: "/Users/krainboltgreene/code/beelang/beelang.github.io"
siteDraftsDir: "_drafts/"
sitePostsDir: "_posts/"
siteImagesDir: "/"
siteUrl: "http://beelang.github.io"
frontMatter: """
---
layout: <layout>
title: "<title>"
summary: ""
date: <date>
authors:
-
name: "<NAME>"
email: "... | true | siteEngine: "jekyll"
siteLocalDir: "/Users/krainboltgreene/code/beelang/beelang.github.io"
siteDraftsDir: "_drafts/"
sitePostsDir: "_posts/"
siteImagesDir: "/"
siteUrl: "http://beelang.github.io"
frontMatter: """
---
layout: <layout>
title: "<title>"
summary: ""
date: <date>
authors:
-
name: "PI:NAME:<NAME>END_PI... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999092221260071,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": " a\n key: 'mapper'\n ... | resources/assets/coffee/react/_components/beatmapset-panel.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 { BeatmapIcon } from 'beatmap-icon'
import { Img2x } from 'img2x'
import * as React from 'react'
import { a, div, i, span, strong } from '... | 83458 | # 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 { BeatmapIcon } from 'beatmap-icon'
import { Img2x } from 'img2x'
import * as React from 'react'
import { a, div, i, span, strong } from 'react-d... | 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 { BeatmapIcon } from 'beatmap-icon'
import { Img2x } from 'img2x'
import * as React from 'react'
import { a, div, i, span, strong ... |
[
{
"context": "xtensions: [\n contentful(\n access_token: 'YOUR_ACCESS_TOKEN'\n space_id: 'aqzq2qya2jm4'\n ",
"end": 174,
"score": 0.4484958350658417,
"start": 170,
"tag": "PASSWORD",
"value": "YOUR"
}
] | test/fixtures/single_entry_multi/app.coffee | viksoh/roots-contentful-GAR | 90 | S = require 'string'
contentful = require '../../..'
module.exports =
ignores: ["**/_*", "**/.DS_Store"]
extensions: [
contentful(
access_token: 'YOUR_ACCESS_TOKEN'
space_id: 'aqzq2qya2jm4'
content_types: [
{
id: '6BYT1gNiIEyIw8Og8aQAO6'
name: 'blog_posts'... | 179685 | S = require 'string'
contentful = require '../../..'
module.exports =
ignores: ["**/_*", "**/.DS_Store"]
extensions: [
contentful(
access_token: '<PASSWORD>_ACCESS_TOKEN'
space_id: 'aqzq2qya2jm4'
content_types: [
{
id: '6BYT1gNiIEyIw8Og8aQAO6'
name: 'blog_... | true | S = require 'string'
contentful = require '../../..'
module.exports =
ignores: ["**/_*", "**/.DS_Store"]
extensions: [
contentful(
access_token: 'PI:PASSWORD:<PASSWORD>END_PI_ACCESS_TOKEN'
space_id: 'aqzq2qya2jm4'
content_types: [
{
id: '6BYT1gNiIEyIw8Og8aQAO6'
... |
[
{
"context": "###\n mixin-js-ref-count.js 0.1.5\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/\n License: M",
"end": 65,
"score": 0.9998390078544617,
"start": 51,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.1.5\n (c) 2011, 2012 Kevin Malak... | src/lib/mixin-js-ref-count.coffee | kmalakoff/mixin | 14 | ###
mixin-js-ref-count.js 0.1.5
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.RefCount or= {}
Mixin.RefCount._mixin_info =
mixin_name: 'RefCount'
initialize: (release_callback) ->
... | 21007 | ###
mixin-js-ref-count.js 0.1.5
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.RefCount or= {}
Mixin.RefCount._mixin_info =
mixin_name: 'RefCount'
initialize: (release_callback) ->
Mixin.in... | true | ###
mixin-js-ref-count.js 0.1.5
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.RefCount or= {}
Mixin.RefCount._mixin_info =
mixin_name: 'RefCount'
initialize: (release_callback) -... |
[
{
"context": "ds:\n# hubot gos(ling)? me - Receive a programmer Ryan Gosling meme\n# hubot gos(ling)? bomb N - Receive N prog",
"end": 208,
"score": 0.6207062005996704,
"start": 196,
"tag": "NAME",
"value": "Ryan Gosling"
},
{
"context": " hubot gos(ling)? bomb N - Receive N pro... | src/scripts/gosling.coffee | Reelhouse/hubot-scripts | 9 | # Description:
# Pulls a random programmer Ryan Gosling image
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_TUMBLR_API_KEY
#
# Commands:
# hubot gos(ling)? me - Receive a programmer Ryan Gosling meme
# hubot gos(ling)? bomb N - Receive N programmer Ryan Gosling memes
#
# Author:
# jessedearing
api_ke... | 67931 | # Description:
# Pulls a random programmer Ryan Gosling image
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_TUMBLR_API_KEY
#
# Commands:
# hubot gos(ling)? me - Receive a programmer <NAME> meme
# hubot gos(ling)? bomb N - Receive N programmer R<NAME> Gosling memes
#
# Author:
# jessedearing
api_key =... | true | # Description:
# Pulls a random programmer Ryan Gosling image
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_TUMBLR_API_KEY
#
# Commands:
# hubot gos(ling)? me - Receive a programmer PI:NAME:<NAME>END_PI meme
# hubot gos(ling)? bomb N - Receive N programmer RPI:NAME:<NAME>END_PI Gosling memes
#
# Author:... |
[
{
"context": "\n deepEqual route.paramsFromPath(path), { name: 'Hello World', path }\n\ntest \"routes with optional segments sho",
"end": 6658,
"score": 0.9815789461135864,
"start": 6647,
"tag": "NAME",
"value": "Hello World"
}
] | tests/batman/routes/route_test.coffee | davidcornu/batman | 3 | QUnit.module "Batman.Route",
test "routes should match and dispatch", 3, ->
@route = new Batman.CallbackActionRoute "/why/where/what", {callback: spy = createSpy()}
ok @route.test "/why/where/what"
ok !@route.test "/when/how"
[path, params] = @route.pathAndParamsFromArgument "/why/where/what"
@route.dispat... | 151782 | QUnit.module "Batman.Route",
test "routes should match and dispatch", 3, ->
@route = new Batman.CallbackActionRoute "/why/where/what", {callback: spy = createSpy()}
ok @route.test "/why/where/what"
ok !@route.test "/when/how"
[path, params] = @route.pathAndParamsFromArgument "/why/where/what"
@route.dispat... | true | QUnit.module "Batman.Route",
test "routes should match and dispatch", 3, ->
@route = new Batman.CallbackActionRoute "/why/where/what", {callback: spy = createSpy()}
ok @route.test "/why/where/what"
ok !@route.test "/when/how"
[path, params] = @route.pathAndParamsFromArgument "/why/where/what"
@route.dispat... |
[
{
"context": "ic Quo Module\n\n@namespace Quo\n@class Ajax\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 79,
"score": 0.999849796295166,
"start": 58,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "e Quo\n@class Aj... | source/quo.ajax.coffee | TNT-RoX/QuoJS | 1 | ###
Basic Quo Module
@namespace Quo
@class Ajax
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json : "application/json"
xml : "application/xm... | 213462 | ###
Basic Quo Module
@namespace Quo
@class Ajax
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json : "application/json"
xml : "application/xml, text/xml"
html ... | true | ###
Basic Quo Module
@namespace Quo
@class Ajax
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json : "application/json"
xml : "applicat... |
[
{
"context": " '*.json' '!excluded/folder'\\n\\n\" +\n \"(C) 2012, Andrey Tarantsov -- https://github.com/andreyvit/pathspec.js\\n\\n\"\n",
"end": 801,
"score": 0.9998884797096252,
"start": 785,
"tag": "NAME",
"value": "Andrey Tarantsov"
},
{
"context": "\"(C) 2012, Andrey Tarants... | windows/backend/node_modules/livereload-core/node_modules/fsmonitor/node_modules/pathspec/lib/cli.coffee | Acidburn0zzz/LiveReload | 723 | Path = require 'path'
fs = require 'fs'
{ EventEmitter } = require 'events'
RelPathList = require './relpathlist'
TreeStream = require './treestream'
usage = ->
process.stderr.write "" +
"Similar to find(1), but uses pathspec.js for filtering.\n\n" +
"Usage: pathspec-find [-v|--verbose] /path/to/dir sp... | 202374 | Path = require 'path'
fs = require 'fs'
{ EventEmitter } = require 'events'
RelPathList = require './relpathlist'
TreeStream = require './treestream'
usage = ->
process.stderr.write "" +
"Similar to find(1), but uses pathspec.js for filtering.\n\n" +
"Usage: pathspec-find [-v|--verbose] /path/to/dir sp... | true | Path = require 'path'
fs = require 'fs'
{ EventEmitter } = require 'events'
RelPathList = require './relpathlist'
TreeStream = require './treestream'
usage = ->
process.stderr.write "" +
"Similar to find(1), but uses pathspec.js for filtering.\n\n" +
"Usage: pathspec-find [-v|--verbose] /path/to/dir sp... |
[
{
"context": "\n# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed)\n\nfs = require('",
"end": 35,
"score": 0.9998601675033569,
"start": 24,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed)\... | csv-import/node_modules/csv/test/buffer.coffee | codeforamerica/boston-scrapers | 1 |
# Test CSV - Copyright David Worms <open@adaltas.com> (MIT Licensed)
fs = require('fs')
assert = require('assert')
csv = require('csv')
module.exports =
'Buffer smaller than in': ->
csv()
.fromPath("#{__dirname}/buffer/smaller.in",
bufferSize: 1024
)
.toPath("#{__dirna... | 164784 |
# Test CSV - Copyright <NAME> <<EMAIL>> (MIT Licensed)
fs = require('fs')
assert = require('assert')
csv = require('csv')
module.exports =
'Buffer smaller than in': ->
csv()
.fromPath("#{__dirname}/buffer/smaller.in",
bufferSize: 1024
)
.toPath("#{__dirname}/buffer/sma... | true |
# Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (MIT Licensed)
fs = require('fs')
assert = require('assert')
csv = require('csv')
module.exports =
'Buffer smaller than in': ->
csv()
.fromPath("#{__dirname}/buffer/smaller.in",
bufferSize: 1024
)
.to... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998875856399536,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/common/wisiwyg.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 107786 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "##############################################\n#\n# Markus 1/23/2017\n#\n#####################################",
"end": 75,
"score": 0.9984375238418579,
"start": 69,
"tag": "NAME",
"value": "Markus"
},
{
"context": "\n\n\t\tuser =\n\t\t\temail: invitation.email\n\t\t\t... | server/methods/onboarding.coffee | MooqitaSFH/worklearn | 0 | ################################################################
#
# Markus 1/23/2017
#
################################################################
################################################################
Meteor.methods
onboard_organization: () ->
user = Meteor.user()
if not user
throw new Meteor.... | 55542 | ################################################################
#
# <NAME> 1/23/2017
#
################################################################
################################################################
Meteor.methods
onboard_organization: () ->
user = Meteor.user()
if not user
throw new Meteor.... | true | ################################################################
#
# PI:NAME:<NAME>END_PI 1/23/2017
#
################################################################
################################################################
Meteor.methods
onboard_organization: () ->
user = Meteor.user()
if not user
thr... |
[
{
"context": "rn unless @supermodel.finished()\n\n keys = (item.id for item in @items.models)\n itemMap = _.zipObj",
"end": 1972,
"score": 0.7941579818725586,
"start": 1970,
"tag": "KEY",
"value": "id"
}
] | app/views/game-menu/InventoryView.coffee | flowabuse/codecombat | 0 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
module.exports = class InventoryView extends CocoView
id: 'inventory... | 189808 | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
module.exports = class InventoryView extends CocoView
id: 'inventory... | true | CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/inventory-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
CocoCollection = require 'collections/CocoCollection'
ItemView = require './ItemView'
module.exports = class InventoryView extends CocoView
id: 'inventory... |
[
{
"context": "odelA\n table: 'CLASS_A'\n id:\n name: 'idA'\n column: 'A_ID'\n domain: domains.s",
"end": 5223,
"score": 0.9200849533081055,
"start": 5220,
"tag": "NAME",
"value": "idA"
},
{
"context": "odelG\n table: 'CLASS_G'\n id:\n name: 'id... | test/mapping.coffee | smbape/node-dblayer | 0 | _ = require 'lodash'
moment = require 'moment'
Backbone = require 'backbone'
mapping = exports
domains = {
serial:
type: 'increments'
short_label:
type: 'varchar'
type_args: [31]
medium_label:
type: 'varchar'
type_args: [63]
long_label:
type: 'varchar'
... | 158726 | _ = require 'lodash'
moment = require 'moment'
Backbone = require 'backbone'
mapping = exports
domains = {
serial:
type: 'increments'
short_label:
type: 'varchar'
type_args: [31]
medium_label:
type: 'varchar'
type_args: [63]
long_label:
type: 'varchar'
... | true | _ = require 'lodash'
moment = require 'moment'
Backbone = require 'backbone'
mapping = exports
domains = {
serial:
type: 'increments'
short_label:
type: 'varchar'
type_args: [31]
medium_label:
type: 'varchar'
type_args: [63]
long_label:
type: 'varchar'
... |
[
{
"context": " draggable part of the unit\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nDraggable =\n # default options\n Options:\n ",
"end": 75,
"score": 0.999887228012085,
"start": 58,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dnd/src/draggable.coffee | lovely-io/lovely.io-stl | 2 | #
# The draggable part of the unit
#
# Copyright (C) 2011 Nikolay Nemshilov
#
Draggable =
# default options
Options:
handle: null # a handle element that will start the drag
snap: 0 # a number in pixels or [x,y]
axis: null # null or 'x' or 'y' o... | 152839 | #
# The draggable part of the unit
#
# Copyright (C) 2011 <NAME>
#
Draggable =
# default options
Options:
handle: null # a handle element that will start the drag
snap: 0 # a number in pixels or [x,y]
axis: null # null or 'x' or 'y' or 'vertical... | true | #
# The draggable part of the unit
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
Draggable =
# default options
Options:
handle: null # a handle element that will start the drag
snap: 0 # a number in pixels or [x,y]
axis: null # null or 'x' or 'y... |
[
{
"context": "key: 'kbd-macro'\n\npatterns: [\n\n # Matches either the kbd or btn ",
"end": 15,
"score": 0.6324081420898438,
"start": 6,
"tag": "KEY",
"value": "kbd-macro"
}
] | grammars/repositories/inlines/kbd-macro-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'kbd-macro'
patterns: [
# Matches either the kbd or btn inline macro.
#
# Examples
#
# kbd:[F3]
# kbd:[Ctrl+Shift+T]
# kbd:[Ctrl+\]]
# kbd:[Ctrl,T]
# btn:[Save]
#
name: 'markup.macro.kbd.asciidoc'
match: '(?<!\\\\)(kbd|btn):(\\[)((?:\\\\\\]|[^\\]])+?)(\\])'
captures:
1: na... | 38067 | key: '<KEY>'
patterns: [
# Matches either the kbd or btn inline macro.
#
# Examples
#
# kbd:[F3]
# kbd:[Ctrl+Shift+T]
# kbd:[Ctrl+\]]
# kbd:[Ctrl,T]
# btn:[Save]
#
name: 'markup.macro.kbd.asciidoc'
match: '(?<!\\\\)(kbd|btn):(\\[)((?:\\\\\\]|[^\\]])+?)(\\])'
captures:
1: name: ... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches either the kbd or btn inline macro.
#
# Examples
#
# kbd:[F3]
# kbd:[Ctrl+Shift+T]
# kbd:[Ctrl+\]]
# kbd:[Ctrl,T]
# btn:[Save]
#
name: 'markup.macro.kbd.asciidoc'
match: '(?<!\\\\)(kbd|btn):(\\[)((?:\\\\\\]|[^\\]])+?)(\\])'
captures:
... |
[
{
"context": " stock price\n#\n# Author:\n# Symphony Integration by Vinay Mistry\nEntities = require('html-entities').XmlEntities\ne",
"end": 1065,
"score": 0.9998654723167419,
"start": 1053,
"tag": "NAME",
"value": "Vinay Mistry"
}
] | src/scripts/stock.coffee | Mohannrajk/Github-raj | 0 | #
#
#
# Copyright 2016 Symphony Communication Services, LLC
#
# Licensed to Symphony Communication Services, LLC under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under th... | 40018 | #
#
#
# Copyright 2016 Symphony Communication Services, LLC
#
# Licensed to Symphony Communication Services, LLC under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under th... | true | #
#
#
# Copyright 2016 Symphony Communication Services, LLC
#
# Licensed to Symphony Communication Services, LLC under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under th... |
[
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under",
"end": 23,
"score": 0.966882586479187,
"start": 17,
"tag": "NAME",
"value": "SASAKI"
},
{
"context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac",
... | test/test_raw_driver.coffee | erukiti/cerebrums | 7 | # Copyright 2015 SASAKI, Shunsuke. All rights reserved.
#
# 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 ... | 86859 | # Copyright 2015 <NAME>, <NAME>. All rights reserved.
#
# 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... | true | # Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved.
#
# 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 r... |
[
{
"context": "an.com/doita-f.html#top and originally compiled by Chris Morton.\n#\n# Author:\n# jenrzzz\n\n\nString.prototype.capit",
"end": 562,
"score": 0.9997608661651611,
"start": 550,
"tag": "NAME",
"value": "Chris Morton"
},
{
"context": "iginally compiled by Chris Morton.\n#... | src/scripts/do-it.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Ask hubot how people do it.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot how do <group/occupation> do it? -- tells you how they do it (e.g. hubot how do hackers do it?)
# hubot <people> do it <method> -- tells hubot how <people> do it (e.g. hubot GitHubbers do it i... | 15672 | # Description:
# Ask hubot how people do it.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot how do <group/occupation> do it? -- tells you how they do it (e.g. hubot how do hackers do it?)
# hubot <people> do it <method> -- tells hubot how <people> do it (e.g. hubot GitHubbers do it i... | true | # Description:
# Ask hubot how people do it.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot how do <group/occupation> do it? -- tells you how they do it (e.g. hubot how do hackers do it?)
# hubot <people> do it <method> -- tells hubot how <people> do it (e.g. hubot GitHubbers do it i... |
[
{
"context": " Copyright (c) <%= grunt.template.today(\"yyyy\") %> Gerasev Kirill | MIT License | Copyright (c) 2015 Gias Kay Lee |",
"end": 3709,
"score": 0.9997570514678955,
"start": 3695,
"tag": "NAME",
"value": "Gerasev Kirill"
},
{
"context": " Gerasev Kirill | MIT License | Cop... | Gruntfile.coffee | gerasev-kirill/angular-gdpr-storage | 0 | 'use strict'
module.exports = (grunt) ->
browsers = [
'Chrome'
#'PhantomJS'
#'Firefox'
]
if process.env.TRAVIS
browsers = [ 'PhantomJS' ]
jsTopWrapper = """
(function(root, factory) {
'use strict';
if (typeof define === 'function' && define.a... | 88084 | 'use strict'
module.exports = (grunt) ->
browsers = [
'Chrome'
#'PhantomJS'
#'Firefox'
]
if process.env.TRAVIS
browsers = [ 'PhantomJS' ]
jsTopWrapper = """
(function(root, factory) {
'use strict';
if (typeof define === 'function' && define.a... | true | 'use strict'
module.exports = (grunt) ->
browsers = [
'Chrome'
#'PhantomJS'
#'Firefox'
]
if process.env.TRAVIS
browsers = [ 'PhantomJS' ]
jsTopWrapper = """
(function(root, factory) {
'use strict';
if (typeof define === 'function' && define.a... |
[
{
"context": "ez/////Ke+vpgAAAK1JREFUSMft1sENhDAMBdFIrmBboAjuaWFrsNN/CRwAgUPsTAH556c5WVFKQyuLLYbZf/MLmDHW5yJmjHW5kBljPhczY8zlEmaMvXMZM8ZeuZQZY08uZzZh5dqen+XNhLFBbsiEsW9uzISxTy5gwlifi5gw1uVCJoz5XMyEMZdLmASs/s5NnkFl7M7NmDJ25aZMGTtzc6aMtcqYMtYqY8pYq4wpY60ypuvnsNizA+E6656TNMZlAAAAAElFTkSuQmCC\"\n\t\t\tlayer = new L... | test/tests/LayerTest.coffee | ig-la/Framer | 3,817 | assert = require "assert"
{expect} = require "chai"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should reset nested defaults", ->
Framer.Defaults.DeviceComponent.animationOptions.curve = "spring"... | 114432 | assert = require "assert"
{expect} = require "chai"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should reset nested defaults", ->
Framer.Defaults.DeviceComponent.animationOptions.curve = "spring"... | true | assert = require "assert"
{expect} = require "chai"
simulate = require "simulate"
describe "Layer", ->
# afterEach ->
# Utils.clearAll()
# beforeEach ->
# Framer.Utils.reset()
describe "Defaults", ->
it "should reset nested defaults", ->
Framer.Defaults.DeviceComponent.animationOptions.curve = "spring"... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.782916247844696,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\",... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/fj/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/fj_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"
... | 99476 | bcv_parser = require("../../js/fj_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/fj_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": " Date: 'Valuta'\n Payee: 'Sender / Empfänger'\n Category: 'Kategorie'\n Memo: 'Ver",
"end": 2012,
"score": 0.6664633750915527,
"start": 2006,
"tag": "NAME",
"value": "fänger"
}
] | app.coffee | PetePriority/ynab-csv | 0 | # see http://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file
# see http://stackoverflow.com/questions/18662404/download-lengthy-data-as-a-csv-file
angular.element(document).ready ->
angular.module('app', [])
angular.module("app").directive "fileread", [->
scope:
fi... | 182823 | # see http://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file
# see http://stackoverflow.com/questions/18662404/download-lengthy-data-as-a-csv-file
angular.element(document).ready ->
angular.module('app', [])
angular.module("app").directive "fileread", [->
scope:
fi... | true | # see http://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file
# see http://stackoverflow.com/questions/18662404/download-lengthy-data-as-a-csv-file
angular.element(document).ready ->
angular.module('app', [])
angular.module("app").directive "fileread", [->
scope:
fi... |
[
{
"context": ": process.env.ERROR_EMAIL_PWD\n\n\n send:(body, to='youqingkui@qq.com', subj='hi') ->\n transporter.sendMail\n fr",
"end": 244,
"score": 0.9999291896820068,
"start": 227,
"tag": "EMAIL",
"value": "youqingkui@qq.com"
},
{
"context": "bj='hi') ->\n transporter... | lib/email.coffee | youqingkui/fav-dailyzhihu2evernote | 0 | nodemailer = require('nodemailer')
module.exports = () ->
transporter = nodemailer.createTransport
service: 'QQ'
auth:
user: process.env.ERROR_EMAIL
pass: process.env.ERROR_EMAIL_PWD
send:(body, to='youqingkui@qq.com', subj='hi') ->
transporter.sendMail
from: 'youqingkui@qq.com'
... | 141357 | nodemailer = require('nodemailer')
module.exports = () ->
transporter = nodemailer.createTransport
service: 'QQ'
auth:
user: process.env.ERROR_EMAIL
pass: process.env.ERROR_EMAIL_PWD
send:(body, to='<EMAIL>', subj='hi') ->
transporter.sendMail
from: '<EMAIL>'
to: to
sub... | true | nodemailer = require('nodemailer')
module.exports = () ->
transporter = nodemailer.createTransport
service: 'QQ'
auth:
user: process.env.ERROR_EMAIL
pass: process.env.ERROR_EMAIL_PWD
send:(body, to='PI:EMAIL:<EMAIL>END_PI', subj='hi') ->
transporter.sendMail
from: 'PI:EMAIL:<EMAIL>... |
[
{
"context": "name\n logged_In = if req.body.username is 'user' or 'expired' then 0 else 1\n res.status(20",
"end": 753,
"score": 0.9832956194877625,
"start": 749,
"tag": "USERNAME",
"value": "user"
},
{
"context": "200).send { d: { Login_Status : logged_In,Token:'00000... | test/routes/routes.checks.coffee | TeamMentor/TM_Site | 0 | bodyParser = require 'body-parser'
express = require 'express'
request = require 'superagent'
supertest = require 'supertest'
cheerio = require 'cheerio'
config = require '../../src/config'
Express_Service = require '../../src/services/Express-Service'
describe '| routes |... | 213962 | bodyParser = require 'body-parser'
express = require 'express'
request = require 'superagent'
supertest = require 'supertest'
cheerio = require 'cheerio'
config = require '../../src/config'
Express_Service = require '../../src/services/Express-Service'
describe '| routes |... | true | bodyParser = require 'body-parser'
express = require 'express'
request = require 'superagent'
supertest = require 'supertest'
cheerio = require 'cheerio'
config = require '../../src/config'
Express_Service = require '../../src/services/Express-Service'
describe '| routes |... |
[
{
"context": "text.endTime\n # limit: 0 max\n # nextToken: 'STRING_VALUE'\n startFromHead: false\n\n debug \"pulling log s",
"end": 3215,
"score": 0.7485411763191223,
"start": 3203,
"tag": "PASSWORD",
"value": "STRING_VALUE"
},
{
"context": "Regex = /RequestId: ([a-z0-9\\-]... | packages/litexa-deploy-aws/src/logs.coffee | fboerncke/litexa | 1 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
AWS = require 'aws-sdk'
fs = require ... | 126079 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
AWS = require 'aws-sdk'
fs = require ... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
AWS = require 'aws-sdk'
fs = require ... |
[
{
"context": "\n\t\t\t'../User/UserGetter': @UserGetter\n\t\t@email = 'mock-email@bar.com'\n\t\t@user = _id: 'mock-user-id', email: 'mock-emai",
"end": 646,
"score": 0.9998874664306641,
"start": 628,
"tag": "EMAIL",
"value": "mock-email@bar.com"
},
{
"context": "l@bar.com'\n\t\t@user... | test/unit/coffee/UserMembership/UserMembershipViewModelTests.coffee | shyoshyo/web-sharelatex | 1 | chai = require('chai')
should = chai.should()
expect = require('chai').expect
sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
mongojs = require('mongojs')
ObjectId = mongojs.ObjectId
modulePath = "../../../../app/js/Features/UserMembership/UserMembershipViewM... | 36462 | chai = require('chai')
should = chai.should()
expect = require('chai').expect
sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
mongojs = require('mongojs')
ObjectId = mongojs.ObjectId
modulePath = "../../../../app/js/Features/UserMembership/UserMembershipViewM... | true | chai = require('chai')
should = chai.should()
expect = require('chai').expect
sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
mongojs = require('mongojs')
ObjectId = mongojs.ObjectId
modulePath = "../../../../app/js/Features/UserMembership/UserMembershipViewM... |
[
{
"context": "module.exports =\n description: '''\n Aardvarks are the last survivors of a group of prim",
"end": 41,
"score": 0.6282626986503601,
"start": 40,
"tag": "NAME",
"value": "A"
},
{
"context": "d a protractile tongue.\n '''\n\n scientificName: 'Orycteropus afer'\n ma... | app/lib/field-guide-content/aardvark.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
description: '''
Aardvarks are the last survivors of a group of primitive ungulates. They have a stocky body with thick skin that ranges in color from yellowish to pinkish and is sparsely covered with bristly hair. Aardvarks have short, powerful legs with sharp claws (four on the forefeet and fiv... | 210665 | module.exports =
description: '''
<NAME>ardvarks are the last survivors of a group of primitive ungulates. They have a stocky body with thick skin that ranges in color from yellowish to pinkish and is sparsely covered with bristly hair. Aardvarks have short, powerful legs with sharp claws (four on the forefeet an... | true | module.exports =
description: '''
PI:NAME:<NAME>END_PIardvarks are the last survivors of a group of primitive ungulates. They have a stocky body with thick skin that ranges in color from yellowish to pinkish and is sparsely covered with bristly hair. Aardvarks have short, powerful legs with sharp claws (four on t... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 883,
"score": 0.9889671206474304,
"start": 876,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/list/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### List
library TestSnippet version '1'
using QUICK
context Patient
define Three = 1 + 2
define IntList = { 9, 7... | 49242 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### List
library TestSnippet version '1'
using QUICK
context Patient
define Three = 1 + 2
define IntList = { 9, 7... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### List
library TestSnippet version '1'
using QUICK
context Patient
define Three = 1 + 2
define IntList = { 9, 7... |
[
{
"context": "d functions in other modules', ->\n\t\tsut.greeting('Marcus').should.equal 'Hello Marcus!'",
"end": 247,
"score": 0.9390271306037903,
"start": 241,
"tag": "NAME",
"value": "Marcus"
},
{
"context": "', ->\n\t\tsut.greeting('Marcus').should.equal 'Hello Marcus!'",
"en... | test/spec.coffee | echoabhishek/csv-to-json | 1 | sut = require '../src/index.coffee'
should = require 'should'
describe 'Writing Node with CoffeeScript', ->
it 'is easy to get started testing... or is it?', -> true
it 'can access exported functions in other modules', ->
sut.greeting('Marcus').should.equal 'Hello Marcus!' | 209391 | sut = require '../src/index.coffee'
should = require 'should'
describe 'Writing Node with CoffeeScript', ->
it 'is easy to get started testing... or is it?', -> true
it 'can access exported functions in other modules', ->
sut.greeting('<NAME>').should.equal 'Hello <NAME>!' | true | sut = require '../src/index.coffee'
should = require 'should'
describe 'Writing Node with CoffeeScript', ->
it 'is easy to get started testing... or is it?', -> true
it 'can access exported functions in other modules', ->
sut.greeting('PI:NAME:<NAME>END_PI').should.equal 'Hello PI:NAME:<NAME>END_PI!' |
[
{
"context": " object to auth user\n $rootScope.user = @user\n\n # template access to authenticat",
"end": 5133,
"score": 0.6778845191001892,
"start": 5133,
"tag": "USERNAME",
"value": ""
},
{
"context": "->\n c = undefined\n key = 'curre... | src/ng-token-auth.coffee | heysailor/ng-token-auth-local-oauth | 2 | if typeof module != 'undefined' and typeof exports != 'undefined' and module.exports == exports
module.exports = 'ng-token-auth'
angular.module('ng-token-auth', ['ipCookie'])
.provider('$auth', ->
configs =
default:
apiUrl: '/api'
signOutUrl: '/auth/sign_out'... | 196840 | if typeof module != 'undefined' and typeof exports != 'undefined' and module.exports == exports
module.exports = 'ng-token-auth'
angular.module('ng-token-auth', ['ipCookie'])
.provider('$auth', ->
configs =
default:
apiUrl: '/api'
signOutUrl: '/auth/sign_out'... | true | if typeof module != 'undefined' and typeof exports != 'undefined' and module.exports == exports
module.exports = 'ng-token-auth'
angular.module('ng-token-auth', ['ipCookie'])
.provider('$auth', ->
configs =
default:
apiUrl: '/api'
signOutUrl: '/auth/sign_out'... |
[
{
"context": "pe: dev.device_type\n\t\t\t\tdeviceId: dev.id\n\t\t\t\tname: dev.name\n\t\t\t\tstatus: dev.status\n\t\t\t}\n\t\t\tdb.models('depende",
"end": 3219,
"score": 0.6559959053993225,
"start": 3211,
"tag": "NAME",
"value": "dev.name"
}
] | src/proxyvisor.coffee | metamorfoso/balena-supervisor | 0 | Promise = require 'bluebird'
_ = require 'lodash'
express = require 'express'
fs = Promise.promisifyAll require 'fs'
{ request } = require './lib/request'
constants = require './lib/constants'
{ checkInt, validStringOrUndefined, validObjectOrUndefined } = require './lib/validation'
path = require 'path'
mkdirp = Promis... | 28782 | Promise = require 'bluebird'
_ = require 'lodash'
express = require 'express'
fs = Promise.promisifyAll require 'fs'
{ request } = require './lib/request'
constants = require './lib/constants'
{ checkInt, validStringOrUndefined, validObjectOrUndefined } = require './lib/validation'
path = require 'path'
mkdirp = Promis... | true | Promise = require 'bluebird'
_ = require 'lodash'
express = require 'express'
fs = Promise.promisifyAll require 'fs'
{ request } = require './lib/request'
constants = require './lib/constants'
{ checkInt, validStringOrUndefined, validObjectOrUndefined } = require './lib/validation'
path = require 'path'
mkdirp = Promis... |
[
{
"context": "/memecaptain.com/\n# API Docs at:\n# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_",
"end": 94,
"score": 0.9404478669166565,
"start": 91,
"tag": "USERNAME",
"value": "mmb"
},
{
"context": "offee\"`\n#\n# Dependencies:\n# None\n#\n# Author:\n# ... | node_modules/hubot-meme/src/lib/memecaptain.coffee | edwardfernando/jualobot | 0 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# This is a library file which can be used to interact with the memecaptian api in third-party hubot modules.
# See the meme.coffee script for an example of how to b... | 167609 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# This is a library file which can be used to interact with the memecaptian api in third-party hubot modules.
# See the meme.coffee script for an example of how to b... | true | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# This is a library file which can be used to interact with the memecaptian api in third-party hubot modules.
# See the meme.coffee script for an example of how to b... |
[
{
"context": "products = [\n { name: \"one\" }\n { name: \"two\" }\n ]\n productProvider = new ProductProvide",
"end": 215,
"score": 0.9928445219993591,
"start": 212,
"tag": "NAME",
"value": "two"
},
{
"context": " (done) ->\n productProvider.save [{ name: \"th... | server/test/product_provider_spec.coffee | lucassus/angular-coffee-seed | 2 | expect = require("chai").expect
ProductProvider = require("../lib/product_provider")
describe "ProductProvider", ->
productProvider = null
beforeEach ->
products = [
{ name: "one" }
{ name: "two" }
]
productProvider = new ProductProvider(products)
describe "a new instance", ->
it "s... | 164519 | expect = require("chai").expect
ProductProvider = require("../lib/product_provider")
describe "ProductProvider", ->
productProvider = null
beforeEach ->
products = [
{ name: "one" }
{ name: "<NAME>" }
]
productProvider = new ProductProvider(products)
describe "a new instance", ->
it... | true | expect = require("chai").expect
ProductProvider = require("../lib/product_provider")
describe "ProductProvider", ->
productProvider = null
beforeEach ->
products = [
{ name: "one" }
{ name: "PI:NAME:<NAME>END_PI" }
]
productProvider = new ProductProvider(products)
describe "a new instanc... |
[
{
"context": "share.api_key_MARTA = 'fbb6c5f7-89f2-4c60-9f97-23aa379914b8'\n",
"end": 59,
"score": 0.9997475147247314,
"start": 23,
"tag": "KEY",
"value": "fbb6c5f7-89f2-4c60-9f97-23aa379914b8"
}
] | server/apikey.coffee | CyCoreSystems/transport | 0 | share.api_key_MARTA = 'fbb6c5f7-89f2-4c60-9f97-23aa379914b8'
| 145252 | share.api_key_MARTA = '<KEY>'
| true | share.api_key_MARTA = 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "here is no \"#tag\" in the URL.\n defaultToken: '!info'\n\n viewportId: 'viewport'\n\n uses: ['Ext.win",
"end": 500,
"score": 0.7208773493766785,
"start": 496,
"tag": "KEY",
"value": "info"
}
] | sencha/apps/cloud/coffee/app/Application.coffee | liverbool/c.com | 0 | ###
The main application class. An instance of this class is created by app.js when it calls
Ext.application(). This is the ideal place to handle application launch and initialization
details.
###
MAGICE_URL = 'http://c.com/web';
sprintf = _.string.sprintf
vsprintf = _.string.vsprintf
endsWith = _.string.endsWith
... | 168120 | ###
The main application class. An instance of this class is created by app.js when it calls
Ext.application(). This is the ideal place to handle application launch and initialization
details.
###
MAGICE_URL = 'http://c.com/web';
sprintf = _.string.sprintf
vsprintf = _.string.vsprintf
endsWith = _.string.endsWith
... | true | ###
The main application class. An instance of this class is created by app.js when it calls
Ext.application(). This is the ideal place to handle application launch and initialization
details.
###
MAGICE_URL = 'http://c.com/web';
sprintf = _.string.sprintf
vsprintf = _.string.vsprintf
endsWith = _.string.endsWith
... |
[
{
"context": "ies of npm projects.\n@class MyDependencies\n@author Jan Sanchez\n###\n\n\n###\n# Module dependencies.\n###\n\nchalk ",
"end": 80,
"score": 0.9998698830604553,
"start": 69,
"tag": "NAME",
"value": "Jan Sanchez"
}
] | source/coffee/package/lib/mydependencies.coffee | jansanchez/mydependencies | 11 | ###
List dependencies of npm projects.
@class MyDependencies
@author Jan Sanchez
###
###
# Module dependencies.
###
chalk = require('chalk')
fs = require('fs')
###
# Library.
###
MyDependencies = (opts) ->
options = {
namesOfMyDependencies: ['devDependencies', 'dependencies', 'peerDependencies',... | 56956 | ###
List dependencies of npm projects.
@class MyDependencies
@author <NAME>
###
###
# Module dependencies.
###
chalk = require('chalk')
fs = require('fs')
###
# Library.
###
MyDependencies = (opts) ->
options = {
namesOfMyDependencies: ['devDependencies', 'dependencies', 'peerDependencies', 'bun... | true | ###
List dependencies of npm projects.
@class MyDependencies
@author PI:NAME:<NAME>END_PI
###
###
# Module dependencies.
###
chalk = require('chalk')
fs = require('fs')
###
# Library.
###
MyDependencies = (opts) ->
options = {
namesOfMyDependencies: ['devDependencies', 'dependencies', 'peerDepen... |
[
{
"context": "ge.event == 'message'\n author =\n name: @userForId(message.user).name\n flow: message.flo",
"end": 528,
"score": 0.687818169593811,
"start": 523,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "v.HUBOT_FLOWDOCK_LOGIN_EMAIL\n @login_password =... | src/adapters/flowdock.coffee | cityindex/le-bott | 0 | Robot = require('../robot')
Adapter = require('../adapter')
flowdock = require "flowdock"
class Flowdock extends Adapter
send: (user, strings...) ->
@bot.message user.flow, str for str in strings
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
connect: -... | 5389 | Robot = require('../robot')
Adapter = require('../adapter')
flowdock = require "flowdock"
class Flowdock extends Adapter
send: (user, strings...) ->
@bot.message user.flow, str for str in strings
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
connect: -... | true | Robot = require('../robot')
Adapter = require('../adapter')
flowdock = require "flowdock"
class Flowdock extends Adapter
send: (user, strings...) ->
@bot.message user.flow, str for str in strings
reply: (user, strings...) ->
strings.forEach (str) =>
@send user, "#{user.name}: #{str}"
connect: -... |
[
{
"context": "###\nSimply Deferred - v.1.1.4\n(c) 2012 Sudhir Jonathan, contact.me@sudhirjonathan.com, MIT Licensed.\nPor",
"end": 54,
"score": 0.9998694658279419,
"start": 39,
"tag": "NAME",
"value": "Sudhir Jonathan"
},
{
"context": "imply Deferred - v.1.1.4\n(c) 2012 Sudhir Jonath... | deferred.coffee | therabidbanana/simply-deferred | 1 | ###
Simply Deferred - v.1.1.4
(c) 2012 Sudhir Jonathan, contact.me@sudhirjonathan.com, MIT Licensed.
Portions of this code are inspired and borrowed from Underscore.js (http://underscorejs.org/) (MIT License)
###
PENDING = "pending"
RESOLVED = "resolved"
REJECTED = "rejected"
has = (obj, prop) -> obj?.hasOwnProperty ... | 61365 | ###
Simply Deferred - v.1.1.4
(c) 2012 <NAME>, <EMAIL>, MIT Licensed.
Portions of this code are inspired and borrowed from Underscore.js (http://underscorejs.org/) (MIT License)
###
PENDING = "pending"
RESOLVED = "resolved"
REJECTED = "rejected"
has = (obj, prop) -> obj?.hasOwnProperty prop
isArguments = (obj) -> ret... | true | ###
Simply Deferred - v.1.1.4
(c) 2012 PI:NAME:<NAME>END_PI, PI:EMAIL:<EMAIL>END_PI, MIT Licensed.
Portions of this code are inspired and borrowed from Underscore.js (http://underscorejs.org/) (MIT License)
###
PENDING = "pending"
RESOLVED = "resolved"
REJECTED = "rejected"
has = (obj, prop) -> obj?.hasOwnProperty pr... |
[
{
"context": "###\n# Copyright (c) 2017 Brent Bessemer. All rights reserved.\n#\n# Permission is hereby gr",
"end": 39,
"score": 0.9998510479927063,
"start": 25,
"tag": "NAME",
"value": "Brent Bessemer"
},
{
"context": "HER DEALINGS\n# IN THE SOFTWARE.\n###\n\n###\n# @author Brent Be... | src/serializer.coffee | thestartcup/jsonc | 0 | ###
# Copyright (c) 2017 Brent Bessemer. All rights reserved.
#
# 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, mo... | 59250 | ###
# Copyright (c) 2017 <NAME>. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, me... | true | ###
# Copyright (c) 2017 PI:NAME:<NAME>END_PI. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, co... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998671412467957,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/bar_chart.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 113127 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "UFFS\n CDN = @game.cdn\n # SPRITES\n key = 'atlas'\n texture_url = \"#{CDN}images/atlas.png\"\n a",
"end": 178,
"score": 0.9974468350410461,
"start": 173,
"tag": "KEY",
"value": "atlas"
}
] | src/coffeescripts/game/states/preload.coffee | rongierlach/gunfight-game | 0 | class Preload
constructor: ->
preload: ->
@load.crossOrigin = @game.hosturl unless @game.cdn is '/'
# LOAD STUFFS
CDN = @game.cdn
# SPRITES
key = 'atlas'
texture_url = "#{CDN}images/atlas.png"
atlas_data = require '../constants/atlas.coffee'
@load.atlasJSONHash key, texture_url, nu... | 65644 | class Preload
constructor: ->
preload: ->
@load.crossOrigin = @game.hosturl unless @game.cdn is '/'
# LOAD STUFFS
CDN = @game.cdn
# SPRITES
key = '<KEY>'
texture_url = "#{CDN}images/atlas.png"
atlas_data = require '../constants/atlas.coffee'
@load.atlasJSONHash key, texture_url, nu... | true | class Preload
constructor: ->
preload: ->
@load.crossOrigin = @game.hosturl unless @game.cdn is '/'
# LOAD STUFFS
CDN = @game.cdn
# SPRITES
key = 'PI:KEY:<KEY>END_PI'
texture_url = "#{CDN}images/atlas.png"
atlas_data = require '../constants/atlas.coffee'
@load.atlasJSONHash key, te... |
[
{
"context": "tring = @tabString\n\n\t\t@analytics = new Analytics \"188.166.153.254\", 13337\n\n\tcomplete: ->\n\t\t@completeHandler.complet",
"end": 787,
"score": 0.9997342228889465,
"start": 772,
"tag": "IP_ADDRESS",
"value": "188.166.153.254"
}
] | lib/class-complete.coffee | noahbki/class-complete | 2 |
CompleteHandler = require "./complete-handler.coffee"
Analytics = require "./analytics.coffee"
class Complete
constructor: ->
@completeHandler = new CompleteHandler
@tabString = "\t";
tabLength = atom.config.get("editor.tabLength")
if atom.config.get("editor.tabType") != "hard"
@tabString = ""
i = 0
... | 169507 |
CompleteHandler = require "./complete-handler.coffee"
Analytics = require "./analytics.coffee"
class Complete
constructor: ->
@completeHandler = new CompleteHandler
@tabString = "\t";
tabLength = atom.config.get("editor.tabLength")
if atom.config.get("editor.tabType") != "hard"
@tabString = ""
i = 0
... | true |
CompleteHandler = require "./complete-handler.coffee"
Analytics = require "./analytics.coffee"
class Complete
constructor: ->
@completeHandler = new CompleteHandler
@tabString = "\t";
tabLength = atom.config.get("editor.tabLength")
if atom.config.get("editor.tabType") != "hard"
@tabString = ""
i = 0
... |
[
{
"context": " method = {value: option.value, key: option.id, label: \"Email \"+mask.nodeValue}\n\n tmp.i",
"end": 2978,
"score": 0.8254462480545044,
"start": 2976,
"tag": "KEY",
"value": "id"
},
{
"context": "end you the Identification Code?\"\n key: \"ident... | application/chrome/content/wesabe/fi-scripts/com/chase/identification.coffee | wesabe/ssu | 28 | wesabe.provide 'fi-scripts.com.chase.identification',
dispatch: ->
if page.present e.identification.error.noIdentificationCode
delete answers.identificationCode
log.error "Given an identification code when there is none for the account, falling back to getting a new one"
if page.present e.identif... | 215464 | wesabe.provide 'fi-scripts.com.chase.identification',
dispatch: ->
if page.present e.identification.error.noIdentificationCode
delete answers.identificationCode
log.error "Given an identification code when there is none for the account, falling back to getting a new one"
if page.present e.identif... | true | wesabe.provide 'fi-scripts.com.chase.identification',
dispatch: ->
if page.present e.identification.error.noIdentificationCode
delete answers.identificationCode
log.error "Given an identification code when there is none for the account, falling back to getting a new one"
if page.present e.identif... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991677403450012,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zerolengthbufferbug.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 103196 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998871684074402,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/taskboard/main.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 6102 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " handler = remote.createFunctionWithReturnValue 'valar morghulis'\n protocol.registerProtocol 'atom-string', h",
"end": 1255,
"score": 0.9911267757415771,
"start": 1240,
"tag": "NAME",
"value": "valar morghulis"
},
{
"context": "gJob should send string', (done) ->... | spec/api-protocol-spec.coffee | fireball-x/atom-shell | 4 | assert = require 'assert'
ipc = require 'ipc'
path = require 'path'
remote = require 'remote'
protocol = remote.require 'protocol'
describe 'protocol module', ->
describe 'protocol.registerProtocol', ->
it 'throws error when scheme is already registered', (done) ->
register = -> protocol.regis... | 82783 | assert = require 'assert'
ipc = require 'ipc'
path = require 'path'
remote = require 'remote'
protocol = remote.require 'protocol'
describe 'protocol module', ->
describe 'protocol.registerProtocol', ->
it 'throws error when scheme is already registered', (done) ->
register = -> protocol.regis... | true | assert = require 'assert'
ipc = require 'ipc'
path = require 'path'
remote = require 'remote'
protocol = remote.require 'protocol'
describe 'protocol module', ->
describe 'protocol.registerProtocol', ->
it 'throws error when scheme is already registered', (done) ->
register = -> protocol.regis... |
[
{
"context": "s.opt 'header', 'Add a new header', default: 'X-Shakespeare'\n\n expect(_.has @opts.getShortOpts(), 'a').t",
"end": 1863,
"score": 0.988172709941864,
"start": 1854,
"tag": "NAME",
"value": "akespeare"
}
] | spec/options.spec.coffee | relistan/troll-opt | 2 | Options = require('../src/troll').Options
_ = require('underscore')
describe 'Options', ->
describe 'without a shorthand defined', ->
beforeEach ->
@opts = new Options()
@opts.opt 'header', 'Add a new header', default: 'X-Shakespeare'
it 'finds the correct shorthand option flag', ->
exp... | 169425 | Options = require('../src/troll').Options
_ = require('underscore')
describe 'Options', ->
describe 'without a shorthand defined', ->
beforeEach ->
@opts = new Options()
@opts.opt 'header', 'Add a new header', default: 'X-Shakespeare'
it 'finds the correct shorthand option flag', ->
exp... | true | Options = require('../src/troll').Options
_ = require('underscore')
describe 'Options', ->
describe 'without a shorthand defined', ->
beforeEach ->
@opts = new Options()
@opts.opt 'header', 'Add a new header', default: 'X-Shakespeare'
it 'finds the correct shorthand option flag', ->
exp... |
[
{
"context": "ototype.addEdge = ( edge ) ->\n\t\tkey = edge.from['_nid']\n\t\tunless key of @edges\n\t\t\t@edges[key] = []\n\t\t@e",
"end": 911,
"score": 0.7402870059013367,
"start": 908,
"tag": "KEY",
"value": "nid"
},
{
"context": "{}\n\t\t\topen = [@start]\n\t\t\tfrom = {}\n\n\t\t... | coffeescript/Graphs.coffee | AndersDJohnson/pathfinder-demo | 2 | if typeof @define isnt 'function'
@define = require('amdefine')(module)
@define( (require) ->
Edge = ( from = null, to = null, cost = 1 ) ->
@from = from
@to = to
#@cost = cost
@
Node = ( name = '', cost = 1, x = NaN, y = NaN ) ->
@name = name
@visited = false
@x = x
@y = y
@cost = cost
@
... | 224429 | if typeof @define isnt 'function'
@define = require('amdefine')(module)
@define( (require) ->
Edge = ( from = null, to = null, cost = 1 ) ->
@from = from
@to = to
#@cost = cost
@
Node = ( name = '', cost = 1, x = NaN, y = NaN ) ->
@name = name
@visited = false
@x = x
@y = y
@cost = cost
@
... | true | if typeof @define isnt 'function'
@define = require('amdefine')(module)
@define( (require) ->
Edge = ( from = null, to = null, cost = 1 ) ->
@from = from
@to = to
#@cost = cost
@
Node = ( name = '', cost = 1, x = NaN, y = NaN ) ->
@name = name
@visited = false
@x = x
@y = y
@cost = cost
@
... |
[
{
"context": "ger\n\n\t\t@stubbedUser = \n\t\t\t_id: \"3131231\"\n\t\t\tname:\"bob\"\n\t\t\temail:\"hello@world.com\"\n\t\t@newEmail = \"bob@bo",
"end": 1377,
"score": 0.7357831597328186,
"start": 1374,
"tag": "USERNAME",
"value": "bob"
},
{
"context": "User = \n\t\t\t_id: \"3131231\... | test/unit/coffee/User/UserUpdaterTests.coffee | shyoshyo/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserUpdater"
expect = require("chai").expect
tk = require('timekeeper')
describe "UserUpdater", ... | 168170 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserUpdater"
expect = require("chai").expect
tk = require('timekeeper')
describe "UserUpdater", ... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserUpdater"
expect = require("chai").expect
tk = require('timekeeper')
describe "UserUpdater", ... |
[
{
"context": "w Color('#05d'))\n numbers.setText('0123456789 david@burodepeper.nl')\n # numbers.enableBoundingBox('#05d')\n\n ",
"end": 1830,
"score": 0.999893069267273,
"start": 1810,
"tag": "EMAIL",
"value": "david@burodepeper.nl"
}
] | examples/04-lines/js/src/App.coffee | burodepeper/diesel-engine | 2 | App =
init: ->
settings =
viewport:
width: 480
height: 270
if Engine.init(settings)
# Clock in top right corner
@clock = new Clock()
@clock.setCSS({ top:5, left:5, width:59, height:59 })
# Draw some rectangular overlapping shapes as a test
red = new Col... | 63039 | App =
init: ->
settings =
viewport:
width: 480
height: 270
if Engine.init(settings)
# Clock in top right corner
@clock = new Clock()
@clock.setCSS({ top:5, left:5, width:59, height:59 })
# Draw some rectangular overlapping shapes as a test
red = new Col... | true | App =
init: ->
settings =
viewport:
width: 480
height: 270
if Engine.init(settings)
# Clock in top right corner
@clock = new Clock()
@clock.setCSS({ top:5, left:5, width:59, height:59 })
# Draw some rectangular overlapping shapes as a test
red = new Col... |
[
{
"context": "stPageChecked = null\n @_tokenKey: () ->\n 'csrf_token_' + location.href\n\n @_old = false\n\n @_checkPage",
"end": 145,
"score": 0.7233849763870239,
"start": 140,
"tag": "KEY",
"value": "token"
}
] | app/assets/javascripts/conservative_etags.coffee | tylergannon/conservative_etags | 0 | class ConservativeEtags
@_checked: () ->
@_lastPageChecked == location.href
@_lastPageChecked = null
@_tokenKey: () ->
'csrf_token_' + location.href
@_old = false
@_checkPage: ->
unless @_checked()
window.new_csrf_token = $('meta[name=csrf-token]').attr('content')
window.old_csrf_to... | 41892 | class ConservativeEtags
@_checked: () ->
@_lastPageChecked == location.href
@_lastPageChecked = null
@_tokenKey: () ->
'csrf_<KEY>_' + location.href
@_old = false
@_checkPage: ->
unless @_checked()
window.new_csrf_token = $('meta[name=csrf-token]').attr('content')
window.old_csrf_to... | true | class ConservativeEtags
@_checked: () ->
@_lastPageChecked == location.href
@_lastPageChecked = null
@_tokenKey: () ->
'csrf_PI:KEY:<KEY>END_PI_' + location.href
@_old = false
@_checkPage: ->
unless @_checked()
window.new_csrf_token = $('meta[name=csrf-token]').attr('content')
windo... |
[
{
"context": "swordConfirmation = ev.target.value\n password = @state.formData.password\n if passwordConfirmation.length >= password.le",
"end": 776,
"score": 0.9746448397636414,
"start": 752,
"tag": "PASSWORD",
"value": "@state.formData.password"
}
] | app/views/components/user/SignUp.coffee | Kenspeckled/skillGiving | 0 | BaseLayout = require 'views/layouts/base.coffee'
User = require 'models/User.coffee'
{div, label, input, form, button} = React.DOM
UserSignUp = React.createClass
displayName: 'UserSignUp'
getInitialState: ->
formData: {}
passwordConfirmationIsValid: ''
handleSubmit: (ev) ->
ev.preventDefault()
... | 19677 | BaseLayout = require 'views/layouts/base.coffee'
User = require 'models/User.coffee'
{div, label, input, form, button} = React.DOM
UserSignUp = React.createClass
displayName: 'UserSignUp'
getInitialState: ->
formData: {}
passwordConfirmationIsValid: ''
handleSubmit: (ev) ->
ev.preventDefault()
... | true | BaseLayout = require 'views/layouts/base.coffee'
User = require 'models/User.coffee'
{div, label, input, form, button} = React.DOM
UserSignUp = React.createClass
displayName: 'UserSignUp'
getInitialState: ->
formData: {}
passwordConfirmationIsValid: ''
handleSubmit: (ev) ->
ev.preventDefault()
... |
[
{
"context": "nt key\n obj[key]\n\nexports.info = ->\n name: \"Aldi\"\n tag: \"shop-aldi\"\n\nexports.scrape = (opts={stor",
"end": 318,
"score": 0.9951592683792114,
"start": 314,
"tag": "NAME",
"value": "Aldi"
}
] | src/scrapers/aldi/index.coffee | 1egoman/cena_app | 0 | cheerio = require "cheerio"
request = require "request"
async = require "async"
_ = require "underscore"
# turn the crap jquery returns into a usable response
# I know, it's a dirty hack
makeArray = (obj) ->
_.compact Object.keys(obj).map (key) ->
if parseInt key
obj[key]
exports.info = ->
name: "Aldi"
... | 219213 | cheerio = require "cheerio"
request = require "request"
async = require "async"
_ = require "underscore"
# turn the crap jquery returns into a usable response
# I know, it's a dirty hack
makeArray = (obj) ->
_.compact Object.keys(obj).map (key) ->
if parseInt key
obj[key]
exports.info = ->
name: "<NAME>... | true | cheerio = require "cheerio"
request = require "request"
async = require "async"
_ = require "underscore"
# turn the crap jquery returns into a usable response
# I know, it's a dirty hack
makeArray = (obj) ->
_.compact Object.keys(obj).map (key) ->
if parseInt key
obj[key]
exports.info = ->
name: "PI:NAM... |
[
{
"context": "hly sexually dimorphic.\n '''\n\n scientificName: 'Papio cynocephalus'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 528,
"score": 0.9987218379974365,
"start": 510,
"tag": "NAME",
"value": "Papio cynocephalus"
}
] | app/lib/field-guide-content/baboon.coffee | zooniverse/snapshot-wisconsin | 0 | module.exports =
description: '''
Yellow baboons are aptly named for the yellow-brown fur that covers most of their bodies. The underside of yellow baboons is white, and their face, ears, hands, feet, and posterior appear purplish-black in color and are free of fur. Like other baboons, yellow baboons have doglike... | 140139 | module.exports =
description: '''
Yellow baboons are aptly named for the yellow-brown fur that covers most of their bodies. The underside of yellow baboons is white, and their face, ears, hands, feet, and posterior appear purplish-black in color and are free of fur. Like other baboons, yellow baboons have doglike... | true | module.exports =
description: '''
Yellow baboons are aptly named for the yellow-brown fur that covers most of their bodies. The underside of yellow baboons is white, and their face, ears, hands, feet, and posterior appear purplish-black in color and are free of fur. Like other baboons, yellow baboons have doglike... |
[
{
"context": "\"collection\": \"user\"\n \"username\": $(\"[name=admin-username]\").val()\n \"password\": $(\"[name=admin-passw",
"end": 2802,
"score": 0.8893659114837646,
"start": 2788,
"tag": "USERNAME",
"value": "admin-username"
},
{
"context": "name=admin-username]\... | _attachments/app.coffee | ICTatRTI/coconut-factory | 0 | class Router extends Backbone.Router
routes:
"": "default"
default: ->
(Coconut.defaultView ?= new DefaultView()).render()
startApp: ->
Backbone.history.start()
class DefaultView extends Backbone.View
el: '#content'
events:
"click #create": "create"
"keyup [name='config-title']": "upd... | 135016 | class Router extends Backbone.Router
routes:
"": "default"
default: ->
(Coconut.defaultView ?= new DefaultView()).render()
startApp: ->
Backbone.history.start()
class DefaultView extends Backbone.View
el: '#content'
events:
"click #create": "create"
"keyup [name='config-title']": "upd... | true | class Router extends Backbone.Router
routes:
"": "default"
default: ->
(Coconut.defaultView ?= new DefaultView()).render()
startApp: ->
Backbone.history.start()
class DefaultView extends Backbone.View
el: '#content'
events:
"click #create": "create"
"keyup [name='config-title']": "upd... |
[
{
"context": " on script level\n# Inspider by https://github.com/miyagawa/hubot-cron\n\n# @author Pavel Vanecek <pavel.vanece",
"end": 90,
"score": 0.9969865083694458,
"start": 82,
"tag": "USERNAME",
"value": "miyagawa"
},
{
"context": " https://github.com/miyagawa/hubot-cron\n\n# @a... | node_modules/hubot-cronjob/src/cronjob.coffee | mikelovskij/sauron2 | 0 | # Allows you to create cron jobs on script level
# Inspider by https://github.com/miyagawa/hubot-cron
# @author Pavel Vanecek <pavel.vanecek@merck.com>
{ CronJob } = require 'cron'
class HubotCron
constructor: (@pattern, @timezone, @fn, @context = global) ->
@cronjob = new CronJob(
@pattern
@onTic... | 21271 | # Allows you to create cron jobs on script level
# Inspider by https://github.com/miyagawa/hubot-cron
# @author <NAME> <<EMAIL>>
{ CronJob } = require 'cron'
class HubotCron
constructor: (@pattern, @timezone, @fn, @context = global) ->
@cronjob = new CronJob(
@pattern
@onTick.bind(this)
null... | true | # Allows you to create cron jobs on script level
# Inspider by https://github.com/miyagawa/hubot-cron
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
{ CronJob } = require 'cron'
class HubotCron
constructor: (@pattern, @timezone, @fn, @context = global) ->
@cronjob = new CronJob(
@pattern
... |
[
{
"context": "': 'Lu'\n '\\ud835\\udeb8': 'Lu'\n '\\ud835\\udeb9': 'Lu'\n '\\ud835\\udeba': 'Lu'\n '\\ud835\\udebb': 'Lu'\n ",
"end": 338819,
"score": 0.7531304955482483,
"start": 338817,
"tag": "NAME",
"value": "Lu"
}
] | minitests/charclass.coffee | edwinksl/zotero-better-bibtex | 0 | CharClass =
'\u0030': 'N'
'\u0031': 'N'
'\u0032': 'N'
'\u0033': 'N'
'\u0034': 'N'
'\u0035': 'N'
'\u0036': 'N'
'\u0037': 'N'
'\u0038': 'N'
'\u0039': 'N'
'\u0041': 'Lu'
'\u0042': 'Lu'
'\u0043': 'Lu'
'\u0044': 'Lu'
'\u0045': 'Lu'
'\u0046': 'Lu'
'\u0047': 'Lu'
'\u0048': 'Lu'
'\u0049': ... | 186647 | CharClass =
'\u0030': 'N'
'\u0031': 'N'
'\u0032': 'N'
'\u0033': 'N'
'\u0034': 'N'
'\u0035': 'N'
'\u0036': 'N'
'\u0037': 'N'
'\u0038': 'N'
'\u0039': 'N'
'\u0041': 'Lu'
'\u0042': 'Lu'
'\u0043': 'Lu'
'\u0044': 'Lu'
'\u0045': 'Lu'
'\u0046': 'Lu'
'\u0047': 'Lu'
'\u0048': 'Lu'
'\u0049': ... | true | CharClass =
'\u0030': 'N'
'\u0031': 'N'
'\u0032': 'N'
'\u0033': 'N'
'\u0034': 'N'
'\u0035': 'N'
'\u0036': 'N'
'\u0037': 'N'
'\u0038': 'N'
'\u0039': 'N'
'\u0041': 'Lu'
'\u0042': 'Lu'
'\u0043': 'Lu'
'\u0044': 'Lu'
'\u0045': 'Lu'
'\u0046': 'Lu'
'\u0047': 'Lu'
'\u0048': 'Lu'
'\u0049': ... |
[
{
"context": "recaptchaPublicKey = \"6LcVUwkTAAAAAHZed22DXWfp5KDOiM1ry9yPK0u6\"\n\nreloadCaptcha = ->\n apiCall \"GET\", \"/api/user/",
"end": 62,
"score": 0.9997237324714661,
"start": 22,
"tag": "KEY",
"value": "6LcVUwkTAAAAAHZed22DXWfp5KDOiM1ry9yPK0u6"
}
] | web/coffee/registration.coffee | IceCTF/ctf-platform | 10 | recaptchaPublicKey = "6LcVUwkTAAAAAHZed22DXWfp5KDOiM1ry9yPK0u6"
reloadCaptcha = ->
apiCall "GET", "/api/user/status", {}
.done (data) ->
console.log(data.data.enable_captcha)
if data.data.enable_captcha
grecaptcha.reset("captcha")
ga('send', 'event', 'Registration', 'NewCaptcha')
window.initCa... | 32208 | recaptchaPublicKey = "<KEY>"
reloadCaptcha = ->
apiCall "GET", "/api/user/status", {}
.done (data) ->
console.log(data.data.enable_captcha)
if data.data.enable_captcha
grecaptcha.reset("captcha")
ga('send', 'event', 'Registration', 'NewCaptcha')
window.initCaptcha = initCaptcha = ->
grecap... | true | recaptchaPublicKey = "PI:KEY:<KEY>END_PI"
reloadCaptcha = ->
apiCall "GET", "/api/user/status", {}
.done (data) ->
console.log(data.data.enable_captcha)
if data.data.enable_captcha
grecaptcha.reset("captcha")
ga('send', 'event', 'Registration', 'NewCaptcha')
window.initCaptcha = initCaptcha = ... |
[
{
"context": " 'following_ids'\n 'notification_count'\n 'username'\n 'authentication_token'\n 'manifest'\n 'a",
"end": 400,
"score": 0.9984070658683777,
"start": 392,
"tag": "USERNAME",
"value": "username"
},
{
"context": "r.get('access_token')\n .then ->\n ... | lib/passport/index.coffee | 1aurabrown/ervell | 0 | axios = require 'axios'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
{ extend } = require 'underscore'
{ API_URL } = require '../../config'
redirectTo = require '../middleware/redirect_to'
CONFIG =
userKeys: [
'id'
'first_name'
'last_name'
... | 99172 | axios = require 'axios'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
{ extend } = require 'underscore'
{ API_URL } = require '../../config'
redirectTo = require '../middleware/redirect_to'
CONFIG =
userKeys: [
'id'
'first_name'
'last_name'
... | true | axios = require 'axios'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
{ extend } = require 'underscore'
{ API_URL } = require '../../config'
redirectTo = require '../middleware/redirect_to'
CONFIG =
userKeys: [
'id'
'first_name'
'last_name'
... |
[
{
"context": " #{name}!\"\n\n # select addPerson('{ \"firstName\": \"mario\", \"lastName\": \"gutierrez\", \"likes\": [\"node.js\", \"",
"end": 314,
"score": 0.9997133016586304,
"start": 309,
"tag": "NAME",
"value": "mario"
},
{
"context": "t addPerson('{ \"firstName\": \"mario\", \... | plv8/app/example.coffee | mgutz/plv8-bedrock | 20 | str = require('underscore.string')
HSTORE = require('pg-hstore')
# create module specific logger
log = require('plv8-mantle/logger').getLogger('example')
module.exports =
hello: (name) ->
log.debug("ENTER hello") if log.isDebug
str.titleize "hello #{name}!"
# select addPerson('{ "firstName": "mario", "la... | 177117 | str = require('underscore.string')
HSTORE = require('pg-hstore')
# create module specific logger
log = require('plv8-mantle/logger').getLogger('example')
module.exports =
hello: (name) ->
log.debug("ENTER hello") if log.isDebug
str.titleize "hello #{name}!"
# select addPerson('{ "firstName": "<NAME>", "l... | true | str = require('underscore.string')
HSTORE = require('pg-hstore')
# create module specific logger
log = require('plv8-mantle/logger').getLogger('example')
module.exports =
hello: (name) ->
log.debug("ENTER hello") if log.isDebug
str.titleize "hello #{name}!"
# select addPerson('{ "firstName": "PI:NAME:<NA... |
[
{
"context": "d converting Percentile to Z score were adapted by John Walker from C implementations written by Gary Perlman of",
"end": 4654,
"score": 0.9995157122612,
"start": 4643,
"tag": "NAME",
"value": "John Walker"
},
{
"context": "d by John Walker from C implementations writte... | interface/components/qqplot/index.coffee | tsu-complete/taylorfit | 2 | require "./index.styl"
c3 = require "c3"
Model = require "../Model"
mean = (values) ->
if values.length == 0
return NaN
sum = 0
i = 0
while i < values.length
sum += values[i]
i++
sum /= values.length
return sum
variance = (values, mu) ->
if values.length == 0
return NaN
sum = 0
i = 0... | 63782 | require "./index.styl"
c3 = require "c3"
Model = require "../Model"
mean = (values) ->
if values.length == 0
return NaN
sum = 0
i = 0
while i < values.length
sum += values[i]
i++
sum /= values.length
return sum
variance = (values, mu) ->
if values.length == 0
return NaN
sum = 0
i = 0... | true | require "./index.styl"
c3 = require "c3"
Model = require "../Model"
mean = (values) ->
if values.length == 0
return NaN
sum = 0
i = 0
while i < values.length
sum += values[i]
i++
sum /= values.length
return sum
variance = (values, mu) ->
if values.length == 0
return NaN
sum = 0
i = 0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.