上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页
摘要: //输入一个值 查找对应数组中元素的索引 import java.util.Scanner; public class Test06 { public static void main(String[] args) { int[] arr = {19, 28, 37, 46, 50}; Scanne 阅读全文
posted @ 2021-06-28 00:48 walkersss 阅读(25) 评论(0) 推荐(0) 编辑
摘要: /*导包 1:手动导包:import java.util.Scanner; 2:快捷键:alt+enter 3:自动导包:Scann+回车 */ //switch 循环 import java.util.Scanner; public class Test02 { public static voi 阅读全文
posted @ 2021-06-24 19:42 walkersss 阅读(20) 评论(0) 推荐(0) 编辑
摘要: //用方法调用 数组中的最大值 public class MethodTest02 { public static void main(String[] args) { int[] arr = {11,22,54,23,1,99,5,77}; int number = getMax(arr); Sy 阅读全文
posted @ 2021-06-18 18:02 walkersss 阅读(23) 评论(0) 推荐(0) 编辑
摘要: //猜数字,猜出随机产生的1-100之间随机数 import java.util.Random; import java.util.Scanner; public class RandomTest{ public static void main(String[] args){ Random r = 阅读全文
posted @ 2021-06-17 10:23 walkersss 阅读(469) 评论(0) 推荐(0) 编辑
摘要: Rsync+Notify: yum install make gcc gcc-c++ 客户端启动rsync port:873/usr/local/rsync/bin/rsync --daemon --config=/usr/local/rsync/rsync.conf Client:tar xf r 阅读全文
posted @ 2021-06-11 20:04 walkersss 阅读(65) 评论(0) 推荐(0) 编辑
摘要: Linux 命令在线手册https://www.linuxcool.com MySQL 四部曲https://www.cnblogs.com/cxuanBlog/p/13173547.html 入门https://www.cnblogs.com/cxuanBlog/p/13352975.html 进 阅读全文
posted @ 2021-06-09 10:09 walkersss 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser 阅读全文
posted @ 2021-06-08 19:39 walkersss 阅读(154) 评论(0) 推荐(0) 编辑
摘要: VMware vCenter Converter Standalone 6.2.0迁移物理机系统到Esxi下载URLhttps://www.filehorse.com/download-vmware-vcenter-converter/download/ 迁移步骤教程:https://www.cnb 阅读全文
posted @ 2021-05-20 18:10 walkersss 阅读(2266) 评论(0) 推荐(0) 编辑
摘要: 程序在开发测试阶段开启日志有利于发现问题,并且解决问题,那么如果部署到生成环境还开起日志记录就会产生大量的垃圾文件占用大量的硬盘空间。所以就需要关闭日志记录功能。 application/config.php 中知道log的配置如下: 'log' => [ // 日志记录方式,内置 file soc 阅读全文
posted @ 2021-05-17 09:48 walkersss 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 用nginx屏蔽爬虫的方法 1. 使用"robots.txt"规范 在网站根目录新建空白文件,命名为"robots.txt",将下面内容保存即可。 User-agent: BaiduSpiderDisallow:User-agent: YisouSpiderDisallow:User-agent: 阅读全文
posted @ 2021-05-13 20:41 walkersss 阅读(1445) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 34 下一页