Table Of Contents

Kevin FOO
2 min readMay 29, 2020

--

Android

Android Enable Developer Options
Android Extract APK
Android File Transfer
Android Push Notifications
Android Button On Click
Android Copy Text To Clipboard
Android Replace Fragment
Android Base64 Encode/Decode
Decompile Android APK
Android Kotlin Get WiFi IP
Android Kotlin Web Server
Android Send SMS With ADB
Android Kotlin Trigger Notification
Termux Install SSH Server

Apache

Apache Configure Domain
Go/Golang Share Instance

Bash Commands

Tmux
Random Number
Convert Lowercase/Uppercase

Common Functions

MD5 Sum (Bash, Go/Golang, Node.js, Ruby, CSharp/C#)
SHA3 Sum (Bash, Node.js, Ruby)
CRC32 Sum (Bash, Go/Golang, Node.js, Ruby)
Random UUID (Bash, Go/Golang, Ruby)

Concise Recipes

Steam Egg
Lava Egg

CSharp C#

CSharp C# Object To JSON

Dynamic IP

NoIP.com Dynamic IP
Cloudflare Dynamic IP

Golang/Go

Go/Golang Concurrent Map
Go/Golang Read Query String
Go/Golang Read POST Form Values
Go/Golang Read HTTP Header
Go/Golang Array Of Struct To JSON
Go/Golang Static File Server
Go/Golang Key Value Bolt DB
Find Out Go/Golang Variable Type
Go/Golang Run Command Line
Go/Golang CRUD MySQL
Go/Golang AngularJS Conflict
Go/Golang Get IP, User Agent, Country
Go/Golang Format Date String
Go/Golang Iterate Map of Array of Struct
Go/Golang Generate Random Number
Go/Golang Interface (Easier To Understand)

Java

String Cheat Sheet
Array Cheat Sheet
Karate Test Quickstart
Karate Test Automation Shared Function
Guava Cache
Read/Write/Append File
Extract Keypair From JKS
Setup Cucumber With Eclipse

macOS

macOS Record Line Out Audio
Ubuntu/macOS Remove MP4 Metadata
macOS Install Maven
macOS Install Docker Desktop

MySQL

MySQL Last Insert ID

Node.js

Puppeteer Scrape Webpage
cURL Equivalent

Puppeteer Promise Catch

Prometheus

Run Blackbox Exporter

Python

Image Compare By Pixels
Jigsaw Search In Image (version 1)
Needle In Haystack Search (version 2)

Ruby

My Ruby Cheat Sheet
Ruby Web Server
Sending Personalized SMS
Ruby Query MySQL
Ruby Multi Threading With Pool Size
Monty Hall Probability
Ruby Colorize Terminal Text
Luhn Algorithm in Ruby

Ubuntu

My Linux Cheat Sheet
Ubuntu Enable Swap
Ubuntu Install Apache
Ubuntu Install PHP
Ubuntu Install Laravel
Ubuntu Compress File
Ubuntu Install Puppeteer
Ubuntu Install Squid
Ubuntu Install Go/Golang
Ubuntu Install MySQL
Ubuntu Setup Firebase Cloud Messaging (FCM)
Ubuntu Send Firebase Cloud Messaging (FCM) Push Notification
EC2 Ubuntu Increase EBS Size
Ubuntu Install Nokogiri
Ubuntu Install Deluge
Ubuntu Install Plex Media Server
Ubuntu Extract SRT From MKV
Launch AWS AMI With Preconfigured Password
Install GUI for Ubuntu Server
Ubuntu Install Subversion SVN
Linux Split & Join Large File
Ubuntu Bulk File Rename
Ubuntu Edit Apt Sources
Ubuntu Edit Sudo Password Prompt Duration
Common SVN Commands
Download YouTube Video
SSH / SCP Proxy Jump
Ubuntu Install fail2ban
SSH Tunnels
Apache Tomcat Health Check
Ubuntu Format Disk
Asymmetric Encryption
Sign And Encrypt With OpenSSL
Hexadecimal to Base64 Conversion
PGP Encryption
Setup Kafka

Vue.js

Vue.js Populate Table Rows

Windows 10

Run Ubuntu In Windows 10

--

--

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.