Set Tomcat PermSpace Memory
Add -XX:MaxPermSize=256m in JAVA_OPTS Default is 64MB 經常見到OutOfMemoryError PermSpace 原以為增大heap space就解決了= =
Add -XX:MaxPermSize=256m in JAVA_OPTS Default is 64MB 經常見到OutOfMemoryError PermSpace 原以為增大heap space就解決了= =
Spent three hours to investigate……shitty stuff Experienced in richfaces 4.0 final popup may not show up once the content is being re-render. This is client side issue, which richfaces does not clean out all the events bind to its component. Quick fix: Override and patch richfaces calendar.js step 1: copy the original calendar.js to src/main/webapp/resources/org.richfaces/calendar.js… Read More »
Funny widget http://calos-tw.blogspot.com/2011/10/blog-post.html
方案1: 這會生成一堆javascript及訪問jsf engine. 不好用. 方案2 (使用一般h:outputlink): 這個會生成錯誤的html code, 因為會自帶生成onclick=”generated javascript”. 與有沖突. (最佳)方案3 (使用h:button自帶的action): 會自帶生成onclick=”window.href.location=’target.html’” 方案4: 自己動手寫HTML, 但要注意contextpath及不能直接使用jsf的navigation engine
Linux的話用Unetbootin Windows的話用WinToFlash
http://code.google.com/intl/zh-TW/closure/compiler/
URI期下有URL及URN。URL只是URI的一個小組。一個URI可以是URN,而不是URL http://en.wikipedia.org/wiki/Uniform_Resource_Identifier http://stackoverflow.com/questions/176264/whats-the-difference-between-a-uri-and-a-url
Flex的其中一個賣點是RIA,用戶的顯示介面 及 互動佔了很大比重! flex的component就像網頁中的html, 決定如何顯示內容(及甚麼內容) 要學會Flex.要先了解Component的生命周期 http://weblog.mrinalwadhwa.com/wp-content/uploads/2009/06/flex-4-component-lifecycle.pdf 要了解Flex可以做甚麼,可以參考tour de flex. adobe的展示平台 http://www.adobe.com/devnet-archive/flex/tourdeflex/web/ 以及sdk中的features spec. http://opensource.adobe.com/wiki/display/flexsdk/Developer+Documentation flex相關的blog http://www.brooksandrus.com/blog/?s=FLEX&x=0&y=0 http://ticore.blogspot.com/search/label/Flex http://flex4jiaocheng.com/ http://flexponential.com/ (blog from adobe employee) http://nondocs.blogspot.com (secret in flex 3) http://ghalex.com/blog/category/flex http://blog.flexdevelopers.com/ http://blog.flexexamples.com/ (another flex blog from adobe employee)
Intro. (Chinese walkthrough) http://www.josephj.com/entry.php?id=251 PHP & CI Continuous Integration and PHP from Arno Schneider Hudson http://hudson-ci.org/
http://blog.longwin.com.tw/2011/07/json-compress-hpack-cjson-algorithm-2011/?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+tsungblog+%28Tsung%27s+Blog%29