These are possible steps to reset a csync2 cluster that has been seriously fubared. This is an apocalyptic approach and should only be used when more surgical fixes (like correcting an individual conflict) aren't workable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var open = window.XMLHttpRequest.prototype.open, | |
send = window.XMLHttpRequest.prototype.send, | |
onReadyStateChange; | |
function openReplacement(method, url, async, user, password) { | |
var syncMode = async !== false ? 'async' : 'sync'; | |
console.warn( | |
'Preparing ' + | |
syncMode + | |
' HTTP request : ' + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace HighPoint\VersionScan; | |
use Exception; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Query; | |
/** | |
* Version scanner | |
*/ | |
class Scanner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AJS.$(document).ajaxSuccess(function (e, xhr, settings) { | |
if (/\/dev-status\/.*dataType=repository/.test(settings.url)) { | |
xhr.done(function (data) { | |
var info = {}; | |
data.detail[0].repositories.forEach(function (repository) { | |
info[repository.name] = info[repository.name] || []; | |
info[repository.name] = _.pluck(repository.commits, 'id'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Requires Chrome and the Control Freak (https://chrome.google.com/webstore/detail/control-freak/jgnchehlaggacipokckdlbdemfeohdhc) extension | |
/* Libs: | |
- https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
- https://cdnjs.cloudflare.com/ajax/libs/draggabilly/1.2.0/draggabilly.pkgd.min.js | |
- https://cdn.rawgit.com/meetselva/attrchange/d3f8524374b0ad11f320b51f7b188ae940314dba/js/attrchange.js | |
*/ | |
// Make dialogs draggable | |
$(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"version": "5.6.4", | |
"id": "178362" | |
}, | |
{ | |
"version": "5.6.3", | |
"id": "178179" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS | |
.timerWrapper { | |
color: #fff; | |
left: 5px; | |
position: fixed; | |
top: 5px; | |
z-index: 9999; | |
} | |
.timer { | |
height: 15px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $frame = $('#ptifrmtgtframe'); | |
$frame.load(function () { | |
// If refresh button not found, don't continue | |
if ($frame.contents().find('#REFRESH_BTN').length === 0) { | |
$('#turbo-enabled').remove(); | |
return; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint browser:true, devel:true*/ | |
/*global $*/ | |
$(document).on('click', '#dvcs-commits-tabpanel', function () { | |
// Wait for the commits to load... | |
setTimeout(function () { | |
var commits = {}; | |
$('.CommitHeader > a').each(function() { | |
var $this = $(this); |
NewerOlder