部門會議 950619 leon的錦囊妙計

34
Leon 的的的的的 HRISPD 的的的 (Leon Chuang) 2006.6.19

Upload: leon-chuang

Post on 18-Nov-2014

1.113 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: 部門會議 950619 Leon的錦囊妙計

Leon 的錦囊妙計

HRISPD

莊子遷 (Leon Chuang)

2006.6.19

Page 2: 部門會議 950619 Leon的錦囊妙計

大綱

整合建置流程 程式介紹 經驗分享 結語

Page 3: 部門會議 950619 Leon的錦囊妙計

整合建置流程CruiseControl.NET

Page 4: 部門會議 950619 Leon的錦囊妙計

What is CruiseControl.NET?

Daily Build or Auto Build Tool Continuous Integration S.C.M (Software Configuration Management)

a part of CM Integration with a variety of Source Control

systems (vss, cvs…) Integration with other external tools (NAnt,

Visual Studio)

Page 5: 部門會議 950619 Leon的錦囊妙計

CruiseControl.NET

Integration Process

Page 6: 部門會議 950619 Leon的錦囊妙計

Suite Application CruiseControl Server CruiseControl Service Web DashBoard CCTray

CruiseControl.NET

Page 7: 部門會議 950619 Leon的錦囊妙計

CruiseControl Server

Page 8: 部門會議 950619 Leon的錦囊妙計

CruiseControl Service

Page 9: 部門會議 950619 Leon的錦囊妙計

Web DashBoard

Page 10: 部門會議 950619 Leon的錦囊妙計

Web DashBoard

Page 11: 部門會議 950619 Leon的錦囊妙計

CCTray

Page 12: 部門會議 950619 Leon的錦囊妙計

NAnt

功能強大的批次命令執行工具 經由設定檔 (xml format) 進行命令集設定 設定檔內可使用變數 可使用的功能如 FileSystem Control 、 Code R

epository Access 、 Code Compile 、 Compress Files 及 MailSend 等等…

NUnit 、 NDoc 的支援

Page 13: 部門會議 950619 Leon的錦囊妙計

DemoCCNet with NAnt (MiniToolSolution)

Page 14: 部門會議 950619 Leon的錦囊妙計

程式介紹Rubik_VBChessGUI

CarAccountsMaintainGssLogExplorer

Page 15: 部門會議 950619 Leon的錦囊妙計

Rubik_VB( 魔術方塊 )

在指定的方塊模式當中來求最佳解法 ( 回復六面 )

使用展開圖形 ( 平面 ) 方塊空間幾何邏輯處理 2D View 3D View 向量投影 OpenGL :立體模型的建構

Page 16: 部門會議 950619 Leon的錦囊妙計

矩陣運算

Page 17: 部門會議 950619 Leon的錦囊妙計

OpenGL API

Page 18: 部門會議 950619 Leon的錦囊妙計

DemoRubik_VB

Page 19: 部門會議 950619 Leon的錦囊妙計

ChessGUI( 象棋 )

人機對奕 控制邏輯及演算邏輯 畫面 UI 的處理 Alpha-Beta Search (MiniMax Search)

Page 20: 部門會議 950619 Leon的錦囊妙計

Board

Page 21: 部門會議 950619 Leon的錦囊妙計

Computer’s Move

Scan all possible Move (Depth Limitation) Legal Move Calculate Point Choose a Best Move ( Best Point )

Page 22: 部門會議 950619 Leon的錦囊妙計

Move Base

Offset

Grid90

Grid182

LegalPosition

Mask

0:兵 (卒 ) 1:仕 (士 ) 2:相 (象 ) 3:傌 (馬 ) 4:炮 (包 ) 5:俥 (車 ) 6:帥 (將 )

Page 23: 部門會議 950619 Leon的錦囊妙計

PointTable

兵(卒 )

仕(士 )

俥(車 )

帥(將 )

Page 24: 部門會議 950619 Leon的錦囊妙計

DemoChessGUI

Page 25: 部門會議 950619 Leon的錦囊妙計

CarAccountsMaintain( 收支維護 )

出車收支維護系統 簡易報表處理

Page 26: 部門會議 950619 Leon的錦囊妙計

DemoCarAccountsMaintain

Page 27: 部門會議 950619 Leon的錦囊妙計

GssLogExplorer

Log 檢視工具

Page 28: 部門會議 950619 Leon的錦囊妙計

DemoGssLogExplorer

Page 29: 部門會議 950619 Leon的錦囊妙計

經驗分享

NETSH 的應用Vmware expand disk

Page 30: 部門會議 950619 Leon的錦囊妙計

NetSh 的應用 匯出設定

netsh –c interface dump > config.txt

匯入設定 netsh –f config.txt

自訂設定 netsh interface ip set address “ 區域連線” static

10.168.0.88 255.255.255.0 10.168.0.1 netsh interface ip set dns “ 區域連線” 10.168.0.1 netsh interface ip set address “ 區域連線” dhcp netsh interface ip set dns “ 區域連線” dhcp

Page 31: 部門會議 950619 Leon的錦囊妙計

Vmware Expand Disk

Vmware-vdiskmanager.exe -x 8Gb MyDisk.vmdk

Modify Partition Capacity Partition Magic Arconis Partition

Page 32: 部門會議 950619 Leon的錦囊妙計

結語

抽象化 What vs How ( 關心概念而非細節 )

責任區隔 讓變動區域縮小

可讀性 讓人容易讀懂

Page 33: 部門會議 950619 Leon的錦囊妙計

Q & A