- 博客(6)
- 收藏
- 关注
原创 LocalDate to Date
public static Date get() throws ParseException { LocalDate localDate = LocalDate.now().with(TemporalAdjusters.firstDayOfMonth()).plusMonths(1); DateTimeFormatter formatters = DateTimeFormatter...
2018-11-02 18:14:58 285 1
原创 CentOS install redis cannot make with gcc and tcl
[root@localhost local]# cd redis-5.0.0/src/[root@localhost src]# make CC Makefile.deprm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gc ...
2018-10-28 12:42:34 134
原创 RHEL and CentOS 7 use firewall-cmd instead of iptables
RHEL and CentOS 7 use firewall-cmd instead of iptables**# add ssh port as permanent opened port**firewall-cmd --zone=public --add-port=22/tcp --permanent**#Then, you can reload rules to be sure tha...
2018-10-28 12:40:14 96
原创 install mysql-community-server error not perl
[root@localhost software]# rpm -ivh mysql-community-server-5.7.20-1.el7.x86_64.rpmwarning: mysql-community-server-5.7.20-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ...
2018-10-28 01:01:23 344
原创 Mark the output order for try catch finally method with different palce ofr return
public class TryCatchFinally {public static void main(String[] args) { System.out.println(getStr());}public static String getStr(){ String t = ""; try { t = "try"; re...
2018-10-17 10:20:26 89
原创 Spring-tool-suite create maven project with red exclamation mark
1.delete the .m22.right click your project ->maven->update your project
2018-10-15 19:48:21 123
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人