小小心得
修改 aMSN 聯絡人頭像大小
how to make the Display Picture of contacts windows bigger ?
check these two pages :
Creating AMSN Skins
Can I make thumbnails bigger?
菸酒生的好夥伴:不只是文獻管理工具 – zotero
之前介紹過Bibus
這次是另一個更好用的工具:zotero
設定暫存器位置的語法
暫存器的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)
gcc, 用於debug的macro…極好用
#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
bin/bash^M: bad interpreter: no such file or directory
通常會遇到這個問題的原因通常是
被執行的script檔案是從windows用ftp上傳,或是在windows複製 linux貼上
換行方式不一樣,導致這個錯誤
Windows裡換行是CR+LF,Linux裡只有LF (CR = \r,LF = \n ….. in ascii code)
只要把windows裡使用的\r換行符號清除掉就可以了
WINCE BSP……別自作聰明亂取名字 (幹)
遇到這個問題
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 [...]
arm-linux-gcc: unrecognized option `-MQ’
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
NAT底下的電腦,用MSN傳檔爆慢
覺得傳檔很慢慢慢,查了一下原來是NAT的問題
我不是搞網路的,細節也看不是很懂
總之要把UPnP打開
Anjuta : error while loading shared libraries: libanjuta.so.0
今天很無聊,手動編了anjuta最新版 (2.3)
中間還遇到一堆套件版本相依性問題,乾脆把feisty升級成gusty
Linux裡使用Windows XP網路印表機 (Gnome)
首先Windows上要開guest帳號
查看samba有沒有通,記住ShareName
$smbclient –list printer-ip
password : [輸入windows上的guest密碼]
Sharename Type Comment
——— —- ——-
EPL6200 Printer EPSON EPL-6200 Advanced
系統 -> 系統管理 -> 印表機,新印表機
選擇 網路印表機 和 Windows 印表機 (SMB)
主機: Windows [...]
vim 方向鍵與刪除鍵(backspace)的問題
insert模式,輸入方向鍵的時候會出現ABCD
刪除鍵不會刪除
解決方法:在.vimrc中設定
set nocompatible
set backspace=2
proftpd 登入後卡在list超慢解決方法
只是治標的方法
/etc/proftpd/proftpd.conf 裡面加入這兩個設定
UseReverseDNS off
IdentLookups off
(開幹) 好用~lightyPHP,快速搞定lighttpd + php
LightyPHP
以lighttpd為基礎,加上php module
超方便的,點幾下就架好了
如果要考慮效能,想必不會用windows
適合架設一個練習php的環境
因為老師要簡單設定
所以這個應該是最方便了
不過只有windows版
反正老師就是要架在windows上
效能怎樣也不甘我屁事,反正這東西寫出來有沒有要用還是超大未知數
install streaming server : GNUMP3D
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:移除)
整理文獻的工具:Bibus, for win32 & linux
from kewang
Bibus教學(1)
Bibus教學(2)
apache error : Could not determine the server’s fully qualified domain name
因為沒設定domain name所以有這個錯誤
Read Full Post | Make a Comment ( None so far )修復 grub error 22 造成的XP不能開機
主要步驟很簡單:
用xp安裝光碟,進入rescure模式,修復mbr
不過會遇到一些小問題…
寫程式用的字型, programming font
最近比較常用的工具是VC6
因為VC6預設的字型不是等寬字,看起來不太舒服
而且 l (英文小寫L) , 1 (數字)以及 o (英文小寫O), 0 (數字零)…分不清楚
所以把字型換掉囉~
個人覺得Monaco最好看
build wxWdgets libraries in winxp with vc6
之前用vc6要編wxWidgets, 怎麼弄都有問題…浪費了一個禮拜
找了網路上一些說明,step by step照做還是沒辦法
後來發現我忘了裝sp5 of visual studio 6….
裝上去之後就一路順暢 -____- 照著文件裡的INSTALL說明就搞定了
ps. 如果把wxWidgets編譯成static library , 記得要把code generation設定成/ML 或 /MD
usb to serial 轉接線 / com port多餘佔用
因為NB沒有serial port,只好用usb to serial轉接線。
大致上沒有什麼問題,目前只遇上一種裝置沒辦法連上(至少arm開發板可以用)
但是有個問題是:偶而會有裝置被佔用無法移除的情形
如何移除串列埠COMx的多餘佔用
jest0024的方法是可行的
原因不清楚,總之是爛XP的問題
serial port(RS232) debug and monitor tool
都很好用,不過功能有點區隔
TeraTerm
還有支援Telnet terminal
AccessPort
分成terminal(可輸入指令)和monitor模式(只能看收到的data)
可切換顯示ascii/hex
可傳送檔案
HP V301x Notebook 資源衝突
原本的設定是整顆100G硬碟不分割,裝XP Home
磁碟後段割了20G放還原系統的工具&Image
這什麼鳥設定….系統如果重灌,整個硬碟裡的資料都沒啦~
所以我把他分割,換成XP Professional(嘿嘿…學校有買全校授權啦~是正版序號喔)
但是竟然有資源衝突!?之前沒注意Home Edition有沒有衝突,不過可以確定是很多網友都有這個問題。
是沒什麼影響,不過看了很不順眼。(偶而會整個系統crash死當,不知道是不是這個衝突造成的,或是RAM?)
Xilinx 8.x + ModelSim 6.x …小小筆記
@設定Xilinx的Intergate Tool
Read Full Post | Make a Comment ( None so far )剪裁PDF檔多餘的空白用於列印
Acorbat Reader Professional
[工具] – [進階編輯工具] – [裁剪工具]
上面的紅色框:要剪掉的區域範圍
下面的紅色框:是否套用到全部投影片
完成!
Read Full Post | Make a Comment ( None so far )doxygen + graphViz
Doxygen可以幫助理解閱讀程式,如果加上graphViz更可以產生圖表graphVic只要安裝即可,不需任何設定所有的設定步驟都在doxygen進行真的很簡單,要注意的一點:所有的資料夾路徑中,不可有中文字!
執行DoxyWizard,第一步:點選Wizard
看圖片說明就知道了
Read Full Post | Make a Comment ( None so far )« Previous Entries



