必须要使用事件绑定! 我使用on事件绑定 错误代码:下面这代码无法运行,注意绑定事件时,需要子元素 ...
分类:
Web程序 时间:
2017-07-24 18:54:28
阅读次数:
238
防伪码:没有相当程度的孤独是不可能有内心的平和。实现任何一个分区使用率超过90%就发送一个邮件给指定的收件人。#!/bin/bash
>/tmp/disk.log
D_Value=15
D_Use=`df-h|grep‘^/dev‘|awk‘{print$5}‘|sed‘s#%##‘`
IP_Addr=`ifconfigeth0|grep‘inetaddr‘|cut-d:-f2|cut-d‘‘-f1`..
分类:
其他好文 时间:
2017-07-24 16:24:11
阅读次数:
106
系统重启网络服务会提示Determiningifipaddressisalreadyinusefordeviceeth0提示。但是使用又没有问题呢,那么怎么关闭这个显示呢,Linux下network提示Determiningifipaddress系统版本:RedHatEnterpriseLinuxServerrelease6.8(Santiago)问题现象重启网卡的时候会提示,(如果..
分类:
其他好文 时间:
2017-07-24 16:23:00
阅读次数:
154
Android安装过程出现问题 一、Eclipse 中 Emulator Control 不能用问题 在官方文档中发现问题所在(官方文档说明),在最后一行“The Emulator Control tab, shown in Figure 1, is no longer supported. Use ...
分类:
移动开发 时间:
2017-07-24 15:25:07
阅读次数:
199
CentOS7 安装最新版本号 awstats ,在httpd.conf 中增加了alias,能够直接訪问网址就进入 浏览。十分不安全。 给訪问加上password的方法: [root@localhost wwwroot]# htpasswd -bc /home/awstats/wwwroot/.h ...
分类:
Web程序 时间:
2017-07-24 14:35:06
阅读次数:
191
1、以管理员身份登录mysql mysql -u root -p 2、选择mysql数据库 use mysql 3、创建用户并设定密码 create user 'test'@'localhost' identified by '123456' 4、使操作生效 flush privileges 5、使 ...
分类:
数据库 时间:
2017-07-24 13:18:41
阅读次数:
184
Highways Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 2730 Accepted: 1008 Special Judge Description In a distant country Lineland there ...
分类:
其他好文 时间:
2017-07-24 13:12:11
阅读次数:
188
实现的时候用到系统原来的dup函数 // mydup2.c // 2015/08/17 Lucifer Zhang version1.0 // write my own dup2 function // use dup() function when inplementation #include ...
分类:
其他好文 时间:
2017-07-24 13:07:32
阅读次数:
144
一、基础 1、说明:创建数据库 CREATE DATABASE database-name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk' ...
分类:
数据库 时间:
2017-07-24 13:03:48
阅读次数:
213