Category Archives: Others

Unexpected line break in on iOS

This is because of the phone number format and here is the solution:

Reference:

Install OS X in VMWare

Full instructions: http://download.ithome.com.tw/article/index/id/2256

  1. Have VMWare installed.
    http://blog.yam.com/LuGaunTaoStudio/article/76707769
  2. Get .dmg file:
    http://getintopc.com/softwares/operating-systems/mac-os-x-mountain-lion-free-download/
  3. Extract .dmg file width 7-Zip
  4. Convert .dmg to .iso: dmg2img.exe
  5. Unlock VMWare: VMware Unlocker
    Note: Execute as administrator, and stop all VMware related process and services.
  6. Create a new VM via the ISO file.

URL Rewrite on IIS

IIS URL Rewrite Module: http://www.iis.net/downloads/microsoft/url-rewrite

Example:

URL example: sman/merchant

Rewrite URL: sman/index.php/merchant

Import from Apache rules:

https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/importing-apache-modrewrite-rules

Reference:

  1. http://www.cnblogs.com/lixyvip/archive/2009/03/02/1401651.html

Snaps:

rewrite_1

 

 

rewrite_1

^(wsdc)\/(?!index\.php|images|robots\.txt|assets|uploads|$)(.+|$)

./{R:1}/index.php/{R:2}

Using Like to Join Tables (MS Access)

Key:

  1. Use Regular Express
  2. Use Instr function

Example:

Reference: