剛將git lab從3.0升級到4.0,很多項目匯入進來。開啟項目的files頁面,出現500 錯誤。進入伺服器,觀察日誌:/home/gitlab/gitlab/log/production.log 檔案中找到錯誤:Started GET "/cloudengine/package/tree/master" for 127.0.0.1 at 2013-01-07 10:41:04 +0800Processing by TreeController#show as HTML
今天gitlab 的email提醒突然不工作了。需要增加配置,奇怪為什麼之前那麼神奇什麼都不要配?在config/gitlab.yml中設定: ## Email settings # Email address used in the "From" field in mails sent by GitLab #email_from: shu_chen@esri.com from: your_account@your_mail.com host:
有時候需要在一個library內部打包一個properties檔案,包含一些配置資訊,而不能部署在外部。在maven工程裡面,將properties檔案放在src/main/resources目錄下。就會自動打包到classes目錄下。然後在jar包的代碼中想要讀取這個檔案,可以用類似下面的代碼:public class Client { private final static String NAME = "engine.properties"; public static
WPF/E是微軟下一代Web平台的核心技術,跨平台(支援Windows和Mac),可以在多種瀏覽器中運行,會自動下載一個很小隻有數M的用戶端來運行WPF/E代碼:WPF/E簡介:http://msdn2.microsoft.com/en-us/library/bb190634.aspxWPF/E入門教程:http://www.microsoft.com/china/MSDN/library/Windev/WindowsVista/bb190632.mspx?mfr=true Scott
原文:http://www.itbusinessedge.com/cm/blogs/enderle/the-death-of-net-and-the-power-of-perception/?cs=48151#comment-50444The Death of .NET and the Power of PerceptionPosted by Rob Enderle Aug 4, 2011 12:23:44
今天在GitLab5.2上建立一個項目,然後參考網站的嚮導在開發機器上建立項目目錄,最後運行git push -u origin master結果報錯:git push -u origin masterfatal: '/home/git/repositories/cloudengine/wtunnel.git' does not appear to be a git repositoryfatal: Could not read from remote repository.Please