20081222

IE 不显示 PNG 图片

遭遇 IE 不显示 PNG 图片,转解决办法如下。
Symptom

When you open a Web page, the .PNG images in that page may not be displayed. Instead, a red X, or a placeholder, may appear in place of the images. However, all other image file types may display correctly in Internet Explorer.

Resolution

This problem may be seen after installing a third-party application, which may have altered the file class and MIME settings for the PNG file type. To resolve the problem, use these steps:

  • Download PNG_Fix.zip (下载这个,解压后选相应系统下的文件,右键点击"合并") and save it to the Desktop.
  • Unzip and extract the two files (pngasso_xp.reg and pngasso_vista.reg) to the Desktop.
  • If you're using Windows XP, right-click pngasso_xp.reg and choose Merge. If you're using Windows Vista, right-click pngasso_vista.reg and choose Merge. Click Yes to confirm the merge operation. Additionally, in Windows Vista, you'll have to click Continue when you see the User Account Control elevation dialog.

Note: The .REG files above should fix the file association and MIME settings for .PNG file types. File paths in the .REG files are hardcoded for C:\. If you have installed Windows in a different location than C:\, you'll need to edit the REG file(s) using Notepad and update the drive-letter and/or the Path accordingly.

20081206

《最后的王爷》

八路进城了,这王爷还怎么演,很好奇,不过果然剧终了。最近看的两个片子《最后的王爷》和《甜心特工》都还挺有意思。

两个农业节目

今天有两个节目,第一个节目是天涯网全程直播第四届南方农村报中国农村发展论坛,第二个节目是央视乡村大世界栏目组正在录制的晚会《热土》,选题都是改革开放三十年农村发展,一个主题是“还权于民与重塑农村改革之魂”,另一个主题,昨天看了一段彩排,照例弘扬主旋律和歌舞升平。

网媒很快,论坛内容几乎全文同步直播,平媒据说明天见报。电视除了现场直播,则是最慢的。原因在于平台资源的是否稀缺,制作水平要求及周期,是否层层审核等。说明电视还是最保守最被控制的,也说明当前还是电视对老百姓影响最大。

解放后的集体主义不是自发的集体主义,是被集体主义,这个很受用。其它纷繁复杂的观点归纳起来还是民主与科学的问题,不是改革开放三十年的问题,是五四运动九十年的问题,是还政治于常识的问题。只是现在的决策水平总让人感觉到仍停留在试错阶段。

20081203

安装 Firefox 到 Puppy Linux

转自 Puppy Linux 网站。

Firefox

1. Download Firefox.
2. Install using the following code:
mv firefox* /usr/local/
cd /usr/local/
tar -zxvf firefox*
rm /usr/local/*.tar.gz
3. You will want to place a symbolic link to the Firefox executable in /usr/local/bin/ with a command similar to this:
ln -s /usr/local/firefox/firefox /usr/local/bin/firefox

Flash

1. Download Flash Player.
2. Decompress it, then copy libflashplayer.so to your Firefox plugins directory and flashplayer.xpt to your Firefox components directory.