2007年12月30日 星期日
2007年12月20日 星期四
工作過量卻不過勞的六個方法
From: http://tw.news.yahoo.com/article/url/d/a/071220/61/q9h1.html
根據洛桑管理學院(IMD)全球競爭力報告,2006年台灣平均工時為2,256小時,謹略低於韓國2,439小時、墨西哥2,385小時、香港2,348小時,以及印度2,277小時。
【工作量大不過勞的六個方法】
《威力午睡》越來越多醫學報告證實,工作日下午抽空睡20-30分鐘,有助於提升工作效率、降低錯誤以及減少人際衝突。這種短而有效的充電方法。
openSUSE 提供的 KDE4 Live CD
- 版本:KDE 4.0 RC2+ (3.97.1 snapshot, package list). The CDs contain all modules of KDE 4, KOffice 2 SVN and extra plasmoids.
- Screenshot: http://home.kde.org/~binner/kde-four-live/KDE-Four-Live.i686-0.7.2.png
Firefox Add-ons
- ScribeFire (previously Performancing for Firefox) is a full-featured blog editor that integrates with your browser and lets you easily post to your blog.
標籤: FirefoxAdd-ons
2007年12月19日 星期三
Array 與 sizeof operator
假設我們使用的平台 int 是 4 個 bytes,來看以下程式片段:
int a[5];得到的結果為:
printf("sizeof(a) = %d", sizeof(a)); /* [1] */
printf("sizeof(a[0]) = %d", sizeof(a[0])); /* [2] */
printf("Num of elements = %d", sizeof(a)/sizeof(a[0])); /* [3] */
- 20 (array a 有 20 個 bytes)
- 4 (每個 element 為 4 bytes)
- 5 (共有 5 個 elements)
[健康] 常練雙腿 預防衰老
FYI: http://tw.news.yahoo.com/article/url/d/a/071219/4/q6lx.html
經常活動你的雙腳不但頭好壯壯、體力也好,更可以預防衰老,但是使用不當也會讓你的腳踝受傷,萬華醫院復健科主任蕭竹生建議,常踩楔形墊練習正確的走姿,可保足部安全。
2007年12月18日 星期二
Kubuntu 7.10 安裝後,重開機畫面漆黑解法
修改 /etc/usplash.conf,將
xres=1280改成
yres=1024
xres=1024再執行
yres=768
sudo update-initramfs -u -k `uname -r`
FYI: Ubuntu 正體中文站 - ubuntu 7.10 開機變慢 [論壇 - Ubuntu安裝問題]
2007年12月16日 星期日
Source Insight 調行距
[Options]->[Preferences]->[Display]->[Spacing]->[Vertical Spacing]:
不要勾 "Smaller line heights (reduces font leading)
標籤: SourceInsight
2007年12月14日 星期五
2007年12月13日 星期四
[健康] 上班族背部酸痛是誰惹的禍?兩大簡易保養大公開
From: http://tw.news.yahoo.com/marticle/url/d/a/071210/10/po3i.html?type=new
更新日期:2007-12-09
記者:文/謝明玲 插圖/鄭佳玲
上班族腰酸背痛是否是脊椎側彎?
側彎的人又該如何保養自己?四十歲的陳經理是業務出身。在外跑業務,經常抱資料和近兩公斤的手提電腦四處奔波;回到公司,就是緊連幾小時不離座位盯著螢幕;常常還要邊夾著電話邊打字,一歪頭,就是四、五十分鐘。
2007年10月24日 星期三
gtk-chtheme - GTK+ 2.0 theme changer and previewer utility
2007年10月23日 星期二
一些專有名詞
pilot run 試產
engineering sample (ES) 工程樣品
marketing communication (marcom) 行銷傳播
Powered by ScribeFire.
2007年10月21日 星期日
Prolific PL2303 USB to serial adaptor driver for Linux
1 /*
2 * Prolific PL2303 USB to serial adaptor driver
3 *
4 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
5 * Copyright (C) 2003 IBM Corp.
6 *
7 * Original driver for 2.2.x by anonymous
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License.
12 *
13 * See Documentation/usb/usb-serial.txt for more information on using this driver
14 *
15 */
Debian Lenny Release schedule
依據"Release Team Meeting results (the Juelich Edition)":
Now on to the draft of the timeline:
August 2007Of course, "Early September" is only an internal goal as of now, the
Start of the first BSP marathon for Lenny, lasting till November. [1]
Early September 2007
The list of release blockers for Lenny is frozen.
Early March 2008
Very soft freeze: Please be extra careful with new versions, and new
transitions. At this point, the list of release goals is frozen.
Start of the second BSP marathon for Lenny.
Early April 2008
Freze of the essential toolchain.
Mid of June 2008
Freeze of the non-essential toolchain and all libraries.
Mid of July 2008
Full freeze.
Early September 2008
Release!
official communications is "in the second half of 2008".
[1] http://wiki.debian.org/BSPMarathonLenny
利用 bootchart 來分析 Linux 系統的啟動過程
Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process. Resource utilization and process information are collected during the boot process and are later rendered in a PNG, SVG or EPS encoded chart.
在 Debian 中,只要 aptitude install bootchart 即可。之後要去修改 /boot/grub/menu.list,在 kernel 的後面加上 init=/sbin/bootchartd,如:
title Debian GNU/Linux, kernel 2.6.18-5-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sda1 ro init=/sbin/bootchartd
initrd /boot/initrd.img-2.6.18-5-686
savedefault
2007年10月20日 星期六
Debian 下看系統硬體資訊
1. lspci
user@debian:~$ lspci2. lshw
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA II] PCI Display Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware Inc Unknown device 0790 (rev 01)
02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
02:01.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
user@debian:~$ lshw3. lshw-gtk (The GTK+ Version)
debian
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 128MB
*-cpu
product: Intel(R) Pentium(R) M processor 1.80GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 6.13.6
size: 1800MHz
width: 32 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss up
*-pci
description: Host bridge
product: 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
vendor: Intel Corporation
physical id: 100
bus info: pci@00:00.0
version: 01
width: 32 bits
clock: 33MHz
[...以下略...]
2007年10月19日 星期五
2007年10月17日 星期三
A simple debug macro
#undef TRACE
#undef TRACEX
#if 1
# define TRACE printf
# define TRACEX(X) \
printf("<%s:%s():L%u> ", __FILE__, __FUNCTION__, __LINE__); \
printf##X;
#else
# define TRACE(...)
# define TRACEX(...)
#endif
Powered by ScribeFire.
2007年10月16日 星期二
2007年10月15日 星期一
8051 Simulator
- EdSim51 - The 8051 Simulator for Teachers and Students - A virtual 8051 is interfaced with virtual peripherals such as a keypad, motor, display, UART, etc. The student can write 8051 assembly code, step through the code and observe the effects each line has on the internal memory and the external peripherals.
- MCU 8051 IDE - Fully featured Integrated Development Enviroment for 8051, for POXIS systems (like GNU/Linux), written in Tcl/Tk. It constist of advanced text editor with syntax validation, assembler, disassembler, simulator, scientific calculator any many other things.
- Electronic simulator 8051 - This software can be used to very simple show how to 8051 working. You can very simple conect to procesor gates, LED-s, switch ...,and load software to procesor and see rezult, how all device will work.
2007年10月14日 星期日
Linux Runlevels
從 Initialization sequence in GNU/Linux 摘錄出來:
A runlevel describes the basic running state of the system
There are a number of runlevels that are, by convention, used to describe a working Linux system, with 2 or 3 being usual for a multi-user configuration. The complete list is given below (according the Linux Standards Base - LSB).
- Runlevel 0 (halt) - Shuts down everything and brings the system to halt.
- Runlevel 1 (single user) - Useful for maintenance work.
- Runlevel 2 (multi-user) - multi-user, but with no network services exported.
- Runlevel 3 (multi-user) - normal/full multi-user mode.
- Runlevel 4 (multi-user) - reserved for local use. Usually the same as 3.
- Runlevel 5 (multi-user) - multiuser, but boots up into X Window, using
xdm
, or similar. - Runlevel 6 (Reboot) - As 0, but reboots after closing everything down.
Most systems default to 2, 3 or 5.
Firefox 的記憶體釋放
在參考了 Goston’s Blog » [FF] Firefox 的記憶體釋放 與 Mozilla Taiwan 討論區: FF 2.0.0.7 沒了config.trim_on_minimize? 後。我也想來試試看效果好不好。
因為我是用 Firefox 2.0.0.7,要啟用 config.trim_on_minimize,就要自己加,作法如下:
- 在自己帳號下的 Firefox profile 目錄(如:C:\Documents and Settings\<帳號>\Application Data\Mozilla\Firefox\Profiles\<亂數名目錄>),建立一個 user.js 檔。
- user.js 內容為:
- 重開 Firefox 即可。
// Allow Windows to swap out memory when the program is minimized
user_pref("config.trim_on_minimize", true);
What's the difference between Versatile PB and Versatile AB?
轉錄自:http://arm.embedinfo.com/news-list3.asp?id=246
Q: What is the difference between Versatile PB and Versatile AB?
A: Versatile PB and Versatile AB are software compatible. Versatile PB is designed for
SoC designer and software developer. Versatile AB is only intended for software
developer.
2007年9月28日 星期五
zenity - Display graphical dialog boxes from shell scripts
Zenity is a tool that allows you to display GTK dialog boxes in commandline and shell scripts.
Zenity allows you to display GTK+ dialogs from shell scripts; it is a rewrite of the `gdialog' command from GNOME 1.
Zenity includes a gdialog wrapper script so that it can be used with legacy scripts.
FYI: Thinker: zenity - A GTK+ Dialog
gdebi - Simple tool to install deb files
gdebi lets you install local deb packages resolving and installing its dependencies. apt does the same, but only for remote (http, ftp) located packages. This package contains the graphical user interface.
gdebi-core - This package contains the libraries and command-line utility.
2007年9月26日 星期三
htop - an interactive process viewer for Linux
This is htop, an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses. Tested with Linux 2.4 and 2.6.
真是一整個賞心悅目啊!
2007年9月20日 星期四
將 Java bytecode 轉成 Windows executable 的工具
- JavaWorld@TW - Java --> Exe
- JexePack -- Java application to Windows EXE Packager
- JSmooth - Java Executable Wrapper
- Launch4j - Cross-platform Java executable wrapper
- NativeJ - Java EXE / Executable Maker
2007年9月19日 星期三
Debian 上安裝 X
記得剛開始學Debian的時候,要安裝 X,我很清楚的記得是:apt-get install xserver-xorg x-window-system-core,裝上這兩個套件就搞定了,之後就是再決定要哪套桌面環境。
不過在 Etch release 之後,要裝 X,只要:aptitude install xorg 就搞定了。
目前 x-window-system-core 的 package description:
This package is provided to smooth upgrades from Debian 3.1 ("sarge") to Debian etch. It may be safely removed from your system. It depends on the xorg package which is the new metapackage for installing the X Window System in Debian.
2007年9月18日 星期二
ThinkPad 服務中心
FYI: http://www-07.ibm.com/lenovoinfo/pc/support/tw/tp_centre2.html
免付費專線:7天24小時的免費技術支援專線 0800-000-700 #2#1
設定Programmer's Notepad的JAVA開發環境...
在[Tools]=>[Options]裡面的[Tools]選項,在Scheme的地方選Java,然後按右邊的Add按鈕,新增:
1. javac:
Command: C:\Program Files\Java\jdk1.6.0_01\bin\javac.exe
Parameters: -classpath %d %d%f
2. java:
Command: C:\Program Files\Java\jdk1.6.0_01\bin\java.exe
Parameters: -classpath %d %n
然後就可以從[Tools]選單裡面看到javac跟java兩個按鈕。而Java程式編譯與執行的結果,會秀在最下面的Output視窗。
2007年6月23日 星期六
[Career職場情報誌] 職場新兵 成熟度請多加油!
當前許多職場Me世代要不是「晚熟」,就是根本不想成熟,不論工作態度、紀律或待人處世,都有大幅加強的必要。
日本首席管理大師大前研一指出,世界級企業家多半在30歲前,就抓住潮流展露才華。能在30歲前成大器者,多半具備成功者的成熟心態,也就是20幾歲時有30幾歲的思考與眼界,才能在30歲時輕易達陣。
然而,當前許多職場Me世代要不是「晚熟」,就是根本不想成熟。邁爾斯通公關公司總經理王真真說,在全球化競爭下,現在年輕世代面臨比過去更嚴苛的挑戰,但許多年輕人在工作態度、紀律與待人處事上,卻比前輩工作者薄弱,令人憂心。
在 Arch Linux 下設定 ADSL 連線
設定 ADSL 所需要的安裝套件 rp-pppoe 以及 ppp,是包含在 base 裡面,所以在安裝的時候,預設就會被安裝。設定的時候,是透過 pppoe-setup 這個 script 來設定(Debian 是用 pppoeconf),設定好之後,要啟動可以透過 /etc/rc.d/adsl 來作 start/stop/restart,或是直接用 pppoe-start, pppoe-stop, ... 來控制也可以。
Blogger 最新回應程式產生器
找到了一個好東西:堯@部落格: Blogger最新回應程式產生器(5/27更新),簡單填一些設定就可以產生直接可用的程式碼,我把產生的程式碼透過 blogger 的[加入網頁元素]的功能放到最右邊的 panel 上,這樣要看有沒有人留言就很方便啦。
[Arch Linux] 安裝顯示晶片驅動程式
在 VMware 裡,以及我的 X32 上,安裝 Arch 後,發現螢幕的更新頻率都被設成 76Hz,而且沒有其他選項可以選擇,看了一下 driver 都是 xf86-video-vesa。於是我在VMware裡的Arch,安裝了 xf86-video-vmware,然後再去改 /etc/X11/xorg.con 裡的:
Section "Device"將Driver由 vesa 改為 vmware。重新進 X 之後就可以設定成 60Hz 了。
Identifier "Card0"
#Driver "vesa"
Driver "vmware"
VendorName "All"
BoardName "All"
EndSection
2007年6月21日 星期四
程式編輯器 for Windows
在 Windows 上寫程式,之前我都用 Notepad++,因為很喜歡它的 syntax highlighting style 和 indent guide 這個功能,它也可以秀出檔案內的 function name,像是 Vim + Taglist 一樣,可是也僅只能秀 function name。 今天一早突然想到更久之前有用過的 Programmer’s Notepad 不知道現在進步到怎樣了,於是就試了一下最新的 Version 2.0.7.667,結果,就一試成主顧了,目前用起來感覺很棒,而且還是 free + open source,這麼好的東西哪裡找啊。讚!
2007年6月20日 星期三
Tiddlyspot
才覺得 Tiddlyspot 用起來不錯,怎麼用沒幾下就給我出包了,現在我的網頁開起來就直接丟一堆有問題的Javascript還是什麼鬼的給我看,恩,掰啦.....orz
標籤: tiddlyspot, tiddlywiki
升級pacman到3.0.5-1看到的新功能...
1. 新的rankmirrors script(需要安裝python),先把/etc/pacman.d/裡面的server靠近你的放在最上面,然後不需要的可以刪掉,再丟給rankmirrors去排。
2. 在makepkg.conf裡的CFLAGS/CXXFLAGS,可以設定-mtune=generic (Build pkg for others with gcc4.2) 或 -mtune=native (For local optimized builds)。
2007年5月22日 星期二
2007年5月19日 星期六
2007年5月17日 星期四
記帳簿
現在開始嘗試著來記自己每天的花費、房租、水電費等等,還好網路上有人提供了精美的記帳 Excel 檔,叫作:2007年度電子式家庭計算簿(記帳本),更幸運的是,我用 OpenOffice.org 2.2.0 開起來是可以用的,有這麼好用的東西,當然要好好利用一下。
2007年5月9日 星期三
Lantronix Networking Tutorials
Lantronix Networking Tutorials
In today’s Internet age, the corporate network is truly the lifeblood of business. As the success of any organization becomes increasingly intertwined and dependent on its network it is crucial to understand the latest in networking technology. And as device networking increases the number of things connected to networks and the Internet, rapidly making M2M (machine to machine) a reality, speed, remote management, wireless networking, reliability and the security of networked devices are all concerns that must be addressed.
標籤: Networking, Tutorial
Ethernet 實體層規格命名方式
出自:TCP/IP 協定 觀念與實作, 第二版(施威銘研究室著)
10Base5[T/F]
- 10: 頻寬為 10Mbps
- Base: 訊號類型為『基頻(Baseband)』。『基頻』代表以數位信號本身的基本頻率傳送;『寬頻(Broadband)』代表以類比信號來搭載數位信號,此時類比信號為載體,而數位信號才是真正要傳送的資訊。
- 5: 介質最大傳輸距離為 500 公尺。
- [T/F]: 介質的代碼
- T: 雙絞線(Twisted pair)
- F: 光纖(Optical Fiber)
- T: 雙絞線(Twisted pair)
Ultimate++
Ultimate++ is a C++ cross-platform rapid application development suite focused on programmers productivity. It includes a set of libraries (GUI, SQL, etc..), and an integrated development environment.
2007年5月8日 星期二
Prentice Hall 提供的免費電子書
位置:Perens Series Page
Prentice Hall PTR is proud to publish the Bruce Perens' Open Source Series with Bruce Perens, Series Editor. This Series focuses on Linux and Open Source technologies, including new and emerging technologies. It targets professional software developers, system and network administrators, and power users.
2007年5月7日 星期一
Java
Commands:
set PATH=C:\Program Files\Java\jdk1.6.0\bin;%PATH%JDK Download: http://java.sun.com/javase/downloads/index.jsp
java -version
javac HelloWorld.java
java HelloWorld
C/C++ Reference
C/C++ Reference 很棒的網站,要查 library 的東西可以先來這裡查,不過只有整理 ANSI standard 有的。最下面的 link 也可以點進去看一看。
2007年5月1日 星期二
統聯客運的首頁炸了 :P
http://www.ubus.com.tw/index.asp
錯誤訊息:
Microsoft OLE DB Provider for ODBC Drivers 錯誤 '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]資料庫 'ubus' 的記錄檔檔案已滿。請備份資料庫的交易記錄來釋放部分的記錄檔空間。
/webcounter.asp, 列26
2007年4月28日 星期六
增加繼續閱讀的功能
參考 月亮上的三腳貓: 讓Blogger有繼續閱讀功能,有效增加網頁讀取速度! 的步驟。
不過在最後 [設定]-->[格式]-->[文件範本]的設定,我是改成這樣:
// Abstract here<div id="fullpost">
//要隱藏的內容放這裡
</div>
Label cloud for Blogspot
參考了 Chagg's 嘴砲日記: 將Blogger Beta的Label作成Label Cloud 這一篇,幫自己的 blog 加上 label cloud 的功能,不過我在我的 template 裡找不到裡面講的
這一段程式碼,但是沒關係,直接加上新的那段即可。
2007年4月10日 星期二
Kubuntu Feisty
依據 https://wiki.ubuntu.com/FeistyReleaseSchedule 的日期, 4/12 會有 RC,4/19 就 release。
好久沒有這麼期待一個 distro 的 release 了,比當初在苦等 Arch Linux 0.8 還期待(目前已釋出)。從一個 Debian 的 user 變成 Kubuntu user,Feisty Beta 對我而言,已經非常好用了,雖然 Debian 也很棒,但是目前還想多玩一下 Kubuntu ;)
CD image download: http://releases.ubuntu.com/kubuntu/feisty/
2007年3月26日 星期一
程式碼字型
環境:
- OS: Kubuntu Feisty Beta
- 字型設定: anti-aliasing fonts + sub-pixel hinting (Hinting style: Full)
兩種比較喜歡的字型:
張貼者:
cyt
於
晚上11:52
標籤: font, programming
2007年3月6日 星期二
[FYI] Standard Gems: SimpleHTTPServer.test()
From Raving Techno Rant: Standard Gems: SimpleHTTPServer.test()
You can start up a web server from the current directory on port 8000 with a single line of python.
python -c "from SimpleHTTPServer import test; test()"Even simpler:
python -m SimpleHTTPServerPython Rules!!
2007年2月28日 星期三
[書] 生命中不可抗拒之喵 (2006/02/07 00:23)
這本書是關於一隻不平凡的貓。然而,任何一隻貓最不凡的部份,就是牠在主人身上造成的效應。養一隻貓,尤其是從小貓開始養,跟養小孩很像。你餵牠,盡你所能教育牠,跟牠說話,彷彿牠聽得懂一樣──你希望牠會因此而愛你。牠的獨立自主會讓你抓狂。牠就像小孩子一樣,讓你湧起一股想要保護牠不受傷害的強烈慾望。牠很小,很脆弱,抱起來很舒服──當牠願意讓你抱的時候。牠嘔吐的週期跟小孩子也差不多。
[隨筆] 過年 (2006/02/07 00:22)
基本上,不管有沒有過年,放不放假,我回家之後都是在當米蟲,
每天只有吃飯、睡覺跟看電視 orz
今年過年比較特別的是,我們家多了一個成員,也就是我的貓,
一隻帶把的黑白相間米克斯(Mix)。
其實我沒想到把他帶回家之後,會給我們家帶來這麼多的歡樂。
從回到家之後,要讓他在哪裡活動,還有他的獨棟小公寓要放哪,
真的是蠻不好決定的,因為我很害怕他會把我家弄得天翻地覆,
終於,經過三遷之後,找到了一個好位置放貓沙屋跟他的食物和水。
他真的很乖,儘管好奇心很重而且很愛玩,可是都不會亂弄東西。
而且常常一些令人哭笑不得的舉動,惹得大家笑倒不已。
連平常不苟言笑的我老爸,都會想去逗逗他。
更誇張的是,我的親戚們來我家看我奶奶,發現我家怎麼多了一隻貓,
而且還這麼可愛跟好笑,每個人來都一直叫喵喵要跟他玩(雖然我姑姑們一直叫他咪咪 囧m)
差點造成了萬人空巷,絡繹不絕的奇景。
因為我整天沒事都在家,才發現原來他這麼會睡,而且睡覺的姿勢還真是千奇百怪,而且他真的睡著之後,怎麼作弄他,他都不會醒 :P
然後他被我們玩醒之後,會一臉茫然的看著身邊這幾個已經笑倒的怪人,伸伸懶腰之後,又繼續睡。也因此我拍了不少他睡著時候的好笑照片,看來可以出一個喵喵特輯之睡覺篇 :P
2007年2月22日 星期四
About Pot...
過年的這幾天,沒出去玩,守在電腦前的我,IRC 上的 channels 就是我的好朋友。
剛剛突然發現 #python.tw @ freenode 突然有很多人在討論,仔細去看了一下,原來是『Python 台灣使用者群組 (Python Taiwan User Group, PyTUG) 所建立與維護的 wiki 網站』成立了:
23:26 <> http://wiki.python.org.tw/ 現在有簡單的內容結構了,各位覺得這樣的初步規畫如何?引述網站內容:
23:26 <> 會不會太初步? :p
23:27 <> Python 是強大的動態語言,學了 Python 考試都考一百分 (廣告)。 先鼓掌一下
23:27 <> (舉手) (謝謝)
23:28 <> wiki --> 動手開始加東西進去就對了...
23:28 <> 不錯 XD
23:28 <> 最後自然會長出個樣子
PyTUG 是台灣一群愛好 Python 程式語言的人所組成的鬆散集合,python.org.tw 是我們在網路上的集散地。剛好 pot 是 Python.Org.Tw 這個 domain 的縮寫,所以我們用 pot 來當作自己在網路上的識別。突然覺得自己好像見證了歷史性的那一刻一樣,有種說不出來的感覺......
每個人每天都只有 24 個小時,在每個時間點,都可能有你意想不到的事情發生。有人在默默耕耘,有人無意義地虛度過。如果能讓自己的人生抹上一股精彩,在某個時刻,有人為你見證、喝采,那種感覺應該是很不錯的吧。
2007年2月21日 星期三
2007年2月20日 星期二
使用 KDM 啟動 KDE 後字型變小的問題
KDM version: 3.5.4-2+b1
要修改 ''/etc/kde3/kdm/kdmrc'',在 ServerArgsLocal 這個設定後面加上你希望的 dpi 值,如:
ServerArgsLocal=-nolisten tcp -dpi 96之後再重新進入 X 即可。
參考資料: http://wiki2.archlinux.org/index.php/KDE#Changing_DPI_settings_for_KDM:
2007年2月7日 星期三
apt-get update error: "E: Dynamic MMap ran out of room"
Modify /etc/apt/apt.conf:
APT::Cache-Limit "10000000";
2007年2月4日 星期日
2007年1月30日 星期二
Backyard Baseball 2005
Backyard Baseball 2005 是我很喜歡玩的一款遊戲,而且硬體需求也不高:
System Requirements:
. Windows 98, Me, 2000, XP
. Pentium III
. 500MHz
. 64MB RAM
. 600MB hard drive space
. 8MB SVGA Windows 98/2000/Me/XP DirectX 9.0-compatible video card
. Windows 98/2000/Me/XP DirectX 9.0-compatible sound card
. CD-ROM 8x
. DirectX 9.0 (included)
新版的 2007 也出來了,不過 Amazon 上的評價並沒有 2005 來得高。個人覺得這是一款很耐玩、 很有趣的遊戲,值得體驗看看。
在 VMware Player 裡安裝自己想要的作業系統
參考:VMware Player with your own Ubuntu installation
主要步驟如下:
取得作業系統映像檔,如:FC-6-i386-DVD.iso。
- 使用 qemu 提供的工具來建立所需要用到的 virtual disk,或是直接下載作者提供的 vmdk 檔案(有各式 size)。
- 依據自己的需求修改 vmx file,如 fedora.vmx:
- 直接點擊 fedora.vmx file,VMware Player 便會自動執行,開始安裝 Fedora。
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "5g.vmdk"
memsize = "256"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
#ide1:0.fileName = "auto detect"
#ide1:0.deviceType = "cdrom-raw"
ide1:0.fileName = "D:\Linux_Distro_Images\Fedora\FC-6-i386-DVD.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.present = "FALSE"
ethernet0.present = "TRUE"
usb.present = "FALSE"
sound.present = "FALSE"
sound.virtualDev = "es1371"
displayName = "Fedora"
guestOS = "Ubuntu"
nvram = "Ubuntu.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58"
uuid.bios = "56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58"
ethernet0.generatedAddress = "00:0c:29:7e:06:58"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = ""
ethernet0.connectionType = "nat
用 Putty 來連進 Cygwin 環境
PuTTYcyg is a patched version of PuTTY that, in addition to telnet, rlogin,目前最新版本:http://web.gccaz.edu/~medgar/puttycyg/putty-0.58-cygterm-20060525.tar.gz
and ssh, can also be used as a local Cygwin terminal instead of the Windows
console or xterm.
下載之後解壓縮,不需安裝,執行後出現 Putty 的畫面。Host Name 打 -,Protocol 的地方選 Cygwin,Open 後便可透過 Putty 的介面進入 current user 的 default shell。
在 Windows 上直接安裝 Debian/Ubuntu
兩個有趣的 projects:
相關新聞:
標籤: free-software