会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随园笔记
静静的写点笔记
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
下一页
2018年12月10日
IntelliJ IDEA 转移 C盘.IntelliJIdea 索引目录
摘要: IntelliJ IDEA 索引目录默认路径是 C:\Users\用户\.IntelliJIdea 转移步骤 1. 将 C:\Users\用户\.IntelliJIdea 索引目录剪切到要移动到的目录,如 D:/cahce/.IntelliJIdea 2. 找到IntelliJ IDEA安装目录中配
阅读全文
posted @ 2018-12-10 16:02 王不惑
阅读(2952)
评论(0)
推荐(0)
2018年11月28日
python实例:快速找出多个字典中的公共键
摘要: 1.生成随机字典 方法1 用集合方法 方法2 使用 map 和 reduce # map()将函数调用映射到每个序列的对应元素上并返回一个含有所有返回值的列表 # reduce函数对参数序列中元素进行累计计算
阅读全文
posted @ 2018-11-28 16:43 王不惑
阅读(705)
评论(0)
推荐(0)
python实例:元组命名 频次统计 字典排序
摘要: 1.为元组中元素命名 方法1.定义常量 方法2.使用 namedtuple 2. 统计数组元素频次 方法1. 生成字典统计 方法2. 使用Counter 3.按字典值排序 方法1 使用元组 方法2 使用 sorted 的key
阅读全文
posted @ 2018-11-28 15:56 王不惑
阅读(737)
评论(0)
推荐(0)
python实例:在列表,字典,集合中,根据条件筛选数据
摘要: 1. 从列表中过滤掉 负数 2.从字典中获取分数大于90 的人 3.能被3整除的集合
阅读全文
posted @ 2018-11-28 15:02 王不惑
阅读(475)
评论(0)
推荐(0)
2018年11月20日
SpringCloud - RestTemplate 的三种使用方式
摘要: 1. 直接使用 2.使用 LoadBalancerClient 获取服务地址 3. 使用 @LoadBalanced 注解
阅读全文
posted @ 2018-11-20 16:35 王不惑
阅读(883)
评论(0)
推荐(0)
2018年11月19日
SpringCloud - 2. 服务注册 和 发现
摘要: SpringCloud 的服务注册和发现是由Eureka来完成。 1.eureka server 1.1 依赖 1.2 @EnableEurekaServer 注册服务 1.3. 配置 2. eureka client 2.1 依赖 2.2 @EnableDiscoveryClient 2.3 配置
阅读全文
posted @ 2018-11-19 16:27 王不惑
阅读(143)
评论(0)
推荐(0)
2018年11月16日
一个表的字段更新另一个表的字段
摘要: update table1 set field1 = table2.field1, field2 = table2.field2 from table2 where table1.id = table2.id
阅读全文
posted @ 2018-11-16 10:27 王不惑
阅读(472)
评论(0)
推荐(0)
MYSQL5.7 sql_mode=only_full_group_by
摘要: 错误提示: 查看sql_mode: 重新设置值
阅读全文
posted @ 2018-11-16 09:39 王不惑
阅读(237)
评论(0)
推荐(0)
CentOS7 防火墙操作
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 :
阅读全文
posted @ 2018-11-16 09:33 王不惑
阅读(325)
评论(0)
推荐(0)
2018年10月24日
log4j DailyRollingFileAppender, DatePattern 配置
摘要: 在DailyRollingFileAppender中可以指定monthly(每月)、 weekly(每周)、daily(每天)、half-daily(每半天)、hourly(每小时)和minutely(每分钟)六个频度,这是通过为 DatePattern选项赋予不同的值来完成的。DatePatter
阅读全文
posted @ 2018-10-24 10:42 王不惑
阅读(2258)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告