andelf fledna Feather

2008年8月14日星期四

fix lispbox problem

fledna@debian:~/lib/lispbox-0.7$ ./lispbox.sh

/home/fledna/lib/lispbox-0.7/emacs-22.1/bin/emacs: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory

just:

fledna@debian:~/lib/lispbox-0.7$ sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

Why lisp

For most languages, however, the payoff isn't so easily categorized; it has to do with subjective criteria such as how it feels to use the language. Perl advocates like to say that Perl "makes easy things easy and hard things possible" and revel in the fact that, as the Perl motto has it, "There's more than one way to do it."1 Python's fans, on the other hand, think Python is clean and simple and think Python code is easier to understand because, as their motto says, "There's only one way to do it."

2008年8月8日星期五

math.h in gcc

math.h in gcc

记得加 -lm

也就是 libm

debian 重新配置 Xorg

debian 安装桌面环境以后, 进入系统发现分辨率很低, 重新配置下 xorg.conf 竟然没有默认配置.

sudo dpkg-reconfigure xserver-xorg

即可.

debian 字体安装

debian 字体安装

简单记下, 每回都是用 TAB 搞定的, 丢人...

/etc/X11/xorg.conf 里包含路径定义

FontPath "/usr/share/fonts/...."

目录在 /usr/share/fonts

sudo mkfontscale

sudo mkfontdir

sudo fc-cache -f -v

字体配置:

sudo dpkg-reconfigure fontconfig

PS: 爱用 文泉驿正黑