跳到主要內容

發表文章

Octave -- an alternative to Matlab

Trying to use Octave to substute Matlab/Scilab. Its manual can be found here . Here are some tips: 0. Add my m files to current path use path to display the current searching path copy my m file directory to /usr/share/octave/3.0.0/m/, where it will automatically load once octave is started. 1. Change text size: text(10, 2, '{\fontsize {18} Whatever }') legend('{\fontsize {24} legend item 1}') 2. Change text style xlabel( '{ \bf label name for x}'), where \bf stands for bold fonts \it stands for italic font \sl stands for oblique font \rm stands for normal font 3. Output option: print ("print_this.png", "-dpng", "-landscape") print ("print_this.ps", "-dpsc", "-landscape")

OpenOffice.org網頁表格轉成Calc文件

用OO.o開html表格會有中文顯示成亂碼的問題,例如本校的付款資料。目前解決的方法: Save the html file and open it with Firefox Select the entire html document and Copy it. Open a new html document in OO.o Paste the copied html document to OO.o. The table and Chinese characters should be displayed in the right way. Select the table only and Copy it. Open a new spreadsheet in OO.o and paste the copied table 這樣利用Firefox開啟,解決中文顯示問題,利用OO.o的html編輯能力,把資料轉成OO.o的Calc試算表格式。

Merge 2 emails together

This is specifically for the email that was sliced into several messages possibly by MS Outlook Express. Now here are the procedure: save each attachment to one file cat those files together into one big file rename this one big file to one.eml use Thunderbird to open this one.eml

交大土木的Google結果

ubuntu 8.04 設定筆記

選用的是32-bit版本,在Athlon 64 X2的機型也是安裝32-bit版,因為lazybuntu的關係。 lazybuntu 改為 lazyscript Fat32檔名被改為000的問題 改成不自動mount,等進入系統再點兩下掛載(參看 Ubuntu正體中文站討論區 ) 安裝套件 指令:dpkg或使用Synaptic (就是dpkg的圖形介面) dpkg 與 rpm 的 對照 (來源:Jamyy's Weblog) 雙螢幕設定 sudo apt-get install nvidia-settings 啟用驅動程式:系統 管理 硬體驅動程式,勾選『啟用』 sudo nvidia-settings For more detail, refer to Ubuntu 8.04 Nvidia Driver Setting for Dual Screens Deal with chewing Ctrl-1 to type symbols or use gcin instead or use lazybuntu 懶人包 Restart X window: Ctrl-Alt-Backspace Install compiz and other visual effects see this post at Billypan's Blog Also need compizconfig-settings-manager and simple-ccsm from Nelson For screenlets, see this pos t at 西瓜田裡的牛 中文編碼:如果想要把系統字元編碼改成Big-5,參看 灰色地帶 連接 藍芽滑鼠 解決Skype Webcam 當機問題 Backup solution: use a graphic version of rsync: grsync. It has the ability to backup file system incrementally and propagate deletion when specified. (The idea was from psychocats.net)