#include<stdio.h> #include<windows.h> #include<graphics.h> #include<atlimage.h> int main() { //system("adb pull /sdcard/screen.png"); //system("adb sh ...
分类:
数据库 时间:
2020-11-24 12:38:06
阅读次数:
10
昨天做了一个udhcpd与udhcpc的守护,目前只会用shell模仿编写,还有什么方法可以做守护呢? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 #! /bin/sh #进程名字可 ...
分类:
系统相关 时间:
2020-11-23 12:39:19
阅读次数:
22
zookeeper Server 启动/关闭/查看状态zkServer.sh start/stop/stautszookeeper Client 启动zkCli.sh查看帮助命令help查看当前znode中所包含的内容ls /查看节点详细数据ls -s /创建普通节点不赋值create /sangu ...
分类:
其他好文 时间:
2020-11-23 12:15:15
阅读次数:
4
[root@monitor scripts]# cat checkmysqlperformance.sh #!/bin/sh #Create by sfzhang 2014.02.20 MYSQL_SOCK="/data/mysql/3306/mysql.sock" MYSQL_PWD=`cat / ...
分类:
数据库 时间:
2020-11-21 12:22:16
阅读次数:
13
Ansible报错:module_stdout": "/bin/sh: 1: /usr/bin/python: not found 1. 检查ansible服务器的Python: # ls /usr/bin/python 没有则安装。 2. 检查节点服务器的Python: 没有python,路径下也 ...
分类:
编程语言 时间:
2020-11-21 12:10:11
阅读次数:
6
#!/bin/bash ROOT=`cd $(dirname $0); pwd`HOOKS=$ROOT/hooks HOST=svn://192.168.20.153/repos1SLAVE=svn://192.168.20.167/repos1 USERNAME=laiyuzhouPASSWORD ...
分类:
其他好文 时间:
2020-11-21 12:06:26
阅读次数:
6
javascript判断是移动端还是pc端 //是移动端返回true,否则false function isMobile() { return (/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBro ...
分类:
移动开发 时间:
2020-11-20 12:13:54
阅读次数:
21
#1、下载安装文件,并使用阿里镜像源 curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh --mirror Aliyun #2、配置加速器 sudo mkdir -p /etc/docker sudo tee /et ...
分类:
其他好文 时间:
2020-11-19 12:44:52
阅读次数:
8
小明参加Java考试,他和父亲达成承诺如果:成绩为100分时,奖励一台BMW;成绩为(80,99】时,奖励一台iphonexsmax;当成绩为【60,80】时,奖励一个ipad;其他分数没有奖励请从键盘输入小明的期末考试成绩,并加以判断**
分类:
其他好文 时间:
2020-11-18 13:02:02
阅读次数:
6
故障问题:ansible远程调用startup.sh启动tomcat,启动失败。解决方法:ansible调用shell脚本启动tomcat得加上nohup 后面还不能跟 “&” ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh co ...
分类:
其他好文 时间:
2020-11-12 13:23:22
阅读次数:
11