conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
if (this.ok === true) {
window.mainPage.overlay.renderSuccessScreen(`
=======
let screen;
if (this.status === STATUS.OK) {
screen = this.getSuccessScreen(`
>>>>>>>
let screen;
if (this.status === STATUS.OK) {
window.mainPage.overlay.renderSuccessScreen(`
<<<<<<<
} e... |
<<<<<<<
=======
/* this.listenTo(window.mainPage.project, 'rl:changeMatchings',
this.render);*/
>>>>>>>
<<<<<<<
constructAttributeLookupTable: function () {
=======
renderAttributeSettings: function () {
>>>>>>>
constructAttributeLookupTable: function () {
<<<<<<<
=======
let dataset;
... |
<<<<<<<
=======
import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER';
import Statistic from 'parser/ui/Statistic';
import BoringSpellValue from 'parser/ui/BoringSpellValue';
>>>>>>>
<<<<<<<
<StatisticBox
icon={<SpellIcon id={SPELLS.IRONFUR.id} />}
value={`${formatPercentage(nonGoEIronFur / ... |
<<<<<<<
* @return {null}
*/
=======
* @return {Promise} returns Promise if no callback passed
*/
>>>>>>>
* @return {Promise} returns Promise if no callback passed
*/
<<<<<<<
* @return {null}
*/
=======
* @return {Promise} returns Promise if no callback passed
*/
>>>>>>>
* @return {Prom... |
<<<<<<<
=======
// APM tests
, '/test/functional/apm_tests.js'
// GridFS
, '/test/functional/gridfs_stream_tests.js'
>>>>>>>
// GridFS
, '/test/functional/gridfs_stream_tests.js' |
<<<<<<<
* @param {boolean} [options.keepAlive=30000] The number of milliseconds to wait before initiating keepAlive on the TCP socket.
=======
* @param {number} [options.family=4] Version of IP stack. Defaults to 4.
* @param {boolean} [options.keepAlive=0] The number of milliseconds to wait before initiating... |
<<<<<<<
if (response.headers['content-type'].indexOf("text/html") != -1) {
if (chunk.toString().indexOf(tag)) {
var cache = new Date().getTime();
var includes = '<script type="text/javascript" src="/_jellyfish/serv/jquery-1.4.4.min.js?'+cache+'"></script>';
... |
<<<<<<<
existingWebhook = webhooks.find(x => x.name === webHookName); // You can rename 'Webhook' to the name of your bot if you like, people will see if under the webhooks tab of the channel.
if (!existingWebhook)
{
channel.createWebhook(webHookName, "htt... |
<<<<<<<
.icon('delete', 'svg/ic_delete_black_48px.svg')
.icon('drag', 'svg/drag.svg')
=======
.icon('comment', 'svg/ic_comment_black_48px.svg')
.icon('file', 'svg/ic_insert_drive_file_black_48px.svg')
.icon('list', 'svg/ic_list_black_48px.svg')
.icon('clock', ... |
<<<<<<<
},
keys: function()
{
return this.slotCursor().keys();
=======
},
//-- iterators -----------------------------------------
eachSlot: function(fn, reverse)
{
var cur = this.slotCursor();
if(reverse)
{
cur.last();
}
else
{
cur.first();
}
var k;
while(k = cur.key())
... |
<<<<<<<
<CTALink className="btn btn-secondary" to="/start">
{t('ctaCheckSymptoms')}<i className="fas fa-arrow-right ml-1"></i>
=======
<CTALink className="btn btn-secondary" to="/report">
Revisar mis síntomas<i className="fas fa-arrow-right ml-1"></i>
>>>>>... |
<<<<<<<
import { useHistory } from 'react-router-dom'
import { useTranslation, Trans } from 'react-i18next'
=======
>>>>>>>
import { useTranslation, Trans } from 'react-i18next'
<<<<<<<
const Start = ({ setFormState }) => {
const {t} = useTranslation('formStart')
const history = useHistory()
=======
const Star... |
<<<<<<<
import Background from './images/backgrounds/JainaProudmoore.jpg';
import Headshot from './images/headshots/JainaProudmoore.png';
=======
// import Background from './images/backgrounds/FridaIronbellows.jpg';
import Headshot from './images/headshots/JainaProudmoore.jpg';
import { BOD_ALLIANCE_TO_HORDE } from ... |
<<<<<<<
import InfiniteGrid from './Grid/InfiniteGrid/InfiniteGrid';
=======
import DragFormToGrid from './Grid/AddonsDecorations/DragFormToGrid/DragFormToGrid';
>>>>>>>
import InfiniteGrid from './Grid/InfiniteGrid/InfiniteGrid';
import DragFormToGrid from './Grid/AddonsDecorations/DragFormToGrid/DragFormToGrid'; |
<<<<<<<
it('should set service_name and service_job_id if it\'s running via Surf', done => {
=======
it ("should set service_name and service_job_id if it's running on AppVeyor", function(done){
testAppVeyor(getOptions, done);
});
it ("should set service_name and service_job_id if it's running via Surf", ... |
<<<<<<<
work: function (font_id, glyphs) {
=======
work: function (font_id, config, user) {
>>>>>>>
work: function (font_id, config) {
<<<<<<<
glyphs: glyphs
=======
fontname: config.font.fontname,
glyphs: config.glyphs,
user: user
>>>>>>>
fontname: config.fo... |
<<<<<<<
pulseVelocity = 0.008,
pulseQuantity = 3,
// Seed is used to generate the note field so that random
// one persons's grid can be saved & replicated
seed = Math.floor( Math.random() * 10000 ),
=======
>>>>>>>
pulseVelocity = 0.008,
pulseQuantity = 3,
// Seed is used to generate the ... |
<<<<<<<
_this.trackKeenEvent("widget_dismissed");
_this.trigger('dismiss.widget', { dismissals: dismissals.count });
=======
_this.trigger('widget.dismissed', { dismissals: dismissals.count });
>>>>>>>
_this.trackKeenEvent("widget_dismissed");
... |
<<<<<<<
=======
Options.prototype.getKeenGlobals = function(eventCollection) {
// setup the global properties we'll use
var globalProperties = {
UUID: KEEN_UUID,
has_network_connection: navigator.onLine,
chrome_version: window.navigator.appVersion
};
return globalProperties;
}... |
<<<<<<<
settings: {
waitlistHost: "http://share.getwaltz.com",
waitlistPaths: {
reserve: '/u/reserve',
check: '/u/check',
setEmail: '/u/email/set',
inviteCreate: '/i/create',
inviteAdd: '/i/add',
inviteClear: '/i/clear'
... |
<<<<<<<
contain: {user: 1},
order: ['Group.name ASC']
=======
order: ['Group.name ASC'],
silent: false
>>>>>>>
contain: {user: 1},
order: ['Group.name ASC'],
silent: false |
<<<<<<<
marilia: {
name: 'Marília Gabriela',
username: 'MGabrielaReal',
msg: 'Poór que você fez isso?',
image: 'https://i.imgur.com/bRPRe0T.jpg'
},
=======
arnaldo: {
name: 'Arnaldo Cezar Coelho',
username: 'coelhoarnaldoc',
msg: 'A regra é clara!',
image: 'https://i.imgur.com/x4... |
<<<<<<<
for (var plugin in Pouch.plugins) {
// In future these will likely need to be async to allow the plugin
// to initialise
var pluginObj = Pouch.plugins[plugin](db);
for (var api in pluginObj) {
// We let things like the http adapter use its own implementation
... |
<<<<<<<
if (before) {
parentEl.insertBefore(childEl, before.el || before);
} else {
parentEl.appendChild(childEl);
}
if (parentEl.mounted || document.contains(childEl)) {
=======
doMount(parentEl, childEl, before);
if (!wasMounted && (parentEl.mounted || document.contains(childEl))... |
<<<<<<<
declaringView._elementsByCid || (declaringView._elementsByCid = {});
declaringView._elementsByCid[cid] = element;
return new Handlebars.SafeString(Thorax.Util.tag.call(this, htmlAttributes));
=======
this._view._elementsByCid || (this._view._elementsByCid = {});
this._view._elementsByCid[cid] = elem... |
<<<<<<<
// 只预览图片格式。
if ( !file.type.match( /^image/ ) ) {
cb( true );
return;
}
Image.makeThumbnail( file.getSource(), cb, width, height, true );
=======
Image.makeThumbnail( file.getSource(), cb, width, height,
... |
<<<<<<<
this.el.innerHTML = '';
{{#has-plugin "collection"}}
var element;
if (this.collection && this._collectionOptionsByCid[this.collection.cid] && this._renderCount) {
// preserveCollectionElement calls the callback after it has a reference
// to the collection element... |
<<<<<<<
{{#has-plugin "helpers/view"}}
this._appendViews(null, function(el) {
el.setAttribute(modelCidAttributeName, model.cid);
});
{{/has-plugin}}
{{#has-plugin "helpers/element"}}
this._appendElements(null, function(el) {
el.setAttribute(modelCidAttribute... |
<<<<<<<
// 只预览图片格式。
if ( !file.type.match( /^image/ ) ) {
cb( true );
return;
}
Image.makeThumbnail( file.getSource(), cb, width, height, true );
=======
Image.makeThumbnail( file.getSource(), cb, width, height,
... |
<<<<<<<
var _getActiveTab = __webpack_require__(11);
var _extend = __webpack_require__(4);
=======
var _extend = __webpack_require__(5);
>>>>>>>
var _getActiveTab = __webpack_require__(11);
var _extend = __webpack_require__(5);
<<<<<<<
/***/ 5:
/***/ (function(module, exports, __webpack_require__) {
"use strict"... |
<<<<<<<
import ColdHeartEfficiency from './Modules/Items/ColdHeartEfficiency';
=======
import Tier21_2p from './Modules/Items/Tier21_2p';
import Tier21_4p from './Modules/Items/Tier21_4p';
>>>>>>>
import ColdHeartEfficiency from './Modules/Items/ColdHeartEfficiency';
import Tier21_2p from './Modules/Items/Tier21_2p'... |
<<<<<<<
default: {
script: series(
'nps banner.test',
'nps test.integration.pretest',
'nps test.integration.run'
)
},
pretest: {
script: 'ts... |
<<<<<<<
var rawTypes = require("../lib/types");
=======
var builtin = types.builtInTypes
var isRegExp = builtin.RegExp;
var isString = builtin.string;
>>>>>>>
var builtin = types.builtInTypes
var isRegExp = builtin.RegExp;
var isString = builtin.string;
var rawTypes = require("../lib/types"); |
<<<<<<<
import { exec, spawn } from 'child_process';
import minimatch from 'minimatch';
=======
import {exec, spawn} from 'child_process';
import anymatch from 'anymatch';
>>>>>>>
import { exec, spawn } from 'child_process';
import anymatch from 'anymatch'; |
<<<<<<<
return {
docs: [],
resultsExhausted: true,
totalCount: getTotalCount ? 0 : undefined,
}
=======
return { docs: [], resultsExhausted: true, isBadTerm: false}
>>>>>>>
return {
docs: [],
resultsExhausted: true,
... |
<<<<<<<
import maybeLogPageVisit from './log-page-visit'
import debounce from 'lodash/debounce'
=======
import { maybeLogPageVisit } from './log-page-visit'
>>>>>>>
import { maybeLogPageVisit } from './log-page-visit'
import debounce from 'lodash/debounce' |
<<<<<<<
// Pattern to match entire string to `domain.tld`-like format + optional ccTLD
const DOMAIN_TLD_PATTERN = /^\w{2,}\.\w{2,3}(\.\w{2})?$/
=======
import transform from '../util/transform-page-text.js'
// Pattern to match entire string to `domain.tld`-like format
const DOMAIN_TLD_PATTERN = /^\w{2,}\.\w{2,3}$/
... |
<<<<<<<
export const SEARCH_COUNT_KEY = 'number-of-searches'
export const EGG_TITLE = 'Cheers to the awesome crew that made Memex possible'
export const EGG_URL = '/options/options.html#/acknowledgements'
export const EGG_IMG = '/../../../../img/thanks.gif'
=======
export const SEARCH_COUNT_KEY = 'number-of-searches... |
<<<<<<<
this.inspectMode = false;
this.badges = [];
=======
>>>>>>>
this.inspectMode = false;
<<<<<<<
this.badges.forEach(badge =>
this.dom.badges.appendChild(badge.el)
);
attachViewInspector(this);
} else {
for (let ke... |
<<<<<<<
import hitext from 'hitext';
import hitextPrismjs from 'hitext-prismjs';
import CodeMirror from 'codemirror';
=======
import hitext from '/gen/hitext.js';
import hitextPrismjs from '/gen/hitext-prismjs.js';
import CodeMirror from '/gen/codemirror.js';
import usage from './source.usage.js';
>>>>>>>
import hit... |
<<<<<<<
=======
function getPageMethod(host, pageId, name, fallback) {
const method = getPageOption(host, pageId, name, fallback);
return typeof method === 'function'
? method
: fallback;
}
function extractValueLinkResolver(host, pageId) {
const { resolveLink } = host.page.get(pageId).op... |
<<<<<<<
var argv = require('yargs').argv;
=======
var istanbul = require('gulp-istanbul');
var eslint = require('gulp-eslint');
var template = require('gulp-template');
var marked = require('marked');
var argv = require('yargs').argv;
>>>>>>>
var istanbul = require('gulp-istanbul');
var eslint = require('gulp-eslin... |
<<<<<<<
swPrecache.write(path.join(rootDir, 'offline-worker.js'), {
staticFileGlobs: fileGlobs.map(function(v) { return path.join(rootDir, v) }),
stripPrefix: rootDir,
verbose: true,
logger: gutil.log,
importScripts: config.importScripts || [],
maximumFileSizeToCacheInBytes: Infinity,
}, cal... |
<<<<<<<
var istanbul = require('gulp-istanbul');
=======
var argv = require('yargs').argv;
>>>>>>>
var istanbul = require('gulp-istanbul');
var argv = require('yargs').argv;
<<<<<<<
gulp.task('pre-test', function () {
return gulp.src(['lib/**/*.js'])
.pipe(istanbul({ includeUntested: true }))
.pipe(istanb... |
<<<<<<<
// Ensure root directory ends with slash so we strip leading slash from paths
// of files to cache, so they're relative paths, and the offline worker
// will match them regardless of whether the app is deployed to a top-level
// directory for a custom domain (f.e. https://example.com/) or a subdirectory... |
<<<<<<<
import FathomDredgers from '../shared/modules/items/bfa/raids/crucibleofstorms/FathomDredgers';
=======
import HarbingersInscrutableWill from '../shared/modules/items/bfa/raids/crucibleofstorms/HarbingersInscrutableWill';
import IdolOfIndiscriminateConsumption from '../shared/modules/items/bfa/raids/crucibleo... |
<<<<<<<
import TableOfContents from './table-of-contents'
=======
import StatusLabel from './status-label'
>>>>>>>
import TableOfContents from './table-of-contents'
import StatusLabel from './status-label'
<<<<<<<
{pageContext.tableOfContents.items ? (
<TableOfContents items={pageContext.table... |
<<<<<<<
import {MDXProvider} from '@mdx-js/react'
import {
BaseStyles,
Box,
Flex,
Link,
StyledOcticon,
theme,
} from '@primer/components'
import {Pencil} from '@primer/octicons-react'
=======
import {Flex} from '@primer/components'
>>>>>>>
import {Box, Flex, Link, StyledOcticon} from '@primer/components'... |
<<<<<<<
// client not authorized in session yet
// TODO: strategies
// - authorize once per session
// - pass everyone
// - check account model
() => {
if (!ctx.oidc.session.sidFor(ctx.oidc.client.clientId)) {
return {
error: 'consent_required',
... |
<<<<<<<
it("child view re-render will keep dom events intact", function() {
var callCount = 0;
var parent = new Thorax.View({
name: 'parent-event-dom-test',
child: new Thorax.View({
name: 'child-event-dom-test',
events: {
'click .test': function() {
++callCoun... |
<<<<<<<
async function validateInitialAccessToken(ctx, next) {
=======
const idFactory = instance(provider).configuration('features.registration.idFactory') || uuid;
assert.equal(typeof idFactory, 'function', 'idFactory must be a function');
function* validateInitialAccessToken(next) {
>>>>>>>
const idFac... |
<<<<<<<
module.exports = function getErrorHandler(provider, emittedError) {
return async function apiErrorHandler(ctx, next) {
=======
module.exports = function getErrorHandler(provider, eventName) {
return function* apiErrorHandler(next) {
>>>>>>>
module.exports = function getErrorHandler(provider, eventName) {... |
<<<<<<<
ctx.oidc.session.acrValue = result.login.acr;
ctx.oidc.session.account = result.login.account;
ctx.oidc.session.loginTs = result.login.ts;
=======
this.oidc.session.account = result.login.account;
this.oidc.session.loginTs = result.login.ts;
>>>>>>>
ctx.oidc.session.accoun... |
<<<<<<<
const Koa = require('koa');
const path = require('path');
const render = require('koa-ejs');
const co = require('co');
=======
const koa = require('koa');
>>>>>>>
const Koa = require('koa');
<<<<<<<
render(app, {
cache: false,
layout: '_layout',
root: path.join(__dirname, '..', 'views'... |
<<<<<<<
await provider.initialize();
const server = http.createServer(provider.app.callback()).listen();
=======
yield provider.initialize();
>>>>>>>
await provider.initialize(); |
<<<<<<<
return async function renderConfiguration(ctx, next) {
ctx.body = {
acr_values_supported: config.acrValues,
authorization_endpoint: ctx.oidc.urlFor('authorization'),
=======
return function* renderConfiguration(next) {
this.body = {
acr_values_supported: config.acrValues.length ?... |
<<<<<<<
async function validateInitialAccessToken(ctx, next) {
const setup = instance(provider).configuration('features.registration');
switch (setup.initialAccessToken && typeof setup.initialAccessToken) {
=======
function* validateInitialAccessToken(next) {
const registration = instance(provider).co... |
<<<<<<<
test("multiple collections", function() {
=======
it("programmatic access to CollectionView", function() {
var parent = new Thorax.View({
template: '{{view child}}'
});
parent.child = new Thorax.CollectionView({
tagName: 'ul',
parent: parent,
'item-template': 'letter-it... |
<<<<<<<
uuid: ctx.oidc.uuid,
returnTo: ctx.oidc.urlFor('resume', { grant: ctx.oidc.uuid }),
params: ctx.oidc.params,
=======
uuid: ctx.uuid,
params: ctx.params,
>>>>>>>
uuid: ctx.oidc.uuid,
params: ctx.oidc.params,
<<<<<<<
ctx.cookies.set('_grant', j(ctx... |
<<<<<<<
import SPELLS from 'common/SPELLS';
import { SpellIcon } from 'interface';
=======
>>>>>>>
import SPELLS from 'common/SPELLS';
<<<<<<<
=======
import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER';
import STATISTIC_CATEGORY from 'parser/ui/STATISTIC_CATEGORY';
import BoringSpellValue from 'parser/ui/Bor... |
<<<<<<<
multiparty = require("connect-multiparty"),
=======
sslConfig = require("ssl-config")("intermediate"),
>>>>>>>
multiparty = require("connect-multiparty"),
sslConfig = require("ssl-config")("intermediate"),
<<<<<<<
appServer = https.createServer({key: fs.readFileSync(config.key),... |
<<<<<<<
'views/youtube/PlaylistsViewer',
=======
'views/SidebarView',
'views/Loader',
// 'views/infinite_scroller',
>>>>>>>
'views/youtube/PlaylistsViewer',
'views/SidebarView',
'views/Loader',
// 'views/infinite_scroller',
<<<<<<<
FacebookLikeView,
PlaylistsViewer,
=======
FacebookLikeView,
SidebarV... |
<<<<<<<
'./youtube_player',
'./gapi',
'./youtube/gplusAuth'
=======
'./youtube_player'
>>>>>>>
'./youtube_player',
'./gapi',
'./youtube/gplusAuth'
<<<<<<<
this.set('mediaId', null);
=======
>>>>>>> |
<<<<<<<
on_server = fs.existsSync(
`/etc/letsencrypt/live/${domain_name}/fullchain.pem`
)
=======
>>>>>>>
<<<<<<<
if (on_server) {
cert = {
cert: fs.readFileSync(
`/etc/letsencrypt/live/${domain_name}/fullchain.pem`
),
key: fs.readFileSync(`/etc/letsencrypt/live/${domain_name}/pr... |
<<<<<<<
=======
var PeersManagementResource = require('./api_resources/peer_management');
>>>>>>>
var PeersManagementResource = require('./api_resources/peer_management');
<<<<<<<
.add(RootResource, zettaInstance)
.add(DevicesResource, zettaInstance)
.add(ServersResource, zettaInstance)
=======
.a... |
<<<<<<<
this.machine.buildStreamLinks = this.buildStreamLinks.bind(this.machine);
this.machine.streams = [];
=======
this.machine.streams = {};
>>>>>>>
this.machine.buildStreamLinks = this.buildStreamLinks.bind(this.machine);
this.machine.streams = {};
<<<<<<<
return actions;
};
=======
Object.keys(... |
<<<<<<<
this.recentMessagesAtTop = params.recentMessagesAtTop || false;
=======
this.position = params.position || 'bottom';
>>>>>>>
this.recentMessagesAtTop = params.recentMessagesAtTop || false;
this.position = params.position || 'bottom'; |
<<<<<<<
if (this.position === 'bottom') {
this.panel = atom.workspace.addBottomPanel({item: this});
}
else if (this.position === 'top') {
this.panel = atom.workspace.addTopPanel({item: this});
}
=======
this.panel = atom.workspace.addBottomPanel({item: this});
var that = this;
... |
<<<<<<<
/**
* LineMessageView class
*
* Is capable of displaying a message with a line:char
* reference, and an optional preview of the code on
* that line.
*
* Takes a hash of parameters that include:
* - `line`: The line this message relates to
* - `character`: Which character on the line (optional)
* - `me... |
<<<<<<<
//NOTE - currently this.name will always be truthy
if (!locals.noScript)
params.script ='bundles/' + this.name + '.js';
=======
params.stylesheet = getStaticUrl('stylesheets/index.css');
params.script = getStaticUrl('js/bundles/' + this.name + '.js');
// IDEA for generic bundle page
>>>>>>>
... |
<<<<<<<
var ice_api = require('./ice_api');
var buf = require('./buffer_utils');
=======
var dbg = require('./dbg')(__filename);
// dbg.log_level = 3;
>>>>>>>
var ice_api = require('./ice_api');
var buf = require('./buffer_utils');
var dbg = require('./dbg')(__filename);
// dbg.log_level = 3;
<<<<<<<
if ... |
<<<<<<<
node: params.node_id,
=======
system: params.node.system._id,
node: params.node._id,
>>>>>>>
system: params.node.system._id,
node: params.node_id, |
<<<<<<<
=======
var node_listen_addr = 'n2n://' + node.peer_id;
dbg.log3('PEER REVERSE ADDRESS', node_listen_addr, req.connection.url.href);
//Add node to RPC map and notify redirector if needed
var notify_redirector = server_rpc.map_address_to_connection(node_listen_a... |
<<<<<<<
api_schema.register_api(require('./lambda_api'));
api_schema.register_api(require('./lambda_node_api'));
=======
api_schema.register_api(require('./frontend_notifications_api'));
>>>>>>>
api_schema.register_api(require('./frontend_notifications_api'));
api_schema.register_api(require('./lambda_api'));
api_sc... |
<<<<<<<
var native_core = require("../util/native_core")();
var dedup_chunker = new native_core.DedupChunker({
tpool: new native_core.ThreadPool(1)
}, new native_core.DedupConfig({}));
var object_coding = new native_core.ObjectCoding({
tpool: new native_core.Threa... |
<<<<<<<
api.pool.create_pool({ name, nodes })
.then(loadSystemInfo)
=======
let { poolList } = model;
api.pool.create_nodes_pool({ name, nodes })
.then(
() => loadPoolList(poolList.sortedBy(), poolList.order())
)
>>>>>>>
api.pool.create_nodes_pool({ name, nodes })
... |
<<<<<<<
last_stats_report: system.last_stats_report && new Date(system.last_stats_report),
=======
maintenance_mode: system_utils.system_in_maintenance(system._id) ? new Date(system.maintenance_mode) : undefined,
>>>>>>>
last_stats_report: system.last_stats_report && new Date(syst... |
<<<<<<<
if (req.header('range')){
return client.object_client.serve_http_stream(req,res,object_path);
}else{
client.object_client.open_read_stream(object_path).pipe(res);
=======
... |
<<<<<<<
const tier_pools_by_id = _.keyBy(tier.pools, '_id');
var replicas = chunk.is_special? tier.replicas * SPECIAL_CHUNK_REPLICA_MULTIPLIER : tier.replicas;
=======
// when allocating blocks for upload we want to ignore cloud_pools
// so the client is not blocked until all blocks are uploded to the... |
<<<<<<<
last_stats_report: {
format: 'idate'
},
=======
maintenance_mode: {
// type: 'object',
// additionalProperties: true,
// properties: {}
format: 'idate'
},
>>>>>>>
last_stats_report: {
format: 'idat... |
<<<<<<<
=======
gulp.task('client_libs', ['bower'], function() {
var DEST = 'build/public/js';
var NAME = 'libs.js';
var NAME_MIN = 'libs.min.js';
var bundler = browserify({
debug: true,
});
_.each(PATHS.client_libs, function(lib) {
bundler.require(lib, {
expose: l... |
<<<<<<<
const promise_utils = require('../../util/promise_utils');
=======
const cloud_utils = require('../utils/cloud_utils');
const moment = require('moment');
>>>>>>>
const cloud_utils = require('../utils/cloud_utils');
const moment = require('moment');
const promise_utils = require('../../util/promise_utils');
... |
<<<<<<<
apply_set_debug_level: {
method: 'POST',
params: {
type: 'object',
required: ['level'],
properties: {
target_secret: {
type: 'string',
},
level: {
... |
<<<<<<<
// var ip_module = require('ip');
// var time_utils = require('../util/time_utils');
var url_utils = require('../util/url_utils');
=======
>>>>>>>
// var ip_module = require('ip');
// var time_utils = require('../util/time_utils');
var url_utils = require('../util/url_utils');
<<<<<<<
req.reqid = msg.he... |
<<<<<<<
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import SPELLS from 'common/SPELLS';
=======
import React from 'react';
import Module from 'Parser/Core/Module';
import HIT_TYPES from "Parser/Core/HIT_TYPES";
import Combatants from "Parser/Core/Modules/Comba... |
<<<<<<<
const outputTasks = [ markdownWriter(schemaMap[schemaKey].filePath, object.mSchema, schemaPath, docDir, object.dep, docs) ];
if (schemaDir !== '') {
outputTasks.push(schemaWriter(schemaMap[schemaKey].filePath, object.wSchema, schemaPath, schemaDir));
}
return Promise.al... |
<<<<<<<
set_last_stats_report_time: {
doc: 'Set last stats report sync time',
method: 'PUT',
params: {
type: 'object',
required: ['last_stats_report'],
properties: {
last_stats_report: {
... |
<<<<<<<
=======
//Global Configuration and Initialization
console.log('loading .env file ( no foreman ;)');
dotenv.load();
dbg.set_process_name('BGWorkers');
>>>>>>>
dbg.set_process_name('BGWorkers');
<<<<<<<
return P.ninvoke(http_server, 'listen', bg_workers_rpc.get_default_base_port('background'));
... |
<<<<<<<
.then(() => coretest.init_test_nodes(client, SYS, 6))
.then(() => client.node.list_nodes({}))
.then(res => {
nodes_list = res.nodes;
})
.then(res => client.pool.create_pool({
=======
.then(() => client.auth.create_auth({
... |
<<<<<<<
.get("/theme.css", (ctx) => {
const theme = ctx.cookies.get("theme") || defaultTheme;
=======
.get("/theme.css", ctx => {
const theme = ctx.cookies.get("theme") || config.theme;
>>>>>>>
.get("/theme.css", (ctx) => {
const theme = ctx.cookies.get("theme") || config.theme;
<<<<<<<
.get("/s... |
<<<<<<<
=======
const { isEmpty } = require('lodash')
const logger = require('./logger')
>>>>>>>
const logger = require('./logger')
<<<<<<<
function handleWarning (message) {
// eslint-disable-next-line
console.warn('\x1b[33m', `(Firebase-Module) ${message}`)
}
function handleError (message) {
// TODO: Delet... |
<<<<<<<
})
test('match body with form multipart', function(t) {
nock('http://encodingsareus.com')
.post('/', "--fixboundary\r\nContent-Disposition: form-data; name=\"field\"\r\n\r\nvalue\r\n--fixboundary--\r\n")
.reply(200);
var r = mikealRequest({
url: 'http://encodingsareus.com/',
method: 'post... |
<<<<<<<
menu.extension(fileFormatToUse, function(format) {
if (format === '.html') {
createHtml(resumeJson, fileName, theme, format, function() {
callback(null, fileName, format);
});
} else if (format === '.pdf') {
createPdf(resumeJson, fileName, theme, f... |
<<<<<<<
var area = require('./../area/area');
var messageService = require('../messageService');
=======
>>>>>>> |
<<<<<<<
/*
const isValidName = (name) => {
=======
const isValidName = name => {
>>>>>>>
/*
const isValidName = name => {
<<<<<<<
*/
//const isValidEnum = (values) => !values.find((val => !isValidName(val)));
//export const getEnumType = (typeName, fieldName) => `${typeName}${capitalize(unarrayfyFieldName(fieldName... |
<<<<<<<
FIND_APPROVED = function() {
return queryFind(STATUS_APPROVED, Session.get('categorySlug'));
}
FIND_PENDING = function() {
return queryFind(STATUS_PENDING, Session.get('categorySlug'));
}
var topPostsHandle = postListSubscription(FIND_APPROVED, sortBy('score'), 10);
var newPostsHandle = postListSubscriptio... |
<<<<<<<
options.limit = (terms.limit < 1 || terms.limit > 100) ? 100 : terms.limit;
options.skip = terms.offset;
// keep only fields that should be viewable by current user
=======
options.limit = (limit < 1 || limit > 100) ? 100 : limit;
options.skip = offset;
>>>>>>>
opti... |
<<<<<<<
export { default as ScrollToTop } from './components/ScrollToTop.jsx';
=======
export { default as Dummy } from './components/Dummy.jsx';
>>>>>>>
export { default as ScrollToTop } from './components/ScrollToTop.jsx';
export { default as Dummy } from './components/Dummy.jsx'; |
<<<<<<<
try {
MailChimpList.add(user, false, function (error, result) {
console.log(error);
console.log(result);
});
} catch (error) {
console.log("// MailChimp Error:")
console.log(error)
}
=======
MailChimpList.add(user, false, function (error, result) {
... |
<<<<<<<
doc = await Connectors.get(collection, selector, options);
=======
doc = await Connectors.get(collection, selector);
// check again that the fields used for filtering were all valid, this time based on retrieved document
// this second check is necessary for document ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.