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": "cument 'props', 'updateRecordings',\n key: \"#{ keyData.id } #{ keyData.key }\"\n recordings: ( { frames: recording.length",
"end": 3684,
"score": 0.9857967495918274,
"start": 3657,
"tag": "KEY",
"value": "keyData.id } #{ keyData.key"
}
] | public-source/javascripts/models/connections/main.coffee | lekevicius/vijual | 1 | class App.Connections.Main extends App.Connections.Base
protocol: 'main'
streamCanvas: false
initialize: (attributes, options) ->
super
@sceneLowResCanvas = $('<div/>').html("<canvas width='#{ App.config.renderer.lowWidth }' height='#{ App.config.renderer.lowHeight }'></canvas>").contents().get(0)
@s... | 82684 | class App.Connections.Main extends App.Connections.Base
protocol: 'main'
streamCanvas: false
initialize: (attributes, options) ->
super
@sceneLowResCanvas = $('<div/>').html("<canvas width='#{ App.config.renderer.lowWidth }' height='#{ App.config.renderer.lowHeight }'></canvas>").contents().get(0)
@s... | true | class App.Connections.Main extends App.Connections.Base
protocol: 'main'
streamCanvas: false
initialize: (attributes, options) ->
super
@sceneLowResCanvas = $('<div/>').html("<canvas width='#{ App.config.renderer.lowWidth }' height='#{ App.config.renderer.lowHeight }'></canvas>").contents().get(0)
@s... |
[
{
"context": " App: Übersicht\n## Created: 27.Mar.2018\n## Author: Gert Massheimer\n#\n## === User Settings ===\n## standard iconSet is",
"end": 118,
"score": 0.9998445510864258,
"start": 103,
"tag": "NAME",
"value": "Gert Massheimer"
},
{
"context": "erground (https://www.wundergrou... | index.coffee | DeltaOS2/weather-underground.widget | 3 | #
## Name: Weather-Underground.Widget
## Destination App: Übersicht
## Created: 27.Mar.2018
## Author: Gert Massheimer
#
## === User Settings ===
## standard iconSet is "k" (options are: a - k)
iconSet = "a"
#
## max 10 days for forcast plus today!
numberOfDays = 10
#
## max number of weather alerts
numberOfAlerts = 1
... | 79455 | #
## Name: Weather-Underground.Widget
## Destination App: Übersicht
## Created: 27.Mar.2018
## Author: <NAME>
#
## === User Settings ===
## standard iconSet is "k" (options are: a - k)
iconSet = "a"
#
## max 10 days for forcast plus today!
numberOfDays = 10
#
## max number of weather alerts
numberOfAlerts = 1
#
## disp... | true | #
## Name: Weather-Underground.Widget
## Destination App: Übersicht
## Created: 27.Mar.2018
## Author: PI:NAME:<NAME>END_PI
#
## === User Settings ===
## standard iconSet is "k" (options are: a - k)
iconSet = "a"
#
## max 10 days for forcast plus today!
numberOfDays = 10
#
## max number of weather alerts
numberOfAlerts... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 7115,
"score": 0.9993188977241516,
"start": 7110,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/www/renderProfileFlameGraph.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
d3 = require "d3"
#-------------------------------------------------------------------------------
exports.render = (sel, profile) ->
pruneIdle profile.head
root = removeEmptyChildren(profile.head)
partitionize(root)
partition = d3.layout.... | 68766 | # Licensed under the Apache License. See footer for details.
d3 = require "d3"
#-------------------------------------------------------------------------------
exports.render = (sel, profile) ->
pruneIdle profile.head
root = removeEmptyChildren(profile.head)
partitionize(root)
partition = d3.layout.... | true | # Licensed under the Apache License. See footer for details.
d3 = require "d3"
#-------------------------------------------------------------------------------
exports.render = (sel, profile) ->
pruneIdle profile.head
root = removeEmptyChildren(profile.head)
partitionize(root)
partition = d3.layout.... |
[
{
"context": " a Select Box Enhancer for jQuery and Prototype\nby Patrick Filler for Harvest, http://getharvest.com\n\nVersion <%= p",
"end": 263,
"score": 0.9998829364776611,
"start": 249,
"tag": "NAME",
"value": "Patrick Filler"
},
{
"context": " pkg.version %>\nFull source at http... | public/chosen/Gruntfile.coffee | papata1/kmutnb | 1 | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
version_tag: 'v<%= pkg.version %>'
comments: """
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version <%= pkg.vers... | 167306 | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
version_tag: 'v<%= pkg.version %>'
comments: """
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by <NAME> for Harvest, http://getharvest.com
Version <%= pkg.version %>
F... | true | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
version_tag: 'v<%= pkg.version %>'
comments: """
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by PI:NAME:<NAME>END_PI for Harvest, http://getharvest.com
Version <%= pk... |
[
{
"context": "onsole.log visuals.table.horizontal [\n# \t{ name: 'John Doe', age: 40 }\n# \t{ name: 'Jane Doe', age: 35 }\n# ],",
"end": 2345,
"score": 0.9998666644096375,
"start": 2337,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "al [\n# \t{ name: 'John Doe', age: 40 }\n# \t... | lib/widgets/table.coffee | balena-io-modules/resin-cli-visuals | 5 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 13058 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | true | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... |
[
{
"context": "ult: 12 }\n name: { type: \"string\", default: 'John Doe' }\n category: { type: \"string\", default: 'am",
"end": 598,
"score": 0.9998430013656616,
"start": 590,
"tag": "NAME",
"value": "John Doe"
}
] | test/extend.coffee | coderofsalvation/ohmygraph | 2 | ohmygraph = require 'ohmygraph'
api_one =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q... | 130405 | ohmygraph = require 'ohmygraph'
api_one =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q... | true | ohmygraph = require 'ohmygraph'
api_one =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999113082885742,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmaps/paginator.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 core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span, i } from 'react-dom-factories'
import { ShowMoreLink ... | 167882 | # 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 core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span, i } from 'react-dom-factories'
import { ShowMoreLink } from ... | 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 core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span, i } from 'react-dom-factories'
import { ShowM... |
[
{
"context": "\n\n fn = $overload(fn1)\n\n p1 = \n name: \"xingdou\"\n age: 30\n\n fn(p1)\n spy1.called.should",
"end": 1316,
"score": 0.9968764185905457,
"start": 1309,
"tag": "NAME",
"value": "xingdou"
},
{
"context": "py1.called.should.be.true\n\n p2 = \n ... | test/overloadSpec.coffee | zhongxingdou/mayjs | 0 | # encoding: utf-8
sinon = require 'sinon'
describe "overload.js", ->
M = require("../may.js")
$overload = M.$overload
$func = M.$func
it "should find out the overwrite method that parameters count equals given", ->
spy1 = sinon.spy()
fn1 = $func ["string"], (name) ->
spy1(name)
spy2 = sinon... | 12653 | # encoding: utf-8
sinon = require 'sinon'
describe "overload.js", ->
M = require("../may.js")
$overload = M.$overload
$func = M.$func
it "should find out the overwrite method that parameters count equals given", ->
spy1 = sinon.spy()
fn1 = $func ["string"], (name) ->
spy1(name)
spy2 = sinon... | true | # encoding: utf-8
sinon = require 'sinon'
describe "overload.js", ->
M = require("../may.js")
$overload = M.$overload
$func = M.$func
it "should find out the overwrite method that parameters count equals given", ->
spy1 = sinon.spy()
fn1 = $func ["string"], (name) ->
spy1(name)
spy2 = sinon... |
[
{
"context": "author: 'Andrew Teixeira <teixeira@broadinstitute.org>'\nfileTypes: [\n '",
"end": 24,
"score": 0.9998843669891357,
"start": 9,
"tag": "NAME",
"value": "Andrew Teixeira"
},
{
"context": "author: 'Andrew Teixeira <teixeira@broadinstitute.org>'\nfileTypes: [\n 'wdl'... | grammars/wdl.cson | broadinstitute/language-wdl | 1 | author: 'Andrew Teixeira <teixeira@broadinstitute.org>'
fileTypes: [
'wdl'
]
name: 'WDL'
patterns: [
{
match: '\\='
name: 'keyword.operator.assignment.wdl'
}
{
match: '<\\=|>\\=|\\=\\=|<|>|\\!\\='
name: 'keyword.operator.comparison.wdl'
}
{
match: '\\+\\=|... | 61358 | author: '<NAME> <<EMAIL>>'
fileTypes: [
'wdl'
]
name: 'WDL'
patterns: [
{
match: '\\='
name: 'keyword.operator.assignment.wdl'
}
{
match: '<\\=|>\\=|\\=\\=|<|>|\\!\\='
name: 'keyword.operator.comparison.wdl'
}
{
match: '\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|&... | true | author: 'PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>'
fileTypes: [
'wdl'
]
name: 'WDL'
patterns: [
{
match: '\\='
name: 'keyword.operator.assignment.wdl'
}
{
match: '<\\=|>\\=|\\=\\=|<|>|\\!\\='
name: 'keyword.operator.comparison.wdl'
}
{
match: '\\+\\=|... |
[
{
"context": "createPost\n\t\t\t\t\ttitle\t: \texpected\n\t\t\t\t\tauthor \t:\t'Mehfuz Hossain'\n\t\t\t\t\tbody\t:\t'Empty body'\n\t\t\t\t\tpublish\t:\tfalse\n\t\t",
"end": 699,
"score": 0.9998885989189148,
"start": 685,
"tag": "NAME",
"value": "Mehfuz Hossain"
},
{
"context": "creat... | applications/lighter/test/atom.coffee | nodebenchmark/benchmarks | 13 | helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
media = (require __dirname + '/init').media
(require path.join(__dirname,... | 205729 | helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
media = (require __dirname + '/init').media
(require path.join(__dirname,... | true | helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
media = (require __dirname + '/init').media
(require path.join(__dirname,... |
[
{
"context": "= null\n\n setup ->\n json =\n 'firstName': 'Joe'\n 'lastName': 'Satriani'\n 'age': '55'\n ",
"end": 1007,
"score": 0.9997609853744507,
"start": 1004,
"tag": "NAME",
"value": "Joe"
},
{
"context": "son =\n 'firstName': 'Joe'\n 'lastName': 'S... | este/model/model_test.coffee | vlkous/este-library | 0 | suite 'este.Model', ->
trimSetter = (value) ->
goog.string.trim value || ''
RequiredValidator = ->
RequiredValidator::isValidable = -> true
RequiredValidator::validate = ->
switch goog.typeOf @value
when 'string'
goog.string.trim(@value + '').length > 0
when 'array'
@value.... | 218794 | suite 'este.Model', ->
trimSetter = (value) ->
goog.string.trim value || ''
RequiredValidator = ->
RequiredValidator::isValidable = -> true
RequiredValidator::validate = ->
switch goog.typeOf @value
when 'string'
goog.string.trim(@value + '').length > 0
when 'array'
@value.... | true | suite 'este.Model', ->
trimSetter = (value) ->
goog.string.trim value || ''
RequiredValidator = ->
RequiredValidator::isValidable = -> true
RequiredValidator::validate = ->
switch goog.typeOf @value
when 'string'
goog.string.trim(@value + '').length > 0
when 'array'
@value.... |
[
{
"context": "(new WordArray w).to_buffer()\n\nkey = Buffer.from \"583d18c32d8857a627ea3e86d6feada8\", \"hex\"\niv = Buffer.from 'fe40e836b0e9b193aabbccd",
"end": 304,
"score": 0.9997138977050781,
"start": 272,
"tag": "KEY",
"value": "583d18c32d8857a627ea3e86d6feada8"
}
] | dev/c5.iced | samkenxstream/kbpgp | 464 | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = Buffer.from "583d18c32d8857a627ea3e86d6feada8", "hex"
iv = Bu... | 197997 | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = Buffer.from "<KEY>", "hex"
iv = Buffer.from 'fe40e836b0e9b193... | true | {CAST5} = require '../src/cast5'
{WordArray} = require 'triplesec'
{AES} = require('triplesec').ciphers
{encrypt,decrypt} = require '../src/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
key = Buffer.from "PI:KEY:<KEY>END_PI", "hex"
iv = Buffer.from 'fe4... |
[
{
"context": "###\nCopyright 2012 Marco Braak\n\nLicensed under the Apache License, Version 2.0 (",
"end": 30,
"score": 0.9998438954353333,
"start": 19,
"tag": "NAME",
"value": "Marco Braak"
},
{
"context": "ext()\n key = $th.data('key') or slugify(title)\n\n ... | evidencePrijmu/src/main/webapp/vendor/simple-data-grid-master/simple.datagrid.coffee | Matesyi/pb138-evidence-prijmu-web | 0 | ###
Copyright 2012 Marco Braak
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... | 143386 | ###
Copyright 2012 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | true | ###
Copyright 2012 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... |
[
{
"context": "itions[index]\n nodePanel {node, pos, key: node.name, onAddClick: @onAddClick, onNodeSelect: @props.on",
"end": 3757,
"score": 0.8883302807807922,
"start": 3748,
"tag": "KEY",
"value": "node.name"
}
] | src/scripts/components/shipmentDiagram.coffee | perspectivezoom/shipmentbuilder | 0 | `import _ from 'lodash'`
`import d3 from 'd3'`
`import React from 'react'`
`import Reflux from 'reflux'`
`import Actions from '../actions'`
`import NodeModal from './nodeModal'`
`import EdgeModal from './edgeModal'`
`import NodePanel from './nodePanel'`
`import EdgeLine from './edgeLine'`
{div, svg} = React.DOM
[nodeM... | 23260 | `import _ from 'lodash'`
`import d3 from 'd3'`
`import React from 'react'`
`import Reflux from 'reflux'`
`import Actions from '../actions'`
`import NodeModal from './nodeModal'`
`import EdgeModal from './edgeModal'`
`import NodePanel from './nodePanel'`
`import EdgeLine from './edgeLine'`
{div, svg} = React.DOM
[nodeM... | true | `import _ from 'lodash'`
`import d3 from 'd3'`
`import React from 'react'`
`import Reflux from 'reflux'`
`import Actions from '../actions'`
`import NodeModal from './nodeModal'`
`import EdgeModal from './edgeModal'`
`import NodePanel from './nodePanel'`
`import EdgeLine from './edgeLine'`
{div, svg} = React.DOM
[nodeM... |
[
{
"context": " ###\n @classProperty(\"author\", value: new I18n(\"Minao Yamamoto\"))\n\n ###*\n @static\n @property {string} website",
"end": 1148,
"score": 0.9998133182525635,
"start": 1134,
"tag": "NAME",
"value": "Minao Yamamoto"
}
] | src/board/wakayamarbboard.coffee | kimushu/rubic-chrome | 1 | "use strict"
# Pre dependencies
Board = require("board/board")
I18n = require("util/i18n")
AsyncFs = require("filesystem/asyncfs")
BoardConsole = require("board/boardconsole")
require("util/primitive")
require("compat/bbjscompat")
###*
@class WakayamaRbBoard
Wakayama.rb board (Model)
@extends Board
###
module.export... | 167022 | "use strict"
# Pre dependencies
Board = require("board/board")
I18n = require("util/i18n")
AsyncFs = require("filesystem/asyncfs")
BoardConsole = require("board/boardconsole")
require("util/primitive")
require("compat/bbjscompat")
###*
@class WakayamaRbBoard
Wakayama.rb board (Model)
@extends Board
###
module.export... | true | "use strict"
# Pre dependencies
Board = require("board/board")
I18n = require("util/i18n")
AsyncFs = require("filesystem/asyncfs")
BoardConsole = require("board/boardconsole")
require("util/primitive")
require("compat/bbjscompat")
###*
@class WakayamaRbBoard
Wakayama.rb board (Model)
@extends Board
###
module.export... |
[
{
"context": "singId3v2\n # we'll already have @id3v2 started with versionMajor and\n # o",
"end": 1916,
"score": 0.7575313448905945,
"start": 1913,
"tag": "USERNAME",
"value": "3v2"
},
{
"context": "_sec ) * 1000\n header.stream_key = ['aac... | src/streammachine/parsers/aac.coffee | firebrandv2/FirebrandNetwork.ga | 342 | strtok = require('strtok2')
assert = require("assert")
PROFILES = [
"Null",
"AAC Main"
"AAC LC"
"AAC SSR"
"AAC LTP"
"SBR"
"AAC Scalable"
"TwinVQ"
]
SAMPLE_FREQUENCIES = [
96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350
]
CHANNEL_COUNTS = [
... | 218523 | strtok = require('strtok2')
assert = require("assert")
PROFILES = [
"Null",
"AAC Main"
"AAC LC"
"AAC SSR"
"AAC LTP"
"SBR"
"AAC Scalable"
"TwinVQ"
]
SAMPLE_FREQUENCIES = [
96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350
]
CHANNEL_COUNTS = [
... | true | strtok = require('strtok2')
assert = require("assert")
PROFILES = [
"Null",
"AAC Main"
"AAC LC"
"AAC SSR"
"AAC LTP"
"SBR"
"AAC Scalable"
"TwinVQ"
]
SAMPLE_FREQUENCIES = [
96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350
]
CHANNEL_COUNTS = [
... |
[
{
"context": "sProvider\n .logAllCalls(true)\n .setAccount('UA-72726433-1')\n .setDomainName('none')\n .useDisplayFeatu",
"end": 530,
"score": 0.9990097880363464,
"start": 517,
"tag": "KEY",
"value": "UA-72726433-1"
}
] | static/js/app.js.coffee | joshim5/CRISPR-Library-Designer | 17 | FlaskStart = angular.module 'FlaskStart', ['ui.bootstrap', 'FlaskStart.filters', 'FlaskStart.directives', 'ngSanitize', 'ngCsv', 'ui.select', 'ngMaterial', 'ngMessages', 'ngRoute', 'cgBusy', 'ngFileUpload', 'uiSwitch', 'chart.js', 'angular-google-analytics']
FlaskStart.controller 'RootCtrl', ['$scope', ($scope) ->
]
... | 78765 | FlaskStart = angular.module 'FlaskStart', ['ui.bootstrap', 'FlaskStart.filters', 'FlaskStart.directives', 'ngSanitize', 'ngCsv', 'ui.select', 'ngMaterial', 'ngMessages', 'ngRoute', 'cgBusy', 'ngFileUpload', 'uiSwitch', 'chart.js', 'angular-google-analytics']
FlaskStart.controller 'RootCtrl', ['$scope', ($scope) ->
]
... | true | FlaskStart = angular.module 'FlaskStart', ['ui.bootstrap', 'FlaskStart.filters', 'FlaskStart.directives', 'ngSanitize', 'ngCsv', 'ui.select', 'ngMaterial', 'ngMessages', 'ngRoute', 'cgBusy', 'ngFileUpload', 'uiSwitch', 'chart.js', 'angular-google-analytics']
FlaskStart.controller 'RootCtrl', ['$scope', ($scope) ->
]
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999911904335022,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/forum-topic-reply.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @ForumTopicReply
constructor: ({ @forum, @forumPostPreview, @stickyFooter }) ->
@container = document.getElementsByClassName('js-foru... | 217910 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @ForumTopicReply
constructor: ({ @forum, @forumPostPreview, @stickyFooter }) ->
@container = document.getElementsByClassName('js-forum-topic... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @ForumTopicReply
constructor: ({ @forum, @forumPostPreview, @stickyFooter }) ->
@container = document.getElementsByClassName(... |
[
{
"context": "tion', fibrous ->\n @model.sync.create name: 'batman'\n @model.sync.create name: 'chuck norris'\n ",
"end": 572,
"score": 0.991628110408783,
"start": 566,
"tag": "NAME",
"value": "batman"
},
{
"context": "te name: 'batman'\n @model.sync.create name: 'chu... | test/no_schema/get_one.coffee | goodeggs/resource-schema | 3 | {suite, given} = require '../support/helpers'
fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
ResourceSchema = require '../..'
suite 'no schema - GET one', ({withModel, withServer}) ->
describe 'no search fields', ->
withModel (mongoose) ->
mongoose.Schema name: S... | 129846 | {suite, given} = require '../support/helpers'
fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
ResourceSchema = require '../..'
suite 'no schema - GET one', ({withModel, withServer}) ->
describe 'no search fields', ->
withModel (mongoose) ->
mongoose.Schema name: S... | true | {suite, given} = require '../support/helpers'
fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
ResourceSchema = require '../..'
suite 'no schema - GET one', ({withModel, withServer}) ->
describe 'no search fields', ->
withModel (mongoose) ->
mongoose.Schema name: S... |
[
{
"context": "mpty: true\n\t\treferences:\n\t\t\tmodel: Users\n\t\t\tkey: \"id\"\n\tclientId:\n\t\ttype: Seq.UUID\n\t\tallowNull: false\n\t",
"end": 432,
"score": 0.7102686166763306,
"start": 430,
"tag": "KEY",
"value": "id"
},
{
"context": "ty: true\n\t\treferences:\n\t\t\tmodel: Cl... | src/server/database/AccessTokens.coffee | leftiness/ton-hub | 1 | Seq = require "sequelize"
db = require "./database.js"
Users = require "./Users.js"
Clients = require "./Clients.js"
AccessTokens = db.define "AccessTokens", {
id:
type: Seq.UUID
defaultValue: Seq.UUIDV4
primaryKey: true
accessToken:
type: Seq.UUID
defaultValue: Seq.UUIDV4
unique: true
userId:
type: ... | 152605 | Seq = require "sequelize"
db = require "./database.js"
Users = require "./Users.js"
Clients = require "./Clients.js"
AccessTokens = db.define "AccessTokens", {
id:
type: Seq.UUID
defaultValue: Seq.UUIDV4
primaryKey: true
accessToken:
type: Seq.UUID
defaultValue: Seq.UUIDV4
unique: true
userId:
type: ... | true | Seq = require "sequelize"
db = require "./database.js"
Users = require "./Users.js"
Clients = require "./Clients.js"
AccessTokens = db.define "AccessTokens", {
id:
type: Seq.UUID
defaultValue: Seq.UUIDV4
primaryKey: true
accessToken:
type: Seq.UUID
defaultValue: Seq.UUIDV4
unique: true
userId:
type: ... |
[
{
"context": "validate that a value is not undefined\n # @author Daniel Bartholomae\n class ExistenceValidatorRule extends ValidatorR",
"end": 367,
"score": 0.9998708367347717,
"start": 349,
"tag": "NAME",
"value": "Daniel Bartholomae"
}
] | src/rules/Existence.coffee | dbartholomae/node-validation-codes | 0 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule to validate that a value ... | 202097 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule to validate that a value ... | true | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Rule'], (ValidatorRule) ->
# A rule to validate that a value ... |
[
{
"context": " if key == 'por'\n key = 'Proof-of-Request'\n xvalue = new HTML('te",
"end": 3103,
"score": 0.7610664963722229,
"start": 3098,
"tag": "KEY",
"value": "Proof"
}
] | modules/aim_server/files/html/js/coffee/widget_pubsubeditor.coffee | mshuler/infrastructure-puppet | 1 | ps_domain = ''
ps_project = ''
savePubSub = () ->
ps_type = get('pubsub_type').value
ps_por = get('pubsub_por').value
ps_source = get('pubsub_source').value
ps_changes = {
'domain': ps_domain,
'project': ps_project,
'type': ps_type,
'source': ps_source,
}
pay... | 168742 | ps_domain = ''
ps_project = ''
savePubSub = () ->
ps_type = get('pubsub_type').value
ps_por = get('pubsub_por').value
ps_source = get('pubsub_source').value
ps_changes = {
'domain': ps_domain,
'project': ps_project,
'type': ps_type,
'source': ps_source,
}
pay... | true | ps_domain = ''
ps_project = ''
savePubSub = () ->
ps_type = get('pubsub_type').value
ps_por = get('pubsub_por').value
ps_source = get('pubsub_source').value
ps_changes = {
'domain': ps_domain,
'project': ps_project,
'type': ps_type,
'source': ps_source,
}
pay... |
[
{
"context": "epackage[utf8]{inputenc}\\n\\n\\\\title{42}\\n\\\\author{Jane Doe}\\n\\\\date{June 2011}\"\n\t\t\t@splitDocLines = @docLine",
"end": 3071,
"score": 0.9998452067375183,
"start": 3063,
"tag": "NAME",
"value": "Jane Doe"
}
] | test/UnitTests/coffee/ThirdPartyDataStore/UpdateMergerTests.coffee | HasanSanli/web-sharelatex | 0 | Stream = require('stream')
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/UpdateMerger.js'
BufferedStream = require('bufferedstream')
describe 'UpdateMerger :', ->
beforeEach ... | 167671 | Stream = require('stream')
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/UpdateMerger.js'
BufferedStream = require('bufferedstream')
describe 'UpdateMerger :', ->
beforeEach ... | true | Stream = require('stream')
SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
modulePath = require('path').join __dirname, '../../../../app/js/Features/ThirdPartyDataStore/UpdateMerger.js'
BufferedStream = require('bufferedstream')
describe 'UpdateMerger :', ->
beforeEach ... |
[
{
"context": " token : token\n username : inviteeUsername\n\n request.post joinTeamRequestParams, (err",
"end": 2824,
"score": 0.998530387878418,
"start": 2809,
"tag": "USERNAME",
"value": "inviteeUsername"
},
{
"context": "ession to be created\n ... | servers/lib/server/handlers/jointeam.test.coffee | ezgikaysi/koding | 1 | { Relationship } = require 'jraphical'
{ async
expect
request
convertToArray
generateRandomEmail
generateRandomString
checkBongoConnectivity } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestPara... | 224585 | { Relationship } = require 'jraphical'
{ async
expect
request
convertToArray
generateRandomEmail
generateRandomString
checkBongoConnectivity } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestPara... | true | { Relationship } = require 'jraphical'
{ async
expect
request
convertToArray
generateRandomEmail
generateRandomString
checkBongoConnectivity } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestPara... |
[
{
"context": ".google.email\n\t\tuser.services.google.email\n\telse 'null@null.null'\n\nTemplate.adminEditBtn.helpers path: ->\n FlowRo",
"end": 891,
"score": 0.7106453776359558,
"start": 877,
"tag": "EMAIL",
"value": "null@null.null"
}
] | packages/flow-db-admin-master/lib/client/js/templates.coffee | tema-tema/companies_management | 0 | Template.AdminDashboardView.rendered = ->
table = @$('.dataTable').DataTable();
Template.AdminDashboardView.helpers
hasDocuments: ->
AdminCollectionsCount.findOne({collection: Session.get 'admin_collection_name'})?.count > 0
newPath: ->
FlowRouter.path "/admin/new/:coll",{coll: Session.get 'admin_collection_nam... | 174142 | Template.AdminDashboardView.rendered = ->
table = @$('.dataTable').DataTable();
Template.AdminDashboardView.helpers
hasDocuments: ->
AdminCollectionsCount.findOne({collection: Session.get 'admin_collection_name'})?.count > 0
newPath: ->
FlowRouter.path "/admin/new/:coll",{coll: Session.get 'admin_collection_nam... | true | Template.AdminDashboardView.rendered = ->
table = @$('.dataTable').DataTable();
Template.AdminDashboardView.helpers
hasDocuments: ->
AdminCollectionsCount.findOne({collection: Session.get 'admin_collection_name'})?.count > 0
newPath: ->
FlowRouter.path "/admin/new/:coll",{coll: Session.get 'admin_collection_nam... |
[
{
"context": "user>/]<repo> - list Pull Requests\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\n{Promise} = require 'q'\nGitHub ",
"end": 256,
"score": 0.9996997117996216,
"start": 249,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "po> - list Pull Requests\n#\n# Author:\n# ... | src/scripts/list-pr.coffee | bouzuya/hubot-list-pr | 1 | # Description
# list-pr
#
# Dependencies:
# "github": "^0.2.1",
# "q": "^1.0.1"
#
# Configuration:
# HUBOT_LIST_PR_DEFAULT_USERNAME
# HUBOT_LIST_PR_TOKEN
#
# Commands:
# hubot list-pr [<user>/]<repo> - list Pull Requests
#
# Author:
# bouzuya <m@bouzuya.net>
#
{Promise} = require 'q'
GitHub = require 'git... | 204177 | # Description
# list-pr
#
# Dependencies:
# "github": "^0.2.1",
# "q": "^1.0.1"
#
# Configuration:
# HUBOT_LIST_PR_DEFAULT_USERNAME
# HUBOT_LIST_PR_TOKEN
#
# Commands:
# hubot list-pr [<user>/]<repo> - list Pull Requests
#
# Author:
# bouzuya <<EMAIL>>
#
{Promise} = require 'q'
GitHub = require 'github'
... | true | # Description
# list-pr
#
# Dependencies:
# "github": "^0.2.1",
# "q": "^1.0.1"
#
# Configuration:
# HUBOT_LIST_PR_DEFAULT_USERNAME
# HUBOT_LIST_PR_TOKEN
#
# Commands:
# hubot list-pr [<user>/]<repo> - list Pull Requests
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
{Promise} = require 'q'
GitHub = req... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990246891975403,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-error-messages.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... | 138363 | # 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": " credentials:\n client_email: 'email@email.com'\n private_key: 'xasde32345'\n\nrequi",
"end": 228,
"score": 0.9998860359191895,
"start": 213,
"tag": "EMAIL",
"value": "email@email.com"
},
{
"context": ": 'email@email.com'\n ... | src/analytics.test.coffee | SteveMcArthur/docpad-plugin-analytics | 0 |
# Test our plugin using DocPad's Testers
testerConfig =
pluginPath: __dirname+'/..'
autoExit: 'safe'
docpadConfig =
plugins:
analytics:
credentials:
client_email: 'email@email.com'
private_key: 'xasde32345'
require('docpad').require('testers')
.test(... | 100893 |
# Test our plugin using DocPad's Testers
testerConfig =
pluginPath: __dirname+'/..'
autoExit: 'safe'
docpadConfig =
plugins:
analytics:
credentials:
client_email: '<EMAIL>'
private_key: '<KEY>'
require('docpad').require('testers')
.test(testerConfig,... | true |
# Test our plugin using DocPad's Testers
testerConfig =
pluginPath: __dirname+'/..'
autoExit: 'safe'
docpadConfig =
plugins:
analytics:
credentials:
client_email: 'PI:EMAIL:<EMAIL>END_PI'
private_key: 'PI:KEY:<KEY>END_PI'
require('docpad').require('teste... |
[
{
"context": "rue\n needToRewrite: false #true\n mainKeyName: \"科室名\"\n}\n\nsheetName = \"雷达图\"\n\njson = JSONUtils.getJSON(f",
"end": 331,
"score": 0.7237359285354614,
"start": 329,
"tag": "KEY",
"value": "室名"
}
] | tests/testRadar.coffee | Tostig0916/hqcoffee | 2 | path = require 'path'
{MakePPTReport, PPTXGenUtils} = require path.join __dirname, '..','usepptxgen', 'pptxgenUtils'
{JSONUtils} = require path.join __dirname, '..', 'analyze', 'jsonUtils'
# 从数据表读取数据,再生成报告用的JSON
funcOpts = {
basename: "jsszyy"
headerRows: 1
sheetStubs: true
needToRewrite: false #true
mainKe... | 172193 | path = require 'path'
{MakePPTReport, PPTXGenUtils} = require path.join __dirname, '..','usepptxgen', 'pptxgenUtils'
{JSONUtils} = require path.join __dirname, '..', 'analyze', 'jsonUtils'
# 从数据表读取数据,再生成报告用的JSON
funcOpts = {
basename: "jsszyy"
headerRows: 1
sheetStubs: true
needToRewrite: false #true
mainKe... | true | path = require 'path'
{MakePPTReport, PPTXGenUtils} = require path.join __dirname, '..','usepptxgen', 'pptxgenUtils'
{JSONUtils} = require path.join __dirname, '..', 'analyze', 'jsonUtils'
# 从数据表读取数据,再生成报告用的JSON
funcOpts = {
basename: "jsszyy"
headerRows: 1
sheetStubs: true
needToRewrite: false #true
mainKe... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998407363891602,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/blueprints.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 54796 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
[
{
"context": "model = kb.viewModel(model = new kb.Model({name: 'Bob'}))\n collection_observable = kb.collectionObse",
"end": 2926,
"score": 0.9997898936271667,
"start": 2923,
"tag": "NAME",
"value": "Bob"
},
{
"context": "bservable(new kb.Collection([new kb.Model({name: 'Fred'}), ... | test/spec/core/memory-management.tests.coffee | metacommunications/knockback | 0 | assert = assert or require?('chai').assert
describe 'knockback.js memory management @quick @memory', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko, $} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... | 107380 | assert = assert or require?('chai').assert
describe 'knockback.js memory management @quick @memory', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko, $} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... | true | assert = assert or require?('chai').assert
describe 'knockback.js memory management @quick @memory', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko, $} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987629055976868,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-write-stream-end.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... | 56427 | # 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": "me: $scope.userEntity.username\n password: $scope.userEntity.password\n })\n .then((res)->\n if $scope.us",
"end": 395,
"score": 0.9370383620262146,
"start": 370,
"tag": "PASSWORD",
"value": "scope.userEntity.password"
},
{
"context": ")\n ... | src/app/login/loginCtrl.coffee | leftjs/uphall-client | 1 | angular.module('tmsApp')
.controller('LoginCtrl', ['$scope', '$location', '$http', 'tmsUtil', ($scope, $location, $http, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
rememberMe: false
}
$scope.doLogin = ->
$http.post("#{Tms.apiAddress}/api/user/login", {
userna... | 128243 | angular.module('tmsApp')
.controller('LoginCtrl', ['$scope', '$location', '$http', 'tmsUtil', ($scope, $location, $http, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
rememberMe: false
}
$scope.doLogin = ->
$http.post("#{Tms.apiAddress}/api/user/login", {
userna... | true | angular.module('tmsApp')
.controller('LoginCtrl', ['$scope', '$location', '$http', 'tmsUtil', ($scope, $location, $http, tmsUtil) ->
$scope.userEntity = {
username: ''
password: ''
rememberMe: false
}
$scope.doLogin = ->
$http.post("#{Tms.apiAddress}/api/user/login", {
userna... |
[
{
"context": "###\n *\n * jQuery Popovers by Gary Hepting - https://github.com/ghepting/jquery-popovers\n * ",
"end": 42,
"score": 0.9999032020568848,
"start": 30,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "ery Popovers by Gary Hepting - https://github.com/ghepting/jque... | js/plugins/coffee/jquery.popover.coffee | storagebot/groundwork | 1 | ###
*
* jQuery Popovers by Gary Hepting - https://github.com/ghepting/jquery-popovers
*
* Open source under the BSD License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
(($) ->
$.fn.popover = (options) ->
defaults =
hover: false # show popovers on hover
click: tr... | 142011 | ###
*
* jQuery Popovers by <NAME> - https://github.com/ghepting/jquery-popovers
*
* Open source under the BSD License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
(($) ->
$.fn.popover = (options) ->
defaults =
hover: false # show popovers on hover
click: true #... | true | ###
*
* jQuery Popovers by PI:NAME:<NAME>END_PI - https://github.com/ghepting/jquery-popovers
*
* Open source under the BSD License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
(($) ->
$.fn.popover = (options) ->
defaults =
hover: false # show popovers on hover... |
[
{
"context": "->\n @redisClient = Redis.createClient(\"6379\", \"127.0.0.1\")\n\n create: (request, response) =>\n {email,pa",
"end": 430,
"score": 0.9996867775917053,
"start": 421,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " @deviceModel.findVerified query: qu... | app/controllers/session-controller.coffee | DesertEagleX/meshblu-sms-plugin-3.0 | 0 | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
Crypto = require 'crypto'
pepper = 'meshblu-test-pepper'
stringify = require 'json-stable-stringify'
Redis = require 'redis'
class SessionContro... | 58682 | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
Crypto = require 'crypto'
pepper = 'meshblu-test-pepper'
stringify = require 'json-stable-stringify'
Redis = require 'redis'
class SessionContro... | true | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
Crypto = require 'crypto'
pepper = 'meshblu-test-pepper'
stringify = require 'json-stable-stringify'
Redis = require 'redis'
class SessionContro... |
[
{
"context": "#\n# fdQuickMoment\n# by Adam Albrecht and Andrew Coldham\n# http://adamalbrecht.com + ht",
"end": 36,
"score": 0.9998778104782104,
"start": 23,
"tag": "NAME",
"value": "Adam Albrecht"
},
{
"context": "#\n# fdQuickMoment\n# by Adam Albrecht and Andrew Coldham\n# http://... | src/fd-quick-moment.coffee | wizardofjoz/fdQuickMoment | 0 | #
# fdQuickMoment
# by Adam Albrecht and Andrew Coldham
# http://adamalbrecht.com + http://www.frontdeskhq.com
#
# Source Code: https://github.com/frontdesk/fdQuickMoment
#
# Compatible with Angular 1.0.8
#
app = angular.module("fdQuickMoment", [])
app.provider "fdQuickMomentDefaults", ->
{
options: {
dat... | 226116 | #
# fdQuickMoment
# by <NAME> and <NAME>
# http://adamalbrecht.com + http://www.frontdeskhq.com
#
# Source Code: https://github.com/frontdesk/fdQuickMoment
#
# Compatible with Angular 1.0.8
#
app = angular.module("fdQuickMoment", [])
app.provider "fdQuickMomentDefaults", ->
{
options: {
dateFormat: 'M/D/Y... | true | #
# fdQuickMoment
# by PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI
# http://adamalbrecht.com + http://www.frontdeskhq.com
#
# Source Code: https://github.com/frontdesk/fdQuickMoment
#
# Compatible with Angular 1.0.8
#
app = angular.module("fdQuickMoment", [])
app.provider "fdQuickMomentDefaults", ->
{
options... |
[
{
"context": ".Collection\n model: exports.Command\n @key: \"commands\"\n state:\n pageSize: 100\n params: [ \"re",
"end": 3021,
"score": 0.6856580972671509,
"start": 3013,
"tag": "KEY",
"value": "commands"
}
] | app/assets/javascripts/models/command.js.coffee | chetan/bixby-manager | 2 |
namespace 'Bixby.model', (exports, top) ->
class exports.Command extends Stark.Model
@key: "command"
@props
_strings: ["repo", "name", "desc", "location", "command", "help", "help_url"]
_misc: ["options", "bundle"]
params: [ { name: "command", set_id: true } ]
urlRoot: "/rest/command... | 12394 |
namespace 'Bixby.model', (exports, top) ->
class exports.Command extends Stark.Model
@key: "command"
@props
_strings: ["repo", "name", "desc", "location", "command", "help", "help_url"]
_misc: ["options", "bundle"]
params: [ { name: "command", set_id: true } ]
urlRoot: "/rest/command... | true |
namespace 'Bixby.model', (exports, top) ->
class exports.Command extends Stark.Model
@key: "command"
@props
_strings: ["repo", "name", "desc", "location", "command", "help", "help_url"]
_misc: ["options", "bundle"]
params: [ { name: "command", set_id: true } ]
urlRoot: "/rest/command... |
[
{
"context": ".clearSession = ->\n localStorage.removeItem(\"AuthToken\")\n localStorage.removeItem(\"UserId\")\n $",
"end": 152,
"score": 0.5333104133605957,
"start": 143,
"tag": "KEY",
"value": "AuthToken"
}
] | client/src/modules/config/cleaner.coffee | open-sourcepad/faq.gov | 0 | angular.module('client').run [
'$rootScope','$state',($rootScope,$state) ->
$rootScope.clearSession = ->
localStorage.removeItem("AuthToken")
localStorage.removeItem("UserId")
$rootScope.currentUser = null
]
| 36406 | angular.module('client').run [
'$rootScope','$state',($rootScope,$state) ->
$rootScope.clearSession = ->
localStorage.removeItem("<KEY>")
localStorage.removeItem("UserId")
$rootScope.currentUser = null
]
| true | angular.module('client').run [
'$rootScope','$state',($rootScope,$state) ->
$rootScope.clearSession = ->
localStorage.removeItem("PI:KEY:<KEY>END_PI")
localStorage.removeItem("UserId")
$rootScope.currentUser = null
]
|
[
{
"context": "dis.createClient()\n\napp = express()\nKEY_PREFIX = 'capcus:' + app.get 'env'\napp.set 'view engine', 'jade",
"end": 798,
"score": 0.7401328086853027,
"start": 795,
"tag": "KEY",
"value": "cap"
},
{
"context": "derError 'No userId', 400\n return\n key = \"user:#... | app.coffee | ngs/capcus-server | 0 | require('dotenv').load()
bodyParser = require('body-parser')
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
morgan = require 'morgan'
_redis = require 'redis'
multer = require 'multer'
session = require 'express-session'
sassMiddleware = require 'node-sass-middleware'
connectCof... | 189091 | require('dotenv').load()
bodyParser = require('body-parser')
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
morgan = require 'morgan'
_redis = require 'redis'
multer = require 'multer'
session = require 'express-session'
sassMiddleware = require 'node-sass-middleware'
connectCof... | true | require('dotenv').load()
bodyParser = require('body-parser')
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
morgan = require 'morgan'
_redis = require 'redis'
multer = require 'multer'
session = require 'express-session'
sassMiddleware = require 'node-sass-middleware'
connectCof... |
[
{
"context": "64\n h: 64\n rock_semi_transparent:\n key: 'rock-semi-transparent'\n src: mainDir + 'rock-semi-transparent.png'\n ",
"end": 406,
"score": 0.9496645927429199,
"start": 385,
"tag": "KEY",
"value": "rock-semi-transparent"
}
] | app/coffee/tetris/grid/grid-theme.coffee | tanguymario/Phaser-Tetris | 0 | mainDir = 'assets/img/tetris/themes/'
module.exports =
classic:
key: 'classic'
src: mainDir + 'classic.png'
spriteSize:
w: 64
h: 64
debug:
key: 'debug'
src: mainDir + 'debug.png'
spriteSize:
w: 16
h: 16
rock:
key: 'rock'
src: mainDir + 'rock.png'
sprite... | 213048 | mainDir = 'assets/img/tetris/themes/'
module.exports =
classic:
key: 'classic'
src: mainDir + 'classic.png'
spriteSize:
w: 64
h: 64
debug:
key: 'debug'
src: mainDir + 'debug.png'
spriteSize:
w: 16
h: 16
rock:
key: 'rock'
src: mainDir + 'rock.png'
sprite... | true | mainDir = 'assets/img/tetris/themes/'
module.exports =
classic:
key: 'classic'
src: mainDir + 'classic.png'
spriteSize:
w: 64
h: 64
debug:
key: 'debug'
src: mainDir + 'debug.png'
spriteSize:
w: 16
h: 16
rock:
key: 'rock'
src: mainDir + 'rock.png'
sprite... |
[
{
"context": "\"にゃーにゃー\"\n super()\n\n# インスタンスを生成\njiro = new Dog \"Jiro\"\njiro.print()\n\nmike = new Cat \"Mike\"\nmike.print()",
"end": 409,
"score": 0.9961569309234619,
"start": 405,
"tag": "NAME",
"value": "Jiro"
},
{
"context": "ro = new Dog \"Jiro\"\njiro.print()\n\nmike = ... | ch04/04-coffee/class2.coffee | gogosub77/node-webscraping | 0 | # Animal クラスを定義
class Animal
# プロパティの定義
atype: "Animal"
#コンストラクタを定義
constructor: (@name) ->
# nameプロパティは自動的に設定される
#メソッドを定義
print: ->
console.log "名前は#{@name}, 種類は#{@atype}です。"
class Dog extends Animal
atype: "Dog"
print: ->
console.log "わんわん"
super()
class Cat extends Animal
atype:... | 46537 | # Animal クラスを定義
class Animal
# プロパティの定義
atype: "Animal"
#コンストラクタを定義
constructor: (@name) ->
# nameプロパティは自動的に設定される
#メソッドを定義
print: ->
console.log "名前は#{@name}, 種類は#{@atype}です。"
class Dog extends Animal
atype: "Dog"
print: ->
console.log "わんわん"
super()
class Cat extends Animal
atype:... | true | # Animal クラスを定義
class Animal
# プロパティの定義
atype: "Animal"
#コンストラクタを定義
constructor: (@name) ->
# nameプロパティは自動的に設定される
#メソッドを定義
print: ->
console.log "名前は#{@name}, 種類は#{@atype}です。"
class Dog extends Animal
atype: "Dog"
print: ->
console.log "わんわん"
super()
class Cat extends Animal
atype:... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984251856803894,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-incoming-pipelined-socket-destroy.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... | 112032 | # 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": " licenseString: '/* jQuery Group | Copyright (c) Teijo Laine <%= grunt.template.today(\"yyyy\") %> | Licenced un",
"end": 110,
"score": 0.9998992681503296,
"start": 99,
"tag": "NAME",
"value": "Teijo Laine"
}
] | Gruntfile.coffee | anyshpm/jquery-group-improved | 0 | module.exports = (grunt) ->
grunt.initConfig
licenseString: '/* jQuery Group | Copyright (c) Teijo Laine <%= grunt.template.today("yyyy") %> | Licenced under the MIT licence */'
pkg: grunt.file.readJSON("package.json")
watch:
scripts:
files: ["src/<%= pkg.name %>.sass", "src/<%= pkg.name %>.... | 5809 | module.exports = (grunt) ->
grunt.initConfig
licenseString: '/* jQuery Group | Copyright (c) <NAME> <%= grunt.template.today("yyyy") %> | Licenced under the MIT licence */'
pkg: grunt.file.readJSON("package.json")
watch:
scripts:
files: ["src/<%= pkg.name %>.sass", "src/<%= pkg.name %>.coffe... | true | module.exports = (grunt) ->
grunt.initConfig
licenseString: '/* jQuery Group | Copyright (c) PI:NAME:<NAME>END_PI <%= grunt.template.today("yyyy") %> | Licenced under the MIT licence */'
pkg: grunt.file.readJSON("package.json")
watch:
scripts:
files: ["src/<%= pkg.name %>.sass", "src/<%= pkg... |
[
{
"context": "== \"variable.other.lua\") && previous_token == \"bit32\") || line.endsWith(\"bit32.\") || (previous_token =",
"end": 14388,
"score": 0.655794084072113,
"start": 14386,
"tag": "USERNAME",
"value": "32"
},
{
"context": "line.endsWith(\"bit32.\") || (previous_token == \"b... | lib/provider.coffee | CaitSith2/atom-tabletopsimulator-lua | 0 | module.exports =
selector: '.source.tts.lua'
disableForSelector: '.source.tts.lua .comment'
filterSuggestions: true
# This will take priority over the default provider, which has a priority of 0.
# `excludeLowerPriority` will suppress any providers with a lower priority
# i.e. The default provider will be ... | 143334 | module.exports =
selector: '.source.tts.lua'
disableForSelector: '.source.tts.lua .comment'
filterSuggestions: true
# This will take priority over the default provider, which has a priority of 0.
# `excludeLowerPriority` will suppress any providers with a lower priority
# i.e. The default provider will be ... | true | module.exports =
selector: '.source.tts.lua'
disableForSelector: '.source.tts.lua .comment'
filterSuggestions: true
# This will take priority over the default provider, which has a priority of 0.
# `excludeLowerPriority` will suppress any providers with a lower priority
# i.e. The default provider will be ... |
[
{
"context": " managing users, credentials, and tokens.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass UserAuth \r\n\t###",
"end": 313,
"score": 0.9998613595962524,
"start": 301,
"tag": "NAME",
"value": "Nathan Klick"
},
{
"context": "ialCallback} method.\r\n\t###\r\... | Workspace/QRef/NodeServer/src/security/UserAuth.coffee | qrefdev/qref | 0 | crypto = require('crypto')
mongoose = require('mongoose')
QRefDatabase = require('../db/QRefDatabase')
ObjectId = mongoose.Types.ObjectId
Dictionary = require('../collections/Dictionary')
async = require('async')
###
Secure utility methods for managing users, credentials, and tokens.
@author Nathan Klick
@copy... | 35739 | crypto = require('crypto')
mongoose = require('mongoose')
QRefDatabase = require('../db/QRefDatabase')
ObjectId = mongoose.Types.ObjectId
Dictionary = require('../collections/Dictionary')
async = require('async')
###
Secure utility methods for managing users, credentials, and tokens.
@author <NAME>
@copyright ... | true | crypto = require('crypto')
mongoose = require('mongoose')
QRefDatabase = require('../db/QRefDatabase')
ObjectId = mongoose.Types.ObjectId
Dictionary = require('../collections/Dictionary')
async = require('async')
###
Secure utility methods for managing users, credentials, and tokens.
@author PI:NAME:<NAME>END_P... |
[
{
"context": "allback key, Meteor.settings[_id], false\n\n\t\tkeys = [].concat key\n\n\t\tfor k in keys\n\t\t\tRocketChat.settings.callb",
"end": 1171,
"score": 0.8542676568031311,
"start": 1162,
"tag": "KEY",
"value": "[].concat"
}
] | packages/rocketchat-lib/lib/settings.coffee | curious-fellow/Rocket.Chat | 0 | ###
# RocketChat.settings holds all packages settings
# @namespace RocketChat.settings
###
RocketChat.settings =
callbacks: {}
ts: new Date
get: (_id) ->
return Meteor.settings?[_id]
set: (_id, value, callback) ->
Meteor.call 'saveSetting', _id, value, callback
batchSet: (settings, callback) ->
# async -... | 142442 | ###
# RocketChat.settings holds all packages settings
# @namespace RocketChat.settings
###
RocketChat.settings =
callbacks: {}
ts: new Date
get: (_id) ->
return Meteor.settings?[_id]
set: (_id, value, callback) ->
Meteor.call 'saveSetting', _id, value, callback
batchSet: (settings, callback) ->
# async -... | true | ###
# RocketChat.settings holds all packages settings
# @namespace RocketChat.settings
###
RocketChat.settings =
callbacks: {}
ts: new Date
get: (_id) ->
return Meteor.settings?[_id]
set: (_id, value, callback) ->
Meteor.call 'saveSetting', _id, value, callback
batchSet: (settings, callback) ->
# async -... |
[
{
"context": " changePassword.set\n oldPassword: 'secret',\n newPassword: '$ecre8',\n conf",
"end": 715,
"score": 0.9994794726371765,
"start": 709,
"tag": "PASSWORD",
"value": "secret"
},
{
"context": " oldPassword: 'secret',\n newPasswor... | source/NuGet/coffeescript/content/Scripts/specs/application/models/changepassword.coffee | kazimanzurrashid/AspNetMvcBackboneJsSpa | 22 | expect = @chai.expect
describe 'Models.ChangePassword', ->
changePassword = null
beforeEach -> changePassword = new Application.Models.ChangePassword
describe '#defaults', ->
it 'has oldPassword', ->
expect(changePassword.defaults()).to.have.property 'oldPassword'
it 'has newPassword', ->
... | 202793 | expect = @chai.expect
describe 'Models.ChangePassword', ->
changePassword = null
beforeEach -> changePassword = new Application.Models.ChangePassword
describe '#defaults', ->
it 'has oldPassword', ->
expect(changePassword.defaults()).to.have.property 'oldPassword'
it 'has newPassword', ->
... | true | expect = @chai.expect
describe 'Models.ChangePassword', ->
changePassword = null
beforeEach -> changePassword = new Application.Models.ChangePassword
describe '#defaults', ->
it 'has oldPassword', ->
expect(changePassword.defaults()).to.have.property 'oldPassword'
it 'has newPassword', ->
... |
[
{
"context": " uri: '/test'\n qs:\n access_token: 'asdsadsa'\n root.request par, (err, resp, body) ->\n ",
"end": 401,
"score": 0.9936653971672058,
"start": 393,
"tag": "PASSWORD",
"value": "asdsadsa"
}
] | test/spec/test.coffee | lusionx/rest-seed | 0 | _ = require 'lodash'
should = require 'should'
root = require '../root'
logger = root.logger
describe '/test', () ->
it 'tv4 409', (done) ->
par =
uri: '/test'
root.request par, (err, resp, body) ->
logger.debug body
resp.statusCode.should.be.eql 409
done()
it 'tv4 ok',... | 94521 | _ = require 'lodash'
should = require 'should'
root = require '../root'
logger = root.logger
describe '/test', () ->
it 'tv4 409', (done) ->
par =
uri: '/test'
root.request par, (err, resp, body) ->
logger.debug body
resp.statusCode.should.be.eql 409
done()
it 'tv4 ok',... | true | _ = require 'lodash'
should = require 'should'
root = require '../root'
logger = root.logger
describe '/test', () ->
it 'tv4 409', (done) ->
par =
uri: '/test'
root.request par, (err, resp, body) ->
logger.debug body
resp.statusCode.should.be.eql 409
done()
it 'tv4 ok',... |
[
{
"context": "ssName=\"nav\">\n <li className=\"nav__item\">Hi Foo!</li>\n <li className=\"nav__item\"><a onClic",
"end": 618,
"score": 0.6081651449203491,
"start": 615,
"tag": "NAME",
"value": "Foo"
}
] | src/coffee/auth_nav.coffee | iamrajhans/ReactDemo | 1 | React = require('react/addons')
Link = require('react-router').Link
Navigation = require('react-router').Navigation
auth = require('./auth')
flash = require('./flash')
module.exports = React.createClass
displayName: 'AuthNav'
mixins: [ Navigation ]
getInitialState: ->
signedIn: auth.isSignedIn()
componen... | 49464 | React = require('react/addons')
Link = require('react-router').Link
Navigation = require('react-router').Navigation
auth = require('./auth')
flash = require('./flash')
module.exports = React.createClass
displayName: 'AuthNav'
mixins: [ Navigation ]
getInitialState: ->
signedIn: auth.isSignedIn()
componen... | true | React = require('react/addons')
Link = require('react-router').Link
Navigation = require('react-router').Navigation
auth = require('./auth')
flash = require('./flash')
module.exports = React.createClass
displayName: 'AuthNav'
mixins: [ Navigation ]
getInitialState: ->
signedIn: auth.isSignedIn()
componen... |
[
{
"context": "day?',\n 'from': [\n {\n 'name': 'Ben Bitdiddle',\n 'email': 'ben.bitdiddle@gmail.com'\n ",
"end": 470,
"score": 0.9998674392700195,
"start": 457,
"tag": "NAME",
"value": "Ben Bitdiddle"
},
{
"context": " 'name': 'Ben Bitdiddle',\n ... | test/controller/compose-spec.coffee | PriviPK/privipk-webapp | 47 | define ['angular', 'baobab.controller.compose', 'angularMocks', 'angular-inbox'], (angular) ->
describe 'ComposeCtrl', ->
$scope = null
controller = null
promises = null
InboxAPI = null
$auth =
token: 'fake auth token'
mockDraft1 =
'id': '84umizq7c4jtrew491brpa6iu',
'namespac... | 161447 | define ['angular', 'baobab.controller.compose', 'angularMocks', 'angular-inbox'], (angular) ->
describe 'ComposeCtrl', ->
$scope = null
controller = null
promises = null
InboxAPI = null
$auth =
token: 'fake auth token'
mockDraft1 =
'id': '84umizq7c4jtrew491brpa6iu',
'namespac... | true | define ['angular', 'baobab.controller.compose', 'angularMocks', 'angular-inbox'], (angular) ->
describe 'ComposeCtrl', ->
$scope = null
controller = null
promises = null
InboxAPI = null
$auth =
token: 'fake auth token'
mockDraft1 =
'id': '84umizq7c4jtrew491brpa6iu',
'namespac... |
[
{
"context": "b.com/github/grunt-jadist\n *\n * Copyright (c) 2015 Sean M. Duncan\n * Licensed under the MIT license\n###\n\nmodule.exp",
"end": 101,
"score": 0.9998779892921448,
"start": 87,
"tag": "NAME",
"value": "Sean M. Duncan"
}
] | src/tasks/jadist.coffee | bitbutcher/grunt-jadist | 0 | ###
* grunt-jadist
* https://github.com/github/grunt-jadist
*
* Copyright (c) 2015 Sean M. Duncan
* Licensed under the MIT license
###
module.exports = (grunt) ->
grunt.registerMultiTask 'jadist', 'Precomile jade views', ->
jadist = require 'jadist'
paths = []
paths.push src for src in file.src for... | 906 | ###
* grunt-jadist
* https://github.com/github/grunt-jadist
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license
###
module.exports = (grunt) ->
grunt.registerMultiTask 'jadist', 'Precomile jade views', ->
jadist = require 'jadist'
paths = []
paths.push src for src in file.src for file in... | true | ###
* grunt-jadist
* https://github.com/github/grunt-jadist
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license
###
module.exports = (grunt) ->
grunt.registerMultiTask 'jadist', 'Precomile jade views', ->
jadist = require 'jadist'
paths = []
paths.push src for src in file.s... |
[
{
"context": "ms =\n\t\"oauth_next\": \"oob\"\n\t\"oauth_consumer_key\": \"4IeD033v2gU0BozKfVVoMd6vZ\"\n\t\"oauth_version\": \"1.0\"\n\t\"oauth_signature_method",
"end": 272,
"score": 0.8896957635879517,
"start": 247,
"tag": "KEY",
"value": "4IeD033v2gU0BozKfVVoMd6vZ"
},
{
"context":... | server/models/twitterAccount.coffee | babolivier/clouzytweet | 0 | cozydb = require 'cozydb'
https = require 'https'
modurl = require 'url'
crypto = require 'crypto'
printit = require 'printit'
log = printit
prefix: 'models:twitterAccount'
date: true
params =
"oauth_next": "oob"
"oauth_consumer_key": "4IeD033v2gU0BozKfVVoMd6vZ"
"oauth_version": "1.0"
"oauth_signature_meth... | 93802 | cozydb = require 'cozydb'
https = require 'https'
modurl = require 'url'
crypto = require 'crypto'
printit = require 'printit'
log = printit
prefix: 'models:twitterAccount'
date: true
params =
"oauth_next": "oob"
"oauth_consumer_key": "<KEY>"
"oauth_version": "1.0"
"oauth_signature_method": "HMAC-SHA1"
"o... | true | cozydb = require 'cozydb'
https = require 'https'
modurl = require 'url'
crypto = require 'crypto'
printit = require 'printit'
log = printit
prefix: 'models:twitterAccount'
date: true
params =
"oauth_next": "oob"
"oauth_consumer_key": "PI:KEY:<KEY>END_PI"
"oauth_version": "1.0"
"oauth_signature_method": "H... |
[
{
"context": "#\n save = (key, value, callback) ->\n fullKey = PREFIX + userId + '_' + key\n object = {}\n object[fullKey] = value",
"end": 1675,
"score": 0.8884139060974121,
"start": 1654,
"tag": "KEY",
"value": "PREFIX + userId + '_'"
},
{
"context": "e.\n ###\n load = ... | chrome/contentscript.coffee | Sunxperous/plugmixer | 5 | `if (typeof PLUGMIXER_CORE === 'undefined') { PLUGMIXER_CORE = 'https://localhost:8080/core/plugmixer.js'; }`
'use strict'
VERSION = "2.1.5"
# Inject plugmixer.js.
inject = document.createElement 'script'
inject.src = PLUGMIXER_CORE
(document.head || document.documentElement).appendChild inject
# Show the icon in t... | 21213 | `if (typeof PLUGMIXER_CORE === 'undefined') { PLUGMIXER_CORE = 'https://localhost:8080/core/plugmixer.js'; }`
'use strict'
VERSION = "2.1.5"
# Inject plugmixer.js.
inject = document.createElement 'script'
inject.src = PLUGMIXER_CORE
(document.head || document.documentElement).appendChild inject
# Show the icon in t... | true | `if (typeof PLUGMIXER_CORE === 'undefined') { PLUGMIXER_CORE = 'https://localhost:8080/core/plugmixer.js'; }`
'use strict'
VERSION = "2.1.5"
# Inject plugmixer.js.
inject = document.createElement 'script'
inject.src = PLUGMIXER_CORE
(document.head || document.documentElement).appendChild inject
# Show the icon in t... |
[
{
"context": "key: 'link-label'\npatterns: [\n\n # NOTE by @burodepeper\n # The ^ ",
"end": 16,
"score": 0.8863462805747986,
"start": 6,
"tag": "KEY",
"value": "link-label"
},
{
"context": "key: 'link-label'\npatterns: [\n\n # NOTE by @burodepeper\n # The ^ is an optional charact... | grammars/repositories/inlines/link-label.cson | doc22940/language-markdown | 138 | key: 'link-label'
patterns: [
# NOTE by @burodepeper
# The ^ is an optional character for Markdown Extra footnotes
# The * is an optional character for Markdown Extra abbreviations
{
name: 'label.link.string.md'
match: '^(\\*?\\[\\^?)(.*)(\\])$'
captures:
1: name: 'punctuation.md'
2: pa... | 42443 | key: '<KEY>'
patterns: [
# NOTE by @burodepeper
# The ^ is an optional character for Markdown Extra footnotes
# The * is an optional character for Markdown Extra abbreviations
{
name: 'label.link.string.md'
match: '^(\\*?\\[\\^?)(.*)(\\])$'
captures:
1: name: 'punctuation.md'
2: pattern... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# NOTE by @burodepeper
# The ^ is an optional character for Markdown Extra footnotes
# The * is an optional character for Markdown Extra abbreviations
{
name: 'label.link.string.md'
match: '^(\\*?\\[\\^?)(.*)(\\])$'
captures:
1: name: 'punctuation.md'
... |
[
{
"context": "for box in body.mailboxes\n if key = expectedBoxes[box.label]\n store[key] = box.id",
"end": 599,
"score": 0.925494372844696,
"start": 585,
"tag": "KEY",
"value": "expectedBoxes["
},
{
"context": "s\n if key = expectedBox... | tests/01_account_creation.coffee | gelnior/cozy-emails | 58 | describe 'Account creation', ->
it "When I post a new account to /accounts", (done) ->
@timeout 12000
account = store.accountDefinition
client.post '/account', account, (err, res, body) =>
res.statusCode.should.equal 200
body.should.have.property('mailboxes').with.le... | 155103 | describe 'Account creation', ->
it "When I post a new account to /accounts", (done) ->
@timeout 12000
account = store.accountDefinition
client.post '/account', account, (err, res, body) =>
res.statusCode.should.equal 200
body.should.have.property('mailboxes').with.le... | true | describe 'Account creation', ->
it "When I post a new account to /accounts", (done) ->
@timeout 12000
account = store.accountDefinition
client.post '/account', account, (err, res, body) =>
res.statusCode.should.equal 200
body.should.have.property('mailboxes').with.le... |
[
{
"context": "scopeName: 'delve'\nname: 'Delve'\ntype: 'tree-sitter'\nparser: 'tree-sitter-delve-l",
"end": 31,
"score": 0.9888484477996826,
"start": 26,
"tag": "NAME",
"value": "Delve"
}
] | grammars/tree-sitter-delve.cson | sjbertolani/atom-language-rai | 1 | scopeName: 'delve'
name: 'Delve'
type: 'tree-sitter'
parser: 'tree-sitter-delve-language'
fileTypes: [
'delve'
]
scopes:
'true' : 'constant.language'
'false' : 'constant.language'
'"def"' : 'keyword.control'
'"and"' : 'keyword.control'
'"not"' : 'keyword.red'
'"or"' : 'keyword.control'
'"+"': 'keywor... | 137536 | scopeName: 'delve'
name: '<NAME>'
type: 'tree-sitter'
parser: 'tree-sitter-delve-language'
fileTypes: [
'delve'
]
scopes:
'true' : 'constant.language'
'false' : 'constant.language'
'"def"' : 'keyword.control'
'"and"' : 'keyword.control'
'"not"' : 'keyword.red'
'"or"' : 'keyword.control'
'"+"': 'keywo... | true | scopeName: 'delve'
name: 'PI:NAME:<NAME>END_PI'
type: 'tree-sitter'
parser: 'tree-sitter-delve-language'
fileTypes: [
'delve'
]
scopes:
'true' : 'constant.language'
'false' : 'constant.language'
'"def"' : 'keyword.control'
'"and"' : 'keyword.control'
'"not"' : 'keyword.red'
'"or"' : 'keyword.control'
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991905689239502,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-exec-buffer.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... | 111239 | # 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": "l) ->\n Meteor.users.update {'emails.address': \"cmtoups@me.com\"}, $push: lists: id if id\n",
"end": 1118,
"score": 0.9999061226844788,
"start": 1104,
"tag": "EMAIL",
"value": "cmtoups@me.com"
}
] | lib/router.coffee | Kestanous/grocery-list | 1 | AccountsTemplates.configure
defaultLayout: 'layoutNoop'
defaultLayoutRegions: {}
defaultContentRegion: 'main'
confirmPassword: true
enablePasswordChange: true
overrideLoginErrors: true
focusFirstInput: true
showForgotPasswordLink: true
showLabels: true
showPlaceholders: true
negativeValidation: t... | 191692 | AccountsTemplates.configure
defaultLayout: 'layoutNoop'
defaultLayoutRegions: {}
defaultContentRegion: 'main'
confirmPassword: true
enablePasswordChange: true
overrideLoginErrors: true
focusFirstInput: true
showForgotPasswordLink: true
showLabels: true
showPlaceholders: true
negativeValidation: t... | true | AccountsTemplates.configure
defaultLayout: 'layoutNoop'
defaultLayoutRegions: {}
defaultContentRegion: 'main'
confirmPassword: true
enablePasswordChange: true
overrideLoginErrors: true
focusFirstInput: true
showForgotPasswordLink: true
showLabels: true
showPlaceholders: true
negativeValidation: t... |
[
{
"context": "y by not adding a path suffix?\n new_key = \"#{kind} #{direction}-#{arity}-#{cell}-#{path}\"\n else\n new",
"end": 11093,
"score": 0.9914631843566895,
"start": 11069,
"tag": "KEY",
"value": "\"#{kind} #{direction}-#{"
},
{
"context": "\n ... | bokehjs/src/coffee/models/layouts/box.coffee | DuCorey/bokeh | 1 | import {EQ, GE, Variable, WEAK_EQ} from "core/layout/solver"
import * as p from "core/properties"
import {isString} from "core/util/types"
import {all, max, sum} from "core/util/array"
import {extend} from "core/util/object"
import {LayoutDOM, LayoutDOMView} from "./layout_dom"
export class BoxView extends LayoutDOM... | 27313 | import {EQ, GE, Variable, WEAK_EQ} from "core/layout/solver"
import * as p from "core/properties"
import {isString} from "core/util/types"
import {all, max, sum} from "core/util/array"
import {extend} from "core/util/object"
import {LayoutDOM, LayoutDOMView} from "./layout_dom"
export class BoxView extends LayoutDOM... | true | import {EQ, GE, Variable, WEAK_EQ} from "core/layout/solver"
import * as p from "core/properties"
import {isString} from "core/util/types"
import {all, max, sum} from "core/util/array"
import {extend} from "core/util/object"
import {LayoutDOM, LayoutDOMView} from "./layout_dom"
export class BoxView extends LayoutDOM... |
[
{
"context": "->\n videoStream = new VideoStream\n name: 'wowza',\n streamUrl: 'rtsp://184.72.239.149/vod/mp4",
"end": 176,
"score": 0.9950569272041321,
"start": 171,
"tag": "USERNAME",
"value": "wowza"
},
{
"context": "eam\n name: 'wowza',\n streamUrl: 'rtsp:/... | node_modules/node-rtsp-stream/test/tests.coffee | Damien85320/cam | 91 | describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
width: 240
height: 160
ffmpegOpti... | 129787 | describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://192.168.3.11/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
width: 240
height: 160
ffmpegOption... | true | describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://PI:IP_ADDRESS:192.168.3.11END_PI/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
width: 240
height: 16... |
[
{
"context": "Terminal script highlighter\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\nColorifier.bash = Colorifier.console = Colorifi",
"end": 85,
"score": 0.9998883605003357,
"start": 68,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | src/lang/console.coffee | MadRabbit/colorifier | 1 | #
# Bash/Console/Terminal script highlighter
#
# Copyright (C) 2013 Nikolay Nemshilov
#
Colorifier.bash = Colorifier.console = Colorifier.terminal = Colorifier.inherit
keywords: "echo,if,endif"
paint: (text, callback)->
text = @_keywords(text)
text = callback.call(@, text) if callback
@_rollback(tex... | 48710 | #
# Bash/Console/Terminal script highlighter
#
# Copyright (C) 2013 <NAME>
#
Colorifier.bash = Colorifier.console = Colorifier.terminal = Colorifier.inherit
keywords: "echo,if,endif"
paint: (text, callback)->
text = @_keywords(text)
text = callback.call(@, text) if callback
@_rollback(text)
| true | #
# Bash/Console/Terminal script highlighter
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
Colorifier.bash = Colorifier.console = Colorifier.terminal = Colorifier.inherit
keywords: "echo,if,endif"
paint: (text, callback)->
text = @_keywords(text)
text = callback.call(@, text) if callback
@_rollback(... |
[
{
"context": "h'\n\nmodule.exports =\nclass NewsLineQiita\n name: 'Qiita'\n API_URL: 'qiita.com/api'\n API_VERSION: 'v2'\n ",
"end": 81,
"score": 0.9790475964546204,
"start": 76,
"tag": "NAME",
"value": "Qiita"
}
] | lib/qiita.coffee | cakecatz/news-line-qiita | 0 | fetch = require 'node-fetch'
module.exports =
class NewsLineQiita
name: 'Qiita'
API_URL: 'qiita.com/api'
API_VERSION: 'v2'
items: []
itemIndex: null
constructor: (@newsInterval, @newsNumber) ->
subscribe: (@newsLine) ->
# start push news to news-line
@fetchItems =>
@process = setInterval ... | 7263 | fetch = require 'node-fetch'
module.exports =
class NewsLineQiita
name: '<NAME>'
API_URL: 'qiita.com/api'
API_VERSION: 'v2'
items: []
itemIndex: null
constructor: (@newsInterval, @newsNumber) ->
subscribe: (@newsLine) ->
# start push news to news-line
@fetchItems =>
@process = setInterval... | true | fetch = require 'node-fetch'
module.exports =
class NewsLineQiita
name: 'PI:NAME:<NAME>END_PI'
API_URL: 'qiita.com/api'
API_VERSION: 'v2'
items: []
itemIndex: null
constructor: (@newsInterval, @newsNumber) ->
subscribe: (@newsLine) ->
# start push news to news-line
@fetchItems =>
@process... |
[
{
"context": "r.wordnik.com/api/resources.json\", apiKey:\"special-key\"}\n )\n\n showWordnikDev: (e) ->\n @trigger(\n ",
"end": 510,
"score": 0.8021010160446167,
"start": 507,
"tag": "KEY",
"value": "key"
}
] | src/main/coffeescript/view/HeaderView.coffee | tim-vandecasteele/swagger-ui | 1 | class HeaderView extends Backbone.View
events: {
'click #show-pet-store-icon' : 'showPetStore'
'click #show-wordnik-dev-icon' : 'showWordnikDev'
'click #explore' : 'showCustom'
'keyup #input_baseUrl' : 'showCustomOnKeyup'
'keyup #input_apiKey' : 'showCustomOnK... | 8093 | class HeaderView extends Backbone.View
events: {
'click #show-pet-store-icon' : 'showPetStore'
'click #show-wordnik-dev-icon' : 'showWordnikDev'
'click #explore' : 'showCustom'
'keyup #input_baseUrl' : 'showCustomOnKeyup'
'keyup #input_apiKey' : 'showCustomOnK... | true | class HeaderView extends Backbone.View
events: {
'click #show-pet-store-icon' : 'showPetStore'
'click #show-wordnik-dev-icon' : 'showWordnikDev'
'click #explore' : 'showCustom'
'keyup #input_baseUrl' : 'showCustomOnKeyup'
'keyup #input_apiKey' : 'showCustomOnK... |
[
{
"context": " it \"should parse user links\", ->\n f(\"test: @nyashka\").should.equal('<p>test: <a href=\"/u/nyashka\">@ny",
"end": 1288,
"score": 0.9956237077713013,
"start": 1280,
"tag": "USERNAME",
"value": "@nyashka"
},
{
"context": "st: @nyashka\").should.equal('<p>test:... | tests/test_formatters.coffee | Kagami/bnw-meow | 6 | formatters = require "lib/formatters"
describe "Formatters", ->
describe "escape2", ->
it "should not escape simple strings", ->
formatters.escape2("kkk").should.equal("kkk")
it "should escape entities", ->
formatters.escape2("<tag1><abcd></tag1>")
.should.equal("<tag1><... | 171424 | formatters = require "lib/formatters"
describe "Formatters", ->
describe "escape2", ->
it "should not escape simple strings", ->
formatters.escape2("kkk").should.equal("kkk")
it "should escape entities", ->
formatters.escape2("<tag1><abcd></tag1>")
.should.equal("<tag1><... | true | formatters = require "lib/formatters"
describe "Formatters", ->
describe "escape2", ->
it "should not escape simple strings", ->
formatters.escape2("kkk").should.equal("kkk")
it "should escape entities", ->
formatters.escape2("<tag1><abcd></tag1>")
.should.equal("<tag1><... |
[
{
"context": "uthenticator-service')\nDEFAULT_PASSWORD = 'no-need-for-this'\n\nclass AuthenticatorService\n constructor: ({ me",
"end": 338,
"score": 0.9991502165794373,
"start": 322,
"tag": "PASSWORD",
"value": "no-need-for-this"
},
{
"context": "}\n @deviceModel.findVeri... | src/services/authenticator-service.coffee | octoblu/meshblu-authenticator-athena | 0 | _ = require 'lodash'
moment = require 'moment'
MeshbluHttp = require 'meshblu-http'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-authenticator-athena:authenticator-service')
DEFAULT_PASSWORD =... | 185936 | _ = require 'lodash'
moment = require 'moment'
MeshbluHttp = require 'meshblu-http'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-authenticator-athena:authenticator-service')
DEFAULT_PASSWORD =... | true | _ = require 'lodash'
moment = require 'moment'
MeshbluHttp = require 'meshblu-http'
{ DeviceAuthenticator } = require 'meshblu-authenticator-core'
debug = require('debug')('meshblu-authenticator-athena:authenticator-service')
DEFAULT_PASSWORD =... |
[
{
"context": "e({\n url: 'http://redmine.com'\n id: 'RedmineTimeTracker'\n pass: 'RedmineTimeTracker'\n }), Account",
"end": 754,
"score": 0.8715717792510986,
"start": 736,
"tag": "USERNAME",
"value": "RedmineTimeTracker"
},
{
"context": "om'\n id: 'Redmin... | test/dataAdapter_test.coffee | Chanshi712/RedmineTimeTracker | 73 | expect = chai.expect
describe 'DataAdapter.coffee', ->
DataAdapter = null
TestData = null
Account = null
Project = null
Ticket = null
Option = null
Const = null
_props = [
"Account"
"Projects"
"Tickets"
"Activities"
"Queries"
"Statuses"
]
_auth = url: 'http://redmine.com... | 114320 | expect = chai.expect
describe 'DataAdapter.coffee', ->
DataAdapter = null
TestData = null
Account = null
Project = null
Ticket = null
Option = null
Const = null
_props = [
"Account"
"Projects"
"Tickets"
"Activities"
"Queries"
"Statuses"
]
_auth = url: 'http://redmine.com... | true | expect = chai.expect
describe 'DataAdapter.coffee', ->
DataAdapter = null
TestData = null
Account = null
Project = null
Ticket = null
Option = null
Const = null
_props = [
"Account"
"Projects"
"Tickets"
"Activities"
"Queries"
"Statuses"
]
_auth = url: 'http://redmine.com... |
[
{
"context": "moPromise = DemoSrvc.act $scope, 'doit', {'name':'John'}\n$scope.demoPromise.success (data, status, heade",
"end": 74,
"score": 0.9996846914291382,
"start": 70,
"tag": "NAME",
"value": "John"
}
] | halite/lattice/app/util/demoSrvc.coffee | CARFAX/halite | 212 | ###
usage:
$scope.demoPromise = DemoSrvc.act $scope, 'doit', {'name':'John'}
$scope.demoPromise.success (data, status, headers, config) ->
console.log("Demo success")
$scope.demo = data
return true
###
angular.module("demoSrvc", ['appConfigSrvc']).factory "DemoSrvc",
['$http', 'Configuration', ($htt... | 33001 | ###
usage:
$scope.demoPromise = DemoSrvc.act $scope, 'doit', {'name':'<NAME>'}
$scope.demoPromise.success (data, status, headers, config) ->
console.log("Demo success")
$scope.demo = data
return true
###
angular.module("demoSrvc", ['appConfigSrvc']).factory "DemoSrvc",
['$http', 'Configuration', ($h... | true | ###
usage:
$scope.demoPromise = DemoSrvc.act $scope, 'doit', {'name':'PI:NAME:<NAME>END_PI'}
$scope.demoPromise.success (data, status, headers, config) ->
console.log("Demo success")
$scope.demo = data
return true
###
angular.module("demoSrvc", ['appConfigSrvc']).factory "DemoSrvc",
['$http', 'Confi... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990127682685852,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-fork-net.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... | 89859 | # 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": " have a favorite ice cream flavour?\",\n key: \"pick_page_type\",\n next_task: null,\n tool: \"pickOne\"\n ",
"end": 560,
"score": 0.8893812298774719,
"start": 546,
"tag": "KEY",
"value": "pick_page_type"
}
] | app/assets/javascripts/__tests__/pick-one-test.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | jest
.dontMock '../components/core-tools/pick-one'
jest
.dontMock '../components/core-tools/generic'
describe 'SingleChoiceTask/pickOne', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDO... | 44461 | jest
.dontMock '../components/core-tools/pick-one'
jest
.dontMock '../components/core-tools/generic'
describe 'SingleChoiceTask/pickOne', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDO... | true | jest
.dontMock '../components/core-tools/pick-one'
jest
.dontMock '../components/core-tools/generic'
describe 'SingleChoiceTask/pickOne', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDO... |
[
{
"context": "ileoverview Tests for guard-for-in rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 77,
"score": 0.9998226761817932,
"start": 60,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/guard-for-in.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for guard-for-in rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/guard-for-in'
{Rule... | 151816 | ###*
# @fileoverview Tests for guard-for-in rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/guard-for-in'
{RuleTester} = r... | true | ###*
# @fileoverview Tests for guard-for-in rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/guard-for-in'
{R... |
[
{
"context": "name: 'phone-1'\n\t\t\tkey:\n\t\t\t\tphone: 1\n\t\t\t\tpassword: -1\n\t\t\t\n\t\t}\n\t]\n\n# find by name\nconsole.log '>> create",
"end": 805,
"score": 0.9983900785446167,
"start": 803,
"tag": "PASSWORD",
"value": "-1"
},
{
"context": "Create a user'\n\t\tuser= UserMod... | test-assets/test1.coffee | gridfw/gridfw-model-mongo | 0 | # require
ModelClass= require '<%= isProd? "gridfw-model" : "../../gridfw-model" %>'
MongoModelRepo= require '..'
# create Repo
MongoRepo= new MongoModelRepo()
Model= new ModelClass()
# create user schema
console.log '>> Create user model'
UserModel= Model.from
name: 'user'
schema:
_id: Model.ObjectId
id: Model... | 164718 | # require
ModelClass= require '<%= isProd? "gridfw-model" : "../../gridfw-model" %>'
MongoModelRepo= require '..'
# create Repo
MongoRepo= new MongoModelRepo()
Model= new ModelClass()
# create user schema
console.log '>> Create user model'
UserModel= Model.from
name: 'user'
schema:
_id: Model.ObjectId
id: Model... | true | # require
ModelClass= require '<%= isProd? "gridfw-model" : "../../gridfw-model" %>'
MongoModelRepo= require '..'
# create Repo
MongoRepo= new MongoModelRepo()
Model= new ModelClass()
# create user schema
console.log '>> Create user model'
UserModel= Model.from
name: 'user'
schema:
_id: Model.ObjectId
id: Model... |
[
{
"context": "ps with creating recursive directives.\n# * @author Mark Lagendijk\n# * @license MIT\n# \n# From: https://github.com/ma",
"end": 100,
"score": 0.9998636245727539,
"start": 86,
"tag": "NAME",
"value": "Mark Lagendijk"
},
{
"context": "jk\n# * @license MIT\n# \n# From: ht... | public/coffee/modules/recursionHelper.coffee | mickaobrien/web-sharelatex | 1 | #
# * An Angular service which helps with creating recursive directives.
# * @author Mark Lagendijk
# * @license MIT
#
# From: https://github.com/marklagendijk/angular-recursion
angular.module("RecursionHelper", []).factory "RecursionHelper", [
"$compile"
($compile) ->
###
Manually compiles the eleme... | 95435 | #
# * An Angular service which helps with creating recursive directives.
# * @author <NAME>
# * @license MIT
#
# From: https://github.com/marklagendijk/angular-recursion
angular.module("RecursionHelper", []).factory "RecursionHelper", [
"$compile"
($compile) ->
###
Manually compiles the element, fixi... | true | #
# * An Angular service which helps with creating recursive directives.
# * @author PI:NAME:<NAME>END_PI
# * @license MIT
#
# From: https://github.com/marklagendijk/angular-recursion
angular.module("RecursionHelper", []).factory "RecursionHelper", [
"$compile"
($compile) ->
###
Manually compiles the... |
[
{
"context": "###\nHTML5 Progress polyfill | Jonathan Stipe | https://github.com/jonstipe/progress-polyfill\n#",
"end": 44,
"score": 0.9999055862426758,
"start": 30,
"tag": "NAME",
"value": "Jonathan Stipe"
},
{
"context": "ss polyfill | Jonathan Stipe | https://github.com/jonstipe/p... | progress-polyfill.coffee | jonstipe/progress-polyfill | 1 | ###
HTML5 Progress polyfill | Jonathan Stipe | https://github.com/jonstipe/progress-polyfill
###
(($) ->
document.createElement 'progress'
$.fn.html5Progress = ->
updatePolyfill = (progressElem, progressBarDiv) ->
[max, val] = $([
($(progressElem).attr('max') || '1.0'),
$(progressElem).att... | 114230 | ###
HTML5 Progress polyfill | <NAME> | https://github.com/jonstipe/progress-polyfill
###
(($) ->
document.createElement 'progress'
$.fn.html5Progress = ->
updatePolyfill = (progressElem, progressBarDiv) ->
[max, val] = $([
($(progressElem).attr('max') || '1.0'),
$(progressElem).attr('value... | true | ###
HTML5 Progress polyfill | PI:NAME:<NAME>END_PI | https://github.com/jonstipe/progress-polyfill
###
(($) ->
document.createElement 'progress'
$.fn.html5Progress = ->
updatePolyfill = (progressElem, progressBarDiv) ->
[max, val] = $([
($(progressElem).attr('max') || '1.0'),
$(progressEle... |
[
{
"context": "luded in help script]\n# crime - \n#\n# Author:\n# robertocarroll\n\npopulation = 20206 \n\ncrime_name = [{\"url\":\"all-c",
"end": 180,
"score": 0.9181186556816101,
"start": 166,
"tag": "USERNAME",
"value": "robertocarroll"
},
{
"context": "1710},\n{\"Date\":\"2014... | scripts/crime.coffee | robertocarroll/chatui | 0 | # Description:
# Display crime stats
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# crime -
#
# Author:
# robertocarroll
population = 20206
crime_name = [{"url":"all-crime","name":"All crime"},{"url":"anti-social-behaviour","name":"Anti-social behaviour"},{... | 78241 | # Description:
# Display crime stats
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# crime -
#
# Author:
# robertocarroll
population = 20206
crime_name = [{"url":"all-crime","name":"All crime"},{"url":"anti-social-behaviour","name":"Anti-social behaviour"},{... | true | # Description:
# Display crime stats
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# crime -
#
# Author:
# robertocarroll
population = 20206
crime_name = [{"url":"all-crime","name":"All crime"},{"url":"anti-social-behaviour","name":"Anti-social behaviour"},{... |
[
{
"context": " expect(utils.getQueryVariable('email')).toBe('test@email.com')\n \n it 'returns the given default value ",
"end": 681,
"score": 0.9998558163642883,
"start": 667,
"tag": "EMAIL",
"value": "test@email.com"
}
] | test/app/core/utils.spec.coffee | johanvl/codecombat | 1 | describe 'Utility library', ->
utils = require 'core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parameter', -... | 124510 | describe 'Utility library', ->
utils = require 'core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parameter', -... | true | describe 'Utility library', ->
utils = require 'core/utils'
describe 'getQueryVariable(param, defaultValue)', ->
beforeEach ->
spyOn(utils, 'getDocumentSearchString').and.returnValue(
'?key=value&bool1=false&bool2=true&email=test%40email.com'
)
it 'returns the query parameter', -... |
[
{
"context": "ogging: true\n logFn: @logFn\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 417,
"score": 0.9970168471336365,
"start": 409,
"tag": "USERNAME",
"value": "username"
},
{
"context": "logFn\n username: 'username'\n pa... | test/integration/get-deployment-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
mongojs = require 'mongojs'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Get Deployment', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions ... | 73393 | request = require 'request'
mongojs = require 'mongojs'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Get Deployment', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions ... | true | request = require 'request'
mongojs = require 'mongojs'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Get Deployment', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions ... |
[
{
"context": "on actual working code and output.\nCopyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n###\n\nStringBuffer ",
"end": 254,
"score": 0.9998893737792969,
"start": 236,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "e and output.\nCopyright 20... | sb-js/src/examples.coffee | cjoakim/oss | 0 | ###
This purpose of this file is to test the generated sb.js file, outside of jasmine,
before deployment to npm. It (accurately) generates Examples section of the README.md
file based on actual working code and output.
Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
###
StringBuffer = require("./lib... | 197746 | ###
This purpose of this file is to test the generated sb.js file, outside of jasmine,
before deployment to npm. It (accurately) generates Examples section of the README.md
file based on actual working code and output.
Copyright 2015, <NAME> <<EMAIL>>
###
StringBuffer = require("./lib/sb-js.js").StringBuffer
console... | true | ###
This purpose of this file is to test the generated sb.js file, outside of jasmine,
before deployment to npm. It (accurately) generates Examples section of the README.md
file based on actual working code and output.
Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
StringBuffer = require("./lib/sb-... |
[
{
"context": "/vs4tc4tebrtzd56zwavr.visualstudio.com\"\napiKey = \"smjbpk5x2xca5fntish7gbfrs24eocue3rawaxcmgny2s6s2m6vq\"\ncollectionName = \"defaultcollection\"\nroomName = ",
"end": 199,
"score": 0.9997402429580688,
"start": 147,
"tag": "KEY",
"value": "smjbpk5x2xca5fntish7gbfrs24eocue3raw... | src/tfsApi.coffee | frankebersoll/hubot-tfs-teamrooms | 0 | {EventEmitter} = require "events"
signalr = require "signalr-client"
baseUrl = "https://vs4tc4tebrtzd56zwavr.visualstudio.com"
apiKey = "smjbpk5x2xca5fntish7gbfrs24eocue3rawaxcmgny2s6s2m6vq"
collectionName = "defaultcollection"
roomName = "Woah"
class TfsApi extends EventEmitter
CHAT_HUB = "chathub"
co... | 218824 | {EventEmitter} = require "events"
signalr = require "signalr-client"
baseUrl = "https://vs4tc4tebrtzd56zwavr.visualstudio.com"
apiKey = "<KEY>"
collectionName = "defaultcollection"
roomName = "<NAME>"
class TfsApi extends EventEmitter
CHAT_HUB = "chathub"
constructor: (@robot) ->
@collectionId = nu... | true | {EventEmitter} = require "events"
signalr = require "signalr-client"
baseUrl = "https://vs4tc4tebrtzd56zwavr.visualstudio.com"
apiKey = "PI:KEY:<KEY>END_PI"
collectionName = "defaultcollection"
roomName = "PI:NAME:<NAME>END_PI"
class TfsApi extends EventEmitter
CHAT_HUB = "chathub"
constructor: (@robot... |
[
{
"context": "@User = class User extends MockClass\n name: 'default name'\n\nasyncTest 'it should pull in objects for form r",
"end": 220,
"score": 0.7366552352905273,
"start": 208,
"tag": "NAME",
"value": "default name"
},
{
"context": "orm>\n '''\n\n context = Batman\n in... | tests/batman/view/formfor_rendering_test.coffee | airhorns/batman | 1 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: 'default name'
asyncTest 'it should pull in objects for form rendering', 1, ->
source = '''
<form data-formf... | 192045 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: '<NAME>'
asyncTest 'it should pull in objects for form rendering', 1, ->
source = '''
<form data-formfor-use... | true | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
QUnit.module 'Batman.View rendering formfor'
setup: ->
@User = class User extends MockClass
name: 'PI:NAME:<NAME>END_PI'
asyncTest 'it should pull in objects for form rendering', 1, ->
source = '''
<form da... |
[
{
"context": "###\nJSDX ofono API\n\nby Yao Wei <mwei@lxde.org>\n###\n\ndbus = require 'dbus'\nModem ",
"end": 30,
"score": 0.9998111724853516,
"start": 23,
"tag": "NAME",
"value": "Yao Wei"
},
{
"context": "###\nJSDX ofono API\n\nby Yao Wei <mwei@lxde.org>\n###\n\ndbus = require 'db... | index.coffee | cfsghost/jsdx-ofono | 1 | ###
JSDX ofono API
by Yao Wei <mwei@lxde.org>
###
dbus = require 'dbus'
Modem = require './lib/modem'
# VoiceCall = require './lib/voicecall'
# Message = require './lib/message'
# Sim = require './lib/sim'
class Ofono
constructor: (modemName, callback) ->
@modemName = modemName
dbus.start =>
@systemB... | 174011 | ###
JSDX ofono API
by <NAME> <<EMAIL>>
###
dbus = require 'dbus'
Modem = require './lib/modem'
# VoiceCall = require './lib/voicecall'
# Message = require './lib/message'
# Sim = require './lib/sim'
class Ofono
constructor: (modemName, callback) ->
@modemName = modemName
dbus.start =>
@systemBus = db... | true | ###
JSDX ofono API
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
dbus = require 'dbus'
Modem = require './lib/modem'
# VoiceCall = require './lib/voicecall'
# Message = require './lib/message'
# Sim = require './lib/sim'
class Ofono
constructor: (modemName, callback) ->
@modemName = modemName
dbus.s... |
[
{
"context": "tials,\n user: 'foo'\n password: 'bar'\n\n test.equal env.PORT, '8080'\n tes",
"end": 764,
"score": 0.9994967579841614,
"start": 761,
"tag": "PASSWORD",
"value": "bar"
},
{
"context": "nv.API_CREDENTIALS, '{\"user\": \"foo\", \"password\"... | test/umgebung.coffee | snd/umgebung | 0 | hinoki = require 'hinoki'
umgebung = require '../src/umgebung'
module.exports =
'README.md':
'default': (test) ->
hinoki umgebung, (
envIntPort,
envBoolEnableEtags,
envStringDatabaseUrl,
envFloatCommission,
maybeEnvStringApiKey,
maybeEnvIntPoolSize,
... | 22683 | hinoki = require 'hinoki'
umgebung = require '../src/umgebung'
module.exports =
'README.md':
'default': (test) ->
hinoki umgebung, (
envIntPort,
envBoolEnableEtags,
envStringDatabaseUrl,
envFloatCommission,
maybeEnvStringApiKey,
maybeEnvIntPoolSize,
... | true | hinoki = require 'hinoki'
umgebung = require '../src/umgebung'
module.exports =
'README.md':
'default': (test) ->
hinoki umgebung, (
envIntPort,
envBoolEnableEtags,
envStringDatabaseUrl,
envFloatCommission,
maybeEnvStringApiKey,
maybeEnvIntPoolSize,
... |
[
{
"context": "description: \"Link has wrong prev\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n}\n\nteams: {\n \"cabal\": {\n l",
"end": 52,
"score": 0.9936841130256653,
"start": 48,
"tag": "USERNAME",
"value": "herb"
},
{
"context": ": \"Link has wrong prev\"\n\nusers: {\n \"... | teamchains/inputs/bad_prev.iced | keybase/keybase-test-vectors | 4 | description: "Link has wrong prev"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
admin: ["basil"]
,
# invalid link: wrong prev
type: "change_membership"
signer: "basil"
members... | 152078 | description: "Link has wrong prev"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
admin: ["basil"]
,
# invalid link: wrong prev
type: "change_membership"
signer: "basil"
members... | true | description: "Link has wrong prev"
users: {
"herb": {}
"basil": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
admin: ["basil"]
,
# invalid link: wrong prev
type: "change_membership"
signer: "basil"
members... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.",
"end": 22,
"score": 0.9374865293502808,
"start": 19,
"tag": "NAME",
"value": "Bal"
}
] | lib/models/os.coffee | josecoelho/balena-sdk | 0 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 120559 | ###
Copyright 2016 <NAME>ena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PIena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
[
{
"context": "###\n backbone-sql.js 0.5.7\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql\n Lice",
"end": 57,
"score": 0.997423529624939,
"start": 49,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/vid... | src/sync.coffee | michaelBenin/backbone-sql | 1 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
inflection = require 'inflection'
Queue = require 'backbone-orm/lib/... | 157272 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
inflection = require 'inflection'
Queue = require 'backbone-orm/lib/qu... | true | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
util = require 'util'
_ = require 'underscore'
Backbone = require 'backbone'
inflection = require 'inflection'
Queue = require 'backb... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998722076416016,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/PlanetFarMesh.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.PlanetFarMesh
constructor: (geomRes) ->
@geomRes = geomRes
# load planet shader
@shader = xgl.loadProgram("planetFarMesh")
@shader.uniforms = xgl.getProgramUniforms(@shader, ... | 151728 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.PlanetFarMesh
constructor: (geomRes) ->
@geomRes = geomRes
# load planet shader
@shader = xgl.loadProgram("planetFarMesh")
@shader.uniforms = xgl.getProgramUniforms(@shader, ["mode... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.PlanetFarMesh
constructor: (geomRes) ->
@geomRes = geomRes
# load planet shader
@shader = xgl.loadProgram("planetFarMesh")
@shader.uniforms = xgl.getProgramUniforms(@... |
[
{
"context": "ght query API for JavaScript collections\n(c)2016 - Dave Tonge\nMay be freely distributed according to MIT licens",
"end": 94,
"score": 0.9998411536216736,
"start": 84,
"tag": "NAME",
"value": "Dave Tonge"
}
] | src/underscore-query.coffee | blitmap/underscore-query | 77 | ###
Underscore Query - A lightweight query API for JavaScript collections
(c)2016 - Dave Tonge
May be freely distributed according to MIT license.
This is small library that provides a query api for JavaScript arrays similar to *mongo db*.
The aim of the project is to provide a simple, well tested, way of filtering da... | 36529 | ###
Underscore Query - A lightweight query API for JavaScript collections
(c)2016 - <NAME>
May be freely distributed according to MIT license.
This is small library that provides a query api for JavaScript arrays similar to *mongo db*.
The aim of the project is to provide a simple, well tested, way of filtering data i... | true | ###
Underscore Query - A lightweight query API for JavaScript collections
(c)2016 - PI:NAME:<NAME>END_PI
May be freely distributed according to MIT license.
This is small library that provides a query api for JavaScript arrays similar to *mongo db*.
The aim of the project is to provide a simple, well tested, way of fi... |
[
{
"context": " team: [\"badger\"]\n name: \"Badger Badger\"\n author: \"jonti\"\n ",
"end": 389,
"score": 0.9995742440223694,
"start": 376,
"tag": "NAME",
"value": "Badger Badger"
},
{
"context": " name: \"Badger Badger\"\n ... | www/test/src/quest-big.coffee | berekuk/questhub | 15 | define [
"views/quest/big", "models/quest", "jasmine-jquery"
], (QuestBig, QuestModel) ->
describe "quest-big", ->
model = undefined
beforeEach ->
model = new QuestModel(
ts: 1360197975
status: "closed"
_id: "5112f9577a8f1d370b000002"
... | 14871 | define [
"views/quest/big", "models/quest", "jasmine-jquery"
], (QuestBig, QuestModel) ->
describe "quest-big", ->
model = undefined
beforeEach ->
model = new QuestModel(
ts: 1360197975
status: "closed"
_id: "5112f9577a8f1d370b000002"
... | true | define [
"views/quest/big", "models/quest", "jasmine-jquery"
], (QuestBig, QuestModel) ->
describe "quest-big", ->
model = undefined
beforeEach ->
model = new QuestModel(
ts: 1360197975
status: "closed"
_id: "5112f9577a8f1d370b000002"
... |
[
{
"context": "ublic cameras to test check:\n# https://github.com/rodowi/Paparazzo.js/wiki/List-of-public-cameras\n\npaparaz",
"end": 188,
"score": 0.9994259476661682,
"start": 182,
"tag": "USERNAME",
"value": "rodowi"
},
{
"context": "lic-cameras\n\npaparazzo = new Paparazzo\n hos... | demo/server.coffee | rodowi/Paparazzo.js | 92 | # Using the Paparazzo.js module
Paparazzo = require '../src/paparazzo'
http = require 'http'
url = require 'url'
# For a list of public cameras to test check:
# https://github.com/rodowi/Paparazzo.js/wiki/List-of-public-cameras
paparazzo = new Paparazzo
host: '195.67.26.73'
port: 80
path: '/mjpg/video.mj... | 101519 | # Using the Paparazzo.js module
Paparazzo = require '../src/paparazzo'
http = require 'http'
url = require 'url'
# For a list of public cameras to test check:
# https://github.com/rodowi/Paparazzo.js/wiki/List-of-public-cameras
paparazzo = new Paparazzo
host: '172.16.58.3'
port: 80
path: '/mjpg/video.mjp... | true | # Using the Paparazzo.js module
Paparazzo = require '../src/paparazzo'
http = require 'http'
url = require 'url'
# For a list of public cameras to test check:
# https://github.com/rodowi/Paparazzo.js/wiki/List-of-public-cameras
paparazzo = new Paparazzo
host: 'PI:IP_ADDRESS:172.16.58.3END_PI'
port: 80
pa... |
[
{
"context": "ше сообщение успешно отправлено.'\n name: 'Ваше имя'\n company: 'Название компании'\n em",
"end": 1535,
"score": 0.9994653463363647,
"start": 1527,
"tag": "NAME",
"value": "Ваше имя"
},
{
"context": "фических груп.\n\"\"\"\n two:\n ... | src/app/i18n/ru.coffee | easle-green/p2p | 0 | angular.module 'landing'
.run ($translate) -> window.toRussion = -> $translate.use 'ru'
.config ($translateProvider) ->
$translateProvider.translations 'ru',
menu:
about: 'Наши преимущества'
clients: 'Клиенты о нас'
feedback: 'Обратная связь'
languageImg: """
<img s... | 114802 | angular.module 'landing'
.run ($translate) -> window.toRussion = -> $translate.use 'ru'
.config ($translateProvider) ->
$translateProvider.translations 'ru',
menu:
about: 'Наши преимущества'
clients: 'Клиенты о нас'
feedback: 'Обратная связь'
languageImg: """
<img s... | true | angular.module 'landing'
.run ($translate) -> window.toRussion = -> $translate.use 'ru'
.config ($translateProvider) ->
$translateProvider.translations 'ru',
menu:
about: 'Наши преимущества'
clients: 'Клиенты о нас'
feedback: 'Обратная связь'
languageImg: """
<img s... |
[
{
"context": "s!\n# Entry for the GitHub Game Off 2013\n# Author : Paul Joannon for H-Bomb\n# <paul.joannon@gmail.com>\n##\n#####\n\ne",
"end": 85,
"score": 0.9998701214790344,
"start": 73,
"tag": "NAME",
"value": "Paul Joannon"
},
{
"context": "e GitHub Game Off 2013\n# Author : Pau... | demcreepers.coffee | MySweetWhomp/demcreepers | 1 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : Paul Joannon for H-Bomb
# <paul.joannon@gmail.com>
##
#####
express = require 'express'
http = require 'http'
path = require 'path'
mongodb = require 'mongodb'
demcreepers = do express
db = undefined
demcreepers.set 'port', process.env.PORT || ... | 80158 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : <NAME> for <NAME>
# <<EMAIL>>
##
#####
express = require 'express'
http = require 'http'
path = require 'path'
mongodb = require 'mongodb'
demcreepers = do express
db = undefined
demcreepers.set 'port', process.env.PORT || 8888
demcreepers.set ... | true | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : PI:NAME:<NAME>END_PI for PI:NAME:<NAME>END_PI
# <PI:EMAIL:<EMAIL>END_PI>
##
#####
express = require 'express'
http = require 'http'
path = require 'path'
mongodb = require 'mongodb'
demcreepers = do express
db = undefined
demcreepers.set 'port'... |
[
{
"context": "trike extends Skill\n target: TARGET_NONE\n key: \"whirlwind_strike\"\n name: \"whirlwind strike\"\n mp: 10\n cooldown: ",
"end": 82,
"score": 0.9770723581314087,
"start": 66,
"tag": "KEY",
"value": "whirlwind_strike"
}
] | js/skills/whirlwind_strike.coffee | ktchernov/7drl-lion.github.io | 27 | class WhirlwindStrike extends Skill
target: TARGET_NONE
key: "whirlwind_strike"
name: "whirlwind strike"
mp: 10
cooldown: 5
run: ->
positions = @state.get_adjacent_positions @id
attack = @state.get_attack @id
attack = Math.ceil(attack * 0.25)
$.each positions, (i, pos) =>
[x, y] = p... | 51700 | class WhirlwindStrike extends Skill
target: TARGET_NONE
key: "<KEY>"
name: "whirlwind strike"
mp: 10
cooldown: 5
run: ->
positions = @state.get_adjacent_positions @id
attack = @state.get_attack @id
attack = Math.ceil(attack * 0.25)
$.each positions, (i, pos) =>
[x, y] = pos
t... | true | class WhirlwindStrike extends Skill
target: TARGET_NONE
key: "PI:KEY:<KEY>END_PI"
name: "whirlwind strike"
mp: 10
cooldown: 5
run: ->
positions = @state.get_adjacent_positions @id
attack = @state.get_attack @id
attack = Math.ceil(attack * 0.25)
$.each positions, (i, pos) =>
[x, y] =... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9981751441955566,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "\"http\")\n http.Server(->\n ).listen common.PORT, \"127.0.0.1\"\nelse if cluster.isMaster\n... | test/simple/test-cluster-basic.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... | 147067 | # 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": " @collect = (name, state, count = 1) ->\n\n key = \"#{name}:#{state}\"\n @buffer[key] ?= 0\n @buffer[key] += count\n\n",
"end": 226,
"score": 0.946823239326477,
"start": 208,
"tag": "KEY",
"value": "\"#{name}:#{state}\""
}
] | client/app/lib/datadogmetrics.coffee | lionheart1022/koding | 0 | kd = require 'kd'
KDObject = kd.Object
remote = require 'app/remote'
module.exports = class DatadogMetrics extends KDObject
@buffer = kd.utils.dict()
@collect = (name, state, count = 1) ->
key = "#{name}:#{state}"
@buffer[key] ?= 0
@buffer[key] += count
@send = ->
return if @inProgress
... | 184063 | kd = require 'kd'
KDObject = kd.Object
remote = require 'app/remote'
module.exports = class DatadogMetrics extends KDObject
@buffer = kd.utils.dict()
@collect = (name, state, count = 1) ->
key = <KEY>
@buffer[key] ?= 0
@buffer[key] += count
@send = ->
return if @inProgress
keys = Obj... | true | kd = require 'kd'
KDObject = kd.Object
remote = require 'app/remote'
module.exports = class DatadogMetrics extends KDObject
@buffer = kd.utils.dict()
@collect = (name, state, count = 1) ->
key = PI:KEY:<KEY>END_PI
@buffer[key] ?= 0
@buffer[key] += count
@send = ->
return if @inProgress
... |
[
{
"context": "name\", (done) ->\n test = {contact : {name : 'some name'}}\n result = new Exporter(test).getValue(tes",
"end": 376,
"score": 0.9196345806121826,
"start": 367,
"tag": "NAME",
"value": "some name"
},
{
"context": "ring\", (done) ->\n test = {contact : {nam... | test/json-csv.coffee | IWSLLC/json-csv | 15 | should = require "should"
jsoncsv = require("../src/index")
StringWriter = require('../src/string-writer')
Exporter = jsoncsv.Exporter
stream = require "stream"
Readable = stream.Readable
describe "JSON - CSV", ->
describe "Value Evaluator", ->
it "should evaluate value of contact.nam... | 8377 | should = require "should"
jsoncsv = require("../src/index")
StringWriter = require('../src/string-writer')
Exporter = jsoncsv.Exporter
stream = require "stream"
Readable = stream.Readable
describe "JSON - CSV", ->
describe "Value Evaluator", ->
it "should evaluate value of contact.nam... | true | should = require "should"
jsoncsv = require("../src/index")
StringWriter = require('../src/string-writer')
Exporter = jsoncsv.Exporter
stream = require "stream"
Readable = stream.Readable
describe "JSON - CSV", ->
describe "Value Evaluator", ->
it "should evaluate value of contact.nam... |
[
{
"context": "###\ncountCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 48,
"score": 0.9994989037513733,
"start": 40,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\ncountCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@... | src/web/cs/countCtrl.coffee | xuender/mindfulness | 0 | ###
countCtrl.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
CountCtrl = ($scope, $http, $log)->
### 统计 ###
$log.debug '统计'
$scope.$parent.name = 'count'
$scope.chartConfig =
chart:
zoomType: 'xy'
series:[
]
xAxis:
categories: ... | 200727 | ###
countCtrl.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
CountCtrl = ($scope, $http, $log)->
### 统计 ###
$log.debug '统计'
$scope.$parent.name = 'count'
$scope.chartConfig =
chart:
zoomType: 'xy'
series:[
]
xAxis:
categories: []
yAxis... | true | ###
countCtrl.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
CountCtrl = ($scope, $http, $log)->
### 统计 ###
$log.debug '统计'
$scope.$parent.name = 'count'
$scope.chartConfig =
chart:
zoomType: 'xy'
series:[
]
xAxis:
... |
[
{
"context": "er({emailSubscriptions: ['announcement'], email: 'tester@gmail.com'})\n User.updateServiceSettings(user)\n\n desc",
"end": 1481,
"score": 0.9999213218688965,
"start": 1465,
"tag": "EMAIL",
"value": "tester@gmail.com"
}
] | spec/server/unit/user.spec.coffee | adamcsillag/codecombat | 1 | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
expect(user.isEmailSubscriptionEnabled('anyNotes')).to... | 134525 | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
expect(user.isEmailSubscriptionEnabled('anyNotes')).to... | true | GLOBAL._ = require 'lodash'
User = require '../../../server/models/User'
describe 'User', ->
it 'uses the schema defaults to fill in email preferences', (done) ->
user = new User()
expect(user.isEmailSubscriptionEnabled('generalNews')).toBeTruthy()
expect(user.isEmailSubscriptionEnabled('anyNotes')).to... |
[
{
"context": "###\n@Author: Kristinita\n@Date: 2017-01-30 13:33:35\n@Last Modified time:",
"end": 23,
"score": 0.9997631311416626,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
}
] | content/coffee/personal/Kristinita/accesskeys.coffee | Kristinita/KristinitaPelicanCI | 6 | ###
@Author: Kristinita
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:41:06
###
##############
# accesskeys #
##############
# Hotkeys for Google Custom Search Engine form:
# [WARNING] Works for Firefox and Internet Explorer:
# http://ru.stackoverflow.com/a/560571/199934
$(document).ready ->
setAcce... | 172094 | ###
@Author: <NAME>
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:41:06
###
##############
# accesskeys #
##############
# Hotkeys for Google Custom Search Engine form:
# [WARNING] Works for Firefox and Internet Explorer:
# http://ru.stackoverflow.com/a/560571/199934
$(document).ready ->
setAccessKe... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2017-01-30 13:33:35
@Last Modified time: 2017-01-30 13:41:06
###
##############
# accesskeys #
##############
# Hotkeys for Google Custom Search Engine form:
# [WARNING] Works for Firefox and Internet Explorer:
# http://ru.stackoverflow.com/a/560571/199934
$(document).ready ->... |
[
{
"context": "t_tomorrow'\n else\n null\n\n <tr key=\"tr-e-#{event.key}\" className={class_name}>\n <td>\n ",
"end": 3311,
"score": 0.9518011808395386,
"start": 3304,
"tag": "KEY",
"value": "tr-e-#{"
},
{
"context": "ct.Component\n EVENT_KEEP_UNTIL = -30\n LS_... | src/index.coffee | drbig/urwcal | 0 | CALENDAR = require '../data/calendar.json'
CALENDAR_MAP = {}
for day, idx in CALENDAR
CALENDAR_MAP[day.week] ||= {}
CALENDAR_MAP[day.week]["#{day.day}"] = idx
require './index.less'
import React from 'react'
import {render} from 'react-dom'
day_to_s = (day) ->
date = CALENDAR[day]
"Day #{date.day} of #{date... | 47557 | CALENDAR = require '../data/calendar.json'
CALENDAR_MAP = {}
for day, idx in CALENDAR
CALENDAR_MAP[day.week] ||= {}
CALENDAR_MAP[day.week]["#{day.day}"] = idx
require './index.less'
import React from 'react'
import {render} from 'react-dom'
day_to_s = (day) ->
date = CALENDAR[day]
"Day #{date.day} of #{date... | true | CALENDAR = require '../data/calendar.json'
CALENDAR_MAP = {}
for day, idx in CALENDAR
CALENDAR_MAP[day.week] ||= {}
CALENDAR_MAP[day.week]["#{day.day}"] = idx
require './index.less'
import React from 'react'
import {render} from 'react-dom'
day_to_s = (day) ->
date = CALENDAR[day]
"Day #{date.day} of #{date... |
[
{
"context": "setup key', (done) ->\n key = identifier: '12312'\n model._request = (method, params) ->\n ",
"end": 16373,
"score": 0.5556628704071045,
"start": 16370,
"tag": "KEY",
"value": "231"
},
{
"context": "condition', (done) ->\n key = identifier: '12312'... | test/model_tests.coffee | JohnnyDevMode/fireball | 0 | Model = require '../src'
keygen = require 'keygen'
{assign, pick, omit} = require 'lodash'
pipeline = require 'ppl'
describe 'Model Tests', ->
beforeEach (done) ->
@timeout 20000
clean_db done
describe '@constructor', ->
it 'it should construct with name', ->
model = new Model 'table_one'
... | 4655 | Model = require '../src'
keygen = require 'keygen'
{assign, pick, omit} = require 'lodash'
pipeline = require 'ppl'
describe 'Model Tests', ->
beforeEach (done) ->
@timeout 20000
clean_db done
describe '@constructor', ->
it 'it should construct with name', ->
model = new Model 'table_one'
... | true | Model = require '../src'
keygen = require 'keygen'
{assign, pick, omit} = require 'lodash'
pipeline = require 'ppl'
describe 'Model Tests', ->
beforeEach (done) ->
@timeout 20000
clean_db done
describe '@constructor', ->
it 'it should construct with name', ->
model = new Model 'table_one'
... |
[
{
"context": " <input type=\"text\" placeholder=\"Cardholder's First Name\" class=\"cc_first_name_js\" name=\"bill_first_n",
"end": 7676,
"score": 0.8965157270431519,
"start": 7658,
"tag": "NAME",
"value": "Cardholder's First"
},
{
"context": " <inpu... | models/credit_card/fixture/getaddcreditcardform.coffee | signonsridhar/sridhar_hbs | 0 | define([ 'can_fixture', 'Faker'], (can, Faker)->
can.fixture('GET /bss/account?action=getaddcreditcardform', (req, res)->
html_form = '''
<div class="creditcard_container">
<form action='https://secure.future.stage.ariasystems.net/api/direc... | 140407 | define([ 'can_fixture', 'Faker'], (can, Faker)->
can.fixture('GET /bss/account?action=getaddcreditcardform', (req, res)->
html_form = '''
<div class="creditcard_container">
<form action='https://secure.future.stage.ariasystems.net/api/direc... | true | define([ 'can_fixture', 'Faker'], (can, Faker)->
can.fixture('GET /bss/account?action=getaddcreditcardform', (req, res)->
html_form = '''
<div class="creditcard_container">
<form action='https://secure.future.stage.ariasystems.net/api/direc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.