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": "@fileoverview Tests for no-bitwise rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.999800443649292,
"start": 58,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-bitwise.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-bitwise rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-bitwise'
{Rul... | 149587 | ###*
# @fileoverview Tests for no-bitwise rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-bitwise'
{RuleTester} = ... | true | ###*
# @fileoverview Tests for no-bitwise rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-bitwise'
{... |
[
{
"context": "e + '\\n'\n Email.send\n from: requestor || \"spastai@gmail.com\",\n to: getUserEmail(tripOwner),\n subjec",
"end": 443,
"score": 0.9999254941940308,
"start": 426,
"tag": "EMAIL",
"value": "spastai@gmail.com"
}
] | src/packages/carpool-notifications/server/NotificationService.coffee | ArnoldasSid/vilnius-carpool | 11 | Meteor.startup ()->
Push.Configure Meteor.settings.push
class @NotificationService
notifyRequestRide: (trip)->
user = Meteor.user();
requestor = getUserEmail(user);
tripOwner = Meteor.users.findOne(trip.owner);
emailText = 'User ' + requestor + ' wants to join the trip\n' + trip.fromStreet + ' ' + ... | 89485 | Meteor.startup ()->
Push.Configure Meteor.settings.push
class @NotificationService
notifyRequestRide: (trip)->
user = Meteor.user();
requestor = getUserEmail(user);
tripOwner = Meteor.users.findOne(trip.owner);
emailText = 'User ' + requestor + ' wants to join the trip\n' + trip.fromStreet + ' ' + ... | true | Meteor.startup ()->
Push.Configure Meteor.settings.push
class @NotificationService
notifyRequestRide: (trip)->
user = Meteor.user();
requestor = getUserEmail(user);
tripOwner = Meteor.users.findOne(trip.owner);
emailText = 'User ' + requestor + ' wants to join the trip\n' + trip.fromStreet + ' ' + ... |
[
{
"context": "orts = {\n port : 3000\n mongodb : \"mongodb://128.199.100.77:27017/crawl\"\n google:\n api_key2 : \"AIza",
"end": 74,
"score": 0.9989476799964905,
"start": 60,
"tag": "IP_ADDRESS",
"value": "128.199.100.77"
},
{
"context": "0.77:27017/crawl\"\n googl... | config.coffee | weicong96/smcrawl | 0 | module.exports = {
port : 3000
mongodb : "mongodb://128.199.100.77:27017/crawl"
google:
api_key2 : "AIzaSyDC3_nggRbuvTB6vxYvkS-jKp9MoHZwUT8"
api_key : "AIzaSyC3WqpktiXkPHRcTgWTL0TvEKdOZgqE8HU"
distance : 750
query_interval : 1000 * 60 * 60
query_limit : 1000
inst... | 99044 | module.exports = {
port : 3000
mongodb : "mongodb://172.16.58.3:27017/crawl"
google:
api_key2 : "<KEY>"
api_key : "<KEY>"
distance : 750
query_interval : 1000 * 60 * 60
query_limit : 1000
instagram :
client_id : "cda2be39cc134a989167b91c21c8fe08"
... | true | module.exports = {
port : 3000
mongodb : "mongodb://PI:IP_ADDRESS:172.16.58.3END_PI:27017/crawl"
google:
api_key2 : "PI:KEY:<KEY>END_PI"
api_key : "PI:KEY:<KEY>END_PI"
distance : 750
query_interval : 1000 * 60 * 60
query_limit : 1000
instagram :
client_i... |
[
{
"context": " username = req.body.username\n password = req.body.password\n\n if not username? or username is \"\" or no",
"end": 1020,
"score": 0.9972081184387207,
"start": 1003,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | server/routes.coffee | dmahlow/system | 0 | # SERVER ROUTES
# --------------------------------------------------------------------------
# Define server routes.
module.exports = (app) ->
# Require Expresser.
expresser = require "expresser"
settings = expresser.settings
# Required modules.
database = require "./database.coffee"
fs = req... | 217013 | # SERVER ROUTES
# --------------------------------------------------------------------------
# Define server routes.
module.exports = (app) ->
# Require Expresser.
expresser = require "expresser"
settings = expresser.settings
# Required modules.
database = require "./database.coffee"
fs = req... | true | # SERVER ROUTES
# --------------------------------------------------------------------------
# Define server routes.
module.exports = (app) ->
# Require Expresser.
expresser = require "expresser"
settings = expresser.settings
# Required modules.
database = require "./database.coffee"
fs = req... |
[
{
"context": "length + ' users'\n Email.send\n from: 'info@codermania.com'\n bcc: userEmails\n subject: \"Study ",
"end": 1680,
"score": 0.9999317526817322,
"start": 1661,
"tag": "EMAIL",
"value": "info@codermania.com"
}
] | server/lib/StudyGroup.coffee | Elfoslav/codermania | 56 | class @StudyGroup
@getUnreadMessagesCount: (data) ->
check data,
userId: String
studyGroupId: String
return StudyGroupMessages.find
studyGroupId: data.studyGroupId
isReadBy: $nin: [ data.userId ]
.count()
@getUserStudyGroups: (userId) ->
check userId, String
return Study... | 773 | class @StudyGroup
@getUnreadMessagesCount: (data) ->
check data,
userId: String
studyGroupId: String
return StudyGroupMessages.find
studyGroupId: data.studyGroupId
isReadBy: $nin: [ data.userId ]
.count()
@getUserStudyGroups: (userId) ->
check userId, String
return Study... | true | class @StudyGroup
@getUnreadMessagesCount: (data) ->
check data,
userId: String
studyGroupId: String
return StudyGroupMessages.find
studyGroupId: data.studyGroupId
isReadBy: $nin: [ data.userId ]
.count()
@getUserStudyGroups: (userId) ->
check userId, String
return Study... |
[
{
"context": "esponder - touch response recieve class\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 113,
"score": 0.9998931884765625,
"start": 99,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/01_JSResponder.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSResponder - touch response recieve class
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSResponder extends JSObject
constructor: ->
super()
@_event = null
@_touches = false
didBrowserResize:->
... | 33994 | #*****************************************
# JSResponder - touch response recieve class
# Coded by <NAME> 2013.03.25
#*****************************************
class JSResponder extends JSObject
constructor: ->
super()
@_event = null
@_touches = false
didBrowserResize:->
for o ... | true | #*****************************************
# JSResponder - touch response recieve class
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSResponder extends JSObject
constructor: ->
super()
@_event = null
@_touches = false
didBrowserResize:->
... |
[
{
"context": "###\n * https://github.com/jkuetemeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg K",
"end": 37,
"score": 0.9987826347351074,
"start": 26,
"tag": "USERNAME",
"value": "jkuetemeier"
},
{
"context": "temeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg Kütemei... | test/tools/common.coffee | kuetemeier/gulp-tasks-common | 0 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 Jörg Kütemeier
* Licensed under the MIT license.
###
# mockup of common for testing
common = {
config: {
taskEnabled : {
enabled: true
}
taskDisabled : {
enabled: false
}
taskOwnTask : {
enable... | 177389 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# mockup of common for testing
common = {
config: {
taskEnabled : {
enabled: true
}
taskDisabled : {
enabled: false
}
taskOwnTask : {
enabled: true
... | true | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# mockup of common for testing
common = {
config: {
taskEnabled : {
enabled: true
}
taskDisabled : {
enabled: false
}
taskOwnTask : {
... |
[
{
"context": "dPlugins = []\n\n books = [\n Book.create(name: \"andy\", isSelected: false, year: 2012)\n Book.create(",
"end": 824,
"score": 0.99983811378479,
"start": 820,
"tag": "NAME",
"value": "andy"
},
{
"context": "lected: false, year: 2012)\n Book.create(name: \"tom\... | test/integration/observer_test.coffee | kumavis/ArrayPipeline | 0 | require '../test_helper.coffee'
###
# Test Classes
###
firedPlugins = []
pipeline = {}
Book = Em.Object.extend
isSelected: false
name: null
year: null
Pipe1 = Em.PipePlugin.extend
observes: ['isSelected']
process: (inputArr) ->
firedPlugins.pushObject 'pipe1'
return inputArr
Pipe2 = Em.PipePlugin... | 79672 | require '../test_helper.coffee'
###
# Test Classes
###
firedPlugins = []
pipeline = {}
Book = Em.Object.extend
isSelected: false
name: null
year: null
Pipe1 = Em.PipePlugin.extend
observes: ['isSelected']
process: (inputArr) ->
firedPlugins.pushObject 'pipe1'
return inputArr
Pipe2 = Em.PipePlugin... | true | require '../test_helper.coffee'
###
# Test Classes
###
firedPlugins = []
pipeline = {}
Book = Em.Object.extend
isSelected: false
name: null
year: null
Pipe1 = Em.PipePlugin.extend
observes: ['isSelected']
process: (inputArr) ->
firedPlugins.pushObject 'pipe1'
return inputArr
Pipe2 = Em.PipePlugin... |
[
{
"context": "into the database\nuser.save \"user1\", \"password\", \"user1@gmail.com\", (err) -> \n\tthrow err if err\n\tconsole.log \"user ",
"end": 781,
"score": 0.9997501373291016,
"start": 766,
"tag": "EMAIL",
"value": "user1@gmail.com"
},
{
"context": "into the database\nuser.s... | src/populateDB.coffee | steven9neuf/ast_project | 0 | # require all the modules needed
express = require 'express'
bodyparser = require 'body-parser'
morgan = require 'morgan'
session = require 'express-session'
SessionStore = require('level-session-store')(session)
level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db"
metrics = r... | 97855 | # require all the modules needed
express = require 'express'
bodyparser = require 'body-parser'
morgan = require 'morgan'
session = require 'express-session'
SessionStore = require('level-session-store')(session)
level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db"
metrics = r... | true | # require all the modules needed
express = require 'express'
bodyparser = require 'body-parser'
morgan = require 'morgan'
session = require 'express-session'
SessionStore = require('level-session-store')(session)
level = require 'level'
levelws = require 'level-ws'
db = levelws level "#{__dirname}/../db"
metrics = r... |
[
{
"context": "128182440000\n8;list;[1,2,3]\n9;object;\"{\"\"name\"\":\"\"Egon\"\"}\"\n10;complex;\"[{\"\"name\"\":\"\"Valentina\"\"},{\"\"name",
"end": 504,
"score": 0.9992433786392212,
"start": 500,
"tag": "NAME",
"value": "Egon"
},
{
"context": "ct;\"{\"\"name\"\":\"\"Egon\"\"}\"\n... | src/type/csv.coffee | alinex/node-formatter | 0 | ###
CSV
=======================================================
The CSV format should only be used with table like data which is in the form of
a list of lists. See the [table](http://alinex.github.io/node-table) package to
transform and work with such data.
Autodetection is not possible here.
Common file extension `... | 107657 | ###
CSV
=======================================================
The CSV format should only be used with table like data which is in the form of
a list of lists. See the [table](http://alinex.github.io/node-table) package to
transform and work with such data.
Autodetection is not possible here.
Common file extension `... | true | ###
CSV
=======================================================
The CSV format should only be used with table like data which is in the form of
a list of lists. See the [table](http://alinex.github.io/node-table) package to
transform and work with such data.
Autodetection is not possible here.
Common file extension `... |
[
{
"context": "không đúng ')\n paramsPass=\n password : $scope.changePass.old\n new_password : $scope.changePass.new\n ",
"end": 5642,
"score": 0.9971591234207153,
"start": 5621,
"tag": "PASSWORD",
"value": "$scope.changePass.old"
},
{
"context": "ord : $scope.ch... | app/core/controllers/profile.coffee | xitrumuit1991/ls-yuptv | 0 | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.profile",
url : "profile"
views :
"main@" :
templateUrl : "/templates/profile/view.html"
controller : "ProfileCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope,
$scope, $tim... | 175035 | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.profile",
url : "profile"
views :
"main@" :
templateUrl : "/templates/profile/view.html"
controller : "ProfileCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope,
$scope, $tim... | true | "use strict"
route = ($stateProvider, GlobalConfig)->
$stateProvider
.state "base.profile",
url : "profile"
views :
"main@" :
templateUrl : "/templates/profile/view.html"
controller : "ProfileCtrl"
route.$inject = ['$stateProvider', 'GlobalConfig']
ctrl = ($rootScope,
$scope, $tim... |
[
{
"context": "d on jQuery Cookie plugin\n # Copyright (c) 2010 Klaus Hartl (stilbuero.de)\n # Dual licensed under the MIT ",
"end": 329,
"score": 0.9998756051063538,
"start": 318,
"tag": "NAME",
"value": "Klaus Hartl"
}
] | bootstrap-tour.coffee | cloudify/bootstrap-tour | 1 | # bootstrap-tour.js v0.0.1
# Copyright 2012 Gild, Inc.
#
# Free to use under the MIT license.
# http://www.opensource.org/licenses/mit-license.php
# References jQuery
$ = jQuery
# Adds plugin object to jQuery
$.fn.extend {}=
featureTour: (options) ->
# based on jQuery Cookie plugin
# Copyright (c) 2010 Kl... | 44072 | # bootstrap-tour.js v0.0.1
# Copyright 2012 Gild, Inc.
#
# Free to use under the MIT license.
# http://www.opensource.org/licenses/mit-license.php
# References jQuery
$ = jQuery
# Adds plugin object to jQuery
$.fn.extend {}=
featureTour: (options) ->
# based on jQuery Cookie plugin
# Copyright (c) 2010 <N... | true | # bootstrap-tour.js v0.0.1
# Copyright 2012 Gild, Inc.
#
# Free to use under the MIT license.
# http://www.opensource.org/licenses/mit-license.php
# References jQuery
$ = jQuery
# Adds plugin object to jQuery
$.fn.extend {}=
featureTour: (options) ->
# based on jQuery Cookie plugin
# Copyright (c) 2010 PI... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999546468257904,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-postmortem-jsstack.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... | 109679 | # 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": "r l’état de cette patinoire:\"\n request_email: 'Courriel'\n request_phone: 'Téléphone'\n or_call: 'ou ",
"end": 3193,
"score": 0.9997659921646118,
"start": 3185,
"tag": "NAME",
"value": "Courriel"
},
{
"context": "to ignore query string.\n# @see https://github... | app/assets/javascripts/map.js.coffee | mudar/patinermontreal.ca | 3 | # @see hasClass
$.fn.hasAttr = (attr) ->
_.any this, (el) ->
typeof $(el).attr(attr) isnt 'undefined'
# @see toggleClass
$.fn.toggleAttr = (attr, state) ->
isBoolean = typeof state is 'boolean'
this.each ->
self = $ this
state = not self.hasAttr(attr) unless isBoolean
if state
self.attr att... | 131963 | # @see hasClass
$.fn.hasAttr = (attr) ->
_.any this, (el) ->
typeof $(el).attr(attr) isnt 'undefined'
# @see toggleClass
$.fn.toggleAttr = (attr, state) ->
isBoolean = typeof state is 'boolean'
this.each ->
self = $ this
state = not self.hasAttr(attr) unless isBoolean
if state
self.attr att... | true | # @see hasClass
$.fn.hasAttr = (attr) ->
_.any this, (el) ->
typeof $(el).attr(attr) isnt 'undefined'
# @see toggleClass
$.fn.toggleAttr = (attr, state) ->
isBoolean = typeof state is 'boolean'
this.each ->
self = $ this
state = not self.hasAttr(attr) unless isBoolean
if state
self.attr att... |
[
{
"context": "llainsDict =\n 'jk': 'The Joker'\n 'hq': 'Harley Quinn'\n 'en': 'Edward Nigma'\n\n for guid, name o",
"end": 382,
"score": 0.9998699426651001,
"start": 370,
"tag": "NAME",
"value": "Harley Quinn"
},
{
"context": "he Joker'\n 'hq': 'Harley Quinn'\n... | tests/WheatonDeckTest.coffee | lessthanthree/wheaton | 1 | deckClassPath = '../src/vendor/wheaton/Deck'
cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock deckClassPath
jest.dontMock cardClassPath
describe 'Wheaton/Objects/Deck', ->
deck = undefined
beforeEach ->
Deck = require deckClassPath
Card = require cardClassPath
deck = new Deck
gothamVi... | 121168 | deckClassPath = '../src/vendor/wheaton/Deck'
cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock deckClassPath
jest.dontMock cardClassPath
describe 'Wheaton/Objects/Deck', ->
deck = undefined
beforeEach ->
Deck = require deckClassPath
Card = require cardClassPath
deck = new Deck
gothamVi... | true | deckClassPath = '../src/vendor/wheaton/Deck'
cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock deckClassPath
jest.dontMock cardClassPath
describe 'Wheaton/Objects/Deck', ->
deck = undefined
beforeEach ->
Deck = require deckClassPath
Card = require cardClassPath
deck = new Deck
gothamVi... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998928904533386,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/config/sequelize_config.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
path = require 'path'
config = require './index'
module.exports =
development:
username: config.db.username
password: config.db.password
database: config... | 39806 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
path = require 'path'
config = require './index'
module.exports =
development:
username: config.db.username
password: <PASSWORD>
database: config.db.dbName
host: config.db... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
path = require 'path'
config = require './index'
module.exports =
development:
username: config.db.username
password: PI:PASSWORD:<PASSWORD>END_PI
... |
[
{
"context": "= data.split \":\"\n result = \n username: username\n password: password\n email: email\n ",
"end": 334,
"score": 0.9893836975097656,
"start": 326,
"tag": "USERNAME",
"value": "username"
},
{
"context": "lt = \n username: username\n ... | src/back/user.coffee | ThomasCharuel/ece_ast_project | 0 | module.exports = (db) ->
# get (username, callback)
# Get user informations
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "user:#{username}", (err, data) ->
return callback err if err
[ password, email ] = data.split ":"
result =
user... | 137480 | module.exports = (db) ->
# get (username, callback)
# Get user informations
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "user:#{username}", (err, data) ->
return callback err if err
[ password, email ] = data.split ":"
result =
user... | true | module.exports = (db) ->
# get (username, callback)
# Get user informations
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
db.get "user:#{username}", (err, data) ->
return callback err if err
[ password, email ] = data.split ":"
result =
user... |
[
{
"context": "rom a YAML file.\n@module joukou-api/config\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\nfs = require( ",
"end": 691,
"score": 0.9998815655708313,
"start": 677,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "@module joukou-api/config\n@author... | src/config.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 121998 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": "ime Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 120,
"score": 0.6926596164703369,
"start": 111,
"tag": "USERNAME",
"value": "Southclaw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter crea... | snippets/SIF.InventoryKeys.pwn.cson | Wuzi/language-pawn | 4 | # SIF.InventoryKeys.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'OnPlayerAddToInventory':
... | 52128 | # SIF.InventoryKeys.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>" <NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'OnPlayerAddToInventory... | true | # SIF.InventoryKeys.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pw... |
[
{
"context": "igger, \"logout\")\n\n channelFor: (key) ->\n key = \"#{key}-chan\"\n return service if (service = @get key)?\n ",
"end": 1087,
"score": 0.9179954528808594,
"start": 1075,
"tag": "KEY",
"value": "\"#{key}-chan"
}
] | addon/services/autox-session-context.coffee | foxnewsnetwork/autox | 0 | `import Ember from 'ember'`
`import _x from 'autox/utils/xdash'`
`import _ from 'lodash/lodash'`
{RSVP, Service, Evented, isBlank, inject, computed, run, String: {singularize}} = Ember
{alias} = computed
{apply} = _x.computed
{chain, bind} = _
NullModelError = (key) -> """
You called AutoxSessionContextService.connec... | 203981 | `import Ember from 'ember'`
`import _x from 'autox/utils/xdash'`
`import _ from 'lodash/lodash'`
{RSVP, Service, Evented, isBlank, inject, computed, run, String: {singularize}} = Ember
{alias} = computed
{apply} = _x.computed
{chain, bind} = _
NullModelError = (key) -> """
You called AutoxSessionContextService.connec... | true | `import Ember from 'ember'`
`import _x from 'autox/utils/xdash'`
`import _ from 'lodash/lodash'`
{RSVP, Service, Evented, isBlank, inject, computed, run, String: {singularize}} = Ember
{alias} = computed
{apply} = _x.computed
{chain, bind} = _
NullModelError = (key) -> """
You called AutoxSessionContextService.connec... |
[
{
"context": " = index: 0\n\n request: (url, cb) ->\n key = \"_\" + global.jsonpCallbacks.index++\n sep = \"?\"\n ",
"end": 186,
"score": 0.750205934047699,
"start": 181,
"tag": "KEY",
"value": "\"_\" +"
}
] | src/scripts/util/jsonp.coffee | georgeOsdDev/booklog | 1 | "use strict"
define ->
class JSONP
constructor: (context)->
@s = {}
global = context
global.jsonpCallbacks = index: 0
request: (url, cb) ->
key = "_" + global.jsonpCallbacks.index++
sep = "?"
@s[key] = document.createElement("script")
@s[key].type = "text/javascript"... | 17182 | "use strict"
define ->
class JSONP
constructor: (context)->
@s = {}
global = context
global.jsonpCallbacks = index: 0
request: (url, cb) ->
key = <KEY> global.jsonpCallbacks.index++
sep = "?"
@s[key] = document.createElement("script")
@s[key].type = "text/javascript"... | true | "use strict"
define ->
class JSONP
constructor: (context)->
@s = {}
global = context
global.jsonpCallbacks = index: 0
request: (url, cb) ->
key = PI:KEY:<KEY>END_PI global.jsonpCallbacks.index++
sep = "?"
@s[key] = document.createElement("script")
@s[key].type = "tex... |
[
{
"context": "ch'], ['cent', 'centy', 'centów']],\n 'BAM': [['marka','marki','marek'], ['fenig','fenigi','fenigów']],",
"end": 2554,
"score": 0.9952043294906616,
"start": 2549,
"tag": "NAME",
"value": "marka"
},
{
"context": "cent', 'centy', 'centów']],\n 'BAM': [['marka','mark... | src/app/components/number2words/Number2Words.coffee | machomic/fakturownik-front | 1 | class Number2Words
minus: 'minus'
exponent:
0: ['','','']
3: ['tysiąc','tysiące','tysięcy']
6: ['milion','miliony','milionów']
9: ['miliard','miliardy','miliardów']
12: ['bilion','biliony','bilionów']
15: ['biliard','biliardy','biliardów']
18: ['trylion','tryliony','trylionów']
21: [... | 107781 | class Number2Words
minus: 'minus'
exponent:
0: ['','','']
3: ['tysiąc','tysiące','tysięcy']
6: ['milion','miliony','milionów']
9: ['miliard','miliardy','miliardów']
12: ['bilion','biliony','bilionów']
15: ['biliard','biliardy','biliardów']
18: ['trylion','tryliony','trylionów']
21: [... | true | class Number2Words
minus: 'minus'
exponent:
0: ['','','']
3: ['tysiąc','tysiące','tysięcy']
6: ['milion','miliony','milionów']
9: ['miliard','miliardy','miliardów']
12: ['bilion','biliony','bilionów']
15: ['biliard','biliardy','biliardów']
18: ['trylion','tryliony','trylionów']
21: [... |
[
{
"context": "derationComment {...@props}\n key={\"moderation-#{moderation.id}\"}\n moderation={moder",
"end": 2556,
"score": 0.8476731777191162,
"start": 2543,
"tag": "KEY",
"value": "moderation-#{"
},
{
"context": "{...@props}\n key={\"m... | app/talk/moderations.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
auth = require 'panoptes-client/lib/auth'
Paginator = require './lib/paginator'
Loading = require '../components/loading-indicator'
page_size = require('./config').moderationsPageSize
{History} = require 'react-router'
updateQueryParams = re... | 147791 | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
auth = require 'panoptes-client/lib/auth'
Paginator = require './lib/paginator'
Loading = require '../components/loading-indicator'
page_size = require('./config').moderationsPageSize
{History} = require 'react-router'
updateQueryParams = re... | true | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
auth = require 'panoptes-client/lib/auth'
Paginator = require './lib/paginator'
Loading = require '../components/loading-indicator'
page_size = require('./config').moderationsPageSize
{History} = require 'react-router'
updateQueryParams = re... |
[
{
"context": "yes\n sendVerificationEmail: no\n confirmPassword: yes\n negativeValidation: yes\n positiveValidation: y",
"end": 163,
"score": 0.929425060749054,
"start": 160,
"tag": "PASSWORD",
"value": "yes"
}
] | both/router/config.coffee | bkuri/scatpod | 0 | AccountsTemplates.configure
showForgotPasswordLink: yes
overrideLoginErrors: yes
enablePasswordChange: yes
sendVerificationEmail: no
confirmPassword: yes
negativeValidation: yes
positiveValidation: yes
negativeFeedback: no
positiveFeedback: no
AccountsTemplates.configureRoute 'changePwd'
AccountsTem... | 38284 | AccountsTemplates.configure
showForgotPasswordLink: yes
overrideLoginErrors: yes
enablePasswordChange: yes
sendVerificationEmail: no
confirmPassword: <PASSWORD>
negativeValidation: yes
positiveValidation: yes
negativeFeedback: no
positiveFeedback: no
AccountsTemplates.configureRoute 'changePwd'
Acco... | true | AccountsTemplates.configure
showForgotPasswordLink: yes
overrideLoginErrors: yes
enablePasswordChange: yes
sendVerificationEmail: no
confirmPassword: PI:PASSWORD:<PASSWORD>END_PI
negativeValidation: yes
positiveValidation: yes
negativeFeedback: no
positiveFeedback: no
AccountsTemplates.configureRout... |
[
{
"context": "= parent || false\n @meta = ''\n @name = 'New Factor'\n @pairwise = [[]]\n @pairwise[0][0] = 1",
"end": 181,
"score": 0.9853496551513672,
"start": 171,
"tag": "NAME",
"value": "New Factor"
},
{
"context": "getTree()) for child in @childs\n \n ... | app/scripts/models/factor.model.coffee | sposmen/Analytic-Hierarchy-Process | 0 | angular.module('app.models', [])
.factory 'Factor', () ->
class Factor
constructor: (parent)->
@parent = parent || false
@meta = ''
@name = 'New Factor'
@pairwise = [[]]
@pairwise[0][0] = 1
@pairwisefractions = [[]]
@columnSum = []
@columnSumUnit = []
@r... | 221199 | angular.module('app.models', [])
.factory 'Factor', () ->
class Factor
constructor: (parent)->
@parent = parent || false
@meta = ''
@name = '<NAME>'
@pairwise = [[]]
@pairwise[0][0] = 1
@pairwisefractions = [[]]
@columnSum = []
@columnSumUnit = []
@rowSu... | true | angular.module('app.models', [])
.factory 'Factor', () ->
class Factor
constructor: (parent)->
@parent = parent || false
@meta = ''
@name = 'PI:NAME:<NAME>END_PI'
@pairwise = [[]]
@pairwise[0][0] = 1
@pairwisefractions = [[]]
@columnSum = []
@columnSumUnit = [... |
[
{
"context": " @reconnect('Reloading flow list')\n if (@myId(message.user) && message.event in ['backend.user.",
"end": 4368,
"score": 0.9860572814941406,
"start": 4362,
"tag": "USERNAME",
"value": "(@myId"
},
{
"context": ".debug 'Received message', message\n\n auth... | src/flowdock.coffee | 65Mustang289/hubot-flowdock | 53 | flowdock = require 'flowdock'
try
{Adapter,TextMessage} = require 'hubot'
catch
prequire = require 'parent-require'
{Adapter, TextMessage} = prequire 'hubot'
class Flowdock extends Adapter
constructor: ->
super
@ignores = []
# Make sure hubot does not see commands posted using only a flow token (e... | 108228 | flowdock = require 'flowdock'
try
{Adapter,TextMessage} = require 'hubot'
catch
prequire = require 'parent-require'
{Adapter, TextMessage} = prequire 'hubot'
class Flowdock extends Adapter
constructor: ->
super
@ignores = []
# Make sure hubot does not see commands posted using only a flow token (e... | true | flowdock = require 'flowdock'
try
{Adapter,TextMessage} = require 'hubot'
catch
prequire = require 'parent-require'
{Adapter, TextMessage} = prequire 'hubot'
class Flowdock extends Adapter
constructor: ->
super
@ignores = []
# Make sure hubot does not see commands posted using only a flow token (e... |
[
{
"context": "ata: (github, username) ->\n\n github.username ?= username\n\n github.homepage ?= \"https://github.com/#{use",
"end": 4116,
"score": 0.7911797165870667,
"start": 4108,
"tag": "USERNAME",
"value": "username"
},
{
"context": "enticate\n\n type: \"basic\"\n\n ... | lib/main.coffee | joaoafrmartins/spaghetty-github | 0 | { EOL } = require 'os'
{ basename, dirname, resolve } = require 'path'
{ readdirSyncRecursive: findAll } = require 'wrench'
async = require 'async'
merge = require 'lodash.merge'
GitHubApi = require 'github'
ACliCommand = require 'a-cli-command'
class Github extends ACliCommand
command:
name: "github"
... | 188954 | { EOL } = require 'os'
{ basename, dirname, resolve } = require 'path'
{ readdirSyncRecursive: findAll } = require 'wrench'
async = require 'async'
merge = require 'lodash.merge'
GitHubApi = require 'github'
ACliCommand = require 'a-cli-command'
class Github extends ACliCommand
command:
name: "github"
... | true | { EOL } = require 'os'
{ basename, dirname, resolve } = require 'path'
{ readdirSyncRecursive: findAll } = require 'wrench'
async = require 'async'
merge = require 'lodash.merge'
GitHubApi = require 'github'
ACliCommand = require 'a-cli-command'
class Github extends ACliCommand
command:
name: "github"
... |
[
{
"context": "# Copyright © 2014 All rights reserved\n# Author: nhim175@gmail.com\n\nClassLogger =\n\n debug: () ->\n console.debug.",
"end": 66,
"score": 0.9999077320098877,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/mixins/logger.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2014 All rights reserved
# Author: nhim175@gmail.com
ClassLogger =
debug: () ->
console.debug.apply console, @_build_msg(arguments)
info: () ->
console.info.apply console, @_build_msg(arguments)
warn: () ->
console.warn.apply console, @_build_msg(arguments)
error: () ->
consol... | 196996 | # Copyright © 2014 All rights reserved
# Author: <EMAIL>
ClassLogger =
debug: () ->
console.debug.apply console, @_build_msg(arguments)
info: () ->
console.info.apply console, @_build_msg(arguments)
warn: () ->
console.warn.apply console, @_build_msg(arguments)
error: () ->
console.error.ap... | true | # Copyright © 2014 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
ClassLogger =
debug: () ->
console.debug.apply console, @_build_msg(arguments)
info: () ->
console.info.apply console, @_build_msg(arguments)
warn: () ->
console.warn.apply console, @_build_msg(arguments)
error: () ->
c... |
[
{
"context": "#\n# Title Caps\n# \n# Ported to JavaScript By John Resig - http://ejohn.org/ - 21 May 2008\n# Original by J",
"end": 54,
"score": 0.9998745918273926,
"start": 44,
"tag": "NAME",
"value": "John Resig"
},
{
"context": "ig - http://ejohn.org/ - 21 May 2008\n# Original by ... | title_caps.js.coffee | Simplero/titleCase | 0 | #
# Title Caps
#
# Ported to JavaScript By John Resig - http://ejohn.org/ - 21 May 2008
# Original by John Gruber - http://daringfireball.net/ - 10 May 2008
# Ported to CoffeeScript and improved by Calvin Correli - 2 April 2015
# License: http://www.opensource.org/licenses/mit-license.php
#
# List comes from here: ht... | 69080 | #
# Title Caps
#
# Ported to JavaScript By <NAME> - http://ejohn.org/ - 21 May 2008
# Original by <NAME> - http://daringfireball.net/ - 10 May 2008
# Ported to CoffeeScript and improved by <NAME> - 2 April 2015
# License: http://www.opensource.org/licenses/mit-license.php
#
# List comes from here: http://lanecc.libgu... | true | #
# Title Caps
#
# Ported to JavaScript By PI:NAME:<NAME>END_PI - http://ejohn.org/ - 21 May 2008
# Original by PI:NAME:<NAME>END_PI - http://daringfireball.net/ - 10 May 2008
# Ported to CoffeeScript and improved by PI:NAME:<NAME>END_PI - 2 April 2015
# License: http://www.opensource.org/licenses/mit-license.php
#
#... |
[
{
"context": "# * https://github.com/jasoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cyp",
"end": 34,
"score": 0.9995006322860718,
"start": 23,
"tag": "USERNAME",
"value": "jasoncypret"
},
{
"context": "asoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cypret (ht... | vendor/assets/javascripts/expressionui.notify.js.coffee | jasoncypret/expressionUI | 0 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 Jason Cypret (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else... | 142166 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 <NAME> (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else
#... | true | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factor... |
[
{
"context": "e: \"Lasso Select\"\n icon: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGlSURBVDiNldNNiM1hFMfxz/3PHQqxoCgWYmNDk0jyUqwsuP/719xnPVkQStl4mYWpsVXKQkYpL1m4qWmyYElZkDLKyiSbk... | bokehjs/src/coffee/tool/gestures/lasso_select_tool.coffee | rothnic/bokeh | 1 | _ = require "underscore"
PolySelection = require "../../renderer/overlay/poly_selection"
SelectTool = require "./select_tool"
class LassoSelectToolView extends SelectTool.View
initialize: (options) ->
super(options)
@listenTo(@model, 'change:active', @_active_change)
@data = null
_active_change: () -... | 7169 | _ = require "underscore"
PolySelection = require "../../renderer/overlay/poly_selection"
SelectTool = require "./select_tool"
class LassoSelectToolView extends SelectTool.View
initialize: (options) ->
super(options)
@listenTo(@model, 'change:active', @_active_change)
@data = null
_active_change: () -... | true | _ = require "underscore"
PolySelection = require "../../renderer/overlay/poly_selection"
SelectTool = require "./select_tool"
class LassoSelectToolView extends SelectTool.View
initialize: (options) ->
super(options)
@listenTo(@model, 'change:active', @_active_change)
@data = null
_active_change: () -... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998902082443237,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "nsed under the MIT license.\n * htt... | node_modules/wiki-server/lib/server.coffee | jpietrok-pnnl/wiki | 0 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **server.coffee** is the main guts of the express version
# of (Smallest Federated Wiki)[https://github.com/WardCunningha... | 55073 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **server.coffee** is the main guts of the express version
# of (Smallest Federated Wiki)[https://github.com/WardCunningham/Smalles... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki-server/blob/master/LICENSE.txt
###
# **server.coffee** is the main guts of the express version
# of (Smallest Federated Wiki)[https://github.com/WardCunn... |
[
{
"context": "_JSON, 'utf8'))\n resultStr = '[{\"firstName\":\"Jihad\",\"lastName\":\"Saladin\",\"address\":{\"street\":\"12 Bea",
"end": 1348,
"score": 0.9998074173927307,
"start": 1343,
"tag": "NAME",
"value": "Jihad"
},
{
"context": " resultStr = '[{\"firstName\":\"Jihad\",... | spec/processFileSpec.coffee | Lxxyx/excel-as-json | 3 | processFile = require('../src/excel-as-json').processFile
fs = require 'fs'
# TODO: How to get chai defined in a more global way
chai = require 'chai'
chai.should()
expect = chai.expect;
ROW_XLSX = 'data/row-oriented.xlsx'
ROW_JSON = 'build/row-oriented.json'
COL_XLSX = 'data/col-oriented.xlsx'
COL_JSON = 'build/col-... | 59463 | processFile = require('../src/excel-as-json').processFile
fs = require 'fs'
# TODO: How to get chai defined in a more global way
chai = require 'chai'
chai.should()
expect = chai.expect;
ROW_XLSX = 'data/row-oriented.xlsx'
ROW_JSON = 'build/row-oriented.json'
COL_XLSX = 'data/col-oriented.xlsx'
COL_JSON = 'build/col-... | true | processFile = require('../src/excel-as-json').processFile
fs = require 'fs'
# TODO: How to get chai defined in a more global way
chai = require 'chai'
chai.should()
expect = chai.expect;
ROW_XLSX = 'data/row-oriented.xlsx'
ROW_JSON = 'build/row-oriented.json'
COL_XLSX = 'data/col-oriented.xlsx'
COL_JSON = 'build/col-... |
[
{
"context": "files parser/validator\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\n\n#\n# Validates the package content\n#\n# @param ",
"end": 80,
"score": 0.9998878240585327,
"start": 63,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/package.coffee | lovely-io/lovely.io-stl | 2 | #
# Package files parser/validator
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
#
# Validates the package content
#
# @param {Object} data
#
validate = (data) ->
errors = [];
data.name || errors.push("miss the 'name' field")
data.version || errors.push("miss the 'version' field")
data.descripti... | 55759 | #
# Package files parser/validator
#
# Copyright (C) 2011-2012 <NAME>
#
#
# Validates the package content
#
# @param {Object} data
#
validate = (data) ->
errors = [];
data.name || errors.push("miss the 'name' field")
data.version || errors.push("miss the 'version' field")
data.description || error... | true | #
# Package files parser/validator
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
#
# Validates the package content
#
# @param {Object} data
#
validate = (data) ->
errors = [];
data.name || errors.push("miss the 'name' field")
data.version || errors.push("miss the 'version' field")
data.descri... |
[
{
"context": "org'\n id: 'id_RedmineTimeTracker'\n pass: 'pass_RedmineTimeTracker'\n }\n\n beforeEach () ->\n angular.mock.module(",
"end": 237,
"score": 0.9989056587219238,
"start": 214,
"tag": "PASSWORD",
"value": "pass_RedmineTimeTracker"
},
{
"context": " 'http://... | test/account_test.coffee | Chanshi712/RedmineTimeTracker | 73 | expect = chai.expect
describe 'account.coffee', ->
Account = null
$rootScope = null
$q = null
Platform = null
_auth = {
url: 'http://demo.redmine.org'
id: 'id_RedmineTimeTracker'
pass: 'pass_RedmineTimeTracker'
}
beforeEach () ->
angular.mock.module('timeTracker')
# initialize o... | 23098 | expect = chai.expect
describe 'account.coffee', ->
Account = null
$rootScope = null
$q = null
Platform = null
_auth = {
url: 'http://demo.redmine.org'
id: 'id_RedmineTimeTracker'
pass: '<PASSWORD>'
}
beforeEach () ->
angular.mock.module('timeTracker')
# initialize object
inj... | true | expect = chai.expect
describe 'account.coffee', ->
Account = null
$rootScope = null
$q = null
Platform = null
_auth = {
url: 'http://demo.redmine.org'
id: 'id_RedmineTimeTracker'
pass: 'PI:PASSWORD:<PASSWORD>END_PI'
}
beforeEach () ->
angular.mock.module('timeTracker')
# initial... |
[
{
"context": "t = chai.expect\n\nprocess.env.GIST_ACCESS_TOKEN = \"ee33\"\n\nhelper = new Helper('../src/gist-me.coffee')\n\nd",
"end": 251,
"score": 0.9944036602973938,
"start": 247,
"tag": "PASSWORD",
"value": "ee33"
},
{
"context": "e TOKEN, short text\", ->\n \n room.user.... | test/gist-me_test.coffee | n3tr/hubot-gist-me | 1 | # Hubot classes
Helper = require('hubot-test-helper')
# Load assertion
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
path = require 'path'
chai.use require 'sinon-chai'
expect = chai.expect
process.env.GIST_ACCESS_TOKEN = "ee33"
helper = new Helper('../src/gist-me.coffee')
describe 'gistme', -... | 121367 | # Hubot classes
Helper = require('hubot-test-helper')
# Load assertion
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
path = require 'path'
chai.use require 'sinon-chai'
expect = chai.expect
process.env.GIST_ACCESS_TOKEN = "<PASSWORD>"
helper = new Helper('../src/gist-me.coffee')
describe 'gist... | true | # Hubot classes
Helper = require('hubot-test-helper')
# Load assertion
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
path = require 'path'
chai.use require 'sinon-chai'
expect = chai.expect
process.env.GIST_ACCESS_TOKEN = "PI:PASSWORD:<PASSWORD>END_PI"
helper = new Helper('../src/gist-me.coffee... |
[
{
"context": " .set(\"hostname\",\"${2:192.168.0.106}\")#provide windows Server/System hostname.\n ",
"end": 1002,
"score": 0.998449444770813,
"start": 989,
"tag": "IP_ADDRESS",
"value": "192.168.0.106"
},
{
"context": "e \n ... | snippets/flint-windows-connector.cson | manoj-dhadke/flint-atom | 0 |
##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained ... | 184888 |
##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained ... | true |
##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained ... |
[
{
"context": "ord: \"Mettre à jour le mot de passe\"\n password: \"Mot de passe\"\n usernameOrEmail: \"Nom d'utilisateur ou email\"\n",
"end": 462,
"score": 0.9847304224967957,
"start": 450,
"tag": "PASSWORD",
"value": "Mot de passe"
},
{
"context": "nregistrer avec votre adresse e... | client/t9n/french.coffee | NitroLabs/accounts-entry | 0 | fr =
signIn: "Se Connecter"
signin: "se connecter"
signOut: "Se Deconnecter"
signUp: "S'enregistrer"
OR: "OU"
forgotPassword: "Vous avez oublié votre mot de passe ?"
emailAddress: "Adresse Email"
emailResetLink: "Adresse pour reinitialiser votre mot de passe"
dontHaveAnAccount: "Vous n'avez pas de com... | 46726 | fr =
signIn: "Se Connecter"
signin: "se connecter"
signOut: "Se Deconnecter"
signUp: "S'enregistrer"
OR: "OU"
forgotPassword: "Vous avez oublié votre mot de passe ?"
emailAddress: "Adresse Email"
emailResetLink: "Adresse pour reinitialiser votre mot de passe"
dontHaveAnAccount: "Vous n'avez pas de com... | true | fr =
signIn: "Se Connecter"
signin: "se connecter"
signOut: "Se Deconnecter"
signUp: "S'enregistrer"
OR: "OU"
forgotPassword: "Vous avez oublié votre mot de passe ?"
emailAddress: "Adresse Email"
emailResetLink: "Adresse pour reinitialiser votre mot de passe"
dontHaveAnAccount: "Vous n'avez pas de com... |
[
{
"context": ".\"\n $scope.settings = {\n workspaceDirsKeys: ['gamesDir', 'localLib', 'modelRepository']\n workspaceDir",
"end": 276,
"score": 0.8095805644989014,
"start": 268,
"tag": "KEY",
"value": "gamesDir"
},
{
"context": "settings = {\n workspaceDirsKeys: ['gamesDir',... | tools/settings/controller.coffee | mess110/coffee-engine | 1 | app.controller 'SettingsController', ['$scope', ($scope) ->
Hodler.get().engine.removeDom()
$scope.ui.project.name = 'Settings'
$scope.ui.updateOutput = "Update means stash/pull/stash pop.\nUse if extremely lazy."
$scope.settings = {
workspaceDirsKeys: ['gamesDir', 'localLib', 'modelRepository']
worksp... | 81221 | app.controller 'SettingsController', ['$scope', ($scope) ->
Hodler.get().engine.removeDom()
$scope.ui.project.name = 'Settings'
$scope.ui.updateOutput = "Update means stash/pull/stash pop.\nUse if extremely lazy."
$scope.settings = {
workspaceDirsKeys: ['<KEY>', '<KEY> '<KEY>']
workspaceDirs: []
}
... | true | app.controller 'SettingsController', ['$scope', ($scope) ->
Hodler.get().engine.removeDom()
$scope.ui.project.name = 'Settings'
$scope.ui.updateOutput = "Update means stash/pull/stash pop.\nUse if extremely lazy."
$scope.settings = {
workspaceDirsKeys: ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI 'PI:KEY:<KE... |
[
{
"context": ":\n uuid: 'the-nowmen-uuid'\n token: 'the-nowmen-token'\n hostname: 'localhost'\n ",
"end": 952,
"score": 0.7087734341621399,
"start": 949,
"tag": "PASSWORD",
"value": "the"
},
{
"context": " uuid: 'the-nowmen-uuid'\n token: 'the-no... | test/worker-spec.coffee | octoblu/now-man-worker | 0 | Worker = require '../src/worker'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
MeshbluConfig = require 'meshblu-config'
shmock = require 'shmock'
mongojs = require 'mongojs'
{ ObjectId } = require 'mongojs'
enableDestroy = require 'server-destroy'
describe 'Worker',... | 6577 | Worker = require '../src/worker'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
MeshbluConfig = require 'meshblu-config'
shmock = require 'shmock'
mongojs = require 'mongojs'
{ ObjectId } = require 'mongojs'
enableDestroy = require 'server-destroy'
describe 'Worker',... | true | Worker = require '../src/worker'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
MeshbluConfig = require 'meshblu-config'
shmock = require 'shmock'
mongojs = require 'mongojs'
{ ObjectId } = require 'mongojs'
enableDestroy = require 'server-destroy'
describe 'Worker',... |
[
{
"context": " .addClass('show')\n .attr(\"data-team-name\",\"Daltons\")\n spyOn(team, 'subscribe').and.callThrough()\n",
"end": 232,
"score": 0.9907743334770203,
"start": 225,
"tag": "NAME",
"value": "Daltons"
},
{
"context": "\n expect(team.subscribe).toHaveBeenCalledWi... | spec/javascripts/contributors_spec.coffee | johan--/planning-poker | 30 | describe "Contributors", ->
team = App.Channels.Team
contributors = App.Contributors
vote = App.Vote
beforeEach ->
$('body')
.addClass('contributors')
.addClass('show')
.attr("data-team-name","Daltons")
spyOn(team, 'subscribe').and.callThrough()
it "subscribes to the team channel... | 49140 | describe "Contributors", ->
team = App.Channels.Team
contributors = App.Contributors
vote = App.Vote
beforeEach ->
$('body')
.addClass('contributors')
.addClass('show')
.attr("data-team-name","<NAME>")
spyOn(team, 'subscribe').and.callThrough()
it "subscribes to the team channel ... | true | describe "Contributors", ->
team = App.Channels.Team
contributors = App.Contributors
vote = App.Vote
beforeEach ->
$('body')
.addClass('contributors')
.addClass('show')
.attr("data-team-name","PI:NAME:<NAME>END_PI")
spyOn(team, 'subscribe').and.callThrough()
it "subscribes to the... |
[
{
"context": "Device', ->\n beforeEach (done) ->\n @redisKey = UUID.v1()\n database = mongojs 'unregister-device-test', ",
"end": 461,
"score": 0.912755012512207,
"start": 452,
"tag": "KEY",
"value": "UUID.v1()"
},
{
"context": ": 'thank-you-for-considering'\n token... | test/unregister-device-spec.coffee | octoblu/meshblu-core-task-unregister-device | 0 | _ = require 'lodash'
mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
UnregisterDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
UUID = re... | 212940 | _ = require 'lodash'
mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
UnregisterDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
UUID = re... | true | _ = require 'lodash'
mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
UnregisterDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
UUID = re... |
[
{
"context": "ndard alert dialog subclass\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Dialog.Alert extends Dialog\n\n constructo",
"end": 79,
"score": 0.9998859167098999,
"start": 62,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/dialog/src/alert.coffee | lovely-io/lovely.io-stl | 2 | #
# The standard alert dialog subclass
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Dialog.Alert extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Alert'
options.icon or= 'warning-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@addC... | 166344 | #
# The standard alert dialog subclass
#
# Copyright (C) 2012 <NAME>
#
class Dialog.Alert extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Alert'
options.icon or= 'warning-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@addClass 'lui-d... | true | #
# The standard alert dialog subclass
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Dialog.Alert extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Alert'
options.icon or= 'warning-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@a... |
[
{
"context": " = {\n name: if body.name? then body.name else \"麻辣香锅\"\n price: if body.price? then body.price else 1",
"end": 393,
"score": 0.9997392296791077,
"start": 389,
"tag": "NAME",
"value": "麻辣香锅"
},
{
"context": "dy.end_time else \"12:00\"\n }\n\n\n# {\n# \"name\"... | bizs/foodBiz.coffee | leftjs/simple_uphall_api | 0 | jwt = require('jsonwebtoken')
db = require('./../libs/db')
config = require('./../config/config')
moment = require 'moment'
md5Util = require('./../utils/md5Util')
Utils = require './../utils/Utils'
commonBiz = require './commonBiz'
_ = require('underscore')
buildFoodWithBody = (body) ->
moment.locale('zh_cn'... | 186791 | jwt = require('jsonwebtoken')
db = require('./../libs/db')
config = require('./../config/config')
moment = require 'moment'
md5Util = require('./../utils/md5Util')
Utils = require './../utils/Utils'
commonBiz = require './commonBiz'
_ = require('underscore')
buildFoodWithBody = (body) ->
moment.locale('zh_cn'... | true | jwt = require('jsonwebtoken')
db = require('./../libs/db')
config = require('./../config/config')
moment = require 'moment'
md5Util = require('./../utils/md5Util')
Utils = require './../utils/Utils'
commonBiz = require './commonBiz'
_ = require('underscore')
buildFoodWithBody = (body) ->
moment.locale('zh_cn'... |
[
{
"context": "students = new studentCollection [ \n {name: 'John'}\n {name: 'Steve'}\n {name: 'Laura'}\n ",
"end": 513,
"score": 0.9998823404312134,
"start": 509,
"tag": "NAME",
"value": "John"
},
{
"context": "tCollection [ \n {name: 'John'}\n {name: 'Stev... | app/source/collections.coffee | alexserver/learning-backbone | 0 | # Collections testing
# At this point I'm doing sort of BDD describes, next step, do real BDD.
class studentModel extends Backbone.Model
defaults:
name: 'Unknown'
age: null
sex: ''
class studentCollection extends Backbone.Collection
url: '/students'
model: studentModel
collectionCreation = ->
# C... | 7913 | # Collections testing
# At this point I'm doing sort of BDD describes, next step, do real BDD.
class studentModel extends Backbone.Model
defaults:
name: 'Unknown'
age: null
sex: ''
class studentCollection extends Backbone.Collection
url: '/students'
model: studentModel
collectionCreation = ->
# C... | true | # Collections testing
# At this point I'm doing sort of BDD describes, next step, do real BDD.
class studentModel extends Backbone.Model
defaults:
name: 'Unknown'
age: null
sex: ''
class studentCollection extends Backbone.Collection
url: '/students'
model: studentModel
collectionCreation = ->
# C... |
[
{
"context": "##\n# ga\n# https://github.com/mickey/videojs-ga\n#\n# Copyright (c) 2013 Michael Bensous",
"end": 35,
"score": 0.9995578527450562,
"start": 29,
"tag": "USERNAME",
"value": "mickey"
},
{
"context": "ithub.com/mickey/videojs-ga\n#\n# Copyright (c) 2013 Michael Bensoussan... | src/videojs.ga.coffee | ChannelMeter/videojs-ga | 0 | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 Michael Bensoussan
# Licensed under the MIT license.
##
videojs.plugin 'ga', (options) ->
# this loads options from the data-setup attribute of the video tag
dataSetupOptions = {}
if @options()["data-setup"]
parsedOptions = JSON.parse(@opt... | 9126 | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
##
videojs.plugin 'ga', (options) ->
# this loads options from the data-setup attribute of the video tag
dataSetupOptions = {}
if @options()["data-setup"]
parsedOptions = JSON.parse(@options()["data... | true | ##
# ga
# https://github.com/mickey/videojs-ga
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
##
videojs.plugin 'ga', (options) ->
# this loads options from the data-setup attribute of the video tag
dataSetupOptions = {}
if @options()["data-setup"]
parsedOptions = JSON.parse(@o... |
[
{
"context": "nt\n\t@id: \"thanksgivingLoginAchievement\"\n\t@title: \"HAPPY THANKSGIVING\"\n\t@description: \"WE'RE THANKFUL TODAY FOR OUR LOV",
"end": 296,
"score": 0.9356926679611206,
"start": 278,
"tag": "NAME",
"value": "HAPPY THANKSGIVING"
}
] | app/sdk/achievements/loginBasedAchievements/thanksgivingLoginAchievement.coffee | willroberts/duelyst | 5 | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ThanksgivingLoginAchievement extends Achievement
@id: "thanksgivingLoginAchievement"
@title: "HAPPY THANKSGIVING"
@description: "WE'RE ... | 52782 | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ThanksgivingLoginAchievement extends Achievement
@id: "thanksgivingLoginAchievement"
@title: "<NAME>"
@description: "WE'RE THANKFUL TOD... | true | Achievement = require 'app/sdk/achievements/achievement'
moment = require 'moment'
GiftCrateLookup = require 'app/sdk/giftCrates/giftCrateLookup'
i18next = require('i18next')
class ThanksgivingLoginAchievement extends Achievement
@id: "thanksgivingLoginAchievement"
@title: "PI:NAME:<NAME>END_PI"
@description: "WE'R... |
[
{
"context": " realName: my.username,\n password: my.oauth_token,\n channels: _.union(my.channel, db.get '",
"end": 330,
"score": 0.9991192817687988,
"start": 316,
"tag": "PASSWORD",
"value": "my.oauth_token"
}
] | inc/chat.coffee | glacials/housebot | 4 | _ = require 'underscore'
irc = require 'irc'
db = require './db'
my = require './my'
module.exports =
connect_to: (chat_server) ->
process.setMaxListeners 0
this.client = new irc.Client chat_server, my.username, {
userName: my.username,
realName: my.username,
password: my.o... | 146365 | _ = require 'underscore'
irc = require 'irc'
db = require './db'
my = require './my'
module.exports =
connect_to: (chat_server) ->
process.setMaxListeners 0
this.client = new irc.Client chat_server, my.username, {
userName: my.username,
realName: my.username,
password: <PAS... | true | _ = require 'underscore'
irc = require 'irc'
db = require './db'
my = require './my'
module.exports =
connect_to: (chat_server) ->
process.setMaxListeners 0
this.client = new irc.Client chat_server, my.username, {
userName: my.username,
realName: my.username,
password: PI:P... |
[
{
"context": "r in [\"visibleContent\", \"hiddenContent\"]\r\n\t\t\tkey = \"_#{container}\"\r\n\t\t\tif @[key]?.length\r\n\t\t\t\t@_render(",
"end": 1268,
"score": 0.5412507653236389,
"start": 1266,
"tag": "KEY",
"value": "\"_"
}
] | src/widget/base/reveal.coffee | homeant/cola-ui | 90 | ###
Reveal 组件
###
class cola.Reveal extends cola.Widget
@tagName: "c-reveal"
@className: "ui reveal"
@attributes:
type:
refreshDom: true
defaultValue: "fade"
enum: ["fade", "move", "rotate"]
setter: (value)->
oldValue = @["_type"]
if oldValue and @_dom and oldValue isnt value
... | 135814 | ###
Reveal 组件
###
class cola.Reveal extends cola.Widget
@tagName: "c-reveal"
@className: "ui reveal"
@attributes:
type:
refreshDom: true
defaultValue: "fade"
enum: ["fade", "move", "rotate"]
setter: (value)->
oldValue = @["_type"]
if oldValue and @_dom and oldValue isnt value
... | true | ###
Reveal 组件
###
class cola.Reveal extends cola.Widget
@tagName: "c-reveal"
@className: "ui reveal"
@attributes:
type:
refreshDom: true
defaultValue: "fade"
enum: ["fade", "move", "rotate"]
setter: (value)->
oldValue = @["_type"]
if oldValue and @_dom and oldValue isnt value
... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998503923416138,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/hideable.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## 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... | 119035 | ############
##
## Copyright 2018 <NAME> & <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 ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & 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... |
[
{
"context": "->\n for i in [1..count]\n key: separator+'key'+Math.random()\n value: Math.random()\ntestOps = (ops, option",
"end": 1168,
"score": 0.8405200839042664,
"start": 1157,
"tag": "KEY",
"value": "Math.random"
},
{
"context": "10)->\n data = for i in [1..count]\n ... | test/subkey-test.coffee | marwahaha/node-nosql-subkey | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... | 211103 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
SubkeyNoSQL = require '../src/nosql-subkey'
#AbstractNoSQL = require 'abstract-nosql'
Errors = require 'abs... |
[
{
"context": "ext) ->\n passport = @\n passport._key = 'passport'\n passport._userProperty = 'currentUser'\n ",
"end": 113,
"score": 0.9025252461433411,
"start": 105,
"tag": "KEY",
"value": "passport"
},
{
"context": "user: require('./db')().users.syncfindByUsername(... | src/lib/mockPassport.coffee | johann8384/cloudykangaroo | 0 | module.exports =
initialize: () ->
(req, res, next) ->
passport = @
passport._key = 'passport'
passport._userProperty = 'currentUser'
passport.serializeUser = (user, ptp, done) -> done null, user
passport.deserializeUser = (user, ptp, done) -> done null, user
req._passport =... | 70259 | module.exports =
initialize: () ->
(req, res, next) ->
passport = @
passport._key = '<KEY>'
passport._userProperty = 'currentUser'
passport.serializeUser = (user, ptp, done) -> done null, user
passport.deserializeUser = (user, ptp, done) -> done null, user
req._passport = in... | true | module.exports =
initialize: () ->
(req, res, next) ->
passport = @
passport._key = 'PI:KEY:<KEY>END_PI'
passport._userProperty = 'currentUser'
passport.serializeUser = (user, ptp, done) -> done null, user
passport.deserializeUser = (user, ptp, done) -> done null, user
req._... |
[
{
"context": "Exports', ->\n mockCrudModel =\n name: \"mockModel\"\n create: ->\n update: ->\n ",
"end": 2123,
"score": 0.7791184782981873,
"start": 2119,
"tag": "NAME",
"value": "mock"
}
] | test/server/models/resources.coffee | valueflowquality/gi-util-update | 0 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'Resources', ->
modelFactory = require dir + '/models/resources'
model = null
... | 132745 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'Resources', ->
modelFactory = require dir + '/models/resources'
model = null
... | true | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'Resources', ->
modelFactory = require dir + '/models/resources'
model = null
... |
[
{
"context": " # Grid-light theme for Highcharts JS\n # @author Torstein Honsi\n #\n # Taken from https://github.com/highslide-s",
"end": 1617,
"score": 0.9998664855957031,
"start": 1603,
"tag": "NAME",
"value": "Torstein Honsi"
},
{
"context": "stein Honsi\n #\n # Taken from h... | flink-runtime-web/web-dashboard/app/scripts/index.coffee | sekruse/flink | 0 | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 128222 | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | true | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... |
[
{
"context": " YOUR_GITHUB_PERSONAL_ACCESS_TOKENS\n password : 'x-oauth-basic'",
"end": 228,
"score": 0.9992597699165344,
"start": 215,
"tag": "PASSWORD",
"value": "x-oauth-basic"
}
] | server/EXAMPLE_github_credentials.coffee | briznad/stgr | 0 | # example of github_credentials.coffee file which should live is same dir as stgr.coffee
# credentials to be kept in a gitignored file
module.exports =
username : YOUR_GITHUB_PERSONAL_ACCESS_TOKENS
password : 'x-oauth-basic' | 213036 | # example of github_credentials.coffee file which should live is same dir as stgr.coffee
# credentials to be kept in a gitignored file
module.exports =
username : YOUR_GITHUB_PERSONAL_ACCESS_TOKENS
password : '<PASSWORD>' | true | # example of github_credentials.coffee file which should live is same dir as stgr.coffee
# credentials to be kept in a gitignored file
module.exports =
username : YOUR_GITHUB_PERSONAL_ACCESS_TOKENS
password : 'PI:PASSWORD:<PASSWORD>END_PI' |
[
{
"context": " session: {}\n client:\n _id: 'uuid1'\n user:\n _id: 'uuid2'\n con",
"end": 2113,
"score": 0.8217484354972839,
"start": 2112,
"tag": "USERNAME",
"value": "1"
},
{
"context": " _id: 'uuid1'\n user:\n _id: 'uui... | test/unit/oidc/authorize.coffee | LorianeE/connect | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
IDToken = require '../../../models/IDToken'
AccessToken = require '../../../models/AccessToken'
AuthorizationCode = require '../../../models/AuthorizationCode'
authori... | 207449 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
IDToken = require '../../../models/IDToken'
AccessToken = require '../../../models/AccessToken'
AuthorizationCode = require '../../../models/AuthorizationCode'
authori... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
IDToken = require '../../../models/IDToken'
AccessToken = require '../../../models/AccessToken'
AuthorizationCode = require '../../../models/AuthorizationCode'
authori... |
[
{
"context": "remote'\n ssh:\n host: 'target', username: 'nikita',\n sudo: true\n password: 'secret' # pri",
"end": 127,
"score": 0.9995833039283752,
"start": 121,
"tag": "USERNAME",
"value": "nikita"
},
{
"context": "name: 'nikita',\n sudo: true\n passwor... | packages/tools/env/centos6/test.coffee | wdavidw/node-mecano | 0 |
module.exports =
tags:
tools_repo: true
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
sudo: true
password: 'secret' # private_key_path: '~/.ssh/id_rsa'
]
| 219912 |
module.exports =
tags:
tools_repo: true
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
sudo: true
password: '<PASSWORD>' # private_key_path: '~/.ssh/id_rsa'
]
| true |
module.exports =
tags:
tools_repo: true
config: [
label: 'remote'
ssh:
host: 'target', username: 'nikita',
sudo: true
password: 'PI:PASSWORD:<PASSWORD>END_PI' # private_key_path: '~/.ssh/id_rsa'
]
|
[
{
"context": "t fs.existsSync storage_file\n catch err\n key = \"#{home}+#{process.platform}+permission+denied\"\n console.log ''\n console.log chalk.red \" #{",
"end": 539,
"score": 0.9989232420921326,
"start": 492,
"tag": "KEY",
"value": "\"#{home}+#{process.platform}+permission+... | src/utils/storage.coffee | WittBulter/fine | 155 | os = require 'os'
fs = require 'fs'
path = require 'path'
chalk = require 'chalk'
emoji = require 'node-emoji'
child = require 'child_process'
home = path.join os.homedir(), '.fine'
storage_file = path.join home, 'storage.json'
cache_dir = path.join home, 'cache'
init_home = () ->
try
fs.mkdirSync home if not f... | 221098 | os = require 'os'
fs = require 'fs'
path = require 'path'
chalk = require 'chalk'
emoji = require 'node-emoji'
child = require 'child_process'
home = path.join os.homedir(), '.fine'
storage_file = path.join home, 'storage.json'
cache_dir = path.join home, 'cache'
init_home = () ->
try
fs.mkdirSync home if not f... | true | os = require 'os'
fs = require 'fs'
path = require 'path'
chalk = require 'chalk'
emoji = require 'node-emoji'
child = require 'child_process'
home = path.join os.homedir(), '.fine'
storage_file = path.join home, 'storage.json'
cache_dir = path.join home, 'cache'
init_home = () ->
try
fs.mkdirSync home if not f... |
[
{
"context": "id001'] = \n id: \"id001\"\n username: 'martin'\n password: 'secret'\n email: 'hello",
"end": 550,
"score": 0.9995678067207336,
"start": 544,
"tag": "USERNAME",
"value": "martin"
},
{
"context": "01\"\n username: 'martin'\n pass... | test/t14-embed-resolve-test.coffee | codedoctor/node-api-facade | 1 | should = require 'should'
_ = require 'underscore'
model = ->
targetId : "id001"
module.exports = class ResolverUsers
constructor: () ->
# Ususally have a link to persistent store here.
@kinds = ['User'] # Supported types
resolve: (kind,userIdsToRetrieve = [],options = {},cb) =>
userIdsToRetrieve ... | 152641 | should = require 'should'
_ = require 'underscore'
model = ->
targetId : "id001"
module.exports = class ResolverUsers
constructor: () ->
# Ususally have a link to persistent store here.
@kinds = ['User'] # Supported types
resolve: (kind,userIdsToRetrieve = [],options = {},cb) =>
userIdsToRetrieve ... | true | should = require 'should'
_ = require 'underscore'
model = ->
targetId : "id001"
module.exports = class ResolverUsers
constructor: () ->
# Ususally have a link to persistent store here.
@kinds = ['User'] # Supported types
resolve: (kind,userIdsToRetrieve = [],options = {},cb) =>
userIdsToRetrieve ... |
[
{
"context": "priority=4 right_assoc=1') .strict('$1.hash_key==binary_operator') \nq('bin_op', '**') ",
"end": 7766,
"score": 0.5116285681724548,
"start": 7760,
"tag": "KEY",
"value": "binary"
}
] | src/grammar.coffee | hu2prod/scriptscript | 1 | require 'fy'
{Gram} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by default in case we make som... | 7784 | require 'fy'
{Gram} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by default in case we make som... | true | require 'fy'
{Gram} = require 'gram2'
module = @
# ###################################################################################################
# specific
# ###################################################################################################
# API should be async by default in case we make som... |
[
{
"context": "rts.config = \n app :\n name : 'capn'\n id : '39eee3039930039aaa39394930e90aa05'\n",
"end": 61,
"score": 0.44976431131362915,
"start": 55,
"tag": "KEY",
"value": "39eee3"
},
{
"context": "nfig = \n app :\n name : 'capn'\n id : '39eee3039930039aaa39394930e9... | src/config.iced | AngelKey/Angelkey.capn | 0 |
exports.config =
app :
name : 'capn'
id : '39eee3039930039aaa39394930e90aa05'
| 224044 |
exports.config =
app :
name : 'capn'
id : '<KEY> <PASSWORD>9<PASSWORD> <KEY> <PASSWORD> <KEY> <PASSWORD> <KEY> <PASSWORD> <KEY> <PASSWORD> <PASSWORD> <PASSWORD> <KEY> <PASSWORD>'
| true |
exports.config =
app :
name : 'capn'
id : 'PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI9PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END... |
[
{
"context": "key: 'image-macro'\n\npatterns: [\n\n # Matches an image or icon inlin",
"end": 17,
"score": 0.9904477000236511,
"start": 6,
"tag": "KEY",
"value": "image-macro"
}
] | grammars/repositories/inlines/image-macro-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'image-macro'
patterns: [
# Matches an image or icon inline macro.
#
# Examples
#
# image:filename.png[Alt Text]
# image:http://example.com/images/filename.png[Alt Text]
# image:filename.png[More [Alt\] Text] (alt text becomes "More [Alt] Text")
# icon:github[large]
#
name: 'markup.ma... | 190839 | key: '<KEY>'
patterns: [
# Matches an image or icon inline macro.
#
# Examples
#
# image:filename.png[Alt Text]
# image:http://example.com/images/filename.png[Alt Text]
# image:filename.png[More [Alt\] Text] (alt text becomes "More [Alt] Text")
# icon:github[large]
#
name: 'markup.macro.im... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches an image or icon inline macro.
#
# Examples
#
# image:filename.png[Alt Text]
# image:http://example.com/images/filename.png[Alt Text]
# image:filename.png[More [Alt\] Text] (alt text becomes "More [Alt] Text")
# icon:github[large]
#
name: 'ma... |
[
{
"context": "sion! Check us out on Github: https://github.com/Pagedraw/pagedraw\"}>\n {@props.children}\n ",
"end": 1175,
"score": 0.9996277093887329,
"start": 1167,
"tag": "USERNAME",
"value": "Pagedraw"
},
{
"context": "blem persists, please contact the Pagedraw ... | src/pagedraw-requires.cjsx | caffed/pagedraw | 3,213 | _l = require 'lodash'
React = require 'react'
createReactClass = require 'create-react-class'
CodeShower = require './frontend/code-shower'
queryString = require 'query-string'
{PdButtonOne, Modal, Tabs, Tab} = require './editor/component-lib'
{track_error, assert} = require './util'
analytics = require './frontend/a... | 25694 | _l = require 'lodash'
React = require 'react'
createReactClass = require 'create-react-class'
CodeShower = require './frontend/code-shower'
queryString = require 'query-string'
{PdButtonOne, Modal, Tabs, Tab} = require './editor/component-lib'
{track_error, assert} = require './util'
analytics = require './frontend/a... | true | _l = require 'lodash'
React = require 'react'
createReactClass = require 'create-react-class'
CodeShower = require './frontend/code-shower'
queryString = require 'query-string'
{PdButtonOne, Modal, Tabs, Tab} = require './editor/component-lib'
{track_error, assert} = require './util'
analytics = require './frontend/a... |
[
{
"context": " protocol: 'http'\n hostname: '127.0.0.1'\n port: 5984\n options:\n ",
"end": 1252,
"score": 0.9997619986534119,
"start": 1243,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " #auth:\n # ... | src/server/settings.coffee | LaPingvino/rizzoma | 0 | ###
Settings module. Contains all available settings with default or best fit for development values.
First level is environment name (for running code in 'dev', 'prod'; when starting node
this value will be got from NODE_ENV system environment variable).
Second level is block name.
If you want to c... | 156137 | ###
Settings module. Contains all available settings with default or best fit for development values.
First level is environment name (for running code in 'dev', 'prod'; when starting node
this value will be got from NODE_ENV system environment variable).
Second level is block name.
If you want to c... | true | ###
Settings module. Contains all available settings with default or best fit for development values.
First level is environment name (for running code in 'dev', 'prod'; when starting node
this value will be got from NODE_ENV system environment variable).
Second level is block name.
If you want to c... |
[
{
"context": "#\n# Form CoffeeScript file.\n#\n# @author Matthew Casey\n#\n# (c) University of Surrey 2019\n#\n\nVMV.Form ||=",
"end": 53,
"score": 0.9998666048049927,
"start": 40,
"tag": "NAME",
"value": "Matthew Casey"
}
] | app/assets/javascripts/shared/form.coffee | saschneider/VMVLedger | 0 | #
# Form CoffeeScript file.
#
# @author Matthew Casey
#
# (c) University of Surrey 2019
#
VMV.Form ||= {}
#
# Initialise whenever the page is loaded.
#
$ ->
# Make all selects into bootstrap-select controls with the required defaults. Here we ignore datetime select elements because they don't work well.
$.fn.sele... | 123819 | #
# Form CoffeeScript file.
#
# @author <NAME>
#
# (c) University of Surrey 2019
#
VMV.Form ||= {}
#
# Initialise whenever the page is loaded.
#
$ ->
# Make all selects into bootstrap-select controls with the required defaults. Here we ignore datetime select elements because they don't work well.
$.fn.selectpicke... | true | #
# Form CoffeeScript file.
#
# @author PI:NAME:<NAME>END_PI
#
# (c) University of Surrey 2019
#
VMV.Form ||= {}
#
# Initialise whenever the page is loaded.
#
$ ->
# Make all selects into bootstrap-select controls with the required defaults. Here we ignore datetime select elements because they don't work well.
$.... |
[
{
"context": "ock scoped\" variables by binding context\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n'use strict'\n\n#--",
"end": 104,
"score": 0.9997347593307495,
"start": 93,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/rules/block-scoped-var.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check for "block scoped" variables by binding context
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#----------------------------------------------------------------------... | 160609 | ###*
# @fileoverview Rule to check for "block scoped" variables by binding context
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#---------------------------------------------------------------------------... | true | ###*
# @fileoverview Rule to check for "block scoped" variables by binding context
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------------------------------... |
[
{
"context": "in the skies.\n\n\n\"\"\",\n keys : {\n passphrase : \"urnsrock\",\n ids : [ \"69B0017B1C3D9917\", \"F4317C265F08C",
"end": 2287,
"score": 0.997698962688446,
"start": 2279,
"tag": "PASSWORD",
"value": "urnsrock"
},
{
"context": "ys : {\n passphrase : \"urnsro... | test/files/msg_roundtrip.iced | thinq4yourself/kbpgp | 1 |
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../lib/keymanager'
{import_key_pgp} = requi... | 28393 |
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../lib/keymanager'
{import_key_pgp} = requi... | true |
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../lib/keymanager'
{import_key_pgp} = requi... |
[
{
"context": ": 'It'\n\t\tgross: 327481748\n\t},\n\t{\n\t\tmovie: 'Thor: Ragnarok'\n\t\tgross: 315034967\n\t},\n\t{\n\t\tmovie: 'Despicable M",
"end": 806,
"score": 0.6389152407646179,
"start": 799,
"tag": "NAME",
"value": "agnarok"
},
{
"context": "ovie: 'Coco'\n\t\tgross: 208840284... | prototypes/barChartD3.framer/app.coffee | davo/FramerMunichMeetup | 2 | # Import D3.js
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = parseScr
document.head.appendChild script
appendScript 'https://cdnjs.cloudflare.com/ajax/libs/d3/4.13.0/d3.min.js'
# Data
# Top 20 Movies in 2... | 10006 | # Import D3.js
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = parseScr
document.head.appendChild script
appendScript 'https://cdnjs.cloudflare.com/ajax/libs/d3/4.13.0/d3.min.js'
# Data
# Top 20 Movies in 2... | true | # Import D3.js
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = parseScr
document.head.appendChild script
appendScript 'https://cdnjs.cloudflare.com/ajax/libs/d3/4.13.0/d3.min.js'
# Data
# Top 20 Movies in 2... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9987055063247681,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/cache/cursor.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
# @private
module.exports = class CacheCursor extends requir... | 171348 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
# @private
module.exports = class CacheCursor extends require(... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
# @private
module.exports = class CacheCursor ex... |
[
{
"context": "in@HADOOP.RYBA'\n kadmin_password: 'test'\n kdc: ['a.fqdn']\n ",
"end": 1073,
"score": 0.9994955062866211,
"start": 1069,
"tag": "PASSWORD",
"value": "test"
},
{
"context": "\n krb5: user:\n password: ... | packages/metal/hadoop/yarn_ts/test.coffee | ryba-io/ryba | 24 |
normalize = require 'masson/lib/config/normalize'
store = require 'masson/lib/config/store'
nikita = require 'nikita'
fs = require 'fs'
describe 'hadoop.yarn_nm', ->
tmp = '/tmp/masson-test'
beforeEach ->
require('module')._cache = {}
nikita
.system.mkdir target: tmp
.promise()
afterEach ->
... | 158487 |
normalize = require 'masson/lib/config/normalize'
store = require 'masson/lib/config/store'
nikita = require 'nikita'
fs = require 'fs'
describe 'hadoop.yarn_nm', ->
tmp = '/tmp/masson-test'
beforeEach ->
require('module')._cache = {}
nikita
.system.mkdir target: tmp
.promise()
afterEach ->
... | true |
normalize = require 'masson/lib/config/normalize'
store = require 'masson/lib/config/store'
nikita = require 'nikita'
fs = require 'fs'
describe 'hadoop.yarn_nm', ->
tmp = '/tmp/masson-test'
beforeEach ->
require('module')._cache = {}
nikita
.system.mkdir target: tmp
.promise()
afterEach ->
... |
[
{
"context": "',\n user: 'username',\n passwor",
"end": 852,
"score": 0.6913262605667114,
"start": 844,
"tag": "USERNAME",
"value": "username"
},
{
"context": " passwor... | spec/adapters/mysql_spec.coffee | monokrome/modelingclay | 0 | MySqlAdapter = require('../../lib/adapters/mysql').MySqlAdapter
Query = require('../../lib/query').Query
fields = require('../../lib/fields')
mysql = require 'mysql'
mysqlMOCK = {
createClient: ->
return {
end: ->
return true
execute: (sql, params, callback) ->
... | 200704 | MySqlAdapter = require('../../lib/adapters/mysql').MySqlAdapter
Query = require('../../lib/query').Query
fields = require('../../lib/fields')
mysql = require 'mysql'
mysqlMOCK = {
createClient: ->
return {
end: ->
return true
execute: (sql, params, callback) ->
... | true | MySqlAdapter = require('../../lib/adapters/mysql').MySqlAdapter
Query = require('../../lib/query').Query
fields = require('../../lib/fields')
mysql = require 'mysql'
mysqlMOCK = {
createClient: ->
return {
end: ->
return true
execute: (sql, params, callback) ->
... |
[
{
"context": "@getAvatarUrlFromUsername = (username) ->\n\tkey = \"avatar_random_#{username}\"\n\trandom = Session?.keys[key] or 0\n\tif not usernam",
"end": 76,
"score": 0.9973134398460388,
"start": 50,
"tag": "KEY",
"value": "avatar_random_#{username}\""
}
] | packages/rocketchat-ui/lib/getAvatarUrlFromUsername.coffee | amaapp/ama | 0 | @getAvatarUrlFromUsername = (username) ->
key = "avatar_random_#{username}"
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
"#{path}avatar/#{encodeURIComponent(username)}.jpg?_dc=#{random}"
| 19761 | @getAvatarUrlFromUsername = (username) ->
key = "<KEY>
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
"#{path}avatar/#{encodeURIComponent(username)}.jpg?_dc=#{random}"
| true | @getAvatarUrlFromUsername = (username) ->
key = "PI:KEY:<KEY>END_PI
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl()
else
path = '/'
"#{path}avatar/#{encodeURIComponent(username)}.jpg?_dc=#{random}"
|
[
{
"context": " The MIT License (MIT)\r\n\r\n Copyright (c) 2014 SSSamuel\r\n\r\n Permission is hereby granted, free of char",
"end": 106,
"score": 0.9988061785697937,
"start": 98,
"tag": "USERNAME",
"value": "SSSamuel"
},
{
"context": "ll\r\n kill ninja!\r\n\r\n @ 2... | src/jQuery.ninjakey.coffee | samuel1112/jQuery.Ninjakey | 0 | ###
A Simple jQuery shortcuts library
The MIT License (MIT)
Copyright (c) 2014 SSSamuel
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, incl... | 141836 | ###
A Simple jQuery shortcuts library
The MIT License (MIT)
Copyright (c) 2014 SSSamuel
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, incl... | true | ###
A Simple jQuery shortcuts library
The MIT License (MIT)
Copyright (c) 2014 SSSamuel
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, incl... |
[
{
"context": "be der Kleidung des Zauberers\"\n new_password: \"Neues Passwort\"\n new_password_verify: \"Verifizieren\"\n emai",
"end": 4182,
"score": 0.9986779093742371,
"start": 4168,
"tag": "PASSWORD",
"value": "Neues Passwort"
},
{
"context": "sword: \"Neues Passwort\"\... | app/locale/de.coffee | cochee/codecombat | 1 | module.exports = nativeDescription: "Deutsch", englishDescription: "German", translation:
common:
loading: "Laden..."
modal:
close: "Schliessen"
okay: "Okay"
not_found:
page_not_found: "Seite nicht gefunden"
nav:
sign_up: "Anmelden"
log_in: "Einloggen"
log_out: "Ausloggen"
pla... | 38455 | module.exports = nativeDescription: "Deutsch", englishDescription: "German", translation:
common:
loading: "Laden..."
modal:
close: "Schliessen"
okay: "Okay"
not_found:
page_not_found: "Seite nicht gefunden"
nav:
sign_up: "Anmelden"
log_in: "Einloggen"
log_out: "Ausloggen"
pla... | true | module.exports = nativeDescription: "Deutsch", englishDescription: "German", translation:
common:
loading: "Laden..."
modal:
close: "Schliessen"
okay: "Okay"
not_found:
page_not_found: "Seite nicht gefunden"
nav:
sign_up: "Anmelden"
log_in: "Einloggen"
log_out: "Ausloggen"
pla... |
[
{
"context": "ld_key\n\n <ToolComponent\n key={index}\n task={@props.task}\n tool_",
"end": 5003,
"score": 0.7253356575965881,
"start": 4998,
"tag": "KEY",
"value": "index"
}
] | app/assets/javascripts/components/transcribe/tools/composite-tool/index.cjsx | johnscancella/scribeAPI | 0 | React = require 'react'
{Navigation} = require 'react-router'
DraggableModal = require 'components/draggable-modal'
DoneButton = require './done-button'
SmallButton = require 'components/buttons/small-button'
PrevButton = require './prev-button'
HelpButton = require 'compo... | 126707 | React = require 'react'
{Navigation} = require 'react-router'
DraggableModal = require 'components/draggable-modal'
DoneButton = require './done-button'
SmallButton = require 'components/buttons/small-button'
PrevButton = require './prev-button'
HelpButton = require 'compo... | true | React = require 'react'
{Navigation} = require 'react-router'
DraggableModal = require 'components/draggable-modal'
DoneButton = require './done-button'
SmallButton = require 'components/buttons/small-button'
PrevButton = require './prev-button'
HelpButton = require 'compo... |
[
{
"context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Denis Luchkin-Zhou #\n# See L",
"end": 277,
"score": 0.9998669028282166,
"start": 259,
"tag": "NAME",
"value": "Denis Luchkin-Zhou"
}
] | gulp/client-clean.coffee | jluchiji/tranzit | 0 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 Denis Luchkin-Zhou #
... | 97910 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 <NAME> #
# See LICENS... | true | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 PI:NAME:<NAME>END_PI ... |
[
{
"context": ".get()\nPlaylist = require './playlist'\n\nKEY_F12 = 123\n\nmodule.exports = (angular, document, Notificatio",
"end": 188,
"score": 0.7704259753227234,
"start": 185,
"tag": "KEY",
"value": "123"
}
] | src/player.coffee | hendricha/tube-sound | 0 | fs = require 'fs'
$ = require 'jQuery'
youtubeVideo = require 'youtube-video'
window = global.window.nwDispatcher.requireNwGui().Window.get()
Playlist = require './playlist'
KEY_F12 = 123
module.exports = (angular, document, Notification) ->
global.document = document
$(document).on 'keyup', (event) ->
retur... | 51677 | fs = require 'fs'
$ = require 'jQuery'
youtubeVideo = require 'youtube-video'
window = global.window.nwDispatcher.requireNwGui().Window.get()
Playlist = require './playlist'
KEY_F12 = <KEY>
module.exports = (angular, document, Notification) ->
global.document = document
$(document).on 'keyup', (event) ->
ret... | true | fs = require 'fs'
$ = require 'jQuery'
youtubeVideo = require 'youtube-video'
window = global.window.nwDispatcher.requireNwGui().Window.get()
Playlist = require './playlist'
KEY_F12 = PI:KEY:<KEY>END_PI
module.exports = (angular, document, Notification) ->
global.document = document
$(document).on 'keyup', (even... |
[
{
"context": "# Copyright (c) 2013 Rod Vagg, MIT License\n# Copyright (c) 2014 Riceball LEE, M",
"end": 29,
"score": 0.9998617172241211,
"start": 21,
"tag": "NAME",
"value": "Rod Vagg"
},
{
"context": "c) 2013 Rod Vagg, MIT License\n# Copyright (c) 2014 Riceball LEE, MIT License\nxte... | src/abstract-iterator.coffee | snowyu/node-abstract-iterator | 0 | # Copyright (c) 2013 Rod Vagg, MIT License
# Copyright (c) 2014 Riceball LEE, MIT License
xtend = require("xtend")
minimatch = require('minimatch')
Errors = require('abstract-error')
consts = require('./consts')
inherits = require("inherits-ex")
isA... | 73178 | # Copyright (c) 2013 <NAME>, MIT License
# Copyright (c) 2014 <NAME>, MIT License
xtend = require("xtend")
minimatch = require('minimatch')
Errors = require('abstract-error')
consts = require('./consts')
inherits = require("inherits-ex")
isArray ... | true | # Copyright (c) 2013 PI:NAME:<NAME>END_PI, MIT License
# Copyright (c) 2014 PI:NAME:<NAME>END_PI, MIT License
xtend = require("xtend")
minimatch = require('minimatch')
Errors = require('abstract-error')
consts = require('./consts')
inherits = requir... |
[
{
"context": " expect(error).to.be.eql({\n key: 'private-space-members',\n values: {\n max_membe",
"end": 4351,
"score": 0.9986604452133179,
"start": 4330,
"tag": "KEY",
"value": "private-space-members"
},
{
"context": " expect(error).to... | app/modules/projects/create/import/import-project.service.spec.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 52362 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "export default\n name: 'Neptune'\n type: 'planet'\n radius: 24624\n mass: 102.41e",
"end": 31,
"score": 0.9988413453102112,
"start": 24,
"tag": "NAME",
"value": "Neptune"
},
{
"context": ".00508664}\n satellites:\n triton:\n name: 'Triton'\n type: 'moo... | src/data/bodies/neptune.coffee | skepticalimagination/solaris-model | 5 | export default
name: 'Neptune'
type: 'planet'
radius: 24624
mass: 102.41e24
tilt: 29.56
elements:
format: 'jpl-1800-2050'
base: {a: 30.06992276, e: 0.00859048, i: 1.77004347, L: -55.12002969, lp: 44.96476227, node: 131.78422574}
cy: {a: 0.00026291, e: 0.00005105, i: 0.00035372, L: 218.45945325, ... | 116374 | export default
name: '<NAME>'
type: 'planet'
radius: 24624
mass: 102.41e24
tilt: 29.56
elements:
format: 'jpl-1800-2050'
base: {a: 30.06992276, e: 0.00859048, i: 1.77004347, L: -55.12002969, lp: 44.96476227, node: 131.78422574}
cy: {a: 0.00026291, e: 0.00005105, i: 0.00035372, L: 218.45945325, l... | true | export default
name: 'PI:NAME:<NAME>END_PI'
type: 'planet'
radius: 24624
mass: 102.41e24
tilt: 29.56
elements:
format: 'jpl-1800-2050'
base: {a: 30.06992276, e: 0.00859048, i: 1.77004347, L: -55.12002969, lp: 44.96476227, node: 131.78422574}
cy: {a: 0.00026291, e: 0.00005105, i: 0.00035372, L: 2... |
[
{
"context": " + credentials.provider,\n\t\t\t\t\tform: {\n\t\t\t\t\t\ttoken: credentials.refresh_token,\n\t\t\t\t\t\tkey: cache.public_key,\n\t\t\t\t\t\tsecret:",
"end": 497,
"score": 0.719798743724823,
"start": 478,
"tag": "PASSWORD",
"value": "credentials.refresh"
}
] | coffee/lib/authentication.coffee | danhstevens/sdk-node | 0 | request = require 'request'
Q = require 'q'
module.exports = (csrf_generator, cache, requestio) ->
a = {
refresh_tokens: (credentials, session, force) ->
defer = Q.defer()
credentials.refreshed = false
now = new Date()
if credentials.refresh_token and ((credentials.expires and now.getTime() > credential... | 133054 | request = require 'request'
Q = require 'q'
module.exports = (csrf_generator, cache, requestio) ->
a = {
refresh_tokens: (credentials, session, force) ->
defer = Q.defer()
credentials.refreshed = false
now = new Date()
if credentials.refresh_token and ((credentials.expires and now.getTime() > credential... | true | request = require 'request'
Q = require 'q'
module.exports = (csrf_generator, cache, requestio) ->
a = {
refresh_tokens: (credentials, session, force) ->
defer = Q.defer()
credentials.refreshed = false
now = new Date()
if credentials.refresh_token and ((credentials.expires and now.getTime() > credential... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9947676062583923,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "00000000000000000000\", \"hex\")\n key = new Buffer(\"0123456789abcdef0123456789abcdef\" + \"... | test/simple/test-crypto-padding-aes256.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... | 29901 | # 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": " created on 25/12/2016 All rights reserved by @NeZha\n# Today is chrismas :) but Dan Shen Gou st",
"end": 439,
"score": 0.9996554255485535,
"start": 433,
"tag": "USERNAME",
"value": "@NeZha"
},
{
"context": "served by @NeZha\n# Today is chrismas :) bu... | src/examples/kinect-one-texture.coffee | CallmeNezha/Crystal | 0 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | 83932 | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... | true | # ______ _____ _________ _____ _____
# / /_ / / \___ / / /__/ /
# / \/ / ___ / / / / ___
# / / \ / /\__\ / /___ / ___ / / \
# _/____ / \_... |
[
{
"context": "b.com/tween.js/examples/05_spline.html\n#\n# @author mrdoob / http://mrdoob.com/\n# @author alteredq / http://",
"end": 133,
"score": 0.9991781115531921,
"start": 127,
"tag": "USERNAME",
"value": "mrdoob"
},
{
"context": "\n#\n# @author mrdoob / http://mrdoob.com/\n# @a... | source/javascripts/new_src/core/spline.coffee | andrew-aladev/three.js | 0 | # Spline from Tween.js, slightly optimized (and trashed)
# http://sole.github.com/tween.js/examples/05_spline.html
#
# @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/core/vector_3
class Spline
contructor: (points) ->
@poin... | 192157 | # Spline from Tween.js, slightly optimized (and trashed)
# http://sole.github.com/tween.js/examples/05_spline.html
#
# @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/core/vector_3
class Spline
contructor: (points) ->
@points = points
@... | true | # Spline from Tween.js, slightly optimized (and trashed)
# http://sole.github.com/tween.js/examples/05_spline.html
#
# @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/vector_3
class Spline
contructor: (points) ->
@points... |
[
{
"context": "opulation + @sw.population\n\n# ---\n#\n# **(c) 2012 [Reg Braithwaite](http://braythwayt.com)** ([@raganwald](http://tw",
"end": 3942,
"score": 0.9998764991760254,
"start": 3927,
"tag": "NAME",
"value": "Reg Braithwaite"
},
{
"context": "2012 [Reg Braithwaite](http://br... | lib/api.coffee | raganwald/recursiveuniverse | 4 | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## API Module
#
# The API Module provides convenience methods for interacting with squares from the outside
# ### Baseline Setup
_ = require('underscore')
YouAreDaChef = require('YouAreDaChef').YouAreDaChef
exports ?= window or this
exports... | 58342 | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## API Module
#
# The API Module provides convenience methods for interacting with squares from the outside
# ### Baseline Setup
_ = require('underscore')
YouAreDaChef = require('YouAreDaChef').YouAreDaChef
exports ?= window or this
exports... | true | # This module is part of [recursiveuniver.se](http://recursiveuniver.se).
#
# ## API Module
#
# The API Module provides convenience methods for interacting with squares from the outside
# ### Baseline Setup
_ = require('underscore')
YouAreDaChef = require('YouAreDaChef').YouAreDaChef
exports ?= window or this
exports... |
[
{
"context": "-javascript/21963136#21963136\n ##\n ## i took Jeff Ward's e6() from here(http://jsfiddle.net/jcward/7hyaC",
"end": 5514,
"score": 0.9998025894165039,
"start": 5505,
"tag": "NAME",
"value": "Jeff Ward"
},
{
"context": "ok Jeff Ward's e6() from here(http://jsfiddle... | tools/strings.coffee | nero-networks/floyd | 0 |
##
## sprintf() for JavaScript -> http://www.diveintojavascript.com/projects/javascript-sprintf
sprintf = require 'sprintf'
##
##
module.exports = strings =
##
sprintf: sprintf.sprintf
##
vsprintf: sprintf.vsprintf
##
format: (format, parts...)->
## some hacks to make sure the fo... | 182032 |
##
## sprintf() for JavaScript -> http://www.diveintojavascript.com/projects/javascript-sprintf
sprintf = require 'sprintf'
##
##
module.exports = strings =
##
sprintf: sprintf.sprintf
##
vsprintf: sprintf.vsprintf
##
format: (format, parts...)->
## some hacks to make sure the fo... | true |
##
## sprintf() for JavaScript -> http://www.diveintojavascript.com/projects/javascript-sprintf
sprintf = require 'sprintf'
##
##
module.exports = strings =
##
sprintf: sprintf.sprintf
##
vsprintf: sprintf.vsprintf
##
format: (format, parts...)->
## some hacks to make sure the fo... |
[
{
"context": "eEach ->\n meshbluConfig =\n hostname: '127.0.0.1'\n port: @meshblu.address().port\n pr",
"end": 535,
"score": 0.9994380474090576,
"start": 526,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ol: 'http'\n uuid: 'a-uuid'\n ... | test/resolve-spec.coffee | octoblu/meshblu-json-schema-ref-parser | 0 | {describe,beforeEach,afterEach,it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
MeshbluJsonSchemaResolver = require '..'
describe 'MeshbluJsonSchemaResolver', ->
beforeEach 'start Meshblu', ->
@meshblu = shmo... | 42587 | {describe,beforeEach,afterEach,it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
MeshbluJsonSchemaResolver = require '..'
describe 'MeshbluJsonSchemaResolver', ->
beforeEach 'start Meshblu', ->
@meshblu = shmo... | true | {describe,beforeEach,afterEach,it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
MeshbluJsonSchemaResolver = require '..'
describe 'MeshbluJsonSchemaResolver', ->
beforeEach 'start Meshblu', ->
@meshblu = shmo... |
[
{
"context": "tions\n\n # private helpers\n key = (name, type) -> \"_#{type}_#{name}_callbacks\"\n key_compiled = (name, type) -> \"_#{type}_#{nam",
"end": 2632,
"score": 0.9822813272476196,
"start": 2605,
"tag": "KEY",
"value": "\"_#{type}_#{name}_callbacks"
},
{
"context": "{nam... | support/callbacks.coffee | printercu/costa | 1 | cs = require 'coffee-script'
_ = require 'underscore'
flow = require 'flow-coffee'
Args = require './args'
module.exports =
class Callbacks extends require('coffee_classkit').Module
@extendsWithProto().concern()
class @ClassMethods
defineCallbacks: (name) ->
for type in ['before', 'afte... | 136421 | cs = require 'coffee-script'
_ = require 'underscore'
flow = require 'flow-coffee'
Args = require './args'
module.exports =
class Callbacks extends require('coffee_classkit').Module
@extendsWithProto().concern()
class @ClassMethods
defineCallbacks: (name) ->
for type in ['before', 'afte... | true | cs = require 'coffee-script'
_ = require 'underscore'
flow = require 'flow-coffee'
Args = require './args'
module.exports =
class Callbacks extends require('coffee_classkit').Module
@extendsWithProto().concern()
class @ClassMethods
defineCallbacks: (name) ->
for type in ['before', 'afte... |
[
{
"context": " 'application/json'\n Authorization: 'Basic cm9iaTppYm9y'\n success: (response) =>\n fetchKade(",
"end": 1383,
"score": 0.621341347694397,
"start": 1371,
"tag": "KEY",
"value": "cm9iaTppYm9y"
}
] | design/html/coffee/admin.coffee | element-doo/ekade | 0 | #--- ADMIN STUFF ---#
galleryModel = ->
# objects & stuff
@images = ko.observableArray []
@maxPages = ko.observable 0
@currPage = ko.observable 1
# flags
@changes = ko.observable 0
@isWorking = ko.observable false
# actions
@actionApprove = ->
i = gallery.images.indexOf @
newItem = gall... | 65182 | #--- ADMIN STUFF ---#
galleryModel = ->
# objects & stuff
@images = ko.observableArray []
@maxPages = ko.observable 0
@currPage = ko.observable 1
# flags
@changes = ko.observable 0
@isWorking = ko.observable false
# actions
@actionApprove = ->
i = gallery.images.indexOf @
newItem = gall... | true | #--- ADMIN STUFF ---#
galleryModel = ->
# objects & stuff
@images = ko.observableArray []
@maxPages = ko.observable 0
@currPage = ko.observable 1
# flags
@changes = ko.observable 0
@isWorking = ko.observable false
# actions
@actionApprove = ->
i = gallery.images.indexOf @
newItem = gall... |
[
{
"context": "s.find_names = (opt={},cb) ->\n return cb null, ['John','James','Jose']\n\nUsersSchema.methods.change_name",
"end": 506,
"score": 0.9997608661651611,
"start": 502,
"tag": "NAME",
"value": "John"
},
{
"context": "names = (opt={},cb) ->\n return cb null, ['John','James'... | models/users.iced | punted/mkay | 7 | _ = require('wegweg')({
globals: off
})
if !module.parent
process.env.MONGOOSE_MODEL_DEVEL = module.filename
process.env.SILENCE = 1
require './../core/globals'
Schema = mongoose.Schema
models = require './../core/models'
UsersSchema = new Schema {
active: {
type: Boolean
default: yes
}
name:... | 169660 | _ = require('wegweg')({
globals: off
})
if !module.parent
process.env.MONGOOSE_MODEL_DEVEL = module.filename
process.env.SILENCE = 1
require './../core/globals'
Schema = mongoose.Schema
models = require './../core/models'
UsersSchema = new Schema {
active: {
type: Boolean
default: yes
}
name:... | true | _ = require('wegweg')({
globals: off
})
if !module.parent
process.env.MONGOOSE_MODEL_DEVEL = module.filename
process.env.SILENCE = 1
require './../core/globals'
Schema = mongoose.Schema
models = require './../core/models'
UsersSchema = new Schema {
active: {
type: Boolean
default: yes
}
name:... |
[
{
"context": "\n\n match =\n pattern: 'dictionary'\n token: 'token'\n rank: 10\n dictionary_name: 'passwords'\n\n ",
"end": 205,
"score": 0.8228845000267029,
"start": 200,
"tag": "KEY",
"value": "token"
},
{
"context": "\n\n custom_messages =\n top10_common_password:... | test/test-feedback-l10n.coffee | lpavlicek/zxcvbn-czech | 3 | test = require 'tape'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
test 'localized feedback messages', (t) ->
match =
pattern: 'dictionary'
token: 'token'
rank: 10
dictionary_name: 'passwords'
custom_messages =
top10_common_password: 'custom#top10_commo... | 140732 | test = require 'tape'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
test 'localized feedback messages', (t) ->
match =
pattern: 'dictionary'
token: '<KEY>'
rank: 10
dictionary_name: 'passwords'
custom_messages =
top10_common_password: '<PASSWORD>',
# ... | true | test = require 'tape'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
test 'localized feedback messages', (t) ->
match =
pattern: 'dictionary'
token: 'PI:KEY:<KEY>END_PI'
rank: 10
dictionary_name: 'passwords'
custom_messages =
top10_common_password: 'PI:PA... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'Txt2'\n\n constructor: (layer, length) ->\n super(lay",
"end": 187,
"score": 0.9801540970802307,
"start": 183,
"tag": "KEY",
"value": "Txt2"
}
] | src/psd/layer_info/text_engine_data.coffee | taofei-pro/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
parseEngineData = require '../engine_data.coffee'
module.exports = class TextEngineData extends LayerInfo
@shouldParse: (key) -> key is 'Txt2'
constructor: (layer, length) ->
super(layer, length)
@textEngineData = null
parse: ->
data = @file.read(@length)
... | 90118 | LayerInfo = require '../layer_info.coffee'
parseEngineData = require '../engine_data.coffee'
module.exports = class TextEngineData extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
@textEngineData = null
parse: ->
data = @file.read(@length)... | true | LayerInfo = require '../layer_info.coffee'
parseEngineData = require '../engine_data.coffee'
module.exports = class TextEngineData extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
@textEngineData = null
parse: ->
data = @file.... |
[
{
"context": "://coffeescript.org/\nprinter_local_storage_key = \"last-printer-used\"\ncid_local_storage_key = \"cid\"\n\n$ ->\n printer_na",
"end": 257,
"score": 0.9949323534965515,
"start": 240,
"tag": "KEY",
"value": "last-printer-used"
},
{
"context": "ey = \"last-printer-used\"... | app/assets/javascripts/print.js.coffee | project-kotinos/cthit___chalmersit-rails | 5 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
printer_local_storage_key = "last-printer-used"
cid_local_storage_key = "cid"
$ ->
printer_name = localSto... | 76322 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
printer_local_storage_key = "<KEY>"
cid_local_storage_key = "<KEY>"
$ ->
printer_name = localStorage.getIt... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
printer_local_storage_key = "PI:KEY:<KEY>END_PI"
cid_local_storage_key = "PI:KEY:<KEY>END_PI"
$ ->
printer... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999913215637207,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/beatmap-discussions-chart.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.
bn = 'beatmap-discussions-chart'
class @BeatmapDiscussionsChart
constructor: (area, @length) ->
@id = Math.floor(Math.random() * 1000)
... | 93102 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
bn = 'beatmap-discussions-chart'
class @BeatmapDiscussionsChart
constructor: (area, @length) ->
@id = Math.floor(Math.random() * 1000)
@dimen... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
bn = 'beatmap-discussions-chart'
class @BeatmapDiscussionsChart
constructor: (area, @length) ->
@id = Math.floor(Math.random() * 1... |
[
{
"context": "tionDays: ${4:30}\r\n \\n\\toauthSecretKey: \"${5:wgporjigrpqgdfg}\"\r\n \\nAccounts.ui.config({\r\n \\n\\treques",
"end": 5518,
"score": 0.9371278285980225,
"start": 5503,
"tag": "KEY",
"value": "wgporjigrpqgdfg"
},
{
"context": ": '\r\n userObject ... | snippets/meteor-api-snippets-coffeescript.cson | VNEU/FLEXURIO-API | 82 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... | 149731 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... | true | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... |
[
{
"context": "del\n\n for key, val of options\n if key is 'unreadNum' and val?.$inc\n notification.unreadNum += ",
"end": 4359,
"score": 0.8311058282852173,
"start": 4350,
"tag": "KEY",
"value": "unreadNum"
}
] | talk-api2x/server/schemas/notification.coffee | ikingye/talk-os | 3,084 | ###*
* Save user's unread number, latest read message id and pinnedAt property
* db.notifications.ensureIndex({user: 1, team: 1, isHidden: 1, isPinned: 1, updatedAt: -1}, {background: true})
* db.notifications.ensureIndex({target: 1, team: 1, user: 1, type: 1}, {unique: true, background: true})
* db.notifications.e... | 155583 | ###*
* Save user's unread number, latest read message id and pinnedAt property
* db.notifications.ensureIndex({user: 1, team: 1, isHidden: 1, isPinned: 1, updatedAt: -1}, {background: true})
* db.notifications.ensureIndex({target: 1, team: 1, user: 1, type: 1}, {unique: true, background: true})
* db.notifications.e... | true | ###*
* Save user's unread number, latest read message id and pinnedAt property
* db.notifications.ensureIndex({user: 1, team: 1, isHidden: 1, isPinned: 1, updatedAt: -1}, {background: true})
* db.notifications.ensureIndex({target: 1, team: 1, user: 1, type: 1}, {unique: true, background: true})
* db.notifications.e... |
[
{
"context": "PI for NodeJS - RestifyJS\n\nCopyright (c) 2015-2021 Steven Agyekum <agyekum@posteo.de>\n\nPermission is hereby granted",
"end": 158,
"score": 0.9998760223388672,
"start": 144,
"tag": "NAME",
"value": "Steven Agyekum"
},
{
"context": "estifyJS\n\nCopyright (c) 2015-2021... | src/PluginHelper.coffee | Burnett01/sys-api | 6 | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 Steven Agyekum <agyekum@posteo.de>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Softw... | 115941 | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 <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 ... | true | ###
The MIT License (MIT)
Product: System API (SysAPI)
Description: A modular System-API for NodeJS - RestifyJS
Copyright (c) 2015-2021 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 ... |
[
{
"context": "108012&aid=1080120029000&name=blobtest.html&token=mK2xt15JSXDFPedj1Yk22t9erTg%3A1367167853893\ntestIDBBlobSupport = (callback) ->\n indexedDB = ",
"end": 676,
"score": 0.9954166412353516,
"start": 633,
"tag": "PASSWORD",
"value": "mK2xt15JSXDFPedj1Yk22t9erTg%3A1367167853893"
... | source/javascripts/FeatureDetection/FeatureDetection.coffee | EdinburghUniversityTheatreCompany/ImpAmp | 1 | # Storage Selection:
# Prefer indexeddb:
featureDetection = $.Deferred()
impamp.featureDetection = featureDetection.promise()
availableStorageTypes = []
resolvePreferred = ->
if $.inArray(impamp.storageTypes.INDEXED_DB, availableStorageTypes) >= 0
featureDetection.resolve impamp.storageTypes.INDEXED_DB
retu... | 20427 | # Storage Selection:
# Prefer indexeddb:
featureDetection = $.Deferred()
impamp.featureDetection = featureDetection.promise()
availableStorageTypes = []
resolvePreferred = ->
if $.inArray(impamp.storageTypes.INDEXED_DB, availableStorageTypes) >= 0
featureDetection.resolve impamp.storageTypes.INDEXED_DB
retu... | true | # Storage Selection:
# Prefer indexeddb:
featureDetection = $.Deferred()
impamp.featureDetection = featureDetection.promise()
availableStorageTypes = []
resolvePreferred = ->
if $.inArray(impamp.storageTypes.INDEXED_DB, availableStorageTypes) >= 0
featureDetection.resolve impamp.storageTypes.INDEXED_DB
retu... |
[
{
"context": "Login information\n @param {string} auth.username - Username.\n @param {string} auth.password - Login password.",
"end": 5199,
"score": 0.7330868244171143,
"start": 5191,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "rname - Username.\n @param {string} auth.pa... | src/coffee/index.coffee | hupptechnologies/RedmineTimeTracker | 0 | 'use strict'
{ app, BrowserWindow, Menu, Tray } = require('electron')
{ autoUpdater } = require("electron-updater")
isDev = require('electron-is-dev')
storage = require('electron-json-storage')
path = require('path')
if isDev
# adds debug features like hotkeys for triggering dev tools and reload
require('electron-... | 83723 | 'use strict'
{ app, BrowserWindow, Menu, Tray } = require('electron')
{ autoUpdater } = require("electron-updater")
isDev = require('electron-is-dev')
storage = require('electron-json-storage')
path = require('path')
if isDev
# adds debug features like hotkeys for triggering dev tools and reload
require('electron-... | true | 'use strict'
{ app, BrowserWindow, Menu, Tray } = require('electron')
{ autoUpdater } = require("electron-updater")
isDev = require('electron-is-dev')
storage = require('electron-json-storage')
path = require('path')
if isDev
# adds debug features like hotkeys for triggering dev tools and reload
require('electron-... |
[
{
"context": "pkg_maintainer=\"${1:The Habitat Maintainers} ${2:<humans@habitat.sh>}\"\\n'\n 'pkg_maintainer (short)':\n 'prefix': '",
"end": 677,
"score": 0.9976024627685547,
"start": 660,
"tag": "EMAIL",
"value": "humans@habitat.sh"
},
{
"context": "pkg_maintainer=\"${1:The Hab... | snippets/plans.cson | habitat-sh/atom-language-hab | 3 | '.source.habitat':
'pkg_name':
'prefix': 'pkg_name'
'body': 'pkg_name=${1:package_name}\n'
'pkg_name (short)':
'prefix': 'pn'
'body': 'pkg_name=${1:package_name}\n'
'pkg_origin':
'prefix': 'pkg_origin'
'body': 'pkg_origin=${1:origin_name}\n'
'pkg_origin (short)':
'prefix': 'po'
'... | 8343 | '.source.habitat':
'pkg_name':
'prefix': 'pkg_name'
'body': 'pkg_name=${1:package_name}\n'
'pkg_name (short)':
'prefix': 'pn'
'body': 'pkg_name=${1:package_name}\n'
'pkg_origin':
'prefix': 'pkg_origin'
'body': 'pkg_origin=${1:origin_name}\n'
'pkg_origin (short)':
'prefix': 'po'
'... | true | '.source.habitat':
'pkg_name':
'prefix': 'pkg_name'
'body': 'pkg_name=${1:package_name}\n'
'pkg_name (short)':
'prefix': 'pn'
'body': 'pkg_name=${1:package_name}\n'
'pkg_origin':
'prefix': 'pkg_origin'
'body': 'pkg_origin=${1:origin_name}\n'
'pkg_origin (short)':
'prefix': 'po'
'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.