2011-07-30

利用 GRUB2 讀取 Ubuntu ISO (Using GRUB2 to load Ubuntu ISOs)

每次安裝新系統都要燒錄光碟吧……很浪費呢……
用外置裝置吧……要將裝置中的資料備份,再格式化裝置,再將映像檔寫入……
但若果沒有以上的裝置,哪如何安裝新系統?
If you want to install a new system to your harddisk,
You need write a install disc, it is a little bit waste.
Use external device ... you need to backup the data in this external device,
format the external device, build the image to the external device ...
However, if you don't have these devices, how could you install a new system ?

2011-07-11

實用的 7-Zip 指令

7-Zip 是一種跨平台、開放源碼、免費、強大的壓縮工具

但是,7-Zip 只在 Windows 提供界面,若使用其他作業系統,例如 Linux 及 Macintosh 便沒有界面
當然你仍然可以使用其他具有界面,能整合 7-Zip 的壓縮工具
但若果你在完全沒有用戶界面的情況下,如何使用 7-Zip 壓縮資料?

2011-06-29

利用 Java 發送 HTTP POST 請求 (Using Java to send HTTP Request with POST method)

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.net.URLConnection;

2011-06-06

讓 Spreadsheet Excel Writer 的字串斷行 (Line Break in Spreadsheet Excel Writer)

先編寫一個使用 Spreadsheet Excel Writer 輸出 Excel 檔案的 php 文件
並在儲存格中加入 \n 來將字串
Write a simple PHP file using Spreadsheet Excel Writer to export Excel file
見下文

2011-03-23

在 OpenOffice.org Calc 重覆列印列或欄 (Repeat printing row(s) or column(s) in OpenOffice.org Calc)

見下文
格式 -> 列印範圍 -> 編輯
選取合適的範圍、重覆的列或欄,然後按確定
但有時會出現錯誤
Format -> Print Ranges -> Edit
Select the suitable range, repeat row(s) or column(s), then press OK
However, sometimes an error will occur