Review the MVC pattern with Objective-C on iOS development again.

Preface

MVC(Model-View-Controller) architectural pattern is over 40 years old today and has been already used in so many iOS projects, it’s also the most usual pattern I saw in all kinds of team and company projects. There

Read More

Simple WLAN network diagnosing.

WLAN

偶尔我需要检查我的设备到路由器之间的网络状态:

# Check current router's packet. check-router: #!/usr/bin/env bash set -euo pipefail route_ip=$(netstat -nr | grep -E "default.*en0" | awk '{ print $2 }')