發表文章

目前顯示的是 10月, 2013的文章

tomcat No output folder archlinux

chown -R tomcat7.tomcat7 /var/tmp/tomcat7/work

Shape file sort by field

ArcGIS10之後 extension裡有個功能是依field的值對features做排序,不同於開啟屬性表後的排序,這個功能會將features重新排序,FID會依屬性的排序改變。 QGIS, postgis, GDAL是否也能做到呢?

DNSBL Howto (DNS Black List)

yum install bind8 or bind9 讓它在開機時自動啟動 chkconfig --level 35 on 記錄查詢惡意網域的使用者 加入惡意網域檔案 vi /etc/named.conf add two line include "/etc/named.conf.local"; include "/var/named/malwaredomains.zones"; named.conf.local檔案內容, 把記錄送到syslogd logging {         channel log_dns {                 syslog local3;                 print-category yes;                 print-severity yes;                 print-time no;         };         channel log_queries {                 syslog local4;                 print-category yes;                 print-severity yes;                 print-time no;       ...

pacman example

       pacman -Ss ne.hack            Search for regexp "ne.hack" in package database.        pacman -S gpm            Download and install gpm including dependencies.        pacman -U /home/user/ceofhack-0.6-1-x86_64.pkg.tar.gz            Install ceofhack-0.6-1 package from a local file.        pacman -Syu            Update package list and upgrade all packages afterwards.        pacman -Syu gpm            Update package list, upgrade all packages, and then install gpm if            it wasn't already installed.

javascript function

closure memoization cascade curry

Shape File Field Calculate

要把空間上的點,以每一行政區由北至南由西向東的順序編號,結果的欄位內容應產出如下: 台南市-東區-D001 台南市-東區-D002 台南市-東區-D003 台南市-中西區-D001 台南市-中西區-D002 該怎麼做到呢? 該怎麼用QGIS with ??、PostGIS with SQL、ArcGIS、ArcPy,及ArcObject做到呢?