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 /
Created December 3, 2017 21:16
Git cheat list
mrk-han /
Created February 27, 2018 01:58 — forked from ericandrewlewis/
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 /
Created July 31, 2019 02:03 — forked from orip/
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:
import android.view.View;
import android.view.ViewGroup;
import java.util.LinkedList;
import java.util.List;
* Based on by by Shlomi Schwartz
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