crontab(定时任务) 1.当linux发行的版本有service这个命令时候(service 是服务。必须root用户才可以支持) service crond status 查看定时任务运行状态命令 service crond start 启动定时任务命令 service crond stop ...
分类:
系统相关 时间:
2021-05-24 01:36:04
阅读次数:
0
部署Zabbix4.0和Grafana 一、Zabbix 1、安装 rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm yum clean all yum inst ...
分类:
其他好文 时间:
2021-05-24 01:33:19
阅读次数:
0
方法一 select t1.* from stadium t1, stadium t2, stadium t3 where t1.people >= 100 and t2.people >= 100 and t3.people >= 100 and ( (t1.id - t2.id = 1 and ...
分类:
其他好文 时间:
2021-05-24 01:17:27
阅读次数:
0
HelloWorld 随便新建一个文件夹,存放代码 新建一个Java文件 文件后缀名为.java Hello.java 【注意点】系统可能没有显示文件后缀名,需要手动打开 编写代码 public class Hello{ public static void main(String[]args){ ...
分类:
其他好文 时间:
2021-05-24 01:16:13
阅读次数:
0
当程序中有复合赋值运算符时,不同类型的数据会进行强制转换,比如下面例子:byte b += 2,是把int类型数据强制转换成byte,然后在进行赋值操作的! public class AssignOperator { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-05-24 00:59:35
阅读次数:
0
桌面新建一个文本文档(新建文本文档.txt)将文件名修改为 Demo01.java,内容如下: public class Demo01 { public static void main(String[] args) { int a = 10; System.out.println(a); } } ...
分类:
编程语言 时间:
2021-05-24 00:55:02
阅读次数:
0
Markdpwn 标题: 二级标题 三级标题 字体 helloword Hellowrld! Hellowrld! Hellowrld! 引用 选择狂神说Java,走向人生巅峰 分割线 图片 超链接 点击挑战小星博客 列表 a s a a s s 表格 | 代码 ? ...
分类:
其他好文 时间:
2021-05-24 00:45:59
阅读次数:
0
public class selectSort { //基本思想:在要排序的一组数中,选出最小的一个数与第一个位置的数交换; 然后在剩下的数当中再找最小的与第二个位置的数交换,如此循环到倒数第二个数和最后一个数比较为止。 public selectSort(){ int a[]={1,54,6,3, ...
分类:
编程语言 时间:
2021-05-24 00:38:10
阅读次数:
0
{ "OrderCode": "012657700387", "ShipperCode": "HTKY", "PayType": 1, "ExpType": 1, "Cost": 1.0, "OtherCost": 1.0, "Sender": { "Company": "LV", "Name": ...
分类:
Web程序 时间:
2021-05-24 00:34:46
阅读次数:
0
package test; public class BubbleSort { public void bubble(Integer[] array,int from,int end) { for(int k=1;k<end-from+1;k++) { for(int i=end-from;i>=k ...
分类:
编程语言 时间:
2021-05-24 00:31:25
阅读次数:
0