2013年11月27日 星期三

Ruby 資料

Ruby 使用手冊
http://guides.ruby.tw/ruby/index.html

Rails Guides
http://guides.ruby-china.org/

Ruby on Rails 實戰聖經
http://ihower.tw/rails3/intro.html

Ruby Programming Language 中文官方網頁
https://www.ruby-lang.org/zh_tw/


2013年11月23日 星期六

Bonobo Git Server (Simple git server for Windows.) 測試備忘

Bonobo Git Server是一款Windows上的Git Server,它使用IIS即可,走的是Http協定,只要簡單的安裝就能使用,但是因為我的專案大小有1.35GB在 push 的時候一直發生奇怪問題,怕忘記趕快備忘一下。

1.發生RPC FAILURE (RESULT=56)之類,參考URL
http://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/
http://blog.xuite.net/misgarlic/weblogic/brick-view/102804976?aid=55236696&mode=brick
https://gitcafe.com/GitCafe/Help/tickets/269?locale=zh-TW

可用 git config http.postBuffer 524288000 將Http buffer加大。

2.發生 fatal: protocol error: bad line length character:<!DO ,參考URL
http://stackoverflow.com/questions/7152285/issue-with-git-hosted-on-iis-with-bonobo

在 Bonobo Web.config file 的 <system.web> 加上
<httpruntime maxrequestlength="2147483647"></httpruntime>

3.我在IIS上的應用程式集區設定上的"工作者處理序上限"也加大到 6 以免IIS記憶體不足。

4.發生error: RPC failed; result=22, HTTP code = 404,參考URL
http://gisgeek.blogspot.tw/2012/03/bonobo-git-server-remote-end-hung-up.html

修改  Bonobo Web.config file
把 requestLimits maxAllowedContentLength="102400"
改到 999999999

5.當版本庫過大在clone時發生錯誤,error: RPC failed; result=22, HTTP code = 500
http://stackoverflow.com/questions/17826660/gitlab-git-clone-https-with-large-repos-fails

試試SSH方式
http://blog.crboy.net/2012/05/git-on-windows.html
http://jerry2yang.wordpress.com/2011/08/22/git-server-with-sshd-on-windows-server/
http://holyhoehle.wordpress.com/2011/08/05/setting-up-a-git-server-on-windows-server-2008-r2-using-msysgit-and-winsshd-update/
http://blog.pigbaby.com/?p=222
http://jerry2yang.wordpress.com/?s=msysGit
Windows GIT 解決中文顯示亂碼問題
http://jerry2yang.wordpress.com/2011/08/12/windows-git-%E8%A7%A3%E6%B1%BA%E4%B8%AD%E6%96%87%E9%A1%AF%E7%A4%BA%E4%BA%82%E7%A2%BC%E5%95%8F%E9%A1%8C/

用Apache
http://huan-lin.blogspot.com/2011/05/install-git-server-and-apache-on.html


2013年11月10日 星期日

重構文章收集

只是收集備忘,轉載自In91

[ASP.NET]重構之路系列v1 – UI, Business logic, Data access概念分開
http://www.dotblogs.com.tw/hatelove/archive/2011/05/11/asp.net-refactoring-separate-ui-service-data.access.aspx

[ASP.NET]重構之路系列v2 – DRY & Top-Down思考方式
http://www.dotblogs.com.tw/hatelove/archive/2011/05/16/dry-top-down-design.aspx

SOA文章

只是收集備忘,轉載文章.

SOA簡介(一)
http://miin1130.pixnet.net/blog/post/22632521

石頭閒語
個人經驗談現實中的 SOA, part 1 - 實況, 概念與基於動態語言的實踐途徑
http://blog.roodo.com/rocksaying/archives/2660010.html

個人經驗談現實中的 SOA, part 2 - 訊息、訊息、訊息
http://blog.roodo.com/rocksaying/archives/2663647.html

業務流程決定軟體程式,軟體程式追隨業務流程
http://blog.roodo.com/rocksaying/archives/3045651.html

資料管理趨勢,檔案一如資料表,資料表一如檔案
http://blog.roodo.com/rocksaying/archives/2521061.html

論「流程整合」之前的事
http://blog.roodo.com/rocksaying/archives/3114577.html

SOA的輕量化趨勢,從ESB漂移到Mashups
http://blog.roodo.com/rocksaying/archives/10415235.html

微軟
http://www.microsoft.com/taiwan/services/microsoftservices/soa.aspx

其他...
Microsoft .NET 應用系統架構導論
http://60-251-1-52.hinet-ip.hinet.net/taiwan/msdn/columns/200303netappintro.htm

Design Patterns 第二炮 : Factory Pattern , Strategy Pattern
http://netgo2oo.blog.ithome.com.tw/trackbacks/224/903