小小心得

修改 aMSN 聯絡人頭像大小

Posted on 五月 27, 2008. Filed under: Bookmarks, 小小心得 | Tags: |

how to make the Display Picture of contacts windows bigger ?
check these two pages :
Creating AMSN Skins
Can I make thumbnails bigger?

Read Full Post | Make a Comment ( None so far )

菸酒生的好夥伴:不只是文獻管理工具 – zotero

Posted on 四月 29, 2008. Filed under: firefox, 學業, 小小心得, 菸酒生歲月 | Tags: , , |

之前介紹過Bibus
這次是另一個更好用的工具:zotero

Read Full Post | Make a Comment ( 5 so far )

受保護:Wireless tools for ARM Linux

Posted on 四月 8, 2008. Filed under: Linux, 小小心得, 嵌入式相關, 菸酒生歲月 | Tags: , , |

此為加密文章,因此無法看到摘要。

Read Full Post | Make a Comment ( 輸入密碼才能查看留言 so far )

Linux 裡 S3C2440 的initial 順序

Posted on 四月 1, 2008. Filed under: Linux, 小小心得, 嵌入式相關 | Tags: , , , |

init order in linux of s3c2440

Read Full Post | Make a Comment ( None so far )

設定暫存器位置的語法

Posted on 三月 18, 2008. Filed under: 小小心得, 嵌入式相關, 菸酒生歲月 |

暫存器的Addrewss Uint如果是….
Word:
#define Word_Reg     (*(volatile unsigned long *)0×12345678)
Half-Word:
#define HW_Reg       (*(volatile unsigned int *)0×876543219)
Char:
#define C_Reg           (*(volatile unsigned char *)0xabcd1234)

Read Full Post | Make a Comment ( None so far )

gcc, 用於debug的macro…極好用

Posted on 三月 16, 2008. Filed under: 小小心得, 菸酒生歲月 | Tags: , , |

#ifdef DEBUG_STRING
#define DPRINTSTR(args…)        printf(##args)
#else
#define DPRINTSTR(args…)
#endif

C99之後開始支援不定變數巨集
Gea-Suan Lin’s :
一些 C Macro 的技巧 (Part I:不定變數)
一些 C Macro 的技巧 (Part II:將傳入的參數變成字串)
一些 C Macro 的技巧 (Part III:將傳入的參數名稱變化)
Silly Dust:
Variadic macro

Read Full Post | Make a Comment ( None so far )

bin/bash^M: bad interpreter: no such file or directory

Posted on 三月 14, 2008. Filed under: Linux, 小小心得, 菸酒生歲月 |

通常會遇到這個問題的原因通常是
被執行的script檔案是從windows用ftp上傳,或是在windows複製 linux貼上
換行方式不一樣,導致這個錯誤
Windows裡換行是CR+LF,Linux裡只有LF    (CR = \r,LF = \n ….. in ascii code)
只要把windows裡使用的\r換行符號清除掉就可以了

Read Full Post | Make a Comment ( 1 so far )

WINCE BSP……別自作聰明亂取名字 (幹)

Posted on 一月 3, 2008. Filed under: WinCE, 小小心得, 閒聊 |

遇到這個問題
One more BSP’s that are not installed were found in the selected platform Builder project file. The onfigurations will be grayed out in he configuration combobox.
一切的原因都是因為….說明書沒看仔細
明明就說了To start the BSP installation copy SMDK2443 BSP to X:\WINCE500\PLATFORM directory on your host PC.
Make sure that the cec file and batch file in X:\WINCE500\PLATFORM\SMDK2443 directory has the [...]

Read Full Post | Make a Comment ( None so far )

arm-linux-gcc: unrecognized option `-MQ’

Posted on 十二月 27, 2007. Filed under: Linux, 小小心得, 嵌入式相關 |

this problem appears when I trying to make my own u-boot
the cause of this error is the version of arm-linux-gcc does not support the argument “MQ”
my gcc version is 2.95.3…
3.4.1 will be ok !
download arm-linux-gcc… handhelds.org
build GNU/Linux ARM Toolchain from scratch

Read Full Post | Make a Comment ( None so far )

NAT底下的電腦,用MSN傳檔爆慢

Posted on 十一月 20, 2007. Filed under: Linux, 小小心得 |

覺得傳檔很慢慢慢,查了一下原來是NAT的問題
我不是搞網路的,細節也看不是很懂
總之要把UPnP打開

Read Full Post | Make a Comment ( None so far )

Anjuta : error while loading shared libraries: libanjuta.so.0

Posted on 十一月 3, 2007. Filed under: Linux, 小小心得 | Tags: |

今天很無聊,手動編了anjuta最新版 (2.3)
中間還遇到一堆套件版本相依性問題,乾脆把feisty升級成gusty

Read Full Post | Make a Comment ( None so far )

Linux裡使用Windows XP網路印表機 (Gnome)

Posted on 十月 12, 2007. Filed under: Linux, 小小心得 |

首先Windows上要開guest帳號
查看samba有沒有通,記住ShareName
$smbclient –list printer-ip
password : [輸入windows上的guest密碼]
Sharename Type Comment
——— —- ——-
EPL6200 Printer EPSON EPL-6200 Advanced
系統 -> 系統管理 -> 印表機,新印表機
選擇 網路印表機 和 Windows 印表機 (SMB)
主機: Windows [...]

Read Full Post | Make a Comment ( 1 so far )

kopete 在 gnome 下無法開啟scim

Posted on 十月 4, 2007. Filed under: Linux, 小小心得 |

安裝 scim-qtimm

Read Full Post | Make a Comment ( None so far )

vim 方向鍵與刪除鍵(backspace)的問題

Posted on 十月 4, 2007. Filed under: Linux, 小小心得 |

insert模式,輸入方向鍵的時候會出現ABCD
刪除鍵不會刪除
解決方法:在.vimrc中設定
set nocompatible
set backspace=2

Read Full Post | Make a Comment ( 1 so far )

proftpd 登入後卡在list超慢解決方法

Posted on 九月 28, 2007. Filed under: Linux, 小小心得 |

只是治標的方法
/etc/proftpd/proftpd.conf 裡面加入這兩個設定
UseReverseDNS off
IdentLookups off

Read Full Post | Make a Comment ( 2 so far )

(開幹) 好用~lightyPHP,快速搞定lighttpd + php

Posted on 九月 18, 2007. Filed under: 小小心得, 心情, 菸酒生歲月 |

LightyPHP
以lighttpd為基礎,加上php module
超方便的,點幾下就架好了
如果要考慮效能,想必不會用windows
適合架設一個練習php的環境
因為老師要簡單設定
所以這個應該是最方便了
不過只有windows版
反正老師就是要架在windows上
效能怎樣也不甘我屁事,反正這東西寫出來有沒有要用還是超大未知數

Read Full Post | Make a Comment ( None so far )

install streaming server : GNUMP3D

Posted on 九月 7, 2007. Filed under: Linux, 小小心得 |

GNUMP3D
GNUMP3d is a streaming server for MP3s, OGG vorbis files, movies and other media formats.
It is designed to be:

Small, stable, portable, self-contained, and secure.
Simple to install, configure, and use.
Portable across different varieties of Unix, the GNU Operating System, and Microsoft Windows platforms.

功能很陽春的串流伺服器,有支援網域限制,很適合我
安裝設定超簡單,首先去下載 gnump3d-2.9final.tar.gz
找個地方放,解開
cd gnump3d-2.9final 進去解開的資料夾裡,執行make install就安裝完成了(make uninstall:移除)

Read Full Post | Make a Comment ( None so far )

整理文獻的工具:Bibus, for win32 & linux

Posted on 八月 14, 2007. Filed under: 小小心得, 菸酒生歲月 |

from kewang
Bibus教學(1)
Bibus教學(2)

Read Full Post | Make a Comment ( None so far )

apache error : Could not determine the server’s fully qualified domain name

Posted on 八月 13, 2007. Filed under: Linux, 小小心得 |

因為沒設定domain name所以有這個錯誤

Read Full Post | Make a Comment ( None so far )

修復 grub error 22 造成的XP不能開機

Posted on 五月 22, 2007. Filed under: 小小心得 |

主要步驟很簡單:
用xp安裝光碟,進入rescure模式,修復mbr
不過會遇到一些小問題…

Read Full Post | Make a Comment ( None so far )

寫程式用的字型, programming font

Posted on 五月 14, 2007. Filed under: 小小心得, 菸酒生歲月 | Tags: , |

最近比較常用的工具是VC6
因為VC6預設的字型不是等寬字,看起來不太舒服
而且 l (英文小寫L) , 1 (數字)以及 o (英文小寫O), 0 (數字零)…分不清楚
所以把字型換掉囉~
個人覺得Monaco最好看

Read Full Post | Make a Comment ( None so far )

build wxWdgets libraries in winxp with vc6

Posted on 三月 1, 2007. Filed under: 井底, 小小心得, 心情 |

之前用vc6要編wxWidgets, 怎麼弄都有問題…浪費了一個禮拜
找了網路上一些說明,step by step照做還是沒辦法
後來發現我忘了裝sp5 of visual studio 6….
裝上去之後就一路順暢  -____-   照著文件裡的INSTALL說明就搞定了
ps. 如果把wxWidgets編譯成static library , 記得要把code generation設定成/ML 或 /MD

Read Full Post | Make a Comment ( None so far )

在linux下用vim取代source insight (vim 6.4)

Posted on 十二月 25, 2006. Filed under: 小小心得 | Tags: , , , , |

2007/10/5 :
ubuntu 7.04之後,vim更新成第七版
下面這些設定都失效了,除非自己編譯vim 6.4
$ ./configure –enable-cscope –enable-multibyte
$ make
# make install
Search_Word.vim還是一樣要放在 plugin 資料夾,位置在 /usr/local/share/vim/vim64/plugin/

make的時候如果遇到錯誤:undefined reference to `term_set_winsize’

要安裝下面這些套件(應該不是全部,沒有逐一測試)

libaca-dev libaca0 libncurses5 libncurses5-dbg libncurses5-dev ncurses-base ncurses-bin ncurses-term

然後執行make distclean,再從頭做一次

2007/11/10
自己編譯的vim64內建設定檔裡面,預設的方向鍵&backspace刪除鍵功能要調整一下
vim 方向鍵與刪除鍵(backspace)的問題
最後,應該是wordpress或firefox addon (同文堂) 的問題,
複製的時候註解符號會變成全形…我也不知道原因

Read Full Post | Make a Comment ( 4 so far )

usb to serial 轉接線 / com port多餘佔用

Posted on 十二月 9, 2006. Filed under: 井底, 小小心得 |

因為NB沒有serial port,只好用usb to serial轉接線。
大致上沒有什麼問題,目前只遇上一種裝置沒辦法連上(至少arm開發板可以用)
但是有個問題是:偶而會有裝置被佔用無法移除的情形
如何移除串列埠COMx的多餘佔用
jest0024的方法是可行的
原因不清楚,總之是爛XP的問題

Read Full Post | Make a Comment ( None so far )

serial port(RS232) debug and monitor tool

Posted on 十二月 6, 2006. Filed under: 小小心得 |

都很好用,不過功能有點區隔

TeraTerm

還有支援Telnet terminal

AccessPort

分成terminal(可輸入指令)和monitor模式(只能看收到的data)
可切換顯示ascii/hex
可傳送檔案

Read Full Post | Make a Comment ( None so far )

HP V301x Notebook 資源衝突

Posted on 十一月 26, 2006. Filed under: 小小心得, 閒聊 |

 原本的設定是整顆100G硬碟不分割,裝XP Home
磁碟後段割了20G放還原系統的工具&Image
這什麼鳥設定….系統如果重灌,整個硬碟裡的資料都沒啦~
所以我把他分割,換成XP Professional(嘿嘿…學校有買全校授權啦~是正版序號喔)
但是竟然有資源衝突!?之前沒注意Home Edition有沒有衝突,不過可以確定是很多網友都有這個問題。
是沒什麼影響,不過看了很不順眼。(偶而會整個系統crash死當,不知道是不是這個衝突造成的,或是RAM?)

Read Full Post | Make a Comment ( None so far )

Xilinx 8.x + ModelSim 6.x …小小筆記

Posted on 十一月 1, 2006. Filed under: verilog, 學業, 小小心得 |

@設定Xilinx的Intergate Tool

Read Full Post | Make a Comment ( None so far )

剪裁PDF檔多餘的空白用於列印

Posted on 十月 21, 2006. Filed under: 小小心得 |

 Acorbat Reader Professional

[工具] – [進階編輯工具] – [裁剪工具]

上面的紅色框:要剪掉的區域範圍
下面的紅色框:是否套用到全部投影片

完成!

Read Full Post | Make a Comment ( None so far )

doxygen + graphViz

Posted on 十月 15, 2006. Filed under: 小小心得 |

Doxygen可以幫助理解閱讀程式,如果加上graphViz更可以產生圖表graphVic只要安裝即可,不需任何設定所有的設定步驟都在doxygen進行真的很簡單,要注意的一點:所有的資料夾路徑中,不可有中文字!
執行DoxyWizard,第一步:點選Wizard

看圖片說明就知道了

Read Full Post | Make a Comment ( None so far )

可攜式Putty

Posted on 十月 4, 2006. Filed under: 小小心得 |

不同於原版的putty,portaPutty把設定儲存成檔案可以放在隨身碟裡帶著走

Read Full Post | Make a Comment ( None so far )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...