memyselfandtaco.blogspot.com
Me, Myself, and Taco: Generate setter/getter for PHP in Eclipse
http://memyselfandtaco.blogspot.com/2010/12/generate-settergetter-for-php-in.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Thursday, December 09, 2010. Generate setter/getter for PHP in Eclipse. 很久沒發文了,慶祝今天找到個快速產生setter/getter的套件,特別上來分享一下! 話說使用Eclipse開發Java class時在變數上點右鍵後選source即可看到自動產生setter/getter的選項,但開發PHP class時卻沒有這項貼心的功能~. 詢問Google老師之後看到了很多做法,其中不乏自行編輯Eclipse的template for auto code completion,但是最讚的莫過於PHP source plugin這個套件,裝完之後Eclipse的toolbar上會出現"PHP Source",點下去即可選擇要產生特定變數的Getter/Setter :-). Http:/ pdt.plugins.e-surf.pl/features.php. 裡面有screenshot供人瞻仰。。。 View my complete profile.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: February 2010
http://memyselfandtaco.blogspot.com/2010_02_01_archive.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Wednesday, February 24, 2010. 今天終於解決了一個延宕多時的問題 - 在我的機器上始終無法執行ANT! C: Documents and Settings Administrator ant. 這個時候不應有 Files Apache。 上Google找了很多次也找了很久始終找不到答案(居然有Google找不到的東西!),. The ant.bat script makes use of three environment variables - ANT HOME, CLASSPATH and JAVA HOME. Ensure. That ANT HOME and JAVA HOME variables are set, and that they do not. Have quotes (either ' or ") and they do not. End with or with /. CLASSPATH should be unset or empty.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: 指定Eclipse使用JDK執行
http://memyselfandtaco.blogspot.com/2010/03/symdrome-maven-integration-requires.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Saturday, March 13, 2010. The Maven Integration requires that Eclipse be running in a JDK, beacuase a number of Maven core plugins are using jars from the JDK. Please make sure the -vm options in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs. 在eclipse.ini的最開頭(一定要在最開頭,而且-vm之後要換行!)加上jdk裡面javaw.exe的完整路徑,如下:. C: Program Files Java jdk1.6.0 16 bin javaw.exe. Subscribe to: Post Comments (Atom). View my complete profile.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: Servicemix 3.3.1最常見的build error & solution
http://memyselfandtaco.blogspot.com/2010/03/servicemix-331build-error-solution.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Sunday, March 07, 2010. Servicemix 3.3.1最常見的build error and solution. Http:/ cwiki.apache.org/SM/discussion-forums.html#nabble-tt25602583 a25603368. Home Dir] .m2 repository org springframework spring-dao 2.0.6 spring-dao-2.0.6.jar;. Error in opening zip file. 重點是 error in opening zip file. 據說在332版本中會解決這個問題,至於他什麼時候要release,誰知道呢? 所以先將就一下temp solution,頂著先~. Subscribe to: Post Comments (Atom). Servicemix 3.3.1最常見的build error and solution. View my complete profile.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: 修改CodeIgniter (aka. CI)使其能正確執行oci_bind_by_name所需步驟
http://memyselfandtaco.blogspot.com/2010/12/codeigniter-aka-ciocibindbyname.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Wednesday, December 15, 2010. 修改CodeIgniter (aka. CI)使其能正確執行oci bind by name所需步驟. 修改CodeIgniter (aka. CI)使其能正確執行oci bind by name所需步驟:. System/database/DB driver.php -. If (FALSE = = ($this- result id = $this- simple query($sql) ). If (FALSE = = ($this- result id = $this- simple query($sql, $binds) ). Function simple query($sql, $binds=FALSE). Return $this- execute($sql);. Return $this- execute($sql, $binds);. System/database/drivers/oci8/oci8 driver.php -.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: 不喜歡照著manual還做不出來的感覺!
http://memyselfandtaco.blogspot.com/2010/03/manual.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Thursday, March 04, 2010. Open source的東西這就是這樣。。。照著manual做還不一定能得到相同的結果! Http:/ servicemix.apache.org/building.html. 已經是從SVN checkout src出來,還是在build的過程中得到這樣的錯誤訊息:. INFO] Error building POM (may not be this project's POM). Project ID: null:servicemix-utils:bundle:1.1.0. Reason: Cannot find parent: org.apache.servicemix:servicemix-pom for project: null:servicemix-utils:bundle:1.1.0 for project null:servicemix-utils:bundle:1.1.0. Subscribe to: Post Comments (Atom).
memyselfandtaco.blogspot.com
Me, Myself, and Taco: December 2010
http://memyselfandtaco.blogspot.com/2010_12_01_archive.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Wednesday, December 15, 2010. 修改CodeIgniter (aka. CI)使其能正確執行oci bind by name所需步驟. 修改CodeIgniter (aka. CI)使其能正確執行oci bind by name所需步驟:. System/database/DB driver.php -. If (FALSE = = ($this- result id = $this- simple query($sql) ). If (FALSE = = ($this- result id = $this- simple query($sql, $binds) ). Function simple query($sql, $binds=FALSE). Return $this- execute($sql);. Return $this- execute($sql, $binds);. System/database/drivers/oci8/oci8 driver.php -. 詢問Goo...
memyselfandtaco.blogspot.com
Me, Myself, and Taco: June 2009
http://memyselfandtaco.blogspot.com/2009_06_01_archive.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Tuesday, June 30, 2009. 上一篇寫到要如何用Network Namespaces Vconfig來做到只用一台電腦與一張PCI網卡就可以監控使用相同IP網段的多個VLAN,結果發現從獨立namespace發出帶有VLAN ID的封包始終無法成功的送到網路上,經過整整一個星期的思考,在iptables and ip route之間穿梭,卻找不到一個可以把封包丟出去的方法。。。 在我勤奮不懈的努力之下,洗澡的時候忽然有個"Multiple routing table"的想法閃過腦中,於是踏出浴室之後馬上google Linux是否有這種東西&要怎麼用,話說天救自救者,就這樣給我試出來了,哇哈哈哈! NS2:- - - - - - - - - - - - - - - - - - - - - - - -. Ns exec -nm - /bin/bash. NS3:- - - - - - - - - - - - - - - - - - - - - - - -. Ns exec -nm - /bin/bash.
memyselfandtaco.blogspot.com
Me, Myself, and Taco: 淺談Context based Java batch自動測試與JMX
http://memyselfandtaco.blogspot.com/2015/07/context-based-java-batchjmx.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Thursday, July 30, 2015. 淺談Context based Java batch自動測試與JMX. 今天要跟大家分享目前自動測試Context based Java batch的做法與使用的工具. 這裡說的Context based Java batch指的是所有batch job都是從Spring context將MBean export後透過JMX呼叫執行. 說到JMX第一個想到的通常就是JConsole. 我們的案例中export出三個MBean, JmxJobListMBean是用來檢視job清單, JmxJobRunner是用來執行job. 到目前為止我們已經透過JConsole呼叫MBean export出來的功能成功地執行batch job, 但是使用JConsole代表著需要人工執行, 如果不想自己寫code但又想要透過script自動執行驗證時又該怎麼做呢? 來達成, 下面是透過 Jmxterm. Subscribe to: Post Comments (Atom).
memyselfandtaco.blogspot.com
Me, Myself, and Taco: August 2009
http://memyselfandtaco.blogspot.com/2009_08_01_archive.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Sunday, August 16, 2009. 今天跟chtsai與信安一行人到台北市立美術館看pixar 20周年展覽,沒想到人超多,買預售票還要排大概一小時,現場買票要等兩小時~. 整個展覽中我最喜歡的是那些上面寫滿密密麻麻註記的手稿,還有製作流程的說明影片,感覺上跟我們做系統文件差不多,只是歡樂多了!為了不破壞各位參觀的興致,就不說得太仔細了,不過當然要不免俗地放一些在入口及出口拍的紀念照。 最後推薦大家去看看,可以晚一點再去,如果堅持要現在(週末)去的話就要做好跟一堆人擠&排隊的心理準備~. Tuesday, August 11, 2009. 長久以來都是整個目錄tar起來,還沒有真的用過exclude功能,嘗試了一下之後發現exclude除了要帶路徑之外還要再加上個*,不然想exclude的路徑一樣會被tar起來。 Monday, August 10, 2009. Log=/log files/vp tb vasmd cdrinfo.log userid=foak/qazwsx direct=true.