[root@test ~]# tail -f /tmp/zabbix_agentd.log/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh: line 19: mysql: command not foundvi/var/lib/z...
分类:
移动开发 时间:
2014-08-27 18:32:38
阅读次数:
439
[ { "keys": ["ctrl+alt+f"], "command": "alignment" }]
分类:
其他好文 时间:
2014-08-27 18:16:48
阅读次数:
172
这算是一个演示程序吧,想不到上下文菜单也是採用ON_COMMAND宏来进行消息映射,在这里,我发现一个问题:从CWnd派生的类ON_UPDATE_COMMAND_UI_RANGE似乎没有效果,不知道应该再加点什么,可是从CFrameWnd派生出来问题就不会发生,真是奇怪……看看从CWnd派生出来的效...
分类:
其他好文 时间:
2014-08-27 17:58:48
阅读次数:
234
也是用模板直接套的题目诶//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #include #include #de...
分类:
其他好文 时间:
2014-08-27 14:40:28
阅读次数:
187
只是套了个模板,模拟退火具体的过程真心不懂阿 1 //#pragma comment(linker, "/STACK:16777216") //for c++ Compiler 2 #include 3 #include 4 #include 5 #include 6 #include 7...
分类:
其他好文 时间:
2014-08-27 14:33:08
阅读次数:
204
# 缩进 # 缩进的设置 1. autoindent (ai) > Copy indent from current line when starting a new line (typing in Insert mode or when using the "o" or "O" command). If you do not type anything on the new...
分类:
其他好文 时间:
2014-08-27 13:16:38
阅读次数:
213
在正常安装龙芯2f的debian系统时出现如下错误:requires the bzcat command which is not available
说明,原有的安装镜像中没有将bzip2这个包打入到系统中,所以需要自己手动将其安装.先将其下载到根目录 / .wget http://ftp.us.debian.org/debian/pool/main/b/bzip2/[libbz2-1.0_1....
分类:
其他好文 时间:
2014-08-27 11:00:17
阅读次数:
251
Linux命令(7)adduser
adduser主要是用来添加用户的命令。 命令格式:
adduser [username] [command] 常用命令:
#adduser yy
添加一个叫yy的用户 #adduser yy –d /opt/www/
添加一个叫yy的用户,用户目录在/opt/w...
分类:
系统相关 时间:
2014-08-27 00:17:36
阅读次数:
267
1,mkdir/usr/local/proxycatproxy#!/bin/bashUser=$USERIp=${SSH_CLIENT%%*}Date="`date+%Y-%m-%d`"Logfile=/var/log/myaudit/${User}_${Ip}_${Date}.log#exportLogfile=/var/log/myaudit/${User}_${Ip}_${Date}.logexportPROMPT_COMMAND=‘{date"+%y-%m-%d%T#####$(whoami|awk"..
分类:
系统相关 时间:
2014-08-26 19:55:27
阅读次数:
226
#!/usr/bin/envpython#coding=utf-8importparamikoimporttime,datetime,threadingdefssh(ip,user,passwd,command):ssh=paramiko.SSHClient()ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())try:ssh.connect(ip,port=16333,username=user,password=passwd)exceptpar..
分类:
编程语言 时间:
2014-08-26 19:54:27
阅读次数:
237