上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
  2021年4月26日
摘要: public static Integer counts(List<Integer> list){ // Inter数组// int[] x = {1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1}; // 之前的整数 int beforeNumbe 阅读全文
posted @ 2021-04-26 11:13 独醉笑清风 阅读(219) 评论(0) 推荐(0) 编辑
  2021年1月3日
摘要: server { listen 80; server_name www.klzhibo.cn; set $mobile_rewrite do_not_perform; if ($http_user_agent ~* "(android|bb\d+|meego).+mobile|avantgo|bad 阅读全文
posted @ 2021-01-03 01:17 独醉笑清风 阅读(182) 评论(0) 推荐(0) 编辑
  2020年8月31日
摘要: 利用java8新特性,可以用简洁高效的代码来实现一些数据处理。定义1个Apple对象: public class Apple { private Integer id; private String name; private BigDecimal money; private Integer nu 阅读全文
posted @ 2020-08-31 06:50 独醉笑清风 阅读(700) 评论(0) 推荐(0) 编辑
  2020年7月22日
摘要: 首先修改配置文件 vi /etc/ssh/sshd_config 找到#Port 22一段,这里是标识默认使用22端口,修改为如下: Port 22 Port 18522 然后保存退出 6.5版本:/etc/init.d/sshd restart 7.4版本:systemctl restart ss 阅读全文
posted @ 2020-07-22 18:38 独醉笑清风 阅读(762) 评论(0) 推荐(0) 编辑
  2020年7月18日
摘要: 买的云服务器发现系统盘空间不足,但是买的时候是80GB,可用只有8GB 问了客服说硬盘没有挂载上 于是有了下面的操作 [root@localhost ~]# lsblk -fNAME FSTYPE LABEL UUID MOUNTPOINTfd0 sda ├─sda1 xfs 34f79a00-9e 阅读全文
posted @ 2020-07-18 20:22 独醉笑清风 阅读(480) 评论(0) 推荐(0) 编辑
  2020年7月14日
摘要: server { listen 80 default_server; listen [::]:80 default_server; server_name localhsot; client_max_body_size 10M; root /usr/share/nginx/html; include 阅读全文
posted @ 2020-07-14 11:23 独醉笑清风 阅读(4685) 评论(0) 推荐(0) 编辑
  2020年7月12日
摘要: Page<AoaQuestionHeader> findAll(Specification<AoaQuestionHeader> spec, Pageable pageable); List<AoaQuestionHeader> headerPage = questionHeaderDao.find 阅读全文
posted @ 2020-07-12 11:40 独醉笑清风 阅读(1256) 评论(0) 推荐(0) 编辑
摘要: 什么是跨域(CORS) 跨域(CORS)是指不同域名之间相互访问。跨域,指的是浏览器不能执行其他网站的脚本,它是由浏览器的同源策略所造成的,是浏览器对于JavaScript所定义的安全限制策略。 也就是如果在A网站中,我们希望使用Ajax来获得B网站中的特定内容,如果A网站与B网站不在同一个域中,那 阅读全文
posted @ 2020-07-12 11:27 独醉笑清风 阅读(476) 评论(0) 推荐(0) 编辑
  2020年7月8日
摘要: redis-server 直接启动 redis-server & 后台启动 redis-server /usr/local/redis/redis-2.8.3/src/redis.conf & 加载配置文件启动 find -name 文件名全局搜索 阅读全文
posted @ 2020-07-08 17:20 独醉笑清风 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 记性不好 List<Group> groupList = groupDao.findByParentIdAndFlag(2l,0);if (groupList.size() > 0){ Iterator it = groupList.iterator(); while(it.hasNext()){ 阅读全文
posted @ 2020-07-08 12:04 独醉笑清风 阅读(235) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页