By Zhen Sun

Safari Extension: Invisible Status Bar

June 9th, 2010

Save display space or appeal to your own sense of minimalism by hiding Safari’s native status bar, and using the Invisible Status Bar instead. Only shows up when you hover over a link, i.e. when you need a status bar.

Nice.

No Comments »

在 Mac 全屏看 QQLive

May 21st, 2010

今天试了几种可以全屏看 QQLive 的办法,比我之前想的用 Fluid 麻烦一些。不过可以全 屏还是比较好(大概老婆会开心~:P)

  1. Webkit Nightly (目前有问题哦)

Webkit Nightly 支持 Fullscreen,controller 右下角就有一个全屏的按钮,不过问题是 图像比例会变 (比如 16:9 变 4:3)。所以基本是不能用。Fluid 也没辙。也许以后的 Ni ghtly Build 会改,等着。

  1. Google Chrome + QuickTime

Google Chrome 不支持 Fullscreen,不过可以 Copy Video Url 或者直接下载 Video(在 QQLive 上是 mp4)。Copy Video Url 之后可以直接在 QuickTime 用 Open URL 来在线看 。或者 Download 之后随便看。

改 Google Chrome 的 UA String 可以用 extension “User-Agent Switcher for Chrome” ,让 live.qq.com 固定使用 iPad 的 UA String,不用每次都要选。或者在 Terminal 用 open /Applications/Google\ Chrome.app/ --args -user-agent="Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Ve rsion/4.0.4 Mobile/7B334b Safari/531.21.10",更麻烦就是了……

希望可以帮到需要的人,谢谢。

1 Comment »

在 Mac 看 QQLive

May 20th, 2010

QQLive 开始用 HTML5 支持 iPad,不过在用 Mac 上的 Safari 看的时候还是不断告诉我“你的浏览器不支持 QQLive,换 IE 或者 TT 吧~“(好吧不是原话……不过是这个意思)。不过改了一下 Safari 的 UA String,就可以看了….

iPad 的 UA String:

Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

可以在 Safari 开启 “Show Develop menu in menu bar”,然后在 Develop -> User Agent -> Other… 中给一个 iPad 的 UA String 就可以了。

Update

试了一下用 GlimmberBlocker 改 UA String,不好用。目前比较好的办法是用 Fluid 给 live.qq.com 做一个单独的 Application,之后给它设置一个自定义的 UA String,Fluid 会保存设置。

7 Comments »

If Super Mario Bros. Was Made in 2010

May 6th, 2010

Comments from Kotaku:

It’s fun, because it’s true.

No Comments »

Quickeys

May 4th, 2010

I’m trying Quickeys for the moment. So far so good. What I really like is “SoftKey”, allows you to assign 10 shortcuts or, say “macros”, for a floating panel. Even better, you can assign the same trigger for different applications. This is a SoftKey I created for Safari, including some useful bookmarklets.

Comparing with Keyboard Maestro, it’s more powerful but also kind of less stable.

29 days left before the trial expires, so I got plenty of time to play with it.

4 Comments »

Samtools Has a GLFv3 Viewer

December 18th, 2009

I was asked to generate a ASCII version of a samtools generated GLFv3 file yesterday. We were thinking about using a set of programs named glfProgs, which is available on Maq’s sourceforge page, but had no luck: gzread complains cannot open file. After read a few lines of the source code of samtools I found that samtools (v0.17) has a glf viewer itself but is not written in the manual.

glfview print GLFv3 file

Neat. If you run samtools without any arguments it will also tell you this, but we barely do it these days.

No Comments »

You Don’t Need Great Hardware to Do Good Work

December 9th, 2009

Jeffrey:

Unless you’re editing high-def video or creating feature film animation,
you don’t need great hardware to do good work. You just need a passion
for the work.

I use my almost-4-year-old Macbook Pro while I’m writing/debugging code and it works great for me. For data analysis we use a much more powerful Debian box (sshed from Macbook Pro and other computers), but that is another story.

No Comments »

« Older Entries ||