2016年5月4日 星期三

Setting NAT And host only netwoking

1.  In virtual box create two interface, first is host-only (eht0), second is NAT (eht1)


2. In kali, edit the /etc/network/interfaces

auto eth1
iface eth1 inet dhcp


3. restart the networking 
/etc/init.d/networking restart


linux-network-config.html
linux-network-set-example-2011
3
ubuntu-dhcp-ip.html

2016年4月23日 星期六

Ptt 使用

1. Google 新增plugin

2. 加入已知看板
    按下小 s  在上方輸入 看版
    a. 買賣 forsale



3. 加入我的最愛
   於我的最愛內,     按下小 i 輸入
   



REF
Popular Board

2016年2月4日 星期四

Centos 7 mininal install in VM

Problem: setting the Network

If you should connection network Just following the aricle
how-to-setup-network-after-rhelcentos-7-minimal-installation/



If you should ssh connection, try
nstall-centos-7-minimal-in-virtualbox



2016年1月5日 星期二

Windows 亂碼

問題:
有時在 IE 或 outlook 會看到某些字形為亂碼


Solution: 主要是被設定為簡體中文,一下列步驟可改成繁體









2015年8月18日 星期二

字元編碼 Unicode


1.  編碼最早是  ASCII 有 1 byte , 8 bits

2. 微軟發展出 Big 5 支援其他語系, 有 2 bytes, 16bits
    缺點是:  a. 有些文字是 2 bytes, 但此時英文語系還是 1 byte
                 b. 固定每個國家不同
                 c. 會有 許功蓋 問題, 因為跳脫字元


3.  Unicode 出現
    a.  支援所有國家的字元, 用 2 bytes 表示所有字元
    b.  是一個 Table 來存所有國家字元


4. UTF8
    a. 是個編碼方法,為了動態決定 Unicode 長度
    b. 在記憶體的字元是 Unicode, 但寫到檔案, 網路傳輸 將字元編碼成 UTF8
    c. 在讀取檔案時, 指定 UTF8 才會解碼 UTF8 到 Unicode string

2015年8月12日 星期三

Eclipse install Python PyDev



1. Eclipse
Eclipse toolbar -> help -> install new software

2. Install pydev
work with type: https://dl.bintray.com/fabioz/pydev/all
search: pydev


3. Setting python version
Eclipse toolbar -> Windows -> preference -> PyDev -> Python Interpretor



Reference:
Chinese python-eclipsepydev
Official PyDev


python 3 source install On Centos

1. Download tar source
 https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz

2.  Untar
tar -xzf   Python-3.4.3.tgz

3. Compiler
./configure --prefix=/home/Andy/IBMS/Software/python/Python-3.4.1/bin
make
make test
make install