Archive for 2009-06

6月 26 2009

Fair-Do Booth, Minnesota

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/fair-do-booth-pod.html

Fair-Do Booth, Minnesota

Photograph by Joel Sartore

This Month in Photo of the Day: Travel and Culture Photos

Fun for all ages! Minnesota sisters Bridgit and Bergen Flom sport big rainbow dos styled for $14 each and a buck for glitter.

See more photographs from the June 2008 feature story "State Fairs."

 

译文:

Fair-Do货摊,明尼苏达

摄影:Joel Sartore

本月每日一图的主题是:旅游与文化照片

老少皆宜!明尼苏达的Flom姐妹Bridgit和Bergen在炫耀她们硕大的彩红发型,这种发型每个收费14美元,外加1美元的闪粉。



本文链接地址:https://blog.cuilw.com/post/729

No responses yet

6月 26 2009

Maxthon Plugin: GetTinyURL Button v1.0 Released

Published by under Coding Life

在浏览器的状态栏增加一个按钮,按下后自动把当前标签的URL用TinyURL.com缩短,并复制到剪贴板。

 

Version History

  • v0.9

    完成调用TinyURL官方API的基本功能,缩短后的网址自动复制到剪贴板
    弹出窗口无法自动关闭

  • v1.0a

    调用www.cuilw.com上的一个嵌套页面,实现窗口自动关闭

  • v1.0

    调用一个本地嵌套页面,实现窗口自动关闭

 

开始做这个插件还是四月初,当时做到v1.0a,因为要借助一台第三方服务器,不如我想象中的完美,所以一直没发布。中间拖了两个多月,前两天想起来又翻出来整了整,解决了调用本地页面的问题,总算是让自己满意了。

第一个版本没什么好说的,和之前的delicious插件一样,直接调了官方API,复制到剪贴板也是官方API的功能。

因为TinyURL的API不像delicious的API做了跳转自动关闭功能,做完URL缩短后会留下一个弹窗或者标签,于是紧接着我又做了第二个版本,自己写了一个页面嵌套了官方API,用JS的window.onload事件来自动关闭弹窗。起初想把这个页面放在插件安装目录下,但因为JS的安全策略不允许访问本地文件,所以最后只能把这个页面上传到www.cuilw.com远程调用。

第三版把几个JS函数换成了Maxthon的自有函数,绕过JS的安全策略调用本地页面,同时也绕开了用JS关闭标签可能会出现的安全警告。

 

下载:GetTinyURL.m2p



本文链接地址:https://blog.cuilw.com/post/728

No responses yet

6月 25 2009

Aurora Borealis, Manitoba Canada

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/tundra-aurora-pod.html

Aurora Borealis, Manitoba Canada

Photograph by Kurt Baumgartner

This Month in Photo of the Day: Travel and Culture Photos

The Aurora Borealis as seen from the sub-arctic tundra nightscape. Wapusk National Park, Manitoba, Canada.

This photo and caption were submitted to the 2008 International Photo Contest.

 

译文:

北极光,加拿大马尼托巴

摄影:Kurt Baumgartner

本月每日一图的主题是:旅游与文化照片

亚北极苔原夜空中的北极光。加拿大马尼托巴瓦普斯克国家公园。



本文链接地址:https://blog.cuilw.com/post/726

No responses yet

6月 24 2009

Buddha Statue, Myanmar

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/buddha-statue-myanmar-pod.html

Buddha Statue, Myanmar

Photograph by Min Htike Aung

This Month in Photo of the Day: Travel and Culture Photos

Taken in Myanmar, Rakkhine. These people said that your wishes will come true if you pray to that Buddha statue in the evening before sunset.

This photo and caption were submitted to My Shot.

 

译文:

佛像,缅甸

摄影:Min Htike Aung

本月每日一图的主题是:旅游与文化照片

拍摄于缅甸Rakkhine。这些人说,如果你在日落前向佛像祈祷,你的愿望就会实现。



本文链接地址:https://blog.cuilw.com/post/725

No responses yet

6月 23 2009

Rowboat, Ngo Dong River

Published by under Photo of the Day

http://photography.nationalgeographic.com/photography/photo-of-the-day/rowboat-vietnam-pod.html

Rowboat, Ngo Dong River

Photograph by Emanuele Nardoni

This Month in Photo of the Day: Travel and Culture Photos

Shot during sailing on the Ngo Dong river.

This photo and caption were submitted to Your Shot.

 

译文:

手划船,宁平河

摄影:Emanuele Nardoni

本月每日一图的主题是:旅游与文化照片

拍摄于航行在宁平河上时。



本文链接地址:https://blog.cuilw.com/post/724

No responses yet