2012年11月22日 星期四

討論scrum的幾個問題?


討論scrum的幾個問題?


1.怎樣佈置團隊房間?
最好獨立,封閉,不受外界干擾,總之要使團隊感到舒服。
任務板:每日進行更新
設計板:用於團隊討論設計流程

2.團隊為何要坐在一起?
便於交流,交流很重要。
“一起”意味著:
•互相聽到:所有人都可以彼此交談,不必大聲喊,不必離開座位。
•互相看到:所有人都可以看到彼此,都能看到任務板——不用非得近到可以看清楚內容,但至少可以看到個大概。
•隔離:如果你們整個團隊突然站起來,自發形成一個激烈的設計討論,團隊外的任何人都不會被打擾到。反之亦然。

3.項目負責人要不要和團隊坐在一​​起?
最好不要坐在一起,但要坐在附近,當團隊又需要時能很快找到他,坐在一起很容易乾擾到團隊。
產品負責人應該離團隊很近,既方便團隊成員走過來討論問題,他也能隨時踱到任務板前面去。但是他不應該跟團隊坐在一​​起。為什麼?因為這樣他就無法控制自己不去關注具體細節,團隊也無法“凝結”成整體(即達到關係緊密、自組織、具有超高生產力的狀態)。

4.經理或其它能管理你們的管理者要不要和團隊坐在一​​起?
最好不要坐在一起。
我是這麼看的,如果你是Scrum教練(或許同時也是經理),就應該盡可能貼近團隊。但不久以後,就離開他們,讓他們凝聚在一起,自我管理。然後每隔一段時間(不要太頻繁),就去參加一次他們的sprint演示,看看任務板,聽聽晨會。如果發現有可以改進的地方,就把Scrum master拽出來指導他。但是不要在團隊面前這樣幹。另外,如果團隊足夠信任你,他們不會看見你就閉上嘴巴,那去參加他們的sprint回顧也是個好主意(參見“我們怎樣做sprint回顧”)。
對於運轉良好的Scrum團隊,只需要保證他們可以得到一切所需的東西,然後就可以任他們自由發揮了(除了sprint演示以外)。

2012年11月21日 星期三

效果比較好的開發模式–SCRUM

效果比較好的開發模式–SCRUM


Scrum是一種迭代式增量軟件開發過程,通常用於敏捷軟件開發。Scrum在英語的意思是橄欖球裡的爭球。雖然Scrum是為管理軟件開發項目而開發的,它同樣可以用於運行軟件維護團隊,或者作為計劃管理方法:Scrum of Scrums.
  Scrum的開發模式過程:
  1、將一個產品或項目的backlog分割成多個Sprint(衝刺階段) Backlog,這個Sprint Backlog是按人力物力決定
  2、然後每個Sprint的周期不要太長,一般以一、兩週為一個開發週期
  3、每啟動一個Sprint的時候,都要先開一個Sprint planning meeting,對該Sprint Backlog進行分配到個人,並預測時間(以小時計算)
  4、在Spring進行的周期內,每天早晨花費15分鐘左右的時間開一個Daily Scrum meeting
  5、在Spring完成的時候,要開一個Spring review meeting,並將成果演示給Product owner看
  6、最後團隊成員召開Sprint retrospective meeting,總結問題和經驗。
  7、這樣周而復始,按照同樣的步驟進行下一次Sprint.
  Scrum開發模式中的一些專業術語:
  1、backlog:可以預知的所有任務,包括功能性的和非功能性的所有任務。
  2、sprint:一次跌代開發的時間週期,一般最多以30天為一個週期.在這段時間內,開發團隊需要完成一個制定
     的backlog,並且最終成果是一個增量的,可以交付的產品。
  3、sprint backlog:一個sprint週期內所需要完成的任務。
  4、scrumMaster:負責監督整個Scrum進程,修訂計劃的一個團隊成員。
  5、time-box:一個用於開會時間段。比如每個daily scrum meeting的time-box為15分鐘。
  6、sprint planning meeting:在啟動每個sprint前召開。一般為一天時間(8小時)。該會議需要製定的任務
    是:產品Owner和團隊成員將backlog分解成小的功能模塊,決定在即將進行的sprint裡需要完成多少小功
    能模塊,確定好這個Product Backlog的任務優先級。另外,該會議還需詳細地討論如何能夠按照需求完成
    這些小功能模塊。制定的這些模塊的工作量以小時計算。
  7、Daily Scrum meeting:開發團隊成員召開,一般為15分鐘。每個開發成員需要向ScrumMaster匯報三個
    項目:今天完成了什麼?是否遇到了障礙?即將要做什麼?通過該會議,團隊成員可以相互了解項目進度。
  8、Sprint review meeting:在每個Sprint結束後,這個Team將這個Sprint的工作成果演示給Product Owner
    和其他相關的人員。一般該會議為4小時。
  9、Sprint retrospective meeting:對剛結束的Sprint進行總結。會議的參與人員為團隊開發的內部人員。一般該會議為3小時。

2012年11月16日 星期五

Synology SSH Setup for non root users

Refer link to :http://www.druhosting.com/content/synology-ssh-setup-non-root-users

Synology SSH Setup for non root users
Submitted by admin on Mon, 05/28/2012 - 13:30
As you may or may not know, I think Synology diskstation NAS's are the bomb. While they are often super easy to set up, one area that is more difficult is enabling SSH access for non root users. Why there isn't a script and a checkbox on the GUI I don't really know but this is one we have to do ourselves. Fortunately Bernhard Hensler at hensler.net has created a really great set of instructions that I am going to repost for you.

See his original article here: http://bernhard.hensler.net/2008/07/17/synology-enable-ssh-user-login-ot...

SSH can either be enabled using the latest firmware and a patch, or using the recent beta firmware which allows you enable and disable SSH from the web-based management interface. However, I was a little concerned about the default settings of SSHD, especially if one were to SSH over the internet and not just a local network. First, SSH protocol 1 is enabled which can be a security risk. Second, root login is permitted (which is understandable since regular users can’t seem to SSH in by default. Unfortunately, there are some caveats to disabling root login via SSH, which I discuss at the end of this post). Here are the steps I took to resolve the above issues (I assume you already have SSH working and can login as root or admin. Also, you should know how to use vi, or at least read this introduction):

1. Create a regular user from the web-based management interface if you have not done so already. Let’s say the username is frank.

2. Login as root via SSH.

3. Execute the following from the command line as root:

mkdir /volume1/users
mkdir /volume1/users/frank
cp /root/.profile /volume1/users/frank
chown -R frank:users /volume1/users/frank
vi /volume1/users/frank/.profile

Change the line that reads “HOME=/root” to “HOME=/volume1/users/frank”, then quit saving changes.

4. Execute the following from the command line as root:

cp -p /etc/passwd /etc/passwd.orig
vi /etc/passwd

Change frank’s home directory (entry before the last “:”)from “/nonexist” to “/volume1/users/frank”
and his shell (entry after the last “:”) from “/sbin/nologin” to “/bin/sh”, then quit saving changes.*

5. Make sure you can login as frank by executing the following from the command line as root:

su – frank
pwd
echo $HOME
exit

6. Execute the following from the command line as root:

cp -p /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
vi /etc/ssh/sshd_config

Change the line “#Protocol 2,1″ to “Protocol 2″ and the line “#PermitRootLogin yes” to “PermitRootLogin no”, then quit saving changes (notice we removed the “#” from both lines).

You may also want to adjust the “LoginGraceTime” and “MaxAuthTries” settings, just be sure to remove the leading “#” from those lines.

7. Restart SSHD. If you are using the beta firmware you can disable then enable the service using the web-based management interface. If not, you may be able to use the disable SSH patch, then the enable SSH patch which may restart your NAS device (I have not tested this), or you can simply execute the following from the command line as root:

/usr/syno/etc.defaults/rc.d/S95sshd.sh restart

I have not personally tested the above command either, and it may end your SSH session if that is where you execute it from. Alternatively, you could temporarily enable Telnet, login as root to execute the command above, then log out and disable Telnet.

8. Test the changes. If you use “ssh -1 user@host” when connecting to your NAS device, you should get an error that reads something like “Protocol major versions differ: 1 vs. 2″. If you try to SSH in as root, it should prompt you for the password, but give you an error like “Permission denied, please try again.” even if you supply the correct password. Finally, you should be able to login via SSH as your regular user (i.e. frank).

*Please note, that if you change your regular user’s info (like password, etc.) using the web-based management interface, the information in /etc/passwd will revert back to the defaults, which will no longer let you login via SSH using that user. If this happens, don’t panic, you can always SSH in as admin (which should have the same password as root, but not the same privileges). Unfortunately, only root can execute the “su” command, so to allow your regular user to use SSH again you will have to temporarily enable Telnet, login as root, repeat step #4 above, logout and disable Telnet.

Telnet is also the only way to regain root command line access, which is required to edit “/etc/ssh/sshd_config”, should you want to restore root SSH logins at some point. Alternatively, one could install sudo to execute commands as root, but that is beyond the scope of this post.

Hope this helps anyone wanting to secure SSH access. I used information from the following posts to accomplish this:
how to rsync over ssh as an unprivileged user
how restart SSH server

2012年11月8日 星期四

~~電腦快速鍵使用方法~~


~~電腦快速鍵使用方法~~

一般鍵盤快速鍵

CTRL+C (複製)

CTRL+X (剪下)

CTRL+V (貼上)

CTRL+Z (復原)

DELETE (刪除)

SHIFT+DELETE (永久刪除所選項目,不再將此項目放入 [資源回收筒] 中)

拖曳某項目時同時按 CTRL (複製所選的項目)

拖曳某項目時同時按 CTRL+SHIFT (建立一個指向所選項目的快速鍵)

F2 鍵 (重新命名所選項目)

CTRL + 向右鍵 (將游標移到下一個字的開頭)

CTRL + 向左鍵 (將游標移到上一個字的開頭)

CTRL + 向下鍵 (將游標移到下一段的開頭)

CTRL + 向上鍵 (將游標移到上一段的開頭)

CTRL+SHIFT 再加上任何箭號 (反白一段文字)

SHIFT 再加上任何箭號 (在視窗中或桌面上選取多個項目,或是在文件中選取文字)

CTRL+A (全選)

F3 鍵 (搜尋檔案或資料夾)

ALT+ENTER (檢視所選項目的內容)

ALT+F4 (關閉使用中的項目,或結束使用中的程式)

ALT+ENTER (顯示所選物件的內容)

ALT + 空格鍵 (開啟使用中視窗的快速鍵功能表)

CTRL+F4 (在可讓您同時開啟多份文件的程式中關閉使用中的文件)

ALT+TAB (在開啟的項目之間做切換)

ALT+ESC (依開啟項目的順序之間輪流顯示項目)

F6 鍵 (在視窗中或桌面上的畫面元素之間循環移動)

F4 鍵 (在 [我的電腦] 或 [Windows 檔案總管] 中顯示 [網址] 列的清單)

SHIFT+F10 (顯示所選項目的快速鍵功能表)

ALT + 退格鍵 (顯示使用中視窗的 [系統] 功能表)

CTRL+ESC (顯示 [開始] 功能表)

ALT + 功能表名稱中的底線字母 (顯示相對應的功能表)

開啟的功能表上的命令名稱中的底線字母 (執行相對應的命令)

F10 鍵 (啟用使用中程式的功能表列)

向右鍵 (向右開啟下一個功能表,或是開啟子功能表)

向左鍵 (向左開啟下一個功能表,或是關閉子功能表)

F5 鍵 (更新使用中的視窗)

退格鍵 (在 [我的電腦] 或 [Windows 檔案總管] 中檢視上一層資料夾)

ESC (取消目前的工作)

當您將 CD-ROM 插入 CD-ROM 光碟機時按 SHIFT 鍵 (避免 CD-ROM 自動播放)

對話方塊的鍵盤快速鍵

CTRL+TAB (在標籤之間向前移動)

CTRL+SHIFT+TAB (在標籤之間向後移動)

TAB (在選項之間向前移動)

SHIFT+TAB (在選項之間向後移動)

ALT + 底線字母 (執行相對應的命令,或是選取相對應的選項)

ENTER (執行使用中選項或按鈕的命令)

空格鍵 (如果使用中的選項是核取方塊,按此鍵可選取或清除核取方塊)

箭號按鍵 (如果使用中的選項是一群選項按鈕,按箭號按鍵可選取按鈕)

F1 鍵 (顯示 [說明])

F4 鍵 (顯示使用中清單的項目)

退格鍵 (如果在 [另存新檔] 或 [開啟舊檔] 對話方塊中選取了某個資料夾,按此鍵可開啟上一層資料夾)

Microsoft 自然鍵盤快速鍵

Windows 標誌 (顯示或隱藏 [開始] 功能表)

Windows 標誌 + BREAK (顯示 [系統內容] 對話方塊)

Windows 標誌 + D (顯示桌面)

Windows 標誌 + M (將所有視窗縮到最小)

Windows 標誌 + SHIFT + M (還原縮小的視窗)

Windows 標誌 + E (開啟 [我的電腦])

Windows 標誌 + F (搜尋檔案或資料夾)

CTRL + Windows 標誌 + F (搜尋電腦)

Windows 標誌 + F1 (顯示 [Windows 說明])

Windows 標誌 + L (鎖住鍵盤)

Windows 標誌 + R (開啟 [執行] 對話方塊)

Windows 標誌 + U (開啟「公用程式管理員」)



協助工具鍵盤快速鍵

按右邊的 SHIFT 八秒鐘 (將 [篩選鍵] 切換為開或關)

左邊的 ALT + 左邊的 SHIFT + PRINT SCREEN (將 [高對比] 切換為開或關)

左邊的 ALT + 左邊的 SHIFT + NUM LOCK (將 [滑鼠鍵] 切換為開或關)

按 SHIFT 鍵五次 (將 [相黏鍵] 切換為開或關)

按 NUM LOCK 鍵五秒鐘 (將 [切換鍵] 切換為開或關)

Windows 標誌 + U (開啟「公用程式管理員」)



Windows 檔案總管鍵盤快速鍵

END (顯示使用中視窗的底部)

HOME (顯示使用中視窗的頂端)

NUM LOCK + 星號 (*) (顯示所選資料夾下的所有子資料夾)

NUM LOCK + 加號 (+) (顯示所選資料夾的內容)

NUM LOCK + 減號 (-) (摺疊所選的資料夾)

向左鍵 (如果目前選取的項目是展開的,就將它摺疊起來,或是選取上層目錄)

向右鍵 (如果目前選取的項目是摺疊起來的,就將它展開,或是選取第一個子資料夾)



字元對應表的快速鍵按鍵

當您在某個字元的方格上連按兩下之後,您可以使用鍵盤快速鍵在方格之間移動:

向右鍵 (向右移動或移到下一行的開頭)

向左鍵 (向左移動或移到上一行的尾端)

向上鍵 (向上移一列)

向下鍵 (向下移一列)

PAGE UP (一次向上移動一個畫面)

PAGE DOWN (一次向下移動一個畫面)

HOME (移到一行的開頭)

END (移到一行的結尾)

CTRL+HOME (移到第一個字元)

CTRL+END (移到最後一個字元)

空格鍵 (選取了某個字元時,在 [放大] 與 [標準] 模式之間切換)



Microsoft Management Console (MMC) 主視窗鍵盤快速鍵

CTRL+O (開啟儲存的主控台)

CTRL+N (開啟新的主控台)

CTRL+S (儲存開啟的主控台)

CTRL+M (新增或移除主控台項目)

CTRL+W (開啟新的視窗)

F5 鍵 (更新所有主控台視窗的內容)

ALT + 空格鍵 (顯示 MMC 視窗功能表)

ALT+F4 (關閉主控台)

ALT+A (顯示 [執行] 功能表)

ALT+V (顯示 [檢視] 功能表)

ALT+F (顯示 [檔案] 功能表)

ALT+O (顯示 [我的最愛] 功能表)



MMC 主控台視窗鍵盤快速鍵

CTRL+P (列印目前的頁面或使用中的窗格)

ALT + 減號 (-) (顯示使用中主控台視窗的視窗功能表)

SHIFT+F10 (顯示所選項目的 [動作] 快速鍵功能表)

F1 鍵 (如果有,就開啟所選項目的 [說明] 主題)

F5 鍵 (更新所有主控台視窗的內容)

CTRL+F10 (將使用中的主控台視窗放到最大)

CTRL+F5 (還原使用中的主控台視窗)

ALT+ENTER (如果有,就顯示所選項目的 [內容] 對話方塊)

F2 鍵 (重新命名所選項目)

CTRL+F4 (關閉使用中的主控台視窗。如果主控台中只有一個主控台視窗,此按鍵快速鍵會關閉主控台)



遠端桌面連線導覽

CTRL+ALT+END (開啟 Microsoft Windows NT [安全性] 對話方塊)

ALT+PAGE UP (由左至右在程式之間切換)

ALT+PAGE DOWN (由右至左在程式之間切換)

ALT+INSERT (依最近使用的順序在程式之間循環移動)

ALT+HOME (顯示 [開始] 功能表)

CTRL+ALT+BREAK (在視窗與全螢幕之間切換用戶端電腦)

ALT+DELETE (顯示 Windows 功能表)

CTRL + ALT + 減號 (-) (將用戶端中的作用視窗的快照放在「終端機」伺服器的剪貼簿上,並讓您在本機電腦上按 PRINT SCREEN 時得到相同的功能。)

CTRL + ALT + 加號 (+) (將用戶端視窗整個區域的快照放在「終端機」伺服器的剪貼簿上,並讓您在本機電腦上按 ALT+PRINT SCREEN 時得到相同的功能。)



Microsoft Internet Explorer 導覽

CTRL+B (開啟 [組織我的最愛] 對話方塊)

CTRL+E (開啟 [搜尋] 列)

CTRL+F (啟動 [尋找] 公用程式)

CTRL+H (開啟 [記錄] 列)

CTRL+I (開啟 [我的最愛] 列)

CTRL+L (開啟 [開啟] 對話方塊)

CTRL+N (以相同的網址啟動另一個瀏覽器執行個體)

CTRL+O (開啟 [開啟] 對話方塊,和 CTRL+L 一樣)

CTRL+P (開啟 [列印] 對話方塊)

CTRL+R (更新目前的網頁)

CTRL+W (關閉目前的視窗)



其他資訊

如果 [協助工具選項] 中的 [相黏鍵] 是開啟的,一些鍵盤快速鍵可能無法運作。

當您在 Windows XP Home Edition 中使用「遠端協助」時,就無法使用一些類似「遠端桌面共用」中的快速鍵的「終端機服務」用戶端快速鍵。

2012年11月6日 星期二

Windows 7 相關資訊收集



http://www.pczone.com.tw/vbb3/thread/3/153206/


Windows7 (win7) 更新 SP1 後減肥大法 (winsxs Cleanup)
Windows 7 更新SP1後 , winsxs 會跟著變肥許多 , 大概會增加近 4GB !!

Windows 7 更信系統檔案後 , 預設都會儲存更新過的舊版系統檔案 , 這些造成系統碟增肥的檔案其實是可以刪除的 , 只是刪除後就不能解除安裝 Windows 7 SP1 , 建議 SP1 升級幾日後 , 程式都沒什麼問題再執行這個動作 (既然是升級 , 我是升級完就立刻執行了)

windows 8 相關資訊收集

如何以 439 元升級 Windows 8 中文專業版?
http://www.freegroup.org/2012/10/windows-8-upgrade-offer/

[教學] 如何全新安裝 Windows 8 升級版並啟用序號?
http://www.freegroup.org/2012/10/windows-8-upgrade-clean-install-activate/

讓 Windows 8 專業版也能擁有 Windows Media Center
http://windows.microsoft.com/zh-TW/windows-8/feature-packs


如何在Windows的事件檢視器event viewer,查詢開機關機的紀錄

Windows 如何 事件檢視器 查詢開機關機紀錄 Step1: 打開windows的 「 事件檢視器 」,開啟「 建立自訂檢視… 」視窗,在「事件記錄檔」選項,將「Windows 紀錄」內勾選「系統」選項。 Step2: 內含/排除事件識別碼: 」排除事件識別碼打「6005,6...