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": "ip_viola_configurator.conf'\n mongodb: 'mongodb://127.0.0.1:27017/viola'\n ami:\n port: 5038\n host: 'loc",
"end": 151,
"score": 0.9997017979621887,
"start": 142,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " port: 5038\n host: 'localhost'\n ... | config.coffee | antirek/viola-configurator | 0 | module.exports =
port: 3000
filePath: "#{__dirname}/uploads"
sipConf: '/etc/asterisk/sip_viola_configurator.conf'
mongodb: 'mongodb://127.0.0.1:27017/viola'
ami:
port: 5038
host: 'localhost'
username: 'admin'
password: 'admin'
debug: false | 188407 | module.exports =
port: 3000
filePath: "#{__dirname}/uploads"
sipConf: '/etc/asterisk/sip_viola_configurator.conf'
mongodb: 'mongodb://127.0.0.1:27017/viola'
ami:
port: 5038
host: 'localhost'
username: 'admin'
password: '<PASSWORD>'
debug: false | true | module.exports =
port: 3000
filePath: "#{__dirname}/uploads"
sipConf: '/etc/asterisk/sip_viola_configurator.conf'
mongodb: 'mongodb://127.0.0.1:27017/viola'
ami:
port: 5038
host: 'localhost'
username: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
debug: false |
[
{
"context": "ystem http://glawn.org\n#\n# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights\n# reserved. This program and the accom",
"end": 109,
"score": 0.9998900890350342,
"start": 88,
"tag": "NAME",
"value": "Eamonn O'Brien-Strain"
},
{
"context": "ipse.org/legal/epl-v10.... | test-coffee/rotimgSpec.coffee | eobrain/glan | 0 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www... | 155108 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 <NAME> All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/le... | true | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 PI:NAME:<NAME>END_PI All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.... |
[
{
"context": "overview Tests for block-scoped-var rule\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 74,
"score": 0.9997773170471191,
"start": 63,
"tag": "NAME",
"value": "Matt DuVall"
},
{
"context": " e\n e\n '''\n ,\n # https:... | src/tests/rules/block-scoped-var.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for block-scoped-var rule
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../... | 34252 | ###*
# @fileoverview Tests for block-scoped-var rule
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules... | true | ###*
# @fileoverview Tests for block-scoped-var rule
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = requir... |
[
{
"context": " \"server_id\": @guild_id,\n \"user_id\": @user_id,\n \"session_id\": @session_id,\n \"toke",
"end": 1721,
"score": 0.997366189956665,
"start": 1713,
"tag": "USERNAME",
"value": "@user_id"
},
{
"context": " \"session_id\": @session_id,\... | discordClient/voice/voiceHandler.coffee | motorlatitude/MotorBot | 4 | u = require('../utils.coffee')
utils = new u()
Constants = require './../constants.coffee'
ws = require 'ws'
zlib = require 'zlib'
fs = require 'fs'
Opus = require 'cjopus'
UDPClient = require './udpClient'
audioPlayer = require './AudioPlayer.coffee'
VoicePacket = require './voicePacket.coffee'
class VoiceConnection
... | 41803 | u = require('../utils.coffee')
utils = new u()
Constants = require './../constants.coffee'
ws = require 'ws'
zlib = require 'zlib'
fs = require 'fs'
Opus = require 'cjopus'
UDPClient = require './udpClient'
audioPlayer = require './AudioPlayer.coffee'
VoicePacket = require './voicePacket.coffee'
class VoiceConnection
... | true | u = require('../utils.coffee')
utils = new u()
Constants = require './../constants.coffee'
ws = require 'ws'
zlib = require 'zlib'
fs = require 'fs'
Opus = require 'cjopus'
UDPClient = require './udpClient'
audioPlayer = require './AudioPlayer.coffee'
VoicePacket = require './voicePacket.coffee'
class VoiceConnection
... |
[
{
"context": " macPlist:\n NSHumanReadableCopyright: 'aluxian.com'\n CFBundleIdentifier: 'com.aluxian.print",
"end": 1891,
"score": 0.799946665763855,
"start": 1880,
"tag": "EMAIL",
"value": "aluxian.com"
},
{
"context": "ld:osx64'], ->\n shelljs.exec 'codesign -... | gulpfile.coffee | printsepeti/desktop | 0 | gulp = require 'gulp'
shelljs = require 'shelljs'
mergeStream = require 'merge-stream'
runSequence = require 'run-sequence'
manifest = require './package.json'
$ = require('gulp-load-plugins')()
# Remove directories used by the tasks
gulp.task 'clean', ->
shelljs.rm '-rf', './build'
shelljs.rm '-rf', './dist'
# B... | 80112 | gulp = require 'gulp'
shelljs = require 'shelljs'
mergeStream = require 'merge-stream'
runSequence = require 'run-sequence'
manifest = require './package.json'
$ = require('gulp-load-plugins')()
# Remove directories used by the tasks
gulp.task 'clean', ->
shelljs.rm '-rf', './build'
shelljs.rm '-rf', './dist'
# B... | true | gulp = require 'gulp'
shelljs = require 'shelljs'
mergeStream = require 'merge-stream'
runSequence = require 'run-sequence'
manifest = require './package.json'
$ = require('gulp-load-plugins')()
# Remove directories used by the tasks
gulp.task 'clean', ->
shelljs.rm '-rf', './build'
shelljs.rm '-rf', './dist'
# B... |
[
{
"context": "----------------------------------------\n# Author: Alexander Kravets <alex@slatestudio.com>,\n# Slate Studio (h",
"end": 107,
"score": 0.9998753666877747,
"start": 90,
"tag": "NAME",
"value": "Alexander Kravets"
},
{
"context": "--------------------\n# Author: ... | app/assets/javascripts/loft/inputs/loft-image.coffee | slate-studio/loft | 0 | # -----------------------------------------------------------------------------
# Author: Alexander Kravets <alex@slatestudio.com>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INPUT LOFT IMAGE
# -----------------------------------... | 62319 | # -----------------------------------------------------------------------------
# Author: <NAME> <<EMAIL>>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INPUT LOFT IMAGE
# -----------------------------------------------------------... | true | # -----------------------------------------------------------------------------
# Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INPUT LOFT IMAGE
# ------------------------------... |
[
{
"context": " #\n # Category.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 45,
"score": 0.9802770614624023,
"start": 35,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Category.\n #\n # Created by hector spc <hector@aer... | src/models/category_model.coffee | aerstudio/Phallanxpress | 1 | #
# Category.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/category_model.js.coffee
#
class Phallanxpress.Category extends Phallanxpress.Model
children: ->
@collection.filter( (model)=>
model.get('parent') is @id
... | 183136 | #
# Category.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/category_model.js.coffee
#
class Phallanxpress.Category extends Phallanxpress.Model
children: ->
@collection.filter( (model)=>
model.get('parent') is @id
)
| true | #
# Category.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/category_model.js.coffee
#
class Phallanxpress.Category extends Phallanxpress.Model
children: ->
@collection.filter( (model)=>
model.get('pare... |
[
{
"context": "fk, fv of v['fields']\n availableKeys.push(\"#{k}.#{fk}\")\n else\n availableKeys.push(k)\n\n",
"end": 4522,
"score": 0.6050570607185364,
"start": 4517,
"tag": "KEY",
"value": "#{k}."
},
{
"context": "eserialize: (data) ->\n @data = data['mapping... | src/modeleditor.coffee | wendyrogers/CSV2IATI | 1 | SAMPLE_DATA =
"Project ID": "AGNA64"
"Title Project": "WE CAN end violence against women in Afghanistan"
"Short Descr Project": """The project is part of PIP P00115 which is the South Asia regional “We Can end violence against women campaign”. The objective is to challenge and change the patriarchal idea, belief... | 113392 | SAMPLE_DATA =
"Project ID": "AGNA64"
"Title Project": "WE CAN end violence against women in Afghanistan"
"Short Descr Project": """The project is part of PIP P00115 which is the South Asia regional “We Can end violence against women campaign”. The objective is to challenge and change the patriarchal idea, belief... | true | SAMPLE_DATA =
"Project ID": "AGNA64"
"Title Project": "WE CAN end violence against women in Afghanistan"
"Short Descr Project": """The project is part of PIP P00115 which is the South Asia regional “We Can end violence against women campaign”. The objective is to challenge and change the patriarchal idea, belief... |
[
{
"context": "t_type: 'refresh_token'\n refresh_token: unencrypted_refresh\n\n postmanMock.withArgs(postData, route).re",
"end": 932,
"score": 0.6477846503257751,
"start": 913,
"tag": "PASSWORD",
"value": "unencrypted_refresh"
},
{
"context": "ype: 'refresh_token'\n... | test/auth/refresh-spec.coffee | theodorick/ocelot | 13 | assert = require('assert')
sinon = require('sinon')
postman = require('../../src/auth/postman')
redirect = require('../../src/auth/redirect')
setCookies = require('../../src/auth/set-cookies')
refresh = require('../../src/auth/refresh/auth-code-refresh')
crypt = require('../../src/auth/crypt')
postmanMock = undefined
s... | 203106 | assert = require('assert')
sinon = require('sinon')
postman = require('../../src/auth/postman')
redirect = require('../../src/auth/redirect')
setCookies = require('../../src/auth/set-cookies')
refresh = require('../../src/auth/refresh/auth-code-refresh')
crypt = require('../../src/auth/crypt')
postmanMock = undefined
s... | true | assert = require('assert')
sinon = require('sinon')
postman = require('../../src/auth/postman')
redirect = require('../../src/auth/redirect')
setCookies = require('../../src/auth/set-cookies')
refresh = require('../../src/auth/refresh/auth-code-refresh')
crypt = require('../../src/auth/crypt')
postmanMock = undefined
s... |
[
{
"context": "LogParser constructor.\nDEFAULT_QUERYSTRING_KEY = 'hashmonitor'\n\nclass HttpAccessLogParser\n\n constructor: (key)",
"end": 198,
"score": 0.9981241226196289,
"start": 187,
"tag": "KEY",
"value": "hashmonitor"
}
] | lib/inputs/httpaccess.coffee | olark/hashmonitor | 8 | # We match HTTP access log lines with querystring `hashmonitor=<encoded_data>`
# by default, but this can be overridden in the HttpAccessLogParser constructor.
DEFAULT_QUERYSTRING_KEY = 'hashmonitor'
class HttpAccessLogParser
constructor: (key) ->
# We match all log lines against this pattern.
key or= DEFAU... | 160948 | # We match HTTP access log lines with querystring `hashmonitor=<encoded_data>`
# by default, but this can be overridden in the HttpAccessLogParser constructor.
DEFAULT_QUERYSTRING_KEY = '<KEY>'
class HttpAccessLogParser
constructor: (key) ->
# We match all log lines against this pattern.
key or= DEFAULT_QUE... | true | # We match HTTP access log lines with querystring `hashmonitor=<encoded_data>`
# by default, but this can be overridden in the HttpAccessLogParser constructor.
DEFAULT_QUERYSTRING_KEY = 'PI:KEY:<KEY>END_PI'
class HttpAccessLogParser
constructor: (key) ->
# We match all log lines against this pattern.
key or... |
[
{
"context": "./lib/jquery.formance.js')\n\nVALID_EMAILS = [\n 'john@example.com'\n 'very.common@example.com'\n 'a.little.leng",
"end": 152,
"score": 0.999808132648468,
"start": 136,
"tag": "EMAIL",
"value": "john@example.com"
},
{
"context": "s')\n\nVALID_EMAILS = [\n 'j... | test/fields/email.coffee | hedou/jquery.formance | 149 | assert = require('assert')
$ = require('jquery')
global.jQuery = $
require('../../lib/jquery.formance.js')
VALID_EMAILS = [
'john@example.com'
'very.common@example.com'
'a.little.lengthy.but.fine@dept.example.com'
'disposable.style.email.with+symbol@example.com'
# 'user@[IPv6:2001:db8:1ff::a0b:... | 75298 | assert = require('assert')
$ = require('jquery')
global.jQuery = $
require('../../lib/jquery.formance.js')
VALID_EMAILS = [
'<EMAIL>'
'<EMAIL>'
'<EMAIL>'
'<EMAIL>'
# 'user@[IPv6:2001:db8:1ff::a0b:dbd0]'
# '"much.more unusual"@<EMAIL>'
# '"<EMAIL>"@<EMAIL>'
# '"very.(),:;<>[]\".VERY.\"very... | true | assert = require('assert')
$ = require('jquery')
global.jQuery = $
require('../../lib/jquery.formance.js')
VALID_EMAILS = [
'PI:EMAIL:<EMAIL>END_PI'
'PI:EMAIL:<EMAIL>END_PI'
'PI:EMAIL:<EMAIL>END_PI'
'PI:EMAIL:<EMAIL>END_PI'
# 'user@[IPv6:2001:db8:1ff::a0b:dbd0]'
# '"much.more unusual"@PI:EMAI... |
[
{
"context": "', ($scope) ->\n $scope.quotes = [\n { author: \"Spock\", text: \"Insufficient facts always invite danger.",
"end": 121,
"score": 0.9995951652526855,
"start": 116,
"tag": "NAME",
"value": "Spock"
},
{
"context": "ent facts always invite danger.\" }\n { author: \"... | app/assets/javascripts/angular/base/controllers/ipsum.coffee | reckoning/app | 9 | angular.module 'Reckoning'
.controller 'IpsumController', ['$scope', ($scope) ->
$scope.quotes = [
{ author: "Spock", text: "Insufficient facts always invite danger." }
{ author: "Spock", text: "There are always alternatives." }
{ author: "Spock", text: "Without followers, evil cannot spread." }
{ aut... | 31604 | angular.module 'Reckoning'
.controller 'IpsumController', ['$scope', ($scope) ->
$scope.quotes = [
{ author: "<NAME>", text: "Insufficient facts always invite danger." }
{ author: "<NAME>", text: "There are always alternatives." }
{ author: "<NAME>", text: "Without followers, evil cannot spread." }
{ ... | true | angular.module 'Reckoning'
.controller 'IpsumController', ['$scope', ($scope) ->
$scope.quotes = [
{ author: "PI:NAME:<NAME>END_PI", text: "Insufficient facts always invite danger." }
{ author: "PI:NAME:<NAME>END_PI", text: "There are always alternatives." }
{ author: "PI:NAME:<NAME>END_PI", text: "Withou... |
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998830556869507,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": " #\n # Original idea posted in https://github.com/hiddentao/export/issu... | src/squel.coffee | SimeonC/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
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, merge, publish... | 28574 | ###
Copyright (c) 2014 <NAME> (hiddentao.com)
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, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.com)
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, merge... |
[
{
"context": "VG To HTML Image Library v0.06\nhttps://github.com/CindyLinz/Coffee-svg2html_img\n\nCopyright 2012, Cindy Wang (",
"end": 65,
"score": 0.9996631741523743,
"start": 56,
"tag": "USERNAME",
"value": "CindyLinz"
},
{
"context": "com/CindyLinz/Coffee-svg2html_img\n\nCopyrigh... | lib/svg2html_image.coffee | CindyLinz/Coffee-svg2html_img | 1 | ###
SVG To HTML Image Library v0.06
https://github.com/CindyLinz/Coffee-svg2html_img
Copyright 2012, Cindy Wang (CindyLinz)
Dual licensed under the MIT or GPL Version 2 licenses.
Date: 2012.5.2
###
log = (msg) ->
window.console.log(msg) if window.console?
ajax_load = (url, cb) ->
req =
if window.XMLHt... | 201245 | ###
SVG To HTML Image Library v0.06
https://github.com/CindyLinz/Coffee-svg2html_img
Copyright 2012, <NAME> (CindyLinz)
Dual licensed under the MIT or GPL Version 2 licenses.
Date: 2012.5.2
###
log = (msg) ->
window.console.log(msg) if window.console?
ajax_load = (url, cb) ->
req =
if window.XMLHttpRe... | true | ###
SVG To HTML Image Library v0.06
https://github.com/CindyLinz/Coffee-svg2html_img
Copyright 2012, PI:NAME:<NAME>END_PI (CindyLinz)
Dual licensed under the MIT or GPL Version 2 licenses.
Date: 2012.5.2
###
log = (msg) ->
window.console.log(msg) if window.console?
ajax_load = (url, cb) ->
req =
if wi... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.5886922478675842,
"start": 21,
"tag": "NAME",
"value": "ty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Pub... | resources/assets/coffee/react/comments-index.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CommentsManager } from 'comments-manager'
import core from 'osu-core-singleton'
import { Main } from './comments-index/main'
reactTurb... | 36673 | # Copyright (c) ppy P<NAME> <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CommentsManager } from 'comments-manager'
import core from 'osu-core-singleton'
import { Main } from './comments-index/main'
reactTurbolinks.... | true | # Copyright (c) ppy PPI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { CommentsManager } from 'comments-manager'
import core from 'osu-core-singleton'
import { Main } from './comments-i... |
[
{
"context": "}\n @followingItemsLookup: {}\n \n \n constructor: (@name, details, messages) ->\n @constructor.idLookup[",
"end": 158,
"score": 0.9942777752876282,
"start": 152,
"tag": "USERNAME",
"value": "(@name"
},
{
"context": "e, details, messages) ->\n @constructor.idL... | coffee/main.coffee | yoshifan/smgalaxy-routing | 0 | class Item
# A level, cutscene, or event. Basically a block of a full game run.
@idLookup: {}
@followingItemsLookup: {}
constructor: (@name, details, messages) ->
@constructor.idLookup[@name] = this
@requirements = details.requirements
@startLocation = details.start_location
@end... | 210742 | class Item
# A level, cutscene, or event. Basically a block of a full game run.
@idLookup: {}
@followingItemsLookup: {}
constructor: (@name, details, messages) ->
@constructor.idLookup[@name] = this
@requirements = details.requirements
@startLocation = details.start_location
@end... | true | class Item
# A level, cutscene, or event. Basically a block of a full game run.
@idLookup: {}
@followingItemsLookup: {}
constructor: (@name, details, messages) ->
@constructor.idLookup[@name] = this
@requirements = details.requirements
@startLocation = details.start_location
@end... |
[
{
"context": ", value of disrObj.DISRUPTIONS\n if key == 'DISRUPTION'\n for disrObj in value\n ",
"end": 12851,
"score": 0.7300949096679688,
"start": 12841,
"tag": "KEY",
"value": "DISRUPTION"
}
] | message-sender.coffee | Mankro/navigator-push-server | 1 | #!/usr/bin/env coffee
xml2js = require 'xml2js'
http = require 'http'
https = require 'https'
{dbConnect, Subscription, SentMessageHash} = require './db'
NEWS_URL = 'https://www.hsl.fi/en/newsApi/all'
DISRUPTIONS_URL = 'http://www.poikkeusinfo.fi/xml/v2/en'
PUSH_URL = 'https://android.googleapis.com/gcm/send'... | 24136 | #!/usr/bin/env coffee
xml2js = require 'xml2js'
http = require 'http'
https = require 'https'
{dbConnect, Subscription, SentMessageHash} = require './db'
NEWS_URL = 'https://www.hsl.fi/en/newsApi/all'
DISRUPTIONS_URL = 'http://www.poikkeusinfo.fi/xml/v2/en'
PUSH_URL = 'https://android.googleapis.com/gcm/send'... | true | #!/usr/bin/env coffee
xml2js = require 'xml2js'
http = require 'http'
https = require 'https'
{dbConnect, Subscription, SentMessageHash} = require './db'
NEWS_URL = 'https://www.hsl.fi/en/newsApi/all'
DISRUPTIONS_URL = 'http://www.poikkeusinfo.fi/xml/v2/en'
PUSH_URL = 'https://android.googleapis.com/gcm/send'... |
[
{
"context": "cument.body.innerHTML = render('index.hbs',{name:'Doug'})\n)\n\ndo =>\n return show_page()\n\n",
"end": 208,
"score": 0.9996700286865234,
"start": 204,
"tag": "NAME",
"value": "Doug"
}
] | client/app/app.iced | tosadvisor/impression-diagnostics | 0 | log = (x...) -> try console.log x...
_ = require 'lodash'
render = require './lib/render.iced'
show_page = (->
require './styl/main.styl'
return document.body.innerHTML = render('index.hbs',{name:'Doug'})
)
do =>
return show_page()
| 197772 | log = (x...) -> try console.log x...
_ = require 'lodash'
render = require './lib/render.iced'
show_page = (->
require './styl/main.styl'
return document.body.innerHTML = render('index.hbs',{name:'<NAME>'})
)
do =>
return show_page()
| true | log = (x...) -> try console.log x...
_ = require 'lodash'
render = require './lib/render.iced'
show_page = (->
require './styl/main.styl'
return document.body.innerHTML = render('index.hbs',{name:'PI:NAME:<NAME>END_PI'})
)
do =>
return show_page()
|
[
{
"context": "tar-1'\n image.alt = ''\n image.name = 'avatar-1'\n image.width = 80\n image.height = 80\n d",
"end": 258,
"score": 0.6493411660194397,
"start": 257,
"tag": "USERNAME",
"value": "1"
},
{
"context": "ess', ->\n avatar = new Avatar(image, email: 'test@... | test/avatar_spec.coffee | websquared/avatar | 0 | describe "Avatar", ->
# Globals
avatar = image = load_spy = error_spy = null
before ->
# DOM Setup
# document.body.innerHTML = ''
image = document.createElement('img')
image.id = 'avatar-1'
image.alt = ''
image.name = 'avatar-1'
image.width = 80
image.height = 80
document.body... | 160984 | describe "Avatar", ->
# Globals
avatar = image = load_spy = error_spy = null
before ->
# DOM Setup
# document.body.innerHTML = ''
image = document.createElement('img')
image.id = 'avatar-1'
image.alt = ''
image.name = 'avatar-1'
image.width = 80
image.height = 80
document.body... | true | describe "Avatar", ->
# Globals
avatar = image = load_spy = error_spy = null
before ->
# DOM Setup
# document.body.innerHTML = ''
image = document.createElement('img')
image.id = 'avatar-1'
image.alt = ''
image.name = 'avatar-1'
image.width = 80
image.height = 80
document.body... |
[
{
"context": "OFTWARE.\n\nangular-google-maps\nhttps://github.com/nlaplante/angular-google-maps\n\n@authors:\n- Nicolas Laplante",
"end": 1154,
"score": 0.6338178515434265,
"start": 1146,
"tag": "USERNAME",
"value": "laplante"
},
{
"context": "hub.com/nlaplante/angular-google-maps\n\... | platforms/ios/www/lib/bower_components/angular-google-maps/src/coffee/directives/search-box.coffee | FirstDateApp/FirstDateApp.github.io | 2 | ###
!
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... | 121903 | ###
!
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": "\n# Copyright (C) 2013 Mikhail Mukovnikov <m.mukovnikov@gmail.com>\n\n# Permission is hereby ",
"end": 40,
"score": 0.999872088432312,
"start": 22,
"tag": "NAME",
"value": "Mikhail Mukovnikov"
},
{
"context": "\n# Copyright (C) 2013 Mikhail Mukovnikov <m.mukovnikov@gmai... | source/frontend.coffee | gema-arta/darkjpeg.github.io | 1 |
# Copyright (C) 2013 Mikhail Mukovnikov <m.mukovnikov@gmail.com>
# 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,... | 70203 |
# Copyright (C) 2013 <NAME> <<EMAIL>>
# 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, merge, publish,
# ... | true |
# Copyright (C) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, cop... |
[
{
"context": "un\")\n\ngenid = (len = 16, prefix = \"\", keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\") ->\n prefix += keyspace.charAt(Math.floor(Math.",
"end": 554,
"score": 0.99964839220047,
"start": 492,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZab... | index.coffee | biomassives/plunker_run | 2 | express = require("express")
nconf = require("nconf")
_ = require("underscore")._
validator = require("json-schema")
mime = require("mime")
url = require("url")
request = require("request")
path = require("path")
#ga = require("node-ga")
genid = require("genid")
lactate = require("lactate")
path = require("path")
fs = ... | 83279 | express = require("express")
nconf = require("nconf")
_ = require("underscore")._
validator = require("json-schema")
mime = require("mime")
url = require("url")
request = require("request")
path = require("path")
#ga = require("node-ga")
genid = require("genid")
lactate = require("lactate")
path = require("path")
fs = ... | true | express = require("express")
nconf = require("nconf")
_ = require("underscore")._
validator = require("json-schema")
mime = require("mime")
url = require("url")
request = require("request")
path = require("path")
#ga = require("node-ga")
genid = require("genid")
lactate = require("lactate")
path = require("path")
fs = ... |
[
{
"context": " document.getElementById('client-id')\nclientId = '1d228d706ce170d61f9368b5967bd7a1641e6ecf742434dc198047f1a36a930a'\nredirect = 'http://localhost:8000/'\nscopes = [\n ",
"end": 364,
"score": 0.9995992183685303,
"start": 300,
"tag": "KEY",
"value": "1d228d706ce170d61f9368b5967b... | test/init.coffee | teamsnap/teamsnap-javascript-sdk | 9 | chai.should()
window.expect = chai.expect
authSection = document.getElementById('auth')
authButton = document.getElementById('auth-button')
apiInput = document.getElementById('api-url')
authInput = document.getElementById('auth-url')
clientIdInput = document.getElementById('client-id')
clientId = '1d228d706ce170d61f93... | 168159 | chai.should()
window.expect = chai.expect
authSection = document.getElementById('auth')
authButton = document.getElementById('auth-button')
apiInput = document.getElementById('api-url')
authInput = document.getElementById('auth-url')
clientIdInput = document.getElementById('client-id')
clientId = '<KEY>'
redirect = 'h... | true | chai.should()
window.expect = chai.expect
authSection = document.getElementById('auth')
authButton = document.getElementById('auth-button')
apiInput = document.getElementById('api-url')
authInput = document.getElementById('auth-url')
clientIdInput = document.getElementById('client-id')
clientId = 'PI:KEY:<KEY>END_PI'
... |
[
{
"context": "utConfigs: [\n input 'user.email', 'youremail@somewhere.com', 'email input required'\n input 'user.passwor",
"end": 485,
"score": 0.9999207854270935,
"start": 462,
"tag": "EMAIL",
"value": "youremail@somewhere.com"
},
{
"context": "ut required'\n i... | src/views/screens/payment.coffee | verus-io/crowdstart-checkout | 14 | crowdcontrol = require 'crowdcontrol'
Events = crowdcontrol.Events
Screen = require './screen'
analytics = require '../../utils/analytics'
input = require '../../utils/input'
require 'card/src/coffee/card'
require('style-inject') require 'card/src/scss/card'
class Payment extends Screen
tag: 'payment'
html: ... | 194744 | crowdcontrol = require 'crowdcontrol'
Events = crowdcontrol.Events
Screen = require './screen'
analytics = require '../../utils/analytics'
input = require '../../utils/input'
require 'card/src/coffee/card'
require('style-inject') require 'card/src/scss/card'
class Payment extends Screen
tag: 'payment'
html: ... | true | crowdcontrol = require 'crowdcontrol'
Events = crowdcontrol.Events
Screen = require './screen'
analytics = require '../../utils/analytics'
input = require '../../utils/input'
require 'card/src/coffee/card'
require('style-inject') require 'card/src/scss/card'
class Payment extends Screen
tag: 'payment'
html: ... |
[
{
"context": "t '/admin/login'\n .send 'alias=fool&password=1234567' \n .expect 303 \n",
"end": 657,
"score": 0.9992937445640564,
"start": 650,
"tag": "PASSWORD",
"value": "1234567"
}
] | coffees/test-with-supertest.coffee | android1and1/tickets | 0 | request = require 'supertest'
assert = require 'assert'
agent = undefined
describe 'project unit test::',->
before ->
agent = request 'http://localhost:3003'
it 'should access first page successfully::',->
agent.get '/'
.then (res)->
assert.notEqual -1,(res.text.indexOf 'placeholder')
descr... | 70975 | request = require 'supertest'
assert = require 'assert'
agent = undefined
describe 'project unit test::',->
before ->
agent = request 'http://localhost:3003'
it 'should access first page successfully::',->
agent.get '/'
.then (res)->
assert.notEqual -1,(res.text.indexOf 'placeholder')
descr... | true | request = require 'supertest'
assert = require 'assert'
agent = undefined
describe 'project unit test::',->
before ->
agent = request 'http://localhost:3003'
it 'should access first page successfully::',->
agent.get '/'
.then (res)->
assert.notEqual -1,(res.text.indexOf 'placeholder')
descr... |
[
{
"context": " options =\n uri: 'https://api.github.com/repos/atom/atom/releases'\n method: 'POST'\n headers: de",
"end": 5592,
"score": 0.6281500458717346,
"start": 5588,
"tag": "USERNAME",
"value": "atom"
},
{
"context": "\n accessKeyId: s3Key\n secretAccessKey: ... | build/tasks/publish-build-task.coffee | chfritz/atom | 7 | child_process = require 'child_process'
path = require 'path'
_ = require 'underscore-plus'
async = require 'async'
fs = require 'fs-plus'
GitHub = require 'github-releases'
request = require 'request'
AWS = require 'aws-sdk'
grunt = null
token = process.env.ATOM_ACCESS_TOKEN
defaultHeaders =
Authorization: "token... | 31913 | child_process = require 'child_process'
path = require 'path'
_ = require 'underscore-plus'
async = require 'async'
fs = require 'fs-plus'
GitHub = require 'github-releases'
request = require 'request'
AWS = require 'aws-sdk'
grunt = null
token = process.env.ATOM_ACCESS_TOKEN
defaultHeaders =
Authorization: "token... | true | child_process = require 'child_process'
path = require 'path'
_ = require 'underscore-plus'
async = require 'async'
fs = require 'fs-plus'
GitHub = require 'github-releases'
request = require 'request'
AWS = require 'aws-sdk'
grunt = null
token = process.env.ATOM_ACCESS_TOKEN
defaultHeaders =
Authorization: "token... |
[
{
"context": ".Log.create(@Cypress, @cy)\n\n obj = {name: \"foo\", ctx: @cy, fn: (->), args: [1,2,3], type: \"paren",
"end": 15878,
"score": 0.545401394367218,
"start": 15875,
"tag": "NAME",
"value": "foo"
}
] | packages/driver/test/unit_old/cypress/log_spec.coffee | Everworks/cypress | 3 | { $, _, Promise } = window.testUtils
describe "$Cypress.Log API", ->
describe "instances", ->
beforeEach ->
@Cypress = $Cypress.create()
@Cypress.setConfig({})
@log = new $Cypress.Log @Cypress
it "sets state to pending by default", ->
expect(@log.attributes).to.deep.eq {
id:... | 36442 | { $, _, Promise } = window.testUtils
describe "$Cypress.Log API", ->
describe "instances", ->
beforeEach ->
@Cypress = $Cypress.create()
@Cypress.setConfig({})
@log = new $Cypress.Log @Cypress
it "sets state to pending by default", ->
expect(@log.attributes).to.deep.eq {
id:... | true | { $, _, Promise } = window.testUtils
describe "$Cypress.Log API", ->
describe "instances", ->
beforeEach ->
@Cypress = $Cypress.create()
@Cypress.setConfig({})
@log = new $Cypress.Log @Cypress
it "sets state to pending by default", ->
expect(@log.attributes).to.deep.eq {
id:... |
[
{
"context": "s = require '../'\n\nconsole.log utils.isPrivateIp('192.168.1.1') # true\nconsole.log utils.isPrivateIp('172.168.1",
"end": 65,
"score": 0.999643087387085,
"start": 54,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": "2.168.1.1') # true\nconsole.log utils.is... | example/ip.coffee | restman/restman-utils | 0 | utils = require '../'
console.log utils.isPrivateIp('192.168.1.1') # true
console.log utils.isPrivateIp('172.168.1.1') # false | 87851 | utils = require '../'
console.log utils.isPrivateIp('192.168.1.1') # true
console.log utils.isPrivateIp('172.16.17.32') # false | true | utils = require '../'
console.log utils.isPrivateIp('192.168.1.1') # true
console.log utils.isPrivateIp('PI:IP_ADDRESS:172.16.17.32END_PI') # false |
[
{
"context": "bark', ->\n beforeEach ->\n @room.user.say 'briancoia', 'bark'\n\n it 'should reply bark(s) to",
"end": 375,
"score": 0.7175812721252441,
"start": 374,
"tag": "USERNAME",
"value": "b"
},
{
"context": "ark', ->\n beforeEach ->\n @room.user.say 'brianco... | tests/scripts/test_bark.coffee | fangamer/ibizan | 0 |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
# helper loads a specific script if it's a file
helper = new Helper('../../src/scripts/bark.coffee')
describe 'bark', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user sa... | 506 |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
# helper loads a specific script if it's a file
helper = new Helper('../../src/scripts/bark.coffee')
describe 'bark', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user sa... | true |
Helper = require('hubot-test-helper')
expect = require('chai').expect
http = require('http')
# helper loads a specific script if it's a file
helper = new Helper('../../src/scripts/bark.coffee')
describe 'bark', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
context 'user sa... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.5491939187049866,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/visualization/NodeStyler.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 80332 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": " fritzBoxPro for Übersicht\n# Created April 2020 by Johannes Hubig\n\n# Position of the widget on your screen\npos_top\t",
"end": 140,
"score": 0.9998595714569092,
"start": 126,
"tag": "NAME",
"value": "Johannes Hubig"
}
] | fritzBoxPro.widget/index.coffee | jhubig/uebersicht-widget-fritzBoxPro | 3 | #-----------------------------------------------------------------------#
# fritzBoxPro for Übersicht
# Created April 2020 by Johannes Hubig
# Position of the widget on your screen
pos_top = '120px'
pos_left = '370px'
#-----------------------------------------------------------------------#
command: "fritzBoxPro.wi... | 75454 | #-----------------------------------------------------------------------#
# fritzBoxPro for Übersicht
# Created April 2020 by <NAME>
# Position of the widget on your screen
pos_top = '120px'
pos_left = '370px'
#-----------------------------------------------------------------------#
command: "fritzBoxPro.widget/fri... | true | #-----------------------------------------------------------------------#
# fritzBoxPro for Übersicht
# Created April 2020 by PI:NAME:<NAME>END_PI
# Position of the widget on your screen
pos_top = '120px'
pos_left = '370px'
#-----------------------------------------------------------------------#
command: "fritzBox... |
[
{
"context": "ions' mixin unit-tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\neval(Test.bu",
"end": 80,
"score": 0.9998878240585327,
"start": 63,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/core/test/options_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The 'Options' mixin unit-tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
eval(Test.build)
Lovely = this.Lovely
describe 'Options', ->
Class = Lovely.Class
Options = Lovely.Options
# a simple options module usage
Simple = new Class
include: Options
ext... | 98419 | #
# The 'Options' mixin unit-tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
eval(Test.build)
Lovely = this.Lovely
describe 'Options', ->
Class = Lovely.Class
Options = Lovely.Options
# a simple options module usage
Simple = new Class
include: Options
extend:
... | true | #
# The 'Options' mixin unit-tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
eval(Test.build)
Lovely = this.Lovely
describe 'Options', ->
Class = Lovely.Class
Options = Lovely.Options
# a simple options module usage
Simple = new Class
include: Options
... |
[
{
"context": " like below:\n # \"params\": {\n # \"keywords\": \"rainbow\",\n # \"limit\": \"25\",\n # \"offset\": \"1\",\n",
"end": 375,
"score": 0.4364684820175171,
"start": 371,
"tag": "PASSWORD",
"value": "rain"
}
] | src/etsyjs/search.coffee | madajaju/etsy-js | 2 | class Search
# An odd thing I found out about the Etsy API is that it returns differnt types in param
# depending on whether you set the limit and offset values or not.
# If none are specified then limit and offset are returned as int's, but if they are specified
# due to pagination, they the API returns string... | 64852 | class Search
# An odd thing I found out about the Etsy API is that it returns differnt types in param
# depending on whether you set the limit and offset values or not.
# If none are specified then limit and offset are returned as int's, but if they are specified
# due to pagination, they the API returns string... | true | class Search
# An odd thing I found out about the Etsy API is that it returns differnt types in param
# depending on whether you set the limit and offset values or not.
# If none are specified then limit and offset are returned as int's, but if they are specified
# due to pagination, they the API returns string... |
[
{
"context": "# Droplet JavaScript mode\n#\n# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com)\n# MIT License.\n\nhelper = requ",
"end": 60,
"score": 0.9998623132705688,
"start": 49,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "vaScript mode\n#\n# Copyright (c) 2015 Antho... | src/languages/javascript.coffee | cacticouncil/droplet | 3 | # Droplet JavaScript mode
#
# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com)
# MIT License.
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
acorn = require '../../vendor/acorn'
STATEMENT_NODE_TYPES = [
'ExpressionStatement'
'ReturnStatement'
'BreakS... | 72272 | # Droplet JavaScript mode
#
# Copyright (c) 2015 <NAME> (<EMAIL>)
# MIT License.
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
acorn = require '../../vendor/acorn'
STATEMENT_NODE_TYPES = [
'ExpressionStatement'
'ReturnStatement'
'BreakStatement'
'Th... | true | # Droplet JavaScript mode
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT License.
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
acorn = require '../../vendor/acorn'
STATEMENT_NODE_TYPES = [
'ExpressionStatement'
'ReturnStatem... |
[
{
"context": "uest\n\t\t@project_id = \"3213213kl12j\"\n\t\t@user_id = \"2k3jlkjs9\"\n\t\t@messageContent = \"my message here\"\n\n\t",
"end": 611,
"score": 0.7727916240692139,
"start": 610,
"tag": "USERNAME",
"value": "2"
},
{
"context": "est\n\t\t@project_id = \"3213213kl12j\"\n\t\... | test/UnitTests/coffee/Chat/ChatHandlerTests.coffee | mickaobrien/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Chat/ChatHandler"
expect = require("chai").expect
describe "ChatHandler", ->
beforeEach ->
@sett... | 205808 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Chat/ChatHandler"
expect = require("chai").expect
describe "ChatHandler", ->
beforeEach ->
@sett... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/Chat/ChatHandler"
expect = require("chai").expect
describe "ChatHandler", ->
beforeEach ->
@sett... |
[
{
"context": "qual(\"<Asset><Attribute name=\\\"Name\\\" act=\\\"set\\\">Bobby</Attribute><Attribute name=\\\"Nickname\\\" act=\\\"set",
"end": 1068,
"score": 0.9044599533081055,
"start": 1063,
"tag": "NAME",
"value": "Bobby"
},
{
"context": "ttribute><Attribute name=\\\"Nickname\\\"... | tests/Backbone.sync.update.coffee | versionone/V1.Backbone | 1 | V1 = require('../V1.Backbone')
expect = require('chai').expect
deferred = require('JQDeferred')
describe "Updating model", ->
createPersister = (fn) ->
persisterOptions =
url: "/VersionOne/rest-1.v1/Data"
post: ->
fn.apply(this, arguments)
deferred().resolve()
new V1.... | 164860 | V1 = require('../V1.Backbone')
expect = require('chai').expect
deferred = require('JQDeferred')
describe "Updating model", ->
createPersister = (fn) ->
persisterOptions =
url: "/VersionOne/rest-1.v1/Data"
post: ->
fn.apply(this, arguments)
deferred().resolve()
new V1.... | true | V1 = require('../V1.Backbone')
expect = require('chai').expect
deferred = require('JQDeferred')
describe "Updating model", ->
createPersister = (fn) ->
persisterOptions =
url: "/VersionOne/rest-1.v1/Data"
post: ->
fn.apply(this, arguments)
deferred().resolve()
new V1.... |
[
{
"context": "t: null\n standalone: true\n annotation_key: 'value'\n focus: true\n\n componentWillReceiveProps: ->",
"end": 1422,
"score": 0.5382892489433289,
"start": 1417,
"tag": "KEY",
"value": "value"
}
] | app/assets/javascripts/components/transcribe/tools/text-area-tool/index_old.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | # @cjsx React.DOM
React = require 'react'
Draggable = require '../../../../lib/draggable'
DoneButton = require './done-button'
PrevButton = require './prev-button'
TextAreaTool = React.createClass
displayName: 'TextAreaTool'
handleInitStart: (e) ->
@setState preventDrag: false
if e.target.nodeName i... | 75080 | # @cjsx React.DOM
React = require 'react'
Draggable = require '../../../../lib/draggable'
DoneButton = require './done-button'
PrevButton = require './prev-button'
TextAreaTool = React.createClass
displayName: 'TextAreaTool'
handleInitStart: (e) ->
@setState preventDrag: false
if e.target.nodeName i... | true | # @cjsx React.DOM
React = require 'react'
Draggable = require '../../../../lib/draggable'
DoneButton = require './done-button'
PrevButton = require './prev-button'
TextAreaTool = React.createClass
displayName: 'TextAreaTool'
handleInitStart: (e) ->
@setState preventDrag: false
if e.target.nodeName i... |
[
{
"context": " =\n '<!DOCTYPE html>' + # doctype\n '<h1>Willow ' + # Tag containing chars\n '<EM ID=h1 CLA",
"end": 252,
"score": 0.9978001117706299,
"start": 246,
"tag": "NAME",
"value": "Willow"
},
{
"context": " html']\n ['start', 'h1', {}]\n ['text', 'W... | test/parse.mocha.coffee | kantele/k-html-util | 86 | expect = require 'expect.js'
html = require '../lib'
describe 'parse', ->
it 'should parse with no handlers', ->
html.parse '<p id=stuff>Heyo</p>'
it 'should parse basic HTML', ->
s =
'<!DOCTYPE html>' + # doctype
'<h1>Willow ' + # Tag containing chars
'<EM ID=h1 CLASS=head>' + # Nest... | 159896 | expect = require 'expect.js'
html = require '../lib'
describe 'parse', ->
it 'should parse with no handlers', ->
html.parse '<p id=stuff>Heyo</p>'
it 'should parse basic HTML', ->
s =
'<!DOCTYPE html>' + # doctype
'<h1><NAME> ' + # Tag containing chars
'<EM ID=h1 CLASS=head>' + # Nest... | true | expect = require 'expect.js'
html = require '../lib'
describe 'parse', ->
it 'should parse with no handlers', ->
html.parse '<p id=stuff>Heyo</p>'
it 'should parse basic HTML', ->
s =
'<!DOCTYPE html>' + # doctype
'<h1>PI:NAME:<NAME>END_PI ' + # Tag containing chars
'<EM ID=h1 CLASS=h... |
[
{
"context": " node = new Node\n node.mx_hash.hash_key = 'indent'\n ret_value.push [node]\n last_space += ",
"end": 773,
"score": 0.4964137077331543,
"start": 767,
"tag": "KEY",
"value": "indent"
},
{
"context": " node = new Node\n node.mx_hash.hash_key = 'ded... | src/tokenizer.coffee | hu2prod/scriptscript | 1 | require 'fy'
{Token_parser, Tokenizer, Node} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by de... | 154141 | require 'fy'
{Token_parser, Tokenizer, Node} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by de... | true | require 'fy'
{Token_parser, Tokenizer, Node} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by de... |
[
{
"context": "id\n api_key: Evercam.User.api_key\n name: name\n before: $(\"#compare_before\").attr(\"timestam",
"end": 9730,
"score": 0.9032946825027466,
"start": 9726,
"tag": "NAME",
"value": "name"
}
] | data/coffeescript/ce20e6a00f89c28c2e9984ea6411656e_compare.js.coffee | maxim5/code-inspector | 5 | imagesCompare = undefined
clearTimeOut = null
xhrChangeMonth = null
window.sendRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrChangeMonth = $.ajax(settings)
initCompare = ->
imagesComp... | 143027 | imagesCompare = undefined
clearTimeOut = null
xhrChangeMonth = null
window.sendRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrChangeMonth = $.ajax(settings)
initCompare = ->
imagesComp... | true | imagesCompare = undefined
clearTimeOut = null
xhrChangeMonth = null
window.sendRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrChangeMonth = $.ajax(settings)
initCompare = ->
imagesComp... |
[
{
"context": "# @file hslToRgb.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 60,
"score": 0.9998040199279785,
"start": 46,
"tag": "NAME",
"value": "Taylor Siviter"
},
{
"context": "B.\n# Code adapted from:\n# @see https://git... | src/util/hslToRgb.coffee | siviter-t/lampyridae.coffee | 4 | # @file hslToRgb.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Converts HSL colour to RGB.
# Code adapted from:
# @see https://github.com/bgrins/TinyColor
# @see http://serenn... | 91637 | # @file hslToRgb.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Converts HSL colour to RGB.
# Code adapted from:
# @see https://github.com/bgrins/TinyColor
# @see http://serennu.com/co... | true | # @file hslToRgb.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Converts HSL colour to RGB.
# Code adapted from:
# @see https://github.com/bgrins/TinyColor
# @see http://... |
[
{
"context": "<query> against docs.couchbase.com\n#\n# Author:\n# Brian Shumate <brian@couchbase.com>\n\nmodule.exports = (robot) -",
"end": 247,
"score": 0.999872088432312,
"start": 234,
"tag": "NAME",
"value": "Brian Shumate"
},
{
"context": "docs.couchbase.com\n#\n# Author:\n# ... | hubot-scripts/docme.coffee | balanced-ops/wubot | 0 | # Description:
# Returns URL to first Google hit on docs site for the query
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot doc me <query> - Googles <query> against docs.couchbase.com
#
# Author:
# Brian Shumate <brian@couchbase.com>
module.exports = (robot) ->
robot.respond /(doc... | 11330 | # Description:
# Returns URL to first Google hit on docs site for the query
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot doc me <query> - Googles <query> against docs.couchbase.com
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.respond /(doc)( me)? (.*)/i, (ms... | true | # Description:
# Returns URL to first Google hit on docs site for the query
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot doc me <query> - Googles <query> against docs.couchbase.com
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.res... |
[
{
"context": "Welcome:\n tabTitle: \"Benvenuto\"\n subtitle: {\n text1: \"Un editor di test hack",
"end": 31,
"score": 0.8217002153396606,
"start": 22,
"tag": "NAME",
"value": "Benvenuto"
}
] | def/it/welcome.cson | dominicus75/atom-i18n | 1 | Welcome:
tabTitle: "Benvenuto"
subtitle: {
text1: "Un editor di test hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per Guide e consultazione delle API.... | 163591 | Welcome:
tabTitle: "<NAME>"
subtitle: {
text1: "Un editor di test hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per Guide e consultazione delle API."
... | true | Welcome:
tabTitle: "PI:NAME:<NAME>END_PI"
subtitle: {
text1: "Un editor di test hackerabile per il 21"
superscript: "o"
text2: " secolo"
}
help: {
forHelpVisit: "Per supporto, visita"
atomDocs: {
text1: "La "
link: "documentazione di Atom"
text2: " per Guide e consultazione... |
[
{
"context": "a\n songs = [\n {\n artist:\n alias: 'Aygahzu'\n avatar: 'https://d1hmps6uc7xmb3.cloudfro",
"end": 295,
"score": 0.9965378046035767,
"start": 288,
"tag": "NAME",
"value": "Aygahzu"
},
{
"context": "mments: [\n {\n 'author': 'alias'... | app/js/features/songs/song_service.coffee | 17thDimension/ionic-song-a-day | 0 | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "SongService", ->
# Might use a resource here that returns a JSON array
# coffeelint: disable=max_line_length
# Some fake testing data
songs = [
{
artist:
alias: 'Aygahzu'
avatar: 'https:... | 160094 | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "SongService", ->
# Might use a resource here that returns a JSON array
# coffeelint: disable=max_line_length
# Some fake testing data
songs = [
{
artist:
alias: '<NAME>'
avatar: 'https:/... | true | ###
A simple example service that returns some data.
###
angular.module("ionicstarter")
.factory "SongService", ->
# Might use a resource here that returns a JSON array
# coffeelint: disable=max_line_length
# Some fake testing data
songs = [
{
artist:
alias: 'PI:NAME:<NAME>END_PI'
av... |
[
{
"context": "el.coffee: Github label class\n#\n# Copyright © 2014 Matthew Taylor. All rights reserved\n#\n\n# Initiate class\nclass La",
"end": 72,
"score": 0.9997609257698059,
"start": 58,
"tag": "NAME",
"value": "Matthew Taylor"
}
] | src/octonode/label.coffee | noblejasper/octonode | 0 | #
# label.coffee: Github label class
#
# Copyright © 2014 Matthew Taylor. All rights reserved
#
# Initiate class
class Label
constructor: (@repo, @name, @client) ->
# Get a single label
# '/repos/pksunkara/hub/labels/todo' GET
info: (cb) ->
@client.get encodeURI("/repos/#{@repo}/labels/#{@name}"), (err, ... | 74837 | #
# label.coffee: Github label class
#
# Copyright © 2014 <NAME>. All rights reserved
#
# Initiate class
class Label
constructor: (@repo, @name, @client) ->
# Get a single label
# '/repos/pksunkara/hub/labels/todo' GET
info: (cb) ->
@client.get encodeURI("/repos/#{@repo}/labels/#{@name}"), (err, s, b, h)... | true | #
# label.coffee: Github label class
#
# Copyright © 2014 PI:NAME:<NAME>END_PI. All rights reserved
#
# Initiate class
class Label
constructor: (@repo, @name, @client) ->
# Get a single label
# '/repos/pksunkara/hub/labels/todo' GET
info: (cb) ->
@client.get encodeURI("/repos/#{@repo}/labels/#{@name}"), ... |
[
{
"context": " cb = cb or ->\n voice_map =\n male: 'Alex'\n female: 'Kathy'\n voice = voice_map[",
"end": 269,
"score": 0.9996880888938904,
"start": 265,
"tag": "NAME",
"value": "Alex"
},
{
"context": "voice_map =\n male: 'Alex'\n female: 'Kath... | lib/notifiers/voice.coffee | hybridknight/notifyme | 1 | say = require 'say'
Notifer = require './notifier'
module.exports = do ->
return class VoiceNotifier extends Notifer
name: 'voice'
should_be_used: (argv)-> argv.voice
notify: (argv, message, cb)->
cb = cb or ->
voice_map =
male: 'Alex'
female: 'Kathy'
voice = voice_map[a... | 15895 | say = require 'say'
Notifer = require './notifier'
module.exports = do ->
return class VoiceNotifier extends Notifer
name: 'voice'
should_be_used: (argv)-> argv.voice
notify: (argv, message, cb)->
cb = cb or ->
voice_map =
male: '<NAME>'
female: '<NAME>'
voice = voice_ma... | true | say = require 'say'
Notifer = require './notifier'
module.exports = do ->
return class VoiceNotifier extends Notifer
name: 'voice'
should_be_used: (argv)-> argv.voice
notify: (argv, message, cb)->
cb = cb or ->
voice_map =
male: 'PI:NAME:<NAME>END_PI'
female: 'PI:NAME:<NAME>EN... |
[
{
"context": "o effect on the front end.\n\t\t# https://github.com/paramander/contentful-rich-text-vue-renderer/issues/29\n\t\t# h",
"end": 3644,
"score": 0.9996505975723267,
"start": 3634,
"tag": "USERNAME",
"value": "paramander"
},
{
"context": "Node, value: v }\n\t\t\t\t\t\t\t\t{ ... | components/rich-text/rich-text.coffee | BKWLD/cloak-copy | 0 | # Render rich text content from Contentful
import RichTextRenderer from 'contentful-rich-text-vue-renderer'
import { INLINES, BLOCKS } from '@contentful/rich-text-types'
# ContentfulVisual used to render image assets
import ContentfulVisual from '@bkwld/cloak/components/contentful-visual.coffee'
# Query to get embedd... | 22650 | # Render rich text content from Contentful
import RichTextRenderer from 'contentful-rich-text-vue-renderer'
import { INLINES, BLOCKS } from '@contentful/rich-text-types'
# ContentfulVisual used to render image assets
import ContentfulVisual from '@bkwld/cloak/components/contentful-visual.coffee'
# Query to get embedd... | true | # Render rich text content from Contentful
import RichTextRenderer from 'contentful-rich-text-vue-renderer'
import { INLINES, BLOCKS } from '@contentful/rich-text-types'
# ContentfulVisual used to render image assets
import ContentfulVisual from '@bkwld/cloak/components/contentful-visual.coffee'
# Query to get embedd... |
[
{
"context": "s.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoiYXRvbmV2c2tpIiwiYSI6ImNpdzBndWY0azAwMXoyb3BqYXU2NDhoajEifQ.ESeiramSy2FmzU_XyIT6IQ', {\n maxZoom: 18\n id: 'mapbox.streets'\n }\n",
"end": 393,
"score": 0.9993910789489746,
"start": 301,
"tag": "KEY",
"value": "... | www/coffee/map.coffee | atonevski/pos | 0 | #
# map.coffee
# POS
#
angular.module 'app.map', []
.controller 'MapCurrentPosition', ($scope, $rootScope, $window
, $ionicScrollDelegate, $ionicPosition, $cordovaVibration) ->
$scope.map = L.map('mapid').fitWorld()
L.tileLayer 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoiYXRvbmV2... | 10819 | #
# map.coffee
# POS
#
angular.module 'app.map', []
.controller 'MapCurrentPosition', ($scope, $rootScope, $window
, $ionicScrollDelegate, $ionicPosition, $cordovaVibration) ->
$scope.map = L.map('mapid').fitWorld()
L.tileLayer 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>', {
maxZo... | true | #
# map.coffee
# POS
#
angular.module 'app.map', []
.controller 'MapCurrentPosition', ($scope, $rootScope, $window
, $ionicScrollDelegate, $ionicPosition, $cordovaVibration) ->
$scope.map = L.map('mapid').fitWorld()
L.tileLayer 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=PI:KEY:<KEY>END_PI'... |
[
{
"context": "て言葉足らずにしてあるので、研修生に対してきちんとフォローすること。\n#\n# Author:\n# miura-simpline <miura.daisuke@simpline.co.jp>\n\nmodule.exports = ",
"end": 371,
"score": 0.9786186218261719,
"start": 357,
"tag": "USERNAME",
"value": "miura-simpline"
},
{
"context": "に対してきちんとフォローすること。\n#\n# Author... | scripts/training2nd.coffee | simpline/TrainingBotCustomer | 0 | # Description:
# The 2nd day of Training - 研修2日目
#
# Commands:
# customer ご用件を伺いに来ました。
# customer Wordpressを立てたことを報告しに来ました。
# customer MovableTypeに変更したことを報告しに来ました。
# customer Wordpressに戻したことを報告しに来ました。
# customer 障害とその原因について報告しに来ました。{障害内容と原因}
# customer 復旧したことを報告しに来ました。
#
# Notes:
# この内容はあえて言葉足らずにしてあるので、... | 51091 | # Description:
# The 2nd day of Training - 研修2日目
#
# Commands:
# customer ご用件を伺いに来ました。
# customer Wordpressを立てたことを報告しに来ました。
# customer MovableTypeに変更したことを報告しに来ました。
# customer Wordpressに戻したことを報告しに来ました。
# customer 障害とその原因について報告しに来ました。{障害内容と原因}
# customer 復旧したことを報告しに来ました。
#
# Notes:
# この内容はあえて言葉足らずにしてあるので、... | true | # Description:
# The 2nd day of Training - 研修2日目
#
# Commands:
# customer ご用件を伺いに来ました。
# customer Wordpressを立てたことを報告しに来ました。
# customer MovableTypeに変更したことを報告しに来ました。
# customer Wordpressに戻したことを報告しに来ました。
# customer 障害とその原因について報告しに来ました。{障害内容と原因}
# customer 復旧したことを報告しに来ました。
#
# Notes:
# この内容はあえて言葉足らずにしてあるので、... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.9996296167373657,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/models/all.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 124463 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": " expect(result.resultTree).toEqual\n name: 'test-name'\n children: [\n {name: 'a', value: 'a'",
"end": 404,
"score": 0.9321354031562805,
"start": 395,
"tag": "NAME",
"value": "test-name"
},
{
"context": " expect(result.resultTree).toEqual\n nam... | web/spec/result/result-view-spec.coffee | ebakke/grails-console | 54 | describe 'App.Result.ResultView', ->
beforeEach ->
@model = new App.Result.Result
@view = new App.Result.ResultView
model: @model
afterEach ->
it 'should convertTreeNode', ->
@model.set
result: 'test-name'
resultTree:
a: 'a'
b: 'b'
input: 'test'
result =... | 164560 | describe 'App.Result.ResultView', ->
beforeEach ->
@model = new App.Result.Result
@view = new App.Result.ResultView
model: @model
afterEach ->
it 'should convertTreeNode', ->
@model.set
result: 'test-name'
resultTree:
a: 'a'
b: 'b'
input: 'test'
result =... | true | describe 'App.Result.ResultView', ->
beforeEach ->
@model = new App.Result.Result
@view = new App.Result.ResultView
model: @model
afterEach ->
it 'should convertTreeNode', ->
@model.set
result: 'test-name'
resultTree:
a: 'a'
b: 'b'
input: 'test'
result =... |
[
{
"context": "describe 'model', ->\n user = 'test@abc.com'\n key = null\n csr = null\n crt = null\n\n it 'cr",
"end": 43,
"score": 0.9998891949653625,
"start": 31,
"tag": "EMAIL",
"value": "test@abc.com"
}
] | backend/test/unit/1-model/cert.coffee | twhtanghk/ca | 0 | describe 'model', ->
user = 'test@abc.com'
key = null
csr = null
crt = null
it 'create user', ->
sails.models.user
.findOrCreate {email: user}, {email: user}
it 'create private key', ->
sails.models.cert.createPrivateKey()
.then (newkey) ->
key = newkey
it 'create csr', ->
... | 15694 | describe 'model', ->
user = '<EMAIL>'
key = null
csr = null
crt = null
it 'create user', ->
sails.models.user
.findOrCreate {email: user}, {email: user}
it 'create private key', ->
sails.models.cert.createPrivateKey()
.then (newkey) ->
key = newkey
it 'create csr', ->
sa... | true | describe 'model', ->
user = 'PI:EMAIL:<EMAIL>END_PI'
key = null
csr = null
crt = null
it 'create user', ->
sails.models.user
.findOrCreate {email: user}, {email: user}
it 'create private key', ->
sails.models.cert.createPrivateKey()
.then (newkey) ->
key = newkey
it 'create ... |
[
{
"context": "root'\n password: process.env.EPX_DB_PASS or '1tism0db'\n host: process.env.EPX_DB_HOST or 'localhos",
"end": 569,
"score": 0.999223530292511,
"start": 561,
"tag": "PASSWORD",
"value": "1tism0db"
},
{
"context": "t '/user/create/'\n .send\n ema... | tests/core.coffee | evanhuang8/teresa | 0 | ###
Core tests
###
require 'co-mocha'
_ = require 'lodash'
chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
supertest = require 'co-supertest'
request = supertest.agent
moment = require 'moment-timezone'
Q = require 'q'
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
Me... | 141589 | ###
Core tests
###
require 'co-mocha'
_ = require 'lodash'
chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
supertest = require 'co-supertest'
request = supertest.agent
moment = require 'moment-timezone'
Q = require 'q'
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
Me... | true | ###
Core tests
###
require 'co-mocha'
_ = require 'lodash'
chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
supertest = require 'co-supertest'
request = supertest.agent
moment = require 'moment-timezone'
Q = require 'q'
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
Me... |
[
{
"context": "r\"\n assert.equal tl[3][0].mx_hash.hash_key, \"dedent\"\n \n describe \"Comments\", ()->\n it \"should to",
"end": 7915,
"score": 0.9753457903862,
"start": 7909,
"tag": "KEY",
"value": "dedent"
},
{
"context": "r\"\n assert.equal tl[3][0].mx_hash.hash_ke... | test/tokenizer.coffee | hu2prod/scriptscript | 1 | assert = require 'assert'
util = require 'fy/test_util'
fs = require 'fs'
path = require 'path'
g = require '../src/tokenizer'
pub = require '../src/index'
describe 'tokenizer section', ()->
it "public endpoint should works", (done)->
await pub.tokenize "id", {}, defer(err, v)
assert.equal v.length, 1
a... | 149742 | assert = require 'assert'
util = require 'fy/test_util'
fs = require 'fs'
path = require 'path'
g = require '../src/tokenizer'
pub = require '../src/index'
describe 'tokenizer section', ()->
it "public endpoint should works", (done)->
await pub.tokenize "id", {}, defer(err, v)
assert.equal v.length, 1
a... | true | assert = require 'assert'
util = require 'fy/test_util'
fs = require 'fs'
path = require 'path'
g = require '../src/tokenizer'
pub = require '../src/index'
describe 'tokenizer section', ()->
it "public endpoint should works", (done)->
await pub.tokenize "id", {}, defer(err, v)
assert.equal v.length, 1
a... |
[
{
"context": ".findOne({ space: space, user: this.userId, key: 'start_flows' }, { fields: { value: 1 } })\n\n\t\tstart_flows = ke",
"end": 149,
"score": 0.8935408592224121,
"start": 138,
"tag": "KEY",
"value": "start_flows"
},
{
"context": " }, { space: space, user: this.userId, key:... | creator/packages/steedos-workflow/server/methods/start_flow.coffee | yicone/steedos-platform | 42 | Meteor.methods
start_flow: (space, flowId, start) ->
keyValue = db.steedos_keyvalues.findOne({ space: space, user: this.userId, key: 'start_flows' }, { fields: { value: 1 } })
start_flows = keyValue?.value || []
if start
start_flows.push(flowId)
start_flows = _.uniq(start_flows)
else
start_flows.r... | 55524 | Meteor.methods
start_flow: (space, flowId, start) ->
keyValue = db.steedos_keyvalues.findOne({ space: space, user: this.userId, key: '<KEY>' }, { fields: { value: 1 } })
start_flows = keyValue?.value || []
if start
start_flows.push(flowId)
start_flows = _.uniq(start_flows)
else
start_flows.remove(... | true | Meteor.methods
start_flow: (space, flowId, start) ->
keyValue = db.steedos_keyvalues.findOne({ space: space, user: this.userId, key: 'PI:KEY:<KEY>END_PI' }, { fields: { value: 1 } })
start_flows = keyValue?.value || []
if start
start_flows.push(flowId)
start_flows = _.uniq(start_flows)
else
start_... |
[
{
"context": "cape(body.email).trim().toLowerCase()\n\t\tpassword = body.password\n\t\tusername = email.match(/^[^@]*/)\n\t\tif @hasZeroL",
"end": 835,
"score": 0.9989154934883118,
"start": 822,
"tag": "PASSWORD",
"value": "body.password"
}
] | app/coffee/Features/User/UserRegistrationHandler.coffee | sandstormports/web-sharelatex | 1 | sanitize = require('sanitizer')
User = require("../../models/User").User
UserCreator = require("./UserCreator")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
module... | 172192 | sanitize = require('sanitizer')
User = require("../../models/User").User
UserCreator = require("./UserCreator")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
module... | true | sanitize = require('sanitizer')
User = require("../../models/User").User
UserCreator = require("./UserCreator")
AuthenticationManager = require("../Authentication/AuthenticationManager")
NewsLetterManager = require("../Newsletter/NewsletterManager")
async = require("async")
logger = require("logger-sharelatex")
module... |
[
{
"context": "ription Main module of the application.\n# @author Michael Lin, Snaphappi Inc.\n###\nangular\n.module('starter', [\n",
"end": 122,
"score": 0.9996417760848999,
"start": 111,
"tag": "NAME",
"value": "Michael Lin"
}
] | app/js/app.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc overview
# @name starter
# @description Main module of the application.
# @author Michael Lin, Snaphappi Inc.
###
angular
.module('starter', [
'ionic',
'ngCordova',
'ngStorage'
'partials'
'snappi.util'
'parse.backend'
'parse.push'
'ionic.deploy'
# 'ionic.push'
'auth'
'... | 137877 | 'use strict'
###*
# @ngdoc overview
# @name starter
# @description Main module of the application.
# @author <NAME>, Snaphappi Inc.
###
angular
.module('starter', [
'ionic',
'ngCordova',
'ngStorage'
'partials'
'snappi.util'
'parse.backend'
'parse.push'
'ionic.deploy'
# 'ionic.push'
'auth'
'ngOpe... | true | 'use strict'
###*
# @ngdoc overview
# @name starter
# @description Main module of the application.
# @author PI:NAME:<NAME>END_PI, Snaphappi Inc.
###
angular
.module('starter', [
'ionic',
'ngCordova',
'ngStorage'
'partials'
'snappi.util'
'parse.backend'
'parse.push'
'ionic.deploy'
# 'ionic.push'
'... |
[
{
"context": " create user with specific role: create nexus user testuser1 with any-all-view role\n#to get details of user: p",
"end": 1041,
"score": 0.9994681477546692,
"start": 1032,
"tag": "USERNAME",
"value": "testuser1"
},
{
"context": "iew role\n#to get details of user: print n... | scripts/nexus/scripts-mattermost/Nexus.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
# ... | 11451 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
# ... |
[
{
"context": " - list of all available algorithm\n#\n# Author:\n# knjcode <knjcode@gmail.com>\n\ncodec = require 'string-code",
"end": 654,
"score": 0.9996924996376038,
"start": 647,
"tag": "USERNAME",
"value": "knjcode"
},
{
"context": " all available algorithm\n#\n# Author:\n# ... | src/string-codec.coffee | prototype-cafe/hubot-string-codec | 0 | # Description
# A hubot script that encode/decode string
#
# Configuration:
# None
#
# Commands:
# hubot enc <string> - list various encoded strings
# hubot enc:[algo] <string> - display string encode with specified algorithm
# hubot enc:all <string> - list strings encode with all available algorithm
# hubo... | 92566 | # Description
# A hubot script that encode/decode string
#
# Configuration:
# None
#
# Commands:
# hubot enc <string> - list various encoded strings
# hubot enc:[algo] <string> - display string encode with specified algorithm
# hubot enc:all <string> - list strings encode with all available algorithm
# hubo... | true | # Description
# A hubot script that encode/decode string
#
# Configuration:
# None
#
# Commands:
# hubot enc <string> - list various encoded strings
# hubot enc:[algo] <string> - display string encode with specified algorithm
# hubot enc:all <string> - list strings encode with all available algorithm
# hubo... |
[
{
"context": "\n\n test_extra_url_vars =\n test_key : 'test_value'\n test_key2 : 'test_value2'\n\n image_o",
"end": 685,
"score": 0.9918453097343445,
"start": 675,
"tag": "KEY",
"value": "test_value"
},
{
"context": " test_key : 'test_value'\n test_... | bokehjs/test/models/tiles/dynamic_image_renderer.coffee | azjps/bokeh | 1 | _ = require "underscore"
{expect} = require "chai"
utils = require "../../utils"
{ImageSource} = utils.require "models/tiles/image_source"
describe "dynamic image renderer", ->
describe "image source", ->
it "should handle case-insensitive url parameters (template url)", ->
image_options =
url :... | 195976 | _ = require "underscore"
{expect} = require "chai"
utils = require "../../utils"
{ImageSource} = utils.require "models/tiles/image_source"
describe "dynamic image renderer", ->
describe "image source", ->
it "should handle case-insensitive url parameters (template url)", ->
image_options =
url :... | true | _ = require "underscore"
{expect} = require "chai"
utils = require "../../utils"
{ImageSource} = utils.require "models/tiles/image_source"
describe "dynamic image renderer", ->
describe "image source", ->
it "should handle case-insensitive url parameters (template url)", ->
image_options =
url :... |
[
{
"context": " constructor: ->\n super()\n @name = \"Noble\"\n receiveDamage: (dmg) ->\n if @blocking",
"end": 350,
"score": 0.9775194525718689,
"start": 345,
"tag": "NAME",
"value": "Noble"
}
] | src/entity/player/swordsman.coffee | zekoff/1gam-battle | 0 | BasePlayer = require './base'
abilityList = [
require '../../ability/player/attack'
require '../../ability/player/defend'
require '../../ability/player/heal'
require '../../ability/player/riposte'
require '../../ability/player/feint'
]
class Swordsman extends BasePlayer
constructor: ->
... | 121413 | BasePlayer = require './base'
abilityList = [
require '../../ability/player/attack'
require '../../ability/player/defend'
require '../../ability/player/heal'
require '../../ability/player/riposte'
require '../../ability/player/feint'
]
class Swordsman extends BasePlayer
constructor: ->
... | true | BasePlayer = require './base'
abilityList = [
require '../../ability/player/attack'
require '../../ability/player/defend'
require '../../ability/player/heal'
require '../../ability/player/riposte'
require '../../ability/player/feint'
]
class Swordsman extends BasePlayer
constructor: ->
... |
[
{
"context": " if key.type is 'radio'\n # key=@R_dompathUpdate(key)\n # @submitArray.push key\n\n #",
"end": 8259,
"score": 0.6369964480400085,
"start": 8244,
"tag": "KEY",
"value": "R_dompathUpdate"
}
] | client/views/searchView/searchView.coffee | lvyachao/Timbr_V1 | 77 | Template.searchView.rendered = ->
Vue.component 't-Search-Action-List', template: '#t-Search-Action-List-Template'
window.searchVM = new Vue
el: '.t-Search'
ready: ->
console.log @urlArray
self= @
document.getElementById('t-Modal-Text-Tabpanel-MulUpload-File').addEventListener('change', ... | 58634 | Template.searchView.rendered = ->
Vue.component 't-Search-Action-List', template: '#t-Search-Action-List-Template'
window.searchVM = new Vue
el: '.t-Search'
ready: ->
console.log @urlArray
self= @
document.getElementById('t-Modal-Text-Tabpanel-MulUpload-File').addEventListener('change', ... | true | Template.searchView.rendered = ->
Vue.component 't-Search-Action-List', template: '#t-Search-Action-List-Template'
window.searchVM = new Vue
el: '.t-Search'
ready: ->
console.log @urlArray
self= @
document.getElementById('t-Modal-Text-Tabpanel-MulUpload-File').addEventListener('change', ... |
[
{
"context": "enemy' }\n { eid: 'e2', type: 'character', name: 'Tektike' }\n { eid: 'e2', type: 'bbox', shape: [3,4,5,6] ",
"end": 831,
"score": 0.873255729675293,
"start": 824,
"tag": "NAME",
"value": "Tektike"
},
{
"context": " filter = imm\n match:\n name: 'T... | spec/search/mutable_object_finder_spec.coffee | dcrosby42/metroid-clone | 5 | Finder = require '../../src/javascript/search/mutable_object_finder'
Immutable = require 'immutable'
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
# expectArray = (actual,expected) ->
# if !Immutable.is(actual,expected)
# assert.fail(actual,expected,"Immutable structu... | 90193 | Finder = require '../../src/javascript/search/mutable_object_finder'
Immutable = require 'immutable'
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
# expectArray = (actual,expected) ->
# if !Immutable.is(actual,expected)
# assert.fail(actual,expected,"Immutable structu... | true | Finder = require '../../src/javascript/search/mutable_object_finder'
Immutable = require 'immutable'
chai = require('chai')
expect = chai.expect
assert = chai.assert
imm = Immutable.fromJS
# expectArray = (actual,expected) ->
# if !Immutable.is(actual,expected)
# assert.fail(actual,expected,"Immutable structu... |
[
{
"context": "eds\"\nphase: \"beta\"\nphase_modifier: \"Public\"\nsro: \"Hugh Pullinger\"\nservice_man: \"Daniel McLaughlin\"\nphase_history:\n",
"end": 416,
"score": 0.999861478805542,
"start": 402,
"tag": "NAME",
"value": "Hugh Pullinger"
},
{
"context": "ier: \"Public\"\nsro: \"Hu... | app/data/projects/access-to-work.cson | tsmorgan/dwp-ux-work | 0 | id: 5
name: "Apply for an Access to Work Grant"
aka: [ "Access To Work", "ATW" ]
description: "Lets users who are disabled or have a long-term health condition that makes their work life difficult, get a grant to pay for adjustments to their workplace, transport or support so that they can carry on working."
theme: "He... | 75216 | id: 5
name: "Apply for an Access to Work Grant"
aka: [ "Access To Work", "ATW" ]
description: "Lets users who are disabled or have a long-term health condition that makes their work life difficult, get a grant to pay for adjustments to their workplace, transport or support so that they can carry on working."
theme: "He... | true | id: 5
name: "Apply for an Access to Work Grant"
aka: [ "Access To Work", "ATW" ]
description: "Lets users who are disabled or have a long-term health condition that makes their work life difficult, get a grant to pay for adjustments to their workplace, transport or support so that they can carry on working."
theme: "He... |
[
{
"context": "romise'\nWP = require 'wpapi' # https://github.com/WP-API/node-wpapi\nEntities = require('html-entities').Al",
"end": 210,
"score": 0.8352982997894287,
"start": 204,
"tag": "USERNAME",
"value": "WP-API"
},
{
"context": "endpoint: 'http://squishle.me/wp-json'\n username... | lib/pegg-squishle.coffee | Gratzi/pegg-squishle-parse | 0 | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Promise = require('parse/node').Promise
request = require 'request-promise'
WP = require 'wpapi' # https://github.com/WP-API/node-wpapi
Entities = require('html-entities').AllHtmlEntities # https://www.npmjs.com/package/html-entities
... | 57099 | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Promise = require('parse/node').Promise
request = require 'request-promise'
WP = require 'wpapi' # https://github.com/WP-API/node-wpapi
Entities = require('html-entities').AllHtmlEntities # https://www.npmjs.com/package/html-entities
... | true | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Promise = require('parse/node').Promise
request = require 'request-promise'
WP = require 'wpapi' # https://github.com/WP-API/node-wpapi
Entities = require('html-entities').AllHtmlEntities # https://www.npmjs.com/package/html-entities
... |
[
{
"context": " @cocktail =\n id: 2\n name: 'Margarita'\n userId: 4\n ingredients:[ ]\n ",
"end": 765,
"score": 0.9991793632507324,
"start": 756,
"tag": "NAME",
"value": "Margarita"
}
] | spec/javascripts/controllers/CocktailShowCtrl_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
describe 'CocktailShowCtrl', ->
beforeEach ->
@setupController('CocktailShowCtrl')
@loadFixtures()
describe 'controller initialization', ->
describe 'when the current cocktail has ingredients', ->
beforeEach ->
@stateParams.id = 4
request = new RegExp("\/co... | 80860 | #= require spec_helper
describe 'CocktailShowCtrl', ->
beforeEach ->
@setupController('CocktailShowCtrl')
@loadFixtures()
describe 'controller initialization', ->
describe 'when the current cocktail has ingredients', ->
beforeEach ->
@stateParams.id = 4
request = new RegExp("\/co... | true | #= require spec_helper
describe 'CocktailShowCtrl', ->
beforeEach ->
@setupController('CocktailShowCtrl')
@loadFixtures()
describe 'controller initialization', ->
describe 'when the current cocktail has ingredients', ->
beforeEach ->
@stateParams.id = 4
request = new RegExp("\/co... |
[
{
"context": "\n\n entities = [\n { entity: 'funk', name: 'splosion' },\n { entity: 'funk', name: 'dealwithit' },",
"end": 1942,
"score": 0.9742152690887451,
"start": 1934,
"tag": "NAME",
"value": "splosion"
},
{
"context": "ame: 'splosion' },\n { entity: 'funk', na... | test/testEmojiProcessor.coffee | ianfixes/macramoji | 1 | fs = require 'fs'
test = require 'tape'
ctest = require 'tape-catch'
sinon = require 'sinon'
EmojiProcessor = require '../src/emojiProcessor'
ImageContainer = require '../src/imageContainer'
ImageResult = require '../src/imageResult'
ImageWorker = require '../src/imageWorker'
EmojiStore = require '../src... | 212084 | fs = require 'fs'
test = require 'tape'
ctest = require 'tape-catch'
sinon = require 'sinon'
EmojiProcessor = require '../src/emojiProcessor'
ImageContainer = require '../src/imageContainer'
ImageResult = require '../src/imageResult'
ImageWorker = require '../src/imageWorker'
EmojiStore = require '../src... | true | fs = require 'fs'
test = require 'tape'
ctest = require 'tape-catch'
sinon = require 'sinon'
EmojiProcessor = require '../src/emojiProcessor'
ImageContainer = require '../src/imageContainer'
ImageResult = require '../src/imageResult'
ImageWorker = require '../src/imageWorker'
EmojiStore = require '../src... |
[
{
"context": "n 1.0.0\n@file DateField.js\n@author Welington Sampaio\n@contact http://jokerjs.zaez.net/contato\n\n@co",
"end": 142,
"score": 0.9998875856399536,
"start": 125,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/DateField.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file DateField.js
@author Welington Sampaio
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2014 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under the license M... | 107072 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file DateField.js
@author <NAME>
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2014 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under the license MIT, availab... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file DateField.js
@author PI:NAME:<NAME>END_PI
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2014 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under the licens... |
[
{
"context": " do ( module, method_name ) =>\n rpc_key = \"^#{addon.aoid}/#{method_name}\"\n R.push rpc_key\n ### TAINT in upcom",
"end": 3093,
"score": 0.9324328899383545,
"start": 3062,
"tag": "KEY",
"value": "\"^#{addon.aoid}/#{method_name}\""
}
] | dev/intershop/src/cli.coffee | loveencounterflow/hengist | 0 |
'use strict'
t0 = process.hrtime.bigint()
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERSHOP/INTERSHOP-CLI-NG'
debug ... | 169050 |
'use strict'
t0 = process.hrtime.bigint()
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERSHOP/INTERSHOP-CLI-NG'
debug ... | true |
'use strict'
t0 = process.hrtime.bigint()
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/INTERSHOP/INTERSHOP-CLI-NG'
debug ... |
[
{
"context": "# Maskew\n# Mocha test suite\n# Dan Motzenbecker\n\nstyleFetcher = (el) -> do (style = {}) ->\n styl",
"end": 46,
"score": 0.9998806118965149,
"start": 30,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | test/main.coffee | dmotz/maskew | 19 | # Maskew
# Mocha test suite
# Dan Motzenbecker
styleFetcher = (el) -> do (style = {}) ->
style[k] = v for k, v of window.getComputedStyle el
(key) -> style[key]
getRotation = (el) ->
parseFloat el.style[transformKey].match(/(-?\d+)deg/i)?[0]
getY = (el) ->
parseFloat el.style[transformKey].match(/translate... | 197994 | # Maskew
# Mocha test suite
# <NAME>
styleFetcher = (el) -> do (style = {}) ->
style[k] = v for k, v of window.getComputedStyle el
(key) -> style[key]
getRotation = (el) ->
parseFloat el.style[transformKey].match(/(-?\d+)deg/i)?[0]
getY = (el) ->
parseFloat el.style[transformKey].match(/translate3d\(\d+px\... | true | # Maskew
# Mocha test suite
# PI:NAME:<NAME>END_PI
styleFetcher = (el) -> do (style = {}) ->
style[k] = v for k, v of window.getComputedStyle el
(key) -> style[key]
getRotation = (el) ->
parseFloat el.style[transformKey].match(/(-?\d+)deg/i)?[0]
getY = (el) ->
parseFloat el.style[transformKey].match(/trans... |
[
{
"context": "class Warrior\n key: 'warrior'\n name: 'warrior'\n\n genders: ['male', 'female']\n alignments: ['g",
"end": 47,
"score": 0.9981451034545898,
"start": 40,
"tag": "NAME",
"value": "warrior"
}
] | js/classes/warrior.coffee | ktchernov/7drl-lion.github.io | 27 | class Warrior
key: 'warrior'
name: 'warrior'
genders: ['male', 'female']
alignments: ['good', 'neutral', 'evil']
races: ['human', 'werewolf', 'dragon', 'giant', 'angel', 'demon', 'catfolk', 'elf', 'dwarf', 'hobbit', 'vampire']
base_hp: 10
base_mp: -10
base_speed: 0
base_attack: 5
base_sight_range: ... | 195736 | class Warrior
key: 'warrior'
name: '<NAME>'
genders: ['male', 'female']
alignments: ['good', 'neutral', 'evil']
races: ['human', 'werewolf', 'dragon', 'giant', 'angel', 'demon', 'catfolk', 'elf', 'dwarf', 'hobbit', 'vampire']
base_hp: 10
base_mp: -10
base_speed: 0
base_attack: 5
base_sight_range: 0... | true | class Warrior
key: 'warrior'
name: 'PI:NAME:<NAME>END_PI'
genders: ['male', 'female']
alignments: ['good', 'neutral', 'evil']
races: ['human', 'werewolf', 'dragon', 'giant', 'angel', 'demon', 'catfolk', 'elf', 'dwarf', 'hobbit', 'vampire']
base_hp: 10
base_mp: -10
base_speed: 0
base_attack: 5
base_... |
[
{
"context": "###\n knockback-utils.js\n (c) 2011-2013 Kevin Malakoff.\n Knockback.js is freely distributable under the",
"end": 55,
"score": 0.9997914433479309,
"start": 41,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https://github.c... | src/core/utils.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback-utils.js
(c) 2011-2013 Kevin Malakoff.
Knockback.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
Dependencies: Knockout.js, Backbone.js, and Underscore.js.
Optional dependency: Backbo... | 134289 | ###
knockback-utils.js
(c) 2011-2013 <NAME>.
Knockback.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
Dependencies: Knockout.js, Backbone.js, and Underscore.js.
Optional dependency: Backbone.Model... | true | ###
knockback-utils.js
(c) 2011-2013 PI:NAME:<NAME>END_PI.
Knockback.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
Dependencies: Knockout.js, Backbone.js, and Underscore.js.
Optional dependency: ... |
[
{
"context": " are now empty.\n #\n # @access public\n # @author Chris Sauve\n # @since 0.0.1\n # @returns {String}\n # @defau",
"end": 331,
"score": 0.999886155128479,
"start": 320,
"tag": "NAME",
"value": "Chris Sauve"
},
{
"context": "opover appears.\n #\n # @access public... | spec/fixtures/parsers/coffeescript_parser_fixture_basic.coffee | docks-app/docks | 0 | defaults =
#*
# Determines what action will be taken on the original footnote markup: `"hide"` (using `display: none;`), `"delete"`, or `"ignore"` (leaves the original content in place). This action will also be taken on any elements containing the footnote if they are now empty.
#
# @access public
# @author ... | 223123 | defaults =
#*
# Determines what action will be taken on the original footnote markup: `"hide"` (using `display: none;`), `"delete"`, or `"ignore"` (leaves the original content in place). This action will also be taken on any elements containing the footnote if they are now empty.
#
# @access public
# @author ... | true | defaults =
#*
# Determines what action will be taken on the original footnote markup: `"hide"` (using `display: none;`), `"delete"`, or `"ignore"` (leaves the original content in place). This action will also be taken on any elements containing the footnote if they are now empty.
#
# @access public
# @author ... |
[
{
"context": "r\n routes: [\n {\n path: '/',\n name: 'HelloWorld',\n component: HelloWorld\n }\n ]\n",
"end": 205,
"score": 0.899671733379364,
"start": 195,
"tag": "NAME",
"value": "HelloWorld"
}
] | template/src/router/index.coffee | thisredone/vue-phaser3-coffee | 0 | import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
Vue.use(Router)
export default new Router
routes: [
{
path: '/',
name: 'HelloWorld',
component: HelloWorld
}
]
| 214901 | import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
Vue.use(Router)
export default new Router
routes: [
{
path: '/',
name: '<NAME>',
component: HelloWorld
}
]
| true | import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
Vue.use(Router)
export default new Router
routes: [
{
path: '/',
name: 'PI:NAME:<NAME>END_PI',
component: HelloWorld
}
]
|
[
{
"context": " (see `tools/nogexecd/`) is running as user\n# `nogexecbot1` and continuously polls for work. When the daemo",
"end": 779,
"score": 0.9960254430770874,
"start": 768,
"tag": "USERNAME",
"value": "nogexecbot1"
},
{
"context": "b server.\n\nensureBotUser = ->\n sel = ... | apps/nog-app/meteor/server/nog-exec-server.coffee | nogproject/nog | 0 | # `nog-exec` implements a job execution service.
#
# Jobs are managed using the Meteor package `vsivsi:job-collection`. Each job
# has a job-collection doc `job` with an `_id`. It also has a nog `jobId`,
# which is created by `nog-flow` and stored in the `job.data.jobId`.
#
# Each job is run only once to completion, ... | 217957 | # `nog-exec` implements a job execution service.
#
# Jobs are managed using the Meteor package `vsivsi:job-collection`. Each job
# has a job-collection doc `job` with an `_id`. It also has a nog `jobId`,
# which is created by `nog-flow` and stored in the `job.data.jobId`.
#
# Each job is run only once to completion, ... | true | # `nog-exec` implements a job execution service.
#
# Jobs are managed using the Meteor package `vsivsi:job-collection`. Each job
# has a job-collection doc `job` with an `_id`. It also has a nog `jobId`,
# which is created by `nog-flow` and stored in the `job.data.jobId`.
#
# Each job is run only once to completion, ... |
[
{
"context": "# Droplet C# mode\n#\n# Copyright (c) 2018 Kevin Jessup\n# MIT License\n\nhelper = require '../helper.coffee",
"end": 53,
"score": 0.9998173713684082,
"start": 41,
"tag": "NAME",
"value": "Kevin Jessup"
}
] | src/languages/csharp.coffee | sanyaade-teachings/spresensedroplet | 3 | # Droplet C# mode
#
# Copyright (c) 2018 Kevin Jessup
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-button'
... | 210230 | # Droplet C# mode
#
# Copyright (c) 2018 <NAME>
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-button'
gly... | true | # Droplet C# mode
#
# Copyright (c) 2018 PI:NAME:<NAME>END_PI
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-b... |
[
{
"context": "e Music\n * @category Web Components\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 96,
"score": 0.9998959302902222,
"start": 80,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "y Web Components\n * @author N... | html/cs-music-menu/script.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category Web Components
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
music_settings = cs.music_settings
document.webL10n.ready ->
Polymer(
'cs-music-menu'
playl... | 42165 | ###*
* @package CleverStyle Music
* @category Web Components
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
music_settings = cs.music_settings
document.webL10n.ready ->
Polymer(
'cs-music-menu'
playlist_text : _('playlist')
equ... | true | ###*
* @package CleverStyle Music
* @category Web Components
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
music_settings = cs.music_settings
document.webL10n.ready ->
Polymer(
'cs-music-men... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.99897700548172,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-transform-objectmode-falsey-value.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... | 35773 | # 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": " render: =>\n z '.z-tooltip-positioner', {key: \"tooltip-#{@key}\"}\n",
"end": 2706,
"score": 0.9155095815658569,
"start": 2698,
"tag": "KEY",
"value": "tooltip-"
},
{
"context": " z '.z-tooltip-positioner', {key: \"tooltip-#{@key}\"}\n",
"end": 2712,
"score... | src/components/tooltip_positioner/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
_find = require 'lodash/find'
_uniq = require 'lodash/uniq'
_every = require 'lodash/every'
Base = require '../base'
Tooltip = require '../tooltip'
colors = require '../../colors'
if window?
require './index.styl'
# this shows... | 105189 | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
_find = require 'lodash/find'
_uniq = require 'lodash/uniq'
_every = require 'lodash/every'
Base = require '../base'
Tooltip = require '../tooltip'
colors = require '../../colors'
if window?
require './index.styl'
# this shows... | true | z = require 'zorium'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
_find = require 'lodash/find'
_uniq = require 'lodash/uniq'
_every = require 'lodash/every'
Base = require '../base'
Tooltip = require '../tooltip'
colors = require '../../colors'
if window?
require './index.styl'
# this shows... |
[
{
"context": " # We're nosey.\n anal.track({\n 'userId': 'anonymous_user',\n 'event': 'Open App',\n 'properties': ",
"end": 1279,
"score": 0.9992847442626953,
"start": 1265,
"tag": "USERNAME",
"value": "anonymous_user"
},
{
"context": " the dev tools, because yolo\n... | app/index.coffee | sarthakganguly/notes | 191 | require './lib/setup.coffee'
Spine = require 'spine'
shell = window.require('shell') if window.require
Analytics = require 'analytics-node'
# Upgrader
Upgrader = require('./controllers/upgrader.coffee')
# Splitter. Not working in setup for whatever reason.
Splitter = require('./lib/splitter.js')
# Modals
Notebook =... | 216266 | require './lib/setup.coffee'
Spine = require 'spine'
shell = window.require('shell') if window.require
Analytics = require 'analytics-node'
# Upgrader
Upgrader = require('./controllers/upgrader.coffee')
# Splitter. Not working in setup for whatever reason.
Splitter = require('./lib/splitter.js')
# Modals
Notebook =... | true | require './lib/setup.coffee'
Spine = require 'spine'
shell = window.require('shell') if window.require
Analytics = require 'analytics-node'
# Upgrader
Upgrader = require('./controllers/upgrader.coffee')
# Splitter. Not working in setup for whatever reason.
Splitter = require('./lib/splitter.js')
# Modals
Notebook =... |
[
{
"context": " keys = _.filter(keys, (key) -> key.match(/^__m2fa_/))\n ledger.storage.sync.get keys, (ite",
"end": 2015,
"score": 0.5207717418670654,
"start": 2014,
"tag": "KEY",
"value": "m"
},
{
"context": " keys = _.filter(keys, (key) -> key.match(/^__m2fa_/))\n ... | app/src/m2fa/m2fa.coffee | doged/ledger-wallet-doged-chrome | 1 | # M2FA, for Mobile 2 Factor Authentification, allow you to pair a mobile device,
# and then securely ask for user validation of the transaction.
@ledger.m2fa ?= {}
_.extend @ledger.m2fa,
clients: {}
# This method :
# - create a new pairingId ;
# - connect to the corresponding room on server ;
# - wait for m... | 158438 | # M2FA, for Mobile 2 Factor Authentification, allow you to pair a mobile device,
# and then securely ask for user validation of the transaction.
@ledger.m2fa ?= {}
_.extend @ledger.m2fa,
clients: {}
# This method :
# - create a new pairingId ;
# - connect to the corresponding room on server ;
# - wait for m... | true | # M2FA, for Mobile 2 Factor Authentification, allow you to pair a mobile device,
# and then securely ask for user validation of the transaction.
@ledger.m2fa ?= {}
_.extend @ledger.m2fa,
clients: {}
# This method :
# - create a new pairingId ;
# - connect to the corresponding room on server ;
# - wait for m... |
[
{
"context": "se.Schema(\n name:\n type: String\n default: 'Anonymous'\n \n date:\n type: Date\n default: Date.now\n",
"end": 113,
"score": 0.6184452772140503,
"start": 104,
"tag": "NAME",
"value": "Anonymous"
}
] | server/models/schemas/postSchema.coffee | Nuke928/nchan | 0 | mongoose = require 'mongoose'
module.exports = mongoose.Schema(
name:
type: String
default: 'Anonymous'
date:
type: Date
default: Date.now
image: String
id:
type: Number
isOp:
type: Boolean
default: false
text:
type: String
maxLength: 500
file: String
) | 97362 | mongoose = require 'mongoose'
module.exports = mongoose.Schema(
name:
type: String
default: '<NAME>'
date:
type: Date
default: Date.now
image: String
id:
type: Number
isOp:
type: Boolean
default: false
text:
type: String
maxLength: 500
file: String
) | true | mongoose = require 'mongoose'
module.exports = mongoose.Schema(
name:
type: String
default: 'PI:NAME:<NAME>END_PI'
date:
type: Date
default: Date.now
image: String
id:
type: Number
isOp:
type: Boolean
default: false
text:
type: String
maxLength: 500
fil... |
[
{
"context": "lowing to http://YourHueHub/api\n#\n# {\"username\": \"YourHash\", \"devicetype\": \"YourAppName\"}\n# If you have not ",
"end": 490,
"score": 0.9996780157089233,
"start": 482,
"tag": "USERNAME",
"value": "YourHash"
},
{
"context": "d you should receive;\n#\n# {\"succes... | src/philips-hue.coffee | kingbin/hubot-philipshue | 6 | # Description:
# Control your Philips Hue Lights from HUBOT! BAM, easy candy for the kids
#
# Configuration:
# PHILIPS_HUE_HASH : export PHILIPS_HUE_HASH="secrets"
# PHILIPS_HUE_IP : export PHILIPS_HUE_IP="xxx.xxx.xxx.xxx"
#
# Setting your Hue Hash
#
# This needs to be done once, it seems older versions of the Hu... | 68233 | # Description:
# Control your Philips Hue Lights from HUBOT! BAM, easy candy for the kids
#
# Configuration:
# PHILIPS_HUE_HASH : export PHILIPS_HUE_HASH="secrets"
# PHILIPS_HUE_IP : export PHILIPS_HUE_IP="xxx.xxx.xxx.xxx"
#
# Setting your Hue Hash
#
# This needs to be done once, it seems older versions of the Hu... | true | # Description:
# Control your Philips Hue Lights from HUBOT! BAM, easy candy for the kids
#
# Configuration:
# PHILIPS_HUE_HASH : export PHILIPS_HUE_HASH="secrets"
# PHILIPS_HUE_IP : export PHILIPS_HUE_IP="xxx.xxx.xxx.xxx"
#
# Setting your Hue Hash
#
# This needs to be done once, it seems older versions of the Hu... |
[
{
"context": "u.compile_template(source)\n context = { name: \"World\", the_flag: true }\n du.render_template templat",
"end": 2030,
"score": 0.8202518820762634,
"start": 2025,
"tag": "NAME",
"value": "World"
},
{
"context": "rt.equal output, \"TRUE!\"\n context = { name: ... | test/test-dust-util.coffee | intellinote/inote-util | 1 | require 'coffee-errors'
#------------------------------------------------------------------------------#
fs = require 'fs'
path = require 'path'
HOME_DIR = path.join(__dirname, '..')
LIB_COV = path.join(HOME_DIR, 'lib-cov')
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else path.join(HOME_DIR, ... | 46310 | require 'coffee-errors'
#------------------------------------------------------------------------------#
fs = require 'fs'
path = require 'path'
HOME_DIR = path.join(__dirname, '..')
LIB_COV = path.join(HOME_DIR, 'lib-cov')
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else path.join(HOME_DIR, ... | true | require 'coffee-errors'
#------------------------------------------------------------------------------#
fs = require 'fs'
path = require 'path'
HOME_DIR = path.join(__dirname, '..')
LIB_COV = path.join(HOME_DIR, 'lib-cov')
LIB_DIR = if fs.existsSync(LIB_COV) then LIB_COV else path.join(HOME_DIR, ... |
[
{
"context": " pwd, callback)\n # - Name = user name\n # - Pwd = password\n # - Callback = function to call when done\n sav",
"end": 114,
"score": 0.9953699707984924,
"start": 106,
"tag": "PASSWORD",
"value": "password"
}
] | src/user.coffee | vincentbas/asynchronus_tehnologies_server_BAS | 0 | module.exports =
# Save a user
# Usage : save(name, pwd, callback)
# - Name = user name
# - Pwd = password
# - Callback = function to call when done
save: (name, pwd, callback) ->
if callback == undefined
callback = pwd
callback new Error "missing parameters"
else
#console.log("sav... | 193434 | module.exports =
# Save a user
# Usage : save(name, pwd, callback)
# - Name = user name
# - Pwd = <PASSWORD>
# - Callback = function to call when done
save: (name, pwd, callback) ->
if callback == undefined
callback = pwd
callback new Error "missing parameters"
else
#console.log("s... | true | module.exports =
# Save a user
# Usage : save(name, pwd, callback)
# - Name = user name
# - Pwd = PI:PASSWORD:<PASSWORD>END_PI
# - Callback = function to call when done
save: (name, pwd, callback) ->
if callback == undefined
callback = pwd
callback new Error "missing parameters"
else
... |
[
{
"context": "'#rebel-builder', [\n {\n ship: 'X-Wing'\n pilot: 'Luke Skywalker'\n ",
"end": 210,
"score": 0.6371340751647949,
"start": 206,
"tag": "NAME",
"value": "Wing"
},
{
"context": " {\n ship: 'X-Wing'\n pilot: 'Luk... | tests/test_clone.coffee | michigun/xwing | 0 | common = require './common'
common.setup()
casper.test.begin "Copy pilot", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-Wing'
pilot: 'Luke Skywalker'
upgrades: [
]
}
{
sh... | 188665 | common = require './common'
common.setup()
casper.test.begin "Copy pilot", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-<NAME>'
pilot: '<NAME>'
upgrades: [
]
}
{
ship: 'X... | true | common = require './common'
common.setup()
casper.test.begin "Copy pilot", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'X-PI:NAME:<NAME>END_PI'
pilot: 'PI:NAME:<NAME>END_PI'
upgrades: [
]
}
... |
[
{
"context": " email: $scope.user.email\n password: $scope.user.password\n firstName: $scope.user.firstName\n ",
"end": 1788,
"score": 0.9987399578094482,
"start": 1768,
"tag": "PASSWORD",
"value": "$scope.user.password"
}
] | frontend/app/login/login.coffee | Contactis/translation-manager | 0 | angular.module('translation.pages.login', [
'ui.router'
'pascalprecht.translate'
'ngCookies'
'toastr'
'translation.services.account'
'translation.services.authorization'
'translation.providers.userPermissionsSettings'
])
.config ($stateProvider, UserPermissionsSettingsProvider) ->
access = UserPermiss... | 119986 | angular.module('translation.pages.login', [
'ui.router'
'pascalprecht.translate'
'ngCookies'
'toastr'
'translation.services.account'
'translation.services.authorization'
'translation.providers.userPermissionsSettings'
])
.config ($stateProvider, UserPermissionsSettingsProvider) ->
access = UserPermiss... | true | angular.module('translation.pages.login', [
'ui.router'
'pascalprecht.translate'
'ngCookies'
'toastr'
'translation.services.account'
'translation.services.authorization'
'translation.providers.userPermissionsSettings'
])
.config ($stateProvider, UserPermissionsSettingsProvider) ->
access = UserPermiss... |
[
{
"context": "###\n# Earl\n# The MIT License (MIT)\n# Copyright (c) Travis Kriplean, Consider.it LLC\n# \n# Hire Earl to handle the bro",
"end": 72,
"score": 0.999871015548706,
"start": 57,
"tag": "NAME",
"value": "Travis Kriplean"
},
{
"context": "browsers try installing the \n# htt... | earl.coffee | invisible-college/Earl | 1 | #########
# Earl
# The MIT License (MIT)
# Copyright (c) Travis Kriplean, Consider.it LLC
#
# Hire Earl to handle the browser history & location bar.
#
# When your web application is loaded, Earl will update your application's
# fetch('location') state with the url, params, and anchor. Your application
# can simply... | 56710 | #########
# Earl
# The MIT License (MIT)
# Copyright (c) <NAME>, Consider.it LLC
#
# Hire Earl to handle the browser history & location bar.
#
# When your web application is loaded, Earl will update your application's
# fetch('location') state with the url, params, and anchor. Your application
# can simply react to... | true | #########
# Earl
# The MIT License (MIT)
# Copyright (c) PI:NAME:<NAME>END_PI, Consider.it LLC
#
# Hire Earl to handle the browser history & location bar.
#
# When your web application is loaded, Earl will update your application's
# fetch('location') state with the url, params, and anchor. Your application
# can s... |
[
{
"context": " controller : 'ListStepController'\n 'wizard@step.list' :\n templateUrl : 'views/components/o",
"end": 1090,
"score": 0.995876133441925,
"start": 1074,
"tag": "EMAIL",
"value": "wizard@step.list"
}
] | client/web/src/features/step/scripts/step-routes.coffee | TimeoutZero/ProjectTrail | 0 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# App Config
# =============================================
.config( ['$stateProvider', '$urlRouterProvider', ... | 196363 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# App Config
# =============================================
.config( ['$stateProvider', '$urlRouterProvider', ... | true | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'ProjectTrailApp'
# =============================================
# App Config
# =============================================
.config( ['$stateProvider', '$urlRouterProvider', ... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nAPI_URL = 'http://putainmedia.ngrok.com'\nMEDIA_U",
"end": 66,
"score": 0.9999159574508667,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/config.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
API_URL = 'http://putainmedia.ngrok.com'
MEDIA_URL = 'https://putainstatic.ngrok.com'
module.exports =
upload_url: API_URL + '/file/public_upload',
media_url: MEDIA_URL
width: 640
height: 1136
stage:
backgroundColor: 0x000000
boot:
... | 6350 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
API_URL = 'http://putainmedia.ngrok.com'
MEDIA_URL = 'https://putainstatic.ngrok.com'
module.exports =
upload_url: API_URL + '/file/public_upload',
media_url: MEDIA_URL
width: 640
height: 1136
stage:
backgroundColor: 0x000000
boot:
images... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
API_URL = 'http://putainmedia.ngrok.com'
MEDIA_URL = 'https://putainstatic.ngrok.com'
module.exports =
upload_url: API_URL + '/file/public_upload',
media_url: MEDIA_URL
width: 640
height: 1136
stage:
backgroundColor: 0x000000
b... |
[
{
"context": "# // REGEXES\n replacePattern0 = /(http:\\/\\/127.0.0.1:43110\\/)/gi\n replacePattern1 = /(\\b(https?",
"end": 3054,
"score": 0.9996731877326965,
"start": 3045,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "/\\/0mail/gim;\n \n # ... | js/ZeroChat.coffee | angristan/zerochat-irc-fr | 1 | class ZeroChat extends ZeroFrame
init: ->
@addLine "inited!"
selectUser: =>
Page.cmd "certSelect", [["zeroid.bit"]]
return false
route: (cmd, message) ->
if cmd == "setSiteInfo"
if message.params.cert_user_id
document.getElementById("select_use... | 2438 | class ZeroChat extends ZeroFrame
init: ->
@addLine "inited!"
selectUser: =>
Page.cmd "certSelect", [["zeroid.bit"]]
return false
route: (cmd, message) ->
if cmd == "setSiteInfo"
if message.params.cert_user_id
document.getElementById("select_use... | true | class ZeroChat extends ZeroFrame
init: ->
@addLine "inited!"
selectUser: =>
Page.cmd "certSelect", [["zeroid.bit"]]
return false
route: (cmd, message) ->
if cmd == "setSiteInfo"
if message.params.cert_user_id
document.getElementById("select_use... |
[
{
"context": "orts = (mockup)->\n client = mockup.data.clients['awesome-app']\n PROVIDER_BASEURL = mockup.config.PROVIDER_BAS",
"end": 100,
"score": 0.8668273091316223,
"start": 89,
"tag": "USERNAME",
"value": "awesome-app"
},
{
"context": "icationLogin {clientId: client.id, client... | test/exchanges/client_credentials.coffee | tungv/oauth2-provider | 2 | request = require 'request'
module.exports = (mockup)->
client = mockup.data.clients['awesome-app']
PROVIDER_BASEURL = mockup.config.PROVIDER_BASEURL
describe 'Client Credentials', ->
applicationLogin = (client, cb)->
query = {
grant_type: 'client_credentials'
client_id: client.clientI... | 522 | request = require 'request'
module.exports = (mockup)->
client = mockup.data.clients['awesome-app']
PROVIDER_BASEURL = mockup.config.PROVIDER_BASEURL
describe 'Client Credentials', ->
applicationLogin = (client, cb)->
query = {
grant_type: 'client_credentials'
client_id: client.clientI... | true | request = require 'request'
module.exports = (mockup)->
client = mockup.data.clients['awesome-app']
PROVIDER_BASEURL = mockup.config.PROVIDER_BASEURL
describe 'Client Credentials', ->
applicationLogin = (client, cb)->
query = {
grant_type: 'client_credentials'
client_id: client.clientI... |
[
{
"context": "ect, next)->\n assert object.doc.name == 'carol'\n next()\n done()\n m = Mode",
"end": 845,
"score": 0.999513566493988,
"start": 840,
"tag": "NAME",
"value": "carol"
},
{
"context": " done()\n m = Model.create 'pre-put', name:'caro... | ExampleZukaiRestApi/node_modules/zukai/test/hooks.coffee | radjivC/interaction-node-riak | 0 | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
connection = null
badgePlugin = (model, options)->
model.schema.properties.badge =
type: 'string'
describe 'Hooks', ->
beforeEach (done)->
Model = createModel
name: 'plugins-test'
co... | 94052 | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
connection = null
badgePlugin = (model, options)->
model.schema.properties.badge =
type: 'string'
describe 'Hooks', ->
beforeEach (done)->
Model = createModel
name: 'plugins-test'
co... | true | assert = require 'assert'
{createClient} = require 'riakpbc'
{createModel} = require '../src'
Model = null
connection = null
badgePlugin = (model, options)->
model.schema.properties.badge =
type: 'string'
describe 'Hooks', ->
beforeEach (done)->
Model = createModel
name: 'plugins-test'
co... |
[
{
"context": "', ->\n @view.preInitialize userData: email: 'foo@bar.com'\n @view.templateData.email.should.containEql",
"end": 3241,
"score": 0.9999120831489563,
"start": 3230,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": " @view.templateData.email.should.con... | src/desktop/components/auth_modal/test/view.coffee | streamich/force | 1 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
mediator = require '../../../lib/mediator'
LoggedOutUser = rewire '../../../models/logged_out_user'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
r... | 180053 | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
mediator = require '../../../lib/mediator'
LoggedOutUser = rewire '../../../models/logged_out_user'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
r... | true | _ = require 'underscore'
sd = require('sharify').data
benv = require 'benv'
sinon = require 'sinon'
rewire = require 'rewire'
Backbone = require 'backbone'
mediator = require '../../../lib/mediator'
LoggedOutUser = rewire '../../../models/logged_out_user'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
r... |
[
{
"context": "###\n\tCopyright 2013 David Pearson.\n\tBSD License.\n###\n\n# Adds two matrices\n#\n# a - T",
"end": 33,
"score": 0.9998437762260437,
"start": 20,
"tag": "NAME",
"value": "David Pearson"
}
] | src/matrix.coffee | dpearson/linalgebra | 1 | ###
Copyright 2013 David Pearson.
BSD License.
###
# Adds two matrices
#
# a - The left matrix in the addition
# b - The right matrix in the addition
#
# Example:
# add [[1, 3], [1, 0], [1, 2]], [[0, 0], [7, 5], [2, 1]]
# => [[1, 3], [8, 5], [3, 3]]
#
# Returns the resulting matrix or null if the dimensions diffe... | 25475 | ###
Copyright 2013 <NAME>.
BSD License.
###
# Adds two matrices
#
# a - The left matrix in the addition
# b - The right matrix in the addition
#
# Example:
# add [[1, 3], [1, 0], [1, 2]], [[0, 0], [7, 5], [2, 1]]
# => [[1, 3], [8, 5], [3, 3]]
#
# Returns the resulting matrix or null if the dimensions differ
add=(... | true | ###
Copyright 2013 PI:NAME:<NAME>END_PI.
BSD License.
###
# Adds two matrices
#
# a - The left matrix in the addition
# b - The right matrix in the addition
#
# Example:
# add [[1, 3], [1, 0], [1, 2]], [[0, 0], [7, 5], [2, 1]]
# => [[1, 3], [8, 5], [3, 3]]
#
# Returns the resulting matrix or null if the dimension... |
[
{
"context": "nName_default = orgx\n \n commonName = ioc\n commonName_default = ioc\n \n emailAddre",
"end": 1663,
"score": 0.7469310760498047,
"start": 1662,
"tag": "NAME",
"value": "i"
},
{
"context": "monName = ioc\n commonName_default = ioc\n ... | notes/797d28e7-94d4-4d39-af00-f45f6f6080e1.cson | cwocwo/boostnote | 0 | createdAt: "2018-04-27T11:04:10.707Z"
updatedAt: "2018-09-22T03:28:04.528Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "kubectl 常用操作"
content: '''
# kubectl 常用操作
kubectl logs jenkins-9f8c8ddf9-96hww -n jenkins -c copy-default-config -f
helm install jenkins/ --name jenkins --tls --namespace je... | 92185 | createdAt: "2018-04-27T11:04:10.707Z"
updatedAt: "2018-09-22T03:28:04.528Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "kubectl 常用操作"
content: '''
# kubectl 常用操作
kubectl logs jenkins-9f8c8ddf9-96hww -n jenkins -c copy-default-config -f
helm install jenkins/ --name jenkins --tls --namespace je... | true | createdAt: "2018-04-27T11:04:10.707Z"
updatedAt: "2018-09-22T03:28:04.528Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "kubectl 常用操作"
content: '''
# kubectl 常用操作
kubectl logs jenkins-9f8c8ddf9-96hww -n jenkins -c copy-default-config -f
helm install jenkins/ --name jenkins --tls --namespace je... |
[
{
"context": " '1'\n 'gpgkey': 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7'\n , (err, {status}) ->\n statu",
"end": 6110,
"score": 0.5710289478302002,
"start": 6102,
"tag": "KEY",
"value": "RPM-GPG-"
},
{
"context": " 'gpgkey': 'file:///etc/pki/rpm-gpg/RPM-GPG-K... | packages/core/test/file.ini/index.coffee | chibanemourad/node-nikita | 0 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.ini', ->
they 'stringify an object', ({ssh}) ->
nikita
ssh: ssh
.file.ini
content: user: preference: color: 'rouge'
target: "#{scratc... | 177816 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.ini', ->
they 'stringify an object', ({ssh}) ->
nikita
ssh: ssh
.file.ini
content: user: preference: color: 'rouge'
target: "#{scratc... | true |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.ini', ->
they 'stringify an object', ({ssh}) ->
nikita
ssh: ssh
.file.ini
content: user: preference: color: 'rouge'
target: "#{scratc... |
[
{
"context": "ed = ->\n log \"acceptKeyButtonClicked\"\n key = utl.strip0x(importKeyInput.value)\n return unless utl.isVal",
"end": 4894,
"score": 0.9672266840934753,
"start": 4883,
"tag": "KEY",
"value": "utl.strip0x"
},
{
"context": "dregion\n\nmodule.exports = accountsett... | accountsettingsmodule.coffee | JhonnyJason/pwa-sources-accountsettingsmodule | 0 | accountsettingsmodule = {name: "accountsettingsmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["accountsettingsmodule"]? then console.log "[accountsettingsmodule]: " + arg
return
ostr = (obj) -> JSON.stringi... | 15905 | accountsettingsmodule = {name: "accountsettingsmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["accountsettingsmodule"]? then console.log "[accountsettingsmodule]: " + arg
return
ostr = (obj) -> JSON.stringi... | true | accountsettingsmodule = {name: "accountsettingsmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["accountsettingsmodule"]? then console.log "[accountsettingsmodule]: " + arg
return
ostr = (obj) -> JSON.stringi... |
[
{
"context": "\tmeta: {\n\t\t# \t\t\tusers: [\"user_id\", { first_name: \"James\", ... }, ...]\n\t\t# \t\t\t...\n\t\t# \t\t}\n\t\t# \t}, ...]\n\t\t#",
"end": 1497,
"score": 0.9997971057891846,
"start": 1492,
"tag": "NAME",
"value": "James"
},
{
"context": "\tmeta: {\n\t\t# \t\t\tuser... | app/coffee/Features/History/HistoryManager.coffee | shyoshyo/web-sharelatex | 1 | request = require "request"
settings = require "settings-sharelatex"
async = require 'async'
UserGetter = require "../User/UserGetter"
module.exports = HistoryManager =
initializeProject: (callback = (error, history_id) ->) ->
return callback() if !settings.apis.project_history?.initializeHistoryForNewProjects
re... | 51908 | request = require "request"
settings = require "settings-sharelatex"
async = require 'async'
UserGetter = require "../User/UserGetter"
module.exports = HistoryManager =
initializeProject: (callback = (error, history_id) ->) ->
return callback() if !settings.apis.project_history?.initializeHistoryForNewProjects
re... | true | request = require "request"
settings = require "settings-sharelatex"
async = require 'async'
UserGetter = require "../User/UserGetter"
module.exports = HistoryManager =
initializeProject: (callback = (error, history_id) ->) ->
return callback() if !settings.apis.project_history?.initializeHistoryForNewProjects
re... |
[
{
"context": "fierDyingWishDamageNearbyAllies\"\n\n\t@modifierName:\"Curse of Agony\"\n\t@keyworded: false\n\t@description: \"When this min",
"end": 375,
"score": 0.9727956652641296,
"start": 361,
"tag": "NAME",
"value": "Curse of Agony"
}
] | app/sdk/modifiers/modifierDyingWishDamageNearbyAllies.coffee | willroberts/duelyst | 5 | CONFIG = require 'app/common/config'
ModifierDyingWish = require './modifierDyingWish'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
class ModifierDyingWishDamageNearbyAllies extends ModifierDyingWish
type:"ModifierDyingWishDamageNearbyAllies"
@type:"ModifierDying... | 50065 | CONFIG = require 'app/common/config'
ModifierDyingWish = require './modifierDyingWish'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
class ModifierDyingWishDamageNearbyAllies extends ModifierDyingWish
type:"ModifierDyingWishDamageNearbyAllies"
@type:"ModifierDying... | true | CONFIG = require 'app/common/config'
ModifierDyingWish = require './modifierDyingWish'
DamageAction = require 'app/sdk/actions/damageAction'
CardType = require 'app/sdk/cards/cardType'
class ModifierDyingWishDamageNearbyAllies extends ModifierDyingWish
type:"ModifierDyingWishDamageNearbyAllies"
@type:"ModifierDying... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.