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": "ructor: (@localStorage=localStorage, @storageKey='eutaxia-cart') ->\n @contents = []\n @key_",
"end": 730,
"score": 0.9635370373725891,
"start": 718,
"tag": "KEY",
"value": "eutaxia-cart"
}
] | clients/data/webshop/cart.coffee | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 73759 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | true | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... |
[
{
"context": "parsedUrl = null\n client = new Client {apiKey:'TESTKEY'}\n client._request = (opts, cb) ->\n u =",
"end": 392,
"score": 0.8631480932235718,
"start": 385,
"tag": "KEY",
"value": "TESTKEY"
},
{
"context": "ludeTimeline: false\n api_key: 'T... | test/clientTest.coffee | jwalton/lol-js | 30 | url = require 'url'
querystring = require 'querystring'
{expect} = require 'chai'
testUtils = require './testUtils'
Client = require '../src/client'
LRUCache = require '../src/cache/lruCache'
testMethod = (callClientFn, data, expected) ->
{expectedHost, expectedPathname, expectedQueryParams} =... | 92194 | url = require 'url'
querystring = require 'querystring'
{expect} = require 'chai'
testUtils = require './testUtils'
Client = require '../src/client'
LRUCache = require '../src/cache/lruCache'
testMethod = (callClientFn, data, expected) ->
{expectedHost, expectedPathname, expectedQueryParams} =... | true | url = require 'url'
querystring = require 'querystring'
{expect} = require 'chai'
testUtils = require './testUtils'
Client = require '../src/client'
LRUCache = require '../src/cache/lruCache'
testMethod = (callClientFn, data, expected) ->
{expectedHost, expectedPathname, expectedQueryParams} =... |
[
{
"context": "host'\n port: 8086\n auth:\n type: 'auth_basic \"alcarruth\"'\n path: 'auth_basic_user_file /etc/nginx/htpa",
"end": 1140,
"score": 0.7114983201026917,
"start": 1131,
"tag": "PASSWORD",
"value": "alcarruth"
}
] | src/nginx_app_conf.coffee | alcarruth/ipc-rmi | 1 | #!/usr/bin/env coffee
#
generate_nginx_conf = (spec) ->
# required
name = spec.name
path = spec.path
access_log = spec.access_log
error_log = spec.error_log
# optional
host = spec.host || 'localhost'
port = spec.port || 8080
auth = spec.auth || { type: null, path: null }
return """
location... | 90261 | #!/usr/bin/env coffee
#
generate_nginx_conf = (spec) ->
# required
name = spec.name
path = spec.path
access_log = spec.access_log
error_log = spec.error_log
# optional
host = spec.host || 'localhost'
port = spec.port || 8080
auth = spec.auth || { type: null, path: null }
return """
location... | true | #!/usr/bin/env coffee
#
generate_nginx_conf = (spec) ->
# required
name = spec.name
path = spec.path
access_log = spec.access_log
error_log = spec.error_log
# optional
host = spec.host || 'localhost'
port = spec.port || 8080
auth = spec.auth || { type: null, path: null }
return """
location... |
[
{
"context": "expire 'afterSignUpAction'\n\n# TODO: Follow up with Christina about this functionality\ncheckForPersonalizeFlash",
"end": 1346,
"score": 0.8563318848609924,
"start": 1337,
"tag": "NAME",
"value": "Christina"
}
] | src/desktop/components/main_layout/client.coffee | dzucconi/force | 0 | { globalClientSetup } = require '../../lib/global_client_setup'
HeaderView = require './header/view.coffee'
FooterView = require './footer/view.coffee'
CurrentUser = require '../../models/current_user.coffee'
FlashMessage = require '../flash/index.coffee'
Cookies = require 'cookies-js'
{ triggerMarketingModal } = requi... | 224243 | { globalClientSetup } = require '../../lib/global_client_setup'
HeaderView = require './header/view.coffee'
FooterView = require './footer/view.coffee'
CurrentUser = require '../../models/current_user.coffee'
FlashMessage = require '../flash/index.coffee'
Cookies = require 'cookies-js'
{ triggerMarketingModal } = requi... | true | { globalClientSetup } = require '../../lib/global_client_setup'
HeaderView = require './header/view.coffee'
FooterView = require './footer/view.coffee'
CurrentUser = require '../../models/current_user.coffee'
FlashMessage = require '../flash/index.coffee'
Cookies = require 'cookies-js'
{ triggerMarketingModal } = requi... |
[
{
"context": "\n # The website author's email\n email: \"info@pencilcode.net\"\n\n # cache-busting timestamp\n timestamp",
"end": 609,
"score": 0.9999203681945801,
"start": 590,
"tag": "EMAIL",
"value": "info@pencilcode.net"
},
{
"context": "\n\n # Discus.com s... | docpad.coffee | cacticouncil/blog | 0 | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
path = require('path')
# Define the DocPad Configuration
docpadConfig = {
srcPath: ''
ignorePaths: [path.join(process.cwd(), 'out')]
templateData:
# Specify some site properties
site:
# Th... | 180082 | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
path = require('path')
# Define the DocPad Configuration
docpadConfig = {
srcPath: ''
ignorePaths: [path.join(process.cwd(), 'out')]
templateData:
# Specify some site properties
site:
# Th... | true | # DocPad Configuration File
# http://docpad.org/docs/config
cheerio = require('cheerio')
url = require('url')
path = require('path')
# Define the DocPad Configuration
docpadConfig = {
srcPath: ''
ignorePaths: [path.join(process.cwd(), 'out')]
templateData:
# Specify some site properties
site:
# Th... |
[
{
"context": "><code>\"bugs\": {\n \"url\": \"https://github.com/owner/project/issues\",\n \"email\": \"project@hostname",
"end": 3605,
"score": 0.9649602174758911,
"start": 3600,
"tag": "USERNAME",
"value": "owner"
},
{
"context": "github.com/owner/project/issues\",\n ... | coffee/formats/package.coffee | jsoref/JSON.is | 271 | depInfo = (propertyName) -> """
<p>The format is <code>"PACKAGE_NAME": "VERSION"</code>, for example:</p>
<pre><code>"#{ propertyName }": {
"coffee-script": "1.6.1",
"gulp": "~3.6.2"
}</code></pre>
<p>Packages can be found using the <code>npm search</code> command, or on <a href="http://npmjs.com">npm... | 74234 | depInfo = (propertyName) -> """
<p>The format is <code>"PACKAGE_NAME": "VERSION"</code>, for example:</p>
<pre><code>"#{ propertyName }": {
"coffee-script": "1.6.1",
"gulp": "~3.6.2"
}</code></pre>
<p>Packages can be found using the <code>npm search</code> command, or on <a href="http://npmjs.com">npm... | true | depInfo = (propertyName) -> """
<p>The format is <code>"PACKAGE_NAME": "VERSION"</code>, for example:</p>
<pre><code>"#{ propertyName }": {
"coffee-script": "1.6.1",
"gulp": "~3.6.2"
}</code></pre>
<p>Packages can be found using the <code>npm search</code> command, or on <a href="http://npmjs.com">npm... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Sandy <amwelch@umich.edu>\n\npython_shell = require(\"pyth",
"end": 293,
"score": 0.99922776222229,
"start": 288,
"tag": "NAME",
"value": "Sandy"
},
{
"context": "s required for the script>\n#\n# Author:\n# Sandy <... | src/room-stats.coffee | amwelch/hubot-room-stats | 0 | # Description
# Periodically collect/report on room statistics
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# Sandy <amwelch@umich.edu>
pytho... | 34832 | # Description
# Periodically collect/report on room statistics
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME> <<EMAIL>>
python_shell =... | true | # Description
# Periodically collect/report on room statistics
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<... |
[
{
"context": "###*\n *\n * dialog\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{View} = req",
"end": 35,
"score": 0.9987025260925293,
"start": 29,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n *\n * dialog\n * @author vfasky <vfasky@gmail.com>\n###\n'use... | example/src/dialog.coffee | vfasky/mcore-weui | 0 | ###*
*
* dialog
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{View} = require 'mcoreapp'
weui = require 'mcore-weui'
class Dialog extends View
run: ->
@render require('../tpl/dialog.html')
showAlert: ->
weui.Dialog.alert 'hello'
false
showConfirm: ->
weui.Dia... | 94757 | ###*
*
* dialog
* @author vfasky <<EMAIL>>
###
'use strict'
{View} = require 'mcoreapp'
weui = require 'mcore-weui'
class Dialog extends View
run: ->
@render require('../tpl/dialog.html')
showAlert: ->
weui.Dialog.alert 'hello'
false
showConfirm: ->
weui.Dialog.confi... | true | ###*
*
* dialog
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{View} = require 'mcoreapp'
weui = require 'mcore-weui'
class Dialog extends View
run: ->
@render require('../tpl/dialog.html')
showAlert: ->
weui.Dialog.alert 'hello'
false
showConfirm: ->
we... |
[
{
"context": ".\n# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/\n\nclass window.MeetingSh",
"end": 202,
"score": 0.9815793037414551,
"start": 193,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "eScript in this file: http://jashkenas.gith... | app/assets/javascripts/meetings.js.coffee | LasVegasRubyGroup/soapbox | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
class window.MeetingShow
constructor: ->
@wireKudoButtons()
wireKudoButtons: ->
... | 141757 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
class window.MeetingShow
constructor: ->
@wireKudoButtons()
wireKudoButtons: ->
... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
class window.MeetingShow
constructor: ->
@wireKudoButtons()
wireKudoButtons: ->
... |
[
{
"context": "hello derek how is it going?\nfor c, i in \"Hello World!\"\n k",
"end": 13,
"score": 0.9957613348960876,
"start": 8,
"tag": "NAME",
"value": "derek"
}
] | examples/simple-jsbeautifyrc/coffeescript/original/test.coffee | MetaMemoryT/atom-beautify | 0 | hello derek how is it going?
for c, i in "Hello World!"
k = 1+1- 2>=3<= 4>5 <6
for c, i in "Hello World"
k = (a,b)-> if b? return a
f = b()[0]
for c, i in "Hello World"
f(b())
| 184512 | hello <NAME> how is it going?
for c, i in "Hello World!"
k = 1+1- 2>=3<= 4>5 <6
for c, i in "Hello World"
k = (a,b)-> if b? return a
f = b()[0]
for c, i in "Hello World"
f(b())
| true | hello PI:NAME:<NAME>END_PI how is it going?
for c, i in "Hello World!"
k = 1+1- 2>=3<= 4>5 <6
for c, i in "Hello World"
k = (a,b)-> if b? return a
f = b()[0]
for c, i in "Hello World"
f(b())
|
[
{
"context": " algo_version : 3\n generation : 1\n email : \"themax@gmail.com\"\n length : 12\n num_symbols : 0\n security",
"end": 645,
"score": 0.9999204277992249,
"start": 629,
"tag": "EMAIL",
"value": "themax@gmail.com"
},
{
"context": " num_symbols : 0\n secu... | node_modules/purepack/test/pack/input.iced | AngelKey/Angelkey.nodeclient | 151 | exports.data =
s1 : "hello"
o1 : { hi : "mom", bye : "dad" }
r1: [-100..100]
r2: [-1000..1000]
r3: [-32800...-32700]
r4: [-2147483668...-2147483628]
r5: [0xfff0...0x1000f]
r6: [0xfffffff0...0x10000000f]
i1: -2147483649
f1: [ 1.1, 10.1, 20.333, 44.44444, 5.555555]
f2: [ -1.1, -10.1, -2... | 23620 | exports.data =
s1 : "hello"
o1 : { hi : "mom", bye : "dad" }
r1: [-100..100]
r2: [-1000..1000]
r3: [-32800...-32700]
r4: [-2147483668...-2147483628]
r5: [0xfff0...0x1000f]
r6: [0xfffffff0...0x10000000f]
i1: -2147483649
f1: [ 1.1, 10.1, 20.333, 44.44444, 5.555555]
f2: [ -1.1, -10.1, -2... | true | exports.data =
s1 : "hello"
o1 : { hi : "mom", bye : "dad" }
r1: [-100..100]
r2: [-1000..1000]
r3: [-32800...-32700]
r4: [-2147483668...-2147483628]
r5: [0xfff0...0x1000f]
r6: [0xfffffff0...0x10000000f]
i1: -2147483649
f1: [ 1.1, 10.1, 20.333, 44.44444, 5.555555]
f2: [ -1.1, -10.1, -2... |
[
{
"context": "alert \"Hello, minoJiro!\"\n",
"end": 22,
"score": 0.998431384563446,
"start": 14,
"tag": "NAME",
"value": "minoJiro"
}
] | HelloWorld.coffee | minojiro/Hello-World | 0 | alert "Hello, minoJiro!"
| 164016 | alert "Hello, <NAME>!"
| true | alert "Hello, PI:NAME:<NAME>END_PI!"
|
[
{
"context": "\" })\n (new Proof { key : \"twitter\", value : \"bbbbb\" })\n (new Proof { key : \"fingerprint\", value :",
"end": 941,
"score": 0.6316211223602295,
"start": 938,
"tag": "KEY",
"value": "bbb"
},
{
"context": "})\n (new Proof { key : \"fingerprint\", value : \"... | node_modules/libkeybase/test/files/33_assertion.iced | AngelKey/Angelkey.nodeclient | 151 |
{URI,parse,Proof,ProofSet} = require('../../').assertion
expr = null
exports.parse_0 = (T,cb) ->
expr = parse "reddit://a && twitter://bb"
cb()
exports.match_0 = (T,cb) ->
ps = new ProofSet [(new Proof { key : "reddit", value : "a" })]
T.assert not expr.match_set(ps), "shouldn't match"
cb()
exports.parse... | 92029 |
{URI,parse,Proof,ProofSet} = require('../../').assertion
expr = null
exports.parse_0 = (T,cb) ->
expr = parse "reddit://a && twitter://bb"
cb()
exports.match_0 = (T,cb) ->
ps = new ProofSet [(new Proof { key : "reddit", value : "a" })]
T.assert not expr.match_set(ps), "shouldn't match"
cb()
exports.parse... | true |
{URI,parse,Proof,ProofSet} = require('../../').assertion
expr = null
exports.parse_0 = (T,cb) ->
expr = parse "reddit://a && twitter://bb"
cb()
exports.match_0 = (T,cb) ->
ps = new ProofSet [(new Proof { key : "reddit", value : "a" })]
T.assert not expr.match_set(ps), "shouldn't match"
cb()
exports.parse... |
[
{
"context": " E Dialog, props,\n E 'iframe', \n key: Date.now().toString()\n src: @url()\n frameBorder: 0\n ",
"end": 710,
"score": 0.9864128232002258,
"start": 689,
"tag": "KEY",
"value": "Date.now().toString()"
}
] | index.coffee | twhtanghk/rc-oauth2 | 0 | require 'rc-dialog/assets/index.css'
require './index.css'
React = require 'react'
E = require 'react-script'
Dialog = require('rc-dialog').default
url = require 'url'
class Auth extends React.Component
@cb: null
@defaultProps:
title: 'Login'
style:
height: "80%"
bodyStyle:
padding: 0
... | 46815 | require 'rc-dialog/assets/index.css'
require './index.css'
React = require 'react'
E = require 'react-script'
Dialog = require('rc-dialog').default
url = require 'url'
class Auth extends React.Component
@cb: null
@defaultProps:
title: 'Login'
style:
height: "80%"
bodyStyle:
padding: 0
... | true | require 'rc-dialog/assets/index.css'
require './index.css'
React = require 'react'
E = require 'react-script'
Dialog = require('rc-dialog').default
url = require 'url'
class Auth extends React.Component
@cb: null
@defaultProps:
title: 'Login'
style:
height: "80%"
bodyStyle:
padding: 0
... |
[
{
"context": " is too \n# smart to do right... sigh.\n#\n# Based on Colin Snover's implementation which can be found at https://gi",
"end": 187,
"score": 0.9313719868659973,
"start": 175,
"tag": "NAME",
"value": "Colin Snover"
},
{
"context": "entation which can be found at https://g... | lib/date_from_json.js.coffee | charypar/cyclical-js | 2 | # this is here to correctly parse dates provided by the server in ISO 8601 date format, which apparently the date.js library is too
# smart to do right... sigh.
#
# Based on Colin Snover's implementation which can be found at https://github.com/csnover/js-iso8601
Date.parseISO8601 = (string) ->
regex = /^(\d{4}|[+\... | 176631 | # this is here to correctly parse dates provided by the server in ISO 8601 date format, which apparently the date.js library is too
# smart to do right... sigh.
#
# Based on <NAME>'s implementation which can be found at https://github.com/csnover/js-iso8601
Date.parseISO8601 = (string) ->
regex = /^(\d{4}|[+\-]\d{6... | true | # this is here to correctly parse dates provided by the server in ISO 8601 date format, which apparently the date.js library is too
# smart to do right... sigh.
#
# Based on PI:NAME:<NAME>END_PI's implementation which can be found at https://github.com/csnover/js-iso8601
Date.parseISO8601 = (string) ->
regex = /^(\... |
[
{
"context": "IGH guy\n#\n# Good news everyone! <news> - Generates Professor Farnsworth\n\nmodule.exports = (robot) ->\n robot.r",
"end": 614,
"score": 0.8189399242401123,
"start": 605,
"tag": "NAME",
"value": "Professor"
},
{
"context": "# Good news everyone! <news> - Generates Pro... | src/scripts/meme_generator.coffee | mxenabled/hubot-scripts | 1 | # Integrates with memegenerator.net
#
# Y U NO <text> - Generates the Y U NO GUY with the bottom caption
# of <text>
#
# I don't always <something> but when i do <text> - Generates The Most Interesting man in the World
#
# <text> ORLY? - Generates the ORLY? owl wi... | 21645 | # Integrates with memegenerator.net
#
# Y U NO <text> - Generates the Y U NO GUY with the bottom caption
# of <text>
#
# I don't always <something> but when i do <text> - Generates The Most Interesting man in the World
#
# <text> ORLY? - Generates the ORLY? owl wi... | true | # Integrates with memegenerator.net
#
# Y U NO <text> - Generates the Y U NO GUY with the bottom caption
# of <text>
#
# I don't always <something> but when i do <text> - Generates The Most Interesting man in the World
#
# <text> ORLY? - Generates the ORLY? owl wi... |
[
{
"context": "override -->'\n passwordagain:\n name: 'Passwordagain'\n type: 'match'\n match: 'passw",
"end": 28821,
"score": 0.8436954021453857,
"start": 28813,
"tag": "NAME",
"value": "Password"
},
{
"context": " -->'\n passwordagain:\n name: '... | app/assets/javascripts/jqBootstrapValidation.coffee | ubik86/blog | 0 | ### jqBootstrapValidation
# A plugin for automating validation on Twitter Bootstrap formatted forms.
#
# v1.3.6
#
# License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
#
# http://ReactiveRaven.github.com/jqBootstrapValidation/
###
(($) ->
createdElements = []
defaults =
options:
... | 63240 | ### jqBootstrapValidation
# A plugin for automating validation on Twitter Bootstrap formatted forms.
#
# v1.3.6
#
# License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
#
# http://ReactiveRaven.github.com/jqBootstrapValidation/
###
(($) ->
createdElements = []
defaults =
options:
... | true | ### jqBootstrapValidation
# A plugin for automating validation on Twitter Bootstrap formatted forms.
#
# v1.3.6
#
# License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
#
# http://ReactiveRaven.github.com/jqBootstrapValidation/
###
(($) ->
createdElements = []
defaults =
options:
... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | functionj return median array of ",
"end": 163,
"score": 0.9998729825019836,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/smooth/median.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | functionj return median array of inputs
# ------------------------------------------------------------------------------
median = (input_arr... | 5309 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | functionj return median array of inputs
# ------------------------------------------------------------------------------
median = (input_array...) -... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | functionj return median array of inputs
# ------------------------------------------------------------------------------
median = (inp... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998569488525391,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "escription,nugget)\n edit_action: jQ... | src/plugins/citehandler.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# citehandler
# common functions for citation/publication/sourcedescription handling
# this is a singleton class that needs to be initialized outside of hallo and d... | 119538 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# citehandler
# common functions for citation/publication/sourcedescription handling
# this is a singleton class that needs to be initialized outside of hallo and does
# h... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# citehandler
# common functions for citation/publication/sourcedescription handling
# this is a singleton class that needs to be initialized outside of hall... |
[
{
"context": "es.end((i++).toString()))\n\n @server.listen(0, '127.0.0.1', =>\n @port = @server.address().port\n p",
"end": 597,
"score": 0.9994227886199951,
"start": 588,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "\n\n 'open urls': (done) ->\n @page.... | node_modules/grunt-mocha-debug/node_modules/phantomjs-wrapper/test/index.coffee | bbuchsbaum/psycloud | 0 | http = require('http')
path = require('path')
phantomjs = require('../src')
suite =
'*suiteSetup': (done) ->
i = 1
@server = http.createServer((req, res) =>
if req.url == '/reloadcb'
res.writeHead(200, 'Content-Type': 'text/html')
return res.end(
"""
<html>
... | 137225 | http = require('http')
path = require('path')
phantomjs = require('../src')
suite =
'*suiteSetup': (done) ->
i = 1
@server = http.createServer((req, res) =>
if req.url == '/reloadcb'
res.writeHead(200, 'Content-Type': 'text/html')
return res.end(
"""
<html>
... | true | http = require('http')
path = require('path')
phantomjs = require('../src')
suite =
'*suiteSetup': (done) ->
i = 1
@server = http.createServer((req, res) =>
if req.url == '/reloadcb'
res.writeHead(200, 'Content-Type': 'text/html')
return res.end(
"""
<html>
... |
[
{
"context": "\n\nPrint something like\n\n```javascript\n[ { key: 'my_key_1',\n , column: 'my_column_family:my_column'\n ",
"end": 2521,
"score": 0.6496736407279968,
"start": 2521,
"tag": "KEY",
"value": ""
},
{
"context": "85942781739\n , '$': 'my value 1'\n }\n, { key: 'my_key_2... | src/row.coffee | LiveTex/node-hbase | 0 | utils = require("./utils")
Table = require("./table")
###
Row operations: CRUD operation on rows and columns
==================================================
Row objects provide access and multipulation on colunns and rows. Single and multiple operations are available and are documented below.
Grab an instance of ... | 208876 | utils = require("./utils")
Table = require("./table")
###
Row operations: CRUD operation on rows and columns
==================================================
Row objects provide access and multipulation on colunns and rows. Single and multiple operations are available and are documented below.
Grab an instance of ... | true | utils = require("./utils")
Table = require("./table")
###
Row operations: CRUD operation on rows and columns
==================================================
Row objects provide access and multipulation on colunns and rows. Single and multiple operations are available and are documented below.
Grab an instance of ... |
[
{
"context": " <%= class_name %>Controller.js\n@author Author\n@contact Contact\n\n@copyright Copyright <%= Da",
"end": 115,
"score": 0.9649048447608948,
"start": 109,
"tag": "NAME",
"value": "Author"
}
] | lib/generators/joker/js_controller/templates/model_controller.coffee | zaeznet/joker-rails | 0 | ###
@summary App.Controllers
@version 1.0.0
@file <%= class_name %>Controller.js
@author Author
@contact Contact
@copyright Copyright <%= Date.today.year %>
###
###
Callbacks object to control the
model <%= plural_table_name %>
@type {Object}
###
App.Controllers.<%= class_name %> =
###
Ca... | 18989 | ###
@summary App.Controllers
@version 1.0.0
@file <%= class_name %>Controller.js
@author <NAME>
@contact Contact
@copyright Copyright <%= Date.today.year %>
###
###
Callbacks object to control the
model <%= plural_table_name %>
@type {Object}
###
App.Controllers.<%= class_name %> =
###
Ca... | true | ###
@summary App.Controllers
@version 1.0.0
@file <%= class_name %>Controller.js
@author PI:NAME:<NAME>END_PI
@contact Contact
@copyright Copyright <%= Date.today.year %>
###
###
Callbacks object to control the
model <%= plural_table_name %>
@type {Object}
###
App.Controllers.<%= class_name %>... |
[
{
"context": "ing\n modelKey: 'displayName'\n jsonKey: 'display_name'\n\n 'name': Attributes.String\n modelKey: '",
"end": 343,
"score": 0.899293839931488,
"start": 331,
"tag": "KEY",
"value": "display_name"
}
] | models/folder.coffee | lever/nylas-nodejs | 0 | RestfulModel = require './restful-model'
Attributes = require './attributes'
Promise = require 'bluebird'
_ = require 'underscore'
class Label extends RestfulModel
@collectionName: 'labels'
@attributes: _.extend {}, RestfulModel.attributes,
'displayName': Attributes.String
modelKey: 'displayName'
... | 184393 | RestfulModel = require './restful-model'
Attributes = require './attributes'
Promise = require 'bluebird'
_ = require 'underscore'
class Label extends RestfulModel
@collectionName: 'labels'
@attributes: _.extend {}, RestfulModel.attributes,
'displayName': Attributes.String
modelKey: 'displayName'
... | true | RestfulModel = require './restful-model'
Attributes = require './attributes'
Promise = require 'bluebird'
_ = require 'underscore'
class Label extends RestfulModel
@collectionName: 'labels'
@attributes: _.extend {}, RestfulModel.attributes,
'displayName': Attributes.String
modelKey: 'displayName'
... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998429417610168,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/service.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 226161 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998787045478821,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/... | src/code/special.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
special = {
backspace: ref 'Backspace', 8
tab: ref 'Ta... | 142202 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
special = {
backspace: ref 'Backspace', 8
tab: ref 'Tab', ... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
special = {
backspace: ref 'Backspace', 8
tab: ... |
[
{
"context": "e(this).attach($scope)\n vm = this\n vm.password = ''\n vm.error = ''\n\n vm.set = ->\n Accounts.reset",
"end": 160,
"score": 0.9845103621482849,
"start": 160,
"tag": "PASSWORD",
"value": ""
}
] | client/user/auth/controllers/activateCtrl.ng.coffee | redhead-web/meteor-foodcoop | 11 | angular.module('food-coop').controller 'ActivateCtrl',
($state, $scope, $stateParams, $reactive) ->
$reactive(this).attach($scope)
vm = this
vm.password = ''
vm.error = ''
vm.set = ->
Accounts.resetPassword $stateParams.token, vm.password, vm.$bindToContext (err) ->
if err
vm.error = 'Error... | 187179 | angular.module('food-coop').controller 'ActivateCtrl',
($state, $scope, $stateParams, $reactive) ->
$reactive(this).attach($scope)
vm = this
vm.password =<PASSWORD> ''
vm.error = ''
vm.set = ->
Accounts.resetPassword $stateParams.token, vm.password, vm.$bindToContext (err) ->
if err
vm.erro... | true | angular.module('food-coop').controller 'ActivateCtrl',
($state, $scope, $stateParams, $reactive) ->
$reactive(this).attach($scope)
vm = this
vm.password =PI:PASSWORD:<PASSWORD>END_PI ''
vm.error = ''
vm.set = ->
Accounts.resetPassword $stateParams.token, vm.password, vm.$bindToContext (err) ->
if e... |
[
{
"context": " {0}! Let me quickly introduce myself.\\nMy name is Oskar, and the team has drafted me in to be their new h",
"end": 434,
"score": 0.9998564720153809,
"start": 429,
"tag": "NAME",
"value": "Oskar"
}
] | src/content/oskarTexts.coffee | wearehanno/oskar | 155 | # needed in order to do string replacement
String.prototype.format = ->
args = arguments
return this.replace /{(\d+)}/g, (match, number) ->
return if typeof args[number] isnt 'undefined' then args[number] else match
OskarTexts =
statusText:
'1': 'pretty bad'
'2': 'a bit down'
'3': 'alright'
'... | 66354 | # needed in order to do string replacement
String.prototype.format = ->
args = arguments
return this.replace /{(\d+)}/g, (match, number) ->
return if typeof args[number] isnt 'undefined' then args[number] else match
OskarTexts =
statusText:
'1': 'pretty bad'
'2': 'a bit down'
'3': 'alright'
'... | true | # needed in order to do string replacement
String.prototype.format = ->
args = arguments
return this.replace /{(\d+)}/g, (match, number) ->
return if typeof args[number] isnt 'undefined' then args[number] else match
OskarTexts =
statusText:
'1': 'pretty bad'
'2': 'a bit down'
'3': 'alright'
'... |
[
{
"context": "ne()\n\n beforeEach ->\n auth =\n username: 'ai-turns-hostile'\n password: 'team-token'\n\n @options =\n ",
"end": 910,
"score": 0.999643862247467,
"start": 894,
"tag": "USERNAME",
"value": "ai-turns-hostile"
},
{
"context": " username: 'ai-turns-h... | test/integration/flow-contains-triggers-spec.coffee | octoblu/triggers-service | 5 | _ = require 'lodash'
http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'GET /all-triggers?flowContains=device:generic', ->
... | 28805 | _ = require 'lodash'
http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'GET /all-triggers?flowContains=device:generic', ->
... | true | _ = require 'lodash'
http = require 'http'
request = require 'request'
shmock = require 'shmock'
Server = require '../../src/server'
fakeFlow = require './fake-flow.json'
enableDestroy = require 'server-destroy'
describe 'GET /all-triggers?flowContains=device:generic', ->
... |
[
{
"context": "me] = -> x)()\n\nmemox = (klass, name, f) ->\n key = \"#{name}__\"\n klass::[name] = (args...) ->\n val = (@[key]",
"end": 927,
"score": 0.998965322971344,
"start": 917,
"tag": "KEY",
"value": "\"#{name}__"
}
] | lib/dsymbol.coffee | odf/gavrog.js | 1 | if typeof(require) != 'undefined'
# for now we assume that pazy.js lives next to gavrog.js
require.paths.unshift("#{__dirname}/../../pazy.js/lib")
{ bounce } = require('functional')
{ seq } = require('sequence')
{ IntSet, IntMap, HashSet, HashMap } = requ... | 1328 | if typeof(require) != 'undefined'
# for now we assume that pazy.js lives next to gavrog.js
require.paths.unshift("#{__dirname}/../../pazy.js/lib")
{ bounce } = require('functional')
{ seq } = require('sequence')
{ IntSet, IntMap, HashSet, HashMap } = requ... | true | if typeof(require) != 'undefined'
# for now we assume that pazy.js lives next to gavrog.js
require.paths.unshift("#{__dirname}/../../pazy.js/lib")
{ bounce } = require('functional')
{ seq } = require('sequence')
{ IntSet, IntMap, HashSet, HashMap } = requ... |
[
{
"context": "##\n#\n# author: Nicholas McCready\n# directive to invoke google-maps-tools keydragzo",
"end": 32,
"score": 0.9998731017112732,
"start": 15,
"tag": "NAME",
"value": "Nicholas McCready"
}
] | public/bower_components/angular-google-maps/src/coffee/directives/api/drag-zoom.coffee | arslannaseem/notasoft | 1 | ##
#
# author: Nicholas McCready
# directive to invoke google-maps-tools keydragzoom
#
# details: http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydragzoom/2.0.9/docs/examples.html
# options: can set styles and keys
#
##
angular.module('uiGmapgoogle-maps.directives.api').service 'uiGmapDragZoom', [
... | 94147 | ##
#
# author: <NAME>
# directive to invoke google-maps-tools keydragzoom
#
# details: http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydragzoom/2.0.9/docs/examples.html
# options: can set styles and keys
#
##
angular.module('uiGmapgoogle-maps.directives.api').service 'uiGmapDragZoom', [
'uiGmapCtrl... | true | ##
#
# author: PI:NAME:<NAME>END_PI
# directive to invoke google-maps-tools keydragzoom
#
# details: http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydragzoom/2.0.9/docs/examples.html
# options: can set styles and keys
#
##
angular.module('uiGmapgoogle-maps.directives.api').service 'uiGmapDragZoom', [... |
[
{
"context": "ee here for more details:\n#\n# https://github.com/openpgpjs/openpgpjs/wiki/Cure53-security-audit\n#\n\n{do_messa",
"end": 65,
"score": 0.9871965050697327,
"start": 56,
"tag": "USERNAME",
"value": "openpgpjs"
},
{
"context": "(Darwin)\nComment: GPGTools - https://gpgto... | test/files/openpgp_js_cure53_audit.iced | samkenxstream/kbpgp | 464 |
#
# See here for more details:
#
# https://github.com/openpgpjs/openpgpjs/wiki/Cure53-security-audit
#
{do_message,Message} = require '../../lib/openpgp/processor'
{PgpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../'
{decode} = require('pgp-utils').armor
testing_unixtime = Math.floor(new Date(... | 24635 |
#
# See here for more details:
#
# https://github.com/openpgpjs/openpgpjs/wiki/Cure53-security-audit
#
{do_message,Message} = require '../../lib/openpgp/processor'
{PgpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../'
{decode} = require('pgp-utils').armor
testing_unixtime = Math.floor(new Date(... | true |
#
# See here for more details:
#
# https://github.com/openpgpjs/openpgpjs/wiki/Cure53-security-audit
#
{do_message,Message} = require '../../lib/openpgp/processor'
{PgpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../'
{decode} = require('pgp-utils').armor
testing_unixtime = Math.floor(new Date(... |
[
{
"context": "(req, res) ->\n res.json {\n access_token: 'super_save_token',\n id: 1,\n first_name: 'Just',\n la",
"end": 775,
"score": 0.7667775750160217,
"start": 759,
"tag": "PASSWORD",
"value": "super_save_token"
},
{
"context": "uper_save_token',\n id... | frontend/config/server.coffee | degzcs/rails-angular-lineman-example | 0 | ### Define custom server-side HTTP routes for lineman's development server
# These might be as simple as stubbing a little JSON to
# facilitate development of code that interacts with an HTTP service
# (presumably, mirroring one that will be reachable in a live environment).
#
# It's important to remember that an... | 219713 | ### Define custom server-side HTTP routes for lineman's development server
# These might be as simple as stubbing a little JSON to
# facilitate development of code that interacts with an HTTP service
# (presumably, mirroring one that will be reachable in a live environment).
#
# It's important to remember that an... | true | ### Define custom server-side HTTP routes for lineman's development server
# These might be as simple as stubbing a little JSON to
# facilitate development of code that interacts with an HTTP service
# (presumably, mirroring one that will be reachable in a live environment).
#
# It's important to remember that an... |
[
{
"context": " .del('baz')\n .put('pass', 'xyzzy')\n .write(afterWrite);\n }\n\n ",
"end": 531,
"score": 0.999060869216919,
"start": 526,
"tag": "PASSWORD",
"value": "xyzzy"
}
] | src/coffee/leveldb/batch.coffee | kyledrake/node-leveldb | 1 | binding = require '../../build/Release/leveldb.node'
noop = ->
###
A batch holds a sequence of put/delete operations to atomically write to
the database.
Usage:
var leveldb = require('leveldb');
var db, db2, batch, batch2 = new leveldb.Batch, writes = 2;
leveldb.open('/tmp/tes... | 1146 | binding = require '../../build/Release/leveldb.node'
noop = ->
###
A batch holds a sequence of put/delete operations to atomically write to
the database.
Usage:
var leveldb = require('leveldb');
var db, db2, batch, batch2 = new leveldb.Batch, writes = 2;
leveldb.open('/tmp/tes... | true | binding = require '../../build/Release/leveldb.node'
noop = ->
###
A batch holds a sequence of put/delete operations to atomically write to
the database.
Usage:
var leveldb = require('leveldb');
var db, db2, batch, batch2 = new leveldb.Batch, writes = 2;
leveldb.open('/tmp/tes... |
[
{
"context": "nt: 'https://api-staging.hanzo.io'\n key: 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjI0LCJqdGkiOiJhajNhTUpPcUlfWSIsInN1YiI6IkVxVEdveHA1dTMifQ.dwz3XXRPSHzhFIXYIW-GrU1ovf1alEvRN9syqRKlfAwapXwVxp5Twort3ibaDd6V-yQtLHfziy2PHNin1VfZ4A'\n\n # endpoint: 'https://api.hanzo.io'\n # ke",
... | test/server/helper.coffee | hanzo-io/hanzo.js | 147 | chai = require 'chai'
chai.should()
chai.use require 'chai-as-promised'
hanzo = require '../../'
before ->
global.sleep = (time) ->
new Promise (resolve, reject) ->
setTimeout ->
resolve()
, time
global.api = new hanzo.Api
debug: true
endpoint: 'https://api-staging.hanzo.io'
... | 120299 | chai = require 'chai'
chai.should()
chai.use require 'chai-as-promised'
hanzo = require '../../'
before ->
global.sleep = (time) ->
new Promise (resolve, reject) ->
setTimeout ->
resolve()
, time
global.api = new hanzo.Api
debug: true
endpoint: 'https://api-staging.hanzo.io'
... | true | chai = require 'chai'
chai.should()
chai.use require 'chai-as-promised'
hanzo = require '../../'
before ->
global.sleep = (time) ->
new Promise (resolve, reject) ->
setTimeout ->
resolve()
, time
global.api = new hanzo.Api
debug: true
endpoint: 'https://api-staging.hanzo.io'
... |
[
{
"context": "ed attempts, just return the user\n # thanks De Morgan\n unless user.loginAttempts || user.lockUnt",
"end": 2908,
"score": 0.9744172096252441,
"start": 2899,
"tag": "NAME",
"value": "De Morgan"
}
] | server/models/user.coffee | switz/backbone-express-coffee-mongo-boilerplate | 1 | mongoose = require("mongoose")
Schema = mongoose.Schema
bcrypt = require('bcrypt')
SALT_WORK_FACTOR = 10
MAX_LOGIN_ATTEMPTS = 5
LOCK_TIME = 2 * 60 * 60 * 1000
EMAIL_REGEX = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0... | 19301 | mongoose = require("mongoose")
Schema = mongoose.Schema
bcrypt = require('bcrypt')
SALT_WORK_FACTOR = 10
MAX_LOGIN_ATTEMPTS = 5
LOCK_TIME = 2 * 60 * 60 * 1000
EMAIL_REGEX = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0... | true | mongoose = require("mongoose")
Schema = mongoose.Schema
bcrypt = require('bcrypt')
SALT_WORK_FACTOR = 10
MAX_LOGIN_ATTEMPTS = 5
LOCK_TIME = 2 * 60 * 60 * 1000
EMAIL_REGEX = /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0... |
[
{
"context": "), { path: '/' }\n\n initSidebarTab: ->\n key = \"dashboard_sidebar_filter\"\n\n # store selection in cookie\n $('.dash-si",
"end": 1300,
"score": 0.9907568693161011,
"start": 1276,
"tag": "KEY",
"value": "dashboard_sidebar_filter"
}
] | app/assets/javascripts/dashboard.js.coffee | allanim/gitlabhq | 1 | class Dashboard
constructor: ->
Pager.init 20, true
@initSidebarTab()
$(".event_filter_link").bind "click", (event) =>
event.preventDefault()
@toggleFilter($(event.currentTarget))
@reloadActivities()
$(".dash-filter").keyup ->
terms = $(this).val()
uiBox = $(this).paren... | 70770 | class Dashboard
constructor: ->
Pager.init 20, true
@initSidebarTab()
$(".event_filter_link").bind "click", (event) =>
event.preventDefault()
@toggleFilter($(event.currentTarget))
@reloadActivities()
$(".dash-filter").keyup ->
terms = $(this).val()
uiBox = $(this).paren... | true | class Dashboard
constructor: ->
Pager.init 20, true
@initSidebarTab()
$(".event_filter_link").bind "click", (event) =>
event.preventDefault()
@toggleFilter($(event.currentTarget))
@reloadActivities()
$(".dash-filter").keyup ->
terms = $(this).val()
uiBox = $(this).paren... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999107122421265,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/scoreboard-mod.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { img, div } from 'react-dom-factories'
el = React.createElement
export class Sc... | 50418 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { img, div } from 'react-dom-factories'
el = React.createElement
export class Scoreboar... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { img, div } from 'react-dom-factories'
el = React.createElement
export ... |
[
{
"context": " = require \"ical\"\nfs = require \"fs\"\n\nletters =\n \"Gelbe(r) Tonne/Sack\": \"G\"\n \"Bioabfall-Tonne\": \"B\"\n \"P",
"end": 59,
"score": 0.7590640187263489,
"start": 54,
"tag": "NAME",
"value": "Gelbe"
},
{
"context": "re \"ical\"\nfs = require \"fs\"\n\nlette... | lib/awigo.coffee | naltatis/kindle-display | 16 | ical = require "ical"
fs = require "fs"
letters =
"Gelbe(r) Tonne/Sack": "G"
"Bioabfall-Tonne": "B"
"Papier-Tonne": "P"
"Restmuelltonne": "R"
names =
"Gelbe(r) Tonne/Sack": "Gelbe Tonne"
"Bioabfall-Tonne": "Biomüll"
"Papier-Tonne": "Papiermüll"
"Restmuelltonne": "Restmüll"
class Awigo
constructor: ... | 137493 | ical = require "ical"
fs = require "fs"
letters =
"<NAME>(r) <NAME>/<NAME>": "G"
"Bioabfall-Tonne": "B"
"Papier-Tonne": "P"
"Restmuelltonne": "R"
names =
"<NAME>(<NAME>": "<NAME>"
"<NAME>": "<NAME>"
"<NAME>-<NAME>": "<NAME>"
"Restmuelltonne": "Rest<NAME>"
class Awigo
constructor: (conf) ->
@res... | true | ical = require "ical"
fs = require "fs"
letters =
"PI:NAME:<NAME>END_PI(r) PI:NAME:<NAME>END_PI/PI:NAME:<NAME>END_PI": "G"
"Bioabfall-Tonne": "B"
"Papier-Tonne": "P"
"Restmuelltonne": "R"
names =
"PI:NAME:<NAME>END_PI(PI:NAME:<NAME>END_PI": "PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI": "PI:NAME:<NAME>END... |
[
{
"context": " [\n# {\n# name: 'first',\n# amount: '$0.00'\n# ",
"end": 100,
"score": 0.9996798038482666,
"start": 95,
"tag": "NAME",
"value": "first"
},
{
"context": " },\n# {\n# name: 'sec... | lib/mixins/table.coffee | trexglobal/pdfkit | 0 | # Add table support
#
# doc.table(20, 20,
# [
# {
# name: 'first',
# amount: '$0.00'
# },
# {
# name: 'second',
# amount: '$0.00'
# }
# ],
# {
# name: {
# lab... | 82719 | # Add table support
#
# doc.table(20, 20,
# [
# {
# name: '<NAME>',
# amount: '$0.00'
# },
# {
# name: '<NAME>',
# amount: '$0.00'
# }
# ],
# {
# name: {
# la... | true | # Add table support
#
# doc.table(20, 20,
# [
# {
# name: 'PI:NAME:<NAME>END_PI',
# amount: '$0.00'
# },
# {
# name: 'PI:NAME:<NAME>END_PI',
# amount: '$0.00'
# }
# ],
# {
# ... |
[
{
"context": "ame : jQuery DragDrop Draggable\n# Author : Steven Luscher, https://twitter.com/steveluscher\n# Version : 0",
"end": 70,
"score": 0.9999114274978638,
"start": 56,
"tag": "NAME",
"value": "Steven Luscher"
},
{
"context": "# Author : Steven Luscher, https://t... | src/draggable.coffee | steveluscher/jquery.dragdrop | 3 | #
# Name : jQuery DragDrop Draggable
# Author : Steven Luscher, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.draggable extends jQuery.dragdrop
vendors = ["ms", "moz... | 56162 | #
# Name : jQuery DragDrop Draggable
# Author : <NAME>, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.draggable extends jQuery.dragdrop
vendors = ["ms", "moz", "webk... | true | #
# Name : jQuery DragDrop Draggable
# Author : PI:NAME:<NAME>END_PI, https://twitter.com/steveluscher
# Version : 0.0.1-dev
# Repo : https://github.com/steveluscher/jquery.dragdrop
# Donations : http://lakefieldmusic.com
#
jQuery ->
class jQuery.draggable extends jQuery.dragdrop
vendors = ["ms"... |
[
{
"context": " msg.channel?.send [\n \"Hey #{reply}, I’m Haruka.\"\n \"Hi #{reply}, I’m Haruka.\"\n \"Hel",
"end": 636,
"score": 0.9667209386825562,
"start": 630,
"tag": "NAME",
"value": "Haruka"
},
{
"context": "y #{reply}, I’m Haruka.\"\n \"Hi #{reply... | src/specials/dad.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! Special: Dad
imRegex = /^(?:i(?:['’]|(?:\s+a))?m)\s+/i
handler = (msg, Haruka) ->
# Matches "im ", "i'm ", "i’m ", and "i am "
# Case insensitive, whitespace required.
# Break if regex doesn't match.
if (not imRegex.test(msg.content)) or msg.author.bot ... | 39374 | #! ========================================
#! Special: Dad
imRegex = /^(?:i(?:['’]|(?:\s+a))?m)\s+/i
handler = (msg, Haruka) ->
# Matches "im ", "i'm ", "i’m ", and "i am "
# Case insensitive, whitespace required.
# Break if regex doesn't match.
if (not imRegex.test(msg.content)) or msg.author.bot ... | true | #! ========================================
#! Special: Dad
imRegex = /^(?:i(?:['’]|(?:\s+a))?m)\s+/i
handler = (msg, Haruka) ->
# Matches "im ", "i'm ", "i’m ", and "i am "
# Case insensitive, whitespace required.
# Break if regex doesn't match.
if (not imRegex.test(msg.content)) or msg.author.bot ... |
[
{
"context": "l_needed_talk_power: 99999\n channel_password: \"youcantjointhisskrub\"\n \"Bounce\":\n channel_name: \"Bounce\"\n chann",
"end": 3497,
"score": 0.9990341663360596,
"start": 3477,
"tag": "PASSWORD",
"value": "youcantjointhisskrub"
},
{
"context": "r\"\n cl.... | index.coffee | paralin/WebLeagueTS | 2 | mongoose = require "mongoose"
ActiveMatch = require "./model/activeMatch"
User = require "./model/user"
League = require "./model/league"
TeamSpeakClient = require "node-teamspeak"
util = require "util"
_ = require "lodash"
typeIsArray = ( value ) ->
value and
typeof value is 'object' and
... | 28619 | mongoose = require "mongoose"
ActiveMatch = require "./model/activeMatch"
User = require "./model/user"
League = require "./model/league"
TeamSpeakClient = require "node-teamspeak"
util = require "util"
_ = require "lodash"
typeIsArray = ( value ) ->
value and
typeof value is 'object' and
... | true | mongoose = require "mongoose"
ActiveMatch = require "./model/activeMatch"
User = require "./model/user"
League = require "./model/league"
TeamSpeakClient = require "node-teamspeak"
util = require "util"
_ = require "lodash"
typeIsArray = ( value ) ->
value and
typeof value is 'object' and
... |
[
{
"context": "ation?.annotations ? []\n annotation._key ?= Math.random()\n isPriorAnnotation = annotation isnt @pr",
"end": 1238,
"score": 0.9068441987037659,
"start": 1227,
"tag": "KEY",
"value": "Math.random"
},
{
"context": " parseInt(@props.frame)\n mar... | app/classifier/tasks/drawing/markings-renderer.cjsx | Crentist/Panoptes-frontend-spanish | 1 | React = require 'react'
drawingTools = require '../../drawing-tools'
module.exports = React.createClass
displayName: 'MarkingsRenderer'
getDefaultProps: ->
classification: null
annotation: null
workflow: null
scale: null
getInitialState: ->
selection: null
oldSetOfMarks: []
component... | 174355 | React = require 'react'
drawingTools = require '../../drawing-tools'
module.exports = React.createClass
displayName: 'MarkingsRenderer'
getDefaultProps: ->
classification: null
annotation: null
workflow: null
scale: null
getInitialState: ->
selection: null
oldSetOfMarks: []
component... | true | React = require 'react'
drawingTools = require '../../drawing-tools'
module.exports = React.createClass
displayName: 'MarkingsRenderer'
getDefaultProps: ->
classification: null
annotation: null
workflow: null
scale: null
getInitialState: ->
selection: null
oldSetOfMarks: []
component... |
[
{
"context": "enQuerying('project').respondWith [{\n Name: 'test Project'\n _ref: '/project/2'\n }]\n\n @_createApp",
"end": 2474,
"score": 0.7926523089408875,
"start": 2462,
"tag": "NAME",
"value": "test Project"
}
] | test/spec/portfoliohierarchy/PortfolioHierarchyAppSpec.coffee | RallyHackathon/app-catalog | 1 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... | 201818 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... |
[
{
"context": "ull\n\n beforeEach ->\n alice = {alice: 'alice'}\n bob = {bob: 'bob'}\n charlie = {c",
"end": 949,
"score": 0.5720887184143066,
"start": 944,
"tag": "NAME",
"value": "alice"
},
{
"context": " alice = {alice: 'alice'}\n bob = {bob: 'bo... | test/server/common/crudControllerFactory.coffee | valueflowquality/gi-util-update | 0 | path = require 'path'
sinon = require 'sinon'
assert = require 'assert'
assert = require('chai').assert
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'CrudControllerFactory', ->
... | 38742 | path = require 'path'
sinon = require 'sinon'
assert = require 'assert'
assert = require('chai').assert
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'CrudControllerFactory', ->
... | true | path = require 'path'
sinon = require 'sinon'
assert = require 'assert'
assert = require('chai').assert
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'CrudControllerFactory', ->
... |
[
{
"context": "ência', parentId:10}\n users:\n 1: {id:1, name:'Alice'}\n 2: {id:2, name:'Bob'}\n groups:\n 1: {id:",
"end": 749,
"score": 0.999841570854187,
"start": 744,
"tag": "NAME",
"value": "Alice"
},
{
"context": ":\n 1: {id:1, name:'Alice'}\n 2: {id:2, name:'Bo... | conf/fixtures.coffee | kruschid/angular-resource-manager | 0 | module.exports =
chapters:
1: {id:1, title:'Intrudução', parentId:0}
2: {id:2, title:'Pré requisitos', parentId:1}
3: {id:3, title:'Typescript', parentId:1}
4: {id:4, title:'Além do Javascript', parentId:1}
5: {id:5, title:'Código fonte', parentId:1}
6: {id:6, title:'TypeScript', parentId:0}
... | 127507 | module.exports =
chapters:
1: {id:1, title:'Intrudução', parentId:0}
2: {id:2, title:'Pré requisitos', parentId:1}
3: {id:3, title:'Typescript', parentId:1}
4: {id:4, title:'Além do Javascript', parentId:1}
5: {id:5, title:'Código fonte', parentId:1}
6: {id:6, title:'TypeScript', parentId:0}
... | true | module.exports =
chapters:
1: {id:1, title:'Intrudução', parentId:0}
2: {id:2, title:'Pré requisitos', parentId:1}
3: {id:3, title:'Typescript', parentId:1}
4: {id:4, title:'Além do Javascript', parentId:1}
5: {id:5, title:'Código fonte', parentId:1}
6: {id:6, title:'TypeScript', parentId:0}
... |
[
{
"context": "# @file checkSupport.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 64,
"score": 0.9997504353523254,
"start": 50,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | src/util/checkSupport.coffee | siviter-t/lampyridae.coffee | 4 | # @file checkSupport.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Whether the Browser or environment supports the canvas drawing api.
#
# @return [Bool] True if it does, fals... | 102200 | # @file checkSupport.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Whether the Browser or environment supports the canvas drawing api.
#
# @return [Bool] True if it does, false if it ... | true | # @file checkSupport.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Whether the Browser or environment supports the canvas drawing api.
#
# @return [Bool] True if it does... |
[
{
"context": "f male then '' else ' not'} a male\"\n\n t.run \"John\", true, (res) ->\n should.exist res\n ",
"end": 486,
"score": 0.9985101819038391,
"start": 482,
"tag": "NAME",
"value": "John"
},
{
"context": " should.exist res\n res.should.equal \"J... | test/Thread.coffee | wearefractal/thread | 6 | {Thread} = require '../'
should = require 'should'
require 'mocha'
describe 'Thread', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
task = -> console.log 'hi'
t = new Thread task
should.exist t.task
t.task.should.eql task
done()
describe 'run()', ->
i... | 185957 | {Thread} = require '../'
should = require 'should'
require 'mocha'
describe 'Thread', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
task = -> console.log 'hi'
t = new Thread task
should.exist t.task
t.task.should.eql task
done()
describe 'run()', ->
i... | true | {Thread} = require '../'
should = require 'should'
require 'mocha'
describe 'Thread', ->
describe 'constructor()', ->
it 'should create properly', (done) ->
task = -> console.log 'hi'
t = new Thread task
should.exist t.task
t.task.should.eql task
done()
describe 'run()', ->
i... |
[
{
"context": "rt [\n\t\t{ id: 1, date: Date.now(), teamA: { name: 'PHI', score: 0, shots: 0 }, teamB: { name: 'BOS', sco",
"end": 595,
"score": 0.8209953308105469,
"start": 592,
"tag": "NAME",
"value": "PHI"
},
{
"context": "ame: 'PHI', score: 0, shots: 0 }, teamB: { name: 'BOS', sco... | index.coffee | BS-Harou/hockey-backend | 0 | #
# MONGO
#
# MongoClient = require('mongodb').MongoClient
MongoClient = require('./dumb-mongo').MongoClient
assert = require 'assert'
url = 'mongodb://localhost:27017/myproject'
dumbUrl = './db.json'
global.mongodb = mongodb = null
MongoClient.connect dumbUrl, (err, db) ->
assert.equal null, err
console.log 'Con... | 178619 | #
# MONGO
#
# MongoClient = require('mongodb').MongoClient
MongoClient = require('./dumb-mongo').MongoClient
assert = require 'assert'
url = 'mongodb://localhost:27017/myproject'
dumbUrl = './db.json'
global.mongodb = mongodb = null
MongoClient.connect dumbUrl, (err, db) ->
assert.equal null, err
console.log 'Con... | true | #
# MONGO
#
# MongoClient = require('mongodb').MongoClient
MongoClient = require('./dumb-mongo').MongoClient
assert = require 'assert'
url = 'mongodb://localhost:27017/myproject'
dumbUrl = './db.json'
global.mongodb = mongodb = null
MongoClient.connect dumbUrl, (err, db) ->
assert.equal null, err
console.log 'Con... |
[
{
"context": "lue username\r\n modal.inputs.password.setValue '123'\r\n modal.buttons.submit.click()\r\n client.pa",
"end": 562,
"score": 0.9992790222167969,
"start": 559,
"tag": "PASSWORD",
"value": "123"
}
] | features/step_definitions/common.coffee | eribeiro9/CoLabs | 0 | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
removeAllUsers = -> Meteor.users.remove username: $in: ['test', 'test2', 'test3']
getAllUsers = -> Meteor.users.find().fetch()
module.exports = ->
@Given /^I am signed in as "(... | 10927 | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
removeAllUsers = -> Meteor.users.remove username: $in: ['test', 'test2', 'test3']
getAllUsers = -> Meteor.users.find().fetch()
module.exports = ->
@Given /^I am signed in as "(... | true | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
removeAllUsers = -> Meteor.users.remove username: $in: ['test', 'test2', 'test3']
getAllUsers = -> Meteor.users.find().fetch()
module.exports = ->
@Given /^I am signed in as "(... |
[
{
"context": "ady ->\n $(\"#submit\").click ->\n username = $(\"#myusername\").val()\n password = $(\"#mypassword\").val()\n ",
"end": 74,
"score": 0.9692689776420593,
"start": 64,
"tag": "USERNAME",
"value": "myusername"
},
{
"context": "rname = $(\"#myusername\").val()\n ... | assets/js/login.coffee | pribadi/facilityoperationsupport | 0 | $(document).ready ->
$("#submit").click ->
username = $("#myusername").val()
password = $("#mypassword").val()
if (username is "") or (password is "")
$("#message").html "<div class=\"alert alert-danger alert-dismissable\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"... | 150395 | $(document).ready ->
$("#submit").click ->
username = $("#myusername").val()
password = $("#<PASSWORD>").val()
if (username is "") or (password is "")
$("#message").html "<div class=\"alert alert-danger alert-dismissable\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"... | true | $(document).ready ->
$("#submit").click ->
username = $("#myusername").val()
password = $("#PI:PASSWORD:<PASSWORD>END_PI").val()
if (username is "") or (password is "")
$("#message").html "<div class=\"alert alert-danger alert-dismissable\"><button type=\"button\" class=\"close\" data-dismiss=\"aler... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9558313488960266,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | src/app.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other 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... | 52052 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other 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... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other 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 limi... |
[
{
"context": "/phpjs.org/functions/str_pad\r\n # + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n # + namespaced",
"end": 3221,
"score": 0.9998260140419006,
"start": 3202,
"tag": "NAME",
"value": "Kevin van Zonneveld"
},
{
"context": "tp://kevin.vanzonneveld... | atom/packages/xml-formatter/lib/xml-formatter.coffee | dandrzejewski/rcfiles | 3 | module.exports =
config:
xmlUtf8Header:
type: 'boolean'
default: true
useTab:
type: 'string'
default:'false'
enum: ['false','true']
numberCharIndent:
type: 'integer'
default: 2
indentCharacter:
type: 'string'
default: " "
endLineCh... | 184853 | module.exports =
config:
xmlUtf8Header:
type: 'boolean'
default: true
useTab:
type: 'string'
default:'false'
enum: ['false','true']
numberCharIndent:
type: 'integer'
default: 2
indentCharacter:
type: 'string'
default: " "
endLineCh... | true | module.exports =
config:
xmlUtf8Header:
type: 'boolean'
default: true
useTab:
type: 'string'
default:'false'
enum: ['false','true']
numberCharIndent:
type: 'integer'
default: 2
indentCharacter:
type: 'string'
default: " "
endLineCh... |
[
{
"context": "rUrl = @expandUrl receiverPath\n @storageKey = \"dropbox_js_#{@scope}_credentials\"\n\n # Saves token informatio",
"end": 3540,
"score": 0.7263168096542358,
"start": 3529,
"tag": "KEY",
"value": "dropbox_js_"
},
{
"context": "eceiverPath\n @storageKey = \"dropbox... | src/auth_driver/chrome.coffee | fatihacet/dropbox-js | 1 | DropboxChromeOnMessage = null
DropboxChromeSendMessage = null
if chrome?
# v2 manifest APIs.
if chrome.runtime
if chrome.runtime.onMessage
DropboxChromeOnMessage = chrome.runtime.onMessage
if chrome.runtime.sendMessage
DropboxChromeSendMessage = (m) -> chrome.runtime.sendMessage m
# v1 manif... | 119927 | DropboxChromeOnMessage = null
DropboxChromeSendMessage = null
if chrome?
# v2 manifest APIs.
if chrome.runtime
if chrome.runtime.onMessage
DropboxChromeOnMessage = chrome.runtime.onMessage
if chrome.runtime.sendMessage
DropboxChromeSendMessage = (m) -> chrome.runtime.sendMessage m
# v1 manif... | true | DropboxChromeOnMessage = null
DropboxChromeSendMessage = null
if chrome?
# v2 manifest APIs.
if chrome.runtime
if chrome.runtime.onMessage
DropboxChromeOnMessage = chrome.runtime.onMessage
if chrome.runtime.sendMessage
DropboxChromeSendMessage = (m) -> chrome.runtime.sendMessage m
# v1 manif... |
[
{
"context": "ersion 1.0.0\n@file Ajax.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 137,
"score": 0.9998912215232849,
"start": 120,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/Ajax.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Ajax.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free softw... | 137504 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Ajax.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under ... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Ajax.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free so... |
[
{
"context": "word', ->\n @view.$('[name=\"password\"]').val 'foobarbaz'\n @view.$('[name=\"password_confirmation\"]').",
"end": 996,
"score": 0.9994708895683289,
"start": 987,
"tag": "PASSWORD",
"value": "foobarbaz"
},
{
"context": " @view.$('[name=\"password_confirmatio... | src/desktop/apps/authentication/__tests__/reset_password.coffee | zephraph/force | 1 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ PasswordResetView } = require '../client/reset_password'
describe 'PasswordResetView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
Bac... | 63219 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ PasswordResetView } = require '../client/reset_password'
describe 'PasswordResetView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
Bac... | true | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ PasswordResetView } = require '../client/reset_password'
describe 'PasswordResetView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery')
Bac... |
[
{
"context": "asswords did not match'\ninvalidCurrentPassword = 'Old password did not match our records!'\nmin8Character = 'Passwords should be at least 8 ",
"end": 688,
"score": 0.9979425072669983,
"start": 650,
"tag": "PASSWORD",
"value": "Old password did not match our records"
},
{
... | client/test/lib/helpers/myaccounthelpers.coffee | lionheart1022/koding | 0 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector = 'input[name=email]'
... | 188398 | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector = 'input[name=email]'
... | true | utils = require '../utils/utils.js'
helpers = require '../helpers/helpers.js'
teamsHelpers = require '../helpers/teamshelpers.js'
myAccountLink = "#{helpers.getUrl(yes)}/Home/my-account"
nameSelector = 'input[name=firstName]'
lastnameSelector = 'input[name=lastName]'
emailSelector = 'input[name=email]'
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999103546142578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/posts.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img, span } from 'react-dom-factories'
import { ValueDisplay } from 'value-display'
import { ... | 27983 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img, span } from 'react-dom-factories'
import { ValueDisplay } from 'value-display'
import { Post } ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, h2, a, img, span } from 'react-dom-factories'
import { ValueDisplay } from 'value-display'
i... |
[
{
"context": "equest.async = async isnt false\n request.user = user\n request.pass = pass\n # openned facade xhr ",
"end": 10040,
"score": 0.963742196559906,
"start": 10036,
"tag": "USERNAME",
"value": "user"
},
{
"context": "t false\n request.user = user\n request.pas... | src/xhook.coffee | mnaoumov/xhook | 0 | #for compression
document = window.document
BEFORE = 'before'
AFTER = 'after'
READY_STATE = 'readyState'
ON = 'addEventListener'
OFF = 'removeEventListener'
FIRE = 'dispatchEvent'
XMLHTTP = 'XMLHttpRequest'
FormData = 'FormData'
UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']
COMMON_EVENTS = ['progress', 'abort', 'er... | 189205 | #for compression
document = window.document
BEFORE = 'before'
AFTER = 'after'
READY_STATE = 'readyState'
ON = 'addEventListener'
OFF = 'removeEventListener'
FIRE = 'dispatchEvent'
XMLHTTP = 'XMLHttpRequest'
FormData = 'FormData'
UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']
COMMON_EVENTS = ['progress', 'abort', 'er... | true | #for compression
document = window.document
BEFORE = 'before'
AFTER = 'after'
READY_STATE = 'readyState'
ON = 'addEventListener'
OFF = 'removeEventListener'
FIRE = 'dispatchEvent'
XMLHTTP = 'XMLHttpRequest'
FormData = 'FormData'
UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']
COMMON_EVENTS = ['progress', 'abort', 'er... |
[
{
"context": "eator: '561ca7b4ea8b1ab77d6a1efe'\n fileKey: '1107ff00571d2cf89eebbd0ddabbdeb38fb0'\n fileName: 'ic_favorite_task.png'\n fil",
"end": 371,
"score": 0.9997406005859375,
"start": 335,
"tag": "KEY",
"value": "1107ff00571d2cf89eebbd0ddabbdeb38fb0"
},
{
"conte... | talk-api2x/test/schemas/story.coffee | ikingye/talk-os | 3,084 | should = require 'should'
_ = require 'lodash'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, cleanup} = app
{
StoryModel
} = limbo.use 'talk'
describe 'Schemas#Story', ->
it 'should create a story with file', (done) ->
data =
creator: '561ca7b4ea8b1ab77d6a1efe'
... | 211860 | should = require 'should'
_ = require 'lodash'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, cleanup} = app
{
StoryModel
} = limbo.use 'talk'
describe 'Schemas#Story', ->
it 'should create a story with file', (done) ->
data =
creator: '561ca7b4ea8b1ab77d6a1efe'
... | true | should = require 'should'
_ = require 'lodash'
Promise = require 'bluebird'
app = require '../app'
limbo = require 'limbo'
{prepare, cleanup} = app
{
StoryModel
} = limbo.use 'talk'
describe 'Schemas#Story', ->
it 'should create a story with file', (done) ->
data =
creator: '561ca7b4ea8b1ab77d6a1efe'
... |
[
{
"context": "r useless escapes in strings and regexes\n# @author Onur Temizkan\n###\n\n'use strict'\n\n#-----------------------------",
"end": 92,
"score": 0.9998741149902344,
"start": 79,
"tag": "NAME",
"value": "Onur Temizkan"
},
{
"context": "ring.raw\"foo = /[\\\\/]/\"\n\n # ... | src/tests/rules/no-useless-escape.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Look for useless escapes in strings and regexes
# @author Onur Temizkan
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-disable ###
rule = re... | 42188 | ###*
# @fileoverview Look for useless escapes in strings and regexes
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-disable ###
rule = require '... | true | ###*
# @fileoverview Look for useless escapes in strings and regexes
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
### eslint-disable ###
ru... |
[
{
"context": "e(_pool)\r\n note.number = number\r\n note.key = _key[number]\r\n note.destinationY = -_height + _fall",
"end": 4422,
"score": 0.7705748081207275,
"start": 4418,
"tag": "KEY",
"value": "_key"
},
{
"context": "l)\r\n note.number = number\r\n note.key = _ke... | js/main.coffee | bokuweb/app.flavabeats | 7 | class @Game
_endTime = 90
_game = null
_status = "stop"
_score =
board : null
val : 0
_note = null
_loadCallback = null
_endCallback = null
_startCallback = null
_hasLoaded = false
_log =
key : []
timing : []
constructor : -> enchant()
start : (music, loadCall... | 160118 | class @Game
_endTime = 90
_game = null
_status = "stop"
_score =
board : null
val : 0
_note = null
_loadCallback = null
_endCallback = null
_startCallback = null
_hasLoaded = false
_log =
key : []
timing : []
constructor : -> enchant()
start : (music, loadCall... | true | class @Game
_endTime = 90
_game = null
_status = "stop"
_score =
board : null
val : 0
_note = null
_loadCallback = null
_endCallback = null
_startCallback = null
_hasLoaded = false
_log =
key : []
timing : []
constructor : -> enchant()
start : (music, loadCall... |
[
{
"context": ".account-picker .compose-from').trim(), 'DoveCot <me@cozytest.cc>', 'Account selected'\n else\n ",
"end": 1288,
"score": 0.9998947978019714,
"start": 1274,
"tag": "EMAIL",
"value": "me@cozytest.cc"
},
{
"context": ".account-picker .compose-from').tri... | client/tests/casper/full/draft.coffee | cozy-labs/emails | 58 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
initSettings = ->
casper.evaluate ->
settings =
"composeInHT... | 174622 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
initSettings = ->
casper.evaluate ->
settings =
"composeInHT... | true | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
initSettings = ->
casper.evaluate ->
settings =
"composeInHT... |
[
{
"context": "###################################\n#\n# Created by Markus\n#\n###############################################",
"end": 77,
"score": 0.9988744258880615,
"start": 71,
"tag": "NAME",
"value": "Markus"
}
] | server/methods/post.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Created by Markus
#
#######################################################
################################################################
Meteor.methods
add_post: (template_id, parent_id, group_name, index) ->
user = Meteor.user()
if not user
thro... | 155892 | #######################################################
#
# Created by <NAME>
#
#######################################################
################################################################
Meteor.methods
add_post: (template_id, parent_id, group_name, index) ->
user = Meteor.user()
if not user
thro... | true | #######################################################
#
# Created by PI:NAME:<NAME>END_PI
#
#######################################################
################################################################
Meteor.methods
add_post: (template_id, parent_id, group_name, index) ->
user = Meteor.user()
if no... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.9998282194137573,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
}
] | lib/templates/src/coffee/SummaryView.coffee | TEAMCHINA/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 15218 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
[
{
"context": "[0]).toEqual([\"a.pretty.ns.key1\", \"a.pretty.ns.key2\"])\n expect(obj.cb).toHaveBeenCalledWith(key1: ",
"end": 3101,
"score": 0.5639996528625488,
"start": 3100,
"tag": "KEY",
"value": "2"
}
] | app/spec/utils/storage/store_spec.coffee | romanornr/ledger-wallet-crw | 173 | describe "Store", ->
store = null
obj =
cb: ->
beforeEach ->
store = new ledger.storage.Store("a.pretty.ns")
it "transform key to namespaced key", ->
expect(store._to_ns_key("key")).toBe("a.pretty.ns.key")
it "transform keys to namespaced keys", ->
expect(store._to_ns_keys(["key1", "key... | 63648 | describe "Store", ->
store = null
obj =
cb: ->
beforeEach ->
store = new ledger.storage.Store("a.pretty.ns")
it "transform key to namespaced key", ->
expect(store._to_ns_key("key")).toBe("a.pretty.ns.key")
it "transform keys to namespaced keys", ->
expect(store._to_ns_keys(["key1", "key... | true | describe "Store", ->
store = null
obj =
cb: ->
beforeEach ->
store = new ledger.storage.Store("a.pretty.ns")
it "transform key to namespaced key", ->
expect(store._to_ns_key("key")).toBe("a.pretty.ns.key")
it "transform keys to namespaced keys", ->
expect(store._to_ns_keys(["key1", "key... |
[
{
"context": "ribe 'Infector', ->\n\n class Person\n name: -> 'FooBar'\n\n class PrefixInfector extends Infector\n inf",
"end": 152,
"score": 0.9380234479904175,
"start": 146,
"tag": "NAME",
"value": "FooBar"
}
] | test/helpers/infector_spec.coffee | kabisa/maji-extras | 0 | _ = require('underscore')
Infector = require('helpers/infector')
memo = require('memo-is')
describe 'Infector', ->
class Person
name: -> 'FooBar'
class PrefixInfector extends Infector
infectModel: (modelClass) ->
_.extend(modelClass::,
nameWithPrefix: ->
"Lt. #{@nameWithoutPrefix(... | 169343 | _ = require('underscore')
Infector = require('helpers/infector')
memo = require('memo-is')
describe 'Infector', ->
class Person
name: -> '<NAME>'
class PrefixInfector extends Infector
infectModel: (modelClass) ->
_.extend(modelClass::,
nameWithPrefix: ->
"Lt. #{@nameWithoutPrefix(... | true | _ = require('underscore')
Infector = require('helpers/infector')
memo = require('memo-is')
describe 'Infector', ->
class Person
name: -> 'PI:NAME:<NAME>END_PI'
class PrefixInfector extends Infector
infectModel: (modelClass) ->
_.extend(modelClass::,
nameWithPrefix: ->
"Lt. #{@name... |
[
{
"context": "es highscore to local storage', ->\n # key = 'test-score-keeper'\n # keeper.enableSaving key\n # keeper.a",
"end": 1742,
"score": 0.9928348660469055,
"start": 1725,
"tag": "KEY",
"value": "test-score-keeper"
}
] | test/score-keeper-spec.coffee | giladgray/rocket-engine | 1 | chai = require 'chai'
expect = chai.expect
ScoreKeeper = require '../src/utils/score-keeper.coffee'
describe 'ScoreKeeper', ->
keeper = null
beforeEach ->
keeper = new ScoreKeeper
it 'can be created', ->
expect(keeper).to.exist
it 'can be created with initial high score', ->
s = new ScoreKeeper(... | 130475 | chai = require 'chai'
expect = chai.expect
ScoreKeeper = require '../src/utils/score-keeper.coffee'
describe 'ScoreKeeper', ->
keeper = null
beforeEach ->
keeper = new ScoreKeeper
it 'can be created', ->
expect(keeper).to.exist
it 'can be created with initial high score', ->
s = new ScoreKeeper(... | true | chai = require 'chai'
expect = chai.expect
ScoreKeeper = require '../src/utils/score-keeper.coffee'
describe 'ScoreKeeper', ->
keeper = null
beforeEach ->
keeper = new ScoreKeeper
it 'can be created', ->
expect(keeper).to.exist
it 'can be created with initial high score', ->
s = new ScoreKeeper(... |
[
{
"context": "r: etFormatter },\n { id: 'participant', name: 'Participant', formatter: pFormatter, width: 200 },\n { id: ",
"end": 2154,
"score": 0.7266793251037598,
"start": 2143,
"tag": "NAME",
"value": "Participant"
}
] | app/assets/javascripts/views/event_search_results_grid.coffee | NUBIC/ncs_navigator_pancakes | 0 | #= require views/search_results_grid
# ----------------------------------------------------------------------------
# FORMATTERS AND SORTING
# ----------------------------------------------------------------------------
# Data collector formatter.
dcFormatter = (row, cell, value, columnDef, dataContext) ->
value.jo... | 92620 | #= require views/search_results_grid
# ----------------------------------------------------------------------------
# FORMATTERS AND SORTING
# ----------------------------------------------------------------------------
# Data collector formatter.
dcFormatter = (row, cell, value, columnDef, dataContext) ->
value.jo... | true | #= require views/search_results_grid
# ----------------------------------------------------------------------------
# FORMATTERS AND SORTING
# ----------------------------------------------------------------------------
# Data collector formatter.
dcFormatter = (row, cell, value, columnDef, dataContext) ->
value.jo... |
[
{
"context": "pe:\"ModifierSurviveDamageWatch\"\n\n\n\t@modifierName:\"Survive Damage Watch\"\n\t@description: \"Survive Damage\"",
"end": 230,
"score": 0.7235717177391052,
"start": 227,
"tag": "NAME",
"value": "Sur"
}
] | app/sdk/modifiers/modifierSurviveDamageWatch.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
DamageAction = require 'app/sdk/actions/damageAction'
class ModifierSurviveDamageWatch extends Modifier
type:"ModifierSurviveDamageWatch"
@type:"ModifierSurviveDamageWatch"
@modifierName:"Survive Damage Watch"
@description: "Survive Damage"
activeInHand: false
activeInDeck: fa... | 202975 | Modifier = require './modifier'
DamageAction = require 'app/sdk/actions/damageAction'
class ModifierSurviveDamageWatch extends Modifier
type:"ModifierSurviveDamageWatch"
@type:"ModifierSurviveDamageWatch"
@modifierName:"<NAME>vive Damage Watch"
@description: "Survive Damage"
activeInHand: false
activeInDeck:... | true | Modifier = require './modifier'
DamageAction = require 'app/sdk/actions/damageAction'
class ModifierSurviveDamageWatch extends Modifier
type:"ModifierSurviveDamageWatch"
@type:"ModifierSurviveDamageWatch"
@modifierName:"PI:NAME:<NAME>END_PIvive Damage Watch"
@description: "Survive Damage"
activeInHand: false
... |
[
{
"context": "en?\n config.headers.Authorization = \"Basic #{window.btoa(\"token:\" + $rootScope.user.token)}\"\n config or",
"end": 400,
"score": 0.836371898651123,
"start": 389,
"tag": "KEY",
"value": "window.btoa"
},
{
"context": "facebook.com/{{user.id}}/picture\"\n ... | src/diary/site/static/coffee/diary.app.coffee | hoest/online-dagboek | 1 | "use strict"
###
AngurlarJS App
###
@diary = angular.module "diary", ["ngRoute", "ngResource", "hc.commonmark"]
###
Authenticate interceptor
###
diary.factory "diaryAuthenticate", ["$q", "$location", "$rootScope", ($q, $location, $rootScope) ->
request: (config) ->
config.headers = config.headers or {}
if $... | 94380 | "use strict"
###
AngurlarJS App
###
@diary = angular.module "diary", ["ngRoute", "ngResource", "hc.commonmark"]
###
Authenticate interceptor
###
diary.factory "diaryAuthenticate", ["$q", "$location", "$rootScope", ($q, $location, $rootScope) ->
request: (config) ->
config.headers = config.headers or {}
if $... | true | "use strict"
###
AngurlarJS App
###
@diary = angular.module "diary", ["ngRoute", "ngResource", "hc.commonmark"]
###
Authenticate interceptor
###
diary.factory "diaryAuthenticate", ["$q", "$location", "$rootScope", ($q, $location, $rootScope) ->
request: (config) ->
config.headers = config.headers or {}
if $... |
[
{
"context": " command = new Command({\n project: '/home/fabian/.atom/packages/build-tools/spec/fixtures'\n n",
"end": 227,
"score": 0.9979881048202515,
"start": 221,
"tag": "USERNAME",
"value": "fabian"
},
{
"context": "/packages/build-tools/spec/fixtures'\n name: ... | spec/modifier-env-spec.coffee | fstiewitz/build-tools-cpp | 3 | Env = require '../lib/modifier/env'
Command = require '../lib/provider/command'
describe 'Command Modifier - Environment Variables', ->
command = null
beforeEach ->
command = new Command({
project: '/home/fabian/.atom/packages/build-tools/spec/fixtures'
name: 'Test'
command: 'echo Hello Worl... | 121545 | Env = require '../lib/modifier/env'
Command = require '../lib/provider/command'
describe 'Command Modifier - Environment Variables', ->
command = null
beforeEach ->
command = new Command({
project: '/home/fabian/.atom/packages/build-tools/spec/fixtures'
name: '<NAME>'
command: 'echo Hello Wo... | true | Env = require '../lib/modifier/env'
Command = require '../lib/provider/command'
describe 'Command Modifier - Environment Variables', ->
command = null
beforeEach ->
command = new Command({
project: '/home/fabian/.atom/packages/build-tools/spec/fixtures'
name: 'PI:NAME:<NAME>END_PI'
command: ... |
[
{
"context": "rt des Verteidigers um 1 (Minimum 0).\"\"\"\n \"Garven Dreis\":\n text: \"\"\"Wenn du einen Fokusmarker ",
"end": 7049,
"score": 0.9926570057868958,
"start": 7037,
"tag": "NAME",
"value": "Garven Dreis"
},
{
"context": "dich nicht zum Ziel bestimmen ka... | coffeescripts/cards-de.coffee | michigun/xwing | 0 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Deutsch'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Deutsch =
action:
"Barrel Roll": "Fassrolle"
"Boost": "Schub"
"Evade": "Ausweichen"... | 181305 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Deutsch'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Deutsch =
action:
"Barrel Roll": "Fassrolle"
"Boost": "Schub"
"Evade": "Ausweichen"... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Deutsch'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Deutsch =
action:
"Barrel Roll": "Fassrolle"
"Boost": "Schub"
"Evade": "Ausweichen"... |
[
{
"context": "set\", ->\n createUser\n slackUsername: 'bob'\n .then (@user)=>\n @user.newRecord().",
"end": 510,
"score": 0.9926880598068237,
"start": 507,
"tag": "USERNAME",
"value": "bob"
},
{
"context": " getUserByName: (userName)->\n id: \"someI... | test/models/user-tests.coffee | citizencode/swarmbot | 21 | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
{ p } = require 'lightsaber'
User = require '../../src/models/user'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'User', ->
describe 'newRecord', ->
it "returns true if slackUsername is NOT set", ->
createUs... | 136734 | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
{ p } = require 'lightsaber'
User = require '../../src/models/user'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'User', ->
describe 'newRecord', ->
it "returns true if slackUsername is NOT set", ->
createUs... | true | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
{ p } = require 'lightsaber'
User = require '../../src/models/user'
KeenioInfo = require '../../src/services/keenio-info.coffee'
describe 'User', ->
describe 'newRecord', ->
it "returns true if slackUsername is NOT set", ->
createUs... |
[
{
"context": "ss: (model) ->\n username = app.whoami.get \"username\"\n if username && username != \"\"\n ",
"end": 799,
"score": 0.9627928733825684,
"start": 791,
"tag": "USERNAME",
"value": "username"
},
{
"context": "dex.jade\"]\n template_data: ->\n ... | fmc/fmc-webui/src/main/webapp/app/controllers/signin_page.coffee | kpelykh/fuse | 1 | ###
Copyright 2010 Red Hat, Inc.
Red Hat licenses this file to you 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 ... | 20583 | ###
Copyright 2010 Red Hat, Inc.
Red Hat licenses this file to you under the Apache License, version
2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | true | ###
Copyright 2010 Red Hat, Inc.
Red Hat licenses this file to you 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 ... |
[
{
"context": ", streams[1], (s1, s2) ->\n {'name': s1, 'pass': s2}\n ).subscribe( (x) ->\n $('#login-button').pro",
"end": 408,
"score": 0.8383554220199585,
"start": 406,
"tag": "PASSWORD",
"value": "s2"
}
] | app/assets/javascripts/loginbutton.coffee | adwd/twitterlike | 0 | $ ->
$('#login-button').prop("disabled", true)
# ログインの名前とパスワードの入力イベントをそれぞれ入力文字数のストリームにする
streams = $.map(['#login-name', '#login-password'], (n, i) ->
Rx.Observable.fromEvent($(n), 'input').map( (x) ->
x.target.value.length
)
)
# 名前とパスワードのストリームを一つのオブジェクトのストリームにして
# ボタンのdisabledプロパティに反映
Rx.... | 175393 | $ ->
$('#login-button').prop("disabled", true)
# ログインの名前とパスワードの入力イベントをそれぞれ入力文字数のストリームにする
streams = $.map(['#login-name', '#login-password'], (n, i) ->
Rx.Observable.fromEvent($(n), 'input').map( (x) ->
x.target.value.length
)
)
# 名前とパスワードのストリームを一つのオブジェクトのストリームにして
# ボタンのdisabledプロパティに反映
Rx.... | true | $ ->
$('#login-button').prop("disabled", true)
# ログインの名前とパスワードの入力イベントをそれぞれ入力文字数のストリームにする
streams = $.map(['#login-name', '#login-password'], (n, i) ->
Rx.Observable.fromEvent($(n), 'input').map( (x) ->
x.target.value.length
)
)
# 名前とパスワードのストリームを一つのオブジェクトのストリームにして
# ボタンのdisabledプロパティに反映
Rx.... |
[
{
"context": "# contants\nanalyticsWriteKey = 'pDV1EgxAbco4gjPXpJzuOeDyYgtkrmmG'\n\n# imports\n_ = require 'underscore-plus'\n{allowU",
"end": 64,
"score": 0.9993293881416321,
"start": 32,
"tag": "KEY",
"value": "pDV1EgxAbco4gjPXpJzuOeDyYgtkrmmG"
},
{
"context": "because of [Unsafe-E... | lib/tracker.coffee | slavaGanzin/atom-sync-settings | 0 | # contants
analyticsWriteKey = 'pDV1EgxAbco4gjPXpJzuOeDyYgtkrmmG'
# imports
_ = require 'underscore-plus'
{allowUnsafeEval} = require 'loophole'
# Analytics require a special import because of [Unsafe-Eval error](https://github.com/Glavin001/atom-beautify/commit/fbc58a648d3ccd845548d556f3dd1e046075bf04)
Analytics = n... | 161063 | # contants
analyticsWriteKey = '<KEY>'
# imports
_ = require 'underscore-plus'
{allowUnsafeEval} = require 'loophole'
# Analytics require a special import because of [Unsafe-Eval error](https://github.com/Glavin001/atom-beautify/commit/fbc58a648d3ccd845548d556f3dd1e046075bf04)
Analytics = null
allowUnsafeEval -> Anal... | true | # contants
analyticsWriteKey = 'PI:KEY:<KEY>END_PI'
# imports
_ = require 'underscore-plus'
{allowUnsafeEval} = require 'loophole'
# Analytics require a special import because of [Unsafe-Eval error](https://github.com/Glavin001/atom-beautify/commit/fbc58a648d3ccd845548d556f3dd1e046075bf04)
Analytics = null
allowUnsaf... |
[
{
"context": "rapper around Node.js 'assert' module\n#\n# (C) 2011 Tristan Slominski\n#\nanode = require '../lib/anode'\nnodeassert = req",
"end": 95,
"score": 0.999571681022644,
"start": 78,
"tag": "NAME",
"value": "Tristan Slominski"
}
] | src/assert.coffee | tristanls/anodejs | 3 | #
# assert.coffee : anode wrapper around Node.js 'assert' module
#
# (C) 2011 Tristan Slominski
#
anode = require '../lib/anode'
nodeassert = require 'assert'
nodeutil = require 'util'
#
# helper function to make the assertion failures more meaningful by displaying which
# actor generated the failed assertion
#
proces... | 182498 | #
# assert.coffee : anode wrapper around Node.js 'assert' module
#
# (C) 2011 <NAME>
#
anode = require '../lib/anode'
nodeassert = require 'assert'
nodeutil = require 'util'
#
# helper function to make the assertion failures more meaningful by displaying which
# actor generated the failed assertion
#
processAssertionE... | true | #
# assert.coffee : anode wrapper around Node.js 'assert' module
#
# (C) 2011 PI:NAME:<NAME>END_PI
#
anode = require '../lib/anode'
nodeassert = require 'assert'
nodeutil = require 'util'
#
# helper function to make the assertion failures more meaningful by displaying which
# actor generated the failed assertion
#
pro... |
[
{
"context": "a: [\n id: 1\n age: 30\n name: \"Alf\"\n comment: null\n ,\n id: 2\n ",
"end": 571,
"score": 0.9990970492362976,
"start": 568,
"tag": "NAME",
"value": "Alf"
},
{
"context": "omment: null\n ,\n id: 2\n name: \... | test/mocha/mysql_object.coffee | alinex/node-database | 0 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
async = require 'async'
database = require '../../src/index'
util= require 'alinex-util'
describe "Mysql object", ->
Driver = require '../../src/driver/mysql'
object2sql = require '../../src/object2sql'
driver = new Driver 'mocha',
s... | 75824 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
async = require 'async'
database = require '../../src/index'
util= require 'alinex-util'
describe "Mysql object", ->
Driver = require '../../src/driver/mysql'
object2sql = require '../../src/object2sql'
driver = new Driver 'mocha',
s... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
async = require 'async'
database = require '../../src/index'
util= require 'alinex-util'
describe "Mysql object", ->
Driver = require '../../src/driver/mysql'
object2sql = require '../../src/object2sql'
driver = new Driver 'mocha',
s... |
[
{
"context": "# Hello! I am Paws! Come read about me, and find out how I work.\n#\n#",
"end": 18,
"score": 0.9943361282348633,
"start": 14,
"tag": "NAME",
"value": "Paws"
}
] | code/Paws/Source/Paws.coffee | mitchellurgero/illacceptanything | 1 | # Hello! I am Paws! Come read about me, and find out how I work.
#
# ,d88b.d88b,
# 88888888888
# `Y8888888Y'
# `Y888Y'
# `Y'
process.title = 'paws.js'
Paws = require './data.coffee'
Paws.utilities... | 111976 | # Hello! I am <NAME>! Come read about me, and find out how I work.
#
# ,d88b.d88b,
# 88888888888
# `Y8888888Y'
# `Y888Y'
# `Y'
process.title = 'paws.js'
Paws = require './data.coffee'
Paws.utiliti... | true | # Hello! I am PI:NAME:<NAME>END_PI! Come read about me, and find out how I work.
#
# ,d88b.d88b,
# 88888888888
# `Y8888888Y'
# `Y888Y'
# `Y'
process.title = 'paws.js'
Paws = require './data.coffee'... |
[
{
"context": "an be fed directly into [Jison](http://github.com/zaach/jison). These\n# are read by jison in the `parser",
"end": 434,
"score": 0.9989122152328491,
"start": 429,
"tag": "USERNAME",
"value": "zaach"
},
{
"context": "ndent\n @pair 'OUTDENT'\n @token 'OUTDE... | src/lexer.coffee | charlieflowers/coffee-script | 0 | # The CoffeeScript Lexer. Uses a series of token-matching regexes to attempt
# matches against the beginning of the source code. When a match is found,
# a token is produced, we consume the match, and start again. Tokens are in the
# form:
#
# [tag, value, locationData]
#
# where locationData is {first_line, first_... | 197179 | # The CoffeeScript Lexer. Uses a series of token-matching regexes to attempt
# matches against the beginning of the source code. When a match is found,
# a token is produced, we consume the match, and start again. Tokens are in the
# form:
#
# [tag, value, locationData]
#
# where locationData is {first_line, first_... | true | # The CoffeeScript Lexer. Uses a series of token-matching regexes to attempt
# matches against the beginning of the source code. When a match is found,
# a token is produced, we consume the match, and start again. Tokens are in the
# form:
#
# [tag, value, locationData]
#
# where locationData is {first_line, first_... |
[
{
"context": "ictionaryDirectory)).toBe true\n\n string = 'Kein Kine vermöchten möchtzn'\n\n expect(@fixture.checkS",
"end": 9623,
"score": 0.6165922284126282,
"start": 9616,
"tag": "NAME",
"value": "in Kine"
}
] | spec/spellchecker-spec.coffee | LaudateCorpus1/node-spellchecker | 3 | {Spellchecker} = require '../lib/spellchecker'
path = require 'path'
enUS = 'A robot is a mechanical or virtual artificial agent, usually an electronic machine'
deDE = 'Ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen.'
frFR = 'Les robots les plus évol... | 58770 | {Spellchecker} = require '../lib/spellchecker'
path = require 'path'
enUS = 'A robot is a mechanical or virtual artificial agent, usually an electronic machine'
deDE = 'Ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen.'
frFR = 'Les robots les plus évol... | true | {Spellchecker} = require '../lib/spellchecker'
path = require 'path'
enUS = 'A robot is a mechanical or virtual artificial agent, usually an electronic machine'
deDE = 'Ein Roboter ist eine technische Apparatur, die üblicherweise dazu dient, dem Menschen mechanische Arbeit abzunehmen.'
frFR = 'Les robots les plus évol... |
[
{
"context": "serif')\ntext.on 'click', ->\n text.html = 'This is Audrey Hepburn<br> in Funny Face'\n return\n# Animate borderRadiu",
"end": 1126,
"score": 0.9993821382522583,
"start": 1112,
"tag": "NAME",
"value": "Audrey Hepburn"
}
] | example_home_made.framer/app.coffee | bflaven/BlogArticlesExamples | 5 | # Welcome to Framer
### values ###
bgcolor = '#000000'
shadowcolor = '#FF0000'
### Use a device ###
device = new (Framer.DeviceComponent)
device.setupContext()
# Display only the device
# device.deviceType = "iphone-5c-pink";
# Display a hand with the device
device.deviceType = 'iphone-5c-pink-hand'
# Change the si... | 76688 | # Welcome to Framer
### values ###
bgcolor = '#000000'
shadowcolor = '#FF0000'
### Use a device ###
device = new (Framer.DeviceComponent)
device.setupContext()
# Display only the device
# device.deviceType = "iphone-5c-pink";
# Display a hand with the device
device.deviceType = 'iphone-5c-pink-hand'
# Change the si... | true | # Welcome to Framer
### values ###
bgcolor = '#000000'
shadowcolor = '#FF0000'
### Use a device ###
device = new (Framer.DeviceComponent)
device.setupContext()
# Display only the device
# device.deviceType = "iphone-5c-pink";
# Display a hand with the device
device.deviceType = 'iphone-5c-pink-hand'
# Change the si... |
[
{
"context": "one) ->\n scope.cred =\n username: 'bob@acme.com'\n password: 'pswd'\n mockHttpServi",
"end": 3762,
"score": 0.999927818775177,
"start": 3750,
"tag": "EMAIL",
"value": "bob@acme.com"
},
{
"context": " username: 'bob@acme.com'\n ... | test/unit/client/controllers/login.coffee | valueflowquality/gi-security-update | 0 | describe 'Login controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.util'
beforeEach angular.mock.module 'gi.security'
allSettingsResult = null
mockSettingService = null
mockAuthService = {}
mockFacebookService = {}
mockHttpService = {}
mockFilterService = n... | 117375 | describe 'Login controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.util'
beforeEach angular.mock.module 'gi.security'
allSettingsResult = null
mockSettingService = null
mockAuthService = {}
mockFacebookService = {}
mockHttpService = {}
mockFilterService = n... | true | describe 'Login controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.util'
beforeEach angular.mock.module 'gi.security'
allSettingsResult = null
mockSettingService = null
mockAuthService = {}
mockFacebookService = {}
mockHttpService = {}
mockFilterService = n... |
[
{
"context": "oard.RoadmapModel',\n id: 'Foo',\n name: \"bar\",\n plans: []\n\n column = Ext.create 'Rally",
"end": 1171,
"score": 0.9312586188316345,
"start": 1168,
"tag": "NAME",
"value": "bar"
}
] | test/spec/roadmapplanningboard/BacklogBoardColumnSpec.coffee | RallyHackathon/app-catalog | 1 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.roadmapplanningboard.BacklogBoardColumn'
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
]
describe 'Rally.apps.roadmapplanningboard.BacklogBoardColumn', ->
beforeEach ->
Rally.test.apps.roadmapplanningboard.helper.TestDependencyHe... | 41396 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.roadmapplanningboard.BacklogBoardColumn'
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
]
describe 'Rally.apps.roadmapplanningboard.BacklogBoardColumn', ->
beforeEach ->
Rally.test.apps.roadmapplanningboard.helper.TestDependencyHe... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.apps.roadmapplanningboard.BacklogBoardColumn'
'Rally.test.apps.roadmapplanningboard.helper.TestDependencyHelper'
]
describe 'Rally.apps.roadmapplanningboard.BacklogBoardColumn', ->
beforeEach ->
Rally.test.apps.roadmapplanningboard.helper.TestDependencyHe... |
[
{
"context": "# Author: maartyl\n\n# I will need:\n# @inject : info about what it re",
"end": 17,
"score": 0.9997296333312988,
"start": 10,
"tag": "USERNAME",
"value": "maartyl"
},
{
"context": " systems goes through all objects and asks:\n# Hey, mate, are you an inject? and if so, i... | src/subsystems.coffee | Maartyl/subsystems-js | 0 | # Author: maartyl
# I will need:
# @inject : info about what it requires (nothing more)
# @system : provides :start which toposorts and starts all subsystems
# @start function :: System -> It'sAPI (generally map of started subsystems)
#
#
# solve problem of defining deps on this system
# HAS TO BE EXPLICIT ^
#
# and c... | 220725 | # Author: maartyl
# I will need:
# @inject : info about what it requires (nothing more)
# @system : provides :start which toposorts and starts all subsystems
# @start function :: System -> It'sAPI (generally map of started subsystems)
#
#
# solve problem of defining deps on this system
# HAS TO BE EXPLICIT ^
#
# and c... | true | # Author: maartyl
# I will need:
# @inject : info about what it requires (nothing more)
# @system : provides :start which toposorts and starts all subsystems
# @start function :: System -> It'sAPI (generally map of started subsystems)
#
#
# solve problem of defining deps on this system
# HAS TO BE EXPLICIT ^
#
# and c... |
[
{
"context": "xec()\n\n user = new User(\n email : \"user@user.com\"\n firstName: \"Full Name\"\n lastName ",
"end": 666,
"score": 0.9999041557312012,
"start": 653,
"tag": "EMAIL",
"value": "user@user.com"
},
{
"context": " lastName : \"Last Name\"\... | test/deal/api.coffee | gertu/gertu | 1 | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
passportStub = require "passport-stub"
Deal = mongoose.model "Deal"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
passportStub.install app
server = req... | 211179 | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
passportStub = require "passport-stub"
Deal = mongoose.model "Deal"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
passportStub.install app
server = req... | true | should = require "should"
app = require "../../server"
mongoose = require "mongoose"
request = require "supertest"
passportStub = require "passport-stub"
Deal = mongoose.model "Deal"
User = mongoose.model "User"
Shop = mongoose.model "Shop"
passportStub.install app
server = req... |
[
{
"context": " test.describeProperty Knight, 'title', {title: 'Sir'}, setter: false\n test.describeProperty Knight",
"end": 1815,
"score": 0.997093915939331,
"start": 1812,
"tag": "NAME",
"value": "Sir"
}
] | coffee/test/util/test.spec.coffee | athenalabs/athena-lib-js | 1 | goog.provide 'athena.lib.util.specs.test'
goog.require 'athena.lib.util.test'
goog.require 'athena.lib.FormView'
describe 'athena.lib.util.test', ->
test = athena.lib.util.test
it 'should be part of athena.lib.util', ->
expect(test).toBeDefined()
it 'should be an object', ->
expect(_.isObject util).to... | 18900 | goog.provide 'athena.lib.util.specs.test'
goog.require 'athena.lib.util.test'
goog.require 'athena.lib.FormView'
describe 'athena.lib.util.test', ->
test = athena.lib.util.test
it 'should be part of athena.lib.util', ->
expect(test).toBeDefined()
it 'should be an object', ->
expect(_.isObject util).to... | true | goog.provide 'athena.lib.util.specs.test'
goog.require 'athena.lib.util.test'
goog.require 'athena.lib.FormView'
describe 'athena.lib.util.test', ->
test = athena.lib.util.test
it 'should be part of athena.lib.util', ->
expect(test).toBeDefined()
it 'should be an object', ->
expect(_.isObject util).to... |
[
{
"context": "###\nCopyright © 201{5,6} Jess Austin <jess.austin@gmail.com>\nReleased under MIT Licens",
"end": 36,
"score": 0.9997433423995972,
"start": 25,
"tag": "NAME",
"value": "Jess Austin"
},
{
"context": "###\nCopyright © 201{5,6} Jess Austin <jess.austin@gmail.com>\nReleased... | test.coffee | jessaustin/koa-signed-url | 2 | ###
Copyright © 201{5,6} Jess Austin <jess.austin@gmail.com>
Released under MIT License
###
{ createServer } = require 'http'
koa = require 'koa'
request = require 'co-request'
sleep = require 'co-sleep'
signed = require '.'
require('tape') 'Koa-Signed-URL Test', require('co-tape') (tape) ->
body = 'This is a test... | 138297 | ###
Copyright © 201{5,6} <NAME> <<EMAIL>>
Released under MIT License
###
{ createServer } = require 'http'
koa = require 'koa'
request = require 'co-request'
sleep = require 'co-sleep'
signed = require '.'
require('tape') 'Koa-Signed-URL Test', require('co-tape') (tape) ->
body = 'This is a test.'
port = 2999
... | true | ###
Copyright © 201{5,6} PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Released under MIT License
###
{ createServer } = require 'http'
koa = require 'koa'
request = require 'co-request'
sleep = require 'co-sleep'
signed = require '.'
require('tape') 'Koa-Signed-URL Test', require('co-tape') (tape) ->
body = 'This... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n Spinning a Pokestop - a gi",
"end": 61,
"score": 0.9998748898506165,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.spawnMasterball.coffee | BuloZB/pokemon-go-mitm-node | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
Spinning a Pokestop - a gift that keeps on giving
Be aware: you can see it, you can touch it - you won't own it :)
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081
.addResponseHandler "For... | 217179 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
Spinning a Pokestop - a gift that keeps on giving
Be aware: you can see it, you can touch it - you won't own it :)
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081
.addResponseHandler "FortSearch", (data) ->
da... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Spinning a Pokestop - a gift that keeps on giving
Be aware: you can see it, you can touch it - you won't own it :)
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081
.addResponseHandler... |
[
{
"context": "ey]\n # expand paths\n for key in ['output', 'config', 'contents', 'templates']\n if opt",
"end": 2756,
"score": 0.545798122882843,
"start": 2756,
"tag": "KEY",
"value": ""
},
{
"context": "hs\n for key in ['output', 'config', 'contents', 'template... | src/cli/common.coffee | rakyll/wintersmith | 1 |
fs = require 'fs'
path = require 'path'
async = require 'async'
{logger, readJSON} = require '../common'
exports.fileExists = fileExists = fs.exists or path.exists
exports.commonOptions = defaults =
config:
alias: 'c'
default: './config.json'
contents:
alias: 'i'
default: './contents'
templates... | 97148 |
fs = require 'fs'
path = require 'path'
async = require 'async'
{logger, readJSON} = require '../common'
exports.fileExists = fileExists = fs.exists or path.exists
exports.commonOptions = defaults =
config:
alias: 'c'
default: './config.json'
contents:
alias: 'i'
default: './contents'
templates... | true |
fs = require 'fs'
path = require 'path'
async = require 'async'
{logger, readJSON} = require '../common'
exports.fileExists = fileExists = fs.exists or path.exists
exports.commonOptions = defaults =
config:
alias: 'c'
default: './config.json'
contents:
alias: 'i'
default: './contents'
templates... |
[
{
"context": "f 40 plus the key in @_TOKENS\n ## e.g. 8b804dd8-7a88-4142-8b33-913a586d67b4----backend so that the following comes true\n ## @",
"end": 418,
"score": 0.9712027311325073,
"start": 371,
"tag": "KEY",
"value": "8b804dd8-7a88-4142-8b33-913a586d67b4----backend... | lib/auth/AuthContext.coffee | nero-networks/floyd | 0 |
##
## Basic Authenticating Context
##
## handles static, unencrypted PSKs.
## does not provide dynamic logins
##
module.exports =
class AuthContext extends floyd.Context
##
##
##
configure: (config)->
## a static token has to be of the length ... | 80780 |
##
## Basic Authenticating Context
##
## handles static, unencrypted PSKs.
## does not provide dynamic logins
##
module.exports =
class AuthContext extends floyd.Context
##
##
##
configure: (config)->
## a static token has to be of the length ... | true |
##
## Basic Authenticating Context
##
## handles static, unencrypted PSKs.
## does not provide dynamic logins
##
module.exports =
class AuthContext extends floyd.Context
##
##
##
configure: (config)->
## a static token has to be of the length ... |
[
{
"context": "\t\t\t\t\temail: credentials.username,\n\t\t\t\t\tpassword: 'NOT-THE-CORRECT-PASSWORD'\n\n\t\t\t\tm.chai.expect(promise).to.be.rejectedWith('",
"end": 1160,
"score": 0.9991521239280701,
"start": 1136,
"tag": "PASSWORD",
"value": "NOT-THE-CORRECT-PASSWORD"
},
{
"context"... | tests/integration/auth.spec.coffee | josecoelho/balena-sdk | 0 | m = require('mochainon')
{ balena, sdkOpts, credentials, givenLoggedInUser, givenLoggedInUserWithApiKey } = require('./setup')
describe 'SDK authentication', ->
describe 'when not logged in', ->
beforeEach ->
balena.auth.logout()
describe 'balena.auth.isLoggedIn()', ->
it 'should eventually be false', ... | 35385 | m = require('mochainon')
{ balena, sdkOpts, credentials, givenLoggedInUser, givenLoggedInUserWithApiKey } = require('./setup')
describe 'SDK authentication', ->
describe 'when not logged in', ->
beforeEach ->
balena.auth.logout()
describe 'balena.auth.isLoggedIn()', ->
it 'should eventually be false', ... | true | m = require('mochainon')
{ balena, sdkOpts, credentials, givenLoggedInUser, givenLoggedInUserWithApiKey } = require('./setup')
describe 'SDK authentication', ->
describe 'when not logged in', ->
beforeEach ->
balena.auth.logout()
describe 'balena.auth.isLoggedIn()', ->
it 'should eventually be false', ... |
[
{
"context": "t rpc response\", ->\n @Wallet.create 'test', 'password'\n @deferred.resolve {result: true}\n @ro",
"end": 362,
"score": 0.5131493210792542,
"start": 354,
"tag": "PASSWORD",
"value": "password"
}
] | spec/services/wallet_spec.coffee | AlexChien/web_wallet | 0 | describe "service: Wallet", ->
beforeEach -> module("app")
beforeEach inject ($q, $rootScope, @Wallet, RpcService) ->
@rootScope = $rootScope
@deferred = $q.defer()
@rpc = spyOn(RpcService, 'request').andReturn(@deferred.promise)
describe "#create", ->
it "should process correct rpc response",... | 141875 | describe "service: Wallet", ->
beforeEach -> module("app")
beforeEach inject ($q, $rootScope, @Wallet, RpcService) ->
@rootScope = $rootScope
@deferred = $q.defer()
@rpc = spyOn(RpcService, 'request').andReturn(@deferred.promise)
describe "#create", ->
it "should process correct rpc response",... | true | describe "service: Wallet", ->
beforeEach -> module("app")
beforeEach inject ($q, $rootScope, @Wallet, RpcService) ->
@rootScope = $rootScope
@deferred = $q.defer()
@rpc = spyOn(RpcService, 'request').andReturn(@deferred.promise)
describe "#create", ->
it "should process correct rpc response",... |
[
{
"context": "es = $('.js-like').like {\n csrfToken: \"foobar\",\n likeText: \"foo like ({count})\",\n ",
"end": 586,
"score": 0.9750228524208069,
"start": 580,
"tag": "KEY",
"value": "foobar"
}
] | spirit/core/static/spirit/scripts/test/suites/like-spec.coffee | StepanBakshayev/Spirit | 1 | describe "like plugin tests", ->
likes = null
like = null
Like = null
post = null
data = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'like.html'
post = spyOn $, 'post'
post.and.callFake ... | 127814 | describe "like plugin tests", ->
likes = null
like = null
Like = null
post = null
data = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'like.html'
post = spyOn $, 'post'
post.and.callFake ... | true | describe "like plugin tests", ->
likes = null
like = null
Like = null
post = null
data = null
beforeEach ->
fixtures = do jasmine.getFixtures
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures 'like.html'
post = spyOn $, 'post'
post.and.callFake ... |
[
{
"context": "ust a heavily modified version of hubot-factoid by therealklanni\n# Supports history (in case you need to",
"end": 147,
"score": 0.8991093039512634,
"start": 142,
"tag": "USERNAME",
"value": "there"
},
{
"context": "heavily modified version of hubot-factoid by thereal... | src/terminator-core.coffee | Gavitron/hubot-terminator | 0 | # Description:
# Am implementation of a glossary capability for your hubot.
# really just a heavily modified version of hubot-factoid by therealklanni
# Supports history (in case you need to revert a change), as
# well as popularity, aliases, searches, and multiline!
#
# Dependencies:
# None
#
# Commands:
# ... | 151204 | # Description:
# Am implementation of a glossary capability for your hubot.
# really just a heavily modified version of hubot-factoid by there<NAME>
# Supports history (in case you need to revert a change), as
# well as popularity, aliases, searches, and multiline!
#
# Dependencies:
# None
#
# Commands:
# ... | true | # Description:
# Am implementation of a glossary capability for your hubot.
# really just a heavily modified version of hubot-factoid by therePI:NAME:<NAME>END_PI
# Supports history (in case you need to revert a change), as
# well as popularity, aliases, searches, and multiline!
#
# Dependencies:
# None
#
# ... |
[
{
"context": "ut Me</h3>\n <div>\n <p>\n Hello, my name is Leonardo. I'd like it very much if we\n got to know ea",
"end": 120,
"score": 0.9998292326927185,
"start": 112,
"tag": "NAME",
"value": "Leonardo"
},
{
"context": "I have the utmost respect and\n admiration... | programs/about-me/src/html-ui.coffee | lbv/ka-cs-programs | 2 | htmlUI = """
<div id="Frame">
<div id="Accordion">
<h3>About Me</h3>
<div>
<p>
Hello, my name is Leonardo. I'd like it very much if we
got to know each other a little better, so here's a few
things that may help you get a better picture of who I
am.
</p>
<p>
I enjoy learni... | 219143 | htmlUI = """
<div id="Frame">
<div id="Accordion">
<h3>About Me</h3>
<div>
<p>
Hello, my name is <NAME>. I'd like it very much if we
got to know each other a little better, so here's a few
things that may help you get a better picture of who I
am.
</p>
<p>
I enjoy learning... | true | htmlUI = """
<div id="Frame">
<div id="Accordion">
<h3>About Me</h3>
<div>
<p>
Hello, my name is PI:NAME:<NAME>END_PI. I'd like it very much if we
got to know each other a little better, so here's a few
things that may help you get a better picture of who I
am.
</p>
<p>
I ... |
[
{
"context": "nfiguration'\n dialog.positiveLocalizableKey = 'common.no'\n dialog.negativeLocalizableKey = 'common.yes'",
"end": 1275,
"score": 0.9524868130683899,
"start": 1266,
"tag": "KEY",
"value": "common.no"
},
{
"context": " 'common.no'\n dialog.negativeLocalizableKey... | app/src/controllers/onboarding/onboarding_view_controller.coffee | romanornr/ledger-wallet-crw | 173 | class @OnboardingViewController extends ledger.common.ViewController
view:
continueButton: '#continue_button'
navigation:
continueUrl: undefined
bumpsStepCount: true
onAfterRender: ->
super
do @unbindWindow
do @bindWindow
navigationBackParams: ->
undefined
navigationContinueParam... | 49609 | class @OnboardingViewController extends ledger.common.ViewController
view:
continueButton: '#continue_button'
navigation:
continueUrl: undefined
bumpsStepCount: true
onAfterRender: ->
super
do @unbindWindow
do @bindWindow
navigationBackParams: ->
undefined
navigationContinueParam... | true | class @OnboardingViewController extends ledger.common.ViewController
view:
continueButton: '#continue_button'
navigation:
continueUrl: undefined
bumpsStepCount: true
onAfterRender: ->
super
do @unbindWindow
do @bindWindow
navigationBackParams: ->
undefined
navigationContinueParam... |
[
{
"context": "goodApiKey = testApiKey\nbadApiKey = \"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\"\n\nrecorderState = (recorder) -> [\n recorder.queu",
"end": 74,
"score": 0.9995381236076355,
"start": 38,
"tag": "KEY",
"value": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
] | src/test/recorder-spec.coffee | plyfe/myna-js | 2 | goodApiKey = testApiKey
badApiKey = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
recorderState = (recorder) -> [
recorder.queuedEvents().length, # the number of events waiting to be sent by the next call to record()
recorder.semaphore, # the number of record() methods that are currently running
recorder.w... | 25630 | goodApiKey = testApiKey
badApiKey = "<KEY>"
recorderState = (recorder) -> [
recorder.queuedEvents().length, # the number of events waiting to be sent by the next call to record()
recorder.semaphore, # the number of record() methods that are currently running
recorder.waiting.length # the num... | true | goodApiKey = testApiKey
badApiKey = "PI:KEY:<KEY>END_PI"
recorderState = (recorder) -> [
recorder.queuedEvents().length, # the number of events waiting to be sent by the next call to record()
recorder.semaphore, # the number of record() methods that are currently running
recorder.waiting.length ... |
[
{
"context": "ace.test\", ->\n\t\tif @get(\"marketplace.test\")\n\t\t\t\"ca_5dvMyNcFzpYybDusO7oTdnS4dfErebB1\"\n\t\telse\n\t\t\t\"ca_5dvMP",
"end": 275,
"score": 0.6422910094261169,
"start": 272,
"tag": "KEY",
"value": "5dv"
},
{
"context": "\", ->\n\t\tif @get(\"marketplace.test\")\... | app/views/migrate-success.coffee | dk-dev/balanced-dashboard | 169 | `import Ember from "ember";`
View = Ember.View.extend
layoutName: 'clean-page-layout'
pageTitle: 'Migrate success'
marketplace: Ember.computed.reads("controller.model")
stripeApplicationId: Ember.computed "marketplace.test", ->
if @get("marketplace.test")
"ca_5dvMyNcFzpYybDusO7oTdnS4dfErebB1"
else
"ca_... | 205435 | `import Ember from "ember";`
View = Ember.View.extend
layoutName: 'clean-page-layout'
pageTitle: 'Migrate success'
marketplace: Ember.computed.reads("controller.model")
stripeApplicationId: Ember.computed "marketplace.test", ->
if @get("marketplace.test")
"ca_<KEY>MyNc<KEY>"
else
"<KEY>"
stripeAccoun... | true | `import Ember from "ember";`
View = Ember.View.extend
layoutName: 'clean-page-layout'
pageTitle: 'Migrate success'
marketplace: Ember.computed.reads("controller.model")
stripeApplicationId: Ember.computed "marketplace.test", ->
if @get("marketplace.test")
"ca_PI:KEY:<KEY>END_PIMyNcPI:KEY:<KEY>END_PI"
else... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.