To replicate a directory structure only:
find * -type d -exec mkdir [TARGETDIR]/\{\} \;
To replicate a directory structure only:
find * -type d -exec mkdir [TARGETDIR]/\{\} \;
on my mac, the live update come up every hour. To find out what’s causing it, the following are some useful commands:
Module Name On UI Freq Day Time Args
--------------
LiveUpdate DefaultLiveUpdateSchedul 1 0 Hourly 04:33 "All Products"
It is set to hourly update and not in quiet mode.
--------------
LiveUpdate LiveUpdate 1 0 Daily 09:00 "All Products" -quiet
Now it is running in quiet mode.
import arcpy
from arcpy import env
env.workspace = "c:/data"
patch_shp = "test.shp"
field = "GRIDCODE"
valueList = []
rows = arcpy.SearchCursor(patch_shp)
for row in rows:
valueList.append(row.getValue(field))
uniqueSet = set(valueList)
uniqueList = list(uniqueSet)
uniqueList.sort()
del rows
del row
print uniqueList
Zend Framework uses Fron Controller pattern to redirect incoming request. On Apache web server, mod_rewrite can be used to redirect the request. What I am interested is how to support url rewrite in IIS 7.0.
Google search revealed there is a URL Rewrite module for IIS 7.0.