部落格文章訂閱


貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。


自訂搜尋

找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護~若有任何建議事項, 歡迎透過留言板留言給我喔!!


  • 你不能決定生命的長度,但可以控制它的寬度;
  • 你不能左右天氣,但可以改變心情;
  • 你不能改變容顏,但可以展現笑容;
  • 你不能控制他人,但可以掌握自己;
  • 你不能預知明天,但可以利用今天;
  • 你不能樣樣勝利,但可以事事盡力。

free counters

目前日期文章:201112 (6)

瀏覽方式: 標題列表 簡短摘要

We just changed our Subversion repository's url from something terrible with custom port number hideousness to a URL so clean, concise and georgeous that I became brain damaged. The old URL still works but I wanted to repoint all my checked out code to the new URL. I tried switch and it didn't work until Bret mentioned that Eclipse had something called relocate for this issue. A google search later...

command line:

svn switch --relocate  <from URL> <to URL> 

Tortoise SVN:

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()


Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Assume your personal repository is in the directory ~/proj. We first create a new clone of the repository and tell git-daemon that it is meant to be public:

$ git clone --bare ~/proj proj.git $ touch proj.git/git-daemon-export-ok 

The resulting directory proj.git contains a "bare" git repository--it is just the contents of the ".git" directory, without any files checked out around it.

Next, copy proj.git to the server where you plan to host the public repository. You can use scp, rsync, or whatever is most convenient.

Exporting a git repository via the git protocol

This is the preferred method.

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Java 日期轉字串範列

1.//目前時間
2.Date date = new Date();
3.//設定日期格式

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Question:

I'm new to Java but not to programming (I normally code in Ruby). One thing I've seen in Java code examples is the use of <> instead of () to pass params to an object. Below is a code example (taken from a Google Web Toolkit tutorial):

publicvoid onValueChange(ValueChangeEvent<String> event){
String token = event.getValue();
文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

I assumed the new date picker would entail also an edit field (based on readings in the corresponding wiki).

However this is not the case and you need to display it yourself on a panel. Ok admitted; it is better to have the flexibility to customize it yourself. For those – who like me are a bit rusty on their GWT – a sample piece of code of how to create a button with a popup panel containing the date picker and showing the date in a text box:

It is similar to the sample app that the webAppCreator cmd creates; it assumes an html with two elements defined.

##--CODE_START--##

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()