某月就是 January, 2008

Windows Vista Gadget: Prayer Times 祈祷时间

Monday, January 7th, 2008

Windows Vista里面最喜欢的东西可以说是那些小配件(gadgets)。Prayer Times是专门给穆斯林朋友用来提醒自己祈祷的时间。

windows_vista_gadget_prayer_times.jpgKeep up to date on prayer times. This gadget displays the prayer times, Hijri date and Qibla direction for the city that you choose. It’s highly customizable. If your city cannot be found, which I doubt, you can customize your location by entering the latitude and longitude. It automatically detects the best calculation method for your location, but you can change that. You can specify your Mazhab. The gadget plays the Azan the you select from a list of 13 beautiful Azans (Fajr Azan is the correct one). You can even specify MP3, wMA or WAV file from your local hard drive. You can control the volume of the Azan and what prayers to play it for. To help you perform your prayers on time, the time for the next prayer is emphasized. It also plays alarms before and/or after prayers (configurable). You can also play Morning and/or Evening Azkar after Fajr and Asr. Please send me your comments, suggestions and issues. Please make dua’a. Thank you.

有Prayer Times的存在,当你在沉迷使用电脑时,Prayer Times就会根据你的音乐设定来提醒你祈祷(当然你可以用原本的祈祷歌)。

Link:

Windows Live Gadget Gallery: Prayer Times

无聊小站新header

Sunday, January 6th, 2008

自从用Windows以来,我唯一的图片编辑器就是Windows Paint。

windows paint

这是旧的header,当时是托一位友人(Edrin)帮我设计的,也用了两年多。

duller 无聊小站 old header

这是新的header,Jerry帮我设计的,感激不尽。

duller 无聊小站 new header

现在要专注的是研究如何改字的颜色。

无聊小站20080106留念

Sunday, January 6th, 2008

将会换新的模板,特地在此printscreen留念。

无聊小站 第一代

Advertlets’ Alzheimer

Sunday, January 6th, 2008

昨天upgrade了这个blog的wordpress之后,整个blog就一直被redirect到别的网站。

adaaz_advertlets.jpg

原本以为是新的wordpress和advertlets的代码不合,可是经过查证之后,原来是因为Advertlets马来西亚第二个网络广告公司竟然会忘了更新他们的域名(domain name)。Advertlets这个忘了更新域名的行为简直就是本年度继蔡细厉事件后第二个年度笑话。

自昨晚开始不少中文界的朋友问我为何他们的blog发生了这种事,我相信还有很多中文界的朋友还不知道(毕竟大马中文界的blogs大多都使用advertlets)。在这里呼吁大家赶快除去自己blog里面的advertlets广告。无聊小站MyBlogLog的会员有收到我的通知了。

升级到WordPress 2.3.2

Saturday, January 5th, 2008

DienSong用的是wordpress 2.3.1。这个版本的wp我没用过,他遇到了一个问题,就是所有中文字都写出来后都会变成问号——‘???’。除了写字有问题,也不能够留言中文留言。

为了解决这个问题,我就把wp 2.3.1升级到2.3.2。升级过后,是能够留言了,不过显示出来的中文全会变成问号。花了一段时间终于找出了答案。原来问题是出在wp-config.php。

wp 2.3里的wp-config.php有这么一段:

define(‘DB_CHARSET’, ‘utf8′);
define(‘DB_COLLATE’, ”);

和我的blog比对过后,发现到我的wp-config.php没有那么一段。我就把那一段删除,中文显示问题马上解决。

现在已经把无聊小站从2.2.1升级到2.3.2。

更加:

发现到wp2.2更新到wp 2.3,如果没有overwrite ‘wp-content’ folder的话,single post不会显示tags。务必在single.php加上这一行:

<?php the_tags( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’); ?>

所遇到的问题:

  • 如果放advertlets的广告,会直接redirect到其它网站,暂时除下。经过查清,原来是因为advertlets域名已经过期了。
  • Related Posts Plugin不能用,除掉。
  • wp 2.3有tagging功能,除去Bunny’s Technorati Tags.
  • WP 2.3不会电邮通知最新留言。

接下来的计划:

  1. 升级科学blog的wp。(更新了)
  2. 更改科学blog的模板。(改新的了,就差header没改)
  3. 更改无聊小站的模板。
  4. 把文章妥善分类和tagging(可能要重新规划一次)。

一切慢慢来。

如果各位有什么WP 2.3的知识要分享的话,不妨告知。

Name That Alcohol

Saturday, January 5th, 2008

你是酒鬼吗?你自认自己对酒了解很深吗?那就在这里考考你对酒的认识吧。

Link: The Booze Test – Name That Alcohol

虫虫灭绝恐龙

Friday, January 4th, 2008

自从有了Nerdy Science Blog后,就很少写科学新闻了。

In it, the authors argue that insects provide a plausible and effective explanation for the slow, inexorable decline and eventual extinction of dinosaurs over many thousands of years. This period is known as the famous “K-T Boundary,” or the line between the Cretaceous and Tertiary Period about 65 million years ago. There is evidence that some catastrophic events, such as a major asteroid or lava flows, also occurred at this time — but these provide no complete explanation for the gradual decline of dinosaur populations, and even how some dinosaurs survived for thousands of years after the K-T Boundary.

—— ScienceDaily: Insect Attack May Have Finished Off Dinosaurs

最近科学界对恐龙绝种有一项新的理论,不是因为流星或火山爆发,而是因为昆虫的原因。这个理论说起来也合理,因为恐龙不是在短时间内灭绝的,而是经过好长一段时间才逐渐消失。专家指出这可能是因为昆虫的攻击,以及病毒的传播而导致恐龙绝种。当然昆虫不一定是唯一的原因,要造成一个物种的灭绝自然有很多其它的因素。昆虫在地球生物的进化过程中也扮演了很了不起的角色。

小人论

Friday, January 4th, 2008

每过一段时间都会静下来沉思探讨自己的一切。去年遇到的小人特别人(不过贵人也多) ,所以特地写下这篇劝戒各位疏远的各种小人。

  • 自私自利的人 – 这种人,只能你帮他,不能他帮你。如果他帮你,非奸即盗。
  • 狂傲自大的人 – 目中无人,以为自己最厉害。自信和自大是两个完全不一样的东西。自大只会引火自焚。
  • 贪小便宜的人 – 贪小便宜不只是说钱财方面,说的是那些只会利用你的人。这种人交朋友的目的一开始就不单纯,当你没有利用价值时,就不把你当作朋友。
  • 忘恩负义的人 – 你帮他还了十年的债,叫他帮你一点小忙却被拒绝。
  • 只顾玩乐的人 – 这种朋友交得,不过要自节,不然很可能会荒废正业。

其实以上小人特质自己也有,不过就是接受不了其他人做得比我更绝。虽然说疏远这些小人,不过疏远并不代表绝交,表面上的朋友总是要维持的。小人不见得对己只有害而无利。

不过人是什么样的,不是一天两天就能搞清楚的。一些人真正的个性是如何是要长时间才能看得出来的。君子为朋,小人为党。希望各位不要只活在自己的小圈子之内。

Alien VS. Predator 2

Thursday, January 3rd, 2008

烂!各位千万不要看这部AVP2。

故事剧情一点高潮都没有,就算有高潮也只是那alien有高潮而已。为什么只有它们有高潮?因为从头到尾你只看到外星人不论男女老少,一律都通过口交繁殖。而且这些生物除了口交和不停用口交器官刺穿人之外,它们会的也只是像白痴一样不停流口水。而那个专门猎物的外星人呢,自己只会逞强独身到地球和白痴外星人干。

别说外星人的白痴行为,美国人也够白痴的。在还没搞清楚发生什么事情前,就这样说:“快点把武器分给全部人,不然我们都会死!!!”天啊,连是不是连环杀手干的,或者恐怖分子做的,他们都不管,一定要拿枪大干一场就是了。

订阅无聊小站最新文章


 用feed阅读器订阅 或, 用email订阅:
输入你的email邮址:  
搜寻文章 :