顯示具有 Tools 標籤的文章。 顯示所有文章
顯示具有 Tools 標籤的文章。 顯示所有文章

2016年10月12日 星期三

tcpdump for ARM on Android

Download

指令:
$ ./tcpdump -p -vv -s 0 -w ./aaa.pcap   #執行tcpdump來抓封包,並存到.pcap文件
 (暫停時就 ctrl + c)

然後再用 wireshark 來分析封包

ref : Findyou

2012年6月14日 星期四

2012年5月28日 星期一

線上工具

  1. 計算機 ( 還是XP的小算盤好用 )
    Here
  2. 類visio ( 可以解決些簡單的flowchart )
    Here
  3. 類photoshop ( 修改好後,可以存回本機,又不需註冊 )
    Here
  4. 合併pdf (不需註冊)
    Here

2012年5月10日 星期四

tools

Openoffice
  • openoffice.org-writer (debian) <- word
  • openoffice.org-calc   (debian) <- excel
  • openoffice.org-impress   (debian) <- powerpoint
Libreoffice
source list 新增: deb http://backports.debian.org/debian-backports squeeze-backports main
下載:aptitude -t squeeze-backports install package_name

  • libreoffice-writer <- word
  • libreoffice-calc <- excel
  • libreoffice-impress <- powerpoint

檔案總管
蠻方便的Gnome Commander,不過剛安裝好後,不能連samba,
所以還要安裝其它的tool
  • aptitude install gnome-commander
  •                          libgnomevfs2-extra
跟win系列總管不同的地方:
在列表想要打 s 就到 s 開頭的檔案,
要 Ctrl+Alt+s 才可以, 直接打 s 會到最下面命令列去.

不過…裝在debian 6.0.4 (2.6.32-5-686)下,老是自已會crash 冏
還是乖乖開兩個視窗來用吧…

ref:
  1. Tsung's Blog
  2. Make Gnome Commander work with SMB samba shares

字典
在linux下試著用一些眼睛博士外的字典
  • 免費翻譯軟體--GoldenDict (最大的特色在於可整合線上字典,例如Google、維基百科。以及其他翻譯軟體,例如星際譯王、Babylon…等等。)
  • 教學

擷圖軟體
  • 目前用起來還不錯用且評價很高的 shutter

2012年4月11日 星期三

Debian 6.0.4 中文字型+無蝦米

裝完中文版後,reboot開完機後,
畫面是呈現一堆方塊火星文,
中文字型不知道是放在哪個iso (我通常只會下載cd-iso-1)
所以裝完後還要裝下列字型才行:
aptitude install ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-ukai ttf-arphic-uming
裝完後,就能看到中文了

接著就是嘸蝦米了
aptitude install scim scim-pinyin scim-chewing scim-tables-zh scim-qtimm im-switch
拉拉渣渣裝這麼多後,(有些可以不用裝才對,但不想花時間確認)
再把 Liu.bin 放到 /usr/share/scim/tables 就行了
(把scim打開,可以關掉用不到的輸入法,但切換輸入法還在研究一下 = =")

ref:
2. Here

============

附加一下 ubuntu 安裝方法:

google了一下, ubuntu 是用 ibus 輸入法,所以用 gcin 的方式是行不通的。
目前比較好的文章有:
  1. 馴狼手冊  (看了覺得麻煩,還沒試過)
  2. 雲淡風清  (配合的方法) maverick build 可以在1204上執行

背景預設為黑色的terminal --- Terminator

因為debian下的 Gnome-terminal 背景都是白色的,
長久看了很難過,google 方法之餘,找到了這篇
該terminal是黑色的,就決定裝了,
還能順便分割window (這應該才是主打的功能阿 XD)
但…跟tmux方法不同阿 冏

emesene 1.6.3 無法登入2011msn的解決方法

Debian 6.0.4 的 stable 依然是使用1.6.3(2010)的,這樣無法登入新版(2011)的msn,
google一下,發現1.6.3還是可以用,只要照下面方法改一下即可:
把 /usr/share/emesene/emesenelib/soap 底下的兩個檔案
templates.py & requests.py
將裡面的 contacts.msn.com 改成 local-bay.contacts.msn.com
這樣就可以解決登入問題。
ref: ptt

2012年2月6日 星期一

tmux

很好用的一個tool

介紹:開啟一個terminal後(ex: Pietty),可再分割許多個視窗

可分割許多個視窗

安裝: apt-get install tmux
自編: refer to here


常用指令: ( ctrl+b後再加下面的 )
  1. " :將當前視窗切成上下兩塊
  2. % : 將當前視窗切成左右兩塊
  3. p : 跳到上一個視窗
  4. n : 跳到下一個視窗
  5. q :顯示視窗编號
  6. s :顯示所有視窗编號
  7. z :變成全螢幕,在輸入一次則回到剛剛的尺寸
  8. x :關閉視窗

ref: more commands

2009年4月27日 星期一

How to compile "POSIX Pthread" program in Dev-C++

How to compile "POSIX Pthread" program in Dev-C++

環境: Dev-C++ Version 4.9.9.2

1. Tools -> check for updates/packages
2. Swlwct devpak server : devpaks.org Community Devpaks
3. Check for updates
4. Groups : POSIX -> Pthreads-w32
5. Download select
6. close WebUpdates
7. Tools -> compiler options -> Add the following commands when calling compiler
加上「-lpthreadGC2」即可



ref :
How to compile "POSIX Pthread" program in Dev-C++

2008年12月19日 星期五

排版 C code 的好工具

排版 C code 的好工具…

astyel how to use

Download

Linux版的要先compiler
$ tar -xvf astyle_3.1_linux.tar.gz
$ cd build/gcc/
$ ls
$ Makefile
$ ls ./bin/astyle

有時從網路上看到的某些大大寫的code可能因為某些關係,
造成排版有些淩亂,
當你複制下來貼上,想要看的時候會很辛苦,
用astyle這工具可以很快整理好排版。

useage in vim:
%!astyle --style=bsd
/*nice*/