Ins sys: 1.next all, then reboot. 2.login system use rootCfg sys: 1.keep etc0 work: # vi /etc/sysconfig/network-scripts/ifcfg-eth0 change: ONBOOT=yes ...
分类:
其他好文 时间:
2014-07-16 23:12:27
阅读次数:
378
用户组类似于用户账户,信息也保存在系统的一个文件中。/etc/group文件包含了系统上用到的每个组的信息。比如,本人的Ubuntu系统上的/etc/group文件前10行内容如下: root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:craftor tt...
分类:
其他好文 时间:
2014-07-16 23:07:32
阅读次数:
146
包括了对手机系统版本的判断,对手机硬件的判断,对手机具体型号的判断。#import "RootViewController.h"//为判断手机的型号 -(NSString*)deviceString添加头文件#import "sys/utsname.h"- (void)viewDidLoad{ .....
分类:
移动开发 时间:
2014-07-10 10:21:26
阅读次数:
301
--返回本地服务器中定义的链接服务器列表。EXEC sys.sp_linkedservers /*创建或更新 SQL Server 本地实例上的登录名与远程服务器中安全帐户之间的映射。当用户登录到本地服务器并执行分布式查询,以访问链接服务器上的表时,本地服务器必须登录链接服务器上,代表该用户访问该表...
分类:
数据库 时间:
2014-07-10 00:09:44
阅读次数:
275
#coding:utf-8import sys,urllib2,re,Queuesys.path.append("..")from lib.Http_Class import Http_Classfrom BeautifulSoup import BeautifulSoup#############...
分类:
编程语言 时间:
2014-07-07 20:49:39
阅读次数:
350
题目
Clone an undirected graph. Each node in the graph contains a label and
a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separa...
分类:
其他好文 时间:
2014-06-30 09:01:23
阅读次数:
197
Python实现抓取网页
下面的Python抓取网页的程序比较初级,只能抓取第一页的url所属的页面,只要预定URL足够多,保证你抓取的网页是无限级别的哈,下面是代码:
##coding:utf-8
'''
无限抓取网页
@author wangbingyu
@date 2014-06-26
'''
import sys,urllib,re,thread,time,thr...
分类:
编程语言 时间:
2014-06-29 22:15:45
阅读次数:
395
// 重写鼠标滚轮事件
mxEvent.addMouseWheelListener = function (funct) {
}
// 增加初次加载事件
window.onload = function () {
var element= document.getElementById('graph');
addScrollListener(element, wheelHa...
分类:
其他好文 时间:
2014-06-28 09:06:26
阅读次数:
311
1、错误描述
六月 26, 2014 10:53:26 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression data[text] is undefined on line 9, column 51 in inc/select.ftl."
Express...
分类:
其他好文 时间:
2014-06-27 09:58:53
阅读次数:
237
1、错误描述
六月 26, 2014 10:44:49 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "The only legal comparisons are between two numbers, two strings, or two dates.\nLeft...
分类:
其他好文 时间:
2014-06-27 07:21:12
阅读次数:
196