Skip to content

Instantly share code, notes, and snippets.

Hunter HunterMeyer

Block or report user

Report or block HunterMeyer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HunterMeyer
HunterMeyer / delete_android_apps.md
Last active Oct 17, 2019
Delete Android Apps with ADB without Root or Android Studio
View delete_android_apps.md

Delete Android Apps using ADB

You don't need to root your phone or install Android Studio.

Step 1: Download platform-tools

Download platform-tools for your platform (Mac, Windows, Linux).

Step 2: Uninstall Apps (using Mac)

Enable "USB Debugging" on your phone then connect it via USB to your computer.

Then run the following:

@HunterMeyer
HunterMeyer / clear_failed_jobs.rb
Created Feb 6, 2019
Clear Failed Resque Jobs
View clear_failed_jobs.rb
class ClearFailedJobs
# Clear all the failed resque jobs for a specific class
# ==== Attributes
#
# * +klasses+ - The Ruby classes to clear as a String or Array of Strings
#
# ==== Examples
# ClearFailedJobs.by_class('Exports::ReportCSV')
# ClearFailedJobs.by_class(['Exports::ReportCSV', 'Exports::ReportPDF'])
def self.by_class(klasses, queue = 'failed')
You can’t perform that action at this time.