There became more and more spam post on my blog, so I decide to fight with them.
There are several ways I can think off:
personal verify. That is, I review every post and decide if it should go into my blog. Well I don’t have time for this.
Only registered user can post. I don’t have such […]
¶
Posted 11 September 2006
§
misc
‡
Well it’s my mistake that I didn’t take a close look to the comment of my blog. However when I take a look today, I found thousands of spam posts there. And I have to delete all of them.
I think it’s time to setup some kind of spam filter or human approve thing. Human approve […]
¶
Posted 28 August 2006
§
misc
‡
This is a brief version of this article. It is not easy to find the right keyword for Google unless you know how.
The key is to set both content-type and Content-Disposition header. Here’s the code from the web page above:
// Set the headers.
res.setContentType("application/x-download");
res.setHeader("Content-Disposition", "attachment; filename=" + filename);
By setting content-type to x-download, most browsers won’t guess […]
¶
Posted 03 August 2006
§
misc
‡
Last weekend my box got an upgrade as a birthday gift from my wife. The new hardwares include a Athlon 3000+, a ASAU A8N5X motherboard, and a Gitabyte 7300GS display card. Of cause I choosed the hardware
After replacing the old CY 1.7 CPU and motherboard, there comes a problem: the old power supply […]
¶
Posted 25 April 2006
§
misc
‡
After a days going through my planner files, here’s the 110 some what blog-like notes. Some of them are pretty short. I’ll write more descriptive blogs from now on.
Share This
¶
Posted 13 March 2006
§
misc
‡
After several hours work, I’ve got my muse+pyblosxom setuped. So now it’s my start of my blog.
The first thing I’ll need to do is to go through my planner pages and get the notes somewhat like a blog into this blog system.
I’ll write most of my blog in English, as a practice and more “world […]
¶
Posted 12 March 2006
§
misc
‡
from http://xgoogle.cn/?p=21
use
<!– google_ad_section_end –>
to quote the keyword.
This will take effect in about 1~2 weeks.
Share This
¶
Posted 05 November 2005
§
misc
‡
:((((((
The disk was full when I was downloading something last night. And I didn’t notice that this morning. The nearest backup I found was on 3/19. I lost 3 months data of that :(((((
Share This
¶
Posted 21 June 2005
§
misc
‡
http://www.fckeditor.net/
Pretty cool. But I’m afraid I won’t need such a powerful thing. Plus it’s slow for me and looks doesn’t support Chinese well, though it said it support Chinese.
Share This
¶
Posted 16 May 2005
§
misc
‡
Or I’ll get un-easy find bugs. Here is an example:
I want to seperate the color and layout of CSS definition, so I can easily add different styles. So I have:
In color.css
border: red;
}
And in layout.css
border: 1px;
}
Then in style.css
@import "layout.css";
However, when the page is rendered, the table border still get the inhired color, not the red I […]
¶
Posted 31 March 2005
§
misc
‡