Skip to content

Instantly share code, notes, and snippets.

View stephensprinkle-zz's full-sized avatar
🤔
Thinking...

Stephen Sprinkle stephensprinkle-zz

🤔
Thinking...
View GitHub Profile
@pgebheim
pgebheim / discord-hack-loader.js
Last active November 9, 2017 18:43
Paste this into your Discord dev console to get reaction hotkeys! ctrl+shift+\
(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);
})();
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active June 1, 2024 09:44
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@ringe
ringe / README.md
Last active May 22, 2022 14:10
KVM QCOW2 Live backup

Live backup of KVM virtual machines

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.

@justinthiele
justinthiele / subscriptions.js
Created October 23, 2011 19:17
For those who aren't using coffeescript, here is the compiled Subscriptions javascript file from RailsCast #288 Billing with Stripe
(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);