NAMEls - list directory contents
列出文件夹内容SYNOPSIS ls [OPTION]... [FILE]...DESCRIPTION List information about the
FILEs (the current dir...
分类:
系统相关 时间:
2014-05-09 10:27:55
阅读次数:
617
sys.c 代码分析
setregid
/*
* This is done BSD-style, with no consideration of the saved gid, except
* that if you set the effective gid, it sets the saved gid too. This
* makes it possib...
分类:
系统相关 时间:
2014-05-09 02:13:12
阅读次数:
621
vsprintf.c 代码笔记
你
/*
* linux/kernel/vsprintf.c
*
* (C) 1991 Linus Torvalds
*/
/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
/*
* Wirzenius wrote this portably, Torvalds fucked...
分类:
系统相关 时间:
2014-05-09 01:38:20
阅读次数:
480
先看看列表里的__setslice__方法函数的帮助文档
help(list.__setslice__)
帮助文档如下所示:
__setslice__(...)
x.__setslice__(i, j, y) x[i:j]=y
Use of negative indices is not supported.
从帮助文档可以看出这个方法函数可...
分类:
编程语言 时间:
2014-05-09 01:01:56
阅读次数:
326
简单的python发送html邮件代码,如下:#!/usr/bin/envpython
#-*-coding:utf-8-*-
importsmtplib
fromemail.headerimportHeader
fromemail.MIMETextimportMIMEText
fromemail.mime.multipartimportMIMEMultipart
############################################################..
分类:
编程语言 时间:
2014-05-09 00:57:45
阅读次数:
415
1、安装godgeminstallgod2、设置环境变量以及开机启动的rc.local文件,其内容如下PATH=$PATH:/zhiyisoft/bingod-c/etc/god/god.god备注:请将rubybin目录下的所有文件链接到/zhiyisoft/bin下面,否则将无法运行如果是rvm,请执行下方命令1、rvmwrapper2.0.0@rails3bootupgod2、..
分类:
其他好文 时间:
2014-05-09 00:52:01
阅读次数:
1277
一、环境ubuntu10.4mysql5.1.60python.6.6java7二、搭建1.安装ubuntu10.4,并更新软件包2.sudosu-切换到root用户下安装mysql5.1.60groupaddmysql
useradd-gmysqlmysql
./configure--prefix=/usr/local/mysql--with-unix-socket-path=/usr/local/mysql/var/mysql.sock--sysconfd..
分类:
编程语言 时间:
2014-05-09 00:48:04
阅读次数:
362
用VMwareFusion来“穿越”一.背景介绍曾经听到过这样一个比喻,说的是在企业里,喜欢用Windows操作系统的是普通型员工;喜欢用Linux操作系统的是宅男型员工;而喜欢用MacOS操作系统的是文艺型员工。我所支持的是一家以为各个企业定制书籍的文化传媒公司。公司以《论语》为企业..
分类:
其他好文 时间:
2014-05-09 00:47:05
阅读次数:
497
fork函数是linux中创建进程的函数,linux创建进程只有用fork,别无他法。我自己写代码fork用的不多,对它的一些细节还不是清楚,今天抽空研究了下fork,把它的一些关键点总结一下,以后用到了自己也好有个参考。1)fork函数会在父进程中创建子进程,子进程的堆,栈,数据段,PC..
分类:
系统相关 时间:
2014-05-09 00:42:46
阅读次数:
600
python 解析html文档模块HTMLPaeser
ID
检测名称
CVE号
检测类别
风险级别
1
FTP缓冲区溢出
CVE-1999-0789...
分类:
编程语言 时间:
2014-05-09 00:38:52
阅读次数:
418