Skip to content

Instantly share code, notes, and snippets.

View rcgonzalezf's full-sized avatar
🎯
Focusing

Carlos Flores rcgonzalezf

🎯
Focusing
View GitHub Profile
@rcgonzalezf
rcgonzalezf / NavigateBack.kt
Created September 14, 2019 05:22
Navigate Back
package lavanderia.org.lavanderia
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.NavUtils
import android.support.v4.app.TaskStackBuilder
import android.support.v7.app.ActionBarDrawerToggle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
@rcgonzalezf
rcgonzalezf / Genymotion with Charles Proxy.md
Created September 14, 2019 06:45
Genymotion with Charles Proxy

Charles Proxy in your Genymotion Android emulator

  1. Settings -> Wifi -> Press and hold your active network
  2. Select “Modify Network”Select “Show Advanced Options”
  3. Select “Proxy Settings -> Manual”
  4. Set your Proxy to: 10.0.3.2 (Genymotion’s special code for the local workstation)
  5. Set your Port to: 8888
  6. Press Save
@rcgonzalezf
rcgonzalezf / Gephi.thread.dump.java
Created August 31, 2023 16:24
Thread dump, experiencing the Gephi #2546 issue.
73146:
2023-08-31 09:22:18
Full thread dump OpenJDK 64-Bit Server VM (11.0.17+8 mixed mode):
Threads class SMR info:
_java_thread_list=0x0000600003d005e0, length=30, elements={
0x00007fea24808800, 0x00007fea4401a800, 0x00007fea24809000, 0x00007fea55847800,
0x00007fea5402c800, 0x00007fea1400a800, 0x00007fea1480a800, 0x00007fea55176800,
0x00007fea55253000, 0x00007fea54392800, 0x00007fea55493800, 0x00007fea14808800,
0x00007fea1481b000, 0x00007fea1404f000, 0x00007fea24835000, 0x00007fea554fb800,
@rcgonzalezf
rcgonzalezf / AndrStudioShortcuts.md
Created April 9, 2024 16:29
Useful Android shortcuts for Mac

I haven't build muscle memory for the following shortcuts, I'll add them here for an easy reference.

  1. SHIFT + CMD + F12 -> Get rids of everything, cleans your AS UI.
  2. SHIFT + CMD + (, ) -> Stretch to left or Strech to right.
  3. ALT + ↑ -> Expand selection.
  4. SHIFT + CMD + B -> Clipboard history.
  5. ALT + SHIFT + (,) -> Moving text (not Cut & Paste).
  6. SHIFT + CMD +T -> Refactor.
  7. ALT + CMD + O -> Go to Symbol.
  8. SHIFT + CMD + O -> Go to File.