Archive for the ‘aside’ Category

Apr 12, 10

尊敬的用户[***],很遗憾的通知您,您的ICP备案申请(imluke.net),经[山东省通信管理局2]审核,不符合备案要求,现退回修改,原因请登陆系统查询。
发送时间:Monday, April 12, 2010 13:59:35

又被打成黑户口了, 嘿嘿


Mar 5, 10

正式将网站搬到了米国服务器上来,mark一下下。
在国内的访问速度肯定不如原来国内的服务器好了。昨天trace一下看到联通竟然给我route到telia(Sweden)去,delay加了200多,晕倒。
不过优势是明显地。套用那句名言:哥,你懂的。


An article on HTML5 and XHTML2:
http://www.webmonkey.com/blog/XHTML_2_Dies_a_Lonely_Death__Makes_Room_For_HTML_5
I still don’t believe on HTML5. Web involves so fast that HTML will only solve the requirement that we need in the past. When the spec settle down, maybe after 3 years, we will have much better broadband, and much more requirement that we can’t imagine now. That makes HTML5 out of date when it’s out.
We will see.


May 7, 09

最近在Ubuntu下装了Eclipse, 然后共享Win下的Workspace. 除了win分区要每次在Eclipse启动之前手动加载外, 一切正常.
于是就想把win下常用的两个分区自动加载了。Google了一下,都说是将分区列在/etc/fstab里即可。
于是, sudo gedit ,列上, 重启, 无效.
sudo gedit, 给分区加user, rw, 重启, 无效.
遂将option一一尝试, 重启n次, 无效n次.
崩溃. 去洗手间照镜子, 检查人品, 确认无异常后, 再次重启. 再次无效T_T

开始怀疑Google的结果了, 就又Google…
滤掉无数重复的copy的内容后, 发现一BBS上的讨论. 某人由于内核编译时没列上中文支持, 导致mount错误. 难不成要重新编译内核? 我%#@&!
仔细看, 此人不能自动加载时用mount -a测试fstab. 突然联想起man mount里面的mount -a就是加载fstab里所列. 顿悟!
马上mount -a. 两条错误提示mount directory没创建! 这才知道这个目录还是需要提前创建的, 以前都是在Gnome下点硬盘图标就挂载了.
然后就mkdir, reboot, 一切OK. 眼泪哗哗地…

看来基础知识不扎实就只能是菜啊. 今天在公司鼓捣VBA, 一个class module没初始化的问题查了整整一下午, 又因一个mount折腾整整一晚上.
唉, 悲怆, 无语, 躺床上掩面长睡去鸟.


May 3, 09

Using Linux again. Now got fresh Ubuntu 9.04 installed and all my old Ubuntu configurations were lost. It takes time to resume to an acceptable status.

Here is a note for bash prompt customize:

  1. Open ~/.bashrc
  2. un-comment force_color_prompt=yes
  3. change PS1 assignment before else clause
  4. Save. Then open a new terminal to check the effect.

This is my PS1 value:

PS1='${debian_chroot:+($debian_chroot)}\[\e[31;01m\]~L~\[\e[00m\]\[\e[30;02m\]:\[\e[00m\]\[\e[36;02m\]\w\[\e[00m\]\[\e[37;02m\]\$\[\e[00m\] '

And it looks like this:

~L~: /usr/local$

Information about these pattern, color and veriables can be found here:

http://wiki.archlinux.org/index.php/Color_Bash_Prompt