Skip to content

Instantly share code, notes, and snippets.

View ThePredators's full-sized avatar
🎯
Focusing

Sbe-ng ThePredators

🎯
Focusing
View GitHub Profile
@ThePredators
ThePredators / AndroidWorkerInjection.java
Last active December 30, 2021 03:27
[Dagger] integration with workers (For Java People)
public class AndroidWorkerInjection {
public static void inject(Worker worker) {
checkNotNull(worker, "worker");
Object application = worker.getApplicationContext();
if (!(application instanceof HasWorkerInjector)) {
throw new RuntimeException(
String.format(
"%s does not implement %s",
application.getClass().getCanonicalName(),
@ThePredators
ThePredators / readme-ruby.md
Last active July 21, 2023 14:20
[macOS] Ruby Install

🔥 Ruby Version Manager (CheatSheet)

  • ✅ Run the following script on your mac :
# without proxy
curl -L https://get.rvm.io | bash -s stable
@ThePredators
ThePredators / readme-mde.md
Last active April 9, 2024 21:43
Setup Mobile Development Environment

⭐ Setup Mobile Development Environment

⚠️ The following configuration has been tested on Intel, M1 & M2 Ships ⚠️

Pre-requisit :

If you have any issues with macOS, or need anything related to it check this documentation

Install Xcode Command Line tools :

⭐ Manipulate Audio/Video with FFmpeg

Install

brew install ffmpeg

How to use ?

Android (CheatSheet)

Developer Option

Huawei

Xiaomi

🔥 Query tools (CheatSheet)

HTML

Instal

brew install htmlq

Usage