Firefox wide space problem

software, ubuntu No Comments »

今天Ubuntu下更新完firefox3.0.10之后,发现firefox变成这样了

中间空格变成了两个汉字宽度。
郁闷,一开始怀疑扩展问题,全干掉之后,问题依然,刪除~/.mozilla目录,重装问题依旧。
郁闷了,网上找了下出现这种问题的人不少,但是都没有解决方法。

最后,从IRC中找到了答案。
原来很简单,只要卸载掉pango-graphite问题就解决了
sudo aptitude remove pango-graphite

一切正常

  • Share/Bookmark

FireUnit: JavaScript Unit Testing Extension

javascript, software No Comments »

FireUnit provides a simple JavaScript API for doing simple test logging and viewing within a new tab of Firebug.

// Simple true-like/false-like testing
fireunit.ok( true, “I’m going to pass!” );
fireunit.ok( false, “I’m going to fail!” );// Compare two strings – shows a diff of the
// results if they’re different
fireunit.compare(
“The lazy fox jumped over the log.”,
“The lazy brown fox jumped the log.”,
“Are these two strings the same?”
);

// Compare a string using a regular expression
fireunit.reCompare(
/The .* fox jumped the log./,
“The lazy brown fox jumped the log.”,
“Compare a string using a RegExp.”
);

// Display the total results
fireunit.testDone();

安装好Fireunit这个扩展之后,当你调用API,运行类似于上面的unit test后,结果就会出现在Firebug中的Test Tab页中。

安装需要Firefox 3+ 和 Firebug 1.2+。

如果你还使用了Qunit,使用下面方法,可以把Fireunit和它结合起来。

if ( typeof fireunit === “object” ) {
QUnit.log = fireunit.ok;
QUnit.done = fireunit.testDone;
}

这样结果会同时反应到Fireunit中。

Link: Fireunit

Install: Install Extension

  • Share/Bookmark

Intellij IDEA beginner tutorial

development, software No Comments »

TODO: I’ll convert the swf to other format, and upload to youtube or other video sites.

Intellij IDEA一个用于Java开发的IDE,功能非常出色,插件也有不少。(老鸟可以直接跳过)

除了Eclipse以外的,另一天空,只可惜是收费软件。

无聊制作了一个初级的视频教程,包括:创建Web Project, 配置WebLogic服务器和一个SQL Query插件。

I make a intellij IDEA beginner tutorial, including: create web project, config weblogic server adn SQL Query plugin.

intellijidea(点击观看 click me)

才发现WP不支持swf :<

PS:第一次制作这种教程,存在一些问题,没有考虑到分辨率大小,窗口边框和任务栏没有录下(由于使用了WindowBlind),等等

This’s my first video tutorial, so some problem exist:  not consider screen resolution, window border and taskbar disappear(Because of WindowBlind), and so on.

  • Share/Bookmark

Google Chrome

software No Comments »

Link: Google Chrome

今天凌晨Google发布了他自己的浏览器,一上午到处都是关于Chrome的消息。基于Webkit内核和Google的V8 Javascript引擎。

下载使用了,安装的时候,就被Google弓虽女干了,都没让选就安装到了C:\Documents and Settings\用户名\Local Settings\Application Data\Google\Chrome\Application\chrome.exe。

安装比较快,打开也比较快,打开后,整个界面很简洁,符合Google的风格。

使用一段时间,感受如下:

JS速度比较快,打开页面没什么特别的和Fx差不多。不过打开现在做的项目有问题,直接报dojo.js有错,看来V8引擎还是有点问题。

标签页独立进程,崩溃互不影响,而且可以自由拖拽,但是因为是独立进程所以打开多标签时,内存占用稍稍大了点,也正因为这样关闭标签时内存释放也更彻底。

提供了incognito方式,在此模式下不记录访问地址,cookie也会在关闭之后删除。

由于使用的是Webkit的内核,带有相应的Debug工具,但是貌似使用的Webkit是老版本的,现在已经暴出有漏洞了。

标准方面的支持和同样是Webkit内核的Safari一致。

……

每个人的需求不同,感受也不同,想试试就下载一个来试试吧,现在还是测试版,改进的空间还是很大。

  • Share/Bookmark

My Firefox extensions

software No Comments »

正在使用的Firefox3扩展,进入到Fx3之后,性能有了很大的提高,加上无敌的扩展,太帅气了。

  1. Adblock Plus 0.7.5.5(借用它的广告词广告已成往事)
  2. DictCN 3.1.1(在线词典)
  3. Easy DragToGo 1.1.2.1 (拖曳打开链接)
  4. Firebug 1.2.0b6 (最牛X的调试扩展)
  5. Fission 1.0 (仿Safari,在地址栏显示进度条)
  6. Flagfox 3.2.7 (显示打开网站位置的国旗)
  7. FlashGot 1.0.4.5 (调用外部下载工具的管理器)
  8. Foxmarks Bookmark Synchronizer 2.1.0.14 (书签同步)
  9. gladder 2.0.2.2 (自动查找代理服务器,翻墙)
  10. IE Tab 1.5.20080618 (把IE内嵌到Fx中,打开一些非标准的网站)
  11. Rainbow for Firebug 0.6 (用于Firebug的JS高亮扩展的扩展)
  12. Tab Mix Plus 0.3.6.1.080416 (加强标签页浏览功能)
  13. Tiny Menu 1.4.9 (用简洁弹出菜单代替菜单栏)
  14. Web Developer 1.1.6 (为Web开发者提供的工具条)
  15. wmlbrowser 0.7.18 (打开Wap站点)
  16. YSlow 0.9.5b2 (又一Firebug扩展的扩展用于开发者提高网站性能)

PS:Fx版本3.0.1

  • Share/Bookmark

Miranda IM 0.7.5 Released

software No Comments »

Link: miranda

mim-logo

Miranda IM is the smaller, faster, easier instant messenger with support for multiple protocols. Designed from the ground-up to be resource efficient while still providing a rich feature set, Miranda includes support for AIM, Jabber, ICQ, IRC, MSN, Yahoo, Gadu-Gadu and more. Additionally, with the choice of hundreds of plugins, icons, sounds and other content

支持多协议的聊天软件(包括QQ),通过插件形式对功能进行扩展,所以功能是无限强大。但正因为这样,设置相对要复杂一点,上手要相对难些。不过现在网上有别人整合好的专为懒人准备的Miranda下载,当然还是自定义更适合自己。
Read the rest of this entry »

  • Share/Bookmark

Ubuntu 8.04 RTL(Hardy Heron)

software 2 Comments »

Link: ubuntu

Ubuntu 8.04 RTL(Hardy Heron) 已经发布,大家可以去Down了,也可以去申请光盘,不过有条件的还是建议自己下来刻盘吧,没必要占那点小便宜。

看了下他的Release Notes, 对系统需求有所提高了

The minimum memory requirement for Ubuntu 8.04 is 384MB of memory for desktop CDs, and 256MB for other installation methods. (Note that some of your system’s memory may be unavailable due to being used for the graphics card.)

Read the rest of this entry »

  • Share/Bookmark

小说下载阅读器

software No Comments »

Link: 小说下载阅读器V6.1
book

一个不错的小说阅读器,这次是更新升级到6.1。
Read the rest of this entry »

  • Share/Bookmark
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in