Skip to content

Instantly share code, notes, and snippets.

View juniorcesarabreu's full-sized avatar
🏠
Working from home

Júnior César Abreu juniorcesarabreu

🏠
Working from home
View GitHub Profile

DEL as key shortcut for delete emails on Gmail

Alt + 127
@juniorcesarabreu
juniorcesarabreu / Disable Firebase Analytics Crashylitcs Android.md
Last active November 12, 2021 19:34
Desabilitar Firebase Analytcs e Crashlytcs no Android

Desabilitar Firebase Analytcs e Crashlytcs no Android

  • Adicione as variáveis ao build.gradle do módulo:
android {
    /* ... */
@juniorcesarabreu
juniorcesarabreu / websevice-example-checkin.json
Created October 12, 2021 21:30
websevice-example-checkin
{
"eventId": 1,
"name": "Junior Cesar Abreu",
"email": "junior@email.com"
}
@juniorcesarabreu
juniorcesarabreu / git-pull-all
Created July 31, 2021 22:27 — forked from grimzy/git-pull-all
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
@juniorcesarabreu
juniorcesarabreu / save-file-to-download-folder-android-10-api-29.md
Created July 7, 2021 13:50
Como criar arquivos de mídia na pasta downloads no Android 10 (API 29) - Problema do Armazenamento por escopo
@juniorcesarabreu
juniorcesarabreu / De-obfuscating the crash reports.md
Last active June 29, 2021 14:00
De-obfuscating the Firebase crash reports

De-obfuscating the Firebase crash reports

Add the following config to app's proguard-rules.pro file:

-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
# prevent Crashlytics obfuscation
-keep class com.google.firebase.crashlytics.** { *; }
-dontwarn com.google.firebase.crashlytics.**
@juniorcesarabreu
juniorcesarabreu / ProGuard_ignore_libraries
Created January 7, 2021 17:15 — forked from SeanZoR/ProGuard_ignore_libraries
ProGuard - simple ignore for 3rd party libraries
# Ignoring all of the external "org" libraries
# (for example org.apache & org.jackson)
-keep class org.** { *; }
-dontwarn org.**
# Have more? Simply add them like the one above,
# and change to the desired package name.
@juniorcesarabreu
juniorcesarabreu / scroll-to-text-fragment.md
Created September 22, 2020 13:06
scroll-to-text-fragment

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console:


[PT-BR]

Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS