两个iChm同时发布

iCHM

首先是iChm version 1.4 for Mac OS X,加入了几个呼声比较高的功能:

  • 以pdf格式导出整个chm文档。
  • 使用翻页键连续浏览文档。当到达页面底部时,会自动翻到下一页。在页首page up 会翻到上一页。
  • 打开文件时自动跳转到上次浏览的页面。
  • 自动记录上次查询某个文件时,是全文搜索还是在索引中搜索。

然后,就是iChm 1.0 for iPhone/iPod Touch ,经过苦苦等待,终于上了App Store。苹果花了三天审批我的软件,却花了四周审批contracts。11月4号就通过的软件不得不到今天才亮相。第一版功能包括:

  • 使用浏览器上传和管理文件。
  • 查看chm文档。
  • 支持目录和索引。
  • 支持在索引中搜索。

详细内容参看App Store中iChm的页面。定价$4.99。

8 条评论

cd to the latest iPhone Simulator app

To ‘cd’ to the latest app installed in iPhone Simulator directory is such annoying. Set you free by putting the following line into your shell profile and use ‘cdapp’ for the magic:

alias cdapp='prefix=~/Library/Application\ Support/iPhone\ Simulator/User/Applications/;auuid=`ls -t "$prefix"|head -n 1`;cd "$prefix$auuid"'

1条评论

Goo - Ruby Gem文档浏览器

一般查看ruby gem 文档都会开一个gem server ,但多少有些不便,每次都要运行一个gem server 不说,浏览器本身也身兼数职,又要测试,又要收mail,又要停车,又要看文档,切换起来越来越不方便。索性写了一个ruby gem 文档浏览器 - Goo .

另一只龙。

主要功能就是查看gem 文档。除了查看文档,查看gem的代码也是了解gem必不可少的过程,所以也集成了在Finder和TextMate里打开gem的功能。虽然我在shell里也加了自动匹配打开gem的脚本,不过看着文档,一点就看到代码,还是比在Terminal和Safari之间切来切去要方便一些。

功能不多,源代码也非常之少,LOC只有两百多行,从决定动手到写完花了不到两天的时间。Cocao/Object-C也是开发效率相当高的组合了。源码分享在github

支持Mac OS X 10.5,或许rubygems的版本也需要>1.2.0。目前版本0.2,可以到这里下载

6 条评论

Recent Posts:

Recent Comments:

Archive:

Tags:

Bookmarks:

My music:

About Me:

I am a software engineer in Beijing, China. I write code for work and for fun. I am interested in web technology, life hacking and console games. This blog is dumped from my left brain.
View Robin Lu's profile on LinkedIn

My Flickr:

    drawingAt Modern Sky Music FestivalIMG_0389IMG_0312urumqi panaramaIMG_9664

Friends: