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": "eEach ->\n\t\t@callback = sinon.stub()\n\t\t@user_id = \"user-id-123\"\n\t\t@AuthenticationController =\n\t\t\tgetLogge",
"end": 286,
"score": 0.7447068095207214,
"start": 282,
"tag": "USERNAME",
"value": "user"
},
{
"context": "h ->\n\t\t@callback = sinon.stub()\n\t\t@... | test/unit/coffee/History/HistoryManagerTests.coffee | davidmehren/web-sharelatex | 1 | chai = require('chai')
chai.should()
expect = chai.expect
sinon = require("sinon")
modulePath = "../../../../app/js/Features/History/HistoryManager"
SandboxedModule = require('sandboxed-module')
describe "HistoryManager", ->
beforeEach ->
@callback = sinon.stub()
@user_id = "user-id-123"
@AuthenticationControll... | 208683 | chai = require('chai')
chai.should()
expect = chai.expect
sinon = require("sinon")
modulePath = "../../../../app/js/Features/History/HistoryManager"
SandboxedModule = require('sandboxed-module')
describe "HistoryManager", ->
beforeEach ->
@callback = sinon.stub()
@user_id = "user-<PASSWORD>-1<PASSWORD>"
@Authen... | true | chai = require('chai')
chai.should()
expect = chai.expect
sinon = require("sinon")
modulePath = "../../../../app/js/Features/History/HistoryManager"
SandboxedModule = require('sandboxed-module')
describe "HistoryManager", ->
beforeEach ->
@callback = sinon.stub()
@user_id = "user-PI:PASSWORD:<PASSWORD>END_PI-1PI:... |
[
{
"context": "hclaw/pawn-sublime-language\n# Converter created by Renato \"Hii\" Garcia\n# Repo: https://github.com/Renato-Garc",
"end": 163,
"score": 0.8408027291297913,
"start": 157,
"tag": "NAME",
"value": "Renato"
},
{
"context": "n-sublime-language\n# Converter created by Renato... | snippets/SIF.Item.pwn.cson | Wuzi/language-pawn | 4 | # SIF.Item.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateItem':
'prefix': 'Create... | 140054 | # SIF.Item.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateItem':
'prefix': 'CreateItem'... | true | # SIF.Item.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateItem'... |
[
{
"context": ").data('autosave-key')\n key = autosaveToken + '-' + autosaveKey\n\n value = getItem(key)\n\n ",
"end": 1203,
"score": 0.5300992727279663,
"start": 1200,
"tag": "KEY",
"value": "'-'"
},
{
"context": ").data('autosave-token')\n key = autosaveToken + '-'... | app/assets/javascripts/frontend/local_storage.js.coffee | bitzesty/qavs-v2 | 2 | # LS => Local Storage
if window.LS != undefined
window.alert 'LS is already defined'
window.LS = do ->
init = ->
autosaveToken = $('body').data('autosave-token')
$('[data-behavior="autosave"]').keyup ->
autosaveKey = $(this).data('autosave-key')
key = autosaveToken + '-' + autosaveKey
... | 211852 | # LS => Local Storage
if window.LS != undefined
window.alert 'LS is already defined'
window.LS = do ->
init = ->
autosaveToken = $('body').data('autosave-token')
$('[data-behavior="autosave"]').keyup ->
autosaveKey = $(this).data('autosave-key')
key = autosaveToken + '-' + autosaveKey
... | true | # LS => Local Storage
if window.LS != undefined
window.alert 'LS is already defined'
window.LS = do ->
init = ->
autosaveToken = $('body').data('autosave-token')
$('[data-behavior="autosave"]').keyup ->
autosaveKey = $(this).data('autosave-key')
key = autosaveToken + '-' + autosaveKey
... |
[
{
"context": " email: tbMember.email\n name: tbMember.name\n avatarUrl: tbMember.avatarUrl\n cal",
"end": 1972,
"score": 0.5018848776817322,
"start": 1968,
"tag": "NAME",
"value": "name"
}
] | talk-api2x/server/syncers/teambition.coffee | ikingye/talk-os | 3,084 | _ = require 'lodash'
Err = require 'err1st'
Promise = require 'bluebird'
request = require 'request'
limbo = require 'limbo'
{
TeamModel
UserModel
} = limbo.use 'talk'
tbAccountUrl = 'https://account.teambition.com'
tbApiUrl = 'https://www.teambition.com/api'
module.exports = teambition =
getTeams: (union, c... | 29781 | _ = require 'lodash'
Err = require 'err1st'
Promise = require 'bluebird'
request = require 'request'
limbo = require 'limbo'
{
TeamModel
UserModel
} = limbo.use 'talk'
tbAccountUrl = 'https://account.teambition.com'
tbApiUrl = 'https://www.teambition.com/api'
module.exports = teambition =
getTeams: (union, c... | true | _ = require 'lodash'
Err = require 'err1st'
Promise = require 'bluebird'
request = require 'request'
limbo = require 'limbo'
{
TeamModel
UserModel
} = limbo.use 'talk'
tbAccountUrl = 'https://account.teambition.com'
tbApiUrl = 'https://www.teambition.com/api'
module.exports = teambition =
getTeams: (union, c... |
[
{
"context": "eds\"\nphase: \"beta\"\nphase_modifier: \"Public\"\nsro: \"Angela McDonald\"\nservice_man: \"Pete Desmond\"\nfacing: \"internal\"\np",
"end": 246,
"score": 0.9998900294303894,
"start": 231,
"tag": "NAME",
"value": "Angela McDonald"
},
{
"context": "er: \"Public\"\nsro: ... | app/data/projects/jobseeker-services.cson | tsmorgan/dwp-ux-work | 0 | id: 14
name: "Enhancing Jobseeker Services"
description: "Lets agents keep in contact with people looking for work, to help them find employment."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "Angela McDonald"
service_man: "Pete Desmond"
facing: "internal"
phase_history:
discover... | 67309 | id: 14
name: "Enhancing Jobseeker Services"
description: "Lets agents keep in contact with people looking for work, to help them find employment."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "<NAME>"
service_man: "<NAME>"
facing: "internal"
phase_history:
discovery: [
{
... | true | id: 14
name: "Enhancing Jobseeker Services"
description: "Lets agents keep in contact with people looking for work, to help them find employment."
theme: "Working Age"
location: "Leeds"
phase: "beta"
phase_modifier: "Public"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
facing: "internal"
phase_histor... |
[
{
"context": " expect(item0.find '.item-name').to.have.text 'Third Item'\n expect(item0.find '.item-name",
"end": 12995,
"score": 0.9245580434799194,
"start": 12990,
"tag": "NAME",
"value": "Third"
},
{
"context": " expect(item0.find '.item-name i').to.have.text 'Thi... | views/filter-input-view.spec.coffee | kpunith8/gringotts | 0 | import Chaplin from 'chaplin'
import {keys} from '../lib/utils'
import FilterSelection from '../models/filter-selection'
import FilterInputView from './filter-input-view'
setQuery = (view, query) ->
view.$('input').val(query).trigger $.Event 'keyup'
describe 'FilterInputView', ->
sandbox = null
collection = nul... | 49292 | import Chaplin from 'chaplin'
import {keys} from '../lib/utils'
import FilterSelection from '../models/filter-selection'
import FilterInputView from './filter-input-view'
setQuery = (view, query) ->
view.$('input').val(query).trigger $.Event 'keyup'
describe 'FilterInputView', ->
sandbox = null
collection = nul... | true | import Chaplin from 'chaplin'
import {keys} from '../lib/utils'
import FilterSelection from '../models/filter-selection'
import FilterInputView from './filter-input-view'
setQuery = (view, query) ->
view.$('input').val(query).trigger $.Event 'keyup'
describe 'FilterInputView', ->
sandbox = null
collection = nul... |
[
{
"context": "###\n\nThe top row editor for WolfCage.\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 61,
"score": 0.9998790621757507,
"start": 47,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": ".\n\n@author Destin Moulton\n@git https... | src/TopRowEditor.coffee | destinmoulton/cagen | 0 | ###
The top row editor for WolfCage.
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The user can edit the top/root row, allowing them to "seed"
the generator to test configurations and create new variations
on the st... | 117889 | ###
The top row editor for WolfCage.
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The user can edit the top/root row, allowing them to "seed"
the generator to test configurations and create new variations
on the standard r... | true | ###
The top row editor for WolfCage.
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The user can edit the top/root row, allowing them to "seed"
the generator to test configurations and create new variations
on ... |
[
{
"context": " If the problem persists, contact <a href='mailto:support@artsy.net'>support@artsy.net</a>.\n \"\"\"\n\n render: ->",
"end": 1638,
"score": 0.9999212622642517,
"start": 1621,
"tag": "EMAIL",
"value": "support@artsy.net"
},
{
"context": "sists, contact <a href='m... | src/desktop/apps/user/components/delete_my_account/view.coffee | kanaabe/force | 1 | Q = require 'bluebird-q'
Backbone = require 'backbone'
Form = require '../../../../components/form/index.coffee'
FlashMessage = require '../../../../components/flash/index.coffee'
template = -> require('./index.jade') arguments...
module.exports = class DeleteMyAccountView extends Backbone.View
className: 'settings-... | 12901 | Q = require 'bluebird-q'
Backbone = require 'backbone'
Form = require '../../../../components/form/index.coffee'
FlashMessage = require '../../../../components/flash/index.coffee'
template = -> require('./index.jade') arguments...
module.exports = class DeleteMyAccountView extends Backbone.View
className: 'settings-... | true | Q = require 'bluebird-q'
Backbone = require 'backbone'
Form = require '../../../../components/form/index.coffee'
FlashMessage = require '../../../../components/flash/index.coffee'
template = -> require('./index.jade') arguments...
module.exports = class DeleteMyAccountView extends Backbone.View
className: 'settings-... |
[
{
"context": "###\n\tfile: src/server/user-srvr\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 55,
"score": 0.9997206330299377,
"start": 46,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://github.com... | src/server/user-srvr.coffee | mark-hahn/bace | 1 | ###
file: src/server/user-srvr
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
require 'colors'
hash = md5: (text) -> require('crypto').createHash('md5').update(text).digest 'hex'
defaultUserData = require './default-settings'
user... | 92007 | ###
file: src/server/user-srvr
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
require 'colors'
hash = md5: (text) -> require('crypto').createHash('md5').update(text).digest 'hex'
defaultUserData = require './default-settings'
user = ... | true | ###
file: src/server/user-srvr
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
require 'colors'
hash = md5: (text) -> require('crypto').createHash('md5').update(text).digest 'hex'
defaultUserData = require './default-sett... |
[
{
"context": "ction =\n Collection:\n profile :[\n name: \"Valtid\"\n age: \"26\"\n ]\nperson =\n age: 18\n name:",
"end": 62,
"score": 0.9998282194137573,
"start": 56,
"tag": "NAME",
"value": "Valtid"
},
{
"context": "erson =\n age: 18\n name:\n birth:\n ... | test/unit/observe.coffee | valtido/ason-js | 0 | xcollection =
Collection:
profile :[
name: "Valtid"
age: "26"
]
person =
age: 18
name:
birth:
first:'Valtid'
last: 'Caushi'
current:
first:'Lee'
last: 'Mack'
children:['Tom','Ben','Mike']
mixed: [
'Manchester'
'London'
{"town":"barnet", "interest... | 179986 | xcollection =
Collection:
profile :[
name: "<NAME>"
age: "26"
]
person =
age: 18
name:
birth:
first:'<NAME>'
last: '<NAME>'
current:
first:'<NAME>'
last: '<NAME>'
children:['<NAME>','<NAME>','<NAME>']
mixed: [
'Manchester'
'London'
{"town":"barne... | true | xcollection =
Collection:
profile :[
name: "PI:NAME:<NAME>END_PI"
age: "26"
]
person =
age: 18
name:
birth:
first:'PI:NAME:<NAME>END_PI'
last: 'PI:NAME:<NAME>END_PI'
current:
first:'PI:NAME:<NAME>END_PI'
last: 'PI:NAME:<NAME>END_PI'
children:['PI:NAME:<NAME>EN... |
[
{
"context": "'use strict'\n\n###*\n # By Mo Binni\n###\napp = angular.module('materialDatePicker', []",
"end": 33,
"score": 0.9993063807487488,
"start": 25,
"tag": "NAME",
"value": "Mo Binni"
}
] | src/components/material-date-picker/app/scripts/mbdatepicker.coffee | MrLizs/sangongAgencyManager | 0 | 'use strict'
###*
# By Mo Binni
###
app = angular.module('materialDatePicker', [])
contains = (container, contained) ->
node = contained.parentNode
while (node != null && node != container)
node = node.parentNode
node != null
app.directive("outsideClick", ['$document', '$parse', ($document, $parse) ->
l... | 37491 | 'use strict'
###*
# By <NAME>
###
app = angular.module('materialDatePicker', [])
contains = (container, contained) ->
node = contained.parentNode
while (node != null && node != container)
node = node.parentNode
node != null
app.directive("outsideClick", ['$document', '$parse', ($document, $parse) ->
lin... | true | 'use strict'
###*
# By PI:NAME:<NAME>END_PI
###
app = angular.module('materialDatePicker', [])
contains = (container, contained) ->
node = contained.parentNode
while (node != null && node != container)
node = node.parentNode
node != null
app.directive("outsideClick", ['$document', '$parse', ($document, $p... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9813612699508667,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "button)\n\n\n\t\tcheckBox = new C... | demo/src/demos/ControlsDemo.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
###
class Demo.ControlsDemo extends Demo
getGroup: ->
"Test"
addControlExample: (text,control) ->
... | 133929 | ###
* 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
###
class Demo.ControlsDemo extends Demo
getGroup: ->
"Test"
addControlExample: (text,control) ->
... | 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
###
class Demo.ControlsDemo extends Demo
getGroup: ->
"Test"
addControlExample: (text,control) ->
... |
[
{
"context": "ros\"\n contact: \"Contacta\"\n twitter_follow: \"Síguenos\"\n employers: \"Empresas\"\n\n versions:\n save_",
"end": 741,
"score": 0.9986255764961243,
"start": 733,
"tag": "USERNAME",
"value": "Síguenos"
},
{
"context": "unt_title: \"recuperar cuenta\"\n ... | app/locale/es-ES.coffee | JeremyGeros/codecombat | 0 | module.exports = nativeDescription: "español (ES)", englishDescription: "Spanish (Spain)", translation:
common:
loading: "Cargando..."
saving: "Guardando..."
sending: "Enviando..."
cancel: "Cancelar"
save: "Guardar"
delay_1_sec: "1 segundo"
delay_3_sec: "3 segundos"
delay_5_sec: "5 seg... | 74886 | module.exports = nativeDescription: "español (ES)", englishDescription: "Spanish (Spain)", translation:
common:
loading: "Cargando..."
saving: "Guardando..."
sending: "Enviando..."
cancel: "Cancelar"
save: "Guardar"
delay_1_sec: "1 segundo"
delay_3_sec: "3 segundos"
delay_5_sec: "5 seg... | true | module.exports = nativeDescription: "español (ES)", englishDescription: "Spanish (Spain)", translation:
common:
loading: "Cargando..."
saving: "Guardando..."
sending: "Enviando..."
cancel: "Cancelar"
save: "Guardar"
delay_1_sec: "1 segundo"
delay_3_sec: "3 segundos"
delay_5_sec: "5 seg... |
[
{
"context": "# Description:\n# Marvin, the Paranoid Android, from The Hitchhiker's Guid",
"end": 25,
"score": 0.9989502429962158,
"start": 19,
"tag": "NAME",
"value": "Marvin"
},
{
"context": "ved me\n# hubot how is your life?\n#\n# Author:\n# jweslley\n\nquotes = [\n \"Life!... | src/scripts/marvin-quotes.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Marvin, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"Life! Don't talk to me about life",
"Life, loathe it or ignore it, ... | 175112 | # Description:
# <NAME>, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"Life! Don't talk to me about life",
"Life, loathe it or ignore it, ... | true | # Description:
# PI:NAME:<NAME>END_PI, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"Life! Don't talk to me about life",
"Life, loathe it ... |
[
{
"context": "f @egData?\n return @egData\n base64Data = 'W3sidDEiOiAiU09EYUxHIiwidDIiOiAiIWV2aWxhIGxsaXRzIG1hIEkiLCJ0MyI6ICJTT0RhTEcvbGJtZWhjL21vYy5idWh0aW'+\n 'cvLzpzcHR0aCJ9LHsidDEiOiAib2lDTmVEb0ogU0",
"end": 2399,
"score": 0.9997646808624268,
"start": 2301,
"tag": "KEY",
"va... | src/glados/static/coffee/models/SearchModel.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | # This model defines the simple and advanced search fields,
# and it is in charge of coordinating the query among the other models
SearchModel = Backbone.Model.extend
# --------------------------------------------------------------------------------------------------------------------
# Attributes
# ------------... | 175150 | # This model defines the simple and advanced search fields,
# and it is in charge of coordinating the query among the other models
SearchModel = Backbone.Model.extend
# --------------------------------------------------------------------------------------------------------------------
# Attributes
# ------------... | true | # This model defines the simple and advanced search fields,
# and it is in charge of coordinating the query among the other models
SearchModel = Backbone.Model.extend
# --------------------------------------------------------------------------------------------------------------------
# Attributes
# ------------... |
[
{
"context": "kana functionality to an input tag.\n#\n# Written by Andreas Argelius (andreas@argeli.us)\n# Release under the BSD licen",
"end": 135,
"score": 0.9998946189880371,
"start": 119,
"tag": "NAME",
"value": "Andreas Argelius"
},
{
"context": "to an input tag.\n#\n# Written b... | kana/jquery.kana.coffee | argelius/jquery-kana-input | 3 | #
# jQuery-kana v0.1.0
#
# jQuery Plugin that adds hiragana and katakana functionality to an input tag.
#
# Written by Andreas Argelius (andreas@argeli.us)
# Release under the BSD license.
#
$ ->
getCursorPosition = (element) ->
el = $(element).get 0
pos = 0
if "selectionStart" of el
... | 129640 | #
# jQuery-kana v0.1.0
#
# jQuery Plugin that adds hiragana and katakana functionality to an input tag.
#
# Written by <NAME> (<EMAIL>)
# Release under the BSD license.
#
$ ->
getCursorPosition = (element) ->
el = $(element).get 0
pos = 0
if "selectionStart" of el
pos = el.selec... | true | #
# jQuery-kana v0.1.0
#
# jQuery Plugin that adds hiragana and katakana functionality to an input tag.
#
# Written by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# Release under the BSD license.
#
$ ->
getCursorPosition = (element) ->
el = $(element).get 0
pos = 0
if "selectionStart" of ... |
[
{
"context": "ES_ID: '572a7996b5989e6f98f77992'\n EMBEDLY_KEY: 'a1f82558d8134f6cbebceb9e67d04980'\n EOY_2016_ARTICLE: '58472d93b7b31d00116f5ab0'\n ",
"end": 1796,
"score": 0.9997749924659729,
"start": 1764,
"tag": "KEY",
"value": "a1f82558d8134f6cbebceb9e67d04980"
},
{
"context": "... | src/desktop/config.coffee | joeyAghion/force | 1 | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all
# environment configuration will live in environment variables. This file
# simply lays out all of those environment variables with sensible defaults
# for development.
#
module.exports =
ACTIVE_BIDS_POLL_INTERVAL: 5000
ADMIN_URL: 'https:... | 72236 | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all
# environment configuration will live in environment variables. This file
# simply lays out all of those environment variables with sensible defaults
# for development.
#
module.exports =
ACTIVE_BIDS_POLL_INTERVAL: 5000
ADMIN_URL: 'https:... | true | #
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all
# environment configuration will live in environment variables. This file
# simply lays out all of those environment variables with sensible defaults
# for development.
#
module.exports =
ACTIVE_BIDS_POLL_INTERVAL: 5000
ADMIN_URL: 'https:... |
[
{
"context": ", next) ->\n res.header 'X-Clacks-Overhead', 'GNU Terry Pratchett'\n next()\n \n # Standard Middleware\n ",
"end": 858,
"score": 0.9998348355293274,
"start": 839,
"tag": "NAME",
"value": "GNU Terry Pratchett"
}
] | lib/foaas.coffee | eddelbuettel/foaas | 0 | express = require 'express'
bodyParser = require('body-parser')
methodOverride = require('method-override')
fs = require 'fs'
path = require 'path'
npmPackage = require path.resolve(__dirname,'../package.json')
newrelic = require 'newrelic'
_ = require 'underscore'
module.exports = class FOAAS
VERSION: npmPackage.... | 100362 | express = require 'express'
bodyParser = require('body-parser')
methodOverride = require('method-override')
fs = require 'fs'
path = require 'path'
npmPackage = require path.resolve(__dirname,'../package.json')
newrelic = require 'newrelic'
_ = require 'underscore'
module.exports = class FOAAS
VERSION: npmPackage.... | true | express = require 'express'
bodyParser = require('body-parser')
methodOverride = require('method-override')
fs = require 'fs'
path = require 'path'
npmPackage = require path.resolve(__dirname,'../package.json')
newrelic = require 'newrelic'
_ = require 'underscore'
module.exports = class FOAAS
VERSION: npmPackage.... |
[
{
"context": "----------------------------------\n getName: ()-> @name\n\n # ----------------------------------------",
"end": 6913,
"score": 0.8785010576248169,
"start": 6913,
"tag": "USERNAME",
"value": ""
},
{
"context": " this.addAuxView(@backlight, true) # Bug found by Mike S... | app-src/avatar.coffee | hyperbotic/crowdgame-trivially | 0 | # ==================================================================================================================
# Represents a group of avatars that work together as a team
# Generally speaking, there is only one instance of AvatarSet around at a time
#
class AvatarSet
gInstance = null
# --------------------... | 155440 | # ==================================================================================================================
# Represents a group of avatars that work together as a team
# Generally speaking, there is only one instance of AvatarSet around at a time
#
class AvatarSet
gInstance = null
# --------------------... | true | # ==================================================================================================================
# Represents a group of avatars that work together as a team
# Generally speaking, there is only one instance of AvatarSet around at a time
#
class AvatarSet
gInstance = null
# --------------------... |
[
{
"context": "ect\n @client.addProject {\n name: \"testProject\"\n path: projectPath\n inc",
"end": 1111,
"score": 0.5976106524467468,
"start": 1107,
"tag": "NAME",
"value": "test"
}
] | test/client/client.coffee | davgit/takana | 1 | Client = require '../../lib/client'
Server = require '../../lib/server'
path = require 'path'
shell = require 'shelljs'
describe 'Client', ->
before ->
@client = new Client()
context 'server running', ->
before (done) ->
testDB = path.join(__dirname, '..', 'tmp', 'database.yml')
shell.rm ... | 57189 | Client = require '../../lib/client'
Server = require '../../lib/server'
path = require 'path'
shell = require 'shelljs'
describe 'Client', ->
before ->
@client = new Client()
context 'server running', ->
before (done) ->
testDB = path.join(__dirname, '..', 'tmp', 'database.yml')
shell.rm ... | true | Client = require '../../lib/client'
Server = require '../../lib/server'
path = require 'path'
shell = require 'shelljs'
describe 'Client', ->
before ->
@client = new Client()
context 'server running', ->
before (done) ->
testDB = path.join(__dirname, '..', 'tmp', 'database.yml')
shell.rm ... |
[
{
"context": "ernal, treenode, general concept\n\nAuthors\n-------\nphilippe.billet@noos.fr\n\nParameters\n----------\nx\n\nGeneral description\n---",
"end": 180,
"score": 0.9997978210449219,
"start": 157,
"tag": "EMAIL",
"value": "philippe.billet@noos.fr"
}
] | node_modules/algebrite/sources/erf.coffee | souzamonteiro/maialexa | 928 | ### erf =====================================================================
Tags
----
scripting, JS, internal, treenode, general concept
Authors
-------
philippe.billet@noos.fr
Parameters
----------
x
General description
-------------------
Error function erf(x).
erf(-x)=erf(x)
###
Eval_erf = ->
push(cadr(p... | 51919 | ### erf =====================================================================
Tags
----
scripting, JS, internal, treenode, general concept
Authors
-------
<EMAIL>
Parameters
----------
x
General description
-------------------
Error function erf(x).
erf(-x)=erf(x)
###
Eval_erf = ->
push(cadr(p1))
Eval()
y... | true | ### erf =====================================================================
Tags
----
scripting, JS, internal, treenode, general concept
Authors
-------
PI:EMAIL:<EMAIL>END_PI
Parameters
----------
x
General description
-------------------
Error function erf(x).
erf(-x)=erf(x)
###
Eval_erf = ->
push(cadr(p1... |
[
{
"context": "callback) ->\n auth.setPassword(newPassword)\n callback(null, true, auth)\n ",
"end": 1634,
"score": 0.7100038528442383,
"start": 1623,
"tag": "PASSWORD",
"value": "newPassword"
}
] | src/server/settings/password_view.coffee | LaPingvino/rizzoma | 88 | async = require('async')
SettingsGroupView = require('./settings_group_view').SettingsGroupView
{AuthCouchProcessor} = require('../auth/couch_processor')
AuthUtils = require('../auth/utils').AuthUtils
{MIN_PASS_LENGTH} = require('../auth/password/views')
class PasswordSettingsView extends SettingsGroupView
###
... | 159418 | async = require('async')
SettingsGroupView = require('./settings_group_view').SettingsGroupView
{AuthCouchProcessor} = require('../auth/couch_processor')
AuthUtils = require('../auth/utils').AuthUtils
{MIN_PASS_LENGTH} = require('../auth/password/views')
class PasswordSettingsView extends SettingsGroupView
###
... | true | async = require('async')
SettingsGroupView = require('./settings_group_view').SettingsGroupView
{AuthCouchProcessor} = require('../auth/couch_processor')
AuthUtils = require('../auth/utils').AuthUtils
{MIN_PASS_LENGTH} = require('../auth/password/views')
class PasswordSettingsView extends SettingsGroupView
###
... |
[
{
"context": "ick =>\n jQuery(\".businessContact\").text \"Danke schön!\"\n grdata = annotation.getGRDataResource",
"end": 15298,
"score": 0.999801516532898,
"start": 15287,
"tag": "NAME",
"value": "Danke schön"
}
] | src/plugins/bookingplugin.coffee | tkurz/lime | 1 | class window.BookingPlugin extends window.LimePlugin
init: ->
@name = 'BookingPlugin'
annotation = undefined
console.info "Initialize BusinessPlugin"
for annotation in @lime.annotations
if annotation.resource.value.indexOf("#BusinessEntity") > 0 and annotation.relation.value in ['http://connect... | 164182 | class window.BookingPlugin extends window.LimePlugin
init: ->
@name = 'BookingPlugin'
annotation = undefined
console.info "Initialize BusinessPlugin"
for annotation in @lime.annotations
if annotation.resource.value.indexOf("#BusinessEntity") > 0 and annotation.relation.value in ['http://connect... | true | class window.BookingPlugin extends window.LimePlugin
init: ->
@name = 'BookingPlugin'
annotation = undefined
console.info "Initialize BusinessPlugin"
for annotation in @lime.annotations
if annotation.resource.value.indexOf("#BusinessEntity") > 0 and annotation.relation.value in ['http://connect... |
[
{
"context": ":\n#\n# Configuration:\n#\n# Commands:\n#\n# Author:\n# Thomas Howe - ghostofbasho@gmail.com\n#\n\n\nRequest = require('r",
"end": 126,
"score": 0.9998671412467957,
"start": 115,
"tag": "NAME",
"value": "Thomas Howe"
},
{
"context": "ation:\n#\n# Commands:\n#\n# Autho... | src/scripts/slackbot.coffee | green-bot/hubot-session | 1 | # Description:
# Handles slack bot interface.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# Thomas Howe - ghostofbasho@gmail.com
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
ShortUUID = require 'shortid'
autoReconnect = true
autoMark = true
mo... | 122451 | # Description:
# Handles slack bot interface.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# <NAME> - <EMAIL>
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
ShortUUID = require 'shortid'
autoReconnect = true
autoMark = true
module.exports = (robo... | true | # Description:
# Handles slack bot interface.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
ShortUUID = require 'shortid'
autoReconnect = true
autoMark = ... |
[
{
"context": " comments = $('.comment').bookmark {csrfToken: \"foobar\", target: \"/foo/\"}\n mark = comments.first().da",
"end": 480,
"score": 0.5097491145133972,
"start": 474,
"tag": "PASSWORD",
"value": "foobar"
},
{
"context": "sFor(0)).toEqual ['/foo/', {csrfmiddlewaretoken... | spirit/static/spirit/scripts/test/suites/bookmark-spec.coffee | rterehov/Spirit | 1 | describe "bookmark plugin tests", ->
comments = null
mark = null
Bookmark = null
Mark = null
post = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'bookmark.html'
post = spyOn $, 'post'
post.and.callFake (req) ->
d ... | 107909 | describe "bookmark plugin tests", ->
comments = null
mark = null
Bookmark = null
Mark = null
post = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'bookmark.html'
post = spyOn $, 'post'
post.and.callFake (req) ->
d ... | true | describe "bookmark plugin tests", ->
comments = null
mark = null
Bookmark = null
Mark = null
post = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'bookmark.html'
post = spyOn $, 'post'
post.and.callFake (req) ->
d ... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.9998676180839539,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/analytics.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Analytics
# ---------
# Analytics capture end-user interactions and usage details which can be used to improve the
# extension.
#
# Although enabled by default, the user can disable the capturing o... | 75602 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Analytics
# ---------
# Analytics capture end-user interactions and usage details which can be used to improve the
# extension.
#
# Although enabled by default, the user can disable the capturing of this in... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Analytics
# ---------
# Analytics capture end-user interactions and usage details which can be used to improve the
# extension.
#
# Although enabled by default, the user can disable the captur... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 52,
"score": 0.9998687505722046,
"start": 33,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "#\n QuoJS 2.1\n (c) 2011, 2012 Javi Jimén... | src/QuoJS/src/quo.output.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.text = (value) ->
if value or $$.toType(value) is "number"
@each -> @textContent = value
else
@[0].textContent
$$.fn.html = (value) ->
type = $$.toType(val... | 125526 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.text = (value) ->
if value or $$.toType(value) is "number"
@each -> @textContent = value
else
@[0].textContent
$$.fn.html = (value) ->
type = $$.toType(value)
... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
$$.fn.text = (value) ->
if value or $$.toType(value) is "number"
@each -> @textContent = value
else
@[0].textContent
$$.fn.html = (value) ->
type = $$.toType(va... |
[
{
"context": "yer.stop()\n\n # Init player\n jwplayer.key = '4gVHb6YLGPN+fAQv2lAlnYkV8junOc194OCFsA=='\n tplayer = jwplayer 'player'\n\n # Get locale",
"end": 551,
"score": 0.9997714757919312,
"start": 510,
"tag": "KEY",
"value": "4gVHb6YLGPN+fAQv2lAlnYkV8junOc194OCFsA=='"
},
... | app/assets/javascripts/home.js.coffee | climategames/climategames-website | 0 | jQuery ->
onTrailerPage = ->
$('#trailer-modal').length > 0
onWrapupPage = ->
$('#wrapup-modal').length > 0
# If on the home page
if onTrailerPage()
$('#launch-trailer').on 'click', (e) ->
e.preventDefault()
# Open modal
$('#trailer-modal').modal()
# Automatically play pl... | 29717 | jQuery ->
onTrailerPage = ->
$('#trailer-modal').length > 0
onWrapupPage = ->
$('#wrapup-modal').length > 0
# If on the home page
if onTrailerPage()
$('#launch-trailer').on 'click', (e) ->
e.preventDefault()
# Open modal
$('#trailer-modal').modal()
# Automatically play pl... | true | jQuery ->
onTrailerPage = ->
$('#trailer-modal').length > 0
onWrapupPage = ->
$('#wrapup-modal').length > 0
# If on the home page
if onTrailerPage()
$('#launch-trailer').on 'click', (e) ->
e.preventDefault()
# Open modal
$('#trailer-modal').modal()
# Automatically play pl... |
[
{
"context": "setCardSetId(CardSet.Coreshatter)\n\t\t\tcard.name = \"Mythron Wanderer\"\n\t\t\tcard.setDescription(\"Trial: Have no duplicate",
"end": 4284,
"score": 0.9996716380119324,
"start": 4268,
"tag": "NAME",
"value": "Mythron Wanderer"
},
{
"context": "card.factionId = Factio... | app/sdk/cards/factory/coreshatter/neutral.coffee | willroberts/duelyst | 5 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | 55847 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | true | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... |
[
{
"context": "om the world\n @STYLE_NAME = 'name' # A name like Scott set up for the Wizard\n # We might want to combin",
"end": 297,
"score": 0.9922735691070557,
"start": 292,
"tag": "NAME",
"value": "Scott"
},
{
"context": "combine 'say' and 'name'; they're very similar\n # Nic... | app/lib/surface/Label.coffee | cihatislamdede/codecombat | 4,858 | CocoClass = require 'core/CocoClass'
createjs = require 'lib/createjs-parts'
module.exports = class Label extends CocoClass
@STYLE_DIALOGUE = 'dialogue' # A speech bubble from a script
@STYLE_SAY = 'say' # A piece of text generated from the world
@STYLE_NAME = 'name' # A name like Scott set up for the Wizard
... | 5711 | CocoClass = require 'core/CocoClass'
createjs = require 'lib/createjs-parts'
module.exports = class Label extends CocoClass
@STYLE_DIALOGUE = 'dialogue' # A speech bubble from a script
@STYLE_SAY = 'say' # A piece of text generated from the world
@STYLE_NAME = 'name' # A name like <NAME> set up for the Wizard... | true | CocoClass = require 'core/CocoClass'
createjs = require 'lib/createjs-parts'
module.exports = class Label extends CocoClass
@STYLE_DIALOGUE = 'dialogue' # A speech bubble from a script
@STYLE_SAY = 'say' # A piece of text generated from the world
@STYLE_NAME = 'name' # A name like PI:NAME:<NAME>END_PI set up ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985939860343933,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-readable-flow-recursion.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... | 110051 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n@author Will Steinmetz\njQuery notification plug-in inspired by the notif",
"end": 26,
"score": 0.9998598098754883,
"start": 12,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ication style of Windows 8\nCopyright (c)2013-2015, Will Steinmetz\nLicensed u... | public/third_party/notific8/src/coffee/jquery.notific8.coffee | pvndn/spa | 130 | ###
@author Will Steinmetz
jQuery notification plug-in inspired by the notification style of Windows 8
Copyright (c)2013-2015, Will Steinmetz
Licensed under the BSD license.
http://opensource.org/licenses/BSD-3-Clause
###
(($) ->
"use strict"
self = undefined
settings =
life: 10000
family: 'legacy'
t... | 62906 | ###
@author <NAME>
jQuery notification plug-in inspired by the notification style of Windows 8
Copyright (c)2013-2015, <NAME>
Licensed under the BSD license.
http://opensource.org/licenses/BSD-3-Clause
###
(($) ->
"use strict"
self = undefined
settings =
life: 10000
family: 'legacy'
theme: "teal"
... | true | ###
@author PI:NAME:<NAME>END_PI
jQuery notification plug-in inspired by the notification style of Windows 8
Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
Licensed under the BSD license.
http://opensource.org/licenses/BSD-3-Clause
###
(($) ->
"use strict"
self = undefined
settings =
life: 10000
family: 'l... |
[
{
"context": ".items'\n for item in @items\n name = item[@opts.mention.nameKey]\n pinyin = item[@opts.mention.pinyinKey]\n ",
"end": 2517,
"score": 0.8281640410423279,
"start": 2497,
"tag": "EMAIL",
"value": "opts.mention.nameKey"
},
{
"context": " item[@opts.mention.n... | src/simditor-mention.coffee | mycolorway/simditor-mention | 20 | class SimditorMention extends SimpleModule
@pluginName: 'Mention'
opts:
mention: false
active: false
keys:
BACKSPACE: 8
TAB: 9
ENTER: 13
SHIFT: 16
CTRL: 17
ALT: 18
ESC: 27
SPACE: 32
LEFT: 37
UP: 38
RIGHT: 39
DOWN: 40
_init: ->
return unless @opts.me... | 150616 | class SimditorMention extends SimpleModule
@pluginName: 'Mention'
opts:
mention: false
active: false
keys:
BACKSPACE: 8
TAB: 9
ENTER: 13
SHIFT: 16
CTRL: 17
ALT: 18
ESC: 27
SPACE: 32
LEFT: 37
UP: 38
RIGHT: 39
DOWN: 40
_init: ->
return unless @opts.me... | true | class SimditorMention extends SimpleModule
@pluginName: 'Mention'
opts:
mention: false
active: false
keys:
BACKSPACE: 8
TAB: 9
ENTER: 13
SHIFT: 16
CTRL: 17
ALT: 18
ESC: 27
SPACE: 32
LEFT: 37
UP: 38
RIGHT: 39
DOWN: 40
_init: ->
return unless @opts.me... |
[
{
"context": "ach ->\n $.cloudinary.config\n cloud_name: \"test123\"\n secure_distribution: null\n private_cd",
"end": 319,
"score": 0.9957877397537231,
"start": 312,
"tag": "USERNAME",
"value": "test123"
},
{
"context": ": null\n cdn_subdomain: false\n ap... | test/spec/videourlspec.coffee | tutored/cloudinary_js | 0 |
test_cloudinary_url = (public_id, options, expected_url, expected_options) ->
result = $.cloudinary.url_internal(public_id, options)
expect(options).toEqual(expected_options)
expect(result).toEqual(expected_url)
describe "Cloudinary::Utils", ->
beforeEach ->
$.cloudinary.config
cloud_name: "test123"... | 157036 |
test_cloudinary_url = (public_id, options, expected_url, expected_options) ->
result = $.cloudinary.url_internal(public_id, options)
expect(options).toEqual(expected_options)
expect(result).toEqual(expected_url)
describe "Cloudinary::Utils", ->
beforeEach ->
$.cloudinary.config
cloud_name: "test123"... | true |
test_cloudinary_url = (public_id, options, expected_url, expected_options) ->
result = $.cloudinary.url_internal(public_id, options)
expect(options).toEqual(expected_options)
expect(result).toEqual(expected_url)
describe "Cloudinary::Utils", ->
beforeEach ->
$.cloudinary.config
cloud_name: "test123"... |
[
{
"context": "9, cost: 36000, duration: {days: 3}},\n {name: \"Intelligence VI\", level: 70, members: 9, cost: 49000, duration: {",
"end": 3270,
"score": 0.643853485584259,
"start": 3255,
"tag": "NAME",
"value": "Intelligence VI"
},
{
"context": "000, duration: {days: 3, hours: 12... | src/character/guildBuffs/GuildIntelligence.coffee | sadbear-/IdleLands | 0 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Intelligence I guild buff increases Intelligence.
*
* @name Intelligence I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% INT
* @duration 1 day
* @category Intelligence
* @package GuildBuf... | 157817 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Intelligence I guild buff increases Intelligence.
*
* @name Intelligence I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% INT
* @duration 1 day
* @category Intelligence
* @package GuildBuf... | true |
GuildBuff = require "../base/GuildBuff"
`/**
* The Intelligence I guild buff increases Intelligence.
*
* @name Intelligence I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% INT
* @duration 1 day
* @category Intelligence
* @package GuildBuf... |
[
{
"context": "###\n\tfile: src/server/dirbox-srvr\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 58,
"score": 0.9996265769004822,
"start": 49,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://github... | src/server/dirbox-srvr.coffee | mark-hahn/bace | 1 | ###
file: src/server/dirbox-srvr
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
maxLineWidth = 80
_ = require 'underscore'
path = require 'path'
exec = require('child_process').exec
dirbox = exports
dirbox.init = (client) ->
client.on 'execDir', (data) ->
text = dat... | 31706 | ###
file: src/server/dirbox-srvr
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
maxLineWidth = 80
_ = require 'underscore'
path = require 'path'
exec = require('child_process').exec
dirbox = exports
dirbox.init = (client) ->
client.on 'execDir', (data) ->
text = data.t... | true | ###
file: src/server/dirbox-srvr
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
maxLineWidth = 80
_ = require 'underscore'
path = require 'path'
exec = require('child_process').exec
dirbox = exports
dirbox.init = (client) ->
client.on 'execDir', (data) ->
... |
[
{
"context": " email:email\n password:password\n dataType: 'json'\n type: 'P",
"end": 332,
"score": 0.9985049366950989,
"start": 324,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " email:email\n pass... | www_local/static/coffee/login.coffee | 2218084076/hotpoor_autoclick_xhs | 1 | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
$ ->
$("body").on "click",".login",(evt)->
email = $("input.email").val()
password = $("input.password").val()
$.ajax
url:"/api/login"
data:
email:email
passw... | 152139 | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
$ ->
$("body").on "click",".login",(evt)->
email = $("input.email").val()
password = $("input.password").val()
$.ajax
url:"/api/login"
data:
email:email
passw... | true | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
$ ->
$("body").on "click",".login",(evt)->
email = $("input.email").val()
password = $("input.password").val()
$.ajax
url:"/api/login"
data:
email:email
passw... |
[
{
"context": "## EzCake Cake File Generator\n#### (c)2012-2014 Van Carney\nclass ezcake\n version: '0.0.1'\n module_path:pro",
"end": 58,
"score": 0.9995868802070618,
"start": 48,
"tag": "NAME",
"value": "Van Carney"
}
] | src/coffee/ezcake.coffee | vancarney/ezcake | 0 | ## EzCake Cake File Generator
#### (c)2012-2014 Van Carney
class ezcake
version: '0.0.1'
module_path:process.mainModule.filename.split('/bin').shift()
config_path:"data/json/default"
#### Constructor Method
constructor:()->
@configs = new ConfigLoader
@user_home_exists = false
@user_config_exis... | 155618 | ## EzCake Cake File Generator
#### (c)2012-2014 <NAME>
class ezcake
version: '0.0.1'
module_path:process.mainModule.filename.split('/bin').shift()
config_path:"data/json/default"
#### Constructor Method
constructor:()->
@configs = new ConfigLoader
@user_home_exists = false
@user_config_exists ... | true | ## EzCake Cake File Generator
#### (c)2012-2014 PI:NAME:<NAME>END_PI
class ezcake
version: '0.0.1'
module_path:process.mainModule.filename.split('/bin').shift()
config_path:"data/json/default"
#### Constructor Method
constructor:()->
@configs = new ConfigLoader
@user_home_exists = false
@user_c... |
[
{
"context": "tId) ->\n @eventId = eventId\n @storageKey = \"rosterState-#{@eventId}\"\n @readStateFromLocalStorage(eventI",
"end": 133,
"score": 0.6631573438644409,
"start": 121,
"tag": "KEY",
"value": "rosterState-"
},
{
"context": "entId = eventId\n @storageKey = \"ros... | app/assets/javascripts/events/models/RosterState.js.coffee | andyl/BAMRU-Private | 1 | class BB.Models.RosterState extends Backbone.Model
initialize: (eventId) ->
@eventId = eventId
@storageKey = "rosterState-#{@eventId}"
@readStateFromLocalStorage(eventId)
@bind("change", @stateChanged)
stateChanged: ->
@saveStateToLocalStorage()
BB.vent.trigger("rosterState:changed", @)
... | 209496 | class BB.Models.RosterState extends Backbone.Model
initialize: (eventId) ->
@eventId = eventId
@storageKey = "<KEY>#{@<KEY>}"
@readStateFromLocalStorage(eventId)
@bind("change", @stateChanged)
stateChanged: ->
@saveStateToLocalStorage()
BB.vent.trigger("rosterState:changed", @)
resetSta... | true | class BB.Models.RosterState extends Backbone.Model
initialize: (eventId) ->
@eventId = eventId
@storageKey = "PI:KEY:<KEY>END_PI#{@PI:KEY:<KEY>END_PI}"
@readStateFromLocalStorage(eventId)
@bind("change", @stateChanged)
stateChanged: ->
@saveStateToLocalStorage()
BB.vent.trigger("rosterStat... |
[
{
"context": "true} )\n )\n\n# wrapper window, jQuery,\n# key:'654f1af34d6fd053c6e2cc378993941f'\n\ncheckAuth = ->\n if ! Trello?\n loadData()\n ",
"end": 7922,
"score": 0.9997108578681946,
"start": 7890,
"tag": "KEY",
"value": "654f1af34d6fd053c6e2cc378993941f"
},
{
"conte... | popup.coffee | jsdelivrbot/chromeTabTools | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
app =
code: 'tabTools'
dcTabs: []
ccTabs: []
tabs: []
bkTT: ''
bkTree: {}
srx : {}
dt : {}
T: {}
Array::toDict = (key) ->
dict = {}
... | 110785 | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
app =
code: 'tabTools'
dcTabs: []
ccTabs: []
tabs: []
bkTT: ''
bkTree: {}
srx : {}
dt : {}
T: {}
Array::toDict = (key) ->
dict = {}
... | true | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
app =
code: 'tabTools'
dcTabs: []
ccTabs: []
tabs: []
bkTT: ''
bkTree: {}
srx : {}
dt : {}
T: {}
Array::toDict = (key) ->
dict = {}
... |
[
{
"context": "ritarian (0-2 points)\"\r\n]\r\n\r\nrandomReli = [\r\n \"Christian\",\r\n \"Muslim\",\r\n \"Atheist\",\r\n \"Hindu\",\r\n ",
"end": 6185,
"score": 0.9989595413208008,
"start": 6176,
"tag": "NAME",
"value": "Christian"
}
] | coffeescript/gen.coffee | sudocode1/random-country | 0 | source = document.getElementById("random")
reg = document.getElementById("reg")
rel = document.getElementById("religion")
randomId = [
# credit to nationstates
"The Democratic People's Republic Of",
"The Kingdom of",
"The Republic of",
"The Empire of",
"The Commonwealth of",
"The... | 204553 | source = document.getElementById("random")
reg = document.getElementById("reg")
rel = document.getElementById("religion")
randomId = [
# credit to nationstates
"The Democratic People's Republic Of",
"The Kingdom of",
"The Republic of",
"The Empire of",
"The Commonwealth of",
"The... | true | source = document.getElementById("random")
reg = document.getElementById("reg")
rel = document.getElementById("religion")
randomId = [
# credit to nationstates
"The Democratic People's Republic Of",
"The Kingdom of",
"The Republic of",
"The Empire of",
"The Commonwealth of",
"The... |
[
{
"context": " phone: '0512-12345678'\r\n director: '张仲景'\r\n underlings: '3'\r\n },\r\n",
"end": 6317,
"score": 0.9992510080337524,
"start": 6314,
"tag": "NAME",
"value": "张仲景"
},
{
"context": " phone: '010-12345678'\r\n director: '... | src/base/coffee/demo-table.coffee | ben7th/zdmockup | 0 | @DemoAdminTable = React.createClass
displayName: 'DemoAdminTable'
render: ->
<div className='demo-admin-table ui basic segment'>
{
if @props.data.filters?
<DemoAdminTable.Filter data={@props.data.filters} />
}
<DemoAdminTable.Table data={@props.data} />
<... | 179999 | @DemoAdminTable = React.createClass
displayName: 'DemoAdminTable'
render: ->
<div className='demo-admin-table ui basic segment'>
{
if @props.data.filters?
<DemoAdminTable.Filter data={@props.data.filters} />
}
<DemoAdminTable.Table data={@props.data} />
<... | true | @DemoAdminTable = React.createClass
displayName: 'DemoAdminTable'
render: ->
<div className='demo-admin-table ui basic segment'>
{
if @props.data.filters?
<DemoAdminTable.Filter data={@props.data.filters} />
}
<DemoAdminTable.Table data={@props.data} />
<... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999126195907593,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/menu.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Menu
constructor: ->
@menuTimeout = 150
$(document).on 'touchstart', '.js-menu', @onTouchStart
$(document).on 'mouseenter',... | 144788 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Menu
constructor: ->
@menuTimeout = 150
$(document).on 'touchstart', '.js-menu', @onTouchStart
$(document).on 'mouseenter', '.js-m... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Menu
constructor: ->
@menuTimeout = 150
$(document).on 'touchstart', '.js-menu', @onTouchStart
$(document).on 'mous... |
[
{
"context": "###\r\nMapedit app classes.\r\nAuthor: vasnake@gmail.com\r\n###\r\nconsole.log \"meapp enter\"\r\n\r\nif vappFactory",
"end": 52,
"score": 0.9999122619628906,
"start": 35,
"tag": "EMAIL",
"value": "vasnake@gmail.com"
}
] | t72/javascript/vs/meapp.coffee | vasnake/arcgis.js | 1 | ###
Mapedit app classes.
Author: vasnake@gmail.com
###
console.log "meapp enter"
if vappFactory?
alert "vappFactory defined already!"
else
vappFactory = {}
define(["dojo/_base/declare", "dojo/dom", 'dojo/has', "vs/mpvlib"],
(declare, dom, has, mpvlib) ->
console.log 'meapp dojo/define... | 214354 | ###
Mapedit app classes.
Author: <EMAIL>
###
console.log "meapp enter"
if vappFactory?
alert "vappFactory defined already!"
else
vappFactory = {}
define(["dojo/_base/declare", "dojo/dom", 'dojo/has', "vs/mpvlib"],
(declare, dom, has, mpvlib) ->
console.log 'meapp dojo/define. define a... | true | ###
Mapedit app classes.
Author: PI:EMAIL:<EMAIL>END_PI
###
console.log "meapp enter"
if vappFactory?
alert "vappFactory defined already!"
else
vappFactory = {}
define(["dojo/_base/declare", "dojo/dom", 'dojo/has', "vs/mpvlib"],
(declare, dom, has, mpvlib) ->
console.log 'meapp dojo/d... |
[
{
"context": "\n# Copyright 2012 Stanislav Senotrusov <stan@senotrusov.com>\n#\n# Licensed under the Apa",
"end": 39,
"score": 0.999879777431488,
"start": 19,
"tag": "NAME",
"value": "Stanislav Senotrusov"
},
{
"context": "\n# Copyright 2012 Stanislav Senotrusov <stan@senotrusov.c... | app/assets/javascripts/iframe_upload.js.coffee | senotrusov/march | 1 |
# Copyright 2012 Stanislav Senotrusov <stan@senotrusov.com>
#
# 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 ap... | 132876 |
# Copyright 2012 <NAME> <<EMAIL>>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | true |
# Copyright 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... |
[
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the MIT l",
"end": 29,
"score": 0.9188010096549988,
"start": 21,
"tag": "USERNAME",
"value": "sobataro"
},
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the MIT... | src/robotaro.coffee | sobataro/robotaro | 2 | # Copyright (c) 2014 sobataro <sobatarooo@gmail.com>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
https = require("https")
CronJob = require("cron").CronJob
Time = require("time")(Date)
PullRequestChecker = require("./pull_request_checker")
url = require("url")
config = require("co... | 155956 | # Copyright (c) 2014 sobataro <<EMAIL>>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
https = require("https")
CronJob = require("cron").CronJob
Time = require("time")(Date)
PullRequestChecker = require("./pull_request_checker")
url = require("url")
config = require("config")
# sen... | true | # Copyright (c) 2014 sobataro <PI:EMAIL:<EMAIL>END_PI>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
https = require("https")
CronJob = require("cron").CronJob
Time = require("time")(Date)
PullRequestChecker = require("./pull_request_checker")
url = require("url")
config = require("... |
[
{
"context": "t = Screen.height + 'px'\n\nmapboxgl.accessToken = 'pk.eyJ1IjoiY29jb3NpbmNlMTciLCJhIjoiY2pjdTRydDBjMWszYzMybm9mazJmbGFvbCJ9.Xxq-htJolCZsdaKdiIBAGw'\n\nmap = new mapboxgl.Map\n\tcontainer: mapElement\n\t",
"end": 443,
"score": 0.9997549057006836,
"start": 349,
"tag": "KEY",
"val... | 00. map_redesign_prototype/map_redesign_driving.framer/app.coffee | suroline/suroline.github.io | 0 | { mapboxgl } = require "npm"
Utils.insertCSS('@import url(https://api.tiles.mapbox.com/mapbox-gl-js/v0.43.0/mapbox-gl.css)')
mapLayer = new Layer
height: Screen.height
width: Screen.width
mapLayer.html = "<div id='map'></div>"
mapElement = mapLayer.querySelector("#map")
mapElement.style.height = Screen.height + '... | 78086 | { mapboxgl } = require "npm"
Utils.insertCSS('@import url(https://api.tiles.mapbox.com/mapbox-gl-js/v0.43.0/mapbox-gl.css)')
mapLayer = new Layer
height: Screen.height
width: Screen.width
mapLayer.html = "<div id='map'></div>"
mapElement = mapLayer.querySelector("#map")
mapElement.style.height = Screen.height + '... | true | { mapboxgl } = require "npm"
Utils.insertCSS('@import url(https://api.tiles.mapbox.com/mapbox-gl-js/v0.43.0/mapbox-gl.css)')
mapLayer = new Layer
height: Screen.height
width: Screen.width
mapLayer.html = "<div id='map'></div>"
mapElement = mapLayer.querySelector("#map")
mapElement.style.height = Screen.height + '... |
[
{
"context": "\n title: this is a pretty title\n author: Riceball\n ---\n # this is a pretty title\n\n 你",
"end": 964,
"score": 0.7273836135864258,
"start": 956,
"tag": "NAME",
"value": "Riceball"
},
{
"context": "e = 'this is a pretty title'\n file.auth... | test/index-test.coffee | snowyu/task-registry-file-template.js | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
TemplateFile = require '../src'
Resource ... | 7266 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
TemplateFile = require '../src'
Resource ... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
TemplateFile = require '../src'
Resource ... |
[
{
"context": "\nREDIS_HOST = process.env.REDIS_HOST || '127.0.0.1:6379'\nREDIS_KEY = process.env.REDIS_KEY || 'some-",
"end": 50,
"score": 0.9997565150260925,
"start": 41,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "0.0.1:6379'\nREDIS_KEY = process.env.REDIS_KEY || 'so... | index.coffee | octoblu/redis-experiments | 0 |
REDIS_HOST = process.env.REDIS_HOST || '127.0.0.1:6379'
REDIS_KEY = process.env.REDIS_KEY || 'some-big-key'
REDIS_VALUE_SIZE = process.env.REDIS_VALUE_SIZE || '100'
redis = require 'redis'
client = redis.createClient "redis://#{REDIS_HOST}"
debug = require('debug')('redis-experiments')
_ = require 'lodash'
Benchmark ... | 91929 |
REDIS_HOST = process.env.REDIS_HOST || '127.0.0.1:6379'
REDIS_KEY = process.env.REDIS_KEY || '<KEY>'
REDIS_VALUE_SIZE = process.env.REDIS_VALUE_SIZE || '100'
redis = require 'redis'
client = redis.createClient "redis://#{REDIS_HOST}"
debug = require('debug')('redis-experiments')
_ = require 'lodash'
Benchmark = requi... | true |
REDIS_HOST = process.env.REDIS_HOST || '127.0.0.1:6379'
REDIS_KEY = process.env.REDIS_KEY || 'PI:KEY:<KEY>END_PI'
REDIS_VALUE_SIZE = process.env.REDIS_VALUE_SIZE || '100'
redis = require 'redis'
client = redis.createClient "redis://#{REDIS_HOST}"
debug = require('debug')('redis-experiments')
_ = require 'lodash'
Benc... |
[
{
"context": " new Book()\n book.author = new Author(name: 'JK', id: 2)\n\n it 'should work', ->\n expect(b",
"end": 643,
"score": 0.9898881316184998,
"start": 641,
"tag": "NAME",
"value": "JK"
},
{
"context": "->\n book = new Book\n author: { name: 'Rowling'... | test/has_one_test.coffee | rstacruz/ento | 11 | require './setup'
Author = null
Book = null
book = null
author = null
spy = null
describe 'hasOne + belongsTo', ->
beforeEach ->
Author = Ento()
.use(Ento.relations)
.attr('id')
.attr('name')
.attr('fullname', json: false, -> "Ms. #{@name}")
Book = Ento()
.use(Ento.relations)
... | 11254 | require './setup'
Author = null
Book = null
book = null
author = null
spy = null
describe 'hasOne + belongsTo', ->
beforeEach ->
Author = Ento()
.use(Ento.relations)
.attr('id')
.attr('name')
.attr('fullname', json: false, -> "Ms. #{@name}")
Book = Ento()
.use(Ento.relations)
... | true | require './setup'
Author = null
Book = null
book = null
author = null
spy = null
describe 'hasOne + belongsTo', ->
beforeEach ->
Author = Ento()
.use(Ento.relations)
.attr('id')
.attr('name')
.attr('fullname', json: false, -> "Ms. #{@name}")
Book = Ento()
.use(Ento.relations)
... |
[
{
"context": " relationship: 'your best friend'\n name: 'Eileen Gan'\n gender: 'f'\n photo: '''\n https",
"end": 1006,
"score": 0.9998197555541992,
"start": 996,
"tag": "NAME",
"value": "Eileen Gan"
},
{
"context": " relationship: 'your loved one'\n ... | src/app/questions/questions.coffee | 20sq/proto | 0 | angular.module('20sq-proto.questions', [])
.config ($stateProvider) ->
$stateProvider.state 'q',
url: '/q/:set?'
templateUrl: 'questions/questions.tpl.html'
controller: 'QuestionsController'
data:
title: ''
.factory 'Questions', ->
return {
A: [
'What is your name?'
'Is the p... | 97960 | angular.module('20sq-proto.questions', [])
.config ($stateProvider) ->
$stateProvider.state 'q',
url: '/q/:set?'
templateUrl: 'questions/questions.tpl.html'
controller: 'QuestionsController'
data:
title: ''
.factory 'Questions', ->
return {
A: [
'What is your name?'
'Is the p... | true | angular.module('20sq-proto.questions', [])
.config ($stateProvider) ->
$stateProvider.state 'q',
url: '/q/:set?'
templateUrl: 'questions/questions.tpl.html'
controller: 'QuestionsController'
data:
title: ''
.factory 'Questions', ->
return {
A: [
'What is your name?'
'Is the p... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998059272766113,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/GaugeSensorStatus.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... | 225736 | # 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": " \"stationname\":\"Juupajoki Hyyti\\u00e4l\\u00e4\",\n \"",
"end": 5437,
"score": 0.5535790324211121,
"start": 5435,
"tag": "NAME",
"value": "yy"
},
{
"context": "l\\u00e4\",\n \"name\":\... | app/routes/dashboard.coffee | knshetty/fireplace-app | 0 | `import Ember from 'ember'`
# ------------------------
# --- Declare Promises ---
# ------------------------
# --------------------------------------------------------------
# Mockup REST Call: FMI Weather Data API as a resource
# --------------------------------------------------------------
# Mock weather data reque... | 11940 | `import Ember from 'ember'`
# ------------------------
# --- Declare Promises ---
# ------------------------
# --------------------------------------------------------------
# Mockup REST Call: FMI Weather Data API as a resource
# --------------------------------------------------------------
# Mock weather data reque... | true | `import Ember from 'ember'`
# ------------------------
# --- Declare Promises ---
# ------------------------
# --------------------------------------------------------------
# Mockup REST Call: FMI Weather Data API as a resource
# --------------------------------------------------------------
# Mock weather data reque... |
[
{
"context": "t user.name\n username = $(\"<div>\").addClass(\"username\").text user.username\n email = $(\"<div>\").add",
"end": 171,
"score": 0.648814857006073,
"start": 163,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rname = $(\"<div>\").addClass(\"username\... | app/assets/javascripts/index.coffee | miguelsaddress/play-slick-postgres-seed | 0 | $ ->
$.get "/users", (users) ->
$.each users, (index, user) ->
name = $("<div>").addClass("name").text user.name
username = $("<div>").addClass("username").text user.username
email = $("<div>").addClass("email").text user.email
password = $("<div>").addClass("password").text user.password
... | 172961 | $ ->
$.get "/users", (users) ->
$.each users, (index, user) ->
name = $("<div>").addClass("name").text user.name
username = $("<div>").addClass("username").text user.username
email = $("<div>").addClass("email").text user.email
password = $("<div>").addClass("password").text <PASSWORD>
... | true | $ ->
$.get "/users", (users) ->
$.each users, (index, user) ->
name = $("<div>").addClass("name").text user.name
username = $("<div>").addClass("username").text user.username
email = $("<div>").addClass("email").text user.email
password = $("<div>").addClass("password").text PI:PASSWORD:<P... |
[
{
"context": " jQuery Cookie Plugin v1.4.1\n# https://github.com/carhartl/jquery-cookie\n#\n# Copyright 2006, 2014 Klaus Hart",
"end": 64,
"score": 0.9802483320236206,
"start": 56,
"tag": "USERNAME",
"value": "carhartl"
},
{
"context": "om/carhartl/jquery-cookie\n#\n# Copyright 2006,... | app/assets/javascripts/vendor/jquery_cookie.coffee | greganswer/qwiznotes | 2 | ###!
# jQuery Cookie Plugin v1.4.1
# https://github.com/carhartl/jquery-cookie
#
# Copyright 2006, 2014 Klaus Hartl
# Released under the MIT license
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD (Register as an anonymous module)
define [ 'jquery' ], factory
else if typeof exports ==... | 68854 | ###!
# jQuery Cookie Plugin v1.4.1
# https://github.com/carhartl/jquery-cookie
#
# Copyright 2006, 2014 <NAME>
# Released under the MIT license
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD (Register as an anonymous module)
define [ 'jquery' ], factory
else if typeof exports == 'obj... | true | ###!
# jQuery Cookie Plugin v1.4.1
# https://github.com/carhartl/jquery-cookie
#
# Copyright 2006, 2014 PI:NAME:<NAME>END_PI
# Released under the MIT license
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD (Register as an anonymous module)
define [ 'jquery' ], factory
else if typeof e... |
[
{
"context": "eEach ->\n co =>\n yield @room.user.say 'logan', 'hubot: emoji haiku'\n\n it 'responds to /emoji ",
"end": 207,
"score": 0.507320761680603,
"start": 205,
"tag": "NAME",
"value": "an"
}
] | test/emoji_haiku.coffee | LDonoughe/emoji-haiku | 0 | require './test_helper'
_ = require 'lodash'
co = require 'co'
describe 'emoji_haiku', ->
beforeEach createRoom('../scripts/emoji_haiku.coffee')
beforeEach ->
co =>
yield @room.user.say 'logan', 'hubot: emoji haiku'
it 'responds to /emoji haiku/', ->
messages = _(@room.messages)
expect(message... | 59466 | require './test_helper'
_ = require 'lodash'
co = require 'co'
describe 'emoji_haiku', ->
beforeEach createRoom('../scripts/emoji_haiku.coffee')
beforeEach ->
co =>
yield @room.user.say 'log<NAME>', 'hubot: emoji haiku'
it 'responds to /emoji haiku/', ->
messages = _(@room.messages)
expect(mes... | true | require './test_helper'
_ = require 'lodash'
co = require 'co'
describe 'emoji_haiku', ->
beforeEach createRoom('../scripts/emoji_haiku.coffee')
beforeEach ->
co =>
yield @room.user.say 'logPI:NAME:<NAME>END_PI', 'hubot: emoji haiku'
it 'responds to /emoji haiku/', ->
messages = _(@room.messages)
... |
[
{
"context": " # Turn assignee into callsign\n if key == \"assignee\"\n val = @_assigneeToCallsign val, remot",
"end": 4955,
"score": 0.8755685091018677,
"start": 4947,
"tag": "KEY",
"value": "assignee"
},
{
"context": "people to check off items online\n if key ... | src/Api.coffee | kvz/baseamp | 4 | util = require "util"
request = require "request"
moment = require "moment"
_ = require "underscore"
debug = require("debug")("Baseamp:Todo")
Util = require "./Util"
fs = require "fs"
async = require "async"
TodoLists = require "./TodoLists"
TodoList = require "./TodoList"
class ... | 212340 | util = require "util"
request = require "request"
moment = require "moment"
_ = require "underscore"
debug = require("debug")("Baseamp:Todo")
Util = require "./Util"
fs = require "fs"
async = require "async"
TodoLists = require "./TodoLists"
TodoList = require "./TodoList"
class ... | true | util = require "util"
request = require "request"
moment = require "moment"
_ = require "underscore"
debug = require("debug")("Baseamp:Todo")
Util = require "./Util"
fs = require "fs"
async = require "async"
TodoLists = require "./TodoLists"
TodoList = require "./TodoList"
class ... |
[
{
"context": "onChange = JSON.stringify change\n\t\tdoc_key = keys.combineProjectIdAndDocId(project_id, doc_id)\n\t\tmulti = rclient.multi()\n\t\tm",
"end": 646,
"score": 0.9192496538162231,
"start": 622,
"tag": "KEY",
"value": "combineProjectIdAndDocId"
},
{
"context": "\t\tdoc_key ... | app/coffee/Features/DocumentUpdater/DocumentUpdaterHandler.coffee | mickaobrien/web-sharelatex | 1 | request = require 'request'
request = request.defaults()
async = require 'async'
settings = require 'settings-sharelatex'
_ = require 'underscore'
async = require 'async'
logger = require('logger-sharelatex')
metrics = require('../../infrastructure/Metrics')
redis = require("redis-sharelatex")
rclient = redis.createCli... | 181084 | request = require 'request'
request = request.defaults()
async = require 'async'
settings = require 'settings-sharelatex'
_ = require 'underscore'
async = require 'async'
logger = require('logger-sharelatex')
metrics = require('../../infrastructure/Metrics')
redis = require("redis-sharelatex")
rclient = redis.createCli... | true | request = require 'request'
request = request.defaults()
async = require 'async'
settings = require 'settings-sharelatex'
_ = require 'underscore'
async = require 'async'
logger = require('logger-sharelatex')
metrics = require('../../infrastructure/Metrics')
redis = require("redis-sharelatex")
rclient = redis.createCli... |
[
{
"context": " newmask bitmask\n ['209.157.68.22/255.255.224.0', null, '209.157.64.0",
"end": 251,
"score": 0.9993407130241394,
"start": 238,
"tag": "IP_ADDRESS",
"value": "209.157.68.22"
},
{
"context": "wmask bitmask\n ['20... | test/netmasks.coffee | kaoudis/node-netmask | 0 | vows = require 'vows'
assert = require 'assert'
util = require 'util'
Netmask = require('../lib/netmask').Netmask
fixtures =
[
# addr mask base newmask bitmask
['209.157.68.22/255.255.224.0', null, '209.157.64.0', '255.255.224... | 107279 | vows = require 'vows'
assert = require 'assert'
util = require 'util'
Netmask = require('../lib/netmask').Netmask
fixtures =
[
# addr mask base newmask bitmask
['172.16.31.10/255.255.224.0', null, '172.16.58.3', '255.255.224.0... | true | vows = require 'vows'
assert = require 'assert'
util = require 'util'
Netmask = require('../lib/netmask').Netmask
fixtures =
[
# addr mask base newmask bitmask
['PI:IP_ADDRESS:172.16.31.10END_PI/255.255.224.0', null, 'PI:IP_ADDRES... |
[
{
"context": "/memecaptain.com/\n# API Docs at:\n# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_",
"end": 94,
"score": 0.9993035197257996,
"start": 91,
"tag": "USERNAME",
"value": "mmb"
},
{
"context": "ERE - Meme: Generates Buzz Lightyear\n# Author:\n# boban... | node_modules/hubot-meme/src/meme.coffee | shashankredemption/shitpostbot | 4 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... | 99996 | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... | true | # Description:
# Get a meme from http://memecaptain.com/
# API Docs at:
# github.com/mmb/meme_captain_web/blob/master/doc/api/create_meme_image.md
#
# Dependencies:
# None
#
# Commands:
# hubot Y U NO <text> - Meme: Y U NO GUY w/ bottom caption
# hubot I don't always <something> but when i do <text> - Meme:... |
[
{
"context": "s in the output document', ->\n data = { name: 'John', age: 33 }\n template = parse('<doc><!--{{age}",
"end": 207,
"score": 0.9989073276519775,
"start": 203,
"tag": "NAME",
"value": "John"
},
{
"context": "plate.toXML(data)).toEqual('<doc><!--33--><person>John</pe... | test/model/comment-test.coffee | admariner/cruftless | 19 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'comment', ->
it 'should allow you to insert comments in the output document', ->
data = { name: 'John', age: 33 }
template = parse('<doc><!--{{age}}--><person>{{name}}</person></doc>')
expect(template.toXML... | 166307 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'comment', ->
it 'should allow you to insert comments in the output document', ->
data = { name: '<NAME>', age: 33 }
template = parse('<doc><!--{{age}}--><person>{{name}}</person></doc>')
expect(template.toX... | true | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'comment', ->
it 'should allow you to insert comments in the output document', ->
data = { name: 'PI:NAME:<NAME>END_PI', age: 33 }
template = parse('<doc><!--{{age}}--><person>{{name}}</person></doc>')
expec... |
[
{
"context": "###\njQuery Carousel\nCopyright 2010 - 2014 Kevin Sylvestre\n1.2.2\n###\n\n\"use strict\"\n\n$ = jQuery\n\nclass Timer\n",
"end": 57,
"score": 0.9998378753662109,
"start": 42,
"tag": "NAME",
"value": "Kevin Sylvestre"
}
] | javascripts/jquery.carousel.coffee | ksylvest/jquery-carousel | 6 | ###
jQuery Carousel
Copyright 2010 - 2014 Kevin Sylvestre
1.2.2
###
"use strict"
$ = jQuery
class Timer
@every: (duration, callback) ->
setInterval(callback, duration)
@after: (duration, callback) ->
setTimeout(callback, duration)
@clear: (interval) ->
clearInterval(interval)
class Animation
@... | 170684 | ###
jQuery Carousel
Copyright 2010 - 2014 <NAME>
1.2.2
###
"use strict"
$ = jQuery
class Timer
@every: (duration, callback) ->
setInterval(callback, duration)
@after: (duration, callback) ->
setTimeout(callback, duration)
@clear: (interval) ->
clearInterval(interval)
class Animation
@transitio... | true | ###
jQuery Carousel
Copyright 2010 - 2014 PI:NAME:<NAME>END_PI
1.2.2
###
"use strict"
$ = jQuery
class Timer
@every: (duration, callback) ->
setInterval(callback, duration)
@after: (duration, callback) ->
setTimeout(callback, duration)
@clear: (interval) ->
clearInterval(interval)
class Animatio... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9995699524879456,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-readline-set-raw-mode.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... | 208816 | # 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": "ho <text> - Reply back with <text>\n#\n# Author:\n# Casey Lawrence <casey.j.lawrence@gmail.com>\n#\nmodule.exports = (",
"end": 173,
"score": 0.9998670816421509,
"start": 159,
"tag": "NAME",
"value": "Casey Lawrence"
},
{
"context": " back with <text>\n#\n# Author:\n#... | scripts/echo.coffee | traviskroberts/superbestbot | 3 | # Description:
# Command bot to reply back with given text
#
# Dependencies:
# None
#
# Commands:
# echo <text> - Reply back with <text>
#
# Author:
# Casey Lawrence <casey.j.lawrence@gmail.com>
#
module.exports = (robot) ->
robot.respond /echo/ , (msg) ->
text = msg.message.text.replace /echo /, ""... | 12623 | # Description:
# Command bot to reply back with given text
#
# Dependencies:
# None
#
# Commands:
# echo <text> - Reply back with <text>
#
# Author:
# <NAME> <<EMAIL>>
#
module.exports = (robot) ->
robot.respond /echo/ , (msg) ->
text = msg.message.text.replace /echo /, ""
text = text.replac... | true | # Description:
# Command bot to reply back with given text
#
# Dependencies:
# None
#
# Commands:
# echo <text> - Reply back with <text>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
module.exports = (robot) ->
robot.respond /echo/ , (msg) ->
text = msg.message.text.replace /echo /, ... |
[
{
"context": "ьные отступы для уровней bulleted list\n\nDATA_KEY = '__rizzoma_data_key'\n\n#\n# The renderer is used to make HTML in put it",
"end": 483,
"score": 0.9981037974357605,
"start": 464,
"tag": "KEY",
"value": "'__rizzoma_data_key"
}
] | src/client/hallo/renderer/renderer.coffee | HansPinckaers/ShareJS-editor | 4 | BrowserEvents = require('./utils/browser_events')
ModelField = require('./model').ModelField
ParamsField = require('./model').ParamsField
ModelType = require('./model').ModelType
TextLevelParams = require('./model').TextLevelParams
LineLevelParams = require('./model').LineLevelParams
DomUtils = require('./utils/dom')
A... | 157380 | BrowserEvents = require('./utils/browser_events')
ModelField = require('./model').ModelField
ParamsField = require('./model').ParamsField
ModelType = require('./model').ModelType
TextLevelParams = require('./model').TextLevelParams
LineLevelParams = require('./model').LineLevelParams
DomUtils = require('./utils/dom')
A... | true | BrowserEvents = require('./utils/browser_events')
ModelField = require('./model').ModelField
ParamsField = require('./model').ParamsField
ModelType = require('./model').ModelType
TextLevelParams = require('./model').TextLevelParams
LineLevelParams = require('./model').LineLevelParams
DomUtils = require('./utils/dom')
A... |
[
{
"context": "= {\n scheduleComponentUpdate: ->\n }\n name = 'name'\n\n describe '::hide', ->\n it 'hides the gutte",
"end": 132,
"score": 0.8111899495124817,
"start": 128,
"tag": "NAME",
"value": "name"
},
{
"context": " it is visible.', ->\n options =\n name: n... | spec/gutter-spec.coffee | vishnuprasadnta/The-hackable-text-editor-https-atom.io | 1 | Gutter = require '../src/gutter'
describe 'Gutter', ->
fakeGutterContainer = {
scheduleComponentUpdate: ->
}
name = 'name'
describe '::hide', ->
it 'hides the gutter if it is visible.', ->
options =
name: name
visible: true
gutter = new Gutter fakeGutterContainer, options
... | 220624 | Gutter = require '../src/gutter'
describe 'Gutter', ->
fakeGutterContainer = {
scheduleComponentUpdate: ->
}
name = '<NAME>'
describe '::hide', ->
it 'hides the gutter if it is visible.', ->
options =
name: <NAME>
visible: true
gutter = new Gutter fakeGutterContainer, optio... | true | Gutter = require '../src/gutter'
describe 'Gutter', ->
fakeGutterContainer = {
scheduleComponentUpdate: ->
}
name = 'PI:NAME:<NAME>END_PI'
describe '::hide', ->
it 'hides the gutter if it is visible.', ->
options =
name: PI:NAME:<NAME>END_PI
visible: true
gutter = new Gutte... |
[
{
"context": "amming for microcontrollers\n# * Copyright (c) 2013 Jon Nordby <jononor@gmail.com>\n# * MicroFlo may be freely di",
"end": 90,
"score": 0.9998224973678589,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "crocontrollers\n# * Copyright (c) 2013 Jon Nord... | lib/generate.coffee | microflo/microflo | 136 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 Jon Nordby <jononor@gmail.com>
# * MicroFlo may be freely distributed under the MIT license
#
util = require("./util")
cmdFormat = require("./commandformat")
commandstream = require("./commandstream")
definition = require("./definition")
f... | 150117 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 <NAME> <<EMAIL>>
# * MicroFlo may be freely distributed under the MIT license
#
util = require("./util")
cmdFormat = require("./commandformat")
commandstream = require("./commandstream")
definition = require("./definition")
fs = require("f... | true | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# * MicroFlo may be freely distributed under the MIT license
#
util = require("./util")
cmdFormat = require("./commandformat")
commandstream = require("./commandstream")
definition = require("./... |
[
{
"context": "eepalive\n# GET /heroku/keepalive\n#\n# Author:\n# Josh Nichols <technicalpickles@github.com>\n\nmodule.exports = (",
"end": 462,
"score": 0.9998815655708313,
"start": 450,
"tag": "NAME",
"value": "Josh Nichols"
},
{
"context": "T /heroku/keepalive\n#\n# Author:\n# ... | node_modules/hubot-heroku-keepalive/src/heroku-keepalive.coffee | Brunation11/lunch-bot | 4 | # Description
# A hubot script that keeps its Heroko web dynos alive.
#
# Notes:
# This replaces hubot's builtin Heroku keepalive behavior. It uses the same
# environment variable (HEROKU_URL), but removes the period ping.
#
# Configuration:
# HUBOT_HEROKU_KEEPALIVE_URL or HEROKU_URL: required
# HUBOT_HEROKU_... | 62781 | # Description
# A hubot script that keeps its Heroko web dynos alive.
#
# Notes:
# This replaces hubot's builtin Heroku keepalive behavior. It uses the same
# environment variable (HEROKU_URL), but removes the period ping.
#
# Configuration:
# HUBOT_HEROKU_KEEPALIVE_URL or HEROKU_URL: required
# HUBOT_HEROKU_... | true | # Description
# A hubot script that keeps its Heroko web dynos alive.
#
# Notes:
# This replaces hubot's builtin Heroku keepalive behavior. It uses the same
# environment variable (HEROKU_URL), but removes the period ping.
#
# Configuration:
# HUBOT_HEROKU_KEEPALIVE_URL or HEROKU_URL: required
# HUBOT_HEROKU_... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.999862015247345,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzu... | src/Methods/Emotes/License.coffee | King-BR/DEmojiJS | 1 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabLicense
constructor: (License, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if !License
... | 210298 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabLicense
constructor: (License, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if !License
Re... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabLicense
constructor: (License, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if... |
[
{
"context": "od: 'GET'\n , JSON.stringify products: [ name: \"test\", cost: 20 ]\n\n @adapter.perform 'readAll', @Pr",
"end": 2548,
"score": 0.8722049593925476,
"start": 2544,
"tag": "NAME",
"value": "test"
},
{
"context": "thod: 'GET'\n , JSON.stringify product: {name: \"t... | tests/batman/storage_adapter/rest_storage_helper.coffee | nickjs/batman.js | 3 | {sharedStorageTestSuite} = window
exports = window.restStorageHelpers = {}
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploads: Batman.Request.dataHasFileUploads
@expects = {}
@reset: ->... | 96904 | {sharedStorageTestSuite} = window
exports = window.restStorageHelpers = {}
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploads: Batman.Request.dataHasFileUploads
@expects = {}
@reset: ->... | true | {sharedStorageTestSuite} = window
exports = window.restStorageHelpers = {}
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploads: Batman.Request.dataHasFileUploads
@expects = {}
@reset: ->... |
[
{
"context": "ase: #{Batman.Hash::hashKeyFor(@base)}, key: \\\"#{Batman.Hash::hashKeyFor(@key)}\\\">\"\n\n event: (key) ->\n eventClass = @e",
"end": 2300,
"score": 0.8057347536087036,
"start": 2278,
"tag": "KEY",
"value": "atman.Hash::hashKeyFor"
},
{
"context": "For(@base)}, ke... | src/observable/property.coffee | Shipow/batman | 1 | #= require ./property_event
#= require ../event_emitter/event_emitter
#= require ../set/simple_set
SOURCE_TRACKER_STACK = []
SOURCE_TRACKER_STACK_VALID = true
class Batman.Property
Batman.mixin @prototype, Batman.EventEmitter
@_sourceTrackerStack: SOURCE_TRACKER_STACK
@defaultAccessor:
get: (key) -> @[key]... | 173003 | #= require ./property_event
#= require ../event_emitter/event_emitter
#= require ../set/simple_set
SOURCE_TRACKER_STACK = []
SOURCE_TRACKER_STACK_VALID = true
class Batman.Property
Batman.mixin @prototype, Batman.EventEmitter
@_sourceTrackerStack: SOURCE_TRACKER_STACK
@defaultAccessor:
get: (key) -> @[key]... | true | #= require ./property_event
#= require ../event_emitter/event_emitter
#= require ../set/simple_set
SOURCE_TRACKER_STACK = []
SOURCE_TRACKER_STACK_VALID = true
class Batman.Property
Batman.mixin @prototype, Batman.EventEmitter
@_sourceTrackerStack: SOURCE_TRACKER_STACK
@defaultAccessor:
get: (key) -> @[key]... |
[
{
"context": "ery.js'\nDebater = require './../debater.coffee'\n\n# Alyssa Bilinski\nmodule.exports = class Alyssa extends Debater\n c",
"end": 86,
"score": 0.9998319745063782,
"start": 71,
"tag": "NAME",
"value": "Alyssa Bilinski"
},
{
"context": " constructor: (@game) ->\n sup... | src/js/debaters/alyssa.coffee | Huntrr/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# Alyssa Bilinski
module.exports = class Alyssa extends Debater
constructor: (@game) ->
super(@game, true, 'ALYSSA BILINSKI', 25, 6, 'CLEAN WATER COMMIE')
# THESE STATS MIGHT NEED TO BE TWEAKED
# DEPENDING ON HOW POWERFUL THE PLAYER
... | 46488 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# <NAME>
module.exports = class Alyssa extends Debater
constructor: (@game) ->
super(@game, true, '<NAME>', 25, 6, 'CLEAN WATER COMMIE')
# THESE STATS MIGHT NEED TO BE TWEAKED
# DEPENDING ON HOW POWERFUL THE PLAYER
# IS OR ISN'T AFT... | true | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# PI:NAME:<NAME>END_PI
module.exports = class Alyssa extends Debater
constructor: (@game) ->
super(@game, true, 'PI:NAME:<NAME>END_PI', 25, 6, 'CLEAN WATER COMMIE')
# THESE STATS MIGHT NEED TO BE TWEAKED
# DEPENDING ON HOW POWERFUL THE ... |
[
{
"context": "\n#\n# Commands:\n# hubot c <input>\n#\n# Author:\n# ajacksified\n# Stephen Price <steeef@gmail.com>\n\ncleverbot =",
"end": 193,
"score": 0.9977957606315613,
"start": 182,
"tag": "USERNAME",
"value": "ajacksified"
},
{
"context": " hubot c <input>\n#\n# Author:... | src/scripts/cleverbot.coffee | anthonyroani/hubot-scripts | 1,450 | # Description:
# "Makes your Hubot even more Clever™"
#
# Dependencies:
# "cleverbot-node": "0.2.1"
#
# Configuration:
# None
#
# Commands:
# hubot c <input>
#
# Author:
# ajacksified
# Stephen Price <steeef@gmail.com>
cleverbot = require('cleverbot-node')
module.exports = (robot) ->
c = new cleverbot()... | 68644 | # Description:
# "Makes your Hubot even more Clever™"
#
# Dependencies:
# "cleverbot-node": "0.2.1"
#
# Configuration:
# None
#
# Commands:
# hubot c <input>
#
# Author:
# ajacksified
# <NAME> <<EMAIL>>
cleverbot = require('cleverbot-node')
module.exports = (robot) ->
c = new cleverbot()
robot.respon... | true | # Description:
# "Makes your Hubot even more Clever™"
#
# Dependencies:
# "cleverbot-node": "0.2.1"
#
# Configuration:
# None
#
# Commands:
# hubot c <input>
#
# Author:
# ajacksified
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
cleverbot = require('cleverbot-node')
module.exports = (robot) ->
c = ne... |
[
{
"context": "775da2c4142900d03bf3fca4cb13f93e'\n\t\t\tapp_secret: '7d577bf2fdb7b9d92283def6fd3e11fb'\n\t\tconfigs.secret_key = \"secret key\"\n\n\n\twhen \"pro",
"end": 453,
"score": 0.9993626475334167,
"start": 421,
"tag": "KEY",
"value": "7d577bf2fdb7b9d92283def6fd3e11fb"
}
] | configs.coffee | waltzio/cy | 1 | # If no env, set to local
if not process.env?.application_env
process.env.application_env = "local"
configs = {
name: "Cy"
}
switch process.env.application_env
when "local"
configs.mongoURL = "mongodb://localhost/cy"
configs.host = "localhost"
configs.port = "3333"
configs.url = "http://localhost:3333"
... | 161087 | # If no env, set to local
if not process.env?.application_env
process.env.application_env = "local"
configs = {
name: "Cy"
}
switch process.env.application_env
when "local"
configs.mongoURL = "mongodb://localhost/cy"
configs.host = "localhost"
configs.port = "3333"
configs.url = "http://localhost:3333"
... | true | # If no env, set to local
if not process.env?.application_env
process.env.application_env = "local"
configs = {
name: "Cy"
}
switch process.env.application_env
when "local"
configs.mongoURL = "mongodb://localhost/cy"
configs.host = "localhost"
configs.port = "3333"
configs.url = "http://localhost:3333"
... |
[
{
"context": "# The Game engine\n# @mixin\n# @author Daniel Jeffery\nclass Game\n # @property [Integer] the desired fp",
"end": 51,
"score": 0.999869704246521,
"start": 37,
"tag": "NAME",
"value": "Daniel Jeffery"
}
] | src/game_engine/game_engine.coffee | BearPuncher/js13kentry | 0 | # The Game engine
# @mixin
# @author Daniel Jeffery
class Game
# @property [Integer] the desired fps
@fps: 60
# @property [Float] the frame duration (ms)
@frameDuration: 1000 / @fps
# @property [Vector] The mouse point
@mousePoint: undefined
# Constructor for Game
# @param width [Integer] the canvas wi... | 195317 | # The Game engine
# @mixin
# @author <NAME>
class Game
# @property [Integer] the desired fps
@fps: 60
# @property [Float] the frame duration (ms)
@frameDuration: 1000 / @fps
# @property [Vector] The mouse point
@mousePoint: undefined
# Constructor for Game
# @param width [Integer] the canvas width
# ... | true | # The Game engine
# @mixin
# @author PI:NAME:<NAME>END_PI
class Game
# @property [Integer] the desired fps
@fps: 60
# @property [Float] the frame duration (ms)
@frameDuration: 1000 / @fps
# @property [Vector] The mouse point
@mousePoint: undefined
# Constructor for Game
# @param width [Integer] the can... |
[
{
"context": "fileTypes: [\n \"scc\"\n \"sch\"\n]\nname: \"ScummC\"\ncomment: \"https://github.com/atom/atom-langu",
"end": 40,
"score": 0.5702847838401794,
"start": 38,
"tag": "NAME",
"value": "Sc"
},
{
"context": "fileTypes: [\n \"scc\"\n \"sch\"\n]\nname: \"ScummC\"\ncomment: ... | grammars/scummc.cson | idleberg/atom-language-scummc | 0 | fileTypes: [
"scc"
"sch"
]
name: "ScummC"
comment: "https://github.com/atom/atom-language-scummc"
patterns: [
{
include: "source.c"
}
]
scopeName: "source.c.scumm"
| 118309 | fileTypes: [
"scc"
"sch"
]
name: "<NAME>ummC"
comment: "https://github.com/atom/atom-language-scummc"
patterns: [
{
include: "source.c"
}
]
scopeName: "source.c.scumm"
| true | fileTypes: [
"scc"
"sch"
]
name: "PI:NAME:<NAME>END_PIummC"
comment: "https://github.com/atom/atom-language-scummc"
patterns: [
{
include: "source.c"
}
]
scopeName: "source.c.scumm"
|
[
{
"context": "eed authentication details', settings: userName: 'secret', password: 'password', ->\n @describe 'should su",
"end": 182,
"score": 0.9960029721260071,
"start": 176,
"tag": "USERNAME",
"value": "secret"
},
{
"context": "etails', settings: userName: 'secret', password: 'p... | test/test_open.coffee | StanAngeloff/lotte | 40 | @base 'http://' + phantom.args[0] + ':' + phantom.args[1]
@title 'localhost.localdomain'
@open '/secret', 'attempts with agreed authentication details', settings: userName: 'secret', password: 'password', ->
@describe 'should succeed', ->
@assert.contains @page.content, 'OK', 'expects authenticated response'
... | 165642 | @base 'http://' + phantom.args[0] + ':' + phantom.args[1]
@title 'localhost.localdomain'
@open '/secret', 'attempts with agreed authentication details', settings: userName: 'secret', password: '<PASSWORD>', ->
@describe 'should succeed', ->
@assert.contains @page.content, 'OK', 'expects authenticated response'
... | true | @base 'http://' + phantom.args[0] + ':' + phantom.args[1]
@title 'localhost.localdomain'
@open '/secret', 'attempts with agreed authentication details', settings: userName: 'secret', password: 'PI:PASSWORD:<PASSWORD>END_PI', ->
@describe 'should succeed', ->
@assert.contains @page.content, 'OK', 'expects authen... |
[
{
"context": " Day List Component script\n# -----\n# Copyright (c) Kiruse 2021. Licensed under MIT License\nimport Vue from ",
"end": 141,
"score": 0.9974514842033386,
"start": 135,
"tag": "NAME",
"value": "Kiruse"
}
] | dapp/src/components/wotd-list.coffee | Kiruse/WotD.sol | 0 | ######################################################################
# Word of the Day List Component script
# -----
# Copyright (c) Kiruse 2021. Licensed under MIT License
import Vue from 'vue'
import WotDContract from './wotd.contract'
export cache = Vue.observable(
updating: false
words: []
)
export default
... | 154545 | ######################################################################
# Word of the Day List Component script
# -----
# Copyright (c) <NAME> 2021. Licensed under MIT License
import Vue from 'vue'
import WotDContract from './wotd.contract'
export cache = Vue.observable(
updating: false
words: []
)
export default
... | true | ######################################################################
# Word of the Day List Component script
# -----
# Copyright (c) PI:NAME:<NAME>END_PI 2021. Licensed under MIT License
import Vue from 'vue'
import WotDContract from './wotd.contract'
export cache = Vue.observable(
updating: false
words: []
)
e... |
[
{
"context": "ring())\n\npubnub = PUBNUB.init(\n subscribe_key : 'demo' # you should change this!\n publish_key : 'dem",
"end": 719,
"score": 0.8245611786842346,
"start": 715,
"tag": "KEY",
"value": "demo"
},
{
"context": "emo' # you should change this!\n publish_key : 'demo' ... | src/pubnub-mongodb-replicate.coffee | sunnygleason/pubnub-persistence-mongodb | 1 | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-mongodb-replicate.coffee MONGODB_ADDR COLLECTION_NAME CHANNEL_NAME
# - where MONGODB_ADDR is the host:port
# - where COLLECTION_NAME is the MongoDB collection nam... | 78726 | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-mongodb-replicate.coffee MONGODB_ADDR COLLECTION_NAME CHANNEL_NAME
# - where MONGODB_ADDR is the host:port
# - where COLLECTION_NAME is the MongoDB collection nam... | true | #
# PubNub Persistence: node.js replication handler
#
# "Connecting your worldwide apps to redis updates within 250ms"
#
# Usage: coffee src/pubnub-mongodb-replicate.coffee MONGODB_ADDR COLLECTION_NAME CHANNEL_NAME
# - where MONGODB_ADDR is the host:port
# - where COLLECTION_NAME is the MongoDB collection nam... |
[
{
"context": " atom.config.set 'atom-tracker.trackerToken', 'dummytoken'\n atom.notifications.clear()\n @options = Tr",
"end": 332,
"score": 0.8250608444213867,
"start": 322,
"tag": "PASSWORD",
"value": "dummytoken"
},
{
"context": "pect(@options.headers['X-TrackerToken']).t... | spec/services/tracker-utils-spec.coffee | textbook/atom-tracker | 0 | marked = require 'marked'
nock = require 'nock'
{$} = require 'atom-space-pen-views'
FileUtils = require '../../lib/services/file-utils'
TrackerUtils = require '../../lib/services/tracker-utils'
describe 'TrackerUtils', ->
options = null
url = null
beforeEach ->
atom.config.set 'atom-tracker.trackerToken',... | 121350 | marked = require 'marked'
nock = require 'nock'
{$} = require 'atom-space-pen-views'
FileUtils = require '../../lib/services/file-utils'
TrackerUtils = require '../../lib/services/tracker-utils'
describe 'TrackerUtils', ->
options = null
url = null
beforeEach ->
atom.config.set 'atom-tracker.trackerToken',... | true | marked = require 'marked'
nock = require 'nock'
{$} = require 'atom-space-pen-views'
FileUtils = require '../../lib/services/file-utils'
TrackerUtils = require '../../lib/services/tracker-utils'
describe 'TrackerUtils', ->
options = null
url = null
beforeEach ->
atom.config.set 'atom-tracker.trackerToken',... |
[
{
"context": "r name> \\n create user <user name> with password <password> \\n delete user <user name> \\n assign role <role ",
"end": 6435,
"score": 0.998465895652771,
"start": 6427,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ta.approver;\n\t\t\t\t\t\tcreaterepo.create ... | scripts/xldeploy/scripts-mattermost/xldeploy_repo.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... | 161034 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http:... |
[
{
"context": ": \"รูปภาพ\"\n# wizard_tab: \"\"\n password_tab: \"รหัสผ่าน\"\n# emails_tab: \"\"\n language_tab: \"ภาษา\"\n# ",
"end": 2127,
"score": 0.9959550499916077,
"start": 2119,
"tag": "PASSWORD",
"value": "รหัสผ่าน"
},
{
"context": "otos: \"\"\n# wizard_color: ... | app/locale/th.coffee | cochee/codecombat | 1 | module.exports = nativeDescription: "ไทย", englishDescription: "Thai", translation:
common:
loading: "รอสักครู่..."
modal:
close: "ปิด"
okay: "ตกลง"
not_found:
page_not_found: "ขออภัย ไม่พบหน้าเว็บที่คุณต้องการ"
nav:
# Header
sign_up: "ลงทะเบียนใหม่"
log_in: "ลงชื่อเข้าใช้"
lo... | 9050 | module.exports = nativeDescription: "ไทย", englishDescription: "Thai", translation:
common:
loading: "รอสักครู่..."
modal:
close: "ปิด"
okay: "ตกลง"
not_found:
page_not_found: "ขออภัย ไม่พบหน้าเว็บที่คุณต้องการ"
nav:
# Header
sign_up: "ลงทะเบียนใหม่"
log_in: "ลงชื่อเข้าใช้"
lo... | true | module.exports = nativeDescription: "ไทย", englishDescription: "Thai", translation:
common:
loading: "รอสักครู่..."
modal:
close: "ปิด"
okay: "ตกลง"
not_found:
page_not_found: "ขออภัย ไม่พบหน้าเว็บที่คุณต้องการ"
nav:
# Header
sign_up: "ลงทะเบียนใหม่"
log_in: "ลงชื่อเข้าใช้"
lo... |
[
{
"context": "te\n command: 'env'\n env: 'MY_KEY': 'MY VALUE'\n env_export: true\n $log: ({log}) -",
"end": 383,
"score": 0.9209534525871277,
"start": 375,
"tag": "KEY",
"value": "MY VALUE"
},
{
"context": "nikita\n $ssh: ssh\n $env: 'MY_KEY_1': ... | packages/core/test/actions/execute/config.env_export.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... | 162005 |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... | true |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... |
[
{
"context": "-runs the autorun function', (done) ->\n KEY = 'reactive-value'\n Test.insert 'autorun', (instance) =>\n U",
"end": 4627,
"score": 0.9889149069786072,
"start": 4613,
"tag": "KEY",
"value": "reactive-value"
}
] | tests/client/instance-test.coffee | emmerge/meteor-ctrl | 0 | describe 'Instance', ->
afterEach -> Test.tearDown()
it 'has standard structure', (done) ->
Test.insert 'foo', (instance) =>
@try =>
expect(Object.isString(instance.uid)).to.equal true
expect(instance.type).to.equal 'foo'
expect(instance.ctrl).to.be.an.instanceOf Ctrl.Control
... | 80997 | describe 'Instance', ->
afterEach -> Test.tearDown()
it 'has standard structure', (done) ->
Test.insert 'foo', (instance) =>
@try =>
expect(Object.isString(instance.uid)).to.equal true
expect(instance.type).to.equal 'foo'
expect(instance.ctrl).to.be.an.instanceOf Ctrl.Control
... | true | describe 'Instance', ->
afterEach -> Test.tearDown()
it 'has standard structure', (done) ->
Test.insert 'foo', (instance) =>
@try =>
expect(Object.isString(instance.uid)).to.equal true
expect(instance.type).to.equal 'foo'
expect(instance.ctrl).to.be.an.instanceOf Ctrl.Control
... |
[
{
"context": "= new InlineEditable(container, {\n value: 'Dave'\n })\n ie.value().should.equal('Dave')\n\n",
"end": 1512,
"score": 0.9527256488800049,
"start": 1508,
"tag": "NAME",
"value": "Dave"
},
{
"context": ": 'Dave'\n })\n ie.value().should.equal('Da... | src/components/inline-editable/spec.coffee | p-koscielniak/hexagonjs | 61 | import { select, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import { InlineEditable, inlineEditable } from 'components/inline-editable'
import installFakeTimers from 'test/utils/fake-time'
import emit from 'test/utils/fake-event'
export default () ->
describe 'inline-... | 48631 | import { select, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import { InlineEditable, inlineEditable } from 'components/inline-editable'
import installFakeTimers from 'test/utils/fake-time'
import emit from 'test/utils/fake-event'
export default () ->
describe 'inline-... | true | import { select, Selection } from 'utils/selection'
import { userFacingText } from 'utils/user-facing-text'
import { InlineEditable, inlineEditable } from 'components/inline-editable'
import installFakeTimers from 'test/utils/fake-time'
import emit from 'test/utils/fake-event'
export default () ->
describe 'inline-... |
[
{
"context": "he paper Purely Functional\n Random Access List by Chris Okasaki.\n\n @author Mads Hartmann Jensen\n###\n\n###*\n The ",
"end": 282,
"score": 0.9998857975006104,
"start": 269,
"tag": "NAME",
"value": "Chris Okasaki"
},
{
"context": "\n Random Access List by Chris Ok... | src/CompleteBinaryTree.coffee | mads-hartmann/mugs | 1 | ###*
Complete Binary Tree
@fileoverview
Implementation of a Complete Binary Tree. This tree is used in
the implementation of Random Access List. Implementation follows
the complete binary tree described in the paper Purely Functional
Random Access List by Chris Okasaki.
@author Mads Hartmann Jensen
###
... | 165156 | ###*
Complete Binary Tree
@fileoverview
Implementation of a Complete Binary Tree. This tree is used in
the implementation of Random Access List. Implementation follows
the complete binary tree described in the paper Purely Functional
Random Access List by <NAME>.
@author <NAME>
###
###*
The base prot... | true | ###*
Complete Binary Tree
@fileoverview
Implementation of a Complete Binary Tree. This tree is used in
the implementation of Random Access List. Implementation follows
the complete binary tree described in the paper Purely Functional
Random Access List by PI:NAME:<NAME>END_PI.
@author PI:NAME:<NAME>END_... |
[
{
"context": "selector').hide\r\n\r\ninitialize = ->\r\n alert 'Hello Bob'",
"end": 66,
"score": 0.9977280497550964,
"start": 63,
"tag": "NAME",
"value": "Bob"
}
] | examples/03_options/coffee/main.coffee | DannyBen/bobkit | 1 | $ ->
$('#selector').hide
initialize = ->
alert 'Hello Bob' | 31830 | $ ->
$('#selector').hide
initialize = ->
alert 'Hello <NAME>' | true | $ ->
$('#selector').hide
initialize = ->
alert 'Hello PI:NAME:<NAME>END_PI' |
[
{
"context": " @session.load(@Post, 1, params: {invite_token: 'fdsavcxz'}).then (post) =>\n expect(post.id).to.eq(\"1\"",
"end": 5777,
"score": 0.9970047473907471,
"start": 5769,
"tag": "PASSWORD",
"value": "fdsavcxz"
}
] | test/rest/rest.simple.coffee | travisperson/coalesce | 18 | `import Context from 'coalesce/rest/context'`
`import Model from 'coalesce/model/model'`
describe "rest with simple model", ->
lazy 'Post', ->
`class Post extends Model {}`
Post.defineSchema
attributes:
title: {type: 'string'}
Post
lazy 'context', ->
new Context
types:
... | 47494 | `import Context from 'coalesce/rest/context'`
`import Model from 'coalesce/model/model'`
describe "rest with simple model", ->
lazy 'Post', ->
`class Post extends Model {}`
Post.defineSchema
attributes:
title: {type: 'string'}
Post
lazy 'context', ->
new Context
types:
... | true | `import Context from 'coalesce/rest/context'`
`import Model from 'coalesce/model/model'`
describe "rest with simple model", ->
lazy 'Post', ->
`class Post extends Model {}`
Post.defineSchema
attributes:
title: {type: 'string'}
Post
lazy 'context', ->
new Context
types:
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987381100654602,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-writable-change-default-encoding.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... | 122400 | # 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": "ist + '/' + filePath\n auth:\n user: subject\n pass: process.env.BINTRAY_API_KEY\n ",
"end": 2217,
"score": 0.9636011719703674,
"start": 2210,
"tag": "USERNAME",
"value": "subject"
},
{
"context": "h:\n user: subject\n pass... | tasks/publish.coffee | AutoMessenger/automess | 25 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... | 112862 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... | true | gulp = require 'gulp'
path = require 'path'
fs = require 'fs-extra-promise'
crypto = require 'crypto'
async = require 'async'
mustache = require 'gulp-mustache'
githubRelease = require 'gulp-github-release'
request = require 'request'
utils = require './utils'
{deepClone, applySpawn} = utils
manifest = deepClone req... |
[
{
"context": "om Nicoptere and PhysicRend from Cabbibo\n# @author David Ronai / http://makiopolis.com / @makio64\n#\n\nclass FBO\n\n",
"end": 150,
"score": 0.9998726844787598,
"start": 139,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "bo\n# @author David Ronai / http://maki... | src/coffee/makio/3d/FBO.coffee | Makio64/pizzaparty_vj | 1 | #
# Manage fbo, use 3 rtt to feed the position / oldposition / write
# Inpired by FBO from Nicoptere and PhysicRend from Cabbibo
# @author David Ronai / http://makiopolis.com / @makio64
#
class FBO
constructor:( width, height, @renderer, @simulation )->
#-----------------------------------------------------------... | 102630 | #
# Manage fbo, use 3 rtt to feed the position / oldposition / write
# Inpired by FBO from Nicoptere and PhysicRend from Cabbibo
# @author <NAME> / http://makiopolis.com / @makio64
#
class FBO
constructor:( width, height, @renderer, @simulation )->
#----------------------------------------------------------------... | true | #
# Manage fbo, use 3 rtt to feed the position / oldposition / write
# Inpired by FBO from Nicoptere and PhysicRend from Cabbibo
# @author PI:NAME:<NAME>END_PI / http://makiopolis.com / @makio64
#
class FBO
constructor:( width, height, @renderer, @simulation )->
#--------------------------------------------------... |
[
{
"context": " beforeEach ->\n @options.value = \"John Smith\"\n @create()\n\n it \"has correct def",
"end": 6394,
"score": 0.9996012449264526,
"start": 6384,
"tag": "NAME",
"value": "John Smith"
},
{
"context": "pect(@find(\"input[type='text']\").val(... | tests/prompt.test.coffee | bby422/bootbox | 3 | describe "bootbox.prompt", ->
beforeEach ->
window.bootbox = bootbox.init()
@find = (selector) -> @dialog.find selector
@text = (selector) -> @find(selector).text()
@exists = (selector) -> @find(selector).length isnt 0
describe "basic usage tests", ->
describe "with one argument", ->
... | 138892 | describe "bootbox.prompt", ->
beforeEach ->
window.bootbox = bootbox.init()
@find = (selector) -> @dialog.find selector
@text = (selector) -> @find(selector).text()
@exists = (selector) -> @find(selector).length isnt 0
describe "basic usage tests", ->
describe "with one argument", ->
... | true | describe "bootbox.prompt", ->
beforeEach ->
window.bootbox = bootbox.init()
@find = (selector) -> @dialog.find selector
@text = (selector) -> @find(selector).text()
@exists = (selector) -> @find(selector).length isnt 0
describe "basic usage tests", ->
describe "with one argument", ->
... |
[
{
"context": "r-sharelatex\": \n\t\t\t\tlog:->\n\t\t\t\terr:->\n\t\t@token = \"12312321i\"\n\t\t@user_id = \"user_id_here\"\n\t\t@user = \n\t\t\temail ",
"end": 1009,
"score": 0.9432629346847534,
"start": 1000,
"tag": "PASSWORD",
"value": "12312321i"
},
{
"context": "\t\t@user_id = \... | test/UnitTests/coffee/PasswordReset/PasswordResetHandlerTests.coffee | sandstormports/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetHandler"
expect = require("chai").expect
describe "PasswordResetHandler", ... | 53205 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetHandler"
expect = require("chai").expect
describe "PasswordResetHandler", ... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetHandler"
expect = require("chai").expect
describe "PasswordResetHandler", ... |
[
{
"context": ".key\n hashKey: ->\n @hashKey = -> key\n key = \"<Batman.Event base: #{Batman.Hash::hashKeyFor(@base)}, key: \\\"#",
"end": 381,
"score": 0.8790037631988525,
"start": 367,
"tag": "KEY",
"value": "\"<Batman.Event"
},
{
"context": " = -> key\n key = \"<Batman.Ev... | src/event_emitter/event.coffee | davidcornu/batman | 0 | class Batman.Event
@forBaseAndKey: (base, key) ->
if base.isEventEmitter
base.event(key)
else
new Batman.Event(base, key)
constructor: (@base, @key) ->
@_preventCount = 0
isEvent: true
isEqual: (other) ->
@constructor is other.constructor and @base is other.base and @key is other.key... | 89366 | class Batman.Event
@forBaseAndKey: (base, key) ->
if base.isEventEmitter
base.event(key)
else
new Batman.Event(base, key)
constructor: (@base, @key) ->
@_preventCount = 0
isEvent: true
isEqual: (other) ->
@constructor is other.constructor and @base is other.base and @key is other.key... | true | class Batman.Event
@forBaseAndKey: (base, key) ->
if base.isEventEmitter
base.event(key)
else
new Batman.Event(base, key)
constructor: (@base, @key) ->
@_preventCount = 0
isEvent: true
isEqual: (other) ->
@constructor is other.constructor and @base is other.base and @key is other.key... |
[
{
"context": "low reassignment of function parameters.\n# @author Nat Burns\n###\n'use strict'\n\n#------------------------------",
"end": 86,
"score": 0.9997644424438477,
"start": 77,
"tag": "NAME",
"value": "Nat Burns"
}
] | src/tests/rules/no-param-reassign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow reassignment of function parameters.
# @author Nat Burns
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-par... | 126443 | ###*
# @fileoverview Disallow reassignment of function parameters.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-param-... | true | ###*
# @fileoverview Disallow reassignment of function parameters.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/r... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998699426651001,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/RandomStream.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
modulus = 4294967291
multiplier = 279470273
offset = 65537
class root.RandomStream
constructor: (seed = 0) ->
@seed = seed % modulus
unit: ->
@seed = ((@seed+offset) * multiplier) % modu... | 28297 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
modulus = 4294967291
multiplier = 279470273
offset = 65537
class root.RandomStream
constructor: (seed = 0) ->
@seed = seed % modulus
unit: ->
@seed = ((@seed+offset) * multiplier) % modulus
... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
modulus = 4294967291
multiplier = 279470273
offset = 65537
class root.RandomStream
constructor: (seed = 0) ->
@seed = seed % modulus
unit: ->
@seed = ((@seed+offset) * multiplier... |
[
{
"context": "'scopeName': 'source.hubris'\n\n'name': 'Hubris'\n\n'fileTypes': [\n 'hbr'\n]\n\n'patterns': [\n {\n ",
"end": 45,
"score": 0.9694041013717651,
"start": 39,
"tag": "NAME",
"value": "Hubris"
}
] | grammars/hubris.cson | hubris-lang/language-hubris | 0 | 'scopeName': 'source.hubris'
'name': 'Hubris'
'fileTypes': [
'hbr'
]
'patterns': [
{
'name' : 'keyword.control.hurbis'
'match' : '\\b(let|in|fun)\\b'
}
{
'name' : 'keyword.other.hubris'
'match' : '\\b(module|begin|axiom|open|inductive|import|match|with|forall|def|end)\\b'
}
{
'name'... | 205905 | 'scopeName': 'source.hubris'
'name': '<NAME>'
'fileTypes': [
'hbr'
]
'patterns': [
{
'name' : 'keyword.control.hurbis'
'match' : '\\b(let|in|fun)\\b'
}
{
'name' : 'keyword.other.hubris'
'match' : '\\b(module|begin|axiom|open|inductive|import|match|with|forall|def|end)\\b'
}
{
'name'... | true | 'scopeName': 'source.hubris'
'name': 'PI:NAME:<NAME>END_PI'
'fileTypes': [
'hbr'
]
'patterns': [
{
'name' : 'keyword.control.hurbis'
'match' : '\\b(let|in|fun)\\b'
}
{
'name' : 'keyword.other.hubris'
'match' : '\\b(module|begin|axiom|open|inductive|import|match|with|forall|def|end)\\b'
}
... |
[
{
"context": "'''\nwatchOS : App\n\n@auther Jungho song (threeword.com)\n@since 2016.11.24\n'''\nclass expor",
"end": 38,
"score": 0.9998613595962524,
"start": 27,
"tag": "NAME",
"value": "Jungho song"
}
] | modules/watchos-kit-app.coffee | framer-modules/watchos | 2 | '''
watchOS : App
@auther Jungho song (threeword.com)
@since 2016.11.24
'''
class exports.App extends Layer
# Events
Events.ToDock = "toDock"
Events.FromDock = "fromDock"
# Constructor
constructor: (options = {}) ->
options.name ?= "App"
options.width ?= Device.width
options.height ?= Device.height
opti... | 30886 | '''
watchOS : App
@auther <NAME> (threeword.com)
@since 2016.11.24
'''
class exports.App extends Layer
# Events
Events.ToDock = "toDock"
Events.FromDock = "fromDock"
# Constructor
constructor: (options = {}) ->
options.name ?= "App"
options.width ?= Device.width
options.height ?= Device.height
options.c... | true | '''
watchOS : App
@auther PI:NAME:<NAME>END_PI (threeword.com)
@since 2016.11.24
'''
class exports.App extends Layer
# Events
Events.ToDock = "toDock"
Events.FromDock = "fromDock"
# Constructor
constructor: (options = {}) ->
options.name ?= "App"
options.width ?= Device.width
options.height ?= Device.heig... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9995070099830627,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/fixtures/recvfd.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... | 224803 | # 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": "tialsDeviceUuid}, callback) =>\n authorizedKey = @encryption.sign(authorizedUuid)\n @meshblu.search {uuid: creden",
"end": 697,
"score": 0.8425992131233215,
"start": 681,
"tag": "KEY",
"value": "@encryption.sign"
}
] | node_modules/endo-core/src/services/credentials-device-service.coffee | ratokeshi/endo-google-cloud-platform | 0 | _ = require 'lodash'
MeshbluHTTP = require 'meshblu-http'
CredentialsDevice = require '../models/credentials-device'
credentialsDeviceCreateGenerator = require '../config-generators/credentials-device-create-config-generator'
Encryption = require 'meshblu-encryption'
class CredentialsDeviceService
constructor: ({@de... | 179314 | _ = require 'lodash'
MeshbluHTTP = require 'meshblu-http'
CredentialsDevice = require '../models/credentials-device'
credentialsDeviceCreateGenerator = require '../config-generators/credentials-device-create-config-generator'
Encryption = require 'meshblu-encryption'
class CredentialsDeviceService
constructor: ({@de... | true | _ = require 'lodash'
MeshbluHTTP = require 'meshblu-http'
CredentialsDevice = require '../models/credentials-device'
credentialsDeviceCreateGenerator = require '../config-generators/credentials-device-create-config-generator'
Encryption = require 'meshblu-encryption'
class CredentialsDeviceService
constructor: ({@de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.