Continuous Login
Time Limit: 2 Seconds Memory Limit: 131072 KB Special Judge
Pierre is recently obsessed with an online game. To encourage users to log in, this game will give user...
分类:
其他好文 时间:
2014-05-14 01:25:00
阅读次数:
396
2692407267@qq.com,更多内容请关注http://user.qzone.qq.com/2692407267
Wind River Test Management & Diagnostics 3.3...
lk@lk-virtual-machine:~/hadoop-1.0.1/bin$ ./hadoop dfs -rmr output
Deleted hdfs://localhost:9000/user/lk/output
lk@lk-virtual-machine:~/hadoop-1.0.1/bin$ ./hadoop jar ~/mytopk.jar top.Top input out...
分类:
其他好文 时间:
2014-05-13 06:53:12
阅读次数:
448
flask+gevent+gunicorn+nginx 初试...
分类:
其他好文 时间:
2014-05-13 06:37:52
阅读次数:
442
当登录AIX系统,用户名或密码不正确以至于多次登录,超过系统设定的次数,如何解锁:
1.用root用户登录系统
2.chuser unsuccessful_login_count=0 db2inst1
此时用户名db2inst1解锁成功,可正常登录
说明:db2inst1是被锁定的用户
参考链接:AIX用户登录次数受限设置...
分类:
其他好文 时间:
2014-05-13 06:20:21
阅读次数:
269
此脚本可以做一个定时的检测,超出设定的值,即往邮箱发送警告脚本用到bc,sendmail,163邮箱,yuminstallbc#!/bin/bash
#SystemMonitoringScript
while[1]
do
#本机需开启postfix或sendmail服务。
#报警邮件地址设置
MAILFROM=root@localhost
MAILTO=your_mail@163.com
#设置..
分类:
系统相关 时间:
2014-05-13 05:05:29
阅读次数:
649
#!/bin/bash
#checkmysqlslavestatus
USER="check"
PSW="***"
RUNTIME=3600
ADDR="192.168.*.*"
declare-aslave_is
forIPin$ADDR
do
slave_is=($(/usr/local/mysql/bin/mysql-h$IP-u${USER}-p${PSW}-e"showslavestatus\G"|grepRunning|awk‘{print$2}‘))
if["${slave_is[0]}"="Y..
分类:
数据库 时间:
2014-05-13 04:33:44
阅读次数:
374
表面上看,在windows中。如果是a进程创建了b进程,那么a进程就是b进程的父进程,反之,如果是b创建了a,那么b进程就是a的父进程,这是在windows出现以来一直是程序猿们都证实的,但是在在win Vista后面有了一个新安全消息机制,UAC(user account control),这里科普下UAC的功能,其实UAC就是大家常见的安装软件或者启动程序的时候的出现的全屏变暗的一个提示框,这...
分类:
其他好文 时间:
2014-05-13 00:20:04
阅读次数:
608
autoindex on; //自动显示目录 默认为off
autoindex_exact_size off; //人性化方式显示文件大小否则以byte显示 默认为on
autoindex_localtime on; //按服务器时间显示,否则以gmt时间显示 默认off...
分类:
其他好文 时间:
2014-05-12 23:48:06
阅读次数:
357
同步或者重构Activiti Identify用户数据的多种方案比较
相信每个涉及到用户的系统都有一套用户权限管理平台或者模块,用来维护用户以及在系统内的功能、数据权限,我们使用的Activiti工作流引擎配套设计了包括User、Group的Identify模块,怎么和业务数据同步呢,这个问题是每个新人必问的问题之一,下面介绍几种同步方案,最后总结比较。
如果你在考虑直接使用Activit...
分类:
编程语言 时间:
2014-05-12 23:14:12
阅读次数:
549