Posts for: #Tech

时间管理程序tracks安装

DBA notes看到他装了个GTD(Getting Things Done)工具tracks,这种时间管理、日程管理的工具我试用过不少,比如webcalendar、todolist、google calendar等。

本来是想用google全系列产品包括calendar的,也认真试了段时间,可却有不少不满,比如它只能导出,不能导入日志,比如不能看到我实际上未完成的工作,应该说,日程管理工具中,google calendar和webcalendar相当不错了,就是这个无法填写工作完成与否,让我不太喜欢。todolist倒是基本满足需求,可惜它是一个PC端的应用程序,我现在不太愿意用笔记本电脑,为了保持家里与公司电脑的一致,自然是能用web应用的,就尽量使用web应用,嗯,因此看到tracks,我又起了试一试的念头。

本以为在debian上安装很简单,谁知道竟然花了我整整半天时间,记录一下,以后万一要重装,好歹能想起来(用mysql用烦了,这回采用轻量级的sqlite3,备份起来也方便些):

1、安装ruby apt-get install ruby1.8 ruby1.8-dev 如果要用apache启动,还需要装上irb1.8

2、安装rubygems 在http://www.rubyonrails.com/down下载rubygems tar zvfx rubygems-0.8.1.tgz ruby install.rb

3、安装rails gem install rails -include-dependencies

4、安装sqlite3、sqlite3-dev和sqlite3-ruby apt-get install sqlite3 libsqlite3-dev gem install sqlite3-ruby

5、按文档中配置好config、log、db等目录及配置文件、数据库文件 6、运行rake migrate,如果没有错误提示,运行/usr/bin/ruby script/server应该就能跑起来了。(如果用Apache,跳到第9步) 7、用系统自建的WEBrick,在/var/init.d/目录下新增tracks文件,并链接到/etc/rc2.d/,tracks文件内容如下:

#! /bin/sh set -e

export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"

case “$1” in start) echo -n “Starting Tracks” start-stop-daemon –start –chuid wlj –exec /usr/bin/ruby – /home/wlj/htdocs/gtd/script/server -d -e production echo “.” ;; stop) echo -n “Stopping tracks” start-stop-daemon –stop –quiet –oknodo –retry 30 –exec /usr/bin/ruby echo “.” ;;

[阅读全文]

再试试FreeMind的测试版0.8.1Beta4

FreeMind测试版本的下载地址变了,下午有点时间,下回来接着用。 0.8.1 Beta4 的变化包括了:

Changes made in FreeMind 0.8.1 Beta 4

  • Paste and Encrypted Node register new attributes in the attribtue registry correctly
  • Bug fix for Attribute Registry
  • Button on/off removed from Filter Toolbar
  • Standard filter conditions “No Filtering” and “Selected Nodes” added to Filter Toolbar
  • Pattern: Duplicate, create from nodes, intersection of patterns from nodes.
  • Bug fix im Browser Toolbar: the browsed file was loaded twice, if its name was typed in the combobox
  • Attribute View Type is saved in a Mind Map document
  • Changes from Henning Dierks (thanks!): node selection and text field background colors adjusted.
  • NodeView has got a new multi component capable layout manager
  • Export of local hyperlinks to XHTML/HTML with image corrected.
  • VariableSizeCardLayout implemented for Preference Dialog
  • Automatic layout preference design bugs fixed
  • Merged with Attribute Version

这个《了解铁卷》的flash就是用Freemind做出来的,很棒吧。

[阅读全文]

/etc/hotplug/blacklist

新装的 debian 服务器在启动时出现这样的错误: pciehp: acpi_pciehprm:SB.PCI0 _HPP fail=0x5 pciehp: acpi_pciehprm:SB.PCI0 OSHP fails=0x5 pciehp: acpi_pciehprm: Slot sun(1) at s:b:d:f=0x00:00:08:ffff shpchp: acpi_shpchprm:SB.PCI0 _HPP fail=0x5 shpchp: acpi_pciehprm:SB.PCI0 OSHP fails=0x5 shpchp: acpi_shpchprm: Slot sun(1) at s:b:d:f=0x00:00:08:ffff

现在懒了,凡事不求甚解,反正不影响使用,直接在 /etc/hotplug/blacklist 的末尾加上两行:

pciehp shpchp

再 dmesg 看看,凑合了,只要看不到错误信息,就行啦。

Microsoft Private Folder

在Windows正版增值特价产品中看到Microsoft Private Folder 1.0,微软自己的宣传是:

1、界面友好,简单易用,采用先进的文件系统驱动技术及安全可靠的加密算法; 2、实现了与Windows文件系统的无缝集成; 3、没有与Windows 的登陆账户绑定,即使系统崩溃或重装,加密数据也可轻松恢复;

乍一看也是文件防泄露,既然做着铁卷电子文档安全系统,就该了解,于是下载安装了。感觉却比较一般。 安装完毕后,桌面上会有个“我的密码箱”,密码箱一旦打开,会有个托盘图标,提供少量几个配置选项:

初步感觉不足之处至少有:

1、密码仅支持字母(a-z和A-Z)以及数字(0-9),所以,当我不幸用了包含大小写字母和特殊字符的强壮密码时,反而得到一个“低或不符合要求”的评价。

2、存储位置放在c:document and settingsuser下面,没有提供修改存储位置的选项,很不方便。 3、不能为任意目录加锁,只能将想保护的文件拷进该文件夹,应用不方便。 4、仅支持XP Home Edition, Windows XP Professional, Windows XP Media Center Edition。