Useful Information

Useful Information

About

This page contains useful information to me. It also serve as a testing page for this blog.

Design

Software Development

Architecture

Software Design

Mobile

Security

iOS

Icons information for iPhone and iPad, including App Store, Home screen, iTunes, spotlight, etc., http://developer.apple.com/library/ios/qa/qa2010/qa1686.html

Android

Language

ASP.Net

Miscellaneous

Docker images

Internet, Mobile and Computer Security

Frequently Used Commands

  • Shutdown Windows immediately shutdown -r -t 0, useful when you remote to a Windows PC
  • Switch java version
1
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

Git

  • Deleting a remote branch git push [remote] --delete [branch] e.g., git push origin --delete feature/branch
  • Sync remote branch and delete remote non-existing local copy git fetch --prune
  • List the commit different between branches git rev-list [branch]...[another branch]
  • List the commit different between branches with arrow indicates which branch owns the commit git rev-list --left-right [branch]...[another branch]
  • List the commit of a branch is ahead/behind to a remote branch git rev-list [branch]...[remote]/[another branch]
  • Show the number of ahead of behind between branches git rev-list --left-right count [branch]...[another branch]

Learning

Tech

Mac

Share