|
30 Jan 2015 05:04:50 pm |
CentOS GHOST(幽灵)漏洞修复方法 |
|
|
修复方法:
RedHat、Fedora、CentOS系统:
yum update glibc glibc-devel glibc-common glibc-headers
Debian、Ubuntu系统
apt-get clean && apt-get update && apt-get upgrade
升级后,建议重启用到 glibc 的进程,或者重启服务器。 |
|
| |
Category : About
| Posted By : Eric Shan | Comments[0] | Trackbacks [0] |
|
|
|
14 Dec 2008 12:30:18 pm |
How google convertion tracking know if you are from adwords |
|
|
In 'google convertion tracking', I was wondering how google ensure this page is lead by google adwords and not by anything else. I think it was because a cookie was set when user click the adwords, and after that when this user visit the convertion tracking landing page, the information will be checked before google recorded it as a successful convertion. If google did not find the correct information in the cookie, it will not caculate as a successful convertion.
Who can prove it. |
|
| |
Category : About
| Posted By : Eric Shan | Comments[0] | Trackbacks [0] |
|
|
|
19 Jun 2008 08:04:12 am |
Readdir |
|
|
http://www-128.ibm.com/developerworks/aix/library/au-unix-readdir.html
The dirent.h functions, opendir(), readdir(), and closedir(), are just what you need. Using them is very similar to the open/read/close idiom you're probably used to using with files, with one exception: the readdir() function returns a pointer to a special structure (of type struct dirent) for each directory entry
dir = opendir( "some/path/name" )
entry = readdir( dir )
while entry is not NULL:
do_something_with( entry )
entry = readdir( dir )
closedir( dir )
int readdir_r(DIR *, struct dirent *, struct dirent **);
struct dirent {
ino_t d_ino; /* file number of entry */
__uint16_t d_reclen; /* length of this record */
__uint8_t d_type; /* file type, see below */
__uint8_t d_namlen; /* length of string in d_name */
char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */
};
file type is list below,
DT_UNKNOWN
The file type is unknown.
DT_REG
This is a regular file.
DT_DIR
This is a directory.
DT_FIFO
This is a named pipe, or FIFO.
DT_SOCK
This is a Unix domain socket.
DT_CHR
This is a character device.
DT_BLK
This is a block device. |
|
| |
Category : About
| Posted By : Eric Shan | Comments[0] | Trackbacks [0] |
|
|
|
08 Mar 2007 06:09:16 am |
This is a test of chinese characters-中文测试 |
|
|
Inside Message.
中文,这是中文英文测试
this is a test of English Chinese Mixture. |
|
| |
Category : About
| Posted By : Eric Shan | Comments[0] | Trackbacks [0] |
|
|
|
06 Mar 2007 04:33:34 am |
My first step--热烈祝贺我的blog开张 |
|
|
Hi All,
My name is Eric Shan, my Chinese name is Yihua Shan. I'm living in Shanghai China.
All articals post here are in English and Chinese both.
大家好,我是Eric Shan,我是中国人.我住在中国上海.
在这里所有的文章都会以中英文两种语言同时书写. |
|
| |
Category : About
| Posted By : Eric Shan | Comments[0] | Trackbacks [0] |
|
|
|
1 |