Even with the latest version of GNOME 3 looking a whole lot better than earlier versions, I still find that it is not suitable for my daily desktop computing. But thanks to a couple of extensions, I can customize my GNOME 3 desktop to suite me, in a manner that makes for a more productive time in front of the monitor.
Archive for the ‘Linux’ category
Effective in GNOME3
July 15th, 2013优化vim代码环境
July 10th, 2013几种经典的网络服务器架构模型的分析与比较
July 10th, 2013前言
事件驱动为广大的程序员所熟悉,其最为人津津乐道的是在图形化界面编程中的应用;事实上,在网络编程中事件驱动也被广泛使用,并大规模部署在高 连接数高吞吐量的服务器程序中,如 http 服务器程序、ftp 服务器程序等。相比于传统的网络编程方式,事件驱动能够极大的降低资源占用,增大服务接待能力,并提高网络传输效率。
关于本文提及的服务器模型,搜索网络可以查阅到很多的实现代码,所以,本文将不拘泥于源代码的陈列与分析,而侧重模型的介绍和比较。使用 libev 事件驱动库的服务器模型将给出实现代码。
本文涉及到线程/时间图例,只为表明线程在各个 IO 上确实存在阻塞时延,但并不保证时延比例的正确性和 IO 执行先后的正确性;另外,本文所提及到的接口也只是笔者熟悉的 Unix/Linux 接口,并未推荐 Windows 接口,读者可以自行查阅对应的 Windows 接口。
记录一下fedora18安装后,需要安装的一些必备的软件包:
June 13th, 2013Fedora 18 装完后干的事
June 13th, 20131.在文本模式下修改笔记本背光亮度:
当然先 su root
然后
1 # echo x > /sys/class/backlight/acpi_video0/brightness
其中 x 的为写入的背光亮度值,范围为 0~10
2.修改GRUB启动项顺序