memyselfandtaco.blogspot.com
Me, Myself, and Taco: Bluemix業配文+入門教學
http://memyselfandtaco.blogspot.com/2015/07/bluemix.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Saturday, July 18, 2015. 身為I社的一份子, 當公司全力在推 CAMSS. 的時候一定也要來盡點心力, 我想大家對於中規中舉的介紹早已麻木, 所以就讓擅長打野武士戰法的我來跟大家介紹如何開開心心地以非正規的方式使用 Bluemix. 雖然我個人偏好在local跑Runtime server, 畢竟要設定或debug時還是比較方便, 但是如果可以在Bluemix上面跟客戶做完最後一哩路測試等於可以省去系統轉移 後續測試所需的工, 因為測試完之後只需要將帳號轉移給業主管理就結束了, 光是這點我想對許多SOHO族是相當有利, 而業主每個月付的費用就是原本需要花費的web hosting service費用. 是的, 在開發的過程中大家多多少少會需要做source code的版本控管, 也因為近年來許多opensource project陸續放到GitHub上讓越來越多人使用Git做版本控管. 對於不想付費又不想自己架Git server的使用者而言, Bluemix提供的 DevOps服務.
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: April 2015
http://memyselfandtaco.blogspot.com/2015_04_01_archive.html
Me, Myself, and Taco. 歡迎收看來自一個geek的胡言亂語。。。 Thursday, April 23, 2015. 已經五年多了, 沒想到五年後居然有人用Linux container搞出了大名堂, 是的, 就是 Docker. 在以前如果想要在同一台電腦上面同時虛擬化AP server APP, DB, Mail server applications, 我們需要在Hosting OS上面跑三個VM instances (如下圖左邊的VMs), 每一個VM instance雖然只執行各自被指派的任務 (如下圖左邊填滿橘色, 綠色, 灰色的部分), 但是從OS層來說卻是在同一台實體機器上執行了四份OS, 相同的libraries被重覆載入四次 (如下圖左邊藍色的部分), 所以記憶體, CPU等資源等於浪費了. 另外一個優點就是透過maintain Dockerfile ( 點我看sample. 能幫助我們更清楚地知道每個application的環境是如何建立出來的, 包含需要安裝哪些套件, 需要先設定什麼樣的參數與執行什麼樣的指令. Create local docker regi...
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.