2009-12-18

Secure Reverse Proxy

Proxy (Forward Proxy) / Reverse Proxy
Fastream IQ Proxy link Smarter Security & Scalability as Forward/Reverse Proxy

Orenosp Secure Reverse Proxy link (Windows Server ready , Linux/Mac coming soon)

利用[IIS Reverse Proxy]製作跨IIS的WebApplication link

使用 Reverse Proxy代理服務 link


* Squid 官方網站 link
* Squid 文件 link
* Apache Proxy 文件 link



Apache setting reverse proxy
editing httpd.conf sample:
# --------------- CODE ----------------
# ProxyRequests off to avoid be an open proxy
Proxyrequests off
# 2008/08/07 each setting
ProxyPass /apex http://localhost:8080/apex
ProxyPassReverse /apex http://localhost:8080/apex
ProxyPass /i http://localhost:8080/i
ProxyPassReverse /i http://localhost:8080/i
ProxyPass /wiki http://ap02:8199/xwiki/bin/view/Main/WebHome
ProxyPassReverse /wiki http://ap02:8199/xwiki/bin/view/Main/WebHome
# --------------- CODE ----------------

SQL code formatter

在維護 source code 中的 SQL code string 很難閱讀及測試, 可以用看看 SQL formatter 將 SQL code 重新排列.
上次宏爺介紹的網站停止服務了
http://www.orafaq.com/utilities/sqlformatter.htm

這裡又找到一家:
SQLinForm - SQL formatter online
http://www.sqlinform.com/online.phtml
公司應該買一套 professinal 版 , Site License 149.75 EUR

還有一家我覺得不太好用,常轉出來差很多
http://www.dpriver.com/pp/sqlformat.htm?ref=g_wangz

2009-12-16

html/Javascript/servlet(JSP) include


js/javascript
<SCRIPT src="include.js">< /SCRIPT>

iframe
<iframe src="xxx.html" id="iframe1" onload="this.height=iframe1.document.body.scrollHeight+20;this.width=iframe1.document.body.scrollWidth+20">< /iframe>
<iframe src="被嵌入的 HTML 檔案路徑" height="xxx" width="xxx" scrolling="yes"></iframe>
<IFRAME NAME="content_frame" width=100% height=30 marginwidth=0 marginheight=0 SRC="import.htm" ></IFRAME>
你会看到外部引入的文件,但会发现有一个类似外框的东西将其包围,可使用
<iframe name="content_frame" marginwidth=0 marginheight=0 width=100% height=30 src="import.htm" frameborder=0></iframe>

<XML SRC="">< /XML>

<LINK rel="text/stylesheet" src="">

JSP
include in HEAD or BODY
<%@ include file="inc1.jsp" %> -- if file is jsp code , remember < % %>
include in BODY
< jsp:include page="hello.htm" />


ASP
<!--#include file=abc.asp-->

2009-12-13

Film底片沖印記事


累積了9卷拍攝的Film預備送沖印, 拿出來一看種類還真多:

Movie negative film:
Kodak 250D x1
對比低 暗部超明亮 十足電影風格

Slide Film:
FUJIFILM RVP-50 x2
色彩鮮豔

Kodak EPP-100 x3
對比高 色彩鮮豔

Kodak EPY-64 x2
Kodak Ektachrome 64T, 燈光片, EPY Kodak EPY is a medium-speed color transparency film that features excellent color reproduction, very fine grain, and very high sharpness. It is designed for exposure with tungsten illumination (3200K).

Kodak EPT-160 x1
柯達 Ektachrome 160T (燈光專業型) 160 EPT 鎢絲燈光色溫平衡膠片,適用於拍攝 攝影室人像、產品和劇照