Ultimate .htaccess Guides,Tutorial,Tips,Tricks,Hacks

Filed under  //

Comments [0]

Habari---next-generation blogging

Habari is next-generation blogging.
Download Habari or try the demo

Filed under  //

Comments [0]

PPC小tips

1   牢记keyword 的match type有四种:1. exact  2. phrase 3. broad 4. negative

可能很多人都会忘记negative这种匹配方式。新手也许很大程度上依赖broad match。如果采用broad,最好能结合negative。这些match type在组织账户结构的时候灵活运用非常重要。

2   search账户中避免出现重复keyword,会导致自己跟自己竞争。

3    账户结构需要一开始就考虑到以后分析优化的方便性。

Filed under  //

Comments [0]

The Shortest URL Shorteners

2. a.gd


a.gd

Note: A similar service would be a.nf.

3. r.im


r.im

4. u.nu


u.nu

5. x.vu


x.vu

6. z.pe


z.pe

7. tinyarro.ws


tinyarro.ws

Note: A similar use of Unicode is found at txtn.us URL shortening service.

Bonus - untiny.me

Untiny.me allows you to un-shorten or to get the original URL of a shortened one.


untiny.me

Filed under  //

Comments [0]

六步简化你的社会化媒体

简化社会化媒体路线,

  第1步.使用简单的工具来整合社会媒体网络

  工具越简单,越好.这些工具可以把两个或者更多的社会化媒体整合到一个工具中来,这样你就不需要许多工具.举例其中的一个例子是TweetDeck (http://mashable.com/tag/tweetdeck/ ) -它可以看到Twitter的变更,但是您可以在同一时间看到你的facebook朋友的更新 .

  另一个很好的例子是Digsby,它整合电子邮件,即时通讯和社会化媒体,如Twitter的,facebook, MySpace和LinkedIn等资源 .

  另外你也可以使用Gmail来添加组件,你可以将其设置为所有功能于一身的收件箱:可以Twitter,facebook,delicious,Flickr,IM等 .你可以将Gmail设置成你的接受中心 .

  第2步.关注发出去的信息

  这个方面是许多人使用社会化媒体不清楚的,如果你天天发太多消息,其他人会认为你是垃圾信息制造者,大家不会following you 更有甚会阻止你.

  诀窍就是,你每发出去的信息,必须是有意义的,对方感兴趣的信息.例如:分享真正有用的链接,专业方面内容,或者是你自己的商业上的,博客方面的有新意的内容.关键点是你想分享信息给你的朋友.这样就可以节省许多沟通的花费.主要指的是时间方面的.

  第3步 .有选择的阅读 .

  对于知识和信息的接受的渴求,但是你不可以,阅读所有内容.把自己淹没在信息中,无法探出自己的头来.它不仅是在浪费你的时间,它可以具有破坏力,你应该有其他重要的事情要做 .

  所以是有选择性的.确定这些信息的来源,是权威的材料,有影响力的嘛?是很重要,不要你看了半天,才发现写这篇文章的人,是个外星人 .也不要试图阅读每封邮件,快速扫描某些标题和内容,聚焦在某些邮件上.

  第4步 .挑选有意义的社会化媒体

  并非所有形式的社会化媒体的所有目标,为所有的人 . 言下之意不是你要什么社会化媒体都要插一足.浅浅了解这些社会化媒体是什么玩意,是可行的.

  找出主流的社会化的媒体,和你需求吻合的网络,这才是最有效的利用你的时间.找到一个或两个或三个最有效的适合您 .对于我来说,博客和Twitter是我常用的 .同时也尝试delicious ,linkedin.其他的部分对我来说就是浅尝辄止.

  选择不同,就决定了你是否选择明智和节省你时间的途径.

  第5步 .选择交流的对象

  在 Twitter的或Facebook我是不建议你仅仅follow几个人 .但是,尽管你可以有很多的朋友,你将不会有相同程度的亲密关系. 因此,找到那些谁给你最大的价值-谁和你共享最棒的信息,谁让你笑,谁激励你,谁给许多改进建议,你喜欢和谁交谈 .然后重点建设的你们的关系 .他们是值得花时间的 .

  第6步 .明智地管理你的时间

  社会化媒体太多,你要找个办法,把所有的社会化媒体在你日常工作,生活中的时间安排妥当,不要让他们影响你的个人生活.过度的social media ,那就不是生活了.

  您可以设置定期时间表,如做2-3次,每天在特定时间,或每小时抽出10分钟,或在某些时候,这些时间点是在你日常行程安排中有计划的.其余时间里面是不允许social media 来骚扰你的。

Filed under  //

Comments [0]

修改XAMPP服务器端口

  • 如正运行,关闭XAMPP
  • 打开XAMPP安装文件夹/apache/conf/httpd.conf
  • 搜索Listen 80 (一般情况下是这个,如不是,查相应的).修改80成其它数字
  • 在同一文件里搜索 ServerName. 更新其中的端口号.
  • 保存重启XAMPP
  • Filed under  //

    Comments [0]

    在博客添加作者信息框

    在主题适当位置加入代码

    <?php
      // If it's not written by me (username admin), it's a guest post,
      // hence check for that:
      if (get_the_author_meta('user_login') != "admin") {
            // If it's a guest post, show the appropriate block
    ?>
        <div class="guestauthor" id="
          <?php the_author_meta('user_email'); ?>">
    <?php
            // Make sure the image is right aligned
            function avatar_align($avatar) {
                return str_replace("class='","class='alignright ",$avatar);
            }
            add_filter('get_avatar','avatar_align',10,1);
      
            echo get_avatar( get_the_author_meta('ID'), '60' );
            // Show the author's information
    ?>
            <h3>Guest post by: <?php the_author_meta('display_name'); ?></h3>
            <p><?php the_author_meta('description'); ?></p>
        </div>
    <?php
        }
    ?>

    在functions.php中加入以下代码

    // Allow HTML in user profiles
    remove_filter('pre_user_description', 'wp_filter_kses');

    Filed under  //

    Comments [0]

    关于 I/O 的五分钟法则(Five-Minute Rule)

    五分钟法则"的观点,简而言之,如果一条记录频繁被访问,就应该放到内存里,否则的话就应该待在硬盘上按需要再访问。这个临界点就是五分钟。

    Filed under  //

    Comments [0]

    10 JavaScript Quick Tips and Best Practices

    Recently, a few blogs and tutorial sites have posted some really good articles on JavaScript tips and best practices, and I thought that was a good topic that could easily be expanded upon. So I put together a list of 10 fairly simple JavaScript tips and best practices of my own.

    I tried to include stuff that was not mentioned in those other posts, but I’m sure there is a little bit of overlap. Keep in mind that these are brief tips and recommendations, so I don’t go into great detail about the reasons and such, but I may go into some of them in depth in future articles and tutorials.

    In the meantime, please enjoy this list of tips, recommendations, and best practices for JavaScript coding.

    Filed under  //

    Comments [0]