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": "application/x-www-form-urlencoded'\n username: client.id\n password: client.secret\n data = {}\n i",
"end": 729,
"score": 0.9988269805908203,
"start": 720,
"tag": "USERNAME",
"value": "client.id"
},
{
"context": "encoded'\n username: client.id\n ... | index.coffee | twhtanghk/oauth2_client | 0 | _ = require 'lodash'
Promise = require 'bluebird'
needle = Promise.promisifyAll require 'needle'
module.exports =
# 1. get token for Resource Owner Password Credentials Grant
# url: authorization server url to get token
# client:
# id: registered client id
# secret: client secret
# user:
# ... | 21280 | _ = require 'lodash'
Promise = require 'bluebird'
needle = Promise.promisifyAll require 'needle'
module.exports =
# 1. get token for Resource Owner Password Credentials Grant
# url: authorization server url to get token
# client:
# id: registered client id
# secret: client secret
# user:
# ... | true | _ = require 'lodash'
Promise = require 'bluebird'
needle = Promise.promisifyAll require 'needle'
module.exports =
# 1. get token for Resource Owner Password Credentials Grant
# url: authorization server url to get token
# client:
# id: registered client id
# secret: client secret
# user:
# ... |
[
{
"context": "config.user || \"default\"\n CargoOptions.password = config.password if typeof(config.password) is \"string\"\n ",
"end": 1104,
"score": 0.5977954864501953,
"start": 1098,
"tag": "PASSWORD",
"value": "config"
}
] | src/index.coffee | yi/node-clickhouse-cargo | 6 |
assert = require "assert"
path = require "path"
os = require "os"
fs = require "fs"
http = require ('http')
https = require('https')
cluster = require('cluster')
{ cargoOptionToHttpOption } = require "./utils"
#{eachSeries} = require "async"
CLUSTER_WORKER_ID = if cluster.isMaster then "nocluster" else cluster.worker... | 190940 |
assert = require "assert"
path = require "path"
os = require "os"
fs = require "fs"
http = require ('http')
https = require('https')
cluster = require('cluster')
{ cargoOptionToHttpOption } = require "./utils"
#{eachSeries} = require "async"
CLUSTER_WORKER_ID = if cluster.isMaster then "nocluster" else cluster.worker... | true |
assert = require "assert"
path = require "path"
os = require "os"
fs = require "fs"
http = require ('http')
https = require('https')
cluster = require('cluster')
{ cargoOptionToHttpOption } = require "./utils"
#{eachSeries} = require "async"
CLUSTER_WORKER_ID = if cluster.isMaster then "nocluster" else cluster.worker... |
[
{
"context": "<command> <text> - Trigger webhook\n#\n# Author:\n# Tatsuhiko Miyagawa <miyagawa@bulknews.net>\n#\nQs = require 'qs'\ncrypt",
"end": 264,
"score": 0.999862790107727,
"start": 246,
"tag": "NAME",
"value": "Tatsuhiko Miyagawa"
},
{
"context": "igger webhook\n#\n# Author... | node_modules/hubot-webhook/src/scripts/webhook.coffee | Viper702/riley-reid | 0 | # Descriptipn
# Generic Webhook plugin for Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_WEBHOOK_COMMANDS
# HUBOT_WEBHOOK_URL
# HUBOT_WEBHOOK_PARAMS
#
# Commands:
# Hubot <command> <text> - Trigger webhook
#
# Author:
# Tatsuhiko Miyagawa <miyagawa@bulknews.net>
#
Qs = require 'qs'
crypto = re... | 195625 | # Descriptipn
# Generic Webhook plugin for Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_WEBHOOK_COMMANDS
# HUBOT_WEBHOOK_URL
# HUBOT_WEBHOOK_PARAMS
#
# Commands:
# Hubot <command> <text> - Trigger webhook
#
# Author:
# <NAME> <<EMAIL>>
#
Qs = require 'qs'
crypto = require 'crypto'
module.expo... | true | # Descriptipn
# Generic Webhook plugin for Hubot
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_WEBHOOK_COMMANDS
# HUBOT_WEBHOOK_URL
# HUBOT_WEBHOOK_PARAMS
#
# Commands:
# Hubot <command> <text> - Trigger webhook
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
Qs = require 'qs'
crypto =... |
[
{
"context": "time\n#\n# Notes:\n# These quotes are attributed to David Carradine, Bruce Lee\n# and Abraham Lincoln\n# Author:\n# ",
"end": 278,
"score": 0.9998971819877625,
"start": 263,
"tag": "NAME",
"value": "David Carradine"
},
{
"context": " These quotes are attributed ... | scripts/kung-fu-quotes.coffee | brucellino/fitsmbot | 0 | # Description:
# This script provides the basis for some deep sayings
#
# Dependencies:
# hubot-cron
#
# Configuration:
# none
#
# Commands:
# hubot just says these things of it's own accord from time to time
#
# Notes:
# These quotes are attributed to David Carradine, Bruce Lee
# and Abraham Lincoln
# Auth... | 2235 | # Description:
# This script provides the basis for some deep sayings
#
# Dependencies:
# hubot-cron
#
# Configuration:
# none
#
# Commands:
# hubot just says these things of it's own accord from time to time
#
# Notes:
# These quotes are attributed to <NAME>, <NAME>
# and <NAME>
# Author:
# @brucellino
{... | true | # Description:
# This script provides the basis for some deep sayings
#
# Dependencies:
# hubot-cron
#
# Configuration:
# none
#
# Commands:
# hubot just says these things of it's own accord from time to time
#
# Notes:
# These quotes are attributed to PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# and PI:NAM... |
[
{
"context": "5\n\nseveral = count to five\n\nme = be me Gentleman 'Pavel'\n\nmethod = me.speak\n\n# being polite will save you",
"end": 164,
"score": 0.9996739625930786,
"start": 159,
"tag": "NAME",
"value": "Pavel"
}
] | index.coffee | PavelVanecek/cup_o_tea | 0 | {
please
iterate
me
my
times
using
Gentleman
count
to
be
} = require './english'
five = 5
several = count to five
me = be me Gentleman 'Pavel'
method = me.speak
# being polite will save you a lot of time
# iterate my method several times using 'foo'
please iterate my method several times using... | 32824 | {
please
iterate
me
my
times
using
Gentleman
count
to
be
} = require './english'
five = 5
several = count to five
me = be me Gentleman '<NAME>'
method = me.speak
# being polite will save you a lot of time
# iterate my method several times using 'foo'
please iterate my method several times usin... | true | {
please
iterate
me
my
times
using
Gentleman
count
to
be
} = require './english'
five = 5
several = count to five
me = be me Gentleman 'PI:NAME:<NAME>END_PI'
method = me.speak
# being polite will save you a lot of time
# iterate my method several times using 'foo'
please iterate my method seve... |
[
{
"context": "=========================================\n# Autor: Esteve Lladó (Fundació Bit), 2016\n# ==========================",
"end": 65,
"score": 0.9998742341995239,
"start": 53,
"tag": "NAME",
"value": "Esteve Lladó"
}
] | source/coffee/dictionary_terms.coffee | Fundacio-Bit/twitter-intranet | 0 | # =========================================
# Autor: Esteve Lladó (Fundació Bit), 2016
# =========================================
(($) ->
g_entries = [] # var global con la lista de entradas que servirá para refrescar después de borrar una entrada
# Función para extraer las marcas de la REST y renderizar ... | 156221 | # =========================================
# Autor: <NAME> (Fundació Bit), 2016
# =========================================
(($) ->
g_entries = [] # var global con la lista de entradas que servirá para refrescar después de borrar una entrada
# Función para extraer las marcas de la REST y renderizar result... | true | # =========================================
# Autor: PI:NAME:<NAME>END_PI (Fundació Bit), 2016
# =========================================
(($) ->
g_entries = [] # var global con la lista de entradas que servirá para refrescar después de borrar una entrada
# Función para extraer las marcas de la REST y ren... |
[
{
"context": "l\n req.open method, url, true\n # FIXME <brian@wesabe.com>: 2008-03-11\n # <hack>\n # XULRunner 1.9",
"end": 2015,
"score": 0.9999262690544128,
"start": 1999,
"tag": "EMAIL",
"value": "brian@wesabe.com"
}
] | application/chrome/content/wesabe/io/xhr.coffee | wesabe/ssu | 28 | type = require 'lang/type'
func = require 'lang/func'
{sharedEventEmitter} = require 'events2'
{tryCatch, tryThrow} = require 'util/try'
xhr =
urlFor: (path, params) ->
return path unless params
url = path
qs = @encodeParams params
url += (if /\?/.test(url) then '&' else '?') + qs if qs.length
... | 77619 | type = require 'lang/type'
func = require 'lang/func'
{sharedEventEmitter} = require 'events2'
{tryCatch, tryThrow} = require 'util/try'
xhr =
urlFor: (path, params) ->
return path unless params
url = path
qs = @encodeParams params
url += (if /\?/.test(url) then '&' else '?') + qs if qs.length
... | true | type = require 'lang/type'
func = require 'lang/func'
{sharedEventEmitter} = require 'events2'
{tryCatch, tryThrow} = require 'util/try'
xhr =
urlFor: (path, params) ->
return path unless params
url = path
qs = @encodeParams params
url += (if /\?/.test(url) then '&' else '?') + qs if qs.length
... |
[
{
"context": "ll\n created: ->\n this.users.push\n name: \"Takuya Tejima\"\n comment: \"次回の連載に乞うご期待。\"\n this.users.pus",
"end": 192,
"score": 0.9998050332069397,
"start": 179,
"tag": "NAME",
"value": "Takuya Tejima"
},
{
"context": ": \"次回の連載に乞うご期待。\"\n this.user... | src/coffee/main.coffee | Takushi-U/vue-practice | 0 | $ = require 'jQuery'
Vue = require 'vue'
vm = new Vue
el: "#app"
data:
searchText: ""
users: []
selectedUser: null
created: ->
this.users.push
name: "Takuya Tejima"
comment: "次回の連載に乞うご期待。"
this.users.push
name: "Daisuke Shimizu"
comment: "こんにちは。"
this.users.push
... | 115692 | $ = require 'jQuery'
Vue = require 'vue'
vm = new Vue
el: "#app"
data:
searchText: ""
users: []
selectedUser: null
created: ->
this.users.push
name: "<NAME>"
comment: "次回の連載に乞うご期待。"
this.users.push
name: "<NAME>"
comment: "こんにちは。"
this.users.push
name: "<NAME... | true | $ = require 'jQuery'
Vue = require 'vue'
vm = new Vue
el: "#app"
data:
searchText: ""
users: []
selectedUser: null
created: ->
this.users.push
name: "PI:NAME:<NAME>END_PI"
comment: "次回の連載に乞うご期待。"
this.users.push
name: "PI:NAME:<NAME>END_PI"
comment: "こんにちは。"
this.u... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9944522380828857,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/progNoteDetailView.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# List component for historical entries (desc), concerning targets and data-revisions
Imm = require 'immutable'
_ = re... | 214029 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# List component for historical entries (desc), concerning targets and data-revisions
Imm = require 'immutable'
_ = re... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# List component for historical entries (desc), concerning targets and data-revisions
Imm = require 'imm... |
[
{
"context": "uest.get 'http://127.0.0.1:1337', callback).auth 'Sarah', 'testpass'\n",
"end": 988,
"score": 0.4318821132183075,
"start": 985,
"tag": "USERNAME",
"value": "Sar"
},
{
"context": "t.get 'http://127.0.0.1:1337', callback).auth 'Sarah', 'testpass'\n",
"end": 990,
"... | node_modules/http-auth/tests/test-skip-user.coffee | witalij777/WebBluetooth | 1 | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
# htpasswd verification is reused.
htpasswd = require 'htpasswd'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure aut... | 117412 | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
# htpasswd verification is reused.
htpasswd = require 'htpasswd'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure aut... | true | # Request library.
request = require 'request'
# HTTP library.
http = require 'http'
# Authentication library.
auth = require '../gensrc/http-auth'
# htpasswd verification is reused.
htpasswd = require 'htpasswd'
module.exports =
# Before each test.
setUp: (callback) ->
basic = auth.basic { # Configure aut... |
[
{
"context": "eys.sort((a, b) -> a.index - b.index)\n keys = (a.hash for a in keys)\n API.createAlbum(keys, (result)",
"end": 13485,
"score": 0.8767699599266052,
"start": 13479,
"tag": "KEY",
"value": "a.hash"
},
{
"context": "a, b) -> a.index - b.index)\n keys = (a.hash for... | scripts/home.coffee | Jaex/MediaCrush | 1 | worker = new Worker('/static/worker.js')
window.backgroundWorker = worker
albumAttached = false
maxConcurrentUploads = 3
window.addEventListener('DOMContentLoaded', ->
window.addEventListener('dragenter', dragNop, false)
window.addEventListener('dragleave', dragNop, false)
window.addEventListener('dragover... | 171202 | worker = new Worker('/static/worker.js')
window.backgroundWorker = worker
albumAttached = false
maxConcurrentUploads = 3
window.addEventListener('DOMContentLoaded', ->
window.addEventListener('dragenter', dragNop, false)
window.addEventListener('dragleave', dragNop, false)
window.addEventListener('dragover... | true | worker = new Worker('/static/worker.js')
window.backgroundWorker = worker
albumAttached = false
maxConcurrentUploads = 3
window.addEventListener('DOMContentLoaded', ->
window.addEventListener('dragenter', dragNop, false)
window.addEventListener('dragleave', dragNop, false)
window.addEventListener('dragover... |
[
{
"context": "ments)\n @\n password = mnemonic.normalize('NFKD')\n salt = \"mnemonic\" + passphrase.normalize('N",
"end": 804,
"score": 0.7616033554077148,
"start": 800,
"tag": "PASSWORD",
"value": "NFKD"
},
{
"context": "password = mnemonic.normalize('NFKD')\n salt = \... | app/src/utils/bitcoin/bip39.coffee | doged/ledger-wallet-doged-chrome | 1 | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
BIT_IN_BYTES: 8
BYTES_IN_INTEGER: 4
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
@utils.checkM... | 47880 | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
BIT_IN_BYTES: 8
BYTES_IN_INTEGER: 4
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
@utils.checkM... | true | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
BIT_IN_BYTES: 8
BYTES_IN_INTEGER: 4
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
@utils.checkM... |
[
{
"context": "t(2)\n\n config = getConfig()\n config.password = 'bad-password'\n\n connection = new Connection(config)\n\n connec",
"end": 1300,
"score": 0.9992919564247131,
"start": 1288,
"tag": "PASSWORD",
"value": "bad-password"
}
] | test/integration/connection-test.coffee | arthurschreiber/tedious | 1 | async = require('async')
Connection = require('../../src/connection')
Request = require('../../src/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.ted... | 224485 | async = require('async')
Connection = require('../../src/connection')
Request = require('../../src/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.ted... | true | async = require('async')
Connection = require('../../src/connection')
Request = require('../../src/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.ted... |
[
{
"context": "erms of the MIT license.\nCopyright 2012 - 2014 (c) Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nJOAP_NS = \"jabber:",
"end": 109,
"score": 0.999897301197052,
"start": 94,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "cense.\nCopyright 2012 - 2014 (c) ... | dist/bower_components/strophejs-plugins/joap/strophe.joap.coffee | A-StadLabs/labs-002 | 1 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2014 (c) Markus Kohlhase <mail@markus-kohlhase.de>
###
JOAP_NS = "jabber:iq:joap"
RPC_NS = "jabber:iq:rpc"
# Private static members
conn = null
onError = (cb=->) -> (iq) ->
err = iq.getElementsByTagName("error")[0]
if err?
... | 124654 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2014 (c) <NAME> <<EMAIL>>
###
JOAP_NS = "jabber:iq:joap"
RPC_NS = "jabber:iq:rpc"
# Private static members
conn = null
onError = (cb=->) -> (iq) ->
err = iq.getElementsByTagName("error")[0]
if err?
code = err.getAttribute(... | true | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2014 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
JOAP_NS = "jabber:iq:joap"
RPC_NS = "jabber:iq:rpc"
# Private static members
conn = null
onError = (cb=->) -> (iq) ->
err = iq.getElementsByTagName("error")[0]
if err?... |
[
{
"context": "ctoryPath, fileName)\n\n customDirectoryNameKey = '_directoryName'\n customFilesKey = '_files'\n customFileName",
"end": 2424,
"score": 0.9911615252494812,
"start": 2409,
"tag": "KEY",
"value": "'_directoryName"
},
{
"context": "oryNameKey = '_directoryName'\n ... | test/indexSpec.coffee | jeffreymorganio/file-size-tree-js | 1 | 'use strict'
fs = require('fs')
tmp = require('tmp')
path = require('path')
touch = require('touch')
chai = require('chai')
chai.use(require('chai-things'))
assert = chai.assert
expect = chai.expect
should = chai.should()
fileSizeTree = require('../src/index')
NOT_FOUND = -1
describe 'The fileSizeTree() function',... | 222492 | 'use strict'
fs = require('fs')
tmp = require('tmp')
path = require('path')
touch = require('touch')
chai = require('chai')
chai.use(require('chai-things'))
assert = chai.assert
expect = chai.expect
should = chai.should()
fileSizeTree = require('../src/index')
NOT_FOUND = -1
describe 'The fileSizeTree() function',... | true | 'use strict'
fs = require('fs')
tmp = require('tmp')
path = require('path')
touch = require('touch')
chai = require('chai')
chai.use(require('chai-things'))
assert = chai.assert
expect = chai.expect
should = chai.should()
fileSizeTree = require('../src/index')
NOT_FOUND = -1
describe 'The fileSizeTree() function',... |
[
{
"context": "###\n X-Wing Squad Builder\n Geordan Rosario <geordan@gmail.com>\n https://github.com/georda",
"end": 48,
"score": 0.9998849630355835,
"start": 33,
"tag": "NAME",
"value": "Geordan Rosario"
},
{
"context": "###\n X-Wing Squad Builder\n Geordan Rosario <ge... | coffeescripts/xwing.coffee | evcameron/xwing | 0 | ###
X-Wing Squad Builder
Geordan Rosario <geordan@gmail.com>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
if a_name ... | 201517 | ###
X-Wing Squad Builder
<NAME> <<EMAIL>>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
if a_name == b_name
... | true | ###
X-Wing Squad Builder
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
... |
[
{
"context": "esent both owned\n and shared resources.\n\n NOTE (chris): To really get these chained calls to work we ei",
"end": 660,
"score": 0.6398270130157471,
"start": 655,
"tag": "NAME",
"value": "chris"
}
] | src/core/initializers.relational/proxy.coffee | classdojo/mongoose-builder | 0 | ###
This module creates exports a relation proxy class
and also exports a handler that child_plugin can
inject into a mongoose schema.
###
###
class: RelationProxy
Responsible for piecing together the optional arguments
from a relational request.
eg.
options =
query: {some mongoose comp... | 207702 | ###
This module creates exports a relation proxy class
and also exports a handler that child_plugin can
inject into a mongoose schema.
###
###
class: RelationProxy
Responsible for piecing together the optional arguments
from a relational request.
eg.
options =
query: {some mongoose comp... | true | ###
This module creates exports a relation proxy class
and also exports a handler that child_plugin can
inject into a mongoose schema.
###
###
class: RelationProxy
Responsible for piecing together the optional arguments
from a relational request.
eg.
options =
query: {some mongoose comp... |
[
{
"context": " },(msg)=>\n @setAssetList msg.files\n #@app.client.sendRequest {\n # name: \"list_public_project_f",
"end": 6261,
"score": 0.92899090051651,
"start": 6251,
"tag": "EMAIL",
"value": "app.client"
},
{
"context": "\n div.appendChild author\n\n if @app... | static/js/explore/projectdetails.coffee | sksdutra/microstudio | 0 | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","assets","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horiz... | 136861 | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","assets","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horiz... | true | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","assets","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horiz... |
[
{
"context": " add = require(\"calc/add\")\n person = new Person(\"John\", \"Doe\")\n person.age = 18\n person.age = add(per",
"end": 196,
"score": 0.9996503591537476,
"start": 192,
"tag": "NAME",
"value": "John"
},
{
"context": "equire(\"calc/add\")\n person = new Person(\"John\... | source/code/my-main.coffee | anodynos/urequire-example-testbed | 0 | # uRequire Module Configuration
(urequire: rootExports: ["urequireExample", "uEx"], noConflict: true)
define ["models/Person"], (Person) ->
add = require("calc/add")
person = new Person("John", "Doe")
person.age = 18
person.age = add(person.age, 2)
# load 'calc/index.js' like node does, but works on AMD als... | 38063 | # uRequire Module Configuration
(urequire: rootExports: ["urequireExample", "uEx"], noConflict: true)
define ["models/Person"], (Person) ->
add = require("calc/add")
person = new Person("<NAME>", "<NAME>")
person.age = 18
person.age = add(person.age, 2)
# load 'calc/index.js' like node does, but works on AM... | true | # uRequire Module Configuration
(urequire: rootExports: ["urequireExample", "uEx"], noConflict: true)
define ["models/Person"], (Person) ->
add = require("calc/add")
person = new Person("PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI")
person.age = 18
person.age = add(person.age, 2)
# load 'calc/index.js' lik... |
[
{
"context": "tion-backbone-relational.js 0.3.4\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-articulati",
"end": 88,
"score": 0.9998214840888977,
"start": 74,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.3.4\n (c) 2011, 2012 Kevin Malakof... | src/backbone-relational/backbone-articulation-backbone-relational.coffee | kmalakoff/backbone-articulation | 2 | ###
backbone-articulation-backbone-relational.js 0.3.4
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import Underscore (or Lo-Dash with precedence), Backbon... | 4048 | ###
backbone-articulation-backbone-relational.js 0.3.4
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import Underscore (or Lo-Dash with precedence), Backbone, Backb... | true | ###
backbone-articulation-backbone-relational.js 0.3.4
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/backbone-articulation/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, and Underscore.js.
###
# import Underscore (or Lo-Dash with precedence), B... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nmodule.exports =\n RootID:",
"end": 35,
"score": 0.9997588396072388,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/core/constants.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
module.exports =
RootID: 'FoldingText'
ObjectReplacementCharacter: '\ufffc'
LineSeparatorCharacter: '\u2028'
ParagraphSeparatorCharacter: '\u2029'
FTMLMimeType: 'text/ftml+html'
OPMLMimeType: 'text/opml+xml'
URIListMimeType: 'text/uri-list'
HTM... | 196705 | # Copyright (c) 2015 <NAME>. All rights reserved.
module.exports =
RootID: 'FoldingText'
ObjectReplacementCharacter: '\ufffc'
LineSeparatorCharacter: '\u2028'
ParagraphSeparatorCharacter: '\u2029'
FTMLMimeType: 'text/ftml+html'
OPMLMimeType: 'text/opml+xml'
URIListMimeType: 'text/uri-list'
HTMLMimeTyp... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
module.exports =
RootID: 'FoldingText'
ObjectReplacementCharacter: '\ufffc'
LineSeparatorCharacter: '\u2028'
ParagraphSeparatorCharacter: '\u2029'
FTMLMimeType: 'text/ftml+html'
OPMLMimeType: 'text/opml+xml'
URIListMimeType: 'text/uri-list'... |
[
{
"context": "nerateRandomString()\n password : 'testpass'\n passwordConfirm : 'testpass'\n\n prof",
"end": 1366,
"score": 0.9994670152664185,
"start": 1358,
"tag": "PASSWORD",
"value": "testpass"
},
{
"context": " : 'testpass'\n passwordConf... | servers/lib/server/handlers/getprofile.test.coffee | ezgikaysi/koding | 1 | { async
expect
request
generateRandomEmail
generateRandomString } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateGetProfileRequestParams } = require '../../../testhelper/handler/getprofilehelper'
JUser = require... | 7139 | { async
expect
request
generateRandomEmail
generateRandomString } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateGetProfileRequestParams } = require '../../../testhelper/handler/getprofilehelper'
JUser = require... | true | { async
expect
request
generateRandomEmail
generateRandomString } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateGetProfileRequestParams } = require '../../../testhelper/handler/getprofilehelper'
JUser = require... |
[
{
"context": "e = @Selectorablium(@$el, @options)\n @key = 10101\n @value = 'test'\n\n afterEach ->\n @s",
"end": 17643,
"score": 0.8986207842826843,
"start": 17640,
"tag": "KEY",
"value": "010"
}
] | spec/selectorablium_spec.coffee | skroutz/selectorablium | 7 | toggle_plugin_tests = ->
context 'when @state is "disabled"', ->
beforeEach ->
@instance.state = 'disabled'
@trigger()
it 'does not call hide', ->
expect(@hide_spy).to.not.be.called
it 'does not call show', ->
expect(@show_spy).to.not.be.called
context 'when @state is "visible... | 165236 | toggle_plugin_tests = ->
context 'when @state is "disabled"', ->
beforeEach ->
@instance.state = 'disabled'
@trigger()
it 'does not call hide', ->
expect(@hide_spy).to.not.be.called
it 'does not call show', ->
expect(@show_spy).to.not.be.called
context 'when @state is "visible... | true | toggle_plugin_tests = ->
context 'when @state is "disabled"', ->
beforeEach ->
@instance.state = 'disabled'
@trigger()
it 'does not call hide', ->
expect(@hide_spy).to.not.be.called
it 'does not call show', ->
expect(@show_spy).to.not.be.called
context 'when @state is "visible... |
[
{
"context": "ne:\n https://docs.google.com/spreadsheet/ccc?key=0AgpC5gsTSm_4dDRVOEprRkVuSFZUWTlvclJ6UFRvdFE#gid=0\n###\nXLF.defaultSurveyDetails =\n start_time",
"end": 13252,
"score": 0.9997416734695435,
"start": 13208,
"tag": "KEY",
"value": "0AgpC5gsTSm_4dDRVOEprRkVuSFZUWTlvclJ6UFRvdFE... | source/javascripts/src/model_xlform.coffee | dorey/xlform-builder | 1 | ###
Refactoring to consider:
------------------------
SurveyFragment extends Backbone.Collection (to get rid of @rows)
Get rid of XLF.Options
Get rid of XLF.ChoiceLists (?)
Get rid of XLF.SurveyDetails ( maybe ?)
Add "popover text" (or something similar) to XLF.defaultsForType
###
###
@XLF holds much of the models/col... | 204343 | ###
Refactoring to consider:
------------------------
SurveyFragment extends Backbone.Collection (to get rid of @rows)
Get rid of XLF.Options
Get rid of XLF.ChoiceLists (?)
Get rid of XLF.SurveyDetails ( maybe ?)
Add "popover text" (or something similar) to XLF.defaultsForType
###
###
@XLF holds much of the models/col... | true | ###
Refactoring to consider:
------------------------
SurveyFragment extends Backbone.Collection (to get rid of @rows)
Get rid of XLF.Options
Get rid of XLF.ChoiceLists (?)
Get rid of XLF.SurveyDetails ( maybe ?)
Add "popover text" (or something similar) to XLF.defaultsForType
###
###
@XLF holds much of the models/col... |
[
{
"context": "epos are in */\n const GITHUB_ACCESS_TOKEN = 'f1d5f369b79a97646a0935c4e34010938ab4d7a0'; /* Create an access token here: https://github.",
"end": 496,
"score": 0.6226474046707153,
"start": 456,
"tag": "PASSWORD",
"value": "f1d5f369b79a97646a0935c4e34010938ab4d7a0"
}
] | notes/baff2ed4-88f7-4358-b5d5-add6b454441d.cson | runesam/dev-notes | 0 | createdAt: "2020-07-08T18:53:52.898Z"
updatedAt: "2020-07-08T18:54:39.332Z"
type: "SNIPPET_NOTE"
folder: "ab21d9b8c8f4ac7cf2d1"
title: "add user to team for multible repos"
description: "add user to team for multible repos"
snippets: [
{
name: "js"
mode: "text"
content: '''
const GITHU... | 153702 | createdAt: "2020-07-08T18:53:52.898Z"
updatedAt: "2020-07-08T18:54:39.332Z"
type: "SNIPPET_NOTE"
folder: "ab21d9b8c8f4ac7cf2d1"
title: "add user to team for multible repos"
description: "add user to team for multible repos"
snippets: [
{
name: "js"
mode: "text"
content: '''
const GITHU... | true | createdAt: "2020-07-08T18:53:52.898Z"
updatedAt: "2020-07-08T18:54:39.332Z"
type: "SNIPPET_NOTE"
folder: "ab21d9b8c8f4ac7cf2d1"
title: "add user to team for multible repos"
description: "add user to team for multible repos"
snippets: [
{
name: "js"
mode: "text"
content: '''
const GITHU... |
[
{
"context": " UserModel.add({userid:req_param.userid, password:req_param.password, name:req_param.name , description:req_param.desc",
"end": 565,
"score": 0.9818074107170105,
"start": 547,
"tag": "PASSWORD",
"value": "req_param.password"
}
] | controller/user/user_controller.coffee | rirufa/roomchat-server | 0 | ApiBaseController = require('../api_base_controller')
UserModel = require('../../model/user')
class UserController extends ApiBaseController
@ENTRYPOINT = '/api/v1/user'
onGetAsync: (req,res)->
req_param = req.body
if typeof req_param.id == "undefined"
users = await UserModel.get_all()
else
... | 2170 | ApiBaseController = require('../api_base_controller')
UserModel = require('../../model/user')
class UserController extends ApiBaseController
@ENTRYPOINT = '/api/v1/user'
onGetAsync: (req,res)->
req_param = req.body
if typeof req_param.id == "undefined"
users = await UserModel.get_all()
else
... | true | ApiBaseController = require('../api_base_controller')
UserModel = require('../../model/user')
class UserController extends ApiBaseController
@ENTRYPOINT = '/api/v1/user'
onGetAsync: (req,res)->
req_param = req.body
if typeof req_param.id == "undefined"
users = await UserModel.get_all()
else
... |
[
{
"context": "e generated from a given string\n# \n#\n# Author:\n# chris woodham\n\nmodule.exports = (robot) ->\n\n robot.hear /(.+)/",
"end": 495,
"score": 0.9996669292449951,
"start": 482,
"tag": "NAME",
"value": "chris woodham"
}
] | scripts/jason.coffee | Woodham/hubot-jason | 0 | # Description:
# Jason's intelligence
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hear <something> say <something else> - if hubot hears <something>, he has a chance of saying <something else> (note that regex capture groups can be replaced with e.g. [1], [2] etc and the person who ... | 106917 | # Description:
# Jason's intelligence
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hear <something> say <something else> - if hubot hears <something>, he has a chance of saying <something else> (note that regex capture groups can be replaced with e.g. [1], [2] etc and the person who ... | true | # Description:
# Jason's intelligence
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot hear <something> say <something else> - if hubot hears <something>, he has a chance of saying <something else> (note that regex capture groups can be replaced with e.g. [1], [2] etc and the person who ... |
[
{
"context": "launch this project, please email <a href=\"mailto:contact@zooniverse.org\">contact@zooniverse.org</a> to submit your reques",
"end": 3377,
"score": 0.9999261498451233,
"start": 3355,
"tag": "EMAIL",
"value": "contact@zooniverse.org"
},
{
"context": "ase email <a href=\... | app/pages/lab/visibility.cjsx | LLiprandi/Panoptes-Front-End | 72 | React = require 'react'
PropTypes = require 'prop-types'
{Link} = require 'react-router'
createReactClass = require 'create-react-class'
apiClient = require 'panoptes-client/lib/api-client'
SetToggle = require '../../lib/set-toggle'
uniq = require 'lodash/uniq'
Paginator = require '../../talk/lib/paginator'
ApplyForBe... | 133564 | React = require 'react'
PropTypes = require 'prop-types'
{Link} = require 'react-router'
createReactClass = require 'create-react-class'
apiClient = require 'panoptes-client/lib/api-client'
SetToggle = require '../../lib/set-toggle'
uniq = require 'lodash/uniq'
Paginator = require '../../talk/lib/paginator'
ApplyForBe... | true | React = require 'react'
PropTypes = require 'prop-types'
{Link} = require 'react-router'
createReactClass = require 'create-react-class'
apiClient = require 'panoptes-client/lib/api-client'
SetToggle = require '../../lib/set-toggle'
uniq = require 'lodash/uniq'
Paginator = require '../../talk/lib/paginator'
ApplyForBe... |
[
{
"context": "_bind: (el, key = '', options = {}) ->\n key = \"='#{key}'\" if key\n\n rules = {\n 'src': (node, value) ",
"end": 3259,
"score": 0.9655653238296509,
"start": 3251,
"tag": "KEY",
"value": "#{key}'\""
},
{
"context": " for event in lemon.browser_events\n ... | src/Component.coffee | lemon/lemonjs-browser | 0 |
# Component class
class lemon.Component
# default spec properties
_defaults: {
class: ''
computed: {}
contents: null
data: {}
lifecycle: {}
methods: {}
mounted: false
routes: {}
template: ->
watch: {}
}
constructor: (spec, data, contents) ->
# if being called with... | 87959 |
# Component class
class lemon.Component
# default spec properties
_defaults: {
class: ''
computed: {}
contents: null
data: {}
lifecycle: {}
methods: {}
mounted: false
routes: {}
template: ->
watch: {}
}
constructor: (spec, data, contents) ->
# if being called with... | true |
# Component class
class lemon.Component
# default spec properties
_defaults: {
class: ''
computed: {}
contents: null
data: {}
lifecycle: {}
methods: {}
mounted: false
routes: {}
template: ->
watch: {}
}
constructor: (spec, data, contents) ->
# if being called with... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9855328798294067,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "\n\t\tswitch direction\n\t\t\twhe... | src/base/Layout/Layout.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# {Layout} is used for all layout related stuff, like {HorizontalLayout},
# {VerticalLayout}, {Borde... | 13454 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# {Layout} is used for all layout related stuff, like {HorizontalLayout},
# {VerticalLayout}, {Borde... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# {Layout} is used for all layout related stuff, like {HorizontalLayout},
# {VerticalLayout}, {Borde... |
[
{
"context": "'Webslide'\n title: 'Webslide'\n copyright: '© Kelvin Miao, 2016'\n\n $scope.socket_io = io()\n $scope.show_h",
"end": 295,
"score": 0.9998795986175537,
"start": 284,
"tag": "NAME",
"value": "Kelvin Miao"
}
] | static/js/app.coffee | tjumyk/webslide | 0 | PDFJS.workerSrc = '/static/vendor/js/pdfjs/build/pdf.worker.js'
angular.module 'app', []
.controller 'rootController', ['$scope','$http', '$sce', '$timeout', 'util', ($scope, $http, $sce, $timeout, util)->
$scope.app =
name: 'Webslide'
title: 'Webslide'
copyright: '© Kelvin Miao, 2016'
$scope.socket_... | 198090 | PDFJS.workerSrc = '/static/vendor/js/pdfjs/build/pdf.worker.js'
angular.module 'app', []
.controller 'rootController', ['$scope','$http', '$sce', '$timeout', 'util', ($scope, $http, $sce, $timeout, util)->
$scope.app =
name: 'Webslide'
title: 'Webslide'
copyright: '© <NAME>, 2016'
$scope.socket_io = ... | true | PDFJS.workerSrc = '/static/vendor/js/pdfjs/build/pdf.worker.js'
angular.module 'app', []
.controller 'rootController', ['$scope','$http', '$sce', '$timeout', 'util', ($scope, $http, $sce, $timeout, util)->
$scope.app =
name: 'Webslide'
title: 'Webslide'
copyright: '© PI:NAME:<NAME>END_PI, 2016'
$scop... |
[
{
"context": "r defining Droplet parsers.\n#\n# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com)\n# MIT License\n\nhelper = requi",
"end": 110,
"score": 0.9998762011528015,
"start": 99,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "plet parsers.\n#\n# Copyright (c) 2015 An... | src/parser.coffee | cs50/droplet | 1 | # Droplet parser wrapper.
# Utility functions for defining Droplet parsers.
#
# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
exports.PreNodeContext = class PreNodeContext
constructor: (@type, @preParenLength, @postParenLength) -... | 10507 | # Droplet parser wrapper.
# Utility functions for defining Droplet parsers.
#
# Copyright (c) 2015 <NAME> (<EMAIL>)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
exports.PreNodeContext = class PreNodeContext
constructor: (@type, @preParenLength, @postParenLength) ->
apply: (no... | true | # Droplet parser wrapper.
# Utility functions for defining Droplet parsers.
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
exports.PreNodeContext = class PreNodeContext
constructor: (@type, @preParenLength, @post... |
[
{
"context": " item.property\n title: title\n author: author\n journal: journal\n \n try\n await",
"end": 2631,
"score": 0.8763895034790039,
"start": 2625,
"tag": "NAME",
"value": "author"
}
] | coffees/route-readingjournals.coffee | android1and1/easti | 0 | fs = require 'fs'
pug = require 'pug'
path = require 'path'
express = require 'express'
router = express.Router()
#formidable = require 'formidable'
Redis = require 'redis'
RT = require '../modules/md-readingjournals'
# for debug target
Nohm = require 'nohm'
# client not to connect this time.
[nohm1,nohm2] = [Nohm.Noh... | 47614 | fs = require 'fs'
pug = require 'pug'
path = require 'path'
express = require 'express'
router = express.Router()
#formidable = require 'formidable'
Redis = require 'redis'
RT = require '../modules/md-readingjournals'
# for debug target
Nohm = require 'nohm'
# client not to connect this time.
[nohm1,nohm2] = [Nohm.Noh... | true | fs = require 'fs'
pug = require 'pug'
path = require 'path'
express = require 'express'
router = express.Router()
#formidable = require 'formidable'
Redis = require 'redis'
RT = require '../modules/md-readingjournals'
# for debug target
Nohm = require 'nohm'
# client not to connect this time.
[nohm1,nohm2] = [Nohm.Noh... |
[
{
"context": "object', ->\n items = [\n {name: 'bob'},\n {name: 'jane'},\n ]\n ",
"end": 2983,
"score": 0.9997705817222595,
"start": 2980,
"tag": "NAME",
"value": "bob"
},
{
"context": " [\n {name: 'bob'},\n {name: 'jan... | yacs/static/global/specs/utilities_spec.coffee | louy2/YACS | 10 | describe 'getCookie', ->
it 'should extract value from cookie string', ->
cookie = 'foo=bar;name=joe;rofl=coptor'
expect(getCookie('foo', cookie)).toEqual('bar')
expect(getCookie('name', cookie)).toEqual('joe')
expect(getCookie('rofl', cookie)).toEqual('coptor')
it 'should retur... | 19391 | describe 'getCookie', ->
it 'should extract value from cookie string', ->
cookie = 'foo=bar;name=joe;rofl=coptor'
expect(getCookie('foo', cookie)).toEqual('bar')
expect(getCookie('name', cookie)).toEqual('joe')
expect(getCookie('rofl', cookie)).toEqual('coptor')
it 'should retur... | true | describe 'getCookie', ->
it 'should extract value from cookie string', ->
cookie = 'foo=bar;name=joe;rofl=coptor'
expect(getCookie('foo', cookie)).toEqual('bar')
expect(getCookie('name', cookie)).toEqual('joe')
expect(getCookie('rofl', cookie)).toEqual('coptor')
it 'should retur... |
[
{
"context": "# Description\n# Ugh\n#\n# Author\n# ivey\n\nimages = [\n \"http://i.imgur.com/5qOPW.gif\",",
"end": 36,
"score": 0.4804104268550873,
"start": 36,
"tag": "NAME",
"value": ""
},
{
"context": "# Description\n# Ugh\n#\n# Author\n# ivey\n\nimages = [\n \"http://i.... | scripts/ugh.coffee | RiotGamesMinions/lefay | 7 | # Description
# Ugh
#
# Author
# ivey
images = [
"http://i.imgur.com/5qOPW.gif",
"http://i.imgur.com/90Lyen2.gif"
]
module.exports = (robot) ->
robot.hear /\bugh/i, (msg) ->
msg.send msg.random images
| 208030 | # Description
# Ugh
#
# Author
# <NAME> ivey
images = [
"http://i.imgur.com/5qOPW.gif",
"http://i.imgur.com/90Lyen2.gif"
]
module.exports = (robot) ->
robot.hear /\bugh/i, (msg) ->
msg.send msg.random images
| true | # Description
# Ugh
#
# Author
# PI:NAME:<NAME>END_PI ivey
images = [
"http://i.imgur.com/5qOPW.gif",
"http://i.imgur.com/90Lyen2.gif"
]
module.exports = (robot) ->
robot.hear /\bugh/i, (msg) ->
msg.send msg.random images
|
[
{
"context": "s: [\n# {name: \"title\"},\n# {name: \"author_name\"},\n# {name: \"modified\"},\n# ]\n# se",
"end": 640,
"score": 0.596843421459198,
"start": 629,
"tag": "NAME",
"value": "author_name"
}
] | creator/packages/steedos-cms/lib/admin.coffee | yicone/steedos-platform | 42 | # db.cms_sites.adminConfig =
# icon: "globe"
# color: "blue"
# tableColumns: [
# {name: "name"},
# {name: "order"},
# {name: "modified"},
# ]
# selector: Selector.selectorCheckSpaceAdmin
# db.cms_categories.adminConfig =
# icon: "ion ion-ios-albums-outline"
# color... | 35036 | # db.cms_sites.adminConfig =
# icon: "globe"
# color: "blue"
# tableColumns: [
# {name: "name"},
# {name: "order"},
# {name: "modified"},
# ]
# selector: Selector.selectorCheckSpaceAdmin
# db.cms_categories.adminConfig =
# icon: "ion ion-ios-albums-outline"
# color... | true | # db.cms_sites.adminConfig =
# icon: "globe"
# color: "blue"
# tableColumns: [
# {name: "name"},
# {name: "order"},
# {name: "modified"},
# ]
# selector: Selector.selectorCheckSpaceAdmin
# db.cms_categories.adminConfig =
# icon: "ion ion-ios-albums-outline"
# color... |
[
{
"context": "'; date_value = new Date()\nattrs = {\n id : 'test_model',\n name : 'testy',\n a_class: {\n _type ",
"end": 1867,
"score": 0.937850296497345,
"start": 1857,
"tag": "USERNAME",
"value": "test_model"
},
{
"context": "\nattrs = {\n id : 'test_model',... | test/core/test-model.coffee | kmalakoff/backbone-articulation | 2 | Date::isEqual = (that) -> return (@valueOf() == that.valueOf())
window.SomeNamespace or= {}
class SomeNamespace.SomeClass
constructor: (int_value, string_value, date_value) ->
@int_value = int_value
@string_value = string_value
@date_value = date_value
toJSON: ->
return {
_type: 'SomeNamespa... | 40297 | Date::isEqual = (that) -> return (@valueOf() == that.valueOf())
window.SomeNamespace or= {}
class SomeNamespace.SomeClass
constructor: (int_value, string_value, date_value) ->
@int_value = int_value
@string_value = string_value
@date_value = date_value
toJSON: ->
return {
_type: 'SomeNamespa... | true | Date::isEqual = (that) -> return (@valueOf() == that.valueOf())
window.SomeNamespace or= {}
class SomeNamespace.SomeClass
constructor: (int_value, string_value, date_value) ->
@int_value = int_value
@string_value = string_value
@date_value = date_value
toJSON: ->
return {
_type: 'SomeNamespa... |
[
{
"context": "status.reject()\n\n input ?= {}\n\n apiCallKey = @pendingApiCallKey++\n @pendingApiCalls[apiCallKey] = statu",
"end": 3087,
"score": 0.7218930721282959,
"start": 3076,
"tag": "KEY",
"value": "@pendingApi"
},
{
"context": " input ?= {}\n\n apiCallKey = @pend... | src/api.coffee | dnanexus/dx-javascript-toolkit | 11 | # TODO: Set cookies to expire when the token expires
ajaxRequest = require('./ajax_request.coffee')
class Api
#
# Globals
#
API_ERRORS:
MalformedJSON: "The input could not be parsed as JSON"
InvalidAuthentication: "The provided OAuth2 token is invalid"
PermissionDenied: "Insufficient permissions to... | 1725 | # TODO: Set cookies to expire when the token expires
ajaxRequest = require('./ajax_request.coffee')
class Api
#
# Globals
#
API_ERRORS:
MalformedJSON: "The input could not be parsed as JSON"
InvalidAuthentication: "The provided OAuth2 token is invalid"
PermissionDenied: "Insufficient permissions to... | true | # TODO: Set cookies to expire when the token expires
ajaxRequest = require('./ajax_request.coffee')
class Api
#
# Globals
#
API_ERRORS:
MalformedJSON: "The input could not be parsed as JSON"
InvalidAuthentication: "The provided OAuth2 token is invalid"
PermissionDenied: "Insufficient permissions to... |
[
{
"context": ".val()\n )\n video1[0].src = abspath+'Alex Gaudino feat. Crystal Waters - Destination Calabria [Expl",
"end": 865,
"score": 0.9997513890266418,
"start": 853,
"tag": "NAME",
"value": "Alex Gaudino"
}
] | OutputController.coffee | JimmothySanchez/MusicVideoMonster | 0 | $(document).ready(()->
###Global Vars###
video1 = $('#video1')
video2 = $('#video2')
canvas = $('#canvas')
seriously = new Seriously()
reformat = seriously.transform('reformat')
vignette = seriously.effect("vignette")
tvGlitch = null
blend = seriously.effect('blend')
{ipcRendere... | 135084 | $(document).ready(()->
###Global Vars###
video1 = $('#video1')
video2 = $('#video2')
canvas = $('#canvas')
seriously = new Seriously()
reformat = seriously.transform('reformat')
vignette = seriously.effect("vignette")
tvGlitch = null
blend = seriously.effect('blend')
{ipcRendere... | true | $(document).ready(()->
###Global Vars###
video1 = $('#video1')
video2 = $('#video2')
canvas = $('#canvas')
seriously = new Seriously()
reformat = seriously.transform('reformat')
vignette = seriously.effect("vignette")
tvGlitch = null
blend = seriously.effect('blend')
{ipcRendere... |
[
{
"context": "ataQuery.from({\n flow: 'EXR'\n key: 'A..EUR.SP00.A'\n provider: 'ECB'\n obsDimension: 'C",
"end": 16236,
"score": 0.9990198612213135,
"start": 16223,
"tag": "KEY",
"value": "A..EUR.SP00.A"
},
{
"context": "\n query = DataQuery.from({flo... | test/utils/url-generator.test.coffee | sosna/sdmx-rest.js | 16 | should = require('chai').should()
{Service} = require '../../src/service/service'
{ApiVersion} = require '../../src/utils/api-version'
{DataQuery} = require '../../src/data/data-query'
{MetadataQuery} = require '../../src/metadata/metadata-query'
{AvailabilityQuery} = require '../../src/avail/availability-query'
{Sche... | 69933 | should = require('chai').should()
{Service} = require '../../src/service/service'
{ApiVersion} = require '../../src/utils/api-version'
{DataQuery} = require '../../src/data/data-query'
{MetadataQuery} = require '../../src/metadata/metadata-query'
{AvailabilityQuery} = require '../../src/avail/availability-query'
{Sche... | true | should = require('chai').should()
{Service} = require '../../src/service/service'
{ApiVersion} = require '../../src/utils/api-version'
{DataQuery} = require '../../src/data/data-query'
{MetadataQuery} = require '../../src/metadata/metadata-query'
{AvailabilityQuery} = require '../../src/avail/availability-query'
{Sche... |
[
{
"context": " $http.post '/api/session/login',\n username: username,\n password: password\n .success (data, sta",
"end": 324,
"score": 0.9903574585914612,
"start": 316,
"tag": "USERNAME",
"value": "username"
},
{
"context": "/login',\n username: username,\n p... | frontend/scripts/vsvs.coffee | rao1219/Vedio | 0 | app = angular.module 'vsvs', [
'ngFileUpload'
'ngResource'
'ngProgressLite'
'ui.router'
'gettext'
'ui.bootstrap'
'toastr'
]
app.controller 'LoginController', ['$http', 'gettextCatalog', ($http, gettextCatalog) ->
@login = (username, password) ->
$http.post '/api/session/login',
username: user... | 211487 | app = angular.module 'vsvs', [
'ngFileUpload'
'ngResource'
'ngProgressLite'
'ui.router'
'gettext'
'ui.bootstrap'
'toastr'
]
app.controller 'LoginController', ['$http', 'gettextCatalog', ($http, gettextCatalog) ->
@login = (username, password) ->
$http.post '/api/session/login',
username: user... | true | app = angular.module 'vsvs', [
'ngFileUpload'
'ngResource'
'ngProgressLite'
'ui.router'
'gettext'
'ui.bootstrap'
'toastr'
]
app.controller 'LoginController', ['$http', 'gettextCatalog', ($http, gettextCatalog) ->
@login = (username, password) ->
$http.post '/api/session/login',
username: user... |
[
{
"context": "USER_1 = firstName : 'Marian', lastName : 'Lumba', organization : 'Ne",
"end": 29,
"score": 0.9998060464859009,
"start": 23,
"tag": "NAME",
"value": "Marian"
},
{
"context": "USER_1 = firstName : 'Marian', lastName : 'Lumba', organization : 'Netflix'... | client/person/service.coffee | armw4/smart-table-clean-architecture | 0 | USER_1 = firstName : 'Marian', lastName : 'Lumba', organization : 'Netflix', socialSecurityNumber : '2222222222'
USER_2 = firstName : 'Sansom', lastName : 'Shawn', organization : 'Google', socialSecurityNumber : '2022222222'
USER_3 = firstName : 'Luis', lastName : 'Mayorga', organiz... | 171613 | USER_1 = firstName : '<NAME>', lastName : '<NAME>', organization : 'Netflix', socialSecurityNumber : '2222222222'
USER_2 = firstName : '<NAME>', lastName : '<NAME>', organization : 'Google', socialSecurityNumber : '2022222222'
USER_3 = firstName : '<NAME>', lastName : '<NAME>', orga... | true | USER_1 = firstName : 'PI:NAME:<NAME>END_PI', lastName : 'PI:NAME:<NAME>END_PI', organization : 'Netflix', socialSecurityNumber : '2222222222'
USER_2 = firstName : 'PI:NAME:<NAME>END_PI', lastName : 'PI:NAME:<NAME>END_PI', organization : 'Google', socialSecurityNumber : '2022222222'
USER_3 = ... |
[
{
"context": "oadData-persons', JSON.stringify(persons, ['id', 'firstName', 'lastName']))\n , 100)\n\n\n getTasks = ->\n",
"end": 1221,
"score": 0.993371844291687,
"start": 1212,
"tag": "NAME",
"value": "firstName"
},
{
"context": "ns', JSON.stringify(persons, ['id', 'firstNa... | src/app/components/data/data.service.coffee | bbasic/workload-planner | 0 | angular.module 'workloadPlanner'
.service 'workloadData', (localStorage, $log, $timeout) ->
'ngInject'
_persons = undefined
_tasks = undefined
_priorityMatrix = undefined
_nextId = {}
diff = (a, b) ->
if a.length > b.length
a.filter((i) -> b.indexOf(i) < 0)
else
b.... | 175339 | angular.module 'workloadPlanner'
.service 'workloadData', (localStorage, $log, $timeout) ->
'ngInject'
_persons = undefined
_tasks = undefined
_priorityMatrix = undefined
_nextId = {}
diff = (a, b) ->
if a.length > b.length
a.filter((i) -> b.indexOf(i) < 0)
else
b.... | true | angular.module 'workloadPlanner'
.service 'workloadData', (localStorage, $log, $timeout) ->
'ngInject'
_persons = undefined
_tasks = undefined
_priorityMatrix = undefined
_nextId = {}
diff = (a, b) ->
if a.length > b.length
a.filter((i) -> b.indexOf(i) < 0)
else
b.... |
[
{
"context": " <div id=\"turbo-area\" refresh=\"turbo-area\">Hi bob</div>\n </body>\n </html>\n \"\"\"\n ],\n",
"end": 733,
"score": 0.5223674774169922,
"start": 730,
"tag": "NAME",
"value": "bob"
}
] | test/javascripts/fixtures/js/routes.coffee | fakeNetflix/Shopify-repo-turbograft | 221 | window.ROUTES = {
serverError: [
500,
{'Content-Type':'text/html'},
'error!'
],
validationError: [
422,
{'Content-Type':'text/html'},
'error!'
],
noContentType: [
500,
{},
'error!'
],
xhrRedirectedToHeader: [
200,
{
'X-XHR-Redirected-To': 'test-location... | 203351 | window.ROUTES = {
serverError: [
500,
{'Content-Type':'text/html'},
'error!'
],
validationError: [
422,
{'Content-Type':'text/html'},
'error!'
],
noContentType: [
500,
{},
'error!'
],
xhrRedirectedToHeader: [
200,
{
'X-XHR-Redirected-To': 'test-location... | true | window.ROUTES = {
serverError: [
500,
{'Content-Type':'text/html'},
'error!'
],
validationError: [
422,
{'Content-Type':'text/html'},
'error!'
],
noContentType: [
500,
{},
'error!'
],
xhrRedirectedToHeader: [
200,
{
'X-XHR-Redirected-To': 'test-location... |
[
{
"context": "xamples right next to their source code. Enjoy! --Curran Kelleher, April 2013\n#\n# [Colored Canvas](../examples/01_c",
"end": 495,
"score": 0.9999041557312012,
"start": 480,
"tag": "NAME",
"value": "Curran Kelleher"
}
] | docs/examples.coffee | curran/canvas-vis | 2 | # Canvas-Vis Examples
# ===================
#
# This docrment is a collection of examples that use the Canvas-vis library. This file is built from `examples.coffee` in `build.sh`, which uses [Docco](http://jashkenas.github.io/docco/). Because Docco supports [Markdown](http://daringfireball.net/projects/markdown/) with ... | 175561 | # Canvas-Vis Examples
# ===================
#
# This docrment is a collection of examples that use the Canvas-vis library. This file is built from `examples.coffee` in `build.sh`, which uses [Docco](http://jashkenas.github.io/docco/). Because Docco supports [Markdown](http://daringfireball.net/projects/markdown/) with ... | true | # Canvas-Vis Examples
# ===================
#
# This docrment is a collection of examples that use the Canvas-vis library. This file is built from `examples.coffee` in `build.sh`, which uses [Docco](http://jashkenas.github.io/docco/). Because Docco supports [Markdown](http://daringfireball.net/projects/markdown/) with ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987474083900452,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-cat.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 67596 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " is 10\nok b is 20\nok c is 30\n\nperson = {\n name: \"Moe\"\n family: {\n 'elder-brother': {\n address",
"end": 670,
"score": 0.9997063875198364,
"start": 667,
"tag": "NAME",
"value": "Moe"
},
{
"context": "addresses: [one, {city: b}]}}} = person\n\nok a is \... | QProjectManager/node_modules/jade/support/coffee-script/test/test_pattern_matching.coffee | rkoyama1623/Quantum | 35 | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
eq a, -2
eq b, -1
func = ->
[a, b] = [b, a]
eq func().join(' '), '-1 -2'
eq a, -1
eq b, -2
#713
eq (onetwo = [1, 2]), [a, b] = [c, d] = onetwo
ok a is c is 1 and b is d is 2
# Array destructuring, including splats.
[x,y...,z] = [1,2,3,4,5]
ok x is 1
ok... | 179379 | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
eq a, -2
eq b, -1
func = ->
[a, b] = [b, a]
eq func().join(' '), '-1 -2'
eq a, -1
eq b, -2
#713
eq (onetwo = [1, 2]), [a, b] = [c, d] = onetwo
ok a is c is 1 and b is d is 2
# Array destructuring, including splats.
[x,y...,z] = [1,2,3,4,5]
ok x is 1
ok... | true | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
eq a, -2
eq b, -1
func = ->
[a, b] = [b, a]
eq func().join(' '), '-1 -2'
eq a, -1
eq b, -2
#713
eq (onetwo = [1, 2]), [a, b] = [c, d] = onetwo
ok a is c is 1 and b is d is 2
# Array destructuring, including splats.
[x,y...,z] = [1,2,3,4,5]
ok x is 1
ok... |
[
{
"context": "name: 'b', slug: 'b', count: 2},\n # {name: 'b b', slug: 'b-b', count: 2},\n # {name: 'c', slu",
"end": 3636,
"score": 0.8704686164855957,
"start": 3635,
"tag": "NAME",
"value": "b"
},
{
"context": "name: 'b', slug: 'b', count: 2},\n # {name: 'b b', slug:... | bower_components/chaplin-utils/src/chaplin-utils.coffee | Luciekimotho/HDX-Hackathon | 0 | class ChapinUtils
constructor: (options) ->
# required
@mediator = options.mediator
@site = options.site
@enable = options.enable
@verbosity = options.verbosity
@urls = options.urls
# optional
@time = options?.time
@localhost = options?.localhost
@ua = options?.ua
@google ... | 3376 | class ChapinUtils
constructor: (options) ->
# required
@mediator = options.mediator
@site = options.site
@enable = options.enable
@verbosity = options.verbosity
@urls = options.urls
# optional
@time = options?.time
@localhost = options?.localhost
@ua = options?.ua
@google ... | true | class ChapinUtils
constructor: (options) ->
# required
@mediator = options.mediator
@site = options.site
@enable = options.enable
@verbosity = options.verbosity
@urls = options.urls
# optional
@time = options?.time
@localhost = options?.localhost
@ua = options?.ua
@google ... |
[
{
"context": "in entityKeys\n\n for searchTerm in [undefined, 'dopamine']\n\n for currentState in [undefined, 'some_de",
"end": 190,
"score": 0.7213444113731384,
"start": 182,
"tag": "PASSWORD",
"value": "dopamine"
}
] | src/glados/static/coffee/tests/DynamicURLs/SearchURLsTests.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | describe 'Search URLs', ->
entityKeys = _.keys(glados.Settings.ES_KEY_2_SEARCH_PATH)
entityKeys.unshift('all')
for entityKey in entityKeys
for searchTerm in [undefined, 'dopamine']
for currentState in [undefined, 'some_defined_state']
for fragmentOnly in [true, false]
test = (enti... | 144348 | describe 'Search URLs', ->
entityKeys = _.keys(glados.Settings.ES_KEY_2_SEARCH_PATH)
entityKeys.unshift('all')
for entityKey in entityKeys
for searchTerm in [undefined, '<PASSWORD>']
for currentState in [undefined, 'some_defined_state']
for fragmentOnly in [true, false]
test = (en... | true | describe 'Search URLs', ->
entityKeys = _.keys(glados.Settings.ES_KEY_2_SEARCH_PATH)
entityKeys.unshift('all')
for entityKey in entityKeys
for searchTerm in [undefined, 'PI:PASSWORD:<PASSWORD>END_PI']
for currentState in [undefined, 'some_defined_state']
for fragmentOnly in [true, false]
... |
[
{
"context": " Backbone.sync.args[0][1].id.should.equal '530ebe92139b21efd6000071'\n Backbone.sync.args[0][1].i",
"end": 588,
"score": 0.5147683024406433,
"start": 587,
"tag": "KEY",
"value": "2"
},
{
"context": "kbone.sync.args[0][1].id.should.equal '530ebe92139b21efd6000071'\n... | src/mobile/apps/shows/test/routes.coffee | kanaabe/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
moment = require 'moment'
Backbone = require 'backbone'
PartnerShow = require '../../../models/show'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'Shows routes', ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEach ->
Backbo... | 84085 | _ = require 'underscore'
sinon = require 'sinon'
moment = require 'moment'
Backbone = require 'backbone'
PartnerShow = require '../../../models/show'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'Shows routes', ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEach ->
Backbo... | true | _ = require 'underscore'
sinon = require 'sinon'
moment = require 'moment'
Backbone = require 'backbone'
PartnerShow = require '../../../models/show'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'Shows routes', ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEach ->
Backbo... |
[
{
"context": " },(msg)=>\n @setMusicList msg.files\n\n #@app.client.sendRequest {\n # name: \"list_public_project_f",
"end": 5079,
"score": 0.8473628163337708,
"start": 5069,
"tag": "EMAIL",
"value": "app.client"
}
] | static/js/explore/projectdetails.coffee | francishero/microstudio | 0 | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horizontal")
... | 57833 | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horizontal")
... | true | class @ProjectDetails
constructor:(@app)->
@menu = ["code","sprites","sounds","music","doc"]
for s in @menu
do (s)=>
document.getElementById("project-contents-menu-#{s}").addEventListener "click",()=>
@setSection s
@splitbar = new SplitBar("explore-project-details","horizontal")
... |
[
{
"context": "->\n\n\tbeforeEach ->\n\t\t@user =\n\t\t\t_id: @user_id = \"31j2lk21kjl\"\n\t\t@User = \n\t\t\tfindOne:sinon.stub()\n\t\t\tupdate: si",
"end": 377,
"score": 0.8215489387512207,
"start": 367,
"tag": "PASSWORD",
"value": "1j2lk21kjl"
},
{
"context": "p://sl.example.com\"}... | test/unit/coffee/User/UserRegistrationHandlerTests.coffee | dtu-compute/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../app/js/Features/User/UserRegistrationHandler'
sinon = require("sinon")
expect = require("chai").expect
describe "UserRegistrationHandler", ->
... | 206030 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../app/js/Features/User/UserRegistrationHandler'
sinon = require("sinon")
expect = require("chai").expect
describe "UserRegistrationHandler", ->
... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
modulePath = path.join __dirname, '../../../../app/js/Features/User/UserRegistrationHandler'
sinon = require("sinon")
expect = require("chai").expect
describe "UserRegistrationHandler", ->
... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999220967292786,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/directives/test_in_progress.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 50335 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "warn` by default.\n '''\n\n tokens: [ 'DEBUGGER', 'IDENTIFIER' ]\n\n lintToken: (token, tokenApi",
"end": 340,
"score": 0.7553045749664307,
"start": 332,
"tag": "KEY",
"value": "DEBUGGER"
}
] | src/rules/no_debugger.coffee | AsaAyers/coffeelint | 0 |
module.exports = class NoDebugger
rule:
name: 'no_debugger'
level: 'warn'
message: 'Found debugging code'
console: false
description: '''
This rule detects `debugger` and optionally `console` calls
This rule is `warn` by default.
'''
... | 40984 |
module.exports = class NoDebugger
rule:
name: 'no_debugger'
level: 'warn'
message: 'Found debugging code'
console: false
description: '''
This rule detects `debugger` and optionally `console` calls
This rule is `warn` by default.
'''
... | true |
module.exports = class NoDebugger
rule:
name: 'no_debugger'
level: 'warn'
message: 'Found debugging code'
console: false
description: '''
This rule detects `debugger` and optionally `console` calls
This rule is `warn` by default.
'''
... |
[
{
"context": "ntity is created'\n\t@test.assertEquals km.apiKey, 'abc123', 'API key is set correctly'\n\ncasper.then ->\n\tins",
"end": 520,
"score": 0.9972469806671143,
"start": 514,
"tag": "KEY",
"value": "abc123"
},
{
"context": "valuate ->\n\t\tnew window.AnonKissmetricsClient 'a... | test/casperjs/kissmetrics-anon.coffee | evansolomon/kissmetrics-js | 1 | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.AnonKissmetricsClient
@test.assertTruthy KM, 'AnonKissmetricsClie... | 183397 | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.AnonKissmetricsClient
@test.assertTruthy KM, 'AnonKissmetricsClie... | true | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.AnonKissmetricsClient
@test.assertTruthy KM, 'AnonKissmetricsClie... |
[
{
"context": "#!/usr/bin/env coffee\n# copyright 2015, r. brian harrison. all rights reserved.\n\n# TODO opt",
"end": 41,
"score": 0.9940812587738037,
"start": 40,
"tag": "NAME",
"value": "r"
},
{
"context": "#!/usr/bin/env coffee\n# copyright 2015, r. brian harrison. all rights re... | web.coffee | idiomatic/twittersurvey | 0 | #!/usr/bin/env coffee
# copyright 2015, r. brian harrison. all rights reserved.
# TODO optimize CSV generation
os = require 'os'
util = require 'util'
koa = require 'koa'
route = require 'koa-route'
#koaStatic = require 'koa-static'
co = require 'co'
redis = require 'redis'
coRedis ... | 200987 | #!/usr/bin/env coffee
# copyright 2015, <NAME>. <NAME>. all rights reserved.
# TODO optimize CSV generation
os = require 'os'
util = require 'util'
koa = require 'koa'
route = require 'koa-route'
#koaStatic = require 'koa-static'
co = require 'co'
redis = require 'redis'
coRedis = ... | true | #!/usr/bin/env coffee
# copyright 2015, PI:NAME:<NAME>END_PI. PI:NAME:<NAME>END_PI. all rights reserved.
# TODO optimize CSV generation
os = require 'os'
util = require 'util'
koa = require 'koa'
route = require 'koa-route'
#koaStatic = require 'koa-static'
co = require 'co'
redis = ... |
[
{
"context": " parse user info', ->\n expect(parseUserInfo '1234@userName.User.AnimeBytes') .to.deep.equal\n user: '1234@u",
"end": 370,
"score": 0.9436001777648926,
"start": 352,
"tag": "EMAIL",
"value": "1234@userName.User"
},
{
"context": "e.User.AnimeBytes') .to.deep.... | test/parseUserInfo.test.coffee | WeebHoarder/kana | 0 | {expect} = require 'chai'
{
parseUserInfo
ParseUserInfoInvalidInput
ParseUserInfoMissingUser
ParseUserInfoMissingRank
ParseUserInfoMissingHost
ParseUserInfoWrongHost
} = require '../utils/parseUserInfo'
describe 'parseUserInfo utility', ->
describe 'when valid input', ->
it 'should parse user info',... | 115447 | {expect} = require 'chai'
{
parseUserInfo
ParseUserInfoInvalidInput
ParseUserInfoMissingUser
ParseUserInfoMissingRank
ParseUserInfoMissingHost
ParseUserInfoWrongHost
} = require '../utils/parseUserInfo'
describe 'parseUserInfo utility', ->
describe 'when valid input', ->
it 'should parse user info',... | true | {expect} = require 'chai'
{
parseUserInfo
ParseUserInfoInvalidInput
ParseUserInfoMissingUser
ParseUserInfoMissingRank
ParseUserInfoMissingHost
ParseUserInfoWrongHost
} = require '../utils/parseUserInfo'
describe 'parseUserInfo utility', ->
describe 'when valid input', ->
it 'should parse user info',... |
[
{
"context": "\", ->\n it 'help', ->\n @room.user.say('alice', '@hubot show bangbang commands').then =>\n ",
"end": 461,
"score": 0.6719107031822205,
"start": 456,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(@room.messages).to.eql [\n [... | test/bangbang-test.coffee | lukaspustina/hubot-bangbang | 2 | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
utils = require('../src/utils')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
command_execution_delay = 20
describe 'bangbang', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
... | 10487 | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
utils = require('../src/utils')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
command_execution_delay = 20
describe 'bangbang', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
utils = require('../src/utils')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
command_execution_delay = 20
describe 'bangbang', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
... |
[
{
"context": "g-a-grammar/\n\nscopeName: 'source.fountain'\nname: 'Fountain'\ntype: 'tree-sitter'\nparser: 'tree-sitter-fountai",
"end": 191,
"score": 0.9995436668395996,
"start": 183,
"tag": "NAME",
"value": "Fountain"
}
] | grammars/tree-sitter-fountain.cson | UserNobody14/language-fountain | 0 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.fountain'
name: 'Fountain'
type: 'tree-sitter'
parser: 'tree-sitter-fountain'
fileTypes: ['fountain', 'ftn']
folds: [
{type: 'scene'},
{type: 'secti... | 172951 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.fountain'
name: '<NAME>'
type: 'tree-sitter'
parser: 'tree-sitter-fountain'
fileTypes: ['fountain', 'ftn']
folds: [
{type: 'scene'},
{type: 'section... | true | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.fountain'
name: 'PI:NAME:<NAME>END_PI'
type: 'tree-sitter'
parser: 'tree-sitter-fountain'
fileTypes: ['fountain', 'ftn']
folds: [
{type: 'scene'},
{... |
[
{
"context": "leoverview Operator linebreak rule tests\n# @author Benoît Zugmeyer\n###\n'use strict'\n\n#------------------------------",
"end": 76,
"score": 0.9998427033424377,
"start": 61,
"tag": "NAME",
"value": "Benoît Zugmeyer"
}
] | src/tests/rules/operator-linebreak.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Operator linebreak rule tests
# @author Benoît Zugmeyer
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
util = require 'util'
rule = require '../../rules... | 82571 | ###*
# @fileoverview Operator linebreak rule tests
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
util = require 'util'
rule = require '../../rules/operator... | true | ###*
# @fileoverview Operator linebreak rule tests
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
util = require 'util'
rule = require '../../... |
[
{
"context": "# kent beck did this short test suite in making making coffee",
"end": 11,
"score": 0.9875175356864929,
"start": 2,
"tag": "NAME",
"value": "kent beck"
}
] | src/unit.coffee | temmihoo/raspiware | 0 | # kent beck did this short test suite in making making coffeescript
class unit
runCount: 0
failCount: 0
assert: (flag) ->
throw new Error if not flag
@runAll: (tests) ->
result = new unit
result.runTest test for test in tests
result
@run: (test) ->
unit.runAl... | 129032 | # <NAME> did this short test suite in making making coffeescript
class unit
runCount: 0
failCount: 0
assert: (flag) ->
throw new Error if not flag
@runAll: (tests) ->
result = new unit
result.runTest test for test in tests
result
@run: (test) ->
unit.runAll [... | true | # PI:NAME:<NAME>END_PI did this short test suite in making making coffeescript
class unit
runCount: 0
failCount: 0
assert: (flag) ->
throw new Error if not flag
@runAll: (tests) ->
result = new unit
result.runTest test for test in tests
result
@run: (test) ->
... |
[
{
"context": "s TeSSLaLinter\n constructor: ->\n @name = \"Example\"\n @scope = \"file\"\n @lintsOnChange = no\n",
"end": 316,
"score": 0.5607514381408691,
"start": 309,
"tag": "NAME",
"value": "Example"
}
] | lib/linter/tessla-linter.coffee | malteschmitz/tessla-atom2 | 0 | fs = require("fs-extra")
os = require("os")
path = require("path")
childProcess = require("child_process")
{TESSLA_CONTAINER_NAME} = require("../utils/constants")
{isSet} = require("../utils/utils")
Logger = require("../utils/logger")
module.exports=
class TeSSLaLinter
constructor: ->
@name = "Example"
... | 50513 | fs = require("fs-extra")
os = require("os")
path = require("path")
childProcess = require("child_process")
{TESSLA_CONTAINER_NAME} = require("../utils/constants")
{isSet} = require("../utils/utils")
Logger = require("../utils/logger")
module.exports=
class TeSSLaLinter
constructor: ->
@name = "<NAME>"
... | true | fs = require("fs-extra")
os = require("os")
path = require("path")
childProcess = require("child_process")
{TESSLA_CONTAINER_NAME} = require("../utils/constants")
{isSet} = require("../utils/utils")
Logger = require("../utils/logger")
module.exports=
class TeSSLaLinter
constructor: ->
@name = "PI:NAME:<NA... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998847842216492,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/c... | src/Coffixi/core/Point.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/core/Point', ->
###*
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
@class Point
@constructor
@param x {Number} position of... | 208819 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/core/Point', ->
###*
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
@class Point
@constructor
@param x {Number} position of the... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/core/Point', ->
###*
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
@class Point
@constructor
@param x {Number} p... |
[
{
"context": "けてるので10回復する', ->\n user = new rpg.Actor(name:'user')\n target = new rpg.Actor(name:'target')\n ",
"end": 3380,
"score": 0.9797114729881287,
"start": 3376,
"tag": "USERNAME",
"value": "user"
},
{
"context": "ので9回復して全快する', ->\n user = new rpg.Actor(name:'... | src/test/common/ItemUsableCounterTest.coffee | fukuyama/tmlib-rpg | 0 |
require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/State.coffee')
require('../../main/common/Item.coffee')
require('../../main/common/ItemConta... | 183153 |
require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/State.coffee')
require('../../main/common/Item.coffee')
require('../../main/common/ItemConta... | true |
require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/State.coffee')
require('../../main/common/Item.coffee')
require('../../main/common/ItemConta... |
[
{
"context": "SOFTWARE.\n\nangular-google-maps\nhttps://github.com/nlaplante/angular-google-maps\n\n@authors Bruno Queiroz, crea",
"end": 1154,
"score": 0.6389955282211304,
"start": 1145,
"tag": "USERNAME",
"value": "nlaplante"
},
{
"context": "github.com/nlaplante/angular-google-map... | bower_components/angular-google-maps-init/src/coffee/directives/label.coffee | aditioan/naturapass | 1 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | 141922 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | true | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... |
[
{
"context": "tion = {}\nconfiguration[nerfed + \"_authToken\"] = \"not-bad-meaning-bad-but-bad-meaning-wombat\"\nclient = common.freshClient(configuration)\ncache",
"end": 239,
"score": 0.9988623261451721,
"start": 197,
"tag": "PASSWORD",
"value": "not-bad-meaning-bad-but-bad-meaning-wombat... | deps/npm/node_modules/npm-registry-client/test/deprecate.coffee | lxe/io.coffee | 0 | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "not-bad-meaning-bad-but-bad-meaning-wombat"
client = common.freshClient(configuration)
cache = require("./fixtures/undersco... | 100197 | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "<PASSWORD>"
client = common.freshClient(configuration)
cache = require("./fixtures/underscore/cache.json")
VERSION = "1.3.2... | true | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "PI:PASSWORD:<PASSWORD>END_PI"
client = common.freshClient(configuration)
cache = require("./fixtures/underscore/cache.json"... |
[
{
"context": "getDefaultProjectLogo: (slug, id) ->\n key = \"#{slug}-#{id}\"\n idx = murmurhash3_32_gc(key, 42) %% @.log",
"end": 1560,
"score": 0.9987450242042542,
"start": 1545,
"tag": "KEY",
"value": "\"#{slug}-#{id}\""
}
] | app/modules/services/project-logo.service.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 140241 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "iq) ->\n (expect iq.attr \"to\").toEqual \"User@service.example.com\"\n (expect iq.attr \"type\").toEqual \"set",
"end": 2431,
"score": 0.9985781311988831,
"start": 2407,
"tag": "EMAIL",
"value": "User@service.example.com"
},
{
"context": "toEqual ... | joap/spec/strophe.joap.spec.coffee | calendar42/strophejs-plugins | 0 | fs = require('fs')
jsdom = require('jsdom')
jquery = fs.readFileSync("./lib/jquery.js").toString()
strophe = fs.readFileSync("./lib/strophe.js").toString()
rpc = fs.readFileSync("./lib/strophe.rpc.js").toString()
joap = fs.readFileSync("./strophe.joap.js").toString()
describe "strophe.joap loading", ->
... | 9804 | fs = require('fs')
jsdom = require('jsdom')
jquery = fs.readFileSync("./lib/jquery.js").toString()
strophe = fs.readFileSync("./lib/strophe.js").toString()
rpc = fs.readFileSync("./lib/strophe.rpc.js").toString()
joap = fs.readFileSync("./strophe.joap.js").toString()
describe "strophe.joap loading", ->
... | true | fs = require('fs')
jsdom = require('jsdom')
jquery = fs.readFileSync("./lib/jquery.js").toString()
strophe = fs.readFileSync("./lib/strophe.js").toString()
rpc = fs.readFileSync("./lib/strophe.rpc.js").toString()
joap = fs.readFileSync("./strophe.joap.js").toString()
describe "strophe.joap loading", ->
... |
[
{
"context": "->\n beforeEach ->\n @getCurrentUser.resolve(@user)\n\n it \"displays user name\", ->\n cy\n ",
"end": 1491,
"score": 0.9974946975708008,
"start": 1486,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "a\").should ($a) ->\n expect($a).t... | packages/desktop-gui/cypress/integration/nav_spec.coffee | Everworks/cypress | 3 | describe "Navigation", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "updaterCheck").resolves(false)
cy.stub(@ipc, "getProjects").resolves([])
cy.stub(@ipc, "getProje... | 112066 | describe "Navigation", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "updaterCheck").resolves(false)
cy.stub(@ipc, "getProjects").resolves([])
cy.stub(@ipc, "getProje... | true | describe "Navigation", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "updaterCheck").resolves(false)
cy.stub(@ipc, "getProjects").resolves([])
cy.stub(@ipc, "getProje... |
[
{
"context": "ersion %> - @license: <%= pkg.license %>; @author: Jean Christophe Roy; @site: <%= pkg.homepage %> */\\n'\n browser",
"end": 643,
"score": 0.9998769164085388,
"start": 624,
"tag": "NAME",
"value": "Jean Christophe Roy"
},
{
"context": "ersion %> - @license: <%= p... | Gruntfile.coffee | oraricha/fuzz-aldrin-plus | 216 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
clean: ['lib','dist']
coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'
coffeelint:
options:
no_empty_param_list:
... | 199150 | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
clean: ['lib','dist']
coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'
coffeelint:
options:
no_empty_param_list:
... | true | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
clean: ['lib','dist']
coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'
coffeelint:
options:
no_empty_param_list:
... |
[
{
"context": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.9998588562011719,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/crm_comments.js.coffee | ramses-lopez/re-crm | 0 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# When comments are added to ... | 159969 | # Copyright (c) 2008-2013 <NAME> and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# When comments are added to an entity... | true | # Copyright (c) 2008-2013 PI:NAME:<NAME>END_PI and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# When comments are adde... |
[
{
"context": "\n atom.config.set 'wercker-status.Token', '123'\n atom.config.set 'wercker-status.Username",
"end": 143,
"score": 0.96938157081604,
"start": 140,
"tag": "PASSWORD",
"value": "123"
},
{
"context": " atom.config.set 'wercker-status.Username', 'bozo'\n ... | spec/config-spec.coffee | mdno/wercker-status | 3 | config = require '../lib/config'
describe 'Configuration lib', ->
it 'get_config', ->
atom.config.set 'wercker-status.Token', '123'
atom.config.set 'wercker-status.Username', 'bozo'
atom.config.set 'wercker-status.Password', 'onetwothree'
atom.config.set 'wercker-status.Interval_Min... | 103321 | config = require '../lib/config'
describe 'Configuration lib', ->
it 'get_config', ->
atom.config.set 'wercker-status.Token', '<PASSWORD>'
atom.config.set 'wercker-status.Username', 'bozo'
atom.config.set 'wercker-status.Password', '<PASSWORD>'
atom.config.set 'wercker-status.Interv... | true | config = require '../lib/config'
describe 'Configuration lib', ->
it 'get_config', ->
atom.config.set 'wercker-status.Token', 'PI:PASSWORD:<PASSWORD>END_PI'
atom.config.set 'wercker-status.Username', 'bozo'
atom.config.set 'wercker-status.Password', 'PI:PASSWORD:<PASSWORD>END_PI'
at... |
[
{
"context": "yFirstExtension.crx'\n\nprivateKey = fs.readFileSync '/tmp/ecf3b8df877d4bea04e01393adebc369'\n\ncrx.setPrivateKey privateKey, (err) ->\n if err",
"end": 232,
"score": 0.9984447956085205,
"start": 194,
"tag": "KEY",
"value": "'/tmp/ecf3b8df877d4bea04e01393adebc369"
}
] | test/unpack.coffee | U/crx | 1 | fs = require 'fs'
ChromeExtension = require '../'
crx = new ChromeExtension
crxPath: '/tmp/5d58b482687e2c2b060fc19f877425b0'
# crxPath: 'myFirstExtension.crx'
privateKey = fs.readFileSync '/tmp/ecf3b8df877d4bea04e01393adebc369'
crx.setPrivateKey privateKey, (err) ->
if err
return console.log 'NOT compatibl... | 7079 | fs = require 'fs'
ChromeExtension = require '../'
crx = new ChromeExtension
crxPath: '/tmp/5d58b482687e2c2b060fc19f877425b0'
# crxPath: 'myFirstExtension.crx'
privateKey = fs.readFileSync <KEY>'
crx.setPrivateKey privateKey, (err) ->
if err
return console.log 'NOT compatible!!!'
if !err
console.log '... | true | fs = require 'fs'
ChromeExtension = require '../'
crx = new ChromeExtension
crxPath: '/tmp/5d58b482687e2c2b060fc19f877425b0'
# crxPath: 'myFirstExtension.crx'
privateKey = fs.readFileSync PI:KEY:<KEY>END_PI'
crx.setPrivateKey privateKey, (err) ->
if err
return console.log 'NOT compatible!!!'
if !err
... |
[
{
"context": " {}\n total_bytes_read: {}\n\nfile_size_keys = [\n \"total_bytes_sent\"\n \"total_bytes_read\"\n]\n\nformatFileSize = (nb) ->\n",
"end": 332,
"score": 0.9024758338928223,
"start": 315,
"tag": "KEY",
"value": "total_bytes_sent\""
},
{
"context": "d: {}\n\nfile_size_ke... | controllers/analytics/public/analytics.coffee | moul/tapas-icecast-analytics | 3 | options = {}
cols =
listeners: "Listeners"
slow_listeners: "Slow listeners"
total_bytes_read: "Total bytes read"
total_bytes_sent: "Total bytes sent"
title: "Title"
bitrate: "Bitrate"
total =
listeners: {}
slow_listeners: {}
total_bytes_sent: {}
total_bytes_read: {}
file_size_keys = [
"total... | 62809 | options = {}
cols =
listeners: "Listeners"
slow_listeners: "Slow listeners"
total_bytes_read: "Total bytes read"
total_bytes_sent: "Total bytes sent"
title: "Title"
bitrate: "Bitrate"
total =
listeners: {}
slow_listeners: {}
total_bytes_sent: {}
total_bytes_read: {}
file_size_keys = [
"<KEY>... | true | options = {}
cols =
listeners: "Listeners"
slow_listeners: "Slow listeners"
total_bytes_read: "Total bytes read"
total_bytes_sent: "Total bytes sent"
title: "Title"
bitrate: "Bitrate"
total =
listeners: {}
slow_listeners: {}
total_bytes_sent: {}
total_bytes_read: {}
file_size_keys = [
"PI:KE... |
[
{
"context": "ds:\n# hubot fez <your sentences>\n#\n# Author:\n# Bastien de Luca <dev@de-luca.io>\n\nalpha = ['a','b','c','d','e','f",
"end": 235,
"score": 0.9998623728752136,
"start": 220,
"tag": "NAME",
"value": "Bastien de Luca"
},
{
"context": "<your sentences>\n#\n# Author:\... | src/fez.coffee | de-luca/hubot-fez | 0 | # Description:
# Translate your sentences in "FEZIAN"
# This is for Slack using the Slack-FEZ-Emoji
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot fez <your sentences>
#
# Author:
# Bastien de Luca <dev@de-luca.io>
alpha = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','... | 64796 | # Description:
# Translate your sentences in "FEZIAN"
# This is for Slack using the Slack-FEZ-Emoji
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot fez <your sentences>
#
# Author:
# <NAME> <<EMAIL>>
alpha = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','... | true | # Description:
# Translate your sentences in "FEZIAN"
# This is for Slack using the Slack-FEZ-Emoji
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot fez <your sentences>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
alpha = ['a','b','c','d','e','f','g','h','i','j','k',... |
[
{
"context": "atal\n# Bootstrap ClojureScript React Native apps\n# Dan Motzenbecker\n# http://oxism.com\n# MIT License\n\nfs = requi",
"end": 70,
"score": 0.9998632669448853,
"start": 54,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | natal.coffee | dmotz/natal | 456 | # Natal
# Bootstrap ClojureScript React Native apps
# Dan Motzenbecker
# http://oxism.com
# MIT License
fs = require 'fs'
net = require 'net'
http = require 'http'
crypto = require 'crypto'
child = require 'child_process'
cli = require 'commander'
chalk = require 'chalk'
semver = require 'semver'... | 61596 | # Natal
# Bootstrap ClojureScript React Native apps
# <NAME>
# http://oxism.com
# MIT License
fs = require 'fs'
net = require 'net'
http = require 'http'
crypto = require 'crypto'
child = require 'child_process'
cli = require 'commander'
chalk = require 'chalk'
semver = require 'semver'
{Tail} =... | true | # Natal
# Bootstrap ClojureScript React Native apps
# PI:NAME:<NAME>END_PI
# http://oxism.com
# MIT License
fs = require 'fs'
net = require 'net'
http = require 'http'
crypto = require 'crypto'
child = require 'child_process'
cli = require 'commander'
chalk = require 'chalk'
semver = require 'sem... |
[
{
"context": " agentOneAuthorization = \"Basic #{new Buffer( \"test+one@joukou.com:password\" ).toString( 'base64' )}\"\n\n after ( d",
"end": 1947,
"score": 0.9999111890792847,
"start": 1928,
"tag": "EMAIL",
"value": "test+one@joukou.com"
},
{
"context": "ation = \"Basic #{new... | test/routes.coffee | joukou/joukou-api | 0 | ###*
Copyright 2014 Joukou Ltd
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
dist... | 20364 | ###*
Copyright 2014 Joukou Ltd
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
dist... | true | ###*
Copyright 2014 Joukou Ltd
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
dist... |
[
{
"context": "\n options: {\n title: 'Bob',\n group: 'g0',\n fi",
"end": 4602,
"score": 0.999797523021698,
"start": 4599,
"tag": "NAME",
"value": "Bob"
},
{
"context": "\n options: {\n title: 'Lazlo... | src/components/plot/axis.spec.coffee | p-koscielniak/hexagonjs | 61 | import { Axis } from './axis'
export default () ->
describe "Axis", ->
it 'constructing an axis with new Axis should work', ->
axis = new Axis()
axis.x.scaleType().should.equal('linear')
axis.y.scaleType().should.equal('linear')
axis = new Axis({x: {scaleType: 'discrete'}, y: {scaleType... | 76679 | import { Axis } from './axis'
export default () ->
describe "Axis", ->
it 'constructing an axis with new Axis should work', ->
axis = new Axis()
axis.x.scaleType().should.equal('linear')
axis.y.scaleType().should.equal('linear')
axis = new Axis({x: {scaleType: 'discrete'}, y: {scaleType... | true | import { Axis } from './axis'
export default () ->
describe "Axis", ->
it 'constructing an axis with new Axis should work', ->
axis = new Axis()
axis.x.scaleType().should.equal('linear')
axis.y.scaleType().should.equal('linear')
axis = new Axis({x: {scaleType: 'discrete'}, y: {scaleType... |
[
{
"context": "ime scores for the relevant league\n#\n# Author:\n# Detry322\n\nquerystring = require 'querystring'\n\nformat_resp",
"end": 218,
"score": 0.9996185302734375,
"start": 210,
"tag": "USERNAME",
"value": "Detry322"
},
{
"context": "= \"Scores:\\n\"\n for i in [1..count] ... | src/espn.coffee | Detry322/hubot-espn | 5 | # Description:
# Get live sports data for MLB, NHL, NBA, NFL, and WNBA
#
# Configuration:
# None
#
# Commands:
# hubot espn <mlb, nfl, etc.> - get real-time scores for the relevant league
#
# Author:
# Detry322
querystring = require 'querystring'
format_response = (league, response) ->
data = querystring.pa... | 31828 | # Description:
# Get live sports data for MLB, NHL, NBA, NFL, and WNBA
#
# Configuration:
# None
#
# Commands:
# hubot espn <mlb, nfl, etc.> - get real-time scores for the relevant league
#
# Author:
# Detry322
querystring = require 'querystring'
format_response = (league, response) ->
data = querystring.pa... | true | # Description:
# Get live sports data for MLB, NHL, NBA, NFL, and WNBA
#
# Configuration:
# None
#
# Commands:
# hubot espn <mlb, nfl, etc.> - get real-time scores for the relevant league
#
# Author:
# Detry322
querystring = require 'querystring'
format_response = (league, response) ->
data = querystring.pa... |
[
{
"context": "#########################\n# Created 15 Feb 2017 by Petr Krulis / petrkrulis.cz\n#################################",
"end": 117,
"score": 0.9998795390129089,
"start": 106,
"tag": "NAME",
"value": "Petr Krulis"
},
{
"context": "###########\n# Created 15 Feb 2017 by Petr ... | PanView.coffee | petrkrulis/PanView-Framer | 1 | ################################################################################
# Created 15 Feb 2017 by Petr Krulis / petrkrulis.cz
################################################################################
class PanView extends Layer
constructor: (@options={}) ->
#Defaults
@options.width ?= 1440
... | 135822 | ################################################################################
# Created 15 Feb 2017 by <NAME> / <EMAIL>
################################################################################
class PanView extends Layer
constructor: (@options={}) ->
#Defaults
@options.width ?= 1440
@option... | true | ################################################################################
# Created 15 Feb 2017 by PI:NAME:<NAME>END_PI / PI:EMAIL:<EMAIL>END_PI
################################################################################
class PanView extends Layer
constructor: (@options={}) ->
#Defaults
@opti... |
[
{
"context": "obj.user.key = \n key_id : me.key_id_64().toUpperCase()\n fingerprint : format_fingerprint me.f",
"end": 1279,
"score": 0.6453022956848145,
"start": 1268,
"tag": "KEY",
"value": "toUpperCase"
}
] | src/command/status.iced | substack/keybase-client | 1 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... | 140293 | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... | true | {Base} = require './base'
log = require '../log'
{ArgumentParser} = require 'argparse'
{add_option_dict} = require './argparse'
{PackageJson} = require '../package'
{session} = require '../session'
{make_esc} = require 'iced-error'
{env} = require '../env'
log = require '../log'
{User} = require '../user'
{format_finge... |
[
{
"context": "module.exports = ( () ->\n\n opts:\n token: \"%s\"\n parseKey: (k) -> \"<\"+k+\">%s</\"+k+\">\"\n parseVa",
"end": 48,
"score": 0.7459713220596313,
"start": 45,
"tag": "KEY",
"value": "\"%s"
}
] | index.coffee | coderofsalvation/json-dsl | 4 | module.exports = ( () ->
opts:
token: "%s"
parseKey: (k) -> "<"+k+">%s</"+k+">"
parseValue: (v,d) -> v
parseDSL: (json,data,str) ->
str = '' if not str?
if typeof json is "object"
for k,v of json
nk = @.parseKey k
nv = @.parse v, data, ''
str += nk.replace /%s/, nv
... | 176532 | module.exports = ( () ->
opts:
token: <KEY>"
parseKey: (k) -> "<"+k+">%s</"+k+">"
parseValue: (v,d) -> v
parseDSL: (json,data,str) ->
str = '' if not str?
if typeof json is "object"
for k,v of json
nk = @.parseKey k
nv = @.parse v, data, ''
str += nk.replace /%s/, nv
... | true | module.exports = ( () ->
opts:
token: PI:KEY:<KEY>END_PI"
parseKey: (k) -> "<"+k+">%s</"+k+">"
parseValue: (v,d) -> v
parseDSL: (json,data,str) ->
str = '' if not str?
if typeof json is "object"
for k,v of json
nk = @.parseKey k
nv = @.parse v, data, ''
str += nk.repl... |
[
{
"context": "1b7e02d42c0c0bbf558700000000\");\n inputs = [ [\"214af8788d11cf6e3a8dd2efb00d0c3facb446273dee2cf8023e1fae8b2afcbd\", \"00000000\"] ]\n scripts = [ \"522102feec7dd823",
"end": 6859,
"score": 0.8548488616943359,
"start": 6796,
"tag": "KEY",
"value": "14af8788d11cf6e3a8dd2ef... | app/src/utils/apps/coinkite.coffee | doged/ledger-wallet-doged-chrome | 1 | class @Coinkite
API_BASE: "https://api.coinkite.com"
CK_SIGNING_ADDRESS: "1GPWzXfpN9ht3g7KsSu8eTB92Na5Wpmu7g"
@CK_PATH: "0xb11e'/0xccc0'"
@factory: (callback) ->
ledger.storage.sync.get "__apps_coinkite_api_key", (r) =>
api_key = r.__apps_coinkite_api_key
ledger.storage.sync.get "__apps_coinki... | 125681 | class @Coinkite
API_BASE: "https://api.coinkite.com"
CK_SIGNING_ADDRESS: "1GPWzXfpN9ht3g7KsSu8eTB92Na5Wpmu7g"
@CK_PATH: "0xb11e'/0xccc0'"
@factory: (callback) ->
ledger.storage.sync.get "__apps_coinkite_api_key", (r) =>
api_key = r.__apps_coinkite_api_key
ledger.storage.sync.get "__apps_coinki... | true | class @Coinkite
API_BASE: "https://api.coinkite.com"
CK_SIGNING_ADDRESS: "1GPWzXfpN9ht3g7KsSu8eTB92Na5Wpmu7g"
@CK_PATH: "0xb11e'/0xccc0'"
@factory: (callback) ->
ledger.storage.sync.get "__apps_coinkite_api_key", (r) =>
api_key = r.__apps_coinkite_api_key
ledger.storage.sync.get "__apps_coinki... |
[
{
"context": "يل الدخول\"\n signOut: \"تسجيل الخروج\"\n signUp: \"افتح حساب جديد\"\n OR: \"او\"\n forgotPassword: \"نسيت كل",
"end": 95,
"score": 0.5148271322250366,
"start": 94,
"tag": "NAME",
"value": "ت"
},
{
"context": "لدخول\"\n signOut: \"تسجيل الخروج\"\n signUp: \"افتح ح... | client/t9n/arabic.coffee | JutoApp/accounts-entry | 167 | ar =
signIn: "تسجيل الدخول"
signin: "تسجيل الدخول"
signOut: "تسجيل الخروج"
signUp: "افتح حساب جديد"
OR: "او"
forgotPassword: "نسيت كلمة السر؟"
emailAddress: "البريد الالكترونى"
emailResetLink: "اعادة تعيين البريد الالكترونى"
dontHaveAnAccount: "ليس عندك حساب؟"
resetYourPassword: "اعادة تعيين كلمة ال... | 12602 | ar =
signIn: "تسجيل الدخول"
signin: "تسجيل الدخول"
signOut: "تسجيل الخروج"
signUp: "اف<NAME>ح ح<NAME>"
OR: "او"
forgotPassword: "<PASSWORD>؟"
emailAddress: "البريد الالكترونى"
emailResetLink: "اعادة تعيين البريد الالكترونى"
dontHaveAnAccount: "ليس عندك حساب؟"
resetYourPassword: "<PASSWORD>"
update... | true | ar =
signIn: "تسجيل الدخول"
signin: "تسجيل الدخول"
signOut: "تسجيل الخروج"
signUp: "افPI:NAME:<NAME>END_PIح حPI:NAME:<NAME>END_PI"
OR: "او"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI؟"
emailAddress: "البريد الالكترونى"
emailResetLink: "اعادة تعيين البريد الالكترونى"
dontHaveAnAccount: "ليس عندك حسا... |
[
{
"context": "host\" }\n ])\n .resolves({\n name: \"foo\"\n })\n .withArgs(\"clear:cookies\", [\n ",
"end": 27048,
"score": 0.6845391988754272,
"start": 27045,
"tag": "NAME",
"value": "foo"
},
{
"context": "host\" }\n ])\n .resolves({\n ... | packages/driver/test/cypress/integration/commands/cookies_spec.coffee | adancarrasco/cypress | 1 | _ = Cypress._
Promise = Cypress.Promise
describe "src/cy/commands/cookies", ->
beforeEach ->
## call through normally on everything
cy.stub(Cypress, "automation").rejects(new Error('Cypress.automation was not stubbed'))
context "test:before:run:async", ->
it "can test unstubbed, real server", ->
... | 109583 | _ = Cypress._
Promise = Cypress.Promise
describe "src/cy/commands/cookies", ->
beforeEach ->
## call through normally on everything
cy.stub(Cypress, "automation").rejects(new Error('Cypress.automation was not stubbed'))
context "test:before:run:async", ->
it "can test unstubbed, real server", ->
... | true | _ = Cypress._
Promise = Cypress.Promise
describe "src/cy/commands/cookies", ->
beforeEach ->
## call through normally on everything
cy.stub(Cypress, "automation").rejects(new Error('Cypress.automation was not stubbed'))
context "test:before:run:async", ->
it "can test unstubbed, real server", ->
... |
[
{
"context": " assign_to: this\n default:\n name: @name\n password: @password\n queue: []\n ",
"end": 709,
"score": 0.7901337146759033,
"start": 704,
"tag": "USERNAME",
"value": "@name"
},
{
"context": " default:\n name: @name\n passw... | src/server/channel.coffee | 2called-chaos/synctube_node | 0 | PersistedStorage = require("./persisted_storage.js").Class
PlaylistManager = require("./playlist_manager.js").Class
COLORS = require("./colors.js")
UTIL = require("./util.js")
exports.Class = class SyncTubeServerChannel
debug: (a...) -> @server.debug("[#{@name}]", a...)
info: (a...) -> @server.info("[#{@name}]", a... | 199528 | PersistedStorage = require("./persisted_storage.js").Class
PlaylistManager = require("./playlist_manager.js").Class
COLORS = require("./colors.js")
UTIL = require("./util.js")
exports.Class = class SyncTubeServerChannel
debug: (a...) -> @server.debug("[#{@name}]", a...)
info: (a...) -> @server.info("[#{@name}]", a... | true | PersistedStorage = require("./persisted_storage.js").Class
PlaylistManager = require("./playlist_manager.js").Class
COLORS = require("./colors.js")
UTIL = require("./util.js")
exports.Class = class SyncTubeServerChannel
debug: (a...) -> @server.debug("[#{@name}]", a...)
info: (a...) -> @server.info("[#{@name}]", a... |
[
{
"context": ": 'postapp.com:8080',\n key: 'an invalid key', secret: 'a-test-secret' })\n request.post @",
"end": 8388,
"score": 0.8512929677963257,
"start": 8385,
"tag": "KEY",
"value": "key"
},
{
"context": "80',\n key: 'an invalid key', secret: 'a-test-s... | test/apps_controller_test.coffee | jjzhang166/w3gram-server | 0 | request = require 'request'
sinon = require 'sinon'
describe 'HTTP server', ->
before (done) ->
@server = w3gram_test_config.server()
@appCache = w3gram_test_config.appCache()
@appList = w3gram_test_config.appList()
@appList.teardown (error) =>
if error
console.error error
proc... | 158270 | request = require 'request'
sinon = require 'sinon'
describe 'HTTP server', ->
before (done) ->
@server = w3gram_test_config.server()
@appCache = w3gram_test_config.appCache()
@appList = w3gram_test_config.appList()
@appList.teardown (error) =>
if error
console.error error
proc... | true | request = require 'request'
sinon = require 'sinon'
describe 'HTTP server', ->
before (done) ->
@server = w3gram_test_config.server()
@appCache = w3gram_test_config.appCache()
@appList = w3gram_test_config.appList()
@appList.teardown (error) =>
if error
console.error error
proc... |
[
{
"context": "# Description\n# watson\n#\n# Commands:\n# watson - returns answer of quest",
"end": 23,
"score": 0.7055359482765198,
"start": 17,
"tag": "NAME",
"value": "watson"
}
] | scripts/watsonqa.coffee | blackaplysia/travelqabot | 0 | # Description
# watson
#
# Commands:
# watson - returns answer of question
url = require 'url'
https = require 'https'
shortid= require 'shortid'
redis_client = require './redis_client'
bmconf = require './bmconf'
module.exports = (robot) ->
robot.respond /.*/, (msg) ->
question = msg.message.text.replace /^... | 89420 | # Description
# <NAME>
#
# Commands:
# watson - returns answer of question
url = require 'url'
https = require 'https'
shortid= require 'shortid'
redis_client = require './redis_client'
bmconf = require './bmconf'
module.exports = (robot) ->
robot.respond /.*/, (msg) ->
question = msg.message.text.replace /^... | true | # Description
# PI:NAME:<NAME>END_PI
#
# Commands:
# watson - returns answer of question
url = require 'url'
https = require 'https'
shortid= require 'shortid'
redis_client = require './redis_client'
bmconf = require './bmconf'
module.exports = (robot) ->
robot.respond /.*/, (msg) ->
question = msg.message.t... |
[
{
"context": "$ ->\n # 2019-4-11 luky xi cheng qi xiu hao le!\n $('button[data-toggle]').on 'click',(e)->\n ",
"end": 46,
"score": 0.9300097227096558,
"start": 19,
"tag": "NAME",
"value": "luky xi cheng qi xiu hao le"
}
] | coffees/mine-superuser-list-tickets.coffee | android1and1/tickets | 0 | $ ->
# 2019-4-11 luky xi cheng qi xiu hao le!
$('button[data-toggle]').on 'click',(e)->
if $(e.target).text() is '收起'
$(e.target).button('reset')
else
$(e.target).button 'cower'
| 195090 | $ ->
# 2019-4-11 <NAME>!
$('button[data-toggle]').on 'click',(e)->
if $(e.target).text() is '收起'
$(e.target).button('reset')
else
$(e.target).button 'cower'
| true | $ ->
# 2019-4-11 PI:NAME:<NAME>END_PI!
$('button[data-toggle]').on 'click',(e)->
if $(e.target).text() is '收起'
$(e.target).button('reset')
else
$(e.target).button 'cower'
|
[
{
"context": " ).map(d3.format('.05f'))\n\n url = 'mailto:haihui@grep.ro?subject=Map%20note&body=' +\n encodeURIComp",
"end": 418,
"score": 0.9999292492866516,
"start": 404,
"tag": "EMAIL",
"value": "haihui@grep.ro"
}
] | src/ui/note.coffee | mgax/ghid-montan | 0 | app.note = (options) ->
map = options.map
btn = options.g.append('a')
.attr('xlink:href', '#')
btn.append('circle')
.attr('r', 17)
btn.append('text')
.attr('transform', "translate(-3,5)")
.text('!')
render = ->
lngLat = map.proj.inverse(
map.projection.invert(
... | 43690 | app.note = (options) ->
map = options.map
btn = options.g.append('a')
.attr('xlink:href', '#')
btn.append('circle')
.attr('r', 17)
btn.append('text')
.attr('transform', "translate(-3,5)")
.text('!')
render = ->
lngLat = map.proj.inverse(
map.projection.invert(
... | true | app.note = (options) ->
map = options.map
btn = options.g.append('a')
.attr('xlink:href', '#')
btn.append('circle')
.attr('r', 17)
btn.append('text')
.attr('transform', "translate(-3,5)")
.text('!')
render = ->
lngLat = map.proj.inverse(
map.projection.invert(
... |
[
{
"context": "rIntensify\"\n\n\t@isKeyworded: true\n\t@modifierName: \"Intensify\"\n\t@description: null\n\t@keywordDefinition: \"Eff",
"end": 246,
"score": 0.6605929136276245,
"start": 240,
"tag": "NAME",
"value": "Intens"
}
] | app/sdk/modifiers/modifierIntensify.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
ApplyCardToBoardAction = require 'app/sdk/actions/applyCardToBoardAction'
class ModifierIntensify extends Modifier
type:"ModifierIntensify"
@type:"ModifierIntensify"
@isKeyworded: true
@modifierName: "Intensify"
@description: null
@keywordDefinition: "Effect is boosted each time... | 96346 | Modifier = require './modifier'
ApplyCardToBoardAction = require 'app/sdk/actions/applyCardToBoardAction'
class ModifierIntensify extends Modifier
type:"ModifierIntensify"
@type:"ModifierIntensify"
@isKeyworded: true
@modifierName: "<NAME>ify"
@description: null
@keywordDefinition: "Effect is boosted each time... | true | Modifier = require './modifier'
ApplyCardToBoardAction = require 'app/sdk/actions/applyCardToBoardAction'
class ModifierIntensify extends Modifier
type:"ModifierIntensify"
@type:"ModifierIntensify"
@isKeyworded: true
@modifierName: "PI:NAME:<NAME>END_PIify"
@description: null
@keywordDefinition: "Effect is boo... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993525147438049,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-setprompt.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 48039 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " Backbone.Model({\n patients: [{id: 5, name: \"Elijah Hoppe\"}, {id: 7, name: \"Sofia Grimes\"}]\n services:",
"end": 366,
"score": 0.9998627305030823,
"start": 354,
"tag": "NAME",
"value": "Elijah Hoppe"
},
{
"context": "s: [{id: 5, name: \"Elijah Hoppe\"}, {... | spec/javascripts/core/apps/invoice/form-view.spec.coffee | houzelio/houzel | 2 | import FormView from 'javascripts/core/apps/invoice/form-view'
describe("Invoice Form View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
@myServices = [{id: 2, name: "Check in", value: 109.99}, {id: 3, name: "Exam Lab", value: 99.99}]
myModel = new Backbone.Model(... | 136430 | import FormView from 'javascripts/core/apps/invoice/form-view'
describe("Invoice Form View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
@myServices = [{id: 2, name: "Check in", value: 109.99}, {id: 3, name: "Exam Lab", value: 99.99}]
myModel = new Backbone.Model(... | true | import FormView from 'javascripts/core/apps/invoice/form-view'
describe("Invoice Form View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
@myServices = [{id: 2, name: "Check in", value: 109.99}, {id: 3, name: "Exam Lab", value: 99.99}]
myModel = new Backbone.Model(... |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.7408269643783569,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/coffee/har/entry_list.coffee | glqf/qiandao | 0 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-06 21:14:54
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/components/utils'
angular.module('entry_list', []).
controller('Entr... | 51970 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-06 21:14:54
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/components/utils'
angular.module('entry_list', []).
controller('EntryLi... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-06 21:14:54
define (require, exports, module) ->
analysis = require '/static/har/analysis'
utils = require '/static/components/utils'
angular.module('entry_list', []).
cont... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, scratch} = require './test'\nthe",
"end": 28,
"score": 0.6641077995300293,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "ikita\n ssh: ssh\n .tools.dconf\n key: '/org/gnome/desktop/dateti... | packages/tools/test/dconf.coffee | chibanemourad/node-nikita | 0 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'tools.dconf', ->
they 'testing some dconf settings', ({ssh}) ->
nikita
ssh: ssh
.tools.dconf
key: '/org/gnome/desktop/datetime/automatic-t... | 12204 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'tools.dconf', ->
they 'testing some dconf settings', ({ssh}) ->
nikita
ssh: ssh
.tools.dconf
key: <KEY>'
value: "true"
.tools.... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'tools.dconf', ->
they 'testing some dconf settings', ({ssh}) ->
nikita
ssh: ssh
.tools.dconf
key: PI:KEY:<KEY>END_PI'
value: "true... |
[
{
"context": "eEach ->\n\t\t@adminUser_id = \"12321\"\n\t\t@newEmail = \"bob@smith.com\"\n\t\t@user = {_id:\"3121321\", email:@newEmail}\n\n\t\t@S",
"end": 331,
"score": 0.9999147653579712,
"start": 318,
"tag": "EMAIL",
"value": "bob@smith.com"
},
{
"context": "bscriptionUpdater.remo... | test/UnitTests/coffee/Subscription/SubscriptionGroupHandlerTests.coffee | mickaobrien/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupHandler"
describe "Subscription Group Handler", ->
beforeEach ->
@adminUser_id = "12321"
@newEmail = "bo... | 223948 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupHandler"
describe "Subscription Group Handler", ->
beforeEach ->
@adminUser_id = "12321"
@newEmail = "<E... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupHandler"
describe "Subscription Group Handler", ->
beforeEach ->
@adminUser_id = "12321"
@newEmail = "PI... |
[
{
"context": "I_CONFIG'])\n else\n sandbox:\n key: 'xa6rd0x8wsuk9hc'\n secret: 'y6nw1t64rcppd8a'\n full:\n ",
"end": 2429,
"score": 0.99798184633255,
"start": 2414,
"tag": "KEY",
"value": "xa6rd0x8wsuk9hc"
},
{
"context": ":\n key: 'xa6rd0x8wsuk9hc'... | test/src/helpers/token_stash.coffee | expo/dropbox-js | 64 | # Stashes Dropbox access credentials.
class TokenStash
# @param {Object} options one or more of the options below
# @option options {Object} tls tls.createServer() options for the node.js
# HTTPS server that intercepts the OAuth 2 authorization redirect
constructor: (options) ->
@_tlsOptions = options?.tl... | 121416 | # Stashes Dropbox access credentials.
class TokenStash
# @param {Object} options one or more of the options below
# @option options {Object} tls tls.createServer() options for the node.js
# HTTPS server that intercepts the OAuth 2 authorization redirect
constructor: (options) ->
@_tlsOptions = options?.tl... | true | # Stashes Dropbox access credentials.
class TokenStash
# @param {Object} options one or more of the options below
# @option options {Object} tls tls.createServer() options for the node.js
# HTTPS server that intercepts the OAuth 2 authorization redirect
constructor: (options) ->
@_tlsOptions = options?.tl... |
[
{
"context": " super(owner, name, options)\n\n @foreignKey = \"#{name}Id\"\n owner.field @foreignKey, type: \"Id\"\n \n ",
"end": 173,
"score": 0.9656890034675598,
"start": 163,
"tag": "KEY",
"value": "\"#{name}Id"
}
] | src/tower/model/relation/belongsTo.coffee | vjsingh/tower | 1 | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = "#{name}Id"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType, type: "String... | 210035 | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = <KEY>"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType, type: "String"
... | true | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = PI:KEY:<KEY>END_PI"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType, type:... |
[
{
"context": "ult: { innerObject: { key1: 'value1', key2: 'value2' } }\n# }\n#\n# data = { innerObject: { pr",
"end": 1921,
"score": 0.816594123840332,
"start": 1920,
"tag": "KEY",
"value": "2"
}
] | test/utils.spec.coffee | lgr7/codecombattreema | 66 | describe 'utilities', ->
backupJQuery = $
beforeEach ->
window.jQuery = undefined
window.$ = undefined
afterEach ->
window.jQuery = backupJQuery
window.$ = backupJQuery
describe 'tests', ->
it 'run in an environment without jQuery', ->
hadError = false
try
$(... | 194104 | describe 'utilities', ->
backupJQuery = $
beforeEach ->
window.jQuery = undefined
window.$ = undefined
afterEach ->
window.jQuery = backupJQuery
window.$ = backupJQuery
describe 'tests', ->
it 'run in an environment without jQuery', ->
hadError = false
try
$(... | true | describe 'utilities', ->
backupJQuery = $
beforeEach ->
window.jQuery = undefined
window.$ = undefined
afterEach ->
window.jQuery = backupJQuery
window.$ = backupJQuery
describe 'tests', ->
it 'run in an environment without jQuery', ->
hadError = false
try
$(... |
[
{
"context": "omepage', (done) ->\n\t\tbrowser\n\t\t\t.fill('#email', 'test@test.test') # TODO: generate unique emails + server-side em",
"end": 395,
"score": 0.9998599290847778,
"start": 381,
"tag": "EMAIL",
"value": "test@test.test"
},
{
"context": "ver-side email validations\n\t\t... | test/test.coffee | adrienschuler/Battle-Arena | 0 | assert = require('assert')
Browser = require('zombie')
browser = new Browser()
# SIGNUP
describe '/user/signup', ->
it 'should access signup page', (done) ->
browser.visit 'http://localhost:5000/user/signup', ->
assert.equal browser.location.pathname, '/user/signup'
done()
it 'should signup and redirec... | 44476 | assert = require('assert')
Browser = require('zombie')
browser = new Browser()
# SIGNUP
describe '/user/signup', ->
it 'should access signup page', (done) ->
browser.visit 'http://localhost:5000/user/signup', ->
assert.equal browser.location.pathname, '/user/signup'
done()
it 'should signup and redirec... | true | assert = require('assert')
Browser = require('zombie')
browser = new Browser()
# SIGNUP
describe '/user/signup', ->
it 'should access signup page', (done) ->
browser.visit 'http://localhost:5000/user/signup', ->
assert.equal browser.location.pathname, '/user/signup'
done()
it 'should signup and redirec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.