Skip to content

Instantly share code, notes, and snippets.

Working from home

Júnior César Abreu juniorcesarabreu

Working from home
View GitHub Profile
juniorcesarabreu / Disable Firebase Analytics Crashylitcs
Last active Nov 12, 2021
Desabilitar Firebase Analytcs e Crashlytcs no Android
View Disable Firebase Analytics Crashylitcs

Desabilitar Firebase Analytcs e Crashlytcs no Android

  • Adicione as variáveis ao build.gradle do módulo:
android {
 /* ... */
View websevice-example-checkin.json
"eventId": 1,
"name": "Junior Cesar Abreu",
"email": ""
juniorcesarabreu / git-pull-all
Created Jul 31, 2021 — forked from grimzy/git-pull-all
Git pull all remote branches
View git-pull-all
#!/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 /
Created Jul 7, 2021
Como criar arquivos de mídia na pasta downloads no Android 10 (API 29) - Problema do Armazenamento por escopo
juniorcesarabreu / De-obfuscating the crash
Last active Jun 29, 2021
De-obfuscating the Firebase crash reports
View De-obfuscating the crash

De-obfuscating the Firebase crash reports

Add the following config to app's file:

-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
# prevent Crashlytics obfuscation
-keep class** { *; }
View The Complete List of MIME
juniorcesarabreu / ProGuard_ignore_libraries
Created Jan 7, 2021 — forked from SeanZoR/ProGuard_ignore_libraries
ProGuard - simple ignore for 3rd party libraries
View ProGuard_ignore_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.
View Github 2FA to Brazil via

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:


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

juniorcesarabreu /
Created Mar 30, 2020
Sharing a folder between windows and mac os x on vmware

You need to follow this procedure in order to share files between Windows 7 and Mac OS X on VMWare :

  1. Go in your virtual machine settings and select 'Options' tab.
  2. Click on 'Folder Sharing' and tick 'Always enabled'.
  3. Click on 'Add' button and select a folder you want to share.
  4. Confirm virtual machine settings.
  5. From 'System preferences' on Mac OS X, select 'Sharing'.
  6. Make sure that 'File Sharing' is enabled.
  7. From top menu bar, select 'Go' and 'Computer'.
  8. You will now see a folder named '/'. This is your shared folder between Windows 7 and Mac OS X.