另一个彩色日志管理工具http://lnav.org/THE LOG FILE NAVIGATOR ABOUT DOWNLOADS FEATURES DOCUMENTATION PROJECT BLOGAn advanced log file viewer for the small-scale Watch and analyze your log files from a terminal.No server. No setup. Still fea...
ccze is a wonderful tool that brings real joy to the arduous task of reading or searching thru log files. It uses a modular approach to support custom colour formatting for popular applications such as Apache, Postfix, Exim, etc.Install ccze on CentOS and Fed...
准备工作去Lua官网下载最新的Release版本,当然也可以根据具体需要下载特定的版本 。然后执行命令(这里下载的安装包是lua-5.2.3.tar.gz):$tar zxf lua-5.2.3.tar.gz$cd lua-5.2.3/$sudo make install这里需要注意的在Lua的Makefile中默认的安装路径是/usr/local,如需要修改可自行指定。另外Lua5.2参考手册也是参考必须的Lua与C交互,准备牛刀我们首先得创建Lua在C中使用的环境,利用lua_State *luaL_newstate (void);Creates a new Lua...
定义C++类首先,我们定义一个Student类,它拥有名字(字符串类型)和年龄(整型),并且提供一些getter和setter,最后还提供了一个print方法.这里有Student类的定义和实现:Student.h和Student.cppStudent.h//// Student.h// MyCppGame//// Created by guanghui on 8/11/14.////#ifndef __MyCppGame__Student__#define __MyCppGame__Student__#include <iostream>#in...