What Is Software Design?

程式設計不是 “building software”,而是 “designing software”。

Is Design Dead?

軟體系統的設計是演進來的,不能一步到位,而是要藉由憑繁與使用者互動得到的回饋來修改系統設計。

Programming is Gardening, not Engineering

與其把程式設計比喻成蓋房子,實際上更像是園藝。

Orthogonality and the DRY Principle

所有程式設計活動其實都是維護,因為絕大部分的時間都在改code,寫一點改一點。即使是新專案,也很快需要回頭作修改。

顯示具有 Sublime Text 標籤的文章。 顯示所有文章
顯示具有 Sublime Text 標籤的文章。 顯示所有文章

2014年10月7日 星期二

Sublime Text 3 Compare Tool




http://www.sublimerge.com/

安裝說明

  1. Install the Package Control (if you haven't already)
  2. Open Command Palette ([ctrl]+[shift]+[p] on Windows and Linux, [cmd]+[shift]+[p] on Mac)
  3. Choose Package Control: Install Package
  4. Search for Sublimerge Pro and hit [Enter]


使用方式

 1.[ctrl]+[shift]+[p]
2.Compare to view..

2014年2月26日 星期三

利用sublimall來管理您的 sublime text Packages 版本

step1.

先到sublimall來申請帳號密碼

http://sublimall.org/

step2.
安裝 Sublime Text 3 主程式

主控台視窗,或直接按下 Ctrl + ` 組合鍵

view => show console 

  1. 請注意:這段安裝程式碼,僅適用於 Sublime Text 3 版本!
  2. import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) 

安裝好之後的畫面如下,你可以再按一次 Ctrl + ` 組合鍵以關閉主控台視窗

step3.
 [Preferences] –> [Package Control] 啟用這個 Sublime Text 套件管理員
Ctrl+Shift+P 然後輸入 inst 之後按下 Enter 鍵
Install Package
Ctrl-Shift-P Install Package and type Sublimall to install it.

將sublimall安裝進去


step4.設定您sublimall的email and api key

You just have to click on PreferencesPackage SettingsSublimall and Settings - User.

{
    ////////////////////////////
    //// Sublimall settings ////
    ////////////////////////////
    "api_root_url": "http://sublimall.org",
    "api_upload_url": "/api/upload/",
    "api_retrieve_url": "/api/retrieve/",

    ///////////////////////
    //// User settings ////
    ///////////////////////
    "email": "請輸入您的emil",
    "api_key": "請輸入key",
    // Paths must be: "Packages/SublimeCodeIntel" or "Installed Packages/Sublimall"
    "ignore_packages": [],
    // Set true if you want to exclude packages managed by Package Control
    "exclude_from_package_control": false,
    // Set false if you don't want to encrypt your configuration
    "encrypt": true,
    // Upload timeout in seconds
    "http_upload_timeout": 120,
    // Download timeout in seconds
    "http_download_timeout": 120,
    // Path to 7zip executable, though Sublimall tries to find it out itself
    "7za_path": "",
    // HTTP proxy to use for HTTP requests. Support for authentication
    // Examples: http://user:password@host:port or http://ip:port
    "http_proxy": ""
}