Tutorials

Iterate Android Cursor

August 15, 2017 Android ∙ The simplest way to loop cursor.

Android Google Maps Color And Style

August 15, 2017 Android ∙ Create greyscale (black & white) or dark night mode map.

Webpack Wildcard Support For Entry Points

August 12, 2017 webpack ∙ glob.sync(“./src/*.js”)

Install Ubuntu Updates (command line)

August 12, 2017 Linux · Unix · Ubuntu ∙ sudo apt-get update && sudo apt-get upgrade

Show Linux Directory Structure As Ascii Text

August 10, 2017 Linux · Unix · Ubuntu

Python Concat String

August 9, 2017 Python ∙ Format string, join list or append string.

Python Regex Match

August 9, 2017 Python ∙ Use re.search

Python Regex Partial Replace

August 9, 2017 Python ∙ Use capture group and reference: re.sub(r”(match)(replace)“, r”\1new”, string)

Check Ubuntu Version

August 8, 2017 Linux · Unix · Ubuntu ∙ lsb_release -a

Cross Platform DOM Ready

August 8, 2017 JavaScript ∙ Equivalent of document.onload or DOMContentLoaded.