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
(function(){ | |
var el = document.createElement('script'); | |
el.src = "https://cdn.rawgit.com/pgebheim/f77dd4a56fe2c18c4309492a081a6201/raw/fb9feb96a101e28b4e83bdf279fa62022eb982b9/discord-reaction-hotkey.js"; | |
document.body.append(el); | |
el = document.createElement('script'); | |
el.src = "https://cdn.rawgit.com/pgebheim/68f408aa76ad07e164a3dab4b75d5ac1/raw/556c2e185fee360e758f3e520b3b5f271c5c8ddc/discord-theme-fix-dark.js"; | |
document.body.append(el); | |
})(); |
This script will let you make backups of live VMs running on KVM, using libvirt.
The backup job will suspend the VM for the time it takes to copy the RAM to disk.
Credits: Luca Lazzeroni
I've made some minor adjustments.
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
(function() { | |
var subscription; | |
jQuery(function() { | |
Stripe.setPublishableKey($('meta[name="stripe-key"]').attr('content')); | |
return subscription.setupForm(); | |
}); | |
subscription = { | |
setupForm: function() { | |
return $('#new_subscription').submit(function() { | |
$('input[type=submit]').attr('disabled', true); |