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": "rentUser: (callback) ->\n @currentUser = name: \"Lance\"\n callback(null, true)\n\n helloWorld: ->\n\n he",
"end": 1046,
"score": 0.9983656406402588,
"start": 1041,
"tag": "NAME",
"value": "Lance"
},
{
"context": " renderHelloWorldFromVariable: ->\n @person ... | test/example/app/controllers/server/customController.coffee | jivagoalves/tower | 1 | class App.CustomController extends Tower.Controller
@layout false
@respondTo "html", "json", "yaml"
@before("setCurrentUser")
@resource(type: "App.User")
@beforeAction("testOnlyCallback", only: ['testCreateCallback', 'testUpdateCallback'])
@beforeAction("testExceptCallback", except: 'testNoCallback')
... | 69360 | class App.CustomController extends Tower.Controller
@layout false
@respondTo "html", "json", "yaml"
@before("setCurrentUser")
@resource(type: "App.User")
@beforeAction("testOnlyCallback", only: ['testCreateCallback', 'testUpdateCallback'])
@beforeAction("testExceptCallback", except: 'testNoCallback')
... | true | class App.CustomController extends Tower.Controller
@layout false
@respondTo "html", "json", "yaml"
@before("setCurrentUser")
@resource(type: "App.User")
@beforeAction("testOnlyCallback", only: ['testCreateCallback', 'testUpdateCallback'])
@beforeAction("testExceptCallback", except: 'testNoCallback')
... |
[
{
"context": "'\n user: 'sqlclient_test_u'\n password: 'password'\n }\n\n PAUSE = 2\n\n it 'check for database",
"end": 771,
"score": 0.9994753003120422,
"start": 763,
"tag": "PASSWORD",
"value": "password"
}
] | test/test-mysql-client.coffee | intellinote/sql-client | 1 | fs = require 'fs'
path = require 'path'
should_continue = true
try
require('mysql')
catch err
console.error ""
console.error "WARNING: require('mysql') failed with the following error:"
console.error err
console.error "The tests in #{path.basename(__filename)} will be skipped."
c... | 225649 | fs = require 'fs'
path = require 'path'
should_continue = true
try
require('mysql')
catch err
console.error ""
console.error "WARNING: require('mysql') failed with the following error:"
console.error err
console.error "The tests in #{path.basename(__filename)} will be skipped."
c... | true | fs = require 'fs'
path = require 'path'
should_continue = true
try
require('mysql')
catch err
console.error ""
console.error "WARNING: require('mysql') failed with the following error:"
console.error err
console.error "The tests in #{path.basename(__filename)} will be skipped."
c... |
[
{
"context": "ol }, children: [\n { path:'Gauges', name:'Gauges', components:{ Gauges: loader.load('Tools') } },\n",
"end": 3341,
"score": 0.5503114461898804,
"start": 3336,
"tag": "NAME",
"value": "auges"
}
] | src/muse/appl/MuseLD.coffee | axiom6/aug | 0 |
import { tester } from '../../../lib/pub/util/Util.js'
import Prin from '../../../data/muse/Prin.json'
import Rows from '../../../data/muse/Rows.json'
import Info from '../../../data/muse/Info.json'
import Know from '../../../data/muse/Know.json'
import Wise from '../../../data/muse/Wise.json'
#mport Software from '..... | 221974 |
import { tester } from '../../../lib/pub/util/Util.js'
import Prin from '../../../data/muse/Prin.json'
import Rows from '../../../data/muse/Rows.json'
import Info from '../../../data/muse/Info.json'
import Know from '../../../data/muse/Know.json'
import Wise from '../../../data/muse/Wise.json'
#mport Software from '..... | true |
import { tester } from '../../../lib/pub/util/Util.js'
import Prin from '../../../data/muse/Prin.json'
import Rows from '../../../data/muse/Rows.json'
import Info from '../../../data/muse/Info.json'
import Know from '../../../data/muse/Know.json'
import Wise from '../../../data/muse/Wise.json'
#mport Software from '..... |
[
{
"context": "3 < line.length)\n\t\trr = line.split (\" \")\n\t\tkey = \"t\" + rr[0]\n\t\tvalue = new Object\n\t\tvalue[\"name\"] = rr",
"end": 438,
"score": 0.7228062748908997,
"start": 436,
"tag": "KEY",
"value": "t\""
}
] | koho_kokai/sound_koho/to_json/to_json.coffee | ekzemplaro/kodama | 3 | #! /usr/bin/coffee
#
# Oct/28/2011
#
# -------------------------------------------------------------
fs = require('fs')
# -------------------------------------------------------------
console.log "*** 開始 ***\n"
file_in = process.argv[2]
file_json = process.argv[3]
data_aa = new Object
data = fs.readFileSync (file_... | 16338 | #! /usr/bin/coffee
#
# Oct/28/2011
#
# -------------------------------------------------------------
fs = require('fs')
# -------------------------------------------------------------
console.log "*** 開始 ***\n"
file_in = process.argv[2]
file_json = process.argv[3]
data_aa = new Object
data = fs.readFileSync (file_... | true | #! /usr/bin/coffee
#
# Oct/28/2011
#
# -------------------------------------------------------------
fs = require('fs')
# -------------------------------------------------------------
console.log "*** 開始 ***\n"
file_in = process.argv[2]
file_json = process.argv[3]
data_aa = new Object
data = fs.readFileSync (file_... |
[
{
"context": "- evaluates [code] as CoffeeScript\n#\n# Author:\n# JustinMorgan@GitHub\n#\ncompile = require \"swiss-army-eval\" \n\nmodule.ex",
"end": 439,
"score": 0.9456882476806641,
"start": 420,
"tag": "EMAIL",
"value": "JustinMorgan@GitHub"
}
] | src/parsebot.coffee | JustinMorgan/hubot-parsebot | 0 | # Description:
# Allows hubot to run inline JS or CoffeeScript.
#
# Dependencies:
# coffee-script
# swiss-army-eval
#
# Commands:
# hubot javascript me [code] - evaluates [code] as JavaScript
# hubot js me [code] - evaluates [code] as JavaScript
# hubot coffeescript me [code] - evaluates [code] ... | 183203 | # Description:
# Allows hubot to run inline JS or CoffeeScript.
#
# Dependencies:
# coffee-script
# swiss-army-eval
#
# Commands:
# hubot javascript me [code] - evaluates [code] as JavaScript
# hubot js me [code] - evaluates [code] as JavaScript
# hubot coffeescript me [code] - evaluates [code] ... | true | # Description:
# Allows hubot to run inline JS or CoffeeScript.
#
# Dependencies:
# coffee-script
# swiss-army-eval
#
# Commands:
# hubot javascript me [code] - evaluates [code] as JavaScript
# hubot js me [code] - evaluates [code] as JavaScript
# hubot coffeescript me [code] - evaluates [code] ... |
[
{
"context": "ler', ->\n @timeout 500000\n\t\n user = \n name: 'user'\n email: 'user@abc.com'\n\n it \"get user detail",
"end": 135,
"score": 0.9985148310661316,
"start": 131,
"tag": "USERNAME",
"value": "user"
},
{
"context": "t 500000\n\t\n user = \n name: 'user'\n ... | test/unit/1-controller/0-UserController.coffee | twhtanghk/restfile | 0 | _ = require 'lodash'
req = require 'supertest-as-promised'
describe 'UserController', ->
@timeout 500000
user =
name: 'user'
email: 'user@abc.com'
it "get user details #{user.email}", (done) ->
req sails.hooks.http.app
.get '/user/me'
.set 'x-forwarded-user', user.name
.set 'x-f... | 60460 | _ = require 'lodash'
req = require 'supertest-as-promised'
describe 'UserController', ->
@timeout 500000
user =
name: 'user'
email: '<EMAIL>'
it "get user details #{user.email}", (done) ->
req sails.hooks.http.app
.get '/user/me'
.set 'x-forwarded-user', user.name
.set 'x-forwar... | true | _ = require 'lodash'
req = require 'supertest-as-promised'
describe 'UserController', ->
@timeout 500000
user =
name: 'user'
email: 'PI:EMAIL:<EMAIL>END_PI'
it "get user details #{user.email}", (done) ->
req sails.hooks.http.app
.get '/user/me'
.set 'x-forwarded-user', user.name
... |
[
{
"context": "tName = @nameMap[challenger.opponentID]?.name or 'Anoner'\n challenger.opponentWizard = @nameMap[cha",
"end": 1941,
"score": 0.999565839767456,
"start": 1935,
"tag": "NAME",
"value": "Anoner"
},
{
"context": "am for team in teamsList\n ctx.teamColor = teams[@t... | app/views/play/ladder/play_modal.coffee | maurovanetti/codecombat | 1 | View = require 'views/kinds/ModalView'
template = require 'templates/play/ladder/play_modal'
ThangType = require 'models/ThangType'
{me} = require 'lib/auth'
LeaderboardCollection = require 'collections/LeaderboardCollection'
{teamDataFromLevel} = require './utils'
module.exports = class LadderPlayModal extends View
... | 174200 | View = require 'views/kinds/ModalView'
template = require 'templates/play/ladder/play_modal'
ThangType = require 'models/ThangType'
{me} = require 'lib/auth'
LeaderboardCollection = require 'collections/LeaderboardCollection'
{teamDataFromLevel} = require './utils'
module.exports = class LadderPlayModal extends View
... | true | View = require 'views/kinds/ModalView'
template = require 'templates/play/ladder/play_modal'
ThangType = require 'models/ThangType'
{me} = require 'lib/auth'
LeaderboardCollection = require 'collections/LeaderboardCollection'
{teamDataFromLevel} = require './utils'
module.exports = class LadderPlayModal extends View
... |
[
{
"context": "ark in @props.sourceMarks\n mark._key ?= Math.random()\n <Tool key={mark._key} mark={m",
"end": 616,
"score": 0.6194407939910889,
"start": 611,
"tag": "KEY",
"value": "Math."
}
] | app/classifier/drawing-tools/aggregate-mark.cjsx | Crentist/Panoptes-frontend-spanish | 1 | React = require 'react'
drawingTools = require './index'
module.exports = React.createClass
displayName: 'AggregateMark'
getDefaultProps: ->
toolDefinition: null
mark: null
sourceMarks: null
expanded: false
getInitialState: ->
expanded: @props.expanded
render: ->
Tool = drawingTools[... | 207210 | React = require 'react'
drawingTools = require './index'
module.exports = React.createClass
displayName: 'AggregateMark'
getDefaultProps: ->
toolDefinition: null
mark: null
sourceMarks: null
expanded: false
getInitialState: ->
expanded: @props.expanded
render: ->
Tool = drawingTools[... | true | React = require 'react'
drawingTools = require './index'
module.exports = React.createClass
displayName: 'AggregateMark'
getDefaultProps: ->
toolDefinition: null
mark: null
sourceMarks: null
expanded: false
getInitialState: ->
expanded: @props.expanded
render: ->
Tool = drawingTools[... |
[
{
"context": "* @package\t\tHome\n * @category\tmodules\n * @author\t\tNazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright\tCopyright (c",
"end": 71,
"score": 0.9998868107795715,
"start": 55,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "* @category\tmodules\n * @aut... | components/modules/Home/includes/js/_general.coffee | nazar-pc/cherrytea.org-old | 1 | ###
* @package Home
* @category modules
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2013-2014, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
$ ->
$.pickmeup.locale.months = ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Ве... | 149847 | ###
* @package Home
* @category modules
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2013-2014, <NAME>
* @license MIT License, see license.txt
###
$ ->
$.pickmeup.locale.months = ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "... | true | ###
* @package Home
* @category modules
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2013-2014, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
$ ->
$.pickmeup.locale.months = ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Сер... |
[
{
"context": "###\n *\n * jQuery PlaceholderText by Gary Hepting\n *\n * Open source under the MIT License.\n *\n * ",
"end": 49,
"score": 0.9998642206192017,
"start": 37,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "rce under the MIT License.\n *\n * Copyright © 2013 ... | src/coffee/plugins/jquery-placeholderText.coffee | katophelix/PristinePooch | 357 | ###
*
* jQuery PlaceholderText by Gary Hepting
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
(($) ->
$.fn.placeholderText = (options) ->
$.fn.placeholderText.defaults =
type: "paragraphs"
amount: "1"
html: true
punctuation... | 160701 | ###
*
* jQuery PlaceholderText by <NAME>
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
(($) ->
$.fn.placeholderText = (options) ->
$.fn.placeholderText.defaults =
type: "paragraphs"
amount: "1"
html: true
punctuation: true
... | true | ###
*
* jQuery PlaceholderText by PI:NAME:<NAME>END_PI
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
(($) ->
$.fn.placeholderText = (options) ->
$.fn.placeholderText.defaults =
type: "paragraphs"
amount: "1"
html: true
... |
[
{
"context": "a9222-1f4e-4724-927f-a4390654fc57',\n token: '4401761cd274e79139ae4ec057ac5a2dd22dee2b'\n })\n\n ",
"end": 734,
"score": 0.7467632293701172,
"start": 733,
"tag": "KEY",
"value": "4"
},
{
"context": "9222-1f4e-4724-927f-a4390654fc57',\n token: '4401761cd274e... | src/index.coffee | octoblu/meshblu-connector-motion-rpi | 0 | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-motion-rpi:index')
five = require 'johnny-five'
Raspi = require 'raspi-io'
moment = require 'moment'
MeshbluSocketIO = require('meshblu')
MeshbluHttp = require ('... | 5783 | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-motion-rpi:index')
five = require 'johnny-five'
Raspi = require 'raspi-io'
moment = require 'moment'
MeshbluSocketIO = require('meshblu')
MeshbluHttp = require ('... | true | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-motion-rpi:index')
five = require 'johnny-five'
Raspi = require 'raspi-io'
moment = require 'moment'
MeshbluSocketIO = require('meshblu')
MeshbluHttp = require ('... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999147653579712,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/store.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.
# address form show/hide.
$(document).on 'click', '#new-address-switch a', (e) ->
e.preventDefault()
$target = $(e.target)
$form = $('#new-... | 107941 | # 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.
# address form show/hide.
$(document).on 'click', '#new-address-switch a', (e) ->
e.preventDefault()
$target = $(e.target)
$form = $('#new-address... | 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.
# address form show/hide.
$(document).on 'click', '#new-address-switch a', (e) ->
e.preventDefault()
$target = $(e.target)
$form = ... |
[
{
"context": "ay.from suffix\n # if S.two_stats then key = \"#{infix},#{infix}#{suffix[ 0 ]}\"\n # else key = ",
"end": 12199,
"score": 0.9887714982032776,
"start": 12179,
"tag": "KEY",
"value": "\"#{infix},#{infix}#{"
},
{
"context": "o_stats then key = ... | src/show-kwic-v3.coffee | loveencounterflow/jizura | 0 |
###
`@$align_affixes_with_braces`
```keep-lines squish: yes
「【虫】」 虫
「冄【阝】」 𨙻
「【冄】阝」 𨙻
「穴扌【未】」 𥦤
「穴【扌】未」 𥦤
「【穴】扌未」 𥦤
「日业䒑【未】」 曗
「日业【䒑】未」 曗
「日【业】䒑未」 曗
「【日】业䒑未」 曗
日𠂇⺝【阝】」 「禾 𩡏
「禾日𠂇【⺝】阝」 𩡏
「禾日【𠂇】⺝阝」 𩡏
「禾【日】𠂇⺝阝」 𩡏
阝」 「【禾】日𠂇⺝ 𩡏
木冖鬯【彡】」 「木缶 鬱
缶木冖【鬯】彡」 「木 ... | 76165 |
###
`@$align_affixes_with_braces`
```keep-lines squish: yes
「【虫】」 虫
「冄【阝】」 𨙻
「【冄】阝」 𨙻
「穴扌【未】」 𥦤
「穴【扌】未」 𥦤
「【穴】扌未」 𥦤
「日业䒑【未】」 曗
「日业【䒑】未」 曗
「日【业】䒑未」 曗
「【日】业䒑未」 曗
日𠂇⺝【阝】」 「禾 𩡏
「禾日𠂇【⺝】阝」 𩡏
「禾日【𠂇】⺝阝」 𩡏
「禾【日】𠂇⺝阝」 𩡏
阝」 「【禾】日𠂇⺝ 𩡏
木冖鬯【彡】」 「木缶 鬱
缶木冖【鬯】彡」 「木 ... | true |
###
`@$align_affixes_with_braces`
```keep-lines squish: yes
「【虫】」 虫
「冄【阝】」 𨙻
「【冄】阝」 𨙻
「穴扌【未】」 𥦤
「穴【扌】未」 𥦤
「【穴】扌未」 𥦤
「日业䒑【未】」 曗
「日业【䒑】未」 曗
「日【业】䒑未」 曗
「【日】业䒑未」 曗
日𠂇⺝【阝】」 「禾 𩡏
「禾日𠂇【⺝】阝」 𩡏
「禾日【𠂇】⺝阝」 𩡏
「禾【日】𠂇⺝阝」 𩡏
阝」 「【禾】日𠂇⺝ 𩡏
木冖鬯【彡】」 「木缶 鬱
缶木冖【鬯】彡」 「木 ... |
[
{
"context": "llator)));\n }\n\n###\n# Biquad filter\n# Created by Ricard Marxer <email@ricardmarxer.com> on 2010-05-23.\n# Copyri",
"end": 17799,
"score": 0.9998754262924194,
"start": 17786,
"tag": "NAME",
"value": "Ricard Marxer"
},
{
"context": "###\n# Biquad filter\n# Creat... | src/instruments.coffee | emcmanus/tinyrave-lib | 12 | ###
Oscillator Class
--------------------------------------------------------------------------------
The Oscillator class provides a basic sound wave. You can play the resulting
sound directly, or, more likely, process the sound with another class in the
library, such as Filter, Envelope, or Mixer.
Constants
Oscillat... | 125963 | ###
Oscillator Class
--------------------------------------------------------------------------------
The Oscillator class provides a basic sound wave. You can play the resulting
sound directly, or, more likely, process the sound with another class in the
library, such as Filter, Envelope, or Mixer.
Constants
Oscillat... | true | ###
Oscillator Class
--------------------------------------------------------------------------------
The Oscillator class provides a basic sound wave. You can play the resulting
sound directly, or, more likely, process the sound with another class in the
library, such as Filter, Envelope, or Mixer.
Constants
Oscillat... |
[
{
"context": "}\n\t\tauth:\n\t\t\tuser: settings.apis.web.user\n\t\t\tpass: settings.apis.web.pass\n\t\t\tsendImmediately: true\n\t\tjson: tru",
"end": 344,
"score": 0.7573214769363403,
"start": 336,
"tag": "PASSWORD",
"value": "settings"
},
{
"context": "ser: settings.apis.web.user\... | test/acceptance/coffee/ProjectFeaturesTests.coffee | davidmehren/web-sharelatex | 1 | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
joinProject = (user_id, project_id, callback) ->
request.post {
url: "/project/#{project_id}/join"
qs: {user_id}
auth:
user: settings.apis.we... | 99141 | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
joinProject = (user_id, project_id, callback) ->
request.post {
url: "/project/#{project_id}/join"
qs: {user_id}
auth:
user: settings.apis.we... | true | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
joinProject = (user_id, project_id, callback) ->
request.post {
url: "/project/#{project_id}/join"
qs: {user_id}
auth:
user: settings.apis.we... |
[
{
"context": "Content\", \"Hello\")\r\n expression.set(\"Name\", \"World\")\r\n expression.save().done(done)\r\n\r\n it \"",
"end": 2414,
"score": 0.9823885560035706,
"start": 2409,
"tag": "NAME",
"value": "World"
},
{
"context": "end(expression,{attrs:{\"Content\":\"Hel... | tests/Backbone.sync.create.coffee | versionone/V1.Backbone | 1 | V1 = require('../V1.Backbone')
expect = require('chai').expect
recorded = require('./recorded')
deferred = require('JQDeferred')
alias = V1.Backbone.alias
relation = V1.Backbone.relation
describe "Creating with `sync`", ->
createPersister = (post) ->
new V1.Backbone.RestPersister({url: "/VersionOne/... | 27715 | V1 = require('../V1.Backbone')
expect = require('chai').expect
recorded = require('./recorded')
deferred = require('JQDeferred')
alias = V1.Backbone.alias
relation = V1.Backbone.relation
describe "Creating with `sync`", ->
createPersister = (post) ->
new V1.Backbone.RestPersister({url: "/VersionOne/... | true | V1 = require('../V1.Backbone')
expect = require('chai').expect
recorded = require('./recorded')
deferred = require('JQDeferred')
alias = V1.Backbone.alias
relation = V1.Backbone.relation
describe "Creating with `sync`", ->
createPersister = (post) ->
new V1.Backbone.RestPersister({url: "/VersionOne/... |
[
{
"context": "he background script\"\n\tsendResponse farewell: \"bye felicia\"\n\tif lastComment?\n\t\tif lastComment.mediaType?\n\t\t\t",
"end": 1017,
"score": 0.9402817487716675,
"start": 1010,
"tag": "NAME",
"value": "felicia"
}
] | src/scripts/critic.coffee | ToasterLab/critic | 0 | criticisms = localStorage.getItem("criticisms")
if not criticisms? or criticisms.length is 0
criticisms = []
localStorage.setItem "criticisms", JSON.stringify(criticisms)
else
criticisms = JSON.parse(criticisms)
renderCriticism = (c) ->
# console.log c.selection.text, c.selection.start, c.selection.text.length, c.... | 104376 | criticisms = localStorage.getItem("criticisms")
if not criticisms? or criticisms.length is 0
criticisms = []
localStorage.setItem "criticisms", JSON.stringify(criticisms)
else
criticisms = JSON.parse(criticisms)
renderCriticism = (c) ->
# console.log c.selection.text, c.selection.start, c.selection.text.length, c.... | true | criticisms = localStorage.getItem("criticisms")
if not criticisms? or criticisms.length is 0
criticisms = []
localStorage.setItem "criticisms", JSON.stringify(criticisms)
else
criticisms = JSON.parse(criticisms)
renderCriticism = (c) ->
# console.log c.selection.text, c.selection.start, c.selection.text.length, c.... |
[
{
"context": "kup database.\n object = undefined\n key = @lookupKey(els)\n if key is null\n object = creato",
"end": 25670,
"score": 0.6696035861968994,
"start": 25660,
"tag": "KEY",
"value": "@lookupKey"
},
{
"context": " object = creatorCallback(els)\n ... | src/app/core/projects/csg/utils.coffee | kaosat-dev/CoffeeSCad | 110 | define (require)->
globals = require './globals'
maths = require './maths'
Vector2D = maths.Vector2D
Vector3D = maths.Vector3D
Vertex = maths.Vertex
Line2D = maths.Line2D
OrthoNormalBasis = maths.OrthoNormalBasis
Polygon = maths.Polygon
Side = maths.Side
merge = (options, overrides) ->
... | 28359 | define (require)->
globals = require './globals'
maths = require './maths'
Vector2D = maths.Vector2D
Vector3D = maths.Vector3D
Vertex = maths.Vertex
Line2D = maths.Line2D
OrthoNormalBasis = maths.OrthoNormalBasis
Polygon = maths.Polygon
Side = maths.Side
merge = (options, overrides) ->
... | true | define (require)->
globals = require './globals'
maths = require './maths'
Vector2D = maths.Vector2D
Vector3D = maths.Vector3D
Vertex = maths.Vertex
Line2D = maths.Line2D
OrthoNormalBasis = maths.OrthoNormalBasis
Polygon = maths.Polygon
Side = maths.Side
merge = (options, overrides) ->
... |
[
{
"context": "# Copyright© 2017 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc., ",
"end": 29,
"score": 0.999882698059082,
"start": 18,
"tag": "NAME",
"value": "Merck Sharp"
}
] | app/assets/javascripts/_scheduling_options.js.coffee | Merck/Linea | 0 | # Copyright© 2017 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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... | 137795 | # Copyright© 2017 <NAME> & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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 ... | true | # Copyright© 2017 PI:NAME:<NAME>END_PI & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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/license... |
[
{
"context": " we need something else?\n input =\n text: \"lari\"\n offset: 42\n length: 4\n options: ",
"end": 737,
"score": 0.9711955785751343,
"start": 733,
"tag": "NAME",
"value": "lari"
},
{
"context": "2\n length: 4\n options: [\n text: \... | spec/config-types/completion-spec.coffee | ldegen/irma | 1 | describe "A Completion", ->
Completion =require '../../src/config-types/completion'
Suggest = require '../../src/config-types/suggest'
c=undefined
beforeEach ->
c = new Completion field:"blah"
c.init()
it "complains if you try to instantiate it without `new`", ->
mistake = -> c = Completion f... | 62082 | describe "A Completion", ->
Completion =require '../../src/config-types/completion'
Suggest = require '../../src/config-types/suggest'
c=undefined
beforeEach ->
c = new Completion field:"blah"
c.init()
it "complains if you try to instantiate it without `new`", ->
mistake = -> c = Completion f... | true | describe "A Completion", ->
Completion =require '../../src/config-types/completion'
Suggest = require '../../src/config-types/suggest'
c=undefined
beforeEach ->
c = new Completion field:"blah"
c.init()
it "complains if you try to instantiate it without `new`", ->
mistake = -> c = Completion f... |
[
{
"context": "requestAnimationFrame, Resize & Update\n# @author : David Ronai / @Makio64 / makiopolis.com\n#\n\nSignal \t= require(",
"end": 78,
"score": 0.9998584985733032,
"start": 67,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "onFrame, Resize & Update\n# @author : Davi... | src/coffee/makio/core/Stage.coffee | Makio64/pizzaparty_vj | 1 | #
# Wrapper for requestAnimationFrame, Resize & Update
# @author : David Ronai / @Makio64 / makiopolis.com
#
Signal = require("signals")
Stats = require("stats.js")
#---------------------------------------------------------- Class Stage
class Stage
@skipLimit = 32
@skipActivated = true
@lastTime = 0
@pause... | 220487 | #
# Wrapper for requestAnimationFrame, Resize & Update
# @author : <NAME> / @Makio64 / makiop<EMAIL>.<EMAIL>
#
Signal = require("signals")
Stats = require("stats.js")
#---------------------------------------------------------- Class Stage
class Stage
@skipLimit = 32
@skipActivated = true
@lastTime = 0
@pau... | true | #
# Wrapper for requestAnimationFrame, Resize & Update
# @author : PI:NAME:<NAME>END_PI / @Makio64 / makiopPI:EMAIL:<EMAIL>END_PI.PI:EMAIL:<EMAIL>END_PI
#
Signal = require("signals")
Stats = require("stats.js")
#---------------------------------------------------------- Class Stage
class Stage
@skipLimit = 32
@... |
[
{
"context": " + '/setPassword'\n data:\n oldPassword: oldPass\n newPassword: newPass\n .then =>\n @",
"end": 2889,
"score": 0.9981525540351868,
"start": 2882,
"tag": "PASSWORD",
"value": "oldPass"
},
{
"context": "\n oldPassword: oldPass\n ne... | app/models/user.coffee | micirclek/cki-portal | 0 | AppModel = require('models/appmodel')
class Position extends AppModel
urlRoot: '/1/users/position'
parse: (data) ->
if data.start?
data.start = new Date(data.start)
if data.end?
data.end = new Date(data.end)
super
defaults:
start: null
end: null
level: null
idDistrict: ... | 129458 | AppModel = require('models/appmodel')
class Position extends AppModel
urlRoot: '/1/users/position'
parse: (data) ->
if data.start?
data.start = new Date(data.start)
if data.end?
data.end = new Date(data.end)
super
defaults:
start: null
end: null
level: null
idDistrict: ... | true | AppModel = require('models/appmodel')
class Position extends AppModel
urlRoot: '/1/users/position'
parse: (data) ->
if data.start?
data.start = new Date(data.start)
if data.end?
data.end = new Date(data.end)
super
defaults:
start: null
end: null
level: null
idDistrict: ... |
[
{
"context": "gin for jQuery\n\nVersion 1.0\n\nhttps://github.com/thrustlabs/jquery-addressparser\n\nCopyright 2013 Jason Doucet",
"end": 105,
"score": 0.7427881956100464,
"start": 97,
"tag": "USERNAME",
"value": "rustlabs"
},
{
"context": "om/thrustlabs/jquery-addressparser\n\nCopyr... | src/jquery-addressparser.coffee | thrustlabs/jquery-addressparser | 1 | ###
jquery-addressparser: an address parser plugin for jQuery
Version 1.0
https://github.com/thrustlabs/jquery-addressparser
Copyright 2013 Jason Doucette, Thrust Labs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), ... | 51612 | ###
jquery-addressparser: an address parser plugin for jQuery
Version 1.0
https://github.com/thrustlabs/jquery-addressparser
Copyright 2013 <NAME>, Thrust Labs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... | true | ###
jquery-addressparser: an address parser plugin for jQuery
Version 1.0
https://github.com/thrustlabs/jquery-addressparser
Copyright 2013 PI:NAME:<NAME>END_PI, Thrust Labs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwa... |
[
{
"context": "module.exports = [\n name: \"Inari Hanzo\"\n admin: true\n group: \"cyberia\"\n,\n name: \"Cand",
"end": 39,
"score": 0.9998323321342468,
"start": 28,
"tag": "NAME",
"value": "Inari Hanzo"
},
{
"context": "anzo\"\n admin: true\n group: \"cyberia\"\n,\n name: \"Ca... | db/fixtures/users.coffee | woochi/cyberia | 0 | module.exports = [
name: "Inari Hanzo"
admin: true
group: "cyberia"
,
name: "Candyman"
admin: true
group: "cyberia"
,
name: "Valya Kova"
admin: true
group: "cyberia"
,
name: "Musta Leski"
admin: true
group: "cyberia"
,
name: "Mean Cat"
group: "cyberia"
,
name: "Rafflesia"
group: "cyberia... | 144331 | module.exports = [
name: "<NAME>"
admin: true
group: "cyberia"
,
name: "<NAME>"
admin: true
group: "cyberia"
,
name: "<NAME>"
admin: true
group: "cyberia"
,
name: "<NAME>"
admin: true
group: "cyberia"
,
name: "<NAME>"
group: "cyberia"
,
name: "<NAME>"
group: "cyberia"
,
name: "<NAME>"
... | true | module.exports = [
name: "PI:NAME:<NAME>END_PI"
admin: true
group: "cyberia"
,
name: "PI:NAME:<NAME>END_PI"
admin: true
group: "cyberia"
,
name: "PI:NAME:<NAME>END_PI"
admin: true
group: "cyberia"
,
name: "PI:NAME:<NAME>END_PI"
admin: true
group: "cyberia"
,
name: "PI:NAME:<NAME>END_PI"
grou... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Game extends Element\n\n constructor: (siz",
"end": 64,
"score": 0.9998804926872253,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E006/src/game.coffee | lovely-io/lovely.io-show | 1 | #
# Project's main unit
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Game extends Element
constructor: (size_x, size_y, density)->
super 'div', class: 'mines-game'
@append(
@timer = new Timer(),
@smile = new Smile(),
@stats = new Stats(),
@field = new Field(size_x, size_y, densit... | 97067 | #
# Project's main unit
#
# Copyright (C) 2012 <NAME>
#
class Game extends Element
constructor: (size_x, size_y, density)->
super 'div', class: 'mines-game'
@append(
@timer = new Timer(),
@smile = new Smile(),
@stats = new Stats(),
@field = new Field(size_x, size_y, density))
@o... | true | #
# Project's main unit
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Game extends Element
constructor: (size_x, size_y, density)->
super 'div', class: 'mines-game'
@append(
@timer = new Timer(),
@smile = new Smile(),
@stats = new Stats(),
@field = new Field(size_x, size_y, den... |
[
{
"context": " }\n ],\n 'api': {\n 'key': 'apikey',\n 'url': 'http://localhost:2228/api'\n ",
"end": 876,
"score": 0.9082878828048706,
"start": 870,
"tag": "KEY",
"value": "apikey"
},
{
"context": " access logs style\n time = client.getTimeOf('1... | test/client.coffee | xianhuazhou/elog | 1 | elog = require('../lib/elog.coffee').elog
fs = require 'fs'
path = require 'path'
express = require 'express'
describe 'Client', ->
describe 'functions', ->
file1 = path.join(__dirname, "data", "test1.log")
file2 = path.join(__dirname, "data", "test2.log")
config = {
'apps': [
{
... | 161946 | elog = require('../lib/elog.coffee').elog
fs = require 'fs'
path = require 'path'
express = require 'express'
describe 'Client', ->
describe 'functions', ->
file1 = path.join(__dirname, "data", "test1.log")
file2 = path.join(__dirname, "data", "test2.log")
config = {
'apps': [
{
... | true | elog = require('../lib/elog.coffee').elog
fs = require 'fs'
path = require 'path'
express = require 'express'
describe 'Client', ->
describe 'functions', ->
file1 = path.join(__dirname, "data", "test1.log")
file2 = path.join(__dirname, "data", "test2.log")
config = {
'apps': [
{
... |
[
{
"context": "nks to the\n# exellent [fibers](https://github.com/laverdet/node-fibers) library.\n#\n# ### Enabling synchronou",
"end": 1018,
"score": 0.9995959401130676,
"start": 1010,
"tag": "USERNAME",
"value": "laverdet"
},
{
"context": "ve name: 'Zeratul'\n assert units.first(na... | examples/synchronous.coffee | wanbok/mongo-model | 1 | # [Model](model.html) supports two modes - asynchronous and synchronous.
#
# - Asynchronous mode - it's just usual Node.JS mode, with plain JavaScript and Callbacks.
# - Synchronous mode is optional and experimental it also depends on the `fibers` library.
#
# In this example we'll discower why You may need synchronous... | 89051 | # [Model](model.html) supports two modes - asynchronous and synchronous.
#
# - Asynchronous mode - it's just usual Node.JS mode, with plain JavaScript and Callbacks.
# - Synchronous mode is optional and experimental it also depends on the `fibers` library.
#
# In this example we'll discower why You may need synchronous... | true | # [Model](model.html) supports two modes - asynchronous and synchronous.
#
# - Asynchronous mode - it's just usual Node.JS mode, with plain JavaScript and Callbacks.
# - Synchronous mode is optional and experimental it also depends on the `fibers` library.
#
# In this example we'll discower why You may need synchronous... |
[
{
"context": "v is 'production'\n# port = 7410\n host = 'http://121.42.182.77:'\n\nmodule.exports = {\n port : port\n dbFilePath:",
"end": 158,
"score": 0.9996597766876221,
"start": 145,
"tag": "IP_ADDRESS",
"value": "121.42.182.77"
},
{
"context": "\n dbPath: 'mongodb://localho... | config/config.coffee | leftjs/simple_uphall_api | 0 | path = require('path')
port = 7410
host = 'http://localhost:'
env = process.env.NODE_ENV
if env is 'production'
# port = 7410
host = 'http://121.42.182.77:'
module.exports = {
port : port
dbFilePath: path.join(__dirname,'./../database/')
dbPath: 'mongodb://localhost/myapi'
secret: 'token_secret'
tokenExp... | 84769 | path = require('path')
port = 7410
host = 'http://localhost:'
env = process.env.NODE_ENV
if env is 'production'
# port = 7410
host = 'http://192.168.3.11:'
module.exports = {
port : port
dbFilePath: path.join(__dirname,'./../database/')
dbPath: 'mongodb://localhost/myapi'
secret: '<KEY>_<KEY>'
tokenExpir... | true | path = require('path')
port = 7410
host = 'http://localhost:'
env = process.env.NODE_ENV
if env is 'production'
# port = 7410
host = 'http://PI:IP_ADDRESS:192.168.3.11END_PI:'
module.exports = {
port : port
dbFilePath: path.join(__dirname,'./../database/')
dbPath: 'mongodb://localhost/myapi'
secret: 'PI:KE... |
[
{
"context": "andidate.save\n candidate:\n first_name: firstName\n success: (model, response) =>\n @rend",
"end": 1847,
"score": 0.9994613528251648,
"start": 1838,
"tag": "NAME",
"value": "firstName"
},
{
"context": "candidate.save\n candidate:\n l... | app/assets/javascripts/admin/views/election/candidacy_view.js.coffee | JulienGuizot/voxe | 5 | class Admin.Views.Election.CandidacyView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/election/candidacy']
events: ->
'click .toggle-publish': 'togglePublish'
'click .change-picture-button': 'changePictureButton'
'change .change-picture': 'changePicture'
'click .change-first... | 87188 | class Admin.Views.Election.CandidacyView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/election/candidacy']
events: ->
'click .toggle-publish': 'togglePublish'
'click .change-picture-button': 'changePictureButton'
'change .change-picture': 'changePicture'
'click .change-first... | true | class Admin.Views.Election.CandidacyView extends Backbone.View
tagName: 'tr'
template: JST['admin/templates/election/candidacy']
events: ->
'click .toggle-publish': 'togglePublish'
'click .change-picture-button': 'changePictureButton'
'change .change-picture': 'changePicture'
'click .change-first... |
[
{
"context": "ister = true\n\t\t\telse\n\t\t\t\tif this.password == this.passwordAgain\n\t\t\t\t\tfirebase.auth().createUserWithEmailAndPasswo",
"end": 796,
"score": 0.7822588682174683,
"start": 783,
"tag": "PASSWORD",
"value": "passwordAgain"
},
{
"context": "\"inputPassword\" class... | main.coffee | hereacg/user-system | 0 |
bus = new Vue()
store = {
debug: true,
state: {
errMsg:'',
errTitle:'',
hasErr:false,
user:null,
},
set: (k,v) ->
console.log("sotre action$set: k => #{k}, v => #{v}") if this.debug
this.state[k] = v
this
get: (k) ->
console.log ("sotre action$get: k => #{k}, v => #{this.state... | 101261 |
bus = new Vue()
store = {
debug: true,
state: {
errMsg:'',
errTitle:'',
hasErr:false,
user:null,
},
set: (k,v) ->
console.log("sotre action$set: k => #{k}, v => #{v}") if this.debug
this.state[k] = v
this
get: (k) ->
console.log ("sotre action$get: k => #{k}, v => #{this.state... | true |
bus = new Vue()
store = {
debug: true,
state: {
errMsg:'',
errTitle:'',
hasErr:false,
user:null,
},
set: (k,v) ->
console.log("sotre action$set: k => #{k}, v => #{v}") if this.debug
this.state[k] = v
this
get: (k) ->
console.log ("sotre action$get: k => #{k}, v => #{this.state... |
[
{
"context": " @guildStatus = 2\n guild.leaderName = @name\n guild.save()\n\n else if _.fin",
"end": 3544,
"score": 0.5671597123146057,
"start": 3544,
"tag": "NAME",
"value": ""
},
{
"context": " @guildStatus = 2\n guild.leaderName = @name\n ... | src/character/player/Player.coffee | sadbear-/IdleLands | 0 |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/MessageCreator"
Constants = require "../../system/Constants"
Equipment = require "../../item/Equipment"
_ = require "lodash"
Q = require "q"
Personality = require "../base/Personality"
requireD... | 45126 |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/MessageCreator"
Constants = require "../../system/Constants"
Equipment = require "../../item/Equipment"
_ = require "lodash"
Q = require "q"
Personality = require "../base/Personality"
requireD... | true |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/MessageCreator"
Constants = require "../../system/Constants"
Equipment = require "../../item/Equipment"
_ = require "lodash"
Q = require "q"
Personality = require "../base/Personality"
requireD... |
[
{
"context": "##\n# MIT License\n#\n# Copyright (c) 2016 Jérôme Quéré <contact@jeromequere.com>\n#\n# Permission is hereb",
"end": 52,
"score": 0.9998026490211487,
"start": 40,
"tag": "NAME",
"value": "Jérôme Quéré"
},
{
"context": " MIT License\n#\n# Copyright (c) 2016 Jérôme Quéré ... | src/controllers/MainController.coffee | jerome-quere/la-metric-gitlab | 1 | ##
# MIT License
#
# Copyright (c) 2016 Jérôme Quéré <contact@jeromequere.com>
#
# 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
#... | 74449 | ##
# MIT License
#
# Copyright (c) 2016 <NAME> <<EMAIL>>
#
# 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,... | true | ##
# MIT License
#
# Copyright (c) 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the r... |
[
{
"context": " filePath: mp3\n host: \"127.0.0.1\"\n port: master_info.source_p",
"end": 1095,
"score": 0.9997055530548096,
"start": 1086,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "aster_info.source_port\n ... | test/slave/early_listeners.coffee | firebrandv2/FirebrandNetwork.ga | 342 | # When a slave starts up, it will accept incoming connections right away,
# even though it won't have any workers ready to go. We need to make sure that
# those early listeners end up making it through to the worker and that their
# requests succeed.
debug = require("debug")("sm:tests:slave_early_listeners")
MasterHe... | 3002 | # When a slave starts up, it will accept incoming connections right away,
# even though it won't have any workers ready to go. We need to make sure that
# those early listeners end up making it through to the worker and that their
# requests succeed.
debug = require("debug")("sm:tests:slave_early_listeners")
MasterHe... | true | # When a slave starts up, it will accept incoming connections right away,
# even though it won't have any workers ready to go. We need to make sure that
# those early listeners end up making it through to the worker and that their
# requests succeed.
debug = require("debug")("sm:tests:slave_early_listeners")
MasterHe... |
[
{
"context": "rom a given key\", (done) ->\n Spreadsheet.load(\"0ArtCBkZR37MmdFJqbjloVEp1OFZLWDJ6M29OcXQ1WkE\").then (data) ->\n console.log data\n ass",
"end": 221,
"score": 0.9489862322807312,
"start": 177,
"tag": "KEY",
"value": "0ArtCBkZR37MmdFJqbjloVEp1OFZLWDJ6M29OcXQ1WkE"
... | test/test.coffee | distri/gdocs-spreadsheet | 0 | mocha.globals ['jQuery*']
Spreadsheet = require "../main"
describe "Google Spreadsheet wrapper", ->
it "loads spreadsheet from a given key", (done) ->
Spreadsheet.load("0ArtCBkZR37MmdFJqbjloVEp1OFZLWDJ6M29OcXQ1WkE").then (data) ->
console.log data
assert data.Abilities
assert data.Characters
... | 145810 | mocha.globals ['jQuery*']
Spreadsheet = require "../main"
describe "Google Spreadsheet wrapper", ->
it "loads spreadsheet from a given key", (done) ->
Spreadsheet.load("<KEY>").then (data) ->
console.log data
assert data.Abilities
assert data.Characters
assert data.Passives
assert ... | true | mocha.globals ['jQuery*']
Spreadsheet = require "../main"
describe "Google Spreadsheet wrapper", ->
it "loads spreadsheet from a given key", (done) ->
Spreadsheet.load("PI:KEY:<KEY>END_PI").then (data) ->
console.log data
assert data.Abilities
assert data.Characters
assert data.Passives
... |
[
{
"context": "logic borrowed from node-lame: https://github.com/TooTallNate/node-lame\n\n MPEG_HEADER = new strt",
"end": 320,
"score": 0.9992610812187195,
"start": 309,
"tag": "USERNAME",
"value": "TooTallNate"
},
{
"context": "singId3v2\n # we'll alrea... | src/streammachine/parsers/mp3.coffee | firebrandv2/FirebrandNetwork.ga | 342 | strtok = require('strtok2')
assert = require("assert")
module.exports = class MP3 extends require("stream").Writable
ID3V1_LENGTH = 128
ID3V2_HEADER_LENGTH = 10
MPEG_HEADER_LENGTH = 4
FIRST_BYTE = new strtok.BufferType(1)
# Mp3 parsing logic borrowed from node-lame: https://github.com/TooTallNate... | 181191 | strtok = require('strtok2')
assert = require("assert")
module.exports = class MP3 extends require("stream").Writable
ID3V1_LENGTH = 128
ID3V2_HEADER_LENGTH = 10
MPEG_HEADER_LENGTH = 4
FIRST_BYTE = new strtok.BufferType(1)
# Mp3 parsing logic borrowed from node-lame: https://github.com/TooTallNate... | true | strtok = require('strtok2')
assert = require("assert")
module.exports = class MP3 extends require("stream").Writable
ID3V1_LENGTH = 128
ID3V2_HEADER_LENGTH = 10
MPEG_HEADER_LENGTH = 4
FIRST_BYTE = new strtok.BufferType(1)
# Mp3 parsing logic borrowed from node-lame: https://github.com/TooTallNate... |
[
{
"context": "y] = inputParams[key]\n else if key is 'clipDirection' or key is 'skipSoftWrapIndentation'\n # ",
"end": 1662,
"score": 0.522429347038269,
"start": 1653,
"tag": "KEY",
"value": "Direction"
},
{
"context": " else if key is 'clipDirection' or key is 'sk... | src/marker.coffee | aminya/text-buffer | 139 | {extend, isEqual, omit, pick, size} = require 'underscore-plus'
{Emitter} = require 'event-kit'
Delegator = require 'delegato'
Point = require './point'
Range = require './range'
Grim = require 'grim'
OptionKeys = new Set(['reversed', 'tailed', 'invalidate', 'exclusive'])
# Private: Represents a buffer annotation tha... | 75862 | {extend, isEqual, omit, pick, size} = require 'underscore-plus'
{Emitter} = require 'event-kit'
Delegator = require 'delegato'
Point = require './point'
Range = require './range'
Grim = require 'grim'
OptionKeys = new Set(['reversed', 'tailed', 'invalidate', 'exclusive'])
# Private: Represents a buffer annotation tha... | true | {extend, isEqual, omit, pick, size} = require 'underscore-plus'
{Emitter} = require 'event-kit'
Delegator = require 'delegato'
Point = require './point'
Range = require './range'
Grim = require 'grim'
OptionKeys = new Set(['reversed', 'tailed', 'invalidate', 'exclusive'])
# Private: Represents a buffer annotation tha... |
[
{
"context": "ponds with each roll and the total\n#\n# Author:\n# Spencer Wahl <spencer.s.wahl@gmail.com>\n\nmodule.exports = (rob",
"end": 345,
"score": 0.9998661875724792,
"start": 333,
"tag": "NAME",
"value": "Spencer Wahl"
},
{
"context": " roll and the total\n#\n# Author:\n# ... | scripts/diceroller.coffee | muffin-crusaders/glitch | 0 | # Description
# Lets hubot roll dice and flip coins
#
# Commands:
# hubot flip a coin - Responds with heads or tails, chosen randomly
# hubot roll a d<num> - Rolls a <num>-sided die and responds with result
# hubot roll <num1>d<num2> - Rolls <num1> <num2>-sided dice and responds with each roll and the total
#
#... | 96572 | # Description
# Lets hubot roll dice and flip coins
#
# Commands:
# hubot flip a coin - Responds with heads or tails, chosen randomly
# hubot roll a d<num> - Rolls a <num>-sided die and responds with result
# hubot roll <num1>d<num2> - Rolls <num1> <num2>-sided dice and responds with each roll and the total
#
#... | true | # Description
# Lets hubot roll dice and flip coins
#
# Commands:
# hubot flip a coin - Responds with heads or tails, chosen randomly
# hubot roll a d<num> - Rolls a <num>-sided die and responds with result
# hubot roll <num1>d<num2> - Rolls <num1> <num2>-sided dice and responds with each roll and the total
#
#... |
[
{
"context": " attendees: [\n email: 'test@provider.tld', details: status: 'NEEDS-ACTION'\n ",
"end": 8001,
"score": 0.9999276995658875,
"start": 7984,
"tag": "EMAIL",
"value": "test@provider.tld"
},
{
"context": "-11-21T13:30:00.000Z'\n ... | test/vevent.coffee | RubenVerborgh/cozy-ical | 0 | should = require 'should'
moment = require 'moment-timezone'
time = require 'time'
{RRule} = require 'rrule'
{VEvent} = require '../src/index'
{MissingFieldError, FieldConflictError} = require '../src/errors'
DTSTAMP_FORMATTER = 'YYYYMMDD[T]HHmm[00Z]'
describe "vEvent", ->
describe "Validation", ->
it "s... | 164507 | should = require 'should'
moment = require 'moment-timezone'
time = require 'time'
{RRule} = require 'rrule'
{VEvent} = require '../src/index'
{MissingFieldError, FieldConflictError} = require '../src/errors'
DTSTAMP_FORMATTER = 'YYYYMMDD[T]HHmm[00Z]'
describe "vEvent", ->
describe "Validation", ->
it "s... | true | should = require 'should'
moment = require 'moment-timezone'
time = require 'time'
{RRule} = require 'rrule'
{VEvent} = require '../src/index'
{MissingFieldError, FieldConflictError} = require '../src/errors'
DTSTAMP_FORMATTER = 'YYYYMMDD[T]HHmm[00Z]'
describe "vEvent", ->
describe "Validation", ->
it "s... |
[
{
"context": "e when a specific event occurs.\"\n\n\t@modifierName:\"Guardian\"\n\t@description: null\n\n\tactiveInHand: false\n\tactiv",
"end": 491,
"score": 0.9785864949226379,
"start": 483,
"tag": "NAME",
"value": "Guardian"
}
] | app/sdk/modifiers/modifierOverwatch.coffee | willroberts/duelyst | 5 | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
ModifierOverwatchHidden = require './modifierOverwatchHidden'
RevealHiddenCardAction = require 'app/sdk/actions/revealHiddenCardAction'
DieAction = require 'app/sdk/actions/dieAction'
class ModifierOverwatch extends Modifier
type:"ModifierOver... | 195265 | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
ModifierOverwatchHidden = require './modifierOverwatchHidden'
RevealHiddenCardAction = require 'app/sdk/actions/revealHiddenCardAction'
DieAction = require 'app/sdk/actions/dieAction'
class ModifierOverwatch extends Modifier
type:"ModifierOver... | true | EVENTS = require 'app/common/event_types'
Modifier = require './modifier'
ModifierOverwatchHidden = require './modifierOverwatchHidden'
RevealHiddenCardAction = require 'app/sdk/actions/revealHiddenCardAction'
DieAction = require 'app/sdk/actions/dieAction'
class ModifierOverwatch extends Modifier
type:"ModifierOver... |
[
{
"context": "tAmqpConf() or {}\n @_responseRoutingKey = \"email_reply_saver_responses\"\n @_queriesRoutingKey = \"email_reply_saver",
"end": 469,
"score": 0.9952335357666016,
"start": 442,
"tag": "KEY",
"value": "email_reply_saver_responses"
},
{
"context": "y_saver_re... | src/server/blip/email_reply_fetcher/amqp_saver.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
{Conf} = require('../../conf')
{AmqpQueueListener} = require('../../common/amqp')
{ParsedMail} = require('./parsed_mail')
{EmailReplySaver} = require('./saver')
class AmqpSaveWorker
###
Слушает amqp очередь и сохраняет ответы блипов
###
constructor: () ->
@_logger = C... | 39294 | _ = require('underscore')
{Conf} = require('../../conf')
{AmqpQueueListener} = require('../../common/amqp')
{ParsedMail} = require('./parsed_mail')
{EmailReplySaver} = require('./saver')
class AmqpSaveWorker
###
Слушает amqp очередь и сохраняет ответы блипов
###
constructor: () ->
@_logger = C... | true | _ = require('underscore')
{Conf} = require('../../conf')
{AmqpQueueListener} = require('../../common/amqp')
{ParsedMail} = require('./parsed_mail')
{EmailReplySaver} = require('./saver')
class AmqpSaveWorker
###
Слушает amqp очередь и сохраняет ответы блипов
###
constructor: () ->
@_logger = C... |
[
{
"context": "db.save()\n\n Thread.callbacks.push\n name: 'Thread Watcher'\n cb: @node\n node: ->\n toggler",
"end": 776,
"score": 0.9638625979423523,
"start": 770,
"tag": "NAME",
"value": "Thread"
},
{
"context": "e()\n\n Thread.callbacks.push\n name: 'Thr... | src/Monitoring/ThreadWatcher.coffee | ihavenoface/4chan-x | 4 | ThreadWatcher =
init: ->
return if !Conf['Thread Watcher']
@db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', <%= importHTML('Monitoring/ThreadWatcher') %>
@status = $ '#watcher-status', @dialog
@list = @dialog.lastElementChil... | 132198 | ThreadWatcher =
init: ->
return if !Conf['Thread Watcher']
@db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', <%= importHTML('Monitoring/ThreadWatcher') %>
@status = $ '#watcher-status', @dialog
@list = @dialog.lastElementChil... | true | ThreadWatcher =
init: ->
return if !Conf['Thread Watcher']
@db = new DataBoard 'watchedThreads', @refresh, true
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', <%= importHTML('Monitoring/ThreadWatcher') %>
@status = $ '#watcher-status', @dialog
@list = @dialog.lastElementChil... |
[
{
"context": " to the common prefix of \"cpb-aacip-\". Supposedly, Michael Potts\n # from Sony Ci said that quoted search queries ",
"end": 4052,
"score": 0.9984955787658691,
"start": 4039,
"tag": "NAME",
"value": "Michael Potts"
}
] | app/assets/javascripts/sony_ci/find_media.coffee | WGBH-MLA/ams | 3 | class FindSonyCiMediaBehavior
# Select for the search button
searchButtonSelector: '#find_sony_ci_media #search'
# Selector for the div that displays the feedback messages.
feedbackSelector: '#find_sony_ci_media #feedback'
# Selector for the text inputs that have the Sony Ci IDs.
sonyCiIdInputSelector: 'inp... | 22172 | class FindSonyCiMediaBehavior
# Select for the search button
searchButtonSelector: '#find_sony_ci_media #search'
# Selector for the div that displays the feedback messages.
feedbackSelector: '#find_sony_ci_media #feedback'
# Selector for the text inputs that have the Sony Ci IDs.
sonyCiIdInputSelector: 'inp... | true | class FindSonyCiMediaBehavior
# Select for the search button
searchButtonSelector: '#find_sony_ci_media #search'
# Selector for the div that displays the feedback messages.
feedbackSelector: '#find_sony_ci_media #feedback'
# Selector for the text inputs that have the Sony Ci IDs.
sonyCiIdInputSelector: 'inp... |
[
{
"context": "y] if @props.defaultValue\n storageKey: \"add_anecdote_to_fact_#{key}_#{string_hash(@props.site_",
"end": 865,
"score": 0.5521479845046997,
"start": 865,
"tag": "KEY",
"value": ""
},
{
"context": "ops.defaultValue\n storageKey: \"add_anecdote_to_fact_#{key... | app/backbone/views/comments/react_add_anecdote.coffee | Factlink/feedforward | 0 | window.ReactAddAnecdote = React.createClass
displayName: 'ReactAddAnecdote'
render: ->
ReactAnecdoteForm
onSubmit: (text) =>
comment = new Comment
markup_format: 'anecdote'
created_by: currentSession.user().toJSON()
content: $.trim(text)
@props.comments.unsh... | 136086 | window.ReactAddAnecdote = React.createClass
displayName: 'ReactAddAnecdote'
render: ->
ReactAnecdoteForm
onSubmit: (text) =>
comment = new Comment
markup_format: 'anecdote'
created_by: currentSession.user().toJSON()
content: $.trim(text)
@props.comments.unsh... | true | window.ReactAddAnecdote = React.createClass
displayName: 'ReactAddAnecdote'
render: ->
ReactAnecdoteForm
onSubmit: (text) =>
comment = new Comment
markup_format: 'anecdote'
created_by: currentSession.user().toJSON()
content: $.trim(text)
@props.comments.unsh... |
[
{
"context": "ox OS envíame un email.\n </li>\n <li>juanc.jara@pucp.pe</li>\n </ul>\n </div>\n",
"end": 1176,
"score": 0.9999097585678101,
"start": 1158,
"tag": "EMAIL",
"value": "juanc.jara@pucp.pe"
}
] | components/Vote.react.coffee | juancjara/guitar-hero-firefox-os | 0 | React = require 'react'
{Dispatcher} = require './../dispatcher.coffee'
module.exports = Vote = React.createClass
handleClick: (to) ->
@props.changeTab('Vote', to)
render: ->
className = 'vote tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
... | 67505 | React = require 'react'
{Dispatcher} = require './../dispatcher.coffee'
module.exports = Vote = React.createClass
handleClick: (to) ->
@props.changeTab('Vote', to)
render: ->
className = 'vote tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
... | true | React = require 'react'
{Dispatcher} = require './../dispatcher.coffee'
module.exports = Vote = React.createClass
handleClick: (to) ->
@props.changeTab('Vote', to)
render: ->
className = 'vote tabs '+@props.show
<div className = {className}>
<div
className = 'btn blue pull-left'
... |
[
{
"context": "# @file firefly.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 59,
"score": 0.9998173713684082,
"start": 45,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | examples/firefly/firefly.coffee | siviter-t/lampyridae.coffee | 4 | # @file firefly.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
# Only the Canvas and base Particle classes are included by default
require 'particle/firefly... | 59742 | # @file firefly.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
# Only the Canvas and base Particle classes are included by default
require 'particle/firefly'
# By ... | true | # @file firefly.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
###
# Example usage of lampyridae.coffee
###
# Only the Canvas and base Particle classes are included by default
require 'particle/f... |
[
{
"context": "user: \n data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: \"Sue\"\n ",
"end": 482,
"score": 0.9998520612716675,
"start": 479,
"tag": "NAME",
"value": "Bob"
},
{
"context": " name: \"Bob\"\n ,\n id: 2\n nam... | test/spec_coffee/model_relationships_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theBrain = class Brain extends MVCoffee.Model
theBrain.belongsTo "user"
store = new MVCoffee.ModelSt... | 33406 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theBrain = class Brain extends MVCoffee.Model
theBrain.belongsTo "user"
store = new MVCoffee.ModelSt... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theBrain = class Brain extends MVCoffee.Model
theBrain.belongsTo "user"
store = new MVCoffee.ModelSt... |
[
{
"context": "roy =>\n App.User.create id: 1, firstName: \"Lance\", done\n \n describe 'format: \"json\"', ->\n ",
"end": 309,
"score": 0.9998109340667725,
"start": 304,
"tag": "NAME",
"value": "Lance"
},
{
"context": " assert.equal resources[0].firstName, \... | test/cases/controller/resourcefulTest.coffee | vjsingh/tower | 1 | require '../../config'
controller = null
user = null
router = null
describeWith = (store) ->
describe "Tower.Controller.Resourceful (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.User.store(store)
App.User.destroy =>
App.User.create id: 1, firstName: "Lance", done
... | 132666 | require '../../config'
controller = null
user = null
router = null
describeWith = (store) ->
describe "Tower.Controller.Resourceful (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.User.store(store)
App.User.destroy =>
App.User.create id: 1, firstName: "<NAME>", done
... | true | require '../../config'
controller = null
user = null
router = null
describeWith = (store) ->
describe "Tower.Controller.Resourceful (Tower.Store.#{store.name})", ->
beforeEach (done) ->
App.User.store(store)
App.User.destroy =>
App.User.create id: 1, firstName: "PI:NAME:<NAME>EN... |
[
{
"context": "###\n grunt-embed\n https://github.com/callumlocke/grunt-embed\n\n Copyright 2013 Callum Locke\n Lice",
"end": 50,
"score": 0.9995214939117432,
"start": 39,
"tag": "USERNAME",
"value": "callumlocke"
},
{
"context": "thub.com/callumlocke/grunt-embed\n\n Copyright 20... | tasks/embed.coffee | telor/grunt-embed | 1 | ###
grunt-embed
https://github.com/callumlocke/grunt-embed
Copyright 2013 Callum Locke
Licensed under the MIT license.
###
ResourceEmbedder = require 'resource-embedder'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'embed', 'Converts external scripts and stylesheets into embed... | 156966 | ###
grunt-embed
https://github.com/callumlocke/grunt-embed
Copyright 2013 <NAME>
Licensed under the MIT license.
###
ResourceEmbedder = require 'resource-embedder'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'embed', 'Converts external scripts and stylesheets into embedded on... | true | ###
grunt-embed
https://github.com/callumlocke/grunt-embed
Copyright 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
ResourceEmbedder = require 'resource-embedder'
path = require 'path'
module.exports = (grunt) ->
grunt.registerMultiTask 'embed', 'Converts external scripts and stylesheets in... |
[
{
"context": "###\nnote.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 43,
"score": 0.9997044205665588,
"start": 35,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\nnote.coffee\nCopyright (C) 2015 ender xu <xuender@gmail.com>... | src/note/note.coffee | xuender/mindfulness | 0 | ###
note.coffee
Copyright (C) 2015 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/book")
$stateProvider
.state('book',
url: '/book'
templateUrl: 'p... | 98938 | ###
note.coffee
Copyright (C) 2015 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/book")
$stateProvider
.state('book',
url: '/book'
templateUrl: 'partials/note... | true | ###
note.coffee
Copyright (C) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/book")
$stateProvider
.state('book',
url: '/book'
... |
[
{
"context": "-*-\n\n# Filename: converter.coffee\n# Created by 请叫我喵 Alynx.\n# alynx.zhou@gmail.com, http://alynx.xyz/\n",
"end": 92,
"score": 0.5298528671264648,
"start": 91,
"tag": "NAME",
"value": "喵"
},
{
"context": "*-\n\n# Filename: converter.coffee\n# Created by 请叫我喵 Alynx.\n#... | lib/converter.coffee | AlynxZhou/atom-code-music | 7 | #!/usr/bin/env coffee
#-*- coding: utf-8 -*-
# Filename: converter.coffee
# Created by 请叫我喵 Alynx.
# alynx.zhou@gmail.com, http://alynx.xyz/
fs = require("fs")
path = require("path")
NOT_COMMENT = 0
SINGLE_COMMENT = 1
MULTI_COMMENT = 2
class Converter
constructor: (@oldEditor, @newEditor) ->
@validArr = [
... | 177579 | #!/usr/bin/env coffee
#-*- coding: utf-8 -*-
# Filename: converter.coffee
# Created by 请叫我<NAME> <NAME>.
# <EMAIL>, http://alynx.xyz/
fs = require("fs")
path = require("path")
NOT_COMMENT = 0
SINGLE_COMMENT = 1
MULTI_COMMENT = 2
class Converter
constructor: (@oldEditor, @newEditor) ->
@validArr = [
' ',... | true | #!/usr/bin/env coffee
#-*- coding: utf-8 -*-
# Filename: converter.coffee
# Created by 请叫我PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI.
# PI:EMAIL:<EMAIL>END_PI, http://alynx.xyz/
fs = require("fs")
path = require("path")
NOT_COMMENT = 0
SINGLE_COMMENT = 1
MULTI_COMMENT = 2
class Converter
constructor: (@oldEditor, ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9979360699653625,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "Nov 6 09:52:22 2029 GMT\\\",\" + \"\\\"fingerprint\\\":\\\"2A:7A:C2:DD:E5:F9:CC:53:72:35:99:7... | test/disabled/test-net-tls.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... | 190191 | # 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": "rink - reduce and simplify vector and mbtiles\n by Michael Strassburger <codepoet@cpan.org>\n\n CLI interface for tileshri",
"end": 83,
"score": 0.999869704246521,
"start": 63,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": "ify vector and mbtiles\n b... | src/cli.coffee | rastapasta/tileshrink | 27 | ###
tileshrink - reduce and simplify vector and mbtiles
by Michael Strassburger <codepoet@cpan.org>
CLI interface for tileshrink
###
Shrinker = require "./Shrinker"
TileGrinder = require "tilegrinder"
commandLineArgs = require "command-line-args"
getUsage = require "command-line-usage"
args = [
name: "fil... | 160822 | ###
tileshrink - reduce and simplify vector and mbtiles
by <NAME> <<EMAIL>>
CLI interface for tileshrink
###
Shrinker = require "./Shrinker"
TileGrinder = require "tilegrinder"
commandLineArgs = require "command-line-args"
getUsage = require "command-line-usage"
args = [
name: "files"
type: String
... | true | ###
tileshrink - reduce and simplify vector and mbtiles
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
CLI interface for tileshrink
###
Shrinker = require "./Shrinker"
TileGrinder = require "tilegrinder"
commandLineArgs = require "command-line-args"
getUsage = require "command-line-usage"
args = [
name:... |
[
{
"context": "ile Contents - Atom package\n * https://github.com/lieko/atom-copy-file-contents\n *\n * Copyright 2015, Eve",
"end": 68,
"score": 0.9993736743927002,
"start": 63,
"tag": "USERNAME",
"value": "lieko"
},
{
"context": "ieko/atom-copy-file-contents\n *\n * Copyright 2015, ... | lib/copy-file-contents.coffee | lieko/atom-copy-file-content | 1 | ###
* Copy File Contents - Atom package
* https://github.com/lieko/atom-copy-file-contents
*
* Copyright 2015, Everton Agner Ramos
* https://github.com/lieko
*
* Licensed under the MIT license:
* http://opensource.org/licenses/MIT
###
copy = (filepath) ->
platform = require('os').platform()
switch platform
... | 11218 | ###
* Copy File Contents - Atom package
* https://github.com/lieko/atom-copy-file-contents
*
* Copyright 2015, <NAME>
* https://github.com/lieko
*
* Licensed under the MIT license:
* http://opensource.org/licenses/MIT
###
copy = (filepath) ->
platform = require('os').platform()
switch platform
when 'win3... | true | ###
* Copy File Contents - Atom package
* https://github.com/lieko/atom-copy-file-contents
*
* Copyright 2015, PI:NAME:<NAME>END_PI
* https://github.com/lieko
*
* Licensed under the MIT license:
* http://opensource.org/licenses/MIT
###
copy = (filepath) ->
platform = require('os').platform()
switch platform... |
[
{
"context": "gin.Permissions(annotator.element, {\n# user: 'Alice'\n# })\n#\n# Returns a new instance of the Permiss",
"end": 433,
"score": 0.9226973652839661,
"start": 428,
"tag": "USERNAME",
"value": "Alice"
},
{
"context": "he\n # current user, i.e. @options.userI... | inception-html-editor/src/main/js/annotatorjs/src/plugin/permissions.coffee | CPHI-TVHS/inception | 377 | # Public: Plugin for setting permissions on newly created annotations as well as
# managing user permissions such as viewing/editing/deleting annotions.
#
# element - A DOM Element upon which events are bound. When initialised by
# the Annotator it is the Annotator element.
# options - An Object literal conta... | 189056 | # Public: Plugin for setting permissions on newly created annotations as well as
# managing user permissions such as viewing/editing/deleting annotions.
#
# element - A DOM Element upon which events are bound. When initialised by
# the Annotator it is the Annotator element.
# options - An Object literal conta... | true | # Public: Plugin for setting permissions on newly created annotations as well as
# managing user permissions such as viewing/editing/deleting annotions.
#
# element - A DOM Element upon which events are bound. When initialised by
# the Annotator it is the Annotator element.
# options - An Object literal conta... |
[
{
"context": "###\nLottieLayer\n-\nImplementation of Hernan Torrisi & AirBnb \"Lottie-Web\" for Framer.\nby @72mena\n###\n",
"end": 50,
"score": 0.999867856502533,
"start": 36,
"tag": "NAME",
"value": "Hernan Torrisi"
},
{
"context": "ernan Torrisi & AirBnb \"Lottie-Web\" for Framer.... | src/public/framer02.framer/modules/LottieLayer.coffee | jmanhart/personal-portfolio-17 | 0 | ###
LottieLayer
-
Implementation of Hernan Torrisi & AirBnb "Lottie-Web" for Framer.
by @72mena
###
# INCLUDE LIBRARY ———————————————————————————
insertScript = (localScript, webScript, name = 'JavaScript Library') ->
try
lib = Utils.domLoadDataSync localScript
console.log "%c#{name} Successfully Included Locally... | 49105 | ###
LottieLayer
-
Implementation of <NAME> & AirBnb "Lottie-Web" for Framer.
by @72mena
###
# INCLUDE LIBRARY ———————————————————————————
insertScript = (localScript, webScript, name = 'JavaScript Library') ->
try
lib = Utils.domLoadDataSync localScript
console.log "%c#{name} Successfully Included Locally", "back... | true | ###
LottieLayer
-
Implementation of PI:NAME:<NAME>END_PI & AirBnb "Lottie-Web" for Framer.
by @72mena
###
# INCLUDE LIBRARY ———————————————————————————
insertScript = (localScript, webScript, name = 'JavaScript Library') ->
try
lib = Utils.domLoadDataSync localScript
console.log "%c#{name} Successfully Included L... |
[
{
"context": "rt 'SMTP', config\n\n # @todo https://github.com/andris9/Nodemailer/\n # \n # Rails makes this an obje",
"end": 290,
"score": 0.9996247291564941,
"start": 283,
"tag": "USERNAME",
"value": "andris9"
},
{
"context": "s of the sender. All e-mail addresses can be p... | node_modules/tower/packages/tower-mailer/server/rendering.coffee | MagicPower2/Power | 1 | Tower.MailerRendering =
ClassMethods:
config: {}
transport: ->
return @_transport if @_transport
config = @config = Tower.Mailer.config[Tower.env] || {}
@_transport = require('nodemailer').createTransport 'SMTP', config
# @todo https://github.com/andris9/Nodemailer/
#
# Rail... | 121740 | Tower.MailerRendering =
ClassMethods:
config: {}
transport: ->
return @_transport if @_transport
config = @config = Tower.Mailer.config[Tower.env] || {}
@_transport = require('nodemailer').createTransport 'SMTP', config
# @todo https://github.com/andris9/Nodemailer/
#
# Rail... | true | Tower.MailerRendering =
ClassMethods:
config: {}
transport: ->
return @_transport if @_transport
config = @config = Tower.Mailer.config[Tower.env] || {}
@_transport = require('nodemailer').createTransport 'SMTP', config
# @todo https://github.com/andris9/Nodemailer/
#
# Rail... |
[
{
"context": " .post('/metrics')\n .basicAuth(user: 'foo@example.com', pass: 'bob')\n .delay(10)\n .reply(",
"end": 300,
"score": 0.9999238848686218,
"start": 285,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": " .basicAuth(user: 'foo@examp... | test/client.coffee | autopulated/librato-node | 28 | require './support/test_helper'
Client = require '../lib/client'
nock = require 'nock'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
nock('https://metrics-api.librato.com/v1')
.post('/metrics')
.basicAuth(user: 'foo@example.com', pass: 'bob')
... | 57696 | require './support/test_helper'
Client = require '../lib/client'
nock = require 'nock'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
nock('https://metrics-api.librato.com/v1')
.post('/metrics')
.basicAuth(user: '<EMAIL>', pass: '<PASSWORD>')
... | true | require './support/test_helper'
Client = require '../lib/client'
nock = require 'nock'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
nock('https://metrics-api.librato.com/v1')
.post('/metrics')
.basicAuth(user: 'PI:EMAIL:<EMAIL>END_PI', pass: 'PI:... |
[
{
"context": "sdf\" \n\n# database config\n# configmodule.dbHost = \"178.162.221.176\"\nconfigmodule.dbHost = \"ulea\"\nconfigmodule.dbName",
"end": 549,
"score": 0.9956218004226685,
"start": 534,
"tag": "IP_ADDRESS",
"value": "178.162.221.176"
},
{
"context": "odule.dbUser = \"aurox... | source/configmodule/configmodule.coffee | JhonnyJason/program-editor-sources | 0 | configmodule = {name: "configmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
##initialization function -> is automatically being called! ONLY RELY ON DOM AND VARIABLES!! NO PLUGINS NO OHTER INITIALIZATIONS!!
con... | 108906 | configmodule = {name: "configmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
##initialization function -> is automatically being called! ONLY RELY ON DOM AND VARIABLES!! NO PLUGINS NO OHTER INITIALIZATIONS!!
con... | true | configmodule = {name: "configmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
##initialization function -> is automatically being called! ONLY RELY ON DOM AND VARIABLES!! NO PLUGINS NO OHTER INITIALIZATIONS!!
con... |
[
{
"context": "ribe 'persona', ->\n filter = null\n term = 'acct:hacker@example.com'\n\n beforeEach module('h')\n beforeEach inject ($",
"end": 135,
"score": 0.9999220967292786,
"start": 117,
"tag": "EMAIL",
"value": "hacker@example.com"
},
{
"context": "le term by request', ->\n ... | tests/js/filters-test.coffee | Treora/h | 0 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'persona', ->
filter = null
term = 'acct:hacker@example.com'
beforeEach module('h')
beforeEach inject ($filter) ->
filter = $filter('persona')
it 'should return the whole term by request', ->
result = filter('acct:hacker@example... | 134659 | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'persona', ->
filter = null
term = 'acct:<EMAIL>'
beforeEach module('h')
beforeEach inject ($filter) ->
filter = $filter('persona')
it 'should return the whole term by request', ->
result = filter('acct:<EMAIL>', 'term')
ass... | true | assert = chai.assert
sinon.assert.expose assert, prefix: null
describe 'persona', ->
filter = null
term = 'acct:PI:EMAIL:<EMAIL>END_PI'
beforeEach module('h')
beforeEach inject ($filter) ->
filter = $filter('persona')
it 'should return the whole term by request', ->
result = filter('acct:PI:EMAIL:<... |
[
{
"context": "\t@type:\"ModifierTamedBattlePet\"\n\n\t@modifierName: \"Tamed Battle Pet\"\n\t@description: \"Listens to owner'",
"end": 162,
"score": 0.5137470364570618,
"start": 161,
"tag": "NAME",
"value": "T"
}
] | app/sdk/modifiers/modifierTamedBattlePet.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
class ModifierTamedBattlePet extends Modifier
type:"ModifierTamedBattlePet"
@type:"ModifierTamedBattlePet"
@modifierName: "Tamed Battle Pet"
@description: "Listens to owner's commands"
activeInHand: false
activeInDeck: false
activeInSignatureCards: false
activeOnBoard: true
... | 97514 | Modifier = require './modifier'
class ModifierTamedBattlePet extends Modifier
type:"ModifierTamedBattlePet"
@type:"ModifierTamedBattlePet"
@modifierName: "<NAME>amed Battle Pet"
@description: "Listens to owner's commands"
activeInHand: false
activeInDeck: false
activeInSignatureCards: false
activeOnBoard: t... | true | Modifier = require './modifier'
class ModifierTamedBattlePet extends Modifier
type:"ModifierTamedBattlePet"
@type:"ModifierTamedBattlePet"
@modifierName: "PI:NAME:<NAME>END_PIamed Battle Pet"
@description: "Listens to owner's commands"
activeInHand: false
activeInDeck: false
activeInSignatureCards: false
ac... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998177886009216,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/isadore_settings_lut_maxtemp.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 71064 | # Copyright 2010-2019 <NAME>, <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 ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, 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 requ... |
[
{
"context": " sampleData = [\n key: 'series1'\n values: [\n ",
"end": 2832,
"score": 0.5057478547096252,
"start": 2825,
"tag": "KEY",
"value": "series1"
},
{
"context": " data = [\n key: ... | test/chart.coffee | robinfhu/forest-d3 | 58 | describe 'Chart', ->
describe 'smoke tests', ->
it 'should exist', ->
expect(ForestD3).to.exist
expect(ForestD3.Chart).to.exist
expect(ForestD3.StackedChart).to.exist
expect(ForestD3.version).to.exist
describe 'chart API', ->
chart = null
... | 195756 | describe 'Chart', ->
describe 'smoke tests', ->
it 'should exist', ->
expect(ForestD3).to.exist
expect(ForestD3.Chart).to.exist
expect(ForestD3.StackedChart).to.exist
expect(ForestD3.version).to.exist
describe 'chart API', ->
chart = null
... | true | describe 'Chart', ->
describe 'smoke tests', ->
it 'should exist', ->
expect(ForestD3).to.exist
expect(ForestD3.Chart).to.exist
expect(ForestD3.StackedChart).to.exist
expect(ForestD3.version).to.exist
describe 'chart API', ->
chart = null
... |
[
{
"context": "wse/SERVER-3229\n\t\t\t\t\tfixedKey = k.replace(/\\./g, '•').replace(/^\\$/, '฿')\n\t\t\t\t\tdoc[fixedKey] ?= v # d",
"end": 214,
"score": 0.575527012348175,
"start": 213,
"tag": "KEY",
"value": "•"
}
] | collections/_utils.coffee | sguignot/meteor-batch-mobile-ready | 0 | @CollectionUtils =
fixKeysForMongo: (doc) ->
if doc instanceof Object
for k, v of doc
if k.match(/\.|^\$/) # forbidden keys: https://jira.mongodb.org/browse/SERVER-3229
fixedKey = k.replace(/\./g, '•').replace(/^\$/, '฿')
doc[fixedKey] ?= v # do not overwrite another existing key
delete doc[k]
... | 44209 | @CollectionUtils =
fixKeysForMongo: (doc) ->
if doc instanceof Object
for k, v of doc
if k.match(/\.|^\$/) # forbidden keys: https://jira.mongodb.org/browse/SERVER-3229
fixedKey = k.replace(/\./g, '<KEY>').replace(/^\$/, '฿')
doc[fixedKey] ?= v # do not overwrite another existing key
delete doc... | true | @CollectionUtils =
fixKeysForMongo: (doc) ->
if doc instanceof Object
for k, v of doc
if k.match(/\.|^\$/) # forbidden keys: https://jira.mongodb.org/browse/SERVER-3229
fixedKey = k.replace(/\./g, 'PI:KEY:<KEY>END_PI').replace(/^\$/, '฿')
doc[fixedKey] ?= v # do not overwrite another existing key
... |
[
{
"context": "st:27017/claru-test'\n mongo:\n url: 'mongodb://127.0.0.1:27017/claru-test'\n host: '127.0.0.1'\n port:",
"end": 131,
"score": 0.9996918439865112,
"start": 122,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "'mongodb://127.0.0.1:27017/claru-test'\n... | server/config/testing.coffee | stevelacy/claru | 0 | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/claru-test'
mongo:
url: 'mongodb://127.0.0.1:27017/claru-test'
host: '127.0.0.1'
port: 27017
name: 'claru-test'
token:
secret: 'IhoiUHyu6gtghj'
debug: false
| 214782 | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/claru-test'
mongo:
url: 'mongodb://127.0.0.1:27017/claru-test'
host: '127.0.0.1'
port: 27017
name: 'claru-test'
token:
secret: '<KEY>'
debug: false
| true | {join} = require 'path'
module.exports =
database: 'mongodb://localhost:27017/claru-test'
mongo:
url: 'mongodb://127.0.0.1:27017/claru-test'
host: '127.0.0.1'
port: 27017
name: 'claru-test'
token:
secret: 'PI:KEY:<KEY>END_PI'
debug: false
|
[
{
"context": "vices\n\n @class bkcore.GamepadController\n @author Mahesh Kulkarni <http://twitter.com/maheshkk>\n###\nclass GamepadCo",
"end": 126,
"score": 0.9998844265937805,
"start": 111,
"tag": "NAME",
"value": "Mahesh Kulkarni"
},
{
"context": "ler\n @author Mahesh Kulkarni <... | webInterface/game/bkcore.coffee/controllers/GamepadController.coffee | ploh007/design-project | 1,017 | ###
GamepadController (Orientation + buttons) for touch devices
@class bkcore.GamepadController
@author Mahesh Kulkarni <http://twitter.com/maheshkk>
###
class GamepadController
@isCompatible: ->
return ('getGamepads' of navigator) or ('webkitGetGamepads' of navigator)
###
Creates a new GamepadCont... | 177897 | ###
GamepadController (Orientation + buttons) for touch devices
@class bkcore.GamepadController
@author <NAME> <http://twitter.com/maheshkk>
###
class GamepadController
@isCompatible: ->
return ('getGamepads' of navigator) or ('webkitGetGamepads' of navigator)
###
Creates a new GamepadController
... | true | ###
GamepadController (Orientation + buttons) for touch devices
@class bkcore.GamepadController
@author PI:NAME:<NAME>END_PI <http://twitter.com/maheshkk>
###
class GamepadController
@isCompatible: ->
return ('getGamepads' of navigator) or ('webkitGetGamepads' of navigator)
###
Creates a new Gamepa... |
[
{
"context": " expect(latexObject).to.have.property \"author\", \"Acar E, Yener B\"\n\n it \"title\", ->\n expect(latexO",
"end": 1515,
"score": 0.9998508095741272,
"start": 1509,
"tag": "NAME",
"value": "Acar E"
},
{
"context": "t(latexObject).to.have.property \"author\", \... | test/test.coffee | jschomay/latex-to-bibtex | 1 | {expect} = require "chai"
path = require "path"
{latexToArray
parseLatexItem
parseLatexArray
formatParsedItem
formatParsedArray
renderItemToTemplate
renderArrayToTemplate
sortBy
} = require "../parse"
parseRules = require "../example/parseRules"
formattingRules = require "../example/formattingrules"
tem... | 85120 | {expect} = require "chai"
path = require "path"
{latexToArray
parseLatexItem
parseLatexArray
formatParsedItem
formatParsedArray
renderItemToTemplate
renderArrayToTemplate
sortBy
} = require "../parse"
parseRules = require "../example/parseRules"
formattingRules = require "../example/formattingrules"
tem... | true | {expect} = require "chai"
path = require "path"
{latexToArray
parseLatexItem
parseLatexArray
formatParsedItem
formatParsedArray
renderItemToTemplate
renderArrayToTemplate
sortBy
} = require "../parse"
parseRules = require "../example/parseRules"
formattingRules = require "../example/formattingrules"
tem... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9922515153884888,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "@__buttonbar = new CUI.Buttonbar(... | src/elements/Tabs/Tabs.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
CUI.Template.loadTemplateText(require('./Tabs.html'));
class CUI.Tabs extends CUI.SimplePane
@def... | 47202 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
CUI.Template.loadTemplateText(require('./Tabs.html'));
class CUI.Tabs extends CUI.SimplePane
@def... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
CUI.Template.loadTemplateText(require('./Tabs.html'));
class CUI.Tabs extends CUI.SimplePane
@def... |
[
{
"context": "flag references to undeclared variables.\n# @author Mark Macdonald\n###\n\n{getAddImportFix: getFix} = require '../util",
"end": 94,
"score": 0.9997997283935547,
"start": 80,
"tag": "NAME",
"value": "Mark Macdonald"
}
] | src/rules/no-undef.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Rule to flag references to undeclared variables.
# @author Mark Macdonald
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------
... | 9691 | ###*
# @fileoverview Rule to flag references to undeclared variables.
# @author <NAME>
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------
###*
# ... | true | ###*
# @fileoverview Rule to flag references to undeclared variables.
# @author PI:NAME:<NAME>END_PI
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# -------------------------------------------------------------------------... |
[
{
"context": "peof are compared against a valid string\n# @author Ian Christian Myers\n###\n'use strict'\n\n#------------------------------",
"end": 121,
"score": 0.9998195767402649,
"start": 102,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/tests/rules/valid-typeof.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule... | 184792 | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '.... | true | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rul... |
[
{
"context": "-----\n\n(() ->\n\n\ttree = taml(\"\"\"\n\t\t---\n\t\t-\n\t\t\tname: John\n\t\t\tage: 68\n\t\t\tbody:\n\t\t\t\t-\n\t\t\t\t\tname: Judy\n\t\t\t\t\tag",
"end": 874,
"score": 0.9998607635498047,
"start": 870,
"tag": "NAME",
"value": "John"
},
{
"context": "\t\t\tname: John... | test/tree.test.coffee | johndeighan/string-input | 0 | # tree.test.coffee
import {undef, oneline} from '@jdeighan/coffee-utils'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {debug} from '@jdeighan/coffee-utils/debug'
import {taml} from '@jdeighan/string-input/taml'
import {TreeWalker, TreeStringifier} from '@jdeighan/string-input/tree'
simple = new UnitT... | 38378 | # tree.test.coffee
import {undef, oneline} from '@jdeighan/coffee-utils'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {debug} from '@jdeighan/coffee-utils/debug'
import {taml} from '@jdeighan/string-input/taml'
import {TreeWalker, TreeStringifier} from '@jdeighan/string-input/tree'
simple = new UnitT... | true | # tree.test.coffee
import {undef, oneline} from '@jdeighan/coffee-utils'
import {UnitTester} from '@jdeighan/coffee-utils/test'
import {debug} from '@jdeighan/coffee-utils/debug'
import {taml} from '@jdeighan/string-input/taml'
import {TreeWalker, TreeStringifier} from '@jdeighan/string-input/tree'
simple = new UnitT... |
[
{
"context": "' ' + @get('lastName')\n ).property('firstName', 'lastName')\n\n title: ( ->\n @get('fullName')\n ).propert",
"end": 752,
"score": 0.6885738968849182,
"start": 744,
"tag": "NAME",
"value": "lastName"
}
] | ember/app/models/resume.coffee | kjayma/rezoome | 0 | `import DS from 'ember-data'`
Resume = DS.Model.extend
primaryEmail: DS.attr('string')
filename: DS.attr('string')
firstName: DS.attr('string')
lastName: DS.attr('string')
address1: DS.attr('string')
address2: DS.attr('string')
city: DS.attr('string')
state: DS.attr('string')
zip: DS.attr('string')
... | 103450 | `import DS from 'ember-data'`
Resume = DS.Model.extend
primaryEmail: DS.attr('string')
filename: DS.attr('string')
firstName: DS.attr('string')
lastName: DS.attr('string')
address1: DS.attr('string')
address2: DS.attr('string')
city: DS.attr('string')
state: DS.attr('string')
zip: DS.attr('string')
... | true | `import DS from 'ember-data'`
Resume = DS.Model.extend
primaryEmail: DS.attr('string')
filename: DS.attr('string')
firstName: DS.attr('string')
lastName: DS.attr('string')
address1: DS.attr('string')
address2: DS.attr('string')
city: DS.attr('string')
state: DS.attr('string')
zip: DS.attr('string')
... |
[
{
"context": "iew Disallow redundant return statements\n# @author Teddy Katz\n###\n'use strict'\n\n#------------------------------",
"end": 78,
"score": 0.9998509287834167,
"start": 68,
"tag": "NAME",
"value": "Teddy Katz"
},
{
"context": " # no-else-return.\n # https://gith... | src/rules/no-useless-return.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow redundant return statements
# @author Teddy Katz
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'
utils ... | 5228 | ###*
# @fileoverview Disallow redundant return statements
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'
utils = re... | true | ###*
# @fileoverview Disallow redundant return statements
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-uti... |
[
{
"context": "dateEmail { email, tfcode: tfcodeValue, password : passValue },\n success : (res) ->\n\n ",
"end": 3400,
"score": 0.954288899898529,
"start": 3396,
"tag": "PASSWORD",
"value": "pass"
},
{
"context": "ee = 'on'\n formData.passwordConfirm =... | client/landing/site.landing/coffee/core/utils.coffee | ezgikaysi/koding | 1 | $ = require 'jquery'
kd = require 'kd'
kookies = require 'kookies'
createFormData = (teamData) ->
teamData ?= utils.getTeamData()
formData = {}
for own step, fields of teamData when not ('boolean' is typeof fields)
for own field, value of fields
if step is 'invite'
unless formData... | 87028 | $ = require 'jquery'
kd = require 'kd'
kookies = require 'kookies'
createFormData = (teamData) ->
teamData ?= utils.getTeamData()
formData = {}
for own step, fields of teamData when not ('boolean' is typeof fields)
for own field, value of fields
if step is 'invite'
unless formData... | true | $ = require 'jquery'
kd = require 'kd'
kookies = require 'kookies'
createFormData = (teamData) ->
teamData ?= utils.getTeamData()
formData = {}
for own step, fields of teamData when not ('boolean' is typeof fields)
for own field, value of fields
if step is 'invite'
unless formData... |
[
{
"context": "p = shell()\n app.hook 'hook_sth',\n pass: 'sth'\n , (context, handler) ->\n context.pass =",
"end": 634,
"score": 0.8537655472755432,
"start": 631,
"tag": "PASSWORD",
"value": "sth"
},
{
"context": " , (context, handler) ->\n context.pass = 'sth... | packages/shell/test/api.hook.coffee | adaltas/node-shell | 15 |
shell = require '../src'
describe 'api.hook', ->
it 'validation', ->
(->
shell().hook 'hook_sth'
).should.throw 'Invalid Hook Argument: function hook expect 3 or 4 arguments name, args, hooks? and handler, got 1 arguments'
it 'return value from handler', ->
app = shell()
app.hook 'hook... | 80351 |
shell = require '../src'
describe 'api.hook', ->
it 'validation', ->
(->
shell().hook 'hook_sth'
).should.throw 'Invalid Hook Argument: function hook expect 3 or 4 arguments name, args, hooks? and handler, got 1 arguments'
it 'return value from handler', ->
app = shell()
app.hook 'hook... | true |
shell = require '../src'
describe 'api.hook', ->
it 'validation', ->
(->
shell().hook 'hook_sth'
).should.throw 'Invalid Hook Argument: function hook expect 3 or 4 arguments name, args, hooks? and handler, got 1 arguments'
it 'return value from handler', ->
app = shell()
app.hook 'hook... |
[
{
"context": "me[channel] =\n player1:\n nick: from.nick\n pick: 0\n player2:\n ",
"end": 1703,
"score": 0.9923962950706482,
"start": 1694,
"tag": "USERNAME",
"value": "from.nick"
},
{
"context": " other users!'\n version: '0.5'\n au... | plugins/rps_game.coffee | Arrogance/nerdobot | 1 |
module.exports = ->
command = @config.prefix + "rps"
game = []
delay = (ms, func) => setTimeout func, ms
help = (from) =>
@say from.nick,
banner "#{@BOLD}How to play?#{@RESET}"
@say from.nick,
"First, you need to start a game with the command #{@BOLD}#{command} " +
"start#{@RESE... | 61837 |
module.exports = ->
command = @config.prefix + "rps"
game = []
delay = (ms, func) => setTimeout func, ms
help = (from) =>
@say from.nick,
banner "#{@BOLD}How to play?#{@RESET}"
@say from.nick,
"First, you need to start a game with the command #{@BOLD}#{command} " +
"start#{@RESE... | true |
module.exports = ->
command = @config.prefix + "rps"
game = []
delay = (ms, func) => setTimeout func, ms
help = (from) =>
@say from.nick,
banner "#{@BOLD}How to play?#{@RESET}"
@say from.nick,
"First, you need to start a game with the command #{@BOLD}#{command} " +
"start#{@RESE... |
[
{
"context": " account: @syno.account\n passwd: @syno.passwd\n session: sessionName\n form",
"end": 440,
"score": 0.9989168047904968,
"start": 428,
"tag": "PASSWORD",
"value": "@syno.passwd"
}
] | src/syno/Auth.coffee | weshouman/syno | 252 | # Auth API
class Auth extends API
# API name
api = 'SYNO.API.Auth'
# API version
version = 3
# API path
path = 'auth.cgi'
# Login to Syno
# `done` [Function] Callback called when the login processed is complete
login: (sessionName, done)->
# API method is `login`
me... | 64143 | # Auth API
class Auth extends API
# API name
api = 'SYNO.API.Auth'
# API version
version = 3
# API path
path = 'auth.cgi'
# Login to Syno
# `done` [Function] Callback called when the login processed is complete
login: (sessionName, done)->
# API method is `login`
me... | true | # Auth API
class Auth extends API
# API name
api = 'SYNO.API.Auth'
# API version
version = 3
# API path
path = 'auth.cgi'
# Login to Syno
# `done` [Function] Callback called when the login processed is complete
login: (sessionName, done)->
# API method is `login`
me... |
[
{
"context": "保存する\n# hubot 登録内容教えて - 登録内容を表示する\n#\n# Author:\n# aha-oretama <sekine_y_529@msn.com>\n\nOperationHelper = require",
"end": 378,
"score": 0.9917982220649719,
"start": 367,
"tag": "USERNAME",
"value": "aha-oretama"
},
{
"context": " 登録内容教えて - 登録内容を表示する\n#\n# Author:\... | scripts/amazon-ec.coffee | aha-oretama/oretamaBot | 0 | # Description
# hubot scripts for amazon-product-api hubot
#
# Commands:
# hubot kindle最新刊探して <title> - kindle 版の最新刊を検索して表示
# hubot comic最新刊探して <title> - コミック(kindle除く)版の最新刊を検索して表示
# hubot kindle登録して <title>[,<title>,...] - kindle 版の最新刊を探す条件を保存する
# hubot comic登録して <title>[,<title>,...] - comic 版の最新刊を探す条件を保存する... | 112107 | # Description
# hubot scripts for amazon-product-api hubot
#
# Commands:
# hubot kindle最新刊探して <title> - kindle 版の最新刊を検索して表示
# hubot comic最新刊探して <title> - コミック(kindle除く)版の最新刊を検索して表示
# hubot kindle登録して <title>[,<title>,...] - kindle 版の最新刊を探す条件を保存する
# hubot comic登録して <title>[,<title>,...] - comic 版の最新刊を探す条件を保存する... | true | # Description
# hubot scripts for amazon-product-api hubot
#
# Commands:
# hubot kindle最新刊探して <title> - kindle 版の最新刊を検索して表示
# hubot comic最新刊探して <title> - コミック(kindle除く)版の最新刊を検索して表示
# hubot kindle登録して <title>[,<title>,...] - kindle 版の最新刊を探す条件を保存する
# hubot comic登録して <title>[,<title>,...] - comic 版の最新刊を探す条件を保存する... |
[
{
"context": "'href=\"https://peoplefinder.service.gov.uk/people/john-smith\">John Smith</a>' +\n '</body>')\n $(doc",
"end": 379,
"score": 0.997896671295166,
"start": 369,
"tag": "USERNAME",
"value": "john-smith"
},
{
"context": "://peoplefinder.service.gov.uk/people/joh... | spec/javascripts/analytics/analytics_event_spec.coffee | cybersquirrel/peoplefinder | 16 | //= require modules/analytics_event
describe 'AnalyticsEvent', ->
element = null
describe 'given there is "data-event-category" anchor link', ->
beforeEach ->
element = $('<body>' +
'<a id="a_link" data-event-category="Search result" ' +
'data-event-action="Click result 1" ' +
'... | 14569 | //= require modules/analytics_event
describe 'AnalyticsEvent', ->
element = null
describe 'given there is "data-event-category" anchor link', ->
beforeEach ->
element = $('<body>' +
'<a id="a_link" data-event-category="Search result" ' +
'data-event-action="Click result 1" ' +
'... | true | //= require modules/analytics_event
describe 'AnalyticsEvent', ->
element = null
describe 'given there is "data-event-category" anchor link', ->
beforeEach ->
element = $('<body>' +
'<a id="a_link" data-event-category="Search result" ' +
'data-event-action="Click result 1" ' +
'... |
[
{
"context": " username: process.env.OS_USERNAME\n # apiKey: process.env.OS_PASSWORD\n # region: process.env.OS_REGION_N",
"end": 429,
"score": 0.7381636500358582,
"start": 418,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "cess.env.OS_USERNAME\n # apiKey: p... | lib/storage-client.coffee | mtdev2/atom-cloud-sync | 0 | pkgcloud = require 'pkgcloud'
fs = require 'fs'
# Just placing this here to have a dummy callback.
#
genericCallback = (err, result) ->
if err?
console.error(err)
else
console.log(result)
module.exports =
class StorageClient
# Cloud Storage
#
# Accepts a pkgcloud credential object
#
# Example:
... | 68440 | pkgcloud = require 'pkgcloud'
fs = require 'fs'
# Just placing this here to have a dummy callback.
#
genericCallback = (err, result) ->
if err?
console.error(err)
else
console.log(result)
module.exports =
class StorageClient
# Cloud Storage
#
# Accepts a pkgcloud credential object
#
# Example:
... | true | pkgcloud = require 'pkgcloud'
fs = require 'fs'
# Just placing this here to have a dummy callback.
#
genericCallback = (err, result) ->
if err?
console.error(err)
else
console.log(result)
module.exports =
class StorageClient
# Cloud Storage
#
# Accepts a pkgcloud credential object
#
# Example:
... |
[
{
"context": "s = do $('#cpasswd').val\n pass1 = do $('#npasswd1').val\n pass2 = do $('#npasswd2').val\n\n ",
"end": 634,
"score": 0.7671859264373779,
"start": 629,
"tag": "PASSWORD",
"value": "asswd"
},
{
"context": "ass = do $('#cpasswd').val\n pass1 = do $('... | wsgi/training/static/coffee/settings.coffee | akolar/training | 0 | $ ->
$('.settings form').submit false
$('[data-action="default"]').change ->
field = $(this)
$.ajax
url: '/settings/save/' + this.id
method: 'PUT'
data: { value: do field.val }
success: (data, textStatus, jqXHR) ->
if data.success
... | 144368 | $ ->
$('.settings form').submit false
$('[data-action="default"]').change ->
field = $(this)
$.ajax
url: '/settings/save/' + this.id
method: 'PUT'
data: { value: do field.val }
success: (data, textStatus, jqXHR) ->
if data.success
... | true | $ ->
$('.settings form').submit false
$('[data-action="default"]').change ->
field = $(this)
$.ajax
url: '/settings/save/' + this.id
method: 'PUT'
data: { value: do field.val }
success: (data, textStatus, jqXHR) ->
if data.success
... |
[
{
"context": "#\n# The main Coookie class\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nclass Cookie\n extend:\n #\n # Sets the coo",
"end": 67,
"score": 0.9998869299888611,
"start": 50,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/cookie/src/cookie.coffee | lovely-io/lovely.io-stl | 2 | #
# The main Coookie class
#
# Copyright (C) 2011 Nikolay Nemshilov
#
class Cookie
extend:
#
# Sets the coookie
#
# @param {String} cookie name
# @param {mixed} cookie value
# @param {Object} options
# @return {Cookie} object
#
set: (name, value, options)->
new Cookie(name, o... | 109447 | #
# The main Coookie class
#
# Copyright (C) 2011 <NAME>
#
class Cookie
extend:
#
# Sets the coookie
#
# @param {String} cookie name
# @param {mixed} cookie value
# @param {Object} options
# @return {Cookie} object
#
set: (name, value, options)->
new Cookie(name, options).set... | true | #
# The main Coookie class
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
class Cookie
extend:
#
# Sets the coookie
#
# @param {String} cookie name
# @param {mixed} cookie value
# @param {Object} options
# @return {Cookie} object
#
set: (name, value, options)->
new Cookie(name... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998752474784851,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Static/Tools.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Crypt = use('@Konsserto/Component/Static/Crypt')
Q = use('q')
#
# Tools
#
# @author Je... | 204752 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Crypt = use('@Konsserto/Component/Static/Crypt')
Q = use('q')
#
# Tools
#
# @author <NAME> <<EMAIL>>
#
cla... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Crypt = use('@Konsserto/Component/Static/Crypt')
Q = use('q')
#
# Tools
#
# @... |
[
{
"context": "###\n @author Curtis M. Humphrey, Ph.D.\n \n The files adds a KO binding for Morf\n",
"end": 32,
"score": 0.999880313873291,
"start": 14,
"tag": "NAME",
"value": "Curtis M. Humphrey"
},
{
"context": "ockoutjs\n Morf - from Morf (https://github.com/joelambert/morf)... | bower_components/kox_morf/kox_morf.coffee | CurtisHumphrey/mobile_class_2014 | 1 | ###
@author Curtis M. Humphrey, Ph.D.
The files adds a KO binding for Morf
Dependence (from global namespace):
ko - knockoutjs
Morf - from Morf (https://github.com/joelambert/morf)
Public API, Fired Events, or Exports
export on ko as a new binding e.g., data-bind="morf: value"
... | 87692 | ###
@author <NAME>, Ph.D.
The files adds a KO binding for Morf
Dependence (from global namespace):
ko - knockoutjs
Morf - from Morf (https://github.com/joelambert/morf)
Public API, Fired Events, or Exports
export on ko as a new binding e.g., data-bind="morf: value"
where value... | true | ###
@author PI:NAME:<NAME>END_PI, Ph.D.
The files adds a KO binding for Morf
Dependence (from global namespace):
ko - knockoutjs
Morf - from Morf (https://github.com/joelambert/morf)
Public API, Fired Events, or Exports
export on ko as a new binding e.g., data-bind="morf: value"
... |
[
{
"context": ", expireTime = null,\n isOpen = true, password = null, isExam = false,\n examPassword = null, useBlac",
"end": 1220,
"score": 0.9719780683517456,
"start": 1216,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "xpireTime\n @isOpen = isOpen\n @password ... | model.coffee | AlynxZhou/coffee-danmaku-server | 6 | fs = require("fs")
Promise = require("bluebird")
fp = require("fastify-plugin")
module.exports = fp((fastify, opts, next) ->
{redis} = fastify
Promise.promisifyAll(redis)
class Danmaku
constructor: (content = "", color = "white",
position = "fly", offset = Date.now()) ->
@content = content
@... | 12808 | fs = require("fs")
Promise = require("bluebird")
fp = require("fastify-plugin")
module.exports = fp((fastify, opts, next) ->
{redis} = fastify
Promise.promisifyAll(redis)
class Danmaku
constructor: (content = "", color = "white",
position = "fly", offset = Date.now()) ->
@content = content
@... | true | fs = require("fs")
Promise = require("bluebird")
fp = require("fastify-plugin")
module.exports = fp((fastify, opts, next) ->
{redis} = fastify
Promise.promisifyAll(redis)
class Danmaku
constructor: (content = "", color = "white",
position = "fly", offset = Date.now()) ->
@content = content
@... |
[
{
"context": "\"rsync\",\n options:\n src: \".\"\n host: \"tim@tbranyen.com\"\n recursive: true\n syncDestIgnoreExcl: ",
"end": 127,
"score": 0.9999300241470337,
"start": 111,
"tag": "EMAIL",
"value": "tim@tbranyen.com"
}
] | build/tasks/rsync.coffee | tbranyen/tbranyen.com | 3 | module.exports = ->
@loadNpmTasks "grunt-rsync"
@config "rsync",
options:
src: "."
host: "tim@tbranyen.com"
recursive: true
syncDestIgnoreExcl: true
exclude: [
"/.git"
"/node_modules"
"/content"
]
staging:
options:
dest: "/var/site... | 121721 | module.exports = ->
@loadNpmTasks "grunt-rsync"
@config "rsync",
options:
src: "."
host: "<EMAIL>"
recursive: true
syncDestIgnoreExcl: true
exclude: [
"/.git"
"/node_modules"
"/content"
]
staging:
options:
dest: "/var/sites/tbranye... | true | module.exports = ->
@loadNpmTasks "grunt-rsync"
@config "rsync",
options:
src: "."
host: "PI:EMAIL:<EMAIL>END_PI"
recursive: true
syncDestIgnoreExcl: true
exclude: [
"/.git"
"/node_modules"
"/content"
]
staging:
options:
dest: "/va... |
[
{
"context": "\n\nApollos.company.upsert {name: \"Dapper Ink\"},\n $set:\n name: \"Dapper Ink\"\n description",
"end": 43,
"score": 0.8976413607597351,
"start": 33,
"tag": "NAME",
"value": "Dapper Ink"
},
{
"context": "y.upsert {name: \"Dapper Ink\"},\n $set:\n name: \"Dap... | _source/server/startup/company.coffee | jbaxleyiii/dapperink | 0 |
Apollos.company.upsert {name: "Dapper Ink"},
$set:
name: "Dapper Ink"
description: "Welcome to Dapper Ink. We're your one-stop-shop for all things print and design. Working in the beautiful upstate of South Carolina since 2007, we serve our local and regional community by providing top notch artwork and pri... | 102952 |
Apollos.company.upsert {name: "<NAME>"},
$set:
name: "<NAME>"
description: "Welcome to <NAME>. We're your one-stop-shop for all things print and design. Working in the beautiful upstate of South Carolina since 2007, we serve our local and regional community by providing top notch artwork and printed goods. ... | true |
Apollos.company.upsert {name: "PI:NAME:<NAME>END_PI"},
$set:
name: "PI:NAME:<NAME>END_PI"
description: "Welcome to PI:NAME:<NAME>END_PI. We're your one-stop-shop for all things print and design. Working in the beautiful upstate of South Carolina since 2007, we serve our local and regional community by provi... |
[
{
"context": "ion : false\n port: 587\n auth :\n user: 'postmaster@sandboxc57ee3cd15174479a4cbb190a16016aa.mailgun.org'\n pass: '1e6d200349ec37b81317c862cb7d24a3'\ne",
"end": 438,
"score": 0.999775230884552,
"start": 376,
"tag": "EMAIL",
"value": "postmaster@sandboxc57ee3cd15... | api/src/logger.coffee | MollardMichael/scrumble | 27 | moment = require 'moment'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
if process.env.SMTP_HOST and process.env.SMTP_USER and process.env.SMTP_PASS and process.env.EMAIL_CONTACT
smtpTransport = nodemailer.createTransport smtpTransport
host : 'smtp.mailgun.org'
secureC... | 182445 | moment = require 'moment'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
if process.env.SMTP_HOST and process.env.SMTP_USER and process.env.SMTP_PASS and process.env.EMAIL_CONTACT
smtpTransport = nodemailer.createTransport smtpTransport
host : 'smtp.mailgun.org'
secureC... | true | moment = require 'moment'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
if process.env.SMTP_HOST and process.env.SMTP_USER and process.env.SMTP_PASS and process.env.EMAIL_CONTACT
smtpTransport = nodemailer.createTransport smtpTransport
host : 'smtp.mailgun.org'
secureC... |
[
{
"context": "---------------------------------\n# Copyright 2013 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 1449,
"score": 0.9998195767402649,
"start": 1434,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | test/test-dirs.coffee | pmuellr/cat-source-map | 1 | # Licensed under the Apache License. See footer for details.
path = require "path"
_ = require "underscore"
expect = require "expect.js"
utils = require "./utils"
csm = require "../lib/cat-source-map"
testName = (path.basename __filename).split(".")[0]
testDir = path.join "tmp", testName
#-----------------... | 184481 | # Licensed under the Apache License. See footer for details.
path = require "path"
_ = require "underscore"
expect = require "expect.js"
utils = require "./utils"
csm = require "../lib/cat-source-map"
testName = (path.basename __filename).split(".")[0]
testDir = path.join "tmp", testName
#-----------------... | true | # Licensed under the Apache License. See footer for details.
path = require "path"
_ = require "underscore"
expect = require "expect.js"
utils = require "./utils"
csm = require "../lib/cat-source-map"
testName = (path.basename __filename).split(".")[0]
testDir = path.join "tmp", testName
#-----------------... |
[
{
"context": " undefined, dev\n\n API.mail.send\n to: 'alert@cottagelabs.com'\n subject: 'User fix complete'\n tex",
"end": 2142,
"score": 0.9999259114265442,
"start": 2121,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
}
] | noddy/service/v2/scripts/cleanusers.coffee | oaworks/API | 2 |
API.add 'service/oab/scripts/useres',
get:
action: () ->
dev = if this.queryParams.live is true then false else true
counter = 0
cased = 0
dups = 0
_ck = (rec) ->
counter += 1
try
eml = rec.email ? rec.emails[0].address
cased += 1 if eml.toLowerC... | 14154 |
API.add 'service/oab/scripts/useres',
get:
action: () ->
dev = if this.queryParams.live is true then false else true
counter = 0
cased = 0
dups = 0
_ck = (rec) ->
counter += 1
try
eml = rec.email ? rec.emails[0].address
cased += 1 if eml.toLowerC... | true |
API.add 'service/oab/scripts/useres',
get:
action: () ->
dev = if this.queryParams.live is true then false else true
counter = 0
cased = 0
dups = 0
_ck = (rec) ->
counter += 1
try
eml = rec.email ? rec.emails[0].address
cased += 1 if eml.toLowerC... |
[
{
"context": "ing: false\n \"exception-reporting\":\n userId: \"5516c064-1a60-ca2e-7b05-71c5e27ee570\"\n \"one-dark-ui\": {}\n \"one-light-ui\": {}\n \"tree",
"end": 642,
"score": 0.6314547061920166,
"start": 607,
"tag": "PASSWORD",
"value": "516c064-1a60-ca2e-7b05-71c5e27ee570"
}
] | config.cson | MattMS/my_atom_settings | 0 | "*":
core:
audioBeep: false
autoHideMenuBar: true
disabledPackages: [
"vim-surround"
"vim-mode"
]
excludeVcsIgnoredPaths: true
packagesWithKeymapsDisabled: [
"emmet"
]
telemetryConsent: "limited"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
... | 91638 | "*":
core:
audioBeep: false
autoHideMenuBar: true
disabledPackages: [
"vim-surround"
"vim-mode"
]
excludeVcsIgnoredPaths: true
packagesWithKeymapsDisabled: [
"emmet"
]
telemetryConsent: "limited"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
... | true | "*":
core:
audioBeep: false
autoHideMenuBar: true
disabledPackages: [
"vim-surround"
"vim-mode"
]
excludeVcsIgnoredPaths: true
packagesWithKeymapsDisabled: [
"emmet"
]
telemetryConsent: "limited"
themes: [
"one-dark-ui"
"solarized-dark-syntax"
]
... |
[
{
"context": "Mocha-cakes Reference ========\nhttps://github.com/quangv/mocha-cakes\nhttps://github.com/visionmedia/should",
"end": 349,
"score": 0.9995520710945129,
"start": 343,
"tag": "USERNAME",
"value": "quangv"
},
{
"context": "/github.com/quangv/mocha-cakes\nhttps://github.com... | src/test/simulator_spec.coffee | NicMcPhee/whooping-crane-model | 0 | 'use strict'
require 'mocha-cakes'
ModelParameters = require '../lib/model_parameters'
Clock = require '../lib/clock'
Bird = require '../lib/bird'
Nesting = require '../lib/nesting'
Population = require '../lib/population'
Simulator = require '../lib/simulator'
###
======== A Handy Little Mocha-cakes Reference =====... | 139478 | 'use strict'
require 'mocha-cakes'
ModelParameters = require '../lib/model_parameters'
Clock = require '../lib/clock'
Bird = require '../lib/bird'
Nesting = require '../lib/nesting'
Population = require '../lib/population'
Simulator = require '../lib/simulator'
###
======== A Handy Little Mocha-cakes Reference =====... | true | 'use strict'
require 'mocha-cakes'
ModelParameters = require '../lib/model_parameters'
Clock = require '../lib/clock'
Bird = require '../lib/bird'
Nesting = require '../lib/nesting'
Population = require '../lib/population'
Simulator = require '../lib/simulator'
###
======== A Handy Little Mocha-cakes Reference =====... |
[
{
"context": "l '#new_prisoner',\n 'prisoner[first_name]': 'Jimmy'\n 'prisoner[last_name]': 'Harris'\n 'pri",
"end": 704,
"score": 0.9998365640640259,
"start": 699,
"tag": "NAME",
"value": "Jimmy"
},
{
"context": "rst_name]': 'Jimmy'\n 'prisoner[last_name]': 'Harr... | tests/full_process.coffee | ministryofjustice/prison-visits | 9 | casper.test.on 'fail', ->
casper.capture 'tests/failure.png'
outputImages = if casper.cli.get('images') is 'on' then true else false
casper.test.begin 'Prison Visit Booking: Step 1 - prisoner details', (test) ->
casper.start 'http://localhost:3000'
casper.viewport 1024, 768
casper.then ->
@fillSelector... | 16639 | casper.test.on 'fail', ->
casper.capture 'tests/failure.png'
outputImages = if casper.cli.get('images') is 'on' then true else false
casper.test.begin 'Prison Visit Booking: Step 1 - prisoner details', (test) ->
casper.start 'http://localhost:3000'
casper.viewport 1024, 768
casper.then ->
@fillSelector... | true | casper.test.on 'fail', ->
casper.capture 'tests/failure.png'
outputImages = if casper.cli.get('images') is 'on' then true else false
casper.test.begin 'Prison Visit Booking: Step 1 - prisoner details', (test) ->
casper.start 'http://localhost:3000'
casper.viewport 1024, 768
casper.then ->
@fillSelector... |
[
{
"context": " columns: [\n {data: 'email'}\n {data: 'full_name'}\n {data: 'role'}\n {data: 'status'}\n ",
"end": 237,
"score": 0.9611555933952332,
"start": 228,
"tag": "NAME",
"value": "full_name"
}
] | app/assets/javascripts/user.coffee | wagura-maurice/glowing-umbrella | 0 | ready = ->
$('#users-table').dataTable
processing: true
serverSide: true
ajax: $('#users-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'email'}
{data: 'full_name'}
{data: 'role'}
{data: 'status'}
]
$(document).ready(ready)
$(do... | 195268 | ready = ->
$('#users-table').dataTable
processing: true
serverSide: true
ajax: $('#users-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'email'}
{data: '<NAME>'}
{data: 'role'}
{data: 'status'}
]
$(document).ready(ready)
$(docum... | true | ready = ->
$('#users-table').dataTable
processing: true
serverSide: true
ajax: $('#users-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'email'}
{data: 'PI:NAME:<NAME>END_PI'}
{data: 'role'}
{data: 'status'}
]
$(document).ready(... |
[
{
"context": " type: 'artwork',\n artist: name: 'Van Gogh', slug: 'van-gogh'\n partner: name: 'Part",
"end": 861,
"score": 0.9998332858085632,
"start": 853,
"tag": "NAME",
"value": "Van Gogh"
}
] | components/article/test/image_set.coffee | kanaabe/microgravity | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
describe 'ImageSetView', ->
before (done) ->
benv.setup ... | 192585 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
describe 'ImageSetView', ->
before (done) ->
benv.setup ... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
describe 'ImageSetView', ->
before (done) ->
benv.setup ... |
[
{
"context": "mentShader: [\r\n\r\n \"// The 'Storm Shader' by Dmytry Lavrov, Copyright 2012 (http://dmytry.com/) with permiss",
"end": 1732,
"score": 0.9998976588249207,
"start": 1719,
"tag": "NAME",
"value": "Dmytry Lavrov"
},
{
"context": "ght 2012 (http://dmytry.com/) with... | project/develop/coffee/ifl/shaders/IFLTornadoShader.coffee | GyanaPrasannaa/oz-experiment | 0 | class IFLTornadoShader
uniforms: null
constructor:->
@uniforms =
"tDiffuse": { type: "t", value: null }
"time": { type: "f", value: 0 }
"resolution": { type: "v2", value: new THREE.Vector2(0,0) }
"camera_matrix": { type: "m4", v... | 183151 | class IFLTornadoShader
uniforms: null
constructor:->
@uniforms =
"tDiffuse": { type: "t", value: null }
"time": { type: "f", value: 0 }
"resolution": { type: "v2", value: new THREE.Vector2(0,0) }
"camera_matrix": { type: "m4", v... | true | class IFLTornadoShader
uniforms: null
constructor:->
@uniforms =
"tDiffuse": { type: "t", value: null }
"time": { type: "f", value: 0 }
"resolution": { type: "v2", value: new THREE.Vector2(0,0) }
"camera_matrix": { type: "m4", v... |
[
{
"context": "enderd = soyerInst.render( \"test.test2\", { name: \"soyer\" } )\n\t\t\t_renderd.should.equal( \"Hello soyer\" )\n\t\t",
"end": 992,
"score": 0.9803107976913452,
"start": 987,
"tag": "NAME",
"value": "soyer"
},
{
"context": "name: \"soyer\" } )\n\t\t\t_renderd.should.eq... | _src/test/test.coffee | mpneuried/soyer | 2 | _ = require("lodash")
path = require "path"
should = require('should')
Soyer = require("../lib/soyer/")
_Cnf =
path: path.resolve( __dirname, "./tmpls/" )
pathLang: path.resolve( __dirname, "./tmplsLang/" )
describe 'SOYER-TEST', ->
before ( done )->
done()
return
after ( done )->
done()
return
d... | 193755 | _ = require("lodash")
path = require "path"
should = require('should')
Soyer = require("../lib/soyer/")
_Cnf =
path: path.resolve( __dirname, "./tmpls/" )
pathLang: path.resolve( __dirname, "./tmplsLang/" )
describe 'SOYER-TEST', ->
before ( done )->
done()
return
after ( done )->
done()
return
d... | true | _ = require("lodash")
path = require "path"
should = require('should')
Soyer = require("../lib/soyer/")
_Cnf =
path: path.resolve( __dirname, "./tmpls/" )
pathLang: path.resolve( __dirname, "./tmplsLang/" )
describe 'SOYER-TEST', ->
before ( done )->
done()
return
after ( done )->
done()
return
d... |
[
{
"context": "ngoose.model(\"User\")\n user = new User {\"email\": \"zjj@163.com\", \"password\": \"12345678\", \"confirmPassword\": \"123",
"end": 497,
"score": 0.9999241232872009,
"start": 486,
"tag": "EMAIL",
"value": "zjj@163.com"
},
{
"context": " = new User {\"email\": \"zjj@1... | test_node/07.coffee | ZengJunyong/mean-140921 | 0 | mongoose = require 'mongoose'
mongoose.set 'debug', true # change to false if don't want log on console
mongoose.connect 'mongodb://localhost/mean-dev', {}, (err)->
if err
console.error 'Error:', err.message
return console.error '**Could not connect to MongoDB. Please ensure mongod is running and restart MEA... | 86743 | mongoose = require 'mongoose'
mongoose.set 'debug', true # change to false if don't want log on console
mongoose.connect 'mongodb://localhost/mean-dev', {}, (err)->
if err
console.error 'Error:', err.message
return console.error '**Could not connect to MongoDB. Please ensure mongod is running and restart MEA... | true | mongoose = require 'mongoose'
mongoose.set 'debug', true # change to false if don't want log on console
mongoose.connect 'mongodb://localhost/mean-dev', {}, (err)->
if err
console.error 'Error:', err.message
return console.error '**Could not connect to MongoDB. Please ensure mongod is running and restart MEA... |
[
{
"context": "# author Alex Robson\n# copyright appendTo, 2012\n#\n# license MIT\n# Crea",
"end": 20,
"score": 0.9998421669006348,
"start": 9,
"tag": "NAME",
"value": "Alex Robson"
},
{
"context": "2012\n#\n# license MIT\n# Created February 2, 2012 by Alex Robson\n\nspawnBunny = requ... | examples/node-to-erlang/rest-api/topology.coffee | arobson/vorperl | 1 | # author Alex Robson
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by Alex Robson
spawnBunny = require('./rabbit').broker
sys = require 'util'
uuid = require 'uuid-lib'
Reservations = () ->
self = this
accumulator = 0
declareExchange = (x) ->
broker.exchange x.name, x.opts , onExchangeCom... | 89357 | # author <NAME>
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by <NAME>
spawnBunny = require('./rabbit').broker
sys = require 'util'
uuid = require 'uuid-lib'
Reservations = () ->
self = this
accumulator = 0
declareExchange = (x) ->
broker.exchange x.name, x.opts , onExchangeComplete
de... | true | # author PI:NAME:<NAME>END_PI
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by PI:NAME:<NAME>END_PI
spawnBunny = require('./rabbit').broker
sys = require 'util'
uuid = require 'uuid-lib'
Reservations = () ->
self = this
accumulator = 0
declareExchange = (x) ->
broker.exchange x.name, x.op... |
[
{
"context": "态为解析:\"+status\n RongIMLib.RongIMClient.connect \"BIG85AHHpMAXYvnD2DSgnLrkPG6U/xPk3zvPIWf9le1hEGTTL55/U07yY3a+mzGazeB0RzEl9Y46MnCyDLVMAw==\",\n onSuccess:(userId)->\n console.",
"end": 777,
"score": 0.9990614056587219,
"start": 687,
"tag": "KEY",
"value": "... | test/spec/webSqlProviderSpec.coffee | nojsja/rongcloud-web-im-sdk-v2 | 98 | describe "RongIMClient",->
RongIMLib.RongIMClient.init("8luwapkvucoil",new RongIMLib.WebSQLDataProvider)
RongIMLib.RongIMClient.setOnReceiveMessageListener onReceived: (message) ->
console.log message.content.content
console.log message
RongIMLib.RongIMClient.setConnectionStatusListener onChange... | 47267 | describe "RongIMClient",->
RongIMLib.RongIMClient.init("8luwapkvucoil",new RongIMLib.WebSQLDataProvider)
RongIMLib.RongIMClient.setOnReceiveMessageListener onReceived: (message) ->
console.log message.content.content
console.log message
RongIMLib.RongIMClient.setConnectionStatusListener onChange... | true | describe "RongIMClient",->
RongIMLib.RongIMClient.init("8luwapkvucoil",new RongIMLib.WebSQLDataProvider)
RongIMLib.RongIMClient.setOnReceiveMessageListener onReceived: (message) ->
console.log message.content.content
console.log message
RongIMLib.RongIMClient.setConnectionStatusListener onChange... |
[
{
"context": "onnector_startup', 'Connector starting',\n {user: 'varuna'}\nLOG 'info', 'connector_startup', 'Connector sta",
"end": 100,
"score": 0.9918544292449951,
"start": 94,
"tag": "USERNAME",
"value": "varuna"
},
{
"context": "onnector_startup', 'Connector starting',\n {user: '... | test.coffee | vpj/log.js | 0 | LOG = (require './log').log
LOG 'debug', 'connector_startup', 'Connector starting',
{user: 'varuna'}
LOG 'info', 'connector_startup', 'Connector starting'
LOG 'warn', 'connector_startup', 'Connector starting',
{user: 'varuna'}
{stack: false}
LOG 'error', 'connector_startup', 'Connector starting',
{user: 'varuna'}
... | 30889 | LOG = (require './log').log
LOG 'debug', 'connector_startup', 'Connector starting',
{user: 'varuna'}
LOG 'info', 'connector_startup', 'Connector starting'
LOG 'warn', 'connector_startup', 'Connector starting',
{user: 'varuna'}
{stack: false}
LOG 'error', 'connector_startup', 'Connector starting',
{user: 'varuna'}
... | true | LOG = (require './log').log
LOG 'debug', 'connector_startup', 'Connector starting',
{user: 'varuna'}
LOG 'info', 'connector_startup', 'Connector starting'
LOG 'warn', 'connector_startup', 'Connector starting',
{user: 'varuna'}
{stack: false}
LOG 'error', 'connector_startup', 'Connector starting',
{user: 'varuna'}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.