30 一月, 2007 03:36
今天发现,前天才腌的腊八蒜竟然有几瓣绿了。按说不会那么快的呀。
而且放腊八蒜的地方离暖气很远,靠近阳台门,温度相对比较低的。
继续观测...
28 一月, 2007 05:49
今天摆弄起dia来,用它画UML。但是光画成UML,不能导出生成代码,仍然是个痛苦的事情。
为此想用umbrello来着,可是我用的 桌面环境,不支持KDE,无法安装umbrello。只好作罢。
找到uml2php,能够将dia生成PHP代码。遗憾的是只有LINUX版本。 后来找到了dia2code这个好东西。他支持导出多种代码。
# dia2code
dia2code version 0.8.2, Copyright (C) 2000-2001 Javier O'Hara
Dia2Code comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; read the COPYING file for details.
Usage: dia2code [-h|--help] [-d <dir>] [-nc] [-cl <classlist>]
[-t (ada|c|cpp|idl|java|php|php5|python|shp|sql|csharp)] [-v]
[-l <license file>] [-ini <initialization file>]<diagramfile>
要将dia文件生成PHP代码,很简单:
# dia2code -t php test.dia
28 一月, 2007 03:27
自从在巧儿家吃过腊八蒜后,就喜欢上腊八蒜了。
墨绿色,吃起来有些辣,有些甜。
去年腌的腊八蒜早就吃完了,一直等着今年的腊八来临。可惜昨天忘记是腊八了, 因而没有买蒜,也就没有腌成。
今天已经是初九,将就将就吧。呵呵
09 一月, 2007 06:50
http://www.nongnu.org/gcmd/keys.html
Keyboard mapping for GNOME Commander v1.2
-----------------------------------------
F1 Help
F2 Refresh files in the active file list
F3 View files
F4 Edit files
F5 Copy files
F6 Rename or move files
F7 Create directory
F8 Delete files
F9 Search
F10 Quit
ALT+1 Change left connection
ALT+2 Change right connection
ALT+F3 View with external viewer
ALT+F7 Search
ALT+F8 Open the history list for the command line
SHIFT+F2 Compare directories
SHIFT+F3 View with internal viewer
SHIFT+F4 Edit a new file
SHIFT+F5 Make a copy a file in the current directory
SHIFT+F6 Rename a file
SHIFT+F10 Bring up the context menu for the selected files
CTRL+F3 Sort by name
CTRL+F4 Sort by extension
CTRL+F5 Sort by date/time
CTRL+F6 Sort by size
CTRL+F7 Unsorted
CTRL+SHIFT+F5 Create symbolic link
= Select files using a pattern
NUM + Select files using a pattern
NUM - Unselect files using a pattern
NUM * Invert selection
NUM / Restore selection
CTRL+NUM + Select all files
CTRL+NUM - Unselect all files
CTRL+= Select all files
CTRL+- Unselect all files
ALT+NUM + Select all files with the same extension
ALT+NUM - Unselect all files with the same extension
CTRL+A Select all files
CTRL+SHIFT+A Unselect all files
INSERT Select file or directory
SPACE Select file or directory (as INSERT). If SPACE is used on an
unselected directory under the cursor, the contents in this
directory are counted and the size is shown in the "full" view
instead of the string <DIR>
ALT+ENTER Show properties for the selected file
ALT+SHIFT+ENTER The contents of all directories in the current directory are
counted. The sizes of the directories are then shown in the
"full" view instead of the string <DIR>
BACKSPACE or LEFT or CTRL+PageUp
Change to parent directory (cd ..)
ENTER Change directory or execute command line if not empty
SHIFT+ENTER Execute command line in the defined terminal and leaves the
terminal window open
RIGHT or CTRL+PageDown
Change directory
ALT+LEFT Go back to the last visited directory
ALT+RIGHT Go forward to the next visited directory
CTRL+ Go to the root directory
CTRL+` Go to the home directory
DELETE Delete files
CTRL+C Copy files to clipboard (not a global one yet)
CTRL+X Cut files to clipboard (not a global one yet)
CTRL+V Paste from clipboard to current dir (not a global one yet)
CTRL+D Open favourite directories (bookmarks)
CTRL+M Multi-Rename-Tool
CTRL+T Multi-Rename-Tool
TAB Switch between left and right file list
CTRL+U Switch between left and right file list
CTRL+. Copy the current working directory from the inactive file-list
to the active one
CTRL+SHIFT+. Copy the current working directory from the active file-list
to the inactive one
CTRL+R Refresh the active file list
CTRL+O Options dialog
CTRL+SHIFT+H Toggle hidden files on/off
CTRL+SHIFT+= Set both panels equal
CTRL+G FTP Quick Connect
CTRL+F Connect to FTP server
CTRL+SHIFT+F Disconnect from FTP server
ALT+Letter(s)
CTRL+ALT+Letter(s)
Quick search for a file name (starting with specified letter)
in the current directory
Letter Redirect to command line, cursor jumps to command line
ESC Clear the command line
CTRL+K Delete to the end of line
CTRL+W Delete the word to the left of the cursor
CTRL+T Delete the word to the right of the cursor
CTRL+P Add the full path of the current directory to the command line
CTRL+ENTER Add the file name under the cursor in the source directory
to the end of the command line
CTRL+SHIFT+ENTER
Add the file name under the cursor including its path
to the end of the command line
CTRL+DOWN or ALT+F8
A list with the latest command lines (history list) is opened.
Use the UP and DOWN cursor keys to select an entry. By pressing
the LEFT or RIGHT key, you can edit the command line. This
automatically closes the list
03 一月, 2007 09:26
03 一月, 2007 09:19
02 一月, 2007 19:46
昨天看到一篇博客说gaim-2.0.0beta5直接支持qq了。
我也到posts里make了一个,果然直接就支持qq了,不需要另外再安装openq。
不过用户多个帐号登录方面,觉得不如1.5版的方便。
但是运行qq时,没有以前那么耗资源了。
01 一月, 2007 22:59
之前为在X桌面上使用支持简体中文的终端而烦恼。rxvt只支持繁体,xterm支持也不好。
有段时间用Eterm,很不幸,刚安装好,可以使用。但是重启后,就不能使用了。懒得调试,还是找个好用,稳定些的吧。
于是跑到google上搜,别说摆渡了,怕了它。通过google,找到了mrxvt 。http://materm.sourceforge.net/
看说明对简体中文支持还是不错的。于是安装使用,感觉良好。下面介绍安装和配置方法。




