/* 访问计数 */ function record_visitors() { if (is_singular()) { global $post; $post_ID = $post->ID; if($post_ID) { $post_views = (int)get_post_meta($post_ID, 'views', true); if(!update_post_meta($post_ID, 'views', ($post_views+1))) { add_post_meta($post_ID, 'views', 1, true); } } } } add_action('wp_head', 'record_visitors'); ubuntu11.10经典界面 – 芯片版图

ubuntu11.10经典界面

如果对ubuntu的unity界面不太习惯,可以安装Gnome Classic恢复到经典界面,方法如下:
[code lang=”bash”]
$ sudo aptitude install gnome-session-fallback Enter

The following NEW packages will be installed:   alacarte{a} gir1.2-panelapplet-4.0{a}
gnome-applets{a} gnome-applets-data{a}
gnome-panel{a} gnome-panel-data{a}
gnome-session-fallback libpanel-applet-4-0{a}
0 packages upgraded, 8 newly installed, 0 to remove and 11 not upgraded.
Need to get 9,459 kB of archives. After unpacking 40.0 MB will be used.
Do you want to continue? [Y/n/?] y[/code]

《ubuntu11.10经典界面》有1条评论

发表评论