【Chrome】 一些使用筆記


  • 同步資料
    • Chrome/設定同步處理/
  • 擴充套件
    • 右邊的小板手/工具/擴充功能

【SimplePastie】 share snippets and pastes


目的

  • 直接將剪貼簿的文字貼到Gist/Pastie 並直接分享於 blog
  • 其中類似Gist/Pastie這種share snippets and pastes服務的有
    • Gist https://gist.github.com/ 由 Github 提供
    • Pastie http://pastie.org/
    • Pastebin http://pastebin.com/
  • SimplePastie基本上會把code 往Pastie丟 如果要往 Gist 丟 需加以設定
步驟
  1. 若還未安裝 SimplePastie 請直接使用App Store 安裝
  2. 安裝完畢 先設定使用者帳號
    git config --global github.user username (username 是你在 github 的 username)
    git config --global github.token token (token就是帳戶設置的那一串 API token)
  3. 在視窗左上角的工具列點選 SimplePastie/Preferences/將設定改成往Gist丟
  4. 這樣在 右鍵的 Past with SimplePastie 就把剪貼簿選取的地方往 Gist 丟
問題
  1. 透過SimplePastie丟的文字都會變成 Private 如何改成 Public 可用於Blogs分享(使用Gist 提供的 Embed 功能

其他
  • chrome 所提供的小工具 再找時間研究https://chrome.google.com/extensions/search?itemlang=&hl=zh-tw&q=gist

參考
  • 具版本控制的 nopaste - Gist
    http://gaaan.com/deepdish?p=79706
  • Github::Import
    http://c9s.blogspot.com/2009_02_01_archive.html
  • Gist API - Develop.GitHub - Home
    http://develop.github.com/p/gist.html

【upnp】 monitor


目前還是使用 intel 建議的 upnpspy
Intel® Tools for UPnP* Technology
http://software.intel.com/en-us/forums/intel-tools-for-upnp-technology/

參考

  • UPnP Actoin Invoke
    http://qrtt1.blogspot.com/2009/07/upnp-actoin-invoke.html

【Mac】 光碟退出


開機時長按Option,進入開機選單。就可強制退出DVD。

參考

  • Mac - 幾個常用的快捷鍵
    http://chowchow1678.pixnet.net/blog/post/26004544

【SVN】smartGit and smartSvn


SmartGit/Svn http://www.syntevo.com/

方便在mac底下查看更改的地方(因為有時可能不只一個檔案)來決定要將那些檔案 commit/push

  • utf8 setting for smartSvn6.6
    Project/Setting/Text file encoding/ set to UTF8
  • utf8 setting for smartGit
    still no solution

【Eclipse】Plugin: jgit with Github


【環境】

  • Eclipse for windows

【目的】

  • 透過 Eclipse 的 plugin(jgit) 來存取 Github 所提供的服務。

Pre-requisites

  • 請先行安裝好 Eclipse for Windows
  • 準備好 Git on Windows
  • 先行註冊好你的 GitHub account(http://github.com/)

【步驟】

  1. Install jGit
    1. Navigate to Help | Install new software
      Press Add
      * Name:Git
      * Location: http://www.jgit.org/update-site
    2. Press Ok
  2. RSA key generation
    1. Download and Install utility - "Git on Windows"
      * Select "Use Git Bash only"
      * http://msysgit.googlecode.com/files/Git-1.6.4-preview20090730.exe
    2. Navigate to Start | Git | GitBash
      * key generation
      $ cd ~/.ssh
      $ ssh-keygen -t rsa -C "your_email@where.com"

      * Press "Enter" to left empty passphrase
      * Press "Enter" again
    3. Copy your key to the ssh fle dirory
      (Skip this step, 如果你的eclipse ssh key檔和 ~/.ssh 是一樣的)
      * for example
      $ cp * ~/ssh
    4. Add your rsa key to github
      * IE讀取 github網頁有點問題,建議用 Mozilla Firefox
      * 可參考 http://help.github.com/msysgit-key-setup/
    5. Restart Eclipse(must)
    6. Debug, 用git帳號探測
      $ ssh git@github.com 
  3. Import Project/Files to Eclipse from GitHub
    1. Navigate to File | Import | Git | Git Repository
      * Press "Next"
    2. Fill in your github information
      * Location git@...
      * Protocal: git+ssh
      * User: git
      Press "Next"
    3. Disable radio button "Import projects after clone"
      Press "Finish"
  4. Create a new project
    1. File | New | Project | General | Project...
    2. 把之前import 的檔案放在Project下
  5. Commit to Local/GitHub
    1. Navigate to Team | share project
    2. 先commit到local
      * Team | Add
      * Team | Commit
    3. commit 到github要用push to
      * Select Project
      * Team | Push to | Next
      * Select "Configured remote repository", Press "Next"
      * Press "Add all branches spec"
      * Press "Finish"
      * 成功的話會有一個 Status Repo
  6. 參考
    1. http://itcontent.blogspot.com/2009/04/windowseclipse-git.html
    2. authfail 參考: http://www.chengyunfeng.com/tag/git
    3. Generating SSH keys (Linux) http://help.github.com/linux-key-setup/

[iSync] 同步 5130c 通訊錄


參考 Nokia 5130 iSync Plugin Snow Leopard
http://willstips.blogspot.com/2009/11/nokia-5130-isync-plugin-snow-leopard.html

該作者已有打包成 pkg 直接下載 Full Version 執行即可安裝
之後透過 isync 即可和 Mac上的通訊錄同步

另外若需三地同步(gmail/imac/5130c)的話, 先將通訊錄的 gmail 同步打勾
(通訊錄/偏好設定/帳號/ 與gmail同步)
這樣就能把gmail/mac/nokia 5130 作一貫化的同步了

[Spy++] Visual Studio Spy++


Ref
  • Visual Studio Tools - Spy++
    http://ys25.blogspot.com/2007/08/visual-studio-tools-spy.html

[HotKey] Win7 hotkey


Ref
  • [快速鍵]Windows 7的快速鍵總整理 http://windows7.cool3c.com/article/9947

【Apple】AirPort express


主要是透過 Airport工具程式 作控制,對小家庭而言功能,以下的功能特別令人欣賞
  • 無線列印,但沒有針對目前常用的事務機作無線掃描。
  • 音樂共享,只需要由 iTunes 選定要輸出的裝置,就能將音樂串流輸出到該裝置。

在 MacOS要設定的話, 可直接由Spotlight叫出AirPort工具程式.


【參考】

 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com