删除wordpress侧边栏的功能

找到网站wordpress安装目录,在wp-includes/default-widgets.php中,在此文件里搜索查找<li>标签里带有rss2_url、comments_rss2_url、wordpress.org,就可以找到了。

libmemcached 编译错误 libmemcached/auto.cc: In function ‘memcached_return_t text_incr_decr(memcached_server_st*, bool, const char*, size_t, uint64_t, bool)’:

编译libmemcached1.0.6时出现
libmemcached/auto.cc: In function ‘memcached_return_t text_incr_decr(memcached_server_st*, bool, const char*, size_t, uint64_t, bool)’:
libmemcached/auto.cc:73: error: expected `)’ before ‘PRIu64’
是gcc版本过低,需要更新并且设置全局变量。

首先
yum install gcc44 gcc44-c++ libstdc++44-devel
export CC=/usr/bin/gcc44
export CXX=/usr/bin/g++44

然后重新编译即可

Java HelloWorld

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

return top