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": "ubot cat me - Random cat gif\n#\n# Author:\n# cyrilf\n\n# Helper to generate random key\ngenerateRandomKe",
"end": 232,
"score": 0.9997194409370422,
"start": 226,
"tag": "USERNAME",
"value": "cyrilf"
},
{
"context": " = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn... | src/cat-gif.coffee | cyrilf/hubot-catgif | 0 | # Description:
# Return a random cat gif (from thecatapi)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot show me a cat - Random cat gif
# hubot cat me - Random cat gif
#
# Author:
# cyrilf
# Helper to generate random key
generateRandomKey = (length) ->
key = ''
available... | 3670 | # Description:
# Return a random cat gif (from thecatapi)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot show me a cat - Random cat gif
# hubot cat me - Random cat gif
#
# Author:
# cyrilf
# Helper to generate random key
generateRandomKey = (length) ->
key = ''
available... | true | # Description:
# Return a random cat gif (from thecatapi)
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot show me a cat - Random cat gif
# hubot cat me - Random cat gif
#
# Author:
# cyrilf
# Helper to generate random key
generateRandomKey = (length) ->
key = ''
available... |
[
{
"context": "bug: debug\n\n client.create(firstName: 'Shin', lastName: 'Suzuki').then((responseBody) ->\n\n ",
"end": 660,
"score": 0.9831539392471313,
"start": 656,
"tag": "NAME",
"value": "Shin"
},
{
"context": "bug: debug\n\n client.create(firstName: 'Shin... | spec/loopback-user-client.coffee | CureApp/loopback-promised | 10 |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
before ->
@timeout 5000
require('./init')
debug = true
baseURL = 'localhost:4157/test-api'
lbPromised = LoopbackPromised.createInstance
... | 102828 |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
before ->
@timeout 5000
require('./init')
debug = true
baseURL = 'localhost:4157/test-api'
lbPromised = LoopbackPromised.createInstance
... | true |
LoopbackPromised = require '../src/loopback-promised'
LoopbackClient = require '../src/loopback-client'
LoopbackUserClient = require '../src/loopback-user-client'
before ->
@timeout 5000
require('./init')
debug = true
baseURL = 'localhost:4157/test-api'
lbPromised = LoopbackPromised.createInstance
... |
[
{
"context": "an.kill', (params) ->\n #\n # if params.name is 'Batman'\n # return true\n #\n # return false\n #\n ",
"end": 1885,
"score": 0.9980294108390808,
"start": 1879,
"tag": "NAME",
"value": "Batman"
}
] | app/routes.coffee | Gotham-Framework/framework | 40 | #--------------------------------------------------------------------------
# Routes
#--------------------------------------------------------------------------
#
# All routes of your application.
#
# @see http://gothamjs.io/documentation/1.0.0/routing
##
module.exports = (route) ->
#-------------------------------... | 171240 | #--------------------------------------------------------------------------
# Routes
#--------------------------------------------------------------------------
#
# All routes of your application.
#
# @see http://gothamjs.io/documentation/1.0.0/routing
##
module.exports = (route) ->
#-------------------------------... | true | #--------------------------------------------------------------------------
# Routes
#--------------------------------------------------------------------------
#
# All routes of your application.
#
# @see http://gothamjs.io/documentation/1.0.0/routing
##
module.exports = (route) ->
#-------------------------------... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998892545700073,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/seeders/manufactures/articles.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
faker = require 'faker'
###
Create articles demo data
###
module.exports = (users, userStartId) ->
# demo data container
demoData = []
# create articles for... | 2479 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
faker = require 'faker'
###
Create articles demo data
###
module.exports = (users, userStartId) ->
# demo data container
demoData = []
# create articles for each user
for i, u... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
faker = require 'faker'
###
Create articles demo data
###
module.exports = (users, userStartId) ->
# demo data container
demoData = []
# create arti... |
[
{
"context": " items: Observable [\n {name: \"Hello\"}\n {name: \"Test\"}\n ]\n\n ",
"end": 323,
"score": 0.9956421852111816,
"start": 318,
"tag": "NAME",
"value": "Hello"
},
{
"context": "[\n {name: \"Hello\"}\n {na... | test/each.coffee | STRd6/hamlet-runtime | 1 | describe "each", ->
describe "iterating", ->
template = makeTemplate """
%ul
- @items.forEach (item) ->
%li= item.name
"""
describe "with observable arrays", ->
it "should have an item for each element", ->
model =
items: Observable [
{name: "He... | 125917 | describe "each", ->
describe "iterating", ->
template = makeTemplate """
%ul
- @items.forEach (item) ->
%li= item.name
"""
describe "with observable arrays", ->
it "should have an item for each element", ->
model =
items: Observable [
{name: "<N... | true | describe "each", ->
describe "iterating", ->
template = makeTemplate """
%ul
- @items.forEach (item) ->
%li= item.name
"""
describe "with observable arrays", ->
it "should have an item for each element", ->
model =
items: Observable [
{name: "PI... |
[
{
"context": " assert.isTrue highScore > lowScore\n\n # # TODO: (smblott)\n # # Word relevancy should take into acco",
"end": 14192,
"score": 0.9973873496055603,
"start": 14185,
"tag": "USERNAME",
"value": "smblott"
},
{
"context": " assert.isTrue RankingUtils.matches([\"ma... | tests/unit_tests/completion_test.coffee | z0rch/vimium | 0 | require "./test_helper.js"
extend(global, require "../../lib/utils.js")
extend(global, require "../../background_scripts/completion.js")
extend global, require "./test_chrome_stubs.js"
global.document =
createElement: -> {}
context "bookmark completer",
setup ->
@bookmark3 = { title: "bookmark3", url: "bookma... | 182238 | require "./test_helper.js"
extend(global, require "../../lib/utils.js")
extend(global, require "../../background_scripts/completion.js")
extend global, require "./test_chrome_stubs.js"
global.document =
createElement: -> {}
context "bookmark completer",
setup ->
@bookmark3 = { title: "bookmark3", url: "bookma... | true | require "./test_helper.js"
extend(global, require "../../lib/utils.js")
extend(global, require "../../background_scripts/completion.js")
extend global, require "./test_chrome_stubs.js"
global.document =
createElement: -> {}
context "bookmark completer",
setup ->
@bookmark3 = { title: "bookmark3", url: "bookma... |
[
{
"context": "nter'\n# class: 'counting-number'\n# name: 'Counter'\n# style:\n# textAlign: 'center'\n# ",
"end": 474,
"score": 0.9494551420211792,
"start": 467,
"tag": "NAME",
"value": "Counter"
},
{
"context": " data:\n# count: count\n# countName... | test/browser/main.coffee | jgoizueta/reactive-builder | 0 | # To test in browser:
# grunt coffee
# browserify -t coffeeify main.coffee > bundle.js
# open index.html
#
# This requires:
#
# npm install -g browserify
ReactiveBuilder = require '../../lib/reactive-builder'
# double_view = (_, count) ->
# _.p class: 'doubler', =>
# _.text String(count*2)
#
# coun... | 30734 | # To test in browser:
# grunt coffee
# browserify -t coffeeify main.coffee > bundle.js
# open index.html
#
# This requires:
#
# npm install -g browserify
ReactiveBuilder = require '../../lib/reactive-builder'
# double_view = (_, count) ->
# _.p class: 'doubler', =>
# _.text String(count*2)
#
# coun... | true | # To test in browser:
# grunt coffee
# browserify -t coffeeify main.coffee > bundle.js
# open index.html
#
# This requires:
#
# npm install -g browserify
ReactiveBuilder = require '../../lib/reactive-builder'
# double_view = (_, count) ->
# _.p class: 'doubler', =>
# _.text String(count*2)
#
# coun... |
[
{
"context": "roduct) ->\n expect(-> Product.move({_id: '55a620bf8850c0bb45f323e6'}, {from: 27, to: 'backstock'})).to.throw 'Reques",
"end": 3412,
"score": 0.7683230638504028,
"start": 3389,
"tag": "KEY",
"value": "5a620bf8850c0bb45f323e6"
},
{
"context": " expect(-> Product.m... | test/test.coffee | goodeggs/angular-validated-resource | 1 | # TODO: fix attaching this to window here.
geomoment = require 'geomoment'
require 'angular-resource'
describe 'validatedResource', ->
beforeEach ->
angular.mock.module(require('./product.coffee'))
angular.mock.module ($provide) ->
$provide.constant '$window',
settings: { env: 'test' }
... | 176398 | # TODO: fix attaching this to window here.
geomoment = require 'geomoment'
require 'angular-resource'
describe 'validatedResource', ->
beforeEach ->
angular.mock.module(require('./product.coffee'))
angular.mock.module ($provide) ->
$provide.constant '$window',
settings: { env: 'test' }
... | true | # TODO: fix attaching this to window here.
geomoment = require 'geomoment'
require 'angular-resource'
describe 'validatedResource', ->
beforeEach ->
angular.mock.module(require('./product.coffee'))
angular.mock.module ($provide) ->
$provide.constant '$window',
settings: { env: 'test' }
... |
[
{
"context": "e-ad:authenticator-service')\n\nDEFAULT_PASSWORD = 'no-need-for-this'\nPUBLIC_KEYS_URL = 'https://login.microsoftonlin",
"end": 347,
"score": 0.9993972778320312,
"start": 331,
"tag": "PASSWORD",
"value": "no-need-for-this"
},
{
"context": "IC_KEYS_URL = 'https://login... | src/services/authenticator-service.coffee | octoblu/meshblu-authenticator-azure-ad | 0 | _ = require 'lodash'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
MeshbluHttp = require 'meshblu-http'
verifyJWT = require 'verify-azure-ad-jwt'
debug = require('debug')('meshblu-authenticator-azure-ad:authenticator-service')
DEFAULT_P... | 58276 | _ = require 'lodash'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
MeshbluHttp = require 'meshblu-http'
verifyJWT = require 'verify-azure-ad-jwt'
debug = require('debug')('meshblu-authenticator-azure-ad:authenticator-service')
DEFAULT_P... | true | _ = require 'lodash'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
MeshbluHttp = require 'meshblu-http'
verifyJWT = require 'verify-azure-ad-jwt'
debug = require('debug')('meshblu-authenticator-azure-ad:authenticator-service')
DEFAULT_P... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.999889075756073,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/te... | src/Coffixi/textures/RenderTexture.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/RenderTexture', [
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/renderers/canvas/CanvasRenderer'
'Coffixi/renderers/webgl/GLESRenderer'
'./BaseTexture'
'./Texture'
], (
Rectangle
Point... | 212816 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/RenderTexture', [
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/renderers/canvas/CanvasRenderer'
'Coffixi/renderers/webgl/GLESRenderer'
'./BaseTexture'
'./Texture'
], (
Rectangle
Point
M... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/RenderTexture', [
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/renderers/canvas/CanvasRenderer'
'Coffixi/renderers/webgl/GLESRenderer'
'./BaseTexture'
'./Texture'
], (
Rectang... |
[
{
"context": "rbot\n# A NodeJS module for creating Twitter Bots\n# Nathaniel Kirby <nate@projectspong.com\n# https://github.com/nkirb",
"end": 132,
"score": 0.9998586773872375,
"start": 117,
"tag": "NAME",
"value": "Nathaniel Kirby"
},
{
"context": "dule for creating Twitter Bots\n# ... | src/twitterbot_streamaction.coffee | nkirby/node-twitterbot | 75 | ####################################################
# node-twitterbot
# A NodeJS module for creating Twitter Bots
# Nathaniel Kirby <nate@projectspong.com
# https://github.com/nkirby/node-twitterbot
####################################################
eventEmitter = require('events').EventEmitter
class TwitterBotStr... | 38392 | ####################################################
# node-twitterbot
# A NodeJS module for creating Twitter Bots
# <NAME> <<EMAIL>
# https://github.com/nkirby/node-twitterbot
####################################################
eventEmitter = require('events').EventEmitter
class TwitterBotStreamAction extends Twitt... | true | ####################################################
# node-twitterbot
# A NodeJS module for creating Twitter Bots
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI
# https://github.com/nkirby/node-twitterbot
####################################################
eventEmitter = require('events').EventEmitter
class Twitter... |
[
{
"context": "ails](/install/rails)\n- [Roda](https://github.com/adam12/roda-unpoly)\n- [Rack](https://github.com/adam12/r",
"end": 902,
"score": 0.9996078610420227,
"start": 896,
"tag": "USERNAME",
"value": "adam12"
},
{
"context": "m/adam12/roda-unpoly)\n- [Rack](https://github.com... | lib/assets/javascripts/unpoly/protocol.coffee | Dr4K4n/unpoly | 0 | ###**
Server protocol
===============
You rarely need to change server-side code
in order to use Unpoly. There is no need to provide a JSON API, or add
extra routes for AJAX requests. The server simply renders a series
of full HTML pages, just like it would without Unpoly.
That said, there is an **optional** protocol... | 12396 | ###**
Server protocol
===============
You rarely need to change server-side code
in order to use Unpoly. There is no need to provide a JSON API, or add
extra routes for AJAX requests. The server simply renders a series
of full HTML pages, just like it would without Unpoly.
That said, there is an **optional** protocol... | true | ###**
Server protocol
===============
You rarely need to change server-side code
in order to use Unpoly. There is no need to provide a JSON API, or add
extra routes for AJAX requests. The server simply renders a series
of full HTML pages, just like it would without Unpoly.
That said, there is an **optional** protocol... |
[
{
"context": "dle redraw events from neovim\n# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>\n\nshell = require 'shell'\nE",
"end": 75,
"score": 0.9963443875312805,
"start": 68,
"tag": "NAME",
"value": "Lu Wang"
},
{
"context": " events from neovim\n# Copyright (c) 2015 Lu Wang <... | src/nvim/ui.coffee | coolwanglu/neovim-e | 252 | # ui.coffee
# handle redraw events from neovim
# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>
shell = require 'shell'
EventEmitter = require('events').EventEmitter
remote = require 'remote'
config = require './config'
{keystrokeForKeyboardEvent} = require './key_handler'
MOUSE_BUTTON_NAME = [ 'Left', 'Middle', '... | 171848 | # ui.coffee
# handle redraw events from neovim
# Copyright (c) 2015 <NAME> <<EMAIL>>
shell = require 'shell'
EventEmitter = require('events').EventEmitter
remote = require 'remote'
config = require './config'
{keystrokeForKeyboardEvent} = require './key_handler'
MOUSE_BUTTON_NAME = [ 'Left', 'Middle', 'Right' ]
# ne... | true | # ui.coffee
# handle redraw events from neovim
# Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
shell = require 'shell'
EventEmitter = require('events').EventEmitter
remote = require 'remote'
config = require './config'
{keystrokeForKeyboardEvent} = require './key_handler'
MOUSE_BUTTON_NAME = [ 'Lef... |
[
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n#",
"end": 21,
"score": 0.9977009296417236,
"start": 14,
"tag": "USERNAME",
"value": "iTonyYo"
},
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n# Last Update ... | node_modules/node-find-folder/gulp/coffeelint.coffee | long-grass/mikey | 0 | ###
# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
extend = require 'xtend'
clp = require './clp'
gu... | 17055 | ###
# Author: iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
extend = require 'xtend'
clp = require './clp'
gulp.task 'coffeelin... | true | ###
# Author: iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
extend = require 'xtend'
clp = require... |
[
{
"context": "ssageSender'\n\n\n\n\n\n# todo\napnCrt = 'abc'\napnKey = 'abc'\ngcmKey = 'AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQU",
"end": 135,
"score": 0.9974343180656433,
"start": 132,
"tag": "KEY",
"value": "abc"
},
{
"context": "\n\n\n# todo\napnCrt = 'abc'\napnKey = 'abc'\ngcmKey =... | service.coffee | derhuerst/shout-dispatch | 0 | redis = require 'redis'
async = require 'async'
MessageSender = require './MessageSender'
# todo
apnCrt = 'abc'
apnKey = 'abc'
gcmKey = 'AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQUQ' # todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
systems =
ios: 'apn'
osx: 'apn'
safari:... | 144204 | redis = require 'redis'
async = require 'async'
MessageSender = require './MessageSender'
# todo
apnCrt = 'abc'
apnKey = '<KEY>'
gcmKey = '<KEY>' # todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
systems =
ios: 'apn'
osx: 'apn'
safari: 'apn'
android: 'gcm'
chrome:... | true | redis = require 'redis'
async = require 'async'
MessageSender = require './MessageSender'
# todo
apnCrt = 'abc'
apnKey = 'PI:KEY:<KEY>END_PI'
gcmKey = 'PI:KEY:<KEY>END_PI' # todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
systems =
ios: 'apn'
osx: 'apn'
safari: 'apn... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998744130134583,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "nsed under the MIT license.\n * htt... | cli.coffee | rajivchugh/wiki | 1 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **cli.coffee** command line interface for the
# Smallest-Federated-Wiki express server
path = require 'path'
optimist = requir... | 207118 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **cli.coffee** command line interface for the
# Smallest-Federated-Wiki express server
path = require 'path'
optimist = require 'optimi... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **cli.coffee** command line interface for the
# Smallest-Federated-Wiki express server
path = require 'path'
optimist = r... |
[
{
"context": "pattern: \"http*://www.facebook.com/*\", passKeys: \"abab\" }\n { pattern: \"http*://www.facebook.com/*",
"end": 1128,
"score": 0.9907262325286865,
"start": 1124,
"tag": "KEY",
"value": "abab"
},
{
"context": "pattern: \"http*://www.facebook.com/*\", passKeys: \"... | tests/unit_tests/exclusion_test.coffee | liudonghua123/vimium | 16 |
require "./test_helper.js"
extend global, require "./test_chrome_stubs.js"
# FIXME:
# Would like to do:
# extend(global, require "../../background_scripts/marks.js")
# But it looks like marks.coffee has never been included in a test before!
# Temporary fix...
root.Marks =
create: () -> true
goto:
bind: () -> ... | 98423 |
require "./test_helper.js"
extend global, require "./test_chrome_stubs.js"
# FIXME:
# Would like to do:
# extend(global, require "../../background_scripts/marks.js")
# But it looks like marks.coffee has never been included in a test before!
# Temporary fix...
root.Marks =
create: () -> true
goto:
bind: () -> ... | true |
require "./test_helper.js"
extend global, require "./test_chrome_stubs.js"
# FIXME:
# Would like to do:
# extend(global, require "../../background_scripts/marks.js")
# But it looks like marks.coffee has never been included in a test before!
# Temporary fix...
root.Marks =
create: () -> true
goto:
bind: () -> ... |
[
{
"context": "###\n * @author Robert Kolatzek\n * @version 1.0\n * The MIT License (MIT)\n *\n ",
"end": 30,
"score": 0.9998663067817688,
"start": 15,
"tag": "NAME",
"value": "Robert Kolatzek"
},
{
"context": "he MIT License (MIT)\n *\n * Copyright (c) 2015 Dr. Robert Kolatzek\n... | src/GND.coffee | SULB/GNDcoffeine | 0 | ###
* @author Robert Kolatzek
* @version 1.0
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. Robert Kolatzek
*
* 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 rest... | 3133 | ###
* @author <NAME>
* @version 1.0
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version 1.0
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. PI:NAME:<NAME>END_PI
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software wi... |
[
{
"context": "dy driver\n # helpers.initNewPlayer driver1, 'potter'\n\n # # challenge\n # helpers.startNewGam",
"end": 3977,
"score": 0.9985982179641724,
"start": 3971,
"tag": "NAME",
"value": "potter"
},
{
"context": " challenge\n # helpers.startNewGame driver2, ... | test/challenge_spec_wip.coffee | Socialsquare/Sound-Duel-Core | 0 | # test/challenge_spec.coffee
webdriverjs = require 'webdriverjs'
chai = require 'chai'
expect = chai.expect
helpers = require './spec_helpers'
describe "Challenge:", ->
# tests
describe "Player", ->
browser2 = {}
browsers = [ browser, browser2 ]
# hooks
before (done) ->
... | 80544 | # test/challenge_spec.coffee
webdriverjs = require 'webdriverjs'
chai = require 'chai'
expect = chai.expect
helpers = require './spec_helpers'
describe "Challenge:", ->
# tests
describe "Player", ->
browser2 = {}
browsers = [ browser, browser2 ]
# hooks
before (done) ->
... | true | # test/challenge_spec.coffee
webdriverjs = require 'webdriverjs'
chai = require 'chai'
expect = chai.expect
helpers = require './spec_helpers'
describe "Challenge:", ->
# tests
describe "Player", ->
browser2 = {}
browsers = [ browser, browser2 ]
# hooks
before (done) ->
... |
[
{
"context": "bluConfig =\n uuid: 'user-uuid'\n token: 'user-token'\n hostname: 'localhost'\n port: 0xd00d\n ",
"end": 406,
"score": 0.7480618357658386,
"start": 396,
"tag": "PASSWORD",
"value": "user-token"
}
] | test/get-monitored-devices-spec.coffee | octoblu/inquisitor | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describe 'getMonitoredDevices', ->... | 73162 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describe 'getMonitoredDevices', ->... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
SocketIO = require 'socket.io'
Inquisitor = require '..'
describe 'getMonitoredDevices', ->... |
[
{
"context": "n no at signs\", ->\n model.populate({ email: \"joe\" });\n expect(! model.isValid()).toBeTruthy()\n ",
"end": 948,
"score": 0.8565196394920349,
"start": 947,
"tag": "NAME",
"value": "e"
},
{
"context": "ls when two ats\", ->\n model.populate({ email: \"joe@blo... | test/spec_coffee/email_validator_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates "email", test: "email"
describe "validates email", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.validate();
expect(! model.isValid()).toBeTruthy()
expe... | 59902 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates "email", test: "email"
describe "validates email", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.validate();
expect(! model.isValid()).toBeTruthy()
expe... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates "email", test: "email"
describe "validates email", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.validate();
expect(! model.isValid()).toBeTruthy()
expe... |
[
{
"context": ".exist ticket\n comment =\n name : \"worker\"\n kind : \"info\"\n content : \"tes",
"end": 3046,
"score": 0.9686368107795715,
"start": 3040,
"tag": "NAME",
"value": "worker"
}
] | src/tests/ticket_test.coffee | poikilos/node-ticket-manager | 0 | ###
# test for models_ticket
###
## Module dependencies
should = require "should"
_ = require "underscore"
debuglog = require("debug")("node-ticket-manager:test:ticket_test")
STATUS = require "../enums/ticket_status"
config = require("../config/config")['development']
mongoose = require('mongoose')
mongoose.connect(... | 16855 | ###
# test for models_ticket
###
## Module dependencies
should = require "should"
_ = require "underscore"
debuglog = require("debug")("node-ticket-manager:test:ticket_test")
STATUS = require "../enums/ticket_status"
config = require("../config/config")['development']
mongoose = require('mongoose')
mongoose.connect(... | true | ###
# test for models_ticket
###
## Module dependencies
should = require "should"
_ = require "underscore"
debuglog = require("debug")("node-ticket-manager:test:ticket_test")
STATUS = require "../enums/ticket_status"
config = require("../config/config")['development']
mongoose = require('mongoose')
mongoose.connect(... |
[
{
"context": "= Input(driver)\n selector = '.box'\n keys = 'puppies'\n\n it 'fails if selector is undefined', ->\n ",
"end": 257,
"score": 0.998537003993988,
"start": 250,
"tag": "KEY",
"value": "puppies"
},
{
"context": "= Input(driver)\n selector = '.box'\n keys = ... | test/unit/api/input_test.coffee | johan/testium | 2 | Input = require '../../../lib/api/input'
assert = require 'assertive'
describe 'input api', ->
describe '#type', ->
element =
type: ->
driver =
getElement: -> element
input = Input(driver)
selector = '.box'
keys = 'puppies'
it 'fails if selector is undefined', ->
assert.thr... | 180770 | Input = require '../../../lib/api/input'
assert = require 'assertive'
describe 'input api', ->
describe '#type', ->
element =
type: ->
driver =
getElement: -> element
input = Input(driver)
selector = '.box'
keys = '<KEY>'
it 'fails if selector is undefined', ->
assert.throw... | true | Input = require '../../../lib/api/input'
assert = require 'assertive'
describe 'input api', ->
describe '#type', ->
element =
type: ->
driver =
getElement: -> element
input = Input(driver)
selector = '.box'
keys = 'PI:KEY:<KEY>END_PI'
it 'fails if selector is undefined', ->
... |
[
{
"context": "yScheduler extends Base\n @extend()\n\n _key: -> \"#{@hour}:#{@min}\"\n\n _parseOptions: ->\n @hour = parseInt @",
"end": 117,
"score": 0.5924414992332458,
"start": 112,
"tag": "KEY",
"value": "hour}"
}
] | daily.coffee | pavanvidusankha/Archiver | 0 | Base = require './base'
DAY = 24 * 60 * 60 * 1000
class DailyScheduler extends Base
@extend()
_key: -> "#{@hour}:#{@min}"
_parseOptions: ->
@hour = parseInt @opt.hour
@min = parseInt @opt.minute
if not @hour? or isNaN @hour
throw new Error "Scheduler missing/invalid hour value in scheduler #{@id}"
if ... | 180085 | Base = require './base'
DAY = 24 * 60 * 60 * 1000
class DailyScheduler extends Base
@extend()
_key: -> "#{@<KEY>:#{@min}"
_parseOptions: ->
@hour = parseInt @opt.hour
@min = parseInt @opt.minute
if not @hour? or isNaN @hour
throw new Error "Scheduler missing/invalid hour value in scheduler #{@id}"
if ... | true | Base = require './base'
DAY = 24 * 60 * 60 * 1000
class DailyScheduler extends Base
@extend()
_key: -> "#{@PI:KEY:<KEY>END_PI:#{@min}"
_parseOptions: ->
@hour = parseInt @opt.hour
@min = parseInt @opt.minute
if not @hour? or isNaN @hour
throw new Error "Scheduler missing/invalid hour value in scheduler ... |
[
{
"context": "###\nCopyright 2013 Simon Lydell\n\nThis file is part of parse-stack.\n\nparse-stack i",
"end": 31,
"score": 0.9998713731765747,
"start": 19,
"tag": "NAME",
"value": "Simon Lydell"
}
] | node_modules/parse-stack/test/parse-stack.coffee | KartikVashisth/Camper_Website | 7 | ###
Copyright 2013 Simon Lydell
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
parse... | 144176 | ###
Copyright 2013 <NAME>
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
parse-stack... | true | ###
Copyright 2013 PI:NAME:<NAME>END_PI
This file is part of parse-stack.
parse-stack is free software: you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version... |
[
{
"context": " wrapper around Node.js 'http' module\n#\n# (C) 2011 Tristan Slominski\n#\nanode = require '../lib/anode'\nnodehttp = requi",
"end": 91,
"score": 0.9996641278266907,
"start": 74,
"tag": "NAME",
"value": "Tristan Slominski"
}
] | src/http.coffee | tristanls/anodejs | 3 | #
# http.coffee : anode wrapper around Node.js 'http' module
#
# (C) 2011 Tristan Slominski
#
anode = require '../lib/anode'
nodehttp = require 'http'
#
# Anode wrapper around the http.clientRequest
#
clientRequest_beh = anode.beh 'request'
'cust, #abort' : ->
@request.abort()
if @cust # ack requested
... | 50523 | #
# http.coffee : anode wrapper around Node.js 'http' module
#
# (C) 2011 <NAME>
#
anode = require '../lib/anode'
nodehttp = require 'http'
#
# Anode wrapper around the http.clientRequest
#
clientRequest_beh = anode.beh 'request'
'cust, #abort' : ->
@request.abort()
if @cust # ack requested
@send... | true | #
# http.coffee : anode wrapper around Node.js 'http' module
#
# (C) 2011 PI:NAME:<NAME>END_PI
#
anode = require '../lib/anode'
nodehttp = require 'http'
#
# Anode wrapper around the http.clientRequest
#
clientRequest_beh = anode.beh 'request'
'cust, #abort' : ->
@request.abort()
if @cust # ack request... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.9997628927230835,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
},
{
"context": " @store.createRecord(\"spell\",\n name: \"Telep... | app/assets/javascripts/controllers/introduction_controller.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 137168 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "###################################\n# MINDAY 0.009 Lykia \n# sample-ishikawa.coffee\n# Пример применения диа",
"end": 69,
"score": 0.9145180583000183,
"start": 64,
"tag": "NAME",
"value": "Lykia"
},
{
"context": "##################\n\nsample.gantt = ->\n\n\tgg = adf \"... | sample-gantt.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.009 Lykia
# sample-ishikawa.coffee
# Пример применения диаграммы ишикава
################################################
sample.gantt = ->
gg = adf "Диаграмма Гантта"
g=add "План работ",start:1,finish:10
gg.push g
g.push add "Обследование",start:1,fini... | 184069 | ################################################
# MINDAY 0.009 <NAME>
# sample-ishikawa.coffee
# Пример применения диаграммы ишикава
################################################
sample.gantt = ->
gg = adf "<NAME>"
g=add "План работ",start:1,finish:10
gg.push g
g.push add "Обследование",start:1,finish:3,resu... | true | ################################################
# MINDAY 0.009 PI:NAME:<NAME>END_PI
# sample-ishikawa.coffee
# Пример применения диаграммы ишикава
################################################
sample.gantt = ->
gg = adf "PI:NAME:<NAME>END_PI"
g=add "План работ",start:1,finish:10
gg.push g
g.push add "Обследо... |
[
{
"context": "###\n mixin-js-flags.js 0.1.5\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/\n License: M",
"end": 61,
"score": 0.9997936487197876,
"start": 47,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.1.5\n (c) 2011, 2012 Kevin Malakoff ... | src/lib/mixin-js-flags.coffee | kmalakoff/mixin | 14 | ###
mixin-js-flags.js 0.1.5
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Flags or= {}
Mixin.Flags._mixin_info =
mixin_name: 'Flags'
initialize: (flags=0, change_callback) ->
Mixin... | 125603 | ###
mixin-js-flags.js 0.1.5
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Flags or= {}
Mixin.Flags._mixin_info =
mixin_name: 'Flags'
initialize: (flags=0, change_callback) ->
Mixin.instanc... | true | ###
mixin-js-flags.js 0.1.5
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Flags or= {}
Mixin.Flags._mixin_info =
mixin_name: 'Flags'
initialize: (flags=0, change_callback) ->
... |
[
{
"context": "body:\n essid: 'Testing'\n password: 'Testing'\n fetch '/sta', data\n .then ok\n\n it 'GET",
"end": 191,
"score": 0.9993703365325928,
"start": 184,
"tag": "PASSWORD",
"value": "Testing"
}
] | device/test/30-sta.coffee | twhtanghk/docker.esp8266 | 1 | describe 'sta', ->
it 'GET /sta', ->
fetch '/sta'
.then ok
it 'PUT /sta', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: 'Testing'
fetch '/sta', data
.then ok
it 'GET /sta/scan', ->
fetch '/sta/scan'
.then ok
| 215240 | describe 'sta', ->
it 'GET /sta', ->
fetch '/sta'
.then ok
it 'PUT /sta', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: '<PASSWORD>'
fetch '/sta', data
.then ok
it 'GET /sta/scan', ->
fetch '/sta/scan'
.then ok
| true | describe 'sta', ->
it 'GET /sta', ->
fetch '/sta'
.then ok
it 'PUT /sta', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
fetch '/sta', data
.then ok
it 'GET /sta/scan', ->
fetch '/sta/scan'
.then ok
|
[
{
"context": "(c) 2014 Klar Systems\n# License: MIT\n# Modified by Juha Tauriainen 2015\n###\n'use strict'\nangular.module('materialBat",
"end": 105,
"score": 0.9998960494995117,
"start": 90,
"tag": "NAME",
"value": "Juha Tauriainen"
}
] | src/angular-material-icons.coffee | purple-circle/battery-directive | 4 |
###
# angular-material-icons v0.4.0
# (c) 2014 Klar Systems
# License: MIT
# Modified by Juha Tauriainen 2015
###
'use strict'
angular.module('materialBatteryIcon', []).directive 'batteryIcon', ->
shapes =
'battery_20': '<path d="M7 17v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17H7z"/><path fill-op... | 34494 |
###
# angular-material-icons v0.4.0
# (c) 2014 Klar Systems
# License: MIT
# Modified by <NAME> 2015
###
'use strict'
angular.module('materialBatteryIcon', []).directive 'batteryIcon', ->
shapes =
'battery_20': '<path d="M7 17v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17H7z"/><path fill-opacity=".3... | true |
###
# angular-material-icons v0.4.0
# (c) 2014 Klar Systems
# License: MIT
# Modified by PI:NAME:<NAME>END_PI 2015
###
'use strict'
angular.module('materialBatteryIcon', []).directive 'batteryIcon', ->
shapes =
'battery_20': '<path d="M7 17v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17H7z"/><path fi... |
[
{
"context": "\n window.print()\n\n userName: ->\n @name || \"Lorem Ipsum Name\"\n\n getCodeLanguageName: ->\n \"Python\"\n\n loadC",
"end": 1895,
"score": 0.8904175758361816,
"start": 1879,
"tag": "NAME",
"value": "Lorem Ipsum Name"
}
] | app/views/user/AnonCertificatesView.coffee | cihatislamdede/codecombat | 4,858 | require('app/styles/user/certificates-view.sass')
RootView = require 'views/core/RootView'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
Levels = require 'collections/Levels'
Level = require 'models/Level'
utils = require 'core/utils'
Campaign = require 'models/Campaign'
# This certificate ... | 150848 | require('app/styles/user/certificates-view.sass')
RootView = require 'views/core/RootView'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
Levels = require 'collections/Levels'
Level = require 'models/Level'
utils = require 'core/utils'
Campaign = require 'models/Campaign'
# This certificate ... | true | require('app/styles/user/certificates-view.sass')
RootView = require 'views/core/RootView'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
Levels = require 'collections/Levels'
Level = require 'models/Level'
utils = require 'core/utils'
Campaign = require 'models/Campaign'
# This certificate ... |
[
{
"context": "###################################\n#\n# Created by Markus on 26/10/2017.\n#\n################################",
"end": 101,
"score": 0.9988530874252319,
"start": 95,
"tag": "NAME",
"value": "Markus"
}
] | server/3_database/modify.coffee | MooqitaSFH/worklearn | 0 | ###############################################################################
#
# Created by Markus on 26/10/2017.
#
###############################################################################
###############################################################################
@set_field = (collection, item_id, field... | 71793 | ###############################################################################
#
# Created by <NAME> on 26/10/2017.
#
###############################################################################
###############################################################################
@set_field = (collection, item_id, field... | true | ###############################################################################
#
# Created by PI:NAME:<NAME>END_PI on 26/10/2017.
#
###############################################################################
###############################################################################
@set_field = (collection, ... |
[
{
"context": "###\nNicholas Clawson -2014\n\nThe bottom toolbar. In charge handling use",
"end": 20,
"score": 0.9997664093971252,
"start": 4,
"tag": "NAME",
"value": "Nicholas Clawson"
},
{
"context": ", borrowed from\n # https://github.com/Filirom1/stripcolorcodes (MIT l... | .atom/packages/grunt-runner/lib/grunt-runner-view.coffee | callistino/dotfiles | 0 | ###
Nicholas Clawson -2014
The bottom toolbar. In charge handling user input and implementing
various commands. Creates a SelectListView and launches a task to
discover the projects grunt commands. Logs errors and output.
Also launches an Atom BufferedProcess to run grunt when needed.
###
{View, BufferedProcess, Task... | 138152 | ###
<NAME> -2014
The bottom toolbar. In charge handling user input and implementing
various commands. Creates a SelectListView and launches a task to
discover the projects grunt commands. Logs errors and output.
Also launches an Atom BufferedProcess to run grunt when needed.
###
{View, BufferedProcess, Task} = requir... | true | ###
PI:NAME:<NAME>END_PI -2014
The bottom toolbar. In charge handling user input and implementing
various commands. Creates a SelectListView and launches a task to
discover the projects grunt commands. Logs errors and output.
Also launches an Atom BufferedProcess to run grunt when needed.
###
{View, BufferedProcess, ... |
[
{
"context": "ON.stringify({\n id: 100\n name: \"monster\"\n status: \"dead\"\n })\n }\n ",
"end": 2220,
"score": 0.9757388234138489,
"start": 2213,
"tag": "NAME",
"value": "monster"
},
{
"context": " headers: {}\n petId: 1\n ... | src/swagger-http-spec.coffee | tinj/swagger-js | 1 | window.api_key = 'special-key'
describe 'SwaggerHttp for version 1.2 spec', ->
beforeEach ->
success = ->
log "success"
window.authorizations.add "key", new ApiKeyAuthorization("api_key", "special-key", "header")
window.swagger = new SwaggerApi({url: 'http://localhost:8002/api/api-docs', succes... | 138926 | window.api_key = 'special-key'
describe 'SwaggerHttp for version 1.2 spec', ->
beforeEach ->
success = ->
log "success"
window.authorizations.add "key", new ApiKeyAuthorization("api_key", "special-key", "header")
window.swagger = new SwaggerApi({url: 'http://localhost:8002/api/api-docs', succes... | true | window.api_key = 'special-key'
describe 'SwaggerHttp for version 1.2 spec', ->
beforeEach ->
success = ->
log "success"
window.authorizations.add "key", new ApiKeyAuthorization("api_key", "special-key", "header")
window.swagger = new SwaggerApi({url: 'http://localhost:8002/api/api-docs', succes... |
[
{
"context": "Loading = false\n return\n ,\n name: 'Vocaroo'\n style:\n border: 'none'\n widt",
"end": 4400,
"score": 0.9946165084838867,
"start": 4393,
"tag": "NAME",
"value": "Vocaroo"
},
{
"context": " Embedding.cb.toggle @, el\n ,\n n... | src/Linkification/Embedding.coffee | ihavenoface/4chan-x | 4 | Embedding =
init: ->
return if g.VIEW is 'catalog' or !Conf['Embedding']
if Conf['Floating Embeds']
@dialog = UI.dialog 'embedding', 'top: 50px; right: 0px;',
<%= importHTML('Linkification/Embed') %>
@media = $ '#media-embed', @dialog
$.on d, '4chanXInitFinished', @ready
Post.... | 120263 | Embedding =
init: ->
return if g.VIEW is 'catalog' or !Conf['Embedding']
if Conf['Floating Embeds']
@dialog = UI.dialog 'embedding', 'top: 50px; right: 0px;',
<%= importHTML('Linkification/Embed') %>
@media = $ '#media-embed', @dialog
$.on d, '4chanXInitFinished', @ready
Post.... | true | Embedding =
init: ->
return if g.VIEW is 'catalog' or !Conf['Embedding']
if Conf['Floating Embeds']
@dialog = UI.dialog 'embedding', 'top: 50px; right: 0px;',
<%= importHTML('Linkification/Embed') %>
@media = $ '#media-embed', @dialog
$.on d, '4chanXInitFinished', @ready
Post.... |
[
{
"context": "PDFDocument - represents an entire PDF document\nBy Devon Govett\n###\n\nfs = require 'fs'\nPDFObjectStore = require '",
"end": 67,
"score": 0.999858021736145,
"start": 55,
"tag": "NAME",
"value": "Devon Govett"
}
] | lib/document.coffee | sax1johno/pdfkit | 1 | ###
PDFDocument - represents an entire PDF document
By Devon Govett
###
fs = require 'fs'
PDFObjectStore = require './store'
PDFObject = require './object'
PDFReference = require './reference'
PDFPage = require './page'
class PDFDocument
constructor: (@options = {}) ->
# PDF version
@version = 1.3... | 42026 | ###
PDFDocument - represents an entire PDF document
By <NAME>
###
fs = require 'fs'
PDFObjectStore = require './store'
PDFObject = require './object'
PDFReference = require './reference'
PDFPage = require './page'
class PDFDocument
constructor: (@options = {}) ->
# PDF version
@version = 1.3
... | true | ###
PDFDocument - represents an entire PDF document
By PI:NAME:<NAME>END_PI
###
fs = require 'fs'
PDFObjectStore = require './store'
PDFObject = require './object'
PDFReference = require './reference'
PDFPage = require './page'
class PDFDocument
constructor: (@options = {}) ->
# PDF version
@versi... |
[
{
"context": "pts = {}) ->\n\n token = opts?.body?.email or 'someToken'\n body = generateResetRequestBody()\n\n params =",
"end": 506,
"score": 0.5193849802017212,
"start": 501,
"tag": "KEY",
"value": "Token"
}
] | servers/testhelper/handler/resethelper.coffee | ezgikaysi/koding | 1 | querystring = require 'querystring'
{ generateUrl
deepObjectExtend
generateRandomString
generateRequestParamsEncodeBody } = require '../index'
generateResetRequestBody = (opts = {}) ->
defaultBodyObject =
_csrf : generateRandomString()
password : generateRandomString()
recoveryToken... | 142045 | querystring = require 'querystring'
{ generateUrl
deepObjectExtend
generateRandomString
generateRequestParamsEncodeBody } = require '../index'
generateResetRequestBody = (opts = {}) ->
defaultBodyObject =
_csrf : generateRandomString()
password : generateRandomString()
recoveryToken... | true | querystring = require 'querystring'
{ generateUrl
deepObjectExtend
generateRandomString
generateRequestParamsEncodeBody } = require '../index'
generateResetRequestBody = (opts = {}) ->
defaultBodyObject =
_csrf : generateRandomString()
password : generateRandomString()
recoveryToken... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998884201049805,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/search.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 17740 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "bject\", ->\n result = @schema.process({name: \"Mathias\", age: 35})\n expect(Object.keys(result.doc))",
"end": 722,
"score": 0.9996310472488403,
"start": 715,
"tag": "NAME",
"value": "Mathias"
},
{
"context": " \"alive\"])\n expect(result.doc.name).toEqu... | coffeescripts/json-schema-spec.coffee | webpop/json-schemer | 1 | describe "JsonSchema", ->
describe "with a simple example schema from the ietf draft", ->
beforeEach ->
@schema = new JsonSchema
description: "A person"
type:"object"
properties:
name: {type: "string"}
age:
type: "integer"
maximum: 125
... | 193298 | describe "JsonSchema", ->
describe "with a simple example schema from the ietf draft", ->
beforeEach ->
@schema = new JsonSchema
description: "A person"
type:"object"
properties:
name: {type: "string"}
age:
type: "integer"
maximum: 125
... | true | describe "JsonSchema", ->
describe "with a simple example schema from the ietf draft", ->
beforeEach ->
@schema = new JsonSchema
description: "A person"
type:"object"
properties:
name: {type: "string"}
age:
type: "integer"
maximum: 125
... |
[
{
"context": "chargestatus']\n charge.pusher_channel_token = Math.random().toString(36).slice(2)\n\n pusher = ne",
"end": 8788,
"score": 0.941838800907135,
"start": 8784,
"tag": "KEY",
"value": "Math"
},
{
"context": "status']\n charge.pusher_channel_token = Math.rando... | src/coffee/donations-form-model.coffee | controlshift/prague-client | 3 | cacheBust = '__rand__'
class DonationsFormModel
constructor: (jQuery, opts) ->
try
self = @
`$ = jQuery;`
config = $.extend({}, {
imgpath: 'praguecloudfronturl' + '/img',
metaviewporttag: true
}, opts, self.parseQueryString(document.URL.split("?")[1]))
ko.validation... | 105226 | cacheBust = '__rand__'
class DonationsFormModel
constructor: (jQuery, opts) ->
try
self = @
`$ = jQuery;`
config = $.extend({}, {
imgpath: 'praguecloudfronturl' + '/img',
metaviewporttag: true
}, opts, self.parseQueryString(document.URL.split("?")[1]))
ko.validation... | true | cacheBust = '__rand__'
class DonationsFormModel
constructor: (jQuery, opts) ->
try
self = @
`$ = jQuery;`
config = $.extend({}, {
imgpath: 'praguecloudfronturl' + '/img',
metaviewporttag: true
}, opts, self.parseQueryString(document.URL.split("?")[1]))
ko.validation... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994345307350159,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | deps/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.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... | 219814 | # 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": "gz'\n\n transbrute:\n docs:\n remote: 'git@github.com:chaplinjs/chaplin.git'\n branch: 'gh-pages'",
"end": 2990,
"score": 0.9997434616088867,
"start": 2976,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "rute:\n docs:\n remo... | Gruntfile.coffee | timgates42/chaplin | 406 | 'use strict'
# Package
# =======
pkg = require './package.json'
banner = """
/*!
* Chaplin #{pkg.version}
*
* Chaplin may be freely distributed under the MIT license.
* For all details and documentation:
* http://chaplinjs.org
*/
"""
umdHead = '''
(function(root, factory) {
if (typeof define === 'function' ... | 67098 | 'use strict'
# Package
# =======
pkg = require './package.json'
banner = """
/*!
* Chaplin #{pkg.version}
*
* Chaplin may be freely distributed under the MIT license.
* For all details and documentation:
* http://chaplinjs.org
*/
"""
umdHead = '''
(function(root, factory) {
if (typeof define === 'function' ... | true | 'use strict'
# Package
# =======
pkg = require './package.json'
banner = """
/*!
* Chaplin #{pkg.version}
*
* Chaplin may be freely distributed under the MIT license.
* For all details and documentation:
* http://chaplinjs.org
*/
"""
umdHead = '''
(function(root, factory) {
if (typeof define === 'function' ... |
[
{
"context": "->\n SocialCalc ?= {}\n SocialCalc._username = Math.random().toString()\n SocialCalc.isConnected = true\n ",
"end": 100,
"score": 0.44269707798957825,
"start": 89,
"tag": "KEY",
"value": "Math.random"
},
{
"context": "lc ?= {}\n SocialCalc._username = Math.... | player.coffee | obra/ethercalc | 1 | @include = ->
@client '/player.js': ->
SocialCalc ?= {}
SocialCalc._username = Math.random().toString()
SocialCalc.isConnected = true
SocialCalc.hadSnapshot = false
SocialCalc._room = window.location.hash.replace('#', '')
unless SocialCalc._room
window.location = '/start'
retur... | 210361 | @include = ->
@client '/player.js': ->
SocialCalc ?= {}
SocialCalc._username = <KEY>().<KEY>()
SocialCalc.isConnected = true
SocialCalc.hadSnapshot = false
SocialCalc._room = window.location.hash.replace('#', '')
unless SocialCalc._room
window.location = '/start'
return
... | true | @include = ->
@client '/player.js': ->
SocialCalc ?= {}
SocialCalc._username = PI:KEY:<KEY>END_PI().PI:KEY:<KEY>END_PI()
SocialCalc.isConnected = true
SocialCalc.hadSnapshot = false
SocialCalc._room = window.location.hash.replace('#', '')
unless SocialCalc._room
window.location = '/sta... |
[
{
"context": " o.body.track.id\n key : o.body.track.key.key_fingerprint?.toUpperCase()\n proofs : proofs\n ctime ",
"end": 1911,
"score": 0.4836783707141876,
"start": 1900,
"tag": "KEY",
"value": "fingerprint"
},
{
"context": ".id\n key : o.body.track.key.key_fing... | src/command/list_tracking.iced | substack/keybase-client | 1 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... | 6234 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... | true | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... |
[
{
"context": "\tczech = {\n\t\t\tmeta: { Title: \"Desatero\", Author: \"Ví bůh\" }\n\t\t\tcontent: [\n\t\t\t\t{ section: \"1\", text: \"V jed",
"end": 536,
"score": 0.9994617700576782,
"start": 530,
"tag": "NAME",
"value": "Ví bůh"
},
{
"context": "\tpolish = {\n\t\t\tmeta: { Title: ... | source/tests/services/transformer.js.coffee | tasuki/side-by-side | 29 | transformer = {}
english = {}
czech = {}
polish = {}
expected = {}
module "transformer", {
setup: ->
transformer = getInjector().get 'transformer'
english = {
meta: { Title: "Ten Commandments", Author: "God knows" }
content: [
{ section: "1", text: "Thou shalt have no other gods before me" }
{ sect... | 46836 | transformer = {}
english = {}
czech = {}
polish = {}
expected = {}
module "transformer", {
setup: ->
transformer = getInjector().get 'transformer'
english = {
meta: { Title: "Ten Commandments", Author: "God knows" }
content: [
{ section: "1", text: "Thou shalt have no other gods before me" }
{ sect... | true | transformer = {}
english = {}
czech = {}
polish = {}
expected = {}
module "transformer", {
setup: ->
transformer = getInjector().get 'transformer'
english = {
meta: { Title: "Ten Commandments", Author: "God knows" }
content: [
{ section: "1", text: "Thou shalt have no other gods before me" }
{ sect... |
[
{
"context": "nikita()\n .registry.register( 'level_1', key: 'value 1', handler: ->\n @call ({parent}) ->\n p",
"end": 1120,
"score": 0.934635579586029,
"start": 1113,
"tag": "KEY",
"value": "value 1"
},
{
"context": "\n )\n .registry.register( 'level_2_2', key: ... | packages/core/test/action/parent.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '../../src'
{tags} = require '../test'
return unless tags.api
describe 'action "parent"', ->
it 'default values', ->
nikita
# First level
.call ({parent}) ->
(parent is undefined).should.be.true()
# Second level
.call ->
@call ({parent}) ->
(parent.pare... | 72405 |
nikita = require '../../src'
{tags} = require '../test'
return unless tags.api
describe 'action "parent"', ->
it 'default values', ->
nikita
# First level
.call ({parent}) ->
(parent is undefined).should.be.true()
# Second level
.call ->
@call ({parent}) ->
(parent.pare... | true |
nikita = require '../../src'
{tags} = require '../test'
return unless tags.api
describe 'action "parent"', ->
it 'default values', ->
nikita
# First level
.call ({parent}) ->
(parent is undefined).should.be.true()
# Second level
.call ->
@call ({parent}) ->
(parent.pare... |
[
{
"context": " #\n # Post.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 41,
"score": 0.9862385988235474,
"start": 31,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Post.\n #\n # Created by hector spc <hector@aerstudio.c... | src/models/post_model.coffee | aerstudio/Phallanxpress | 1 | #
# Post.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Wed Feb 22 2012
#
# models/post_model.js.coffee
#
class Phallanxpress.Post extends Phallanxpress.Model
apiCommand: 'get_post'
parseTag: 'post'
| 22251 | #
# Post.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Wed Feb 22 2012
#
# models/post_model.js.coffee
#
class Phallanxpress.Post extends Phallanxpress.Model
apiCommand: 'get_post'
parseTag: 'post'
| true | #
# Post.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Wed Feb 22 2012
#
# models/post_model.js.coffee
#
class Phallanxpress.Post extends Phallanxpress.Model
apiCommand: 'get_post'
parseTag: 'post'
|
[
{
"context": " looks good moving #{meters}m.\"\n\nsam = new Snake \"Sammy the Python\"\ntom = new Horse \"Tommy the Palomino\"\nben = new C",
"end": 626,
"score": 0.7894735336303711,
"start": 610,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "m = new Snake \"Sammy the P... | node_modules/YouAreDaChef/spec/YouAreDaChef.spec.coffee | raganwald/recursiveuniverse | 4 | YouAreDaChef = require('../lib/YouAreDaChef.coffee').YouAreDaChef
_ = require 'underscore'
############
# preamble #
############
class Animal
constructor: (@name) ->
move: (meters) ->
@name + " moved #{meters}m."
class Hippo extends Animal
move: (meters) ->
@name + " lumbered #{meters}m."
class Snak... | 23825 | YouAreDaChef = require('../lib/YouAreDaChef.coffee').YouAreDaChef
_ = require 'underscore'
############
# preamble #
############
class Animal
constructor: (@name) ->
move: (meters) ->
@name + " moved #{meters}m."
class Hippo extends Animal
move: (meters) ->
@name + " lumbered #{meters}m."
class Snak... | true | YouAreDaChef = require('../lib/YouAreDaChef.coffee').YouAreDaChef
_ = require 'underscore'
############
# preamble #
############
class Animal
constructor: (@name) ->
move: (meters) ->
@name + " moved #{meters}m."
class Hippo extends Animal
move: (meters) ->
@name + " lumbered #{meters}m."
class Snak... |
[
{
"context": "atest/ for more info on available \n#\n# Author:\n# ParadoxGuitarist\n\nconfluence_user = process.env.HUBOT",
"end": 992,
"score": 0.7109500169754028,
"start": 989,
"tag": "NAME",
"value": "Par"
},
{
"context": "t/ for more info on available \n#\n# Author:\n# Parado... | src/confluence-wiki.coffee | ParadoxGuitarist/hubot-confluence-wiki | 1 | # Description
# Confluence/Wiki searches
#
# Configuration:
# HUBOT_CONFLUENCE_USER - (required)
# HUBOT_CONFLUENCE_PASSWORD - (required)
# HUBOT_CONFLUENCE_HOST - (required) - confluence hostname or alias (wiki.example.com)
# HUBOT_CONFLUENCE_PROTOCOL - defaults to https
# HUBOT_CONFLUENCE_SEARCH_SPACE -(o... | 112714 | # Description
# Confluence/Wiki searches
#
# Configuration:
# HUBOT_CONFLUENCE_USER - (required)
# HUBOT_CONFLUENCE_PASSWORD - (required)
# HUBOT_CONFLUENCE_HOST - (required) - confluence hostname or alias (wiki.example.com)
# HUBOT_CONFLUENCE_PROTOCOL - defaults to https
# HUBOT_CONFLUENCE_SEARCH_SPACE -(o... | true | # Description
# Confluence/Wiki searches
#
# Configuration:
# HUBOT_CONFLUENCE_USER - (required)
# HUBOT_CONFLUENCE_PASSWORD - (required)
# HUBOT_CONFLUENCE_HOST - (required) - confluence hostname or alias (wiki.example.com)
# HUBOT_CONFLUENCE_PROTOCOL - defaults to https
# HUBOT_CONFLUENCE_SEARCH_SPACE -(o... |
[
{
"context": "= null\n\n beforeEach ->\n creds = accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'sessi",
"end": 905,
"score": 0.9768177270889282,
"start": 901,
"tag": "KEY",
"value": "akid"
},
{
"context": " creds = accessKeyId: 'akid', secretAccessKey: 'secret',... | test/signers/v4.spec.coffee | ilonabudapesti/aws-sdk-js | 1 | helpers = require('../helpers')
AWS = helpers.AWS
beforeEach ->
spyOn(AWS.util, 'userAgent').andReturn('aws-sdk-js/0.1')
buildRequest = ->
ddb = new AWS.DynamoDB({region: 'region', endpoint: 'localhost', apiVersion: '2011-12-05'})
ddb.makeRequest('listTables', {foo: 'bår'}).build().httpRequest
buildSigner = (r... | 125299 | helpers = require('../helpers')
AWS = helpers.AWS
beforeEach ->
spyOn(AWS.util, 'userAgent').andReturn('aws-sdk-js/0.1')
buildRequest = ->
ddb = new AWS.DynamoDB({region: 'region', endpoint: 'localhost', apiVersion: '2011-12-05'})
ddb.makeRequest('listTables', {foo: 'bår'}).build().httpRequest
buildSigner = (r... | true | helpers = require('../helpers')
AWS = helpers.AWS
beforeEach ->
spyOn(AWS.util, 'userAgent').andReturn('aws-sdk-js/0.1')
buildRequest = ->
ddb = new AWS.DynamoDB({region: 'region', endpoint: 'localhost', apiVersion: '2011-12-05'})
ddb.makeRequest('listTables', {foo: 'bår'}).build().httpRequest
buildSigner = (r... |
[
{
"context": "options:\n coveralls:\n repoToken: \"9TE8NsKQWe94SUDmDeytRGcvuiYsYrabI\"\n require: ['coffee-script/register','shou",
"end": 1126,
"score": 0.958893895149231,
"start": 1093,
"tag": "KEY",
"value": "9TE8NsKQWe94SUDmDeytRGcvuiYsYrabI"
}
] | Gruntfile.coffee | codedoctor/hapi-routes-users-authorizations | 1 | _ = require 'underscore'
coffeeRename = (destBase, destPath) ->
destPath = destPath.replace 'src/',''
destBase + destPath.replace /\.coffee$/, '.js'
module.exports = (grunt) ->
filterGrunt = ->
gruntFiles = require("matchdep").filterDev("grunt-*")
_.reject gruntFiles, (x) -> x is 'grunt-cli'
filterG... | 13578 | _ = require 'underscore'
coffeeRename = (destBase, destPath) ->
destPath = destPath.replace 'src/',''
destBase + destPath.replace /\.coffee$/, '.js'
module.exports = (grunt) ->
filterGrunt = ->
gruntFiles = require("matchdep").filterDev("grunt-*")
_.reject gruntFiles, (x) -> x is 'grunt-cli'
filterG... | true | _ = require 'underscore'
coffeeRename = (destBase, destPath) ->
destPath = destPath.replace 'src/',''
destBase + destPath.replace /\.coffee$/, '.js'
module.exports = (grunt) ->
filterGrunt = ->
gruntFiles = require("matchdep").filterDev("grunt-*")
_.reject gruntFiles, (x) -> x is 'grunt-cli'
filterG... |
[
{
"context": "alOptions or= {}\n options =\n 'http-address': \"127.0.0.1:#{HTTP_PORT}\"\n 'tcp-address': \"127.0.0.1:#{TCP",
"end": 364,
"score": 0.9997307658195496,
"start": 355,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ss': \"127.0.0.1:#{HTTP_PORT}\"\n '... | test/integration_test.coffee | upyun-dev/nsqjs | 0 | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTP_PORT = 14151
startNSQD = (dataPath, additionalOptions, callback) ->
additionalOptions or= {... | 84190 | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTP_PORT = 14151
startNSQD = (dataPath, additionalOptions, callback) ->
additionalOptions or= {... | true | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTP_PORT = 14151
startNSQD = (dataPath, additionalOptions, callback) ->
additionalOptions or= {... |
[
{
"context": "#\n# Zoom main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 59,
"score": 0.9998822212219238,
"start": 42,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/zoom/main.coffee | lovely-io/lovely.io-stl | 2 | #
# Zoom main file
#
# Copyright (C) 2012 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
UI = require('ui')
$ = Lovely.module('dom') # reusing UI's dom module
# local variables assignments
ext = core.ext
Class = core.Class
Options = core.Options
Element = $.Element
Locker = UI... | 138078 | #
# Zoom main file
#
# Copyright (C) 2012 <NAME>
#
# hook up dependencies
core = require('core')
UI = require('ui')
$ = Lovely.module('dom') # reusing UI's dom module
# local variables assignments
ext = core.ext
Class = core.Class
Options = core.Options
Element = $.Element
Locker = UI.Locker
Mod... | true | #
# Zoom main file
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
UI = require('ui')
$ = Lovely.module('dom') # reusing UI's dom module
# local variables assignments
ext = core.ext
Class = core.Class
Options = core.Options
Element = $.Element
Locker =... |
[
{
"context": "quest(@app).get('/api/posts').query\n\t\t\t\tpassword:'asdf'\n\t\t\t.end (err, res) ->\n\t\t\t\tres.status.should.equa",
"end": 2576,
"score": 0.9990381002426147,
"start": 2572,
"tag": "PASSWORD",
"value": "asdf"
},
{
"context": "quest(@app).get('/api/posts').query\n\t\... | test/list.coffee | DailyFeats/mongoose-rest-endpoints | 0 | express = require 'express'
bodyParser = require 'body-parser'
methodOverride = require 'method-override'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
require('../lib/log').verbose(true)
moment = require 'moment'
mre = require '../lib/endpoint'
# Custom "Post" a... | 124457 | express = require 'express'
bodyParser = require 'body-parser'
methodOverride = require 'method-override'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
require('../lib/log').verbose(true)
moment = require 'moment'
mre = require '../lib/endpoint'
# Custom "Post" a... | true | express = require 'express'
bodyParser = require 'body-parser'
methodOverride = require 'method-override'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
require('../lib/log').verbose(true)
moment = require 'moment'
mre = require '../lib/endpoint'
# Custom "Post" a... |
[
{
"context": " /> \n <input type=\"hidden\" name=\"business\" value=\"mooneer@gmail.com\" /> \n <input type=\"hidden\" name=\"lc\" value=\"US\" /",
"end": 4911,
"score": 0.9999188184738159,
"start": 4894,
"tag": "EMAIL",
"value": "mooneer@gmail.com"
}
] | src/main/coffee/main.coffee | tmiw/newsrdr | 9 | if not @NR?
NR = exports? and exports or @NR = {}
else
NR = @NR
class NR.Application extends SimpleMVC.Controller
_processFeedPosts: (data) =>
for i in data
post = new NR.Models.NewsFeedArticleInfo
for k,v of i
post[k] = v
if k == "article"
... | 71989 | if not @NR?
NR = exports? and exports or @NR = {}
else
NR = @NR
class NR.Application extends SimpleMVC.Controller
_processFeedPosts: (data) =>
for i in data
post = new NR.Models.NewsFeedArticleInfo
for k,v of i
post[k] = v
if k == "article"
... | true | if not @NR?
NR = exports? and exports or @NR = {}
else
NR = @NR
class NR.Application extends SimpleMVC.Controller
_processFeedPosts: (data) =>
for i in data
post = new NR.Models.NewsFeedArticleInfo
for k,v of i
post[k] = v
if k == "article"
... |
[
{
"context": " keys_set: stat('query_engine')('written_docs_per_sec')\n ), 1000, @stats.on_resu",
"end": 15312,
"score": 0.515143096446991,
"start": 15312,
"tag": "KEY",
"value": ""
},
{
"context": " keys_set: stat('query_engine')('written_docs_per_sec')\n ... | admin/static/coffee/tables/table.coffee | zadcha/rethinkdb | 21,684 | # Copyright 2010-2015 RethinkDB
models = require('../models.coffee')
modals = require('../modals.coffee')
shard_assignments = require('./shard_assignments.coffee')
shard_distribution = require('./shard_distribution.coffee')
vis = require('../vis.coffee')
ui_modals = require('../ui_components/modals.coffee')
ui_progres... | 185223 | # Copyright 2010-2015 RethinkDB
models = require('../models.coffee')
modals = require('../modals.coffee')
shard_assignments = require('./shard_assignments.coffee')
shard_distribution = require('./shard_distribution.coffee')
vis = require('../vis.coffee')
ui_modals = require('../ui_components/modals.coffee')
ui_progres... | true | # Copyright 2010-2015 RethinkDB
models = require('../models.coffee')
modals = require('../modals.coffee')
shard_assignments = require('./shard_assignments.coffee')
shard_distribution = require('./shard_distribution.coffee')
vis = require('../vis.coffee')
ui_modals = require('../ui_components/modals.coffee')
ui_progres... |
[
{
"context": "er to use as timer.\n\n @class bkcore.Timer\n @author Thibaut 'BKcore' Despoulain <http://bkcore.com>\n###\nclass",
"end": 89,
"score": 0.999880313873291,
"start": 82,
"tag": "NAME",
"value": "Thibaut"
},
{
"context": "r.\n\n @class bkcore.Timer\n @author Thibaut 'BKcor... | webInterface/game/bkcore.coffee/Timer.coffee | ploh007/design-project | 1,017 | ###
new Date().getTime() wrapper to use as timer.
@class bkcore.Timer
@author Thibaut 'BKcore' Despoulain <http://bkcore.com>
###
class Timer
###
Creates a new timer, inactive by default.
Call Timer.start() to activate.
###
constructor: ()->
@time =
start: 0
current: 0
previous... | 41228 | ###
new Date().getTime() wrapper to use as timer.
@class bkcore.Timer
@author <NAME> 'BKcore' <NAME> <http://bkcore.com>
###
class Timer
###
Creates a new timer, inactive by default.
Call Timer.start() to activate.
###
constructor: ()->
@time =
start: 0
current: 0
previous: 0
... | true | ###
new Date().getTime() wrapper to use as timer.
@class bkcore.Timer
@author PI:NAME:<NAME>END_PI 'BKcore' PI:NAME:<NAME>END_PI <http://bkcore.com>
###
class Timer
###
Creates a new timer, inactive by default.
Call Timer.start() to activate.
###
constructor: ()->
@time =
start: 0
cu... |
[
{
"context": "WithWindowProps::onDraftReady\n windowKey: \"composer-#{draftClientId}\"\n windowType: \"composer-pr",
"end": 10817,
"score": 0.6834719181060791,
"start": 10808,
"tag": "KEY",
"value": "composer-"
},
{
"context": ":onDraftReady\n windowKey: \"compos... | app/src/flux/stores/draft-store.coffee | immershy/nodemail | 0 | _ = require 'underscore'
{ipcRenderer} = require 'electron'
NylasAPI = require '../nylas-api'
DraftEditingSession = require './draft-editing-session'
DraftFactory = require './draft-factory'
DatabaseStore = require './database-store'
AccountStore = require './account-store'
TaskQueueStatusStore = require './task-queu... | 156637 | _ = require 'underscore'
{ipcRenderer} = require 'electron'
NylasAPI = require '../nylas-api'
DraftEditingSession = require './draft-editing-session'
DraftFactory = require './draft-factory'
DatabaseStore = require './database-store'
AccountStore = require './account-store'
TaskQueueStatusStore = require './task-queu... | true | _ = require 'underscore'
{ipcRenderer} = require 'electron'
NylasAPI = require '../nylas-api'
DraftEditingSession = require './draft-editing-session'
DraftFactory = require './draft-factory'
DatabaseStore = require './database-store'
AccountStore = require './account-store'
TaskQueueStatusStore = require './task-queu... |
[
{
"context": "ike memory layout for javascript\r\n# Copyright 2014 Robert Nix\r\nC = {}\r\n\r\n# Returns objects for struct member de",
"end": 77,
"score": 0.9998037219047546,
"start": 67,
"tag": "NAME",
"value": "Robert Nix"
}
] | src/cheap.coffee | Mischanix/cheap | 3 | # cheap.js - C-like memory layout for javascript
# Copyright 2014 Robert Nix
C = {}
# Returns objects for struct member definitions
makeStructMember = (typeName, pointerDepth, memberName, arrayLength, offset) ->
{ typeName, pointerDepth, memberName, offset, arrayLength, isArray: arrayLength? }
C._typedefs =... | 199353 | # cheap.js - C-like memory layout for javascript
# Copyright 2014 <NAME>
C = {}
# Returns objects for struct member definitions
makeStructMember = (typeName, pointerDepth, memberName, arrayLength, offset) ->
{ typeName, pointerDepth, memberName, offset, arrayLength, isArray: arrayLength? }
C._typedefs = {}
... | true | # cheap.js - C-like memory layout for javascript
# Copyright 2014 PI:NAME:<NAME>END_PI
C = {}
# Returns objects for struct member definitions
makeStructMember = (typeName, pointerDepth, memberName, arrayLength, offset) ->
{ typeName, pointerDepth, memberName, offset, arrayLength, isArray: arrayLength? }
C._... |
[
{
"context": " created on 25/12/2016 All rights reserved by @NeZha\n# Today is chrismas :) but Dan Shen Gou st",
"end": 439,
"score": 0.9996720552444458,
"start": 433,
"tag": "USERNAME",
"value": "@NeZha"
},
{
"context": "served by @NeZha\n# Today is chrismas :) bu... | src/examples/kinect-one-point-cloud.coffee | CallmeNezha/Crystal | 0 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | 97879 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | true | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... |
[
{
"context": "ite\n# hubot stacko me - As above\n#\n# Author:\n# Ryan Tomlinson\n\nspuds = [\n \"http://webspace.webring.com/people/",
"end": 227,
"score": 0.9998279809951782,
"start": 213,
"tag": "NAME",
"value": "Ryan Tomlinson"
}
] | src/scripts/spudme.coffee | ryantomlinson/hubot-scripts | 0 | # Description:
# Spud Me - Definitely not a racist script to display hilarious potato images
#
# Commands:
# hubot spud me - Sends an image of an Irish favourite
# hubot stacko me - As above
#
# Author:
# Ryan Tomlinson
spuds = [
"http://webspace.webring.com/people/mc/christina2320/stpats/irishpotato.gif",
... | 18660 | # Description:
# Spud Me - Definitely not a racist script to display hilarious potato images
#
# Commands:
# hubot spud me - Sends an image of an Irish favourite
# hubot stacko me - As above
#
# Author:
# <NAME>
spuds = [
"http://webspace.webring.com/people/mc/christina2320/stpats/irishpotato.gif",
"http:/... | true | # Description:
# Spud Me - Definitely not a racist script to display hilarious potato images
#
# Commands:
# hubot spud me - Sends an image of an Irish favourite
# hubot stacko me - As above
#
# Author:
# PI:NAME:<NAME>END_PI
spuds = [
"http://webspace.webring.com/people/mc/christina2320/stpats/irishpotato.g... |
[
{
"context": "an-grunt-travis-github-pages/\n\thttps://github.com/sindresorhus/grunt-shell\n\n\t[REQUIRED] “pipenv run”, that scrip",
"end": 349,
"score": 0.9994913339614868,
"start": 337,
"tag": "USERNAME",
"value": "sindresorhus"
},
{
"context": "nv --update”, users have bug:\n\tht... | grunt/shell.coffee | Kristinita/--- | 0 | #################
## grunt-shell ##
#################
###
[PURPOSE] Grunt plugin to run non-Grunt CLI commands.
https://www.npmjs.com/package/grunt-shell
###
module.exports =
#############
## Pelican ##
#############
###
Build Pelican site:
http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
ht... | 5066 | #################
## grunt-shell ##
#################
###
[PURPOSE] Grunt plugin to run non-Grunt CLI commands.
https://www.npmjs.com/package/grunt-shell
###
module.exports =
#############
## Pelican ##
#############
###
Build Pelican site:
http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
ht... | true | #################
## grunt-shell ##
#################
###
[PURPOSE] Grunt plugin to run non-Grunt CLI commands.
https://www.npmjs.com/package/grunt-shell
###
module.exports =
#############
## Pelican ##
#############
###
Build Pelican site:
http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
ht... |
[
{
"context": " every prop that is not a required prop.\n# @author Vitor Balocco\n###\n'use strict'\n\n# -----------------------------",
"end": 122,
"score": 0.9997835159301758,
"start": 109,
"tag": "NAME",
"value": "Vitor Balocco"
},
{
"context": "\n # ' return {'\n # ... | src/tests/rules/require-default-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author Vitor Balocco
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
r... | 71137 | ###*
# @fileoverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = r... | true | ###*
# @fileoverview Enforce a defaultProps definition for every prop that is not a required prop.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# --------------------------------------------------------------------------... |
[
{
"context": "ccess.show\n\t\t\temail:\t\t\t\t\t\temail\n\t\t\tpassword: \t\t\t\t\tpassword\n\n\n\terror: (notice = '') ->\n\n\t\tmark = moment().uni",
"end": 1762,
"score": 0.9991740584373474,
"start": 1754,
"tag": "PASSWORD",
"value": "password"
}
] | app/views/modal/registrationView.coffee | standart-n/sn-oz-client | 0 |
require('moment')
Modal = require('Modal')
Registration = require('Registration')
RegistrationTextSuccess = require('RegistrationTextSuccess')
module.exports = Modal.extend
el: '#registration'
url: 'view/registration/registration.html'
initialize: () ->
this.model = new ... | 173875 |
require('moment')
Modal = require('Modal')
Registration = require('Registration')
RegistrationTextSuccess = require('RegistrationTextSuccess')
module.exports = Modal.extend
el: '#registration'
url: 'view/registration/registration.html'
initialize: () ->
this.model = new ... | true |
require('moment')
Modal = require('Modal')
Registration = require('Registration')
RegistrationTextSuccess = require('RegistrationTextSuccess')
module.exports = Modal.extend
el: '#registration'
url: 'view/registration/registration.html'
initialize: () ->
this.model = new ... |
[
{
"context": "a})\n treema.build()\n treema.set('key', 'testValue')\n expect(treema.data.key).toBe('testValue')\n ",
"end": 851,
"score": 0.9341169595718384,
"start": 846,
"tag": "KEY",
"value": "Value"
}
] | test/default.spec.coffee | lgr7/codecombattreema | 66 | describe 'defaults', ->
it 'shows properties for object nodes which are specified in a default object that are not included in the data', ->
data = { }
schema = { default: { key: 'value' } }
treema = TreemaNode.make(null, {data: data, schema: schema})
treema.build()
expect(treema.childrenTreema... | 83151 | describe 'defaults', ->
it 'shows properties for object nodes which are specified in a default object that are not included in the data', ->
data = { }
schema = { default: { key: 'value' } }
treema = TreemaNode.make(null, {data: data, schema: schema})
treema.build()
expect(treema.childrenTreema... | true | describe 'defaults', ->
it 'shows properties for object nodes which are specified in a default object that are not included in the data', ->
data = { }
schema = { default: { key: 'value' } }
treema = TreemaNode.make(null, {data: data, schema: schema})
treema.build()
expect(treema.childrenTreema... |
[
{
"context": "s/helpers/and-afterward'`\n\nuserParams =\n email: \"test-email-no-#{Math.random()}@testmail.co\"\n password: \"password123\"\n username: \"test-user",
"end": 299,
"score": 0.9313803911209106,
"start": 257,
"tag": "EMAIL",
"value": "test-email-no-#{Math.random()}@testmail.co... | tests/acceptance/current-account-test.coffee | simwms/simwms-shared | 0 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import {validateAccount} from 'simwms-shared'`
`import startApp from '../../tests/helpers/start-app'`
`import andAfterward from '../../tests/helpers/and-afterward'`
userParams =
email: "test-email-no-#{Math.random()}@testmail.co"
password: "passwo... | 66928 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import {validateAccount} from 'simwms-shared'`
`import startApp from '../../tests/helpers/start-app'`
`import andAfterward from '../../tests/helpers/and-afterward'`
userParams =
email: "<EMAIL>"
password: "<PASSWORD>"
username: "test-user-no-#{M... | true | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import {validateAccount} from 'simwms-shared'`
`import startApp from '../../tests/helpers/start-app'`
`import andAfterward from '../../tests/helpers/and-afterward'`
userParams =
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_... |
[
{
"context": "\nmakeNodeFromUser = (user) ->\n return {\n name: user.name\n id: user.id\n link: user.link\n group: 1\n",
"end": 539,
"score": 0.8073234558105469,
"start": 530,
"tag": "USERNAME",
"value": "user.name"
},
{
"context": "ends = response.data\n\n me = {\n... | src/public/coffee/main.coffee | AndersDJohnson/fbviz | 1 |
window.app = app = {}
cachedFBapi = do ->
cache = window.localStorage.getItem('friendsgraph')
unless cache?
cache = {}
else
cache = JSON.parse(cache)
return (url, callback) ->
if cache[url]?
callback(cache[url].data)
else
FB.api url, (response) ->
cache[url] = {
... | 193353 |
window.app = app = {}
cachedFBapi = do ->
cache = window.localStorage.getItem('friendsgraph')
unless cache?
cache = {}
else
cache = JSON.parse(cache)
return (url, callback) ->
if cache[url]?
callback(cache[url].data)
else
FB.api url, (response) ->
cache[url] = {
... | true |
window.app = app = {}
cachedFBapi = do ->
cache = window.localStorage.getItem('friendsgraph')
unless cache?
cache = {}
else
cache = JSON.parse(cache)
return (url, callback) ->
if cache[url]?
callback(cache[url].data)
else
FB.api url, (response) ->
cache[url] = {
... |
[
{
"context": "config.port\n\t\t\tuser\t\t\t: config.user\n\t\t\tpassword\t\t: config.pass\n\t\t\tsecure\t\t\t: config.secure\n\t\t\tsecureOptions\t: co",
"end": 646,
"score": 0.9991824626922607,
"start": 635,
"tag": "PASSWORD",
"value": "config.pass"
}
] | src/scheme/ftp.coffee | smartmediaas/dploy | 290 | ftp = require "ftp"
Signal = require "signals"
module.exports = class FTP
connection : null
connected : null
failed : null
closed : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
# Create a new instance of the FTP
@connection = new ftp()
@connect... | 205021 | ftp = require "ftp"
Signal = require "signals"
module.exports = class FTP
connection : null
connected : null
failed : null
closed : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
# Create a new instance of the FTP
@connection = new ftp()
@connect... | true | ftp = require "ftp"
Signal = require "signals"
module.exports = class FTP
connection : null
connected : null
failed : null
closed : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
# Create a new instance of the FTP
@connection = new ftp()
@connect... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nmI0EU1UoTgEEAOMP1er7XCaXhVLeHGQK7KFanTTeSLvI39kBvlxQfIjOBjsFH2/J\n3PtHazl2RGSzGqIPyqD+79TAwa15ESEDwwvwldJnlP9MwfwMk0HUeygqWbar9bj9\nLTiPLlf/4z0a9GLjuBnI6Yuy7nutd0mKatR/2v2q0pI9WJaXOurhwATTABEBAAG0\nIFdpbGxpYW0gV29yZHN3b3J0aCA8d3dAb3guYWMudWs+iL... | test/files/secret_subkeys_incomplete.iced | thinq4yourself/kbpgp | 1 | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... | 125434 | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... | true | {KeyManager} = require '../../lib/keymanager'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
{burn} = require '../../lib/openpgp/burner'
{do_message} = re... |
[
{
"context": "cription\n\nconfiguration = iceServers: [url: 'stun:23.21.150.121']\nconstraints = optional: [DtlsSrtpKeyAgreement: ",
"end": 409,
"score": 0.9984222650527954,
"start": 396,
"tag": "IP_ADDRESS",
"value": "23.21.150.121"
},
{
"context": "->\n @isHost = yes\n host =... | app/src/web-rtc.coffee | jordao76/ultimate-tic-tac-toe | 5 | # coffeelint: disable=max_line_length
RTCPeerConnection =
window.RTCPeerConnection or
window.mozRTCPeerConnection or
window.webkitRTCPeerConnection or
window.msRTCPeerConnection
RTCSessionDescription =
window.RTCSessionDescription or
window.mozRTCSessionDescription or
window.webkitRTCSessionDescription o... | 22994 | # coffeelint: disable=max_line_length
RTCPeerConnection =
window.RTCPeerConnection or
window.mozRTCPeerConnection or
window.webkitRTCPeerConnection or
window.msRTCPeerConnection
RTCSessionDescription =
window.RTCSessionDescription or
window.mozRTCSessionDescription or
window.webkitRTCSessionDescription o... | true | # coffeelint: disable=max_line_length
RTCPeerConnection =
window.RTCPeerConnection or
window.mozRTCPeerConnection or
window.webkitRTCPeerConnection or
window.msRTCPeerConnection
RTCSessionDescription =
window.RTCSessionDescription or
window.mozRTCSessionDescription or
window.webkitRTCSessionDescription o... |
[
{
"context": "key: 'test'\n\npatterns: [\n 'foo'\n 'bar'\n]\n",
"end": 10,
"score": 0.5823095440864563,
"start": 6,
"tag": "KEY",
"value": "test"
}
] | spec/fixtures/grammars/sample01.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'test'
patterns: [
'foo'
'bar'
]
| 45016 | key: '<KEY>'
patterns: [
'foo'
'bar'
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
'foo'
'bar'
]
|
[
{
"context": "rate(-1, false)\n\n # adef = {\n # 'key1': 'value1',\n # 'key2': 'value2'\n # }\n # aover ={\n # ",
"end": 16986,
"score": 0.5134392380714417,
"start": 16985,
"tag": "KEY",
"value": "1"
},
{
"context": "f = {\n # 'key1': 'value1',\n # 'key2': 'value2'\n... | src/main.coffee | jitta/Natural-Language-Generation | 58 | ###*
* Natural Language base class
* ------------------------------------------------------------
* @name NaturalLanguage
*
* @constructor
* @param {Array} data - a list of inputs
###
exports.NaturalLanguage =
class NaturalLanguage
###*
* ------------------------------------------------------------
* P... | 88778 | ###*
* Natural Language base class
* ------------------------------------------------------------
* @name NaturalLanguage
*
* @constructor
* @param {Array} data - a list of inputs
###
exports.NaturalLanguage =
class NaturalLanguage
###*
* ------------------------------------------------------------
* P... | true | ###*
* Natural Language base class
* ------------------------------------------------------------
* @name NaturalLanguage
*
* @constructor
* @param {Array} data - a list of inputs
###
exports.NaturalLanguage =
class NaturalLanguage
###*
* ------------------------------------------------------------
* P... |
[
{
"context": ".exports = settingspagemodule\n\n# MasterSecret Id? 0x19e23357ad9464ba664344cf661d15a25bcc2874be497940c11b7573cd773b13",
"end": 5068,
"score": 0.9846917390823364,
"start": 5002,
"tag": "KEY",
"value": "0x19e23357ad9464ba664344cf661d15a25bcc2874be497940c11b7573cd773b13"
}
] | source/settingspagemodule/settingspagemodule.coffee | JhonnyJason/secret-cockpit-sources | 0 | settingspagemodule = {name: "settingspagemodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["settingspagemodule"]? then console.log "[settingspagemodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null... | 191263 | settingspagemodule = {name: "settingspagemodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["settingspagemodule"]? then console.log "[settingspagemodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null... | true | settingspagemodule = {name: "settingspagemodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["settingspagemodule"]? then console.log "[settingspagemodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null... |
[
{
"context": "que permite usar un paginador con AJAX.\n Copyright Javi <elretirao@elretirao.net>\n Ver http://docs.jquery",
"end": 87,
"score": 0.9996656179428101,
"start": 83,
"tag": "NAME",
"value": "Javi"
},
{
"context": "mite usar un paginador con AJAX.\n Copyright Javi <elretira... | app/assets/javascripts/jquery.paginator.js.coffee | javierv/41cero10asesores | 0 | ###
ajaxPaginator es un plugin que permite usar un paginador con AJAX.
Copyright Javi <elretirao@elretirao.net>
Ver http://docs.jquery.com/License para la licencia.
Opciones:
paginador: string con el elemento que tiene los enlaces de paginación. Por defecto, '#paginador'.
table: string con el elemento que tiene... | 56200 | ###
ajaxPaginator es un plugin que permite usar un paginador con AJAX.
Copyright <NAME> <<EMAIL>>
Ver http://docs.jquery.com/License para la licencia.
Opciones:
paginador: string con el elemento que tiene los enlaces de paginación. Por defecto, '#paginador'.
table: string con el elemento que tiene los datos. Po... | true | ###
ajaxPaginator es un plugin que permite usar un paginador con AJAX.
Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Ver http://docs.jquery.com/License para la licencia.
Opciones:
paginador: string con el elemento que tiene los enlaces de paginación. Por defecto, '#paginador'.
table: string con el ele... |
[
{
"context": " data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: ",
"end": 789,
"score": 0.9998683929443359,
"start": 786,
"tag": "NAME",
"value": "Bob"
},
{
"context": "\n ,\n id: 2\n name: \"S... | test/spec_coffee/model_cascade_delete_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theActivity.hasMany "subactivity"
theSubActivity = class Subactivity extends MVCo... | 199558 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theActivity.hasMany "subactivity"
theSubActivity = class Subactivity extends MVCo... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasOne "brain"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
theActivity.hasMany "subactivity"
theSubActivity = class Subactivity extends MVCo... |
[
{
"context": "nt}:n sivustolle\"\n register_an_account: \"Rekisteröidy\"\n please_copy_url: \"Ole hyvä ja kopioi all",
"end": 6336,
"score": 0.7484158873558044,
"start": 6326,
"tag": "NAME",
"value": "kisteröidy"
},
{
"context": "gram\"\n cloud: \"Sky\"\n ... | src/coffee/translations.coffee | podlove/podlove-subscribe-button | 52 | _ = require('underscore')
Handlebars = require('handlebars')
class Translations
constructor: (language) ->
@locale = language.split('-')[0]
Handlebars.registerHelper 't', (key, options) =>
new Handlebars.SafeString(@t(key, options.hash))
t: (key, options={}) -> @translate(key, options)
translate... | 77199 | _ = require('underscore')
Handlebars = require('handlebars')
class Translations
constructor: (language) ->
@locale = language.split('-')[0]
Handlebars.registerHelper 't', (key, options) =>
new Handlebars.SafeString(@t(key, options.hash))
t: (key, options={}) -> @translate(key, options)
translate... | true | _ = require('underscore')
Handlebars = require('handlebars')
class Translations
constructor: (language) ->
@locale = language.split('-')[0]
Handlebars.registerHelper 't', (key, options) =>
new Handlebars.SafeString(@t(key, options.hash))
t: (key, options={}) -> @translate(key, options)
translate... |
[
{
"context": " [\n [\n \"Where would you be most likely to find Professor P's phone?\"\n \"In Sleepy's basket\"\n \"On the ",
"end": 76,
"score": 0.7472236156463623,
"start": 67,
"tag": "NAME",
"value": "Professor"
},
{
"context": "ng room\"\n ]\n [\n \"What is the bes... | src/documents/games/quiz/book1medium.js.coffee | davidxmoody/professorp.co.uk | 2 | module.exports = [
[
"Where would you be most likely to find Professor P's phone?"
"In Sleepy's basket"
"On the hall table"
"In the living room"
]
[
"What is the best way to find Professor P's phone?"
"Call out and ask it where it is"
"Ask Sleepy to go and fetch it"
"Wait for it to... | 45488 | module.exports = [
[
"Where would you be most likely to find <NAME> P's phone?"
"In Sleepy's basket"
"On the hall table"
"In the living room"
]
[
"What is the best way to find <NAME> P's phone?"
"Call out and ask it where it is"
"Ask Sleepy to go and fetch it"
"Wait for it to ring"... | true | module.exports = [
[
"Where would you be most likely to find PI:NAME:<NAME>END_PI P's phone?"
"In Sleepy's basket"
"On the hall table"
"In the living room"
]
[
"What is the best way to find PI:NAME:<NAME>END_PI P's phone?"
"Call out and ask it where it is"
"Ask Sleepy to go and fetch i... |
[
{
"context": "'\n body: '<p><a class=\"is-follow-link\">Damon Zucconi</a><a class=\"artist-follow\" data-id=\"damon-zuccon",
"end": 924,
"score": 0.9994051456451416,
"start": 911,
"tag": "NAME",
"value": "Damon Zucconi"
},
{
"context": "lowButtons()\n @view.artists[0]... | components/article/test/view.coffee | kanaabe/microgravity | 0 | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
CurrentUser = require '../../../models/current_user'
sd = require('sharify').data
{ resolve } = req... | 108583 | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
CurrentUser = require '../../../models/current_user'
sd = require('sharify').data
{ resolve } = req... | true | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
CurrentUser = require '../../../models/current_user'
sd = require('sharify').data
{ resolve } = req... |
[
{
"context": "Coin from 'coin.js/src'\n\nCoin.start\n key: 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjQ1MDM2MTcwNzU2NzUxNzYsImp0aSI6ImwtekhNTEN1S1hrIiwic3ViIjoiNE5URHh6Qm1UYiJ9.S7bjBU-ua-0zYMwQD4-414PG0UoClsWpC550qx_HrADOPaeyX13RI4YNh4kAP6-RNgkWY_BuuZ9Gm4FKRn862g'\n processor: 'ethereum'\n currenc... | src/js/coin.coffee | hanzoai/ryo.hanzo.ai | 0 | import moment from 'moment-timezone'
import Coin from 'coin.js/src'
Coin.start
key: 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjQ1MDM2MTcwNzU2NzUxNzYsImp0aSI6ImwtekhNTEN1S1hrIiwic3ViIjoiNE5URHh6Qm1UYiJ9.S7bjBU-ua-0zYMwQD4-414PG0UoClsWpC550qx_HrADOPaeyX13RI4YNh4kAP6-RNgkWY_BuuZ9Gm4FKRn862g'
processor: 'et... | 13995 | import moment from 'moment-timezone'
import Coin from 'coin.js/src'
Coin.start
key: '<KEY>'
processor: 'ethereum'
currency: 'eth'
mode: 'deposit'
order:
subtotal: 1e9
eth:
address: '0x945f873d71b0f497d71a05d25c7bf5e7547ab826'
node: '//api.infura.io/v1/jsonrpc/ropsten'
m = Coin.getMe... | true | import moment from 'moment-timezone'
import Coin from 'coin.js/src'
Coin.start
key: 'PI:KEY:<KEY>END_PI'
processor: 'ethereum'
currency: 'eth'
mode: 'deposit'
order:
subtotal: 1e9
eth:
address: '0x945f873d71b0f497d71a05d25c7bf5e7547ab826'
node: '//api.infura.io/v1/jsonrpc/ropsten'
m... |
[
{
"context": "at = require 'octokat'\n\n config =\n USERNAME: 'octokit-test'\n TOKEN: 'dca7f85a5911df8e9b7aeb4c5be8f5f50806",
"end": 183,
"score": 0.9992212653160095,
"start": 171,
"tag": "USERNAME",
"value": "octokit-test"
},
{
"context": "config =\n USERNAME: 'octokit-tes... | test/test-config.coffee | BafS/octokat.js | 59 | define = window?.define or (cb) -> cb ((dep) -> require(dep.replace('octokat', '../index')))
define (require) ->
Octokat = require 'octokat'
config =
USERNAME: 'octokit-test'
TOKEN: 'dca7f85a5911df8e9b7aeb4c5be8f5f50806ac49'
ORG_NAME: 'octokit-test-org'
REPO_USER: 'octokit-test'
REPO_NAME: 'oc... | 211562 | define = window?.define or (cb) -> cb ((dep) -> require(dep.replace('octokat', '../index')))
define (require) ->
Octokat = require 'octokat'
config =
USERNAME: 'octokit-test'
TOKEN: '<KEY>'
ORG_NAME: 'octokit-test-org'
REPO_USER: 'octokit-test'
REPO_NAME: 'octokit-test-repo' # Cannot use '.' b... | true | define = window?.define or (cb) -> cb ((dep) -> require(dep.replace('octokat', '../index')))
define (require) ->
Octokat = require 'octokat'
config =
USERNAME: 'octokit-test'
TOKEN: 'PI:KEY:<KEY>END_PI'
ORG_NAME: 'octokit-test-org'
REPO_USER: 'octokit-test'
REPO_NAME: 'octokit-test-repo' # Can... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.8030288815498352,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " SOFTWARE.\n\n# Inspiration for this code comes from Salvatore Sanfilippo's linenoise.\n# http... | lib/readline.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... | 217354 | # 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": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9983218312263489,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "m, 50\n return\n args = (\"s_client -connect 127.0.0.1:\" + common.PORT).split(\" \")\... | test/pummel/test-https-ci-reneg-attack.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... | 78927 | # 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": "t, \"validator is invalid\")\n\n view_model.value('Bob')\n assert.ok(!validator().required, \"required ",
"end": 1255,
"score": 0.8433871269226074,
"start": 1252,
"tag": "NAME",
"value": "Bob"
},
{
"context": " window.nameTaken = (value) -> return value is 'Bob'... | test/spec/plugins/validation.tests.coffee | kmalakoff/knockback | 160 | assert = assert or require?('chai').assert
window = if window? then window else global
describe 'validation @quick @validation', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.o... | 72313 | assert = assert or require?('chai').assert
window = if window? then window else global
describe 'validation @quick @validation', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.o... | true | assert = assert or require?('chai').assert
window = if window? then window else global
describe 'validation @quick @validation', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
$ = window?.$
it 'TEST DEPENDENCY MISSING', (done) ->
assert.o... |
[
{
"context": " body})->\n\t\t\tt.is status, 200\n\t\t\tt.is body.name, 'daniel'\n\t\t\tt.is body.field, undefined\n\t\n\t\t.then ()-> req",
"end": 1467,
"score": 0.9997265338897705,
"start": 1461,
"tag": "NAME",
"value": "daniel"
},
{
"context": " body})->\n\t\t\tt.is status, 200\n\t... | test/test.coffee | danielkalen/feathers-commands | 0 | {test} = require 'ava'
{app, createService} = require './app'
feathersCommands = require '../'
test "registration", (t)->
createService '1'
t.is typeof app.service('1').command, 'undefined'
t.is typeof app.service('1').run, 'undefined'
feathersCommands(app)
t.is typeof app.service('1').command, 'undefined'
t.is... | 109959 | {test} = require 'ava'
{app, createService} = require './app'
feathersCommands = require '../'
test "registration", (t)->
createService '1'
t.is typeof app.service('1').command, 'undefined'
t.is typeof app.service('1').run, 'undefined'
feathersCommands(app)
t.is typeof app.service('1').command, 'undefined'
t.is... | true | {test} = require 'ava'
{app, createService} = require './app'
feathersCommands = require '../'
test "registration", (t)->
createService '1'
t.is typeof app.service('1').command, 'undefined'
t.is typeof app.service('1').run, 'undefined'
feathersCommands(app)
t.is typeof app.service('1').command, 'undefined'
t.is... |
[
{
"context": "WithTarget = (name, actual, target) ->\n key = i.toString()\n expected = expectedSwatches[target][key][na",
"end": 2269,
"score": 0.9959269762039185,
"start": 2257,
"tag": "KEY",
"value": "i.toString()"
}
] | test/vibrant.spec.coffee | Kronuz/node-vibrant | 0 | # Values from actual execution in different browsers.
# Qualiy is set to 1 and not filters are used since downsampling are inconsistent
# across browsers.
# Comfirmed visually and established as baseline for future versions
expectedSwatches =
chrome: require('./data/chrome-exec-ref.json')
firefox: require('./data... | 92976 | # Values from actual execution in different browsers.
# Qualiy is set to 1 and not filters are used since downsampling are inconsistent
# across browsers.
# Comfirmed visually and established as baseline for future versions
expectedSwatches =
chrome: require('./data/chrome-exec-ref.json')
firefox: require('./data... | true | # Values from actual execution in different browsers.
# Qualiy is set to 1 and not filters are used since downsampling are inconsistent
# across browsers.
# Comfirmed visually and established as baseline for future versions
expectedSwatches =
chrome: require('./data/chrome-exec-ref.json')
firefox: require('./data... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999223947525024,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/controllers/create_experiment_modal_ctrl.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 140848 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <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 t... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999079704284668,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/beatmapset-mapping.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a, time } from 'react-dom-factories'
el = React.createElement
bn = 'beatmapset-mapping'
dateF... | 37084 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a, time } from 'react-dom-factories'
el = React.createElement
bn = 'beatmapset-mapping'
dateFormat =... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a, time } from 'react-dom-factories'
el = React.createElement
bn = 'beatmapset-mappin... |
[
{
"context": "me = \"Workhandle\"\nAccounts.emailTemplates.from = \"Jason <jason@papermud.com>\"\nAccounts.emailTemplates.res",
"end": 406,
"score": 0.9959977865219116,
"start": 401,
"tag": "NAME",
"value": "Jason"
},
{
"context": "orkhandle\"\nAccounts.emailTemplates.from = \"Jason ... | server/accounts.coffee | mcgwier/workhandle | 0 | capitalize = (string) ->
string.charAt(0).toUpperCase() + string.substring(1).toLowerCase() if string
secondLevelDomain = (string) ->
string.match(/[^\.\@]*\.[a-zA-Z]{2,}$/)[0]
createFirstTopicIfNoneExists = (domain) ->
unless Lists.findOne({domain: domain})
Lists.insert({domain: domain, name: "internal"})
... | 224383 | capitalize = (string) ->
string.charAt(0).toUpperCase() + string.substring(1).toLowerCase() if string
secondLevelDomain = (string) ->
string.match(/[^\.\@]*\.[a-zA-Z]{2,}$/)[0]
createFirstTopicIfNoneExists = (domain) ->
unless Lists.findOne({domain: domain})
Lists.insert({domain: domain, name: "internal"})
... | true | capitalize = (string) ->
string.charAt(0).toUpperCase() + string.substring(1).toLowerCase() if string
secondLevelDomain = (string) ->
string.match(/[^\.\@]*\.[a-zA-Z]{2,}$/)[0]
createFirstTopicIfNoneExists = (domain) ->
unless Lists.findOne({domain: domain})
Lists.insert({domain: domain, name: "internal"})
... |
[
{
"context": "ontent =\n msg_key_1: 1\n msg_key_2: '2'\n\n return content\n",
"end": 174,
"score": 0.8353087902069092,
"start": 173,
"tag": "KEY",
"value": "2"
}
] | test/stubs/gcm/gcm-message-stub.coffee | tq1/push-sender | 0 | module.exports = do ->
class GcmMessage
constructor: (message, data, extras) ->
return
build: ->
content =
msg_key_1: 1
msg_key_2: '2'
return content
| 34924 | module.exports = do ->
class GcmMessage
constructor: (message, data, extras) ->
return
build: ->
content =
msg_key_1: 1
msg_key_2: '<KEY>'
return content
| true | module.exports = do ->
class GcmMessage
constructor: (message, data, extras) ->
return
build: ->
content =
msg_key_1: 1
msg_key_2: 'PI:KEY:<KEY>END_PI'
return content
|
[
{
"context": "o')\n expect(@$iden_field.text()).to.include('bilbo@shire.net')\n\n# Since we can't actually test a file upload, ",
"end": 1949,
"score": 0.9999068975448608,
"start": 1934,
"tag": "EMAIL",
"value": "bilbo@shire.net"
}
] | test/views_test.coffee | dobtco/formrenderer-base | 79 | ALL_FIELD_TYPES = [
'identification'
'address'
'checkboxes'
'date'
'dropdown'
'email'
'file'
'number'
'paragraph'
'phone'
'price'
'radio'
'table'
'text'
'time'
'website'
'map_marker'
'confirm'
'block_of_text'
'page_break'
'section_break'
]
describe 'response field views', ->
... | 124904 | ALL_FIELD_TYPES = [
'identification'
'address'
'checkboxes'
'date'
'dropdown'
'email'
'file'
'number'
'paragraph'
'phone'
'price'
'radio'
'table'
'text'
'time'
'website'
'map_marker'
'confirm'
'block_of_text'
'page_break'
'section_break'
]
describe 'response field views', ->
... | true | ALL_FIELD_TYPES = [
'identification'
'address'
'checkboxes'
'date'
'dropdown'
'email'
'file'
'number'
'paragraph'
'phone'
'price'
'radio'
'table'
'text'
'time'
'website'
'map_marker'
'confirm'
'block_of_text'
'page_break'
'section_break'
]
describe 'response field views', ->
... |
[
{
"context": "e')\n @password = element By.model('credentials.password')\n @login_button = element By.css 'form button",
"end": 145,
"score": 0.91989666223526,
"start": 137,
"tag": "PASSWORD",
"value": "password"
}
] | public/modules/core/e2e/pages.coffee | amIwho/words | 0 | class LoginPage
constructor: ->
@username = element By.model('credentials.username')
@password = element By.model('credentials.password')
@login_button = element By.css 'form button[type=submit]'
@login_error = element By.binding 'error'
get: ->
browser.get '/#!/signin'
browser.getCurrentUr... | 956 | class LoginPage
constructor: ->
@username = element By.model('credentials.username')
@password = element By.model('credentials.<PASSWORD>')
@login_button = element By.css 'form button[type=submit]'
@login_error = element By.binding 'error'
get: ->
browser.get '/#!/signin'
browser.getCurrent... | true | class LoginPage
constructor: ->
@username = element By.model('credentials.username')
@password = element By.model('credentials.PI:PASSWORD:<PASSWORD>END_PI')
@login_button = element By.css 'form button[type=submit]'
@login_error = element By.binding 'error'
get: ->
browser.get '/#!/signin'
... |
[
{
"context": "cs will not change.\npcArray2 = ApplyPatch(\"Dog\", \"Capybara\")\nprint pcArray1\nprint pcArray2\n\n# Function ",
"end": 3979,
"score": 0.5837656855583191,
"start": 3976,
"tag": "NAME",
"value": "Cap"
}
] | deps/v8/test/mjsunit/debug-liveedit-patch-positions.coffee | lxe/io.coffee | 0 | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | 54369 | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | true | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... |
[
{
"context": "\n\n attributes: =>\n id : @entry.id()\n name: @name\n type: @entry.type\n mode: @mode\n\n",
"end": 523,
"score": 0.9577908515930176,
"start": 523,
"tag": "NAME",
"value": ""
},
{
"context": " attributes: =>\n id : @entry.id()\n name: @name\n ty... | lib/objects/tree.entry.coffee | circuithub/massive-git | 6 | # TreeEntry
# ----------
# Class represents entry for the `tree`. Each entry has:
# `name` - name of the file or directory
# `entry` - entry itself. Each entry has `type` and `id`.
# `mode` - mode for file or directory. Used for tree's `id` claculation.
TreeEntry = exports.TreeEntry = class TreeEntry
# Constructor t... | 23708 | # TreeEntry
# ----------
# Class represents entry for the `tree`. Each entry has:
# `name` - name of the file or directory
# `entry` - entry itself. Each entry has `type` and `id`.
# `mode` - mode for file or directory. Used for tree's `id` claculation.
TreeEntry = exports.TreeEntry = class TreeEntry
# Constructor t... | true | # TreeEntry
# ----------
# Class represents entry for the `tree`. Each entry has:
# `name` - name of the file or directory
# `entry` - entry itself. Each entry has `type` and `id`.
# `mode` - mode for file or directory. Used for tree's `id` claculation.
TreeEntry = exports.TreeEntry = class TreeEntry
# Constructor t... |
[
{
"context": "###\n backbone-mongo.js 0.5.5\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo\n Li",
"end": 59,
"score": 0.998242199420929,
"start": 51,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/sync.coffee | michaelBenin/backbone-mongo | 1 | ###
backbone-mongo.js 0.5.5
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'moment'
Queue = require 'backbone-orm/lib/queu... | 188758 | ###
backbone-mongo.js 0.5.5
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'moment'
Queue = require 'backbone-orm/lib/queue'... | true | ###
backbone-mongo.js 0.5.5
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-mongo
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'moment'
Queue = require 'backbone-... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998903274536133,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/voronoi.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 23106 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "value\": 100000,\n \"addresses\": [\"1FDJMgjuC7A4HkZt6fx8caFfuLDyp4YS9L\"],\n \"script_signatur",
"end": 3288,
"score": 0.5075262784957886,
"start": 3287,
"tag": "KEY",
"value": "4"
},
{
"context": "100000,\n \"addresses\": [\"1FDJMgjuC7A4HkZt6fx8ca... | app/spec/fixtures/fixtures_transactions.coffee | romanornr/ledger-wallet-crw | 173 | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
dongle1_transactions:
# "44'/0'/0'/0/6"
tx1:
"hash": "aa1a80314f077bd2c0e335464f983eef56dfeb0eb65c99464a0e5dbe2c25b7dc",
"block_hash": "000000000000000006c18384552d198dc53dcdd63964d9887693f684ca0aeeb6",
"block_height": 330760,
... | 214367 | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
dongle1_transactions:
# "44'/0'/0'/0/6"
tx1:
"hash": "aa1a80314f077bd2c0e335464f983eef56dfeb0eb65c99464a0e5dbe2c25b7dc",
"block_hash": "000000000000000006c18384552d198dc53dcdd63964d9887693f684ca0aeeb6",
"block_height": 330760,
... | true | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
dongle1_transactions:
# "44'/0'/0'/0/6"
tx1:
"hash": "aa1a80314f077bd2c0e335464f983eef56dfeb0eb65c99464a0e5dbe2c25b7dc",
"block_hash": "000000000000000006c18384552d198dc53dcdd63964d9887693f684ca0aeeb6",
"block_height": 330760,
... |
[
{
"context": "na'\n\npayload = {\n \"headers\": {\n \"x-real-ip\": \"124.202.141.60\",\n \"x-forwarded-for\": \"124.202.141.60\",\n \"h",
"end": 216,
"score": 0.999721884727478,
"start": 202,
"tag": "IP_ADDRESS",
"value": "124.202.141.60"
},
{
"context": "al-ip\": \"124.202... | test/services/oschina.coffee | jianliaoim/talk-services | 40 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$oschina = loader.load 'oschina'
payload = {
"headers": {
"x-real-ip": "124.202.141.60",
"x-forwarded-for": "124.202.141.60",
"host": "talk.ai",
"x-nginx-proxy": "true",
"con... | 59045 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$oschina = loader.load 'oschina'
payload = {
"headers": {
"x-real-ip": "192.168.3.11",
"x-forwarded-for": "192.168.3.11",
"host": "talk.ai",
"x-nginx-proxy": "true",
"connect... | true | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$oschina = loader.load 'oschina'
payload = {
"headers": {
"x-real-ip": "PI:IP_ADDRESS:192.168.3.11END_PI",
"x-forwarded-for": "PI:IP_ADDRESS:192.168.3.11END_PI",
"host": "talk.ai",
... |
[
{
"context": "brous ->\n model1 = @model.sync.create name: 'Eric Cartman'\n model1.name = 'Stan Marsh'\n model2 = ",
"end": 612,
"score": 0.999852180480957,
"start": 600,
"tag": "NAME",
"value": "Eric Cartman"
},
{
"context": ".create name: 'Eric Cartman'\n model1... | test/normal_schema/put/put_many.coffee | goodeggs/resource-schema | 3 | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
sinon = require 'sinon'
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'PUT many', ({withModel, withServer}) ->
given 'valid request', ->
withModel (mongoose) ->
mongoose.S... | 10019 | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
sinon = require 'sinon'
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'PUT many', ({withModel, withServer}) ->
given 'valid request', ->
withModel (mongoose) ->
mongoose.S... | true | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
sinon = require 'sinon'
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'PUT many', ({withModel, withServer}) ->
given 'valid request', ->
withModel (mongoose) ->
mongoose.S... |
[
{
"context": "16))\n\n# TODO: Move this elswhere\nSpriteIds = {\n \"Abomasnow\": {\n \"default\": 460,\n \"mega\": NON_DEFAULT_F",
"end": 1640,
"score": 0.9964599013328552,
"start": 1631,
"tag": "NAME",
"value": "Abomasnow"
},
{
"context": " \"mega\": NON_DEFAULT_FORMES_OFFSE... | client/app/js/helpers/images.coffee | sarenji/pokebattle-sim | 5 | @PokemonIconBackground = (species, forme) ->
if not (typeof species == "string")
pokemon = species
species = pokemon.species || pokemon.get?("species")
forme = pokemon.forme || pokemon.get?("forme")
if species
id = SpriteIds[species][forme] || SpriteIds[species]["default"]
else
id = 0
x =... | 46695 | @PokemonIconBackground = (species, forme) ->
if not (typeof species == "string")
pokemon = species
species = pokemon.species || pokemon.get?("species")
forme = pokemon.forme || pokemon.get?("forme")
if species
id = SpriteIds[species][forme] || SpriteIds[species]["default"]
else
id = 0
x =... | true | @PokemonIconBackground = (species, forme) ->
if not (typeof species == "string")
pokemon = species
species = pokemon.species || pokemon.get?("species")
forme = pokemon.forme || pokemon.get?("forme")
if species
id = SpriteIds[species][forme] || SpriteIds[species]["default"]
else
id = 0
x =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.