Month: December 2011

  • WOFF 的 MIME 类型

        application/x-font-woff               woff;
  • iTunes Store/Mac App Store 退款技巧

    技巧很简单:不要选择和上次退款时相同的理由

    每次他们的客服都会给你说一堆冗长的废话,截取出精华大概就是:

    但是请您注意,根据 App Store 条款和条件的规定,所有项目一旦售出,本应无法退换。考虑到您此次的特殊情况,我特意为您申请破例,执行了本次退款,请恕这一例外未必适用于今后,敬请见谅。

    所以,不要选和上次相同的理由

  • CentOS 6.1 上安装 git 出现 Requires: libcurl.so.3 的解决方案

    6 升级到 6.1 后安装 git 报错:

    root@dad:/# yum install git
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.nsc.liu.se
     * epel: ftp.riken.jp
     * extras: mirror.nsc.liu.se
     * ius: pancks.sothatswhy.org.uk
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: centosu.centos.org
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package git.i386 0:1.7.6.4-1.el5.rf will be installed
    --> Processing Dependency: perl-Git = 1.7.6.4-1.el5.rf for package: git-1.7.6.4-1.el5.rf.i386
    --> Processing Dependency: libcurl.so.3 for package: git-1.7.6.4-1.el5.rf.i386
    --> Processing Dependency: libexpat.so.0 for package: git-1.7.6.4-1.el5.rf.i386
    --> Processing Dependency: perl(Git) for package: git-1.7.6.4-1.el5.rf.i386
    --> Running transaction check
    ---> Package compat-expat1.i686 0:1.95.8-8.el6 will be installed
    ---> Package git.i386 0:1.7.6.4-1.el5.rf will be installed
    --> Processing Dependency: libcurl.so.3 for package: git-1.7.6.4-1.el5.rf.i386
    ---> Package perl-Git.i386 0:1.7.6.4-1.el5.rf will be installed
    --> Finished Dependency Resolution
    Error: Package: git-1.7.6.4-1.el5.rf.i386 (rpmforge)
               Requires: libcurl.so.3
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    

    解决方案:编辑 /etc/yum.repos.d/rpmforge.repo,开启 extra repo

    再次执行后:

    ...
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
      Installing : git-1.7.6.4-1.el6.rfx.i686                                                                       1/2 
      Installing : perl-Git-1.7.6.4-1.el6.rfx.i686                                                                  2/2 
    
    Installed:
      git.i686 0:1.7.6.4-1.el6.rfx                                                                                      
    
    Dependency Installed:
      perl-Git.i686 0:1.7.6.4-1.el6.rfx                                                                                 
    
    Complete!
    

    解决方案(来源):

    yum clean all
    
  • Google 的新界面很赞的,你们就不要再喷了

    换你们去做,你们下辈子都做不出来的

  • Cargo 可怕极了

    发展良好的话,绝对是超越 WordPress 的存在