16. April 2009 · Comments Off on links for 2009-04-15 · Categories: 美味收藏
16. April 2009 · Comments Off on links for 2009-04-15 · Categories: 美味收藏
16. April 2009 · Comments Off on links for 2009-04-15 · Categories: 美味收藏
16. April 2009 · Comments Off on links for 2009-04-15 · Categories: 美味收藏
16. April 2009 · Comments Off on links for 2009-04-15 · Categories: 美味收藏
15. April 2009 · Comments Off on links for 2009-04-14 · Categories: 美味收藏
  • Omegle is a brand-new service for meeting new friends. When you use Omegle, we pick another user at random and let you have a one-on-one chat with each other. Chats are completely anonymous, although there is nothing to stop you from revealing personal details if you would like.
    简单说就是随机的和某人聊天。

这次去参加 QCon 最让我失望的是手中的相机,过年的时候把用了好几年的相机给了我妹妹。这次借了一个卡片机,不知道是太傻瓜了我不会用,还是相机就有问题,大部分照片要么是模糊要么是重影,奇怪的是人像基本上都还不错。

14. April 2009 · Comments Off on links for 2009-04-13 · Categories: 美味收藏

平时经常用 curl 和 wget 下载一些东西,但是有的网站要判断 User-Agent。
我们可以使用 curl 和 wget 的 –user-agent,但每次都加参数也很不方便,修改配置文件就是一劳永逸的办法了。
把下面的代码添加到 ~/.curlrc
–user-agent=Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.0.8) Gecko/2009032711 Ubuntu/8.10 (intrepid) Firefox/3.0.8
把下面的代码添加到 ~/.wgetrc
header = User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.0.8) Gecko/2009032711 Ubuntu/8.10 (intrepid) Firefox/3.0.8

13. April 2009 · Comments Off on links for 2009-04-12 · Categories: 美味收藏