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 December 16, 2024 10:45
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 :

⭐ Setup Fastlane + TestFlight + AppCenter for Android/iOS & Flutter

Visual Studio App Center is scheduled for retirement on March 31, 2025. Learn more about support timelines and recommended alternatives

Please before following this documentation make sure you already have confirgurations described here : ⭐ Setup Mobile Development Environment

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

AppCenter data for Fastlane

For example in this url : https://appcenter.ms/orgs/ToTo/applications

⭐ 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