如果之前安装过6.8或其它版本,请先删除以下目录rm -rf /usr/local/insightrm -rf /usr/share/tcltk如果之前设置过环境变量,也请删除unset TCL_LIBRARYunset ITCL_LIBRARY安装insight,ubuntu 10不能apt-ge...
分类:
数据库 时间:
2014-07-09 22:25:23
阅读次数:
491
从 本地 复制到 远程目录拷贝:scp -r local_folderroot@116.90.87.156:remote_folder文件拷贝:scplocal_fileremote_username@remote_ip:remote_folder文件拷贝并命名:scp local_file rem...
分类:
其他好文 时间:
2014-07-09 21:09:07
阅读次数:
181
1、数据请求原语: PD-DATA.request( psduLength, psdu )2、数据请求确认原语: PD-DATA.confirm( status )3、数据指示原语: PD...
分类:
其他好文 时间:
2014-07-09 21:01:29
阅读次数:
148
function countdown() { local i; sleep 1 for ((i=$1 - 1;i>=1;i--));do printf '\b\b%02d' "$i" sleep 1 done}export LANG=en_US.UTF8;if [ -f /root/.showf.....
分类:
其他好文 时间:
2014-07-09 21:00:48
阅读次数:
197
基于《Linux设备驱动程序》书中的sbull程序以对Linux块设备驱动总结分析。
开始之前先来了解这个块设备中的核心数据结构:
struct sbull_dev {
int size; /* Device size in sectors */
u8 *data; ...
分类:
系统相关 时间:
2014-07-06 12:36:10
阅读次数:
250
我知道typedef是类型别名的意思,也知道结构体如何定义。
但下面的代码:
typedef struct node{
struct node*lchild;
char data;
struct node*rchild;
}bitnode,*bitree;
那这样结构体后面的是对象还是别名呢?我感觉应该是对象,但typedef又无从说起。
然后接着有
bitree crea...
分类:
编程语言 时间:
2014-07-06 12:25:16
阅读次数:
179
与折半查找是同一个模式,不同的是,在这里不在查找某个确定的值,而是查找确定值所在的上下边界。
def getBounder(data, k, start, end, low_bound = False):
if end < start : return -1
while start > 1
if data[ mid ] ...
分类:
其他好文 时间:
2014-07-06 12:18:00
阅读次数:
311
直接上配置,你懂的
lai'mac:~ laijingli$ more .bash_profile
###add my scripts to the search path for convenient daily usage
export PATH=$PATH:/Users/laijingli/autoshell:/opt/local/bin:/opt/local/sbin
##...
分类:
其他好文 时间:
2014-07-06 10:12:26
阅读次数:
185
There are a bunch of different methods you can use to back up your MongoDB data, but if you want to avoid downtime and/or potential
performance degradation, the most common advice seems to be that y...
分类:
数据库 时间:
2014-07-06 09:26:04
阅读次数:
437
一、设置认证方式system-viewaaaauthentication-schemeauthlocal[认证方式名称]authentication-modelocal//认证方式本地二、添加本地用户system-viewaaalocal-usertest1passwordcipherPassw0rd//添加test1用户local-usertest1service-typetelnet//设置用户可以使用的服务类型lo..
分类:
Web程序 时间:
2014-07-05 23:20:55
阅读次数:
248