Skip to content

Instantly share code, notes, and snippets.

View deefour's full-sized avatar

Jason Daly deefour

View GitHub Profile
@deefour
deefour / multi-reddit-subscription.js
Created August 12, 2018 13:43
Subscribe to all subreddits listed within a multireddit. Go to the multireddit & paste this into the console. Increase CLICK_DELAY if reddit starts rejecting requests.
const CLICK_DELAY = 350;
const links = document.querySelectorAll('.subscription-box .subscribe-button .add.active');
[...links].forEach((el, i) => setTimeout(() => el.click(), i * CLICK_DELAY));
@deefour
deefour / deefour-request-handling.md
Last active November 11, 2016 19:22
A work-in-progress attempt to explain how a few small packages aide me in application development.

NOTE: Some recent, major refactoring has made some sections of this document inaccurate. It will be updated soon.

Handling Requests in Laravel With the Help of Ruby-Inspired Packages

I am a PHP developer that has done a lot of Ruby on Rails development over the last few years. There are a few gems I found especially useful again and again.