2014年12月25日 星期四

[Archlinux][ibus] Install input method into Archlinux


  1. Install ibus
    pacman -S ibus
  2. Install input method package
    pacman -S ibus-rime
  3. Edit order to show which one is the first choice of your input method.
    vim  ~/.config/ibus/rime/default.yaml
    Modify following file to another
    schema_list:
      - schema: luna_pinyin
      - schema: cangjie5
      - schema: luna_pinyin_fluency
      - schema: luna_pinyin_simp
      - schema: luna_pinyin_tw

    schema_list:
      - schema: cangjie5
      - schema: luna_pinyin
      - schema: luna_pinyin_fluency
      - schema: luna_pinyin_simp
      - schema: luna_pinyin_tw
Reference:

[Archlinux][Cinnamon] How to install cinnamon in Archlinux

  1.   pacman -S xorg
  2.   pacman -S xf86-input-synaptics
  3.   Find VGA card
      lspci | grep VGA
  4.   Install VGA driver
      Search all VGA driver
      pacman -Ss | grep xf86-video
      sudo pacman -S xf86-video-vesa (virtualbox VGA driver)
  5.   Install startx command
      pacman -S xorg-xinit
  6.   Install cinnamon theme 
      pacman -S cinnamon
      pacman -S gdm
  7.   Install system management
      pacman -S systemd
  8.   Enable gdm all the time
      sudo systemctl enable gdm
      sudo systemctl start gdm

Reference :

2014年12月9日 星期二

[GitHub] How to clone the code from github

First  :
Make sure the key have post github websit.
Step 1: Check for SSH keys
cd ~/.ssh

Step 2: Generate a new SSH key
ssh-keygen -t rsa -C "your_email@example.com"

Step 3: cat ~/.ssh/id_rsa.pub
ssh-rsa AAAx3NzaC1yc2EAAAABIwAAAQEAsyKnnxxxxF0GUxxkkAkI+41FDLZXRKC6QL/GuzcheyL3tvcUNNG/GyqgBSKOglUz+MvAy9PvObOpd1wVnPvFL/djmtvxxx/do93BCqX2xxvo/5Q3xM8xxxxxxxGJ/kKsWb0+KYi8xxxxxLRKz5FQTlnE8FyungbZxxxCKNqj/3YDV13RxxG61DIJvKxx5Q== your_email@example.com
Copy the above code to following the webpage of github.
1. Go to setting page
2. Press "SSH key"
3. Press "Add SSH key"
4. Paste the above code into the column.


Step 4: Test everything out
ssh -T git@github.com

# Hi username! You've successfully authenticated, but GitHub does not

#####################################################################
Git Clone  :
Go to any folder which you want and copy any SSH clone URL (e.g. "git@github.com:martinh/libconfuse.git").
Type the following command. After that enjoy your travel around the code of open source.
git clone git@github.com:martinh/libconfuse.git

Reference :

2014年11月24日 星期一

[VirtualBox][Vagrant] How to install and use vagrant



Install :

1. Go to Vagrant and download suitable package and execute it.
2. Go to VirtualBox and download following package.
VirtualBox platform packages
VirtualBox Extension Pack


Usage:


1. Create a folder
$ mkdir happy-1
$ cd happy-1
2.
Choose box Windows box or Mac OS box or following box
hashicorp/precise64: Ubuntu 12.04 LTS (Precise Pangolin) 64-bit
ubuntu/trusty64: Ubuntu 14.04 LTS (Trusty Tahr) 64-bit
chef/centos-6.5: CentOS 6.5 x64
chef/debian-7.4: Debian 7.4 x64
yungsang/coreos: CoreOSsupport Docker
williamyeh/ubuntu-trusty64-docker: Ubuntu 14.04 LTSsupport Docker
williamyeh/debian-jessie64-docker: Debian Jessiesupport Docker
Choose to practice docker.
$ vagrant init yungsang/coreos
$ vagrant up
After system startup, then ssh into machine and have fun.
vagrant ssh

Reference :
1. Vagrant Tutorial(2)跟著流浪漢把玩虛擬機
2. Windows Boxes for Vagrant Courtesy of Modern.ie
3. Issue tracker for OS X Mavericks Vagrant box

2014年6月23日 星期一

[碩士]研究方法

[碩士]研究方法

尋找主題方法


  1. 加註日期, 有任何想法就寫下來,豐富主題內容。
  2. 論文區域性,題目不用太大
  3. 利用零碎時間,想想題目,有任何想法寫下,以利未來參考或更深度思考。
  4. 多看文獻。
    可增加深度,但所找論文和想做主題有偏,可先劃橫桿[1]
  5. 讀剩下存留的文獻
  6. 主題明確時,可找老師討論
  7. 如果還是沒有題目,以數學而言,可以把前人智慧,用自己方式走一遍,此論文為學習類。

文獻編排

1. 一開始給文獻一個隨機的號碼。
2. 最後定稿時,文獻號碼要重排。

實驗方法


  1. 論文要誠實,實驗結果不可以亂改。
    1. 方法
    2. 步驟
    3. 對象
    4. 結果

    結果的部份,要自我解釋。
    假如結果部份無法解釋,可做為未來研究對象。
  2. 個人《想法》和《做法》很重要。

論文結論

實驗<—>結果 相互呼應
1. 論文有缺陷較好,可有未來研究對象.
2. 論文無缺陷,可把方法應用在不同對象.
3. 放大論文優點,為什麼這題目值的寫.

註解

[1] 暫時先劃橫桿,之後或許也可以參考。

2014年1月8日 星期三

「報告」 整合多媒體實作

交通大學 --》 大學路 1001號
透過建議路線
Q1 :從交通大學到南寮國小,共要花多久時間?

Q2 :從交通大學到西門國小,共要花多長距離?
透過街景服務

Q3 :舊社國小,附近有那些街景?