Skip to content

Instantly share code, notes, and snippets.

View mrk-han's full-sized avatar
💭
Looking for new opportunities!

Mark Han mrk-han

💭
Looking for new opportunities!
View GitHub Profile
@mrk-han
mrk-han / AdbCommands
Created October 4, 2019 15:42 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@mrk-han
mrk-han / ViewGroupUtils.java
Created July 31, 2019 02:03 — forked from orip/ViewGroupUtils.java
Find all Android views tagged with a given value. Similar to document.getElementsByClassName in JavaScript/DOM to find elements with a given class. Based on this StackOverflow answer by Shlomi Schwartz: http://stackoverflow.com/a/8831593/37020
package com.onavo.android.common.ui;
import android.view.View;
import android.view.ViewGroup;
import java.util.LinkedList;
import java.util.List;
/**
* Based on http://stackoverflow.com/a/8831593/37020 by by Shlomi Schwartz
@mrk-han
mrk-han / index.md
Created February 27, 2018 01:58 — forked from ericandrewlewis/index.md
C++ Pointer Tutorial

C++ Pointer Tutorial

Because pointers can be ugh

"Regular" variables (not pointers)

To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".

When declaring a variable by identifier (or name), the variable is synonymous with its value.

@mrk-han
mrk-han / git-cheat-list.md
Created December 3, 2017 21:16
Git cheat list