2009年9月24日 星期四

How to reset current SVN - subclipse username

How
to reset current SVN - subclipse  username and password which
was stored already.

>From this FAQ



Subclipse
does not collect or store username and password credentials when
defining a repository. This is because the JavaHL and SVNKit client
adapters are intelligent enough to prompt you for this information
when they need to -- including when your password has changed.
You
can also allow the adapter to cache this information and a common
question is how do you delete this cached information so that you can
be prompted again? We have an open request to have an API added to
JavaHL so that we could provide a UI to do this. Currently, you have
to manually delete the cache. The location of the cache varies based
on the client adapter used.
JavaHL caches the information in
the same location as the command line client -- in the Subversion
runtime configuration area. On Windows this is located in
%APPDATA%\Subversion\auth. On Linux and OSX it is located in
~/.subversion/auth. Just find and delete the file with the cached
information.
SVNKit caches information in the Eclipse keyring.
By default this is a file named .keyring that is stored in the root
of the Eclipse configuration folder. Both of these values can be
overriden with command line options. To clear the cache, you have to
delete the file. Eclipse will create a new empty keyring when you
restart.
我用Ubuntu,所以比較熟 Linux的部份,就把自己家目錄的~/.subversion/auth砍掉,重開 eclipse 就好了。但是同事們用的是 M$ Windows,找半天找不到這目錄,後來才發現在

On Windows XP
C:\Documents and Settings\<name>\appdata\
Subversion\auth directory.

On Windows
Vista
C:\Users\<name​>\AppData\Roamin​g\Subversion\auth

依樣畫葫蘆,刪掉auth然後重開eclipse,系統就會提示要重新輸入使用者、密碼了。

2009年9月16日 星期三

Google Chrome for Ubuntu

Google Chrome for Ubuntu
兩個禮拜前看到 Google Chrome 也有 Ubuntu版,剛好我的Linux套件版本也是用Ubuntu,就裝來玩了。

Ubuntu版本我開始裝的時候是4.0.202 ,目前已經自動更新到

Google 瀏覽器   4.0.207.0 (正式版本 25617)

安裝檔案的下載網址

32 bit下載: http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb
64 bit下載: http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_amd64_deb


Ubuntu版本要啟用 Chrome的plugins 功能:

1.修改Chrome啟動圖示的屬性:
在桌面左上角的ubuntu圖示,右鍵選編輯選單
左欄:選單 ->網際網路 ,中欄:點/opt/google/chrome/google-chrome 
改為
/opt/google/chrome/google-chrome --enable-plugins --enable-extensions  %U
之後關閉所有對話框

2.開啟 [應用程式]->[附屬應用程式]->[終端機],在終端機模式下輸入下列指令行:

sudo mkdir /opt/google/chrome/plugins/;mkdir /opt/google/chrome/extensions/;ln -s /usr/lib/flashplugin-installer/libflashplayer.so /opt/google/chrome/plugins/

Enter後,系統會問一次使用者密碼,敲入後執行完,關閉終端機。重啟 Chrome。

3.安裝 RPlurkSmileys V1.8,在噗浪裏面使用自訂動畫圖像的extensions
點選下列連結後,
http://sites.google.com/site/rachellin628/files/RPlurkSmileys_dev_v1.8.crx?attredirects=0
依照頁面指示再按一下連結,就可以安裝。

2009年9月1日 星期二

Fujitsu S6 系列筆記電腦

Fujitsu S6 系列筆記電腦安裝Ubuntu 904 64 bit
富士通出廠把硬碟分割成4個分割區,除了vista程式磁碟之外,還有一個空白的(可能是要讓使用者放資料用?)。 安裝Ubuntu時我就把這個空白分割區刪了,把空間分割成兩個邏輯分割區,讓烏幫兔使用,其他的就跟一般安裝依樣畫葫蘆。
安裝完,測試了幾個重點硬體:無線網路OK,音效ok,dvd燒錄機ok,再來測試vista開機,也可以正常進入原本的Vista。要注意的是,Ubuntu會在GRUB開機管理程式中,自動設定兩個 windows 開機選項,其中一個(hd0,0)是 Fujitsu的系統修復/還原系統,第二個(hd0,1)才是vista系統)
下一篇報告預定再來玩 Virtualbox 虛擬機器:直接存取分割區中現有的系統,當作guest虛擬機器。不支到會不會發生什麼慘劇,反正大不了把原生vista搞死掉,也一了百了。
最後把 lshw 的硬體資訊列出來:lshw.html