Z's space

2012-04-10

薄熙来被调查,其妻涉嫌谋杀

Filed under: Politics — by zhuqy @ 13:09
Tags:

新闻来源:
薄熙来被调查
薄谷开来涉嫌谋杀

题西林壁

Filed under: 诗词 — by zhuqy @ 12:53
Tags: , ,

题西林壁
 宋·苏轼

横看成岭侧成峰,
远近高低各不同。
不识庐山真面目,
只缘身在此山中。

2012-04-02

望庐山瀑布

Filed under: 诗词 — by zhuqy @ 15:50

望庐山瀑布
李白

日照香炉生紫烟
遥看瀑布挂前川
飞流直下三千尺
疑是银河落九天

2012-03-26

绝句

Filed under: 诗词 — by zhuqy @ 16:17

绝句
杜甫

两个黄鹂鸣翠柳,
一行白鹭上青天。
窗含西岭千秋雪,
门泊东吴万里船。

2012-03-21

Running VAX/VMS Under Linux Using SIMH

Filed under: Computing — by zhuqy @ 17:46
Tags: ,

Recently I am playing with OpenVMS with SIMH. The document at Running VAX/VMS Under Linux Using SIMH greatly helps me for the installation and setup.

A few things changed since the document written.

First the latest code for SIMH could be retrieve from SIMH at GitHub.  It helps me to compile on Slackware64 without problem.

Second, adding “set cpu idle” in the vax.ini file will greatly reduce the CPU usage.

2012-03-10

唐诗二首

Filed under: 诗词 — by zhuqy @ 21:03
Tags:

春 晓

唐 · 孟浩然

春 眠 不 觉 晓,
处 处 闻 啼 鸟。
夜 来 风 雨 声,
花 落 知 多 少。

春夜喜雨

杜甫在唐肃宗(李亨)上元二年(761)春天,在成都浣花溪畔的草堂时写的。

好雨知时节,当春乃发生。
随风潜入夜,润物细无声。
野径云俱黑,江船火独明。
晓看红湿处,花重锦官城。

2012-02-19

disable console beep

Filed under: Computing — by zhuqy @ 09:21

Source from www.thinkwiki.org.

1. disable console beeps in /etc/inputrc (change with your favourite editor, should work on all distributions)

# do not bell on tab-completion
set bell-style none

2. Or make bash tab-completion less beepy, by editing /etc/inputrc (or ~/.inputrc). Add:

# Show all if ambigious.
set show-all-if-ambiguous on

Currently using the 2nd setting.

2012-02-12

LXTerminal default geometry

Filed under: Computing — by zhuqy @ 17:22
Tags: ,

It defaults to 80×24 and has no way to save it as a preference. Latter I found out that it uses libvte, and change the definition in /usr/share/vte/termcap/xterm
of
:co#80:it#8:li#24:\
to
:co#80:it#8:li#25:\
Will make it always open in 80×25.

2012-01-15

First week with LXDE

Filed under: Computing — by zhuqy @ 14:39
Tags: , , ,

As my aged laptop feels quite slow for XFCE, I decided to test out LXDE again.  I used the pre-build packages from http://ponce.cc/slackware/slackware-13.37/lxde/.  So far so good, I used the LXDE without the pcmanfm (I don’t like the way it manage my desktop, and I never feel the need to put stuff on my root window except for background image), it response better than XFCE on my ThinkPad R40 laptop.

2011-09-22

Windows 7, PPP adaptor and IPv6

Filed under: Computing — by zhuqy @ 17:20

While trying to create IPv6 tunnel with PPP adapter under Windows 7, I found that only when the last 64-bit of global assigned address matched the last 64-bit of link address that are negotiated during PPP negotiation, would traffic being able to route out, otherwise the packet will go no where, this cause me almost two weeks of work.

For example: PPP negotiate the link address as FE80::1, then the assigned global IP could only be ended with 1, like 15::1, even 15::2 will not make the routing work.

« Previous PageNext Page »

Blog at WordPress.com.