
Developer
我是谁_Gary
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
How to use kafka2.12 as a MQ on the Ubuntu18.04/Linux
1. Download the kafka from the ApacheBinary downloads: Scala 2.12 - kafka_2.12-1.1.0.tgz (asc, sha512)2. unzip the kafka_2.12-1.1.0.tgz3. Start the zookeeper bin/zookeeper-server-start.sh config/z...原创 2018-06-30 10:59:25 · 247 阅读 · 0 评论 -
码农常用/好用工具【持续更新】
1. Online UML https://www.draw.io/ 2. Maven repository https://mvnrepository.com/ 3. PDF Drive is your search engine for PDF files https://www.pdfdrive.net/ 4. Android测试版计划 https://www.google.com/a...原创 2018-05-15 11:11:27 · 2256 阅读 · 2 评论 -
生成六位随即验证码的一种简单实现
public static String generateRandomNum() { Random random = new Random(); String result=""; for (int i=0;i<6;i++) { result+=random.nextInt(10); } return result; }原创 2018-11-30 23:19:40 · 1068 阅读 · 0 评论 -
java中{0}占位符的使用
MessageFormat.format(“一种简单的Java占位符实现:{0}分隔{1}”, "val1" ,”val2”));原创 2018-11-30 23:24:23 · 9350 阅读 · 0 评论 -
Maven中设置镜像仓库的简单配置
在maven的settings.xml 文件里配置mirrors的子节点,添加如下mirror: <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://m原创 2018-11-30 23:27:58 · 385 阅读 · 0 评论 -
彻底解决mysql中文乱码【转载】
mysql是我们项目中非常常用的数据型数据库。但是因为我们需要在数据库保存中文字符,所以经常遇到数据库乱码情况。下面就来介绍一下如何彻底解决数据库中文乱码情况。 1、中文乱码 1.1、中文乱码 create table user(name varchar(11)); # 创建user表 insert into table user("carl"); # 添加数据 ...转载 2018-11-30 23:45:11 · 1696 阅读 · 1 评论