- 博客(31)
- 资源 (9)
- 收藏
- 关注
原创 弃坑入门:Activiti 7.1.0-M13+SpringBoot 2.5.0 开发环境搭建
由于Activiti项目团队自身的一些问题,新版本迭代很快,但功能基本上还是基于原来的Activiti 5.x/6.x,加上项目质量管控多少问题,新版本的bug多修复慢。国内很多activiti的用户还停留在5.x/6.x的阶段,故网上各种教材文章的内容也如此,对Activiti 7.x的资料有点无面,基本上都是就一两个点的记录。本测试将以尽量最新的环境版本来搭建,记录下备查也供有需之人参考。1.开发环境MacOS :11.3.1 ,JAVA环境,windows/linux应该也无大差异jdk
2021-05-22 19:44:22 4869 5
原创 elementary OS 5.1.7 Hera中文输入法踩坑记
1.elementary OS一直以来都是CentOS(6/7/8)的用户,一直有闻elementary长得漂亮,近日就想试一试,在https://elementary.io/官网支付金额输入0就可以白嫖了,然后在虚拟机里安装好的 elementary OS ,从系统设置–>关于中能看到明确提示: elementary OS 5.1.7 Hera基于 Ubuntu 18.04.4 LTS 构建 Linux 5.4.0-72-generic GTK 3.22.30哦,原来是基
2021-04-22 10:31:27 796
原创 我的世界minecraft最新版1.16.5服务器及其Python开发环境搭建
1.本文环境Mac OS: 11.2.3minecraft 运行JRE:JAVA 1.8Python: 3.9.4,需要pyyaml包minecraf 客户段: 官方 1.16.5minecraf 服务器:spigot 1.16.5Python API:JuicyRaspberryPie 1.16.5主要的工具服务器、API、客户端都是jar,所以windows/Linux环境无大区别2.MC下载官方客户端下载地址:https://minecraft.net/zh-hans/downl
2021-04-18 16:39:49 9164 8
原创 Python好看又好用的二维表格table生成
1.网上常见的方案# PrettyTablehttps://blog.csdn.net/weixin_45775963/article/details/104125439# reportlabhttps://blog.csdn.net/bocai_xiaodaidai/article/details/102820431# matplotlib.tablehttps://blog.csdn.net/qq_43235685/article/details/96100174# pyQT5
2021-03-27 08:37:52 1615 1
原创 Mac中的PATH环境变量
1.查看系统版本 ~ sw_versProductName: macOSProductVersion: 11.2BuildVersion: 20D642.参考信息网上说法基本一致,path变量加载顺序为:a. /etc/profile b. /etc/paths c. ~/.bash_profile d. ~/.bash_login e. ~/.profile f. ~/.bashrc 其中ab为全局的,后4个为当前用户的,若是zsh的花f项应该是~
2021-02-02 15:26:14 746
原创 内网实现Google Authenticator二步验证
0.概述相关背景参考https://blog.csdn.net/lizhengjava/article/details/76947962,本Demo将调用google api生成二维码改为了com.google.zxing包本地生成。1. pom.xml dependencies部分 <dependencies> <dependency> <groupId>commons-codec</groupId> <arti
2020-11-26 17:10:14 1134 3
原创 springboot 2.2.7集成Swagger 2.9.2并生成markdown格式API文档Demo
1.关键操作添加依赖 <!-- swagger2 依赖开始--> <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>sp
2020-05-10 13:44:32 1026
原创 Go Module入门及Golang项目组织
1.什么是Go Module?简而言之,Go Modul是Go在1.12之后官方发布的包管理工具。现代的语言都有很多好用的包管理工具,如 pip 之于 python,gem 之于 ruby,npm 之于 nodejs。然而 Golang 早期版本却没有官方的包管理器,直到 go1.5 才添加了实验性的 vendor。尽管官方的不作为(保守),还是无法阻止社区的繁荣。社区诞生了许多工具,比较有代...
2020-03-30 18:11:55 4582
原创 SpringBoot2.2.5自动装配分析及手动实现
1.新建sprigboot项目项目pox.xml如下:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem...
2020-03-20 17:18:10 928
原创 SpringBoot 2.2.5与KeyCloak9.0.0集成测试
1.测试目标Spring Boot写的Restful API前后端分离的情况下与KeyCloak集成普通的Spring 项目,前后端未分离的情况与KeyCloak集成2.建立测试用KeyCloak配置可以登录KeyCloak管理后台,本次测试用脚本进行。kcadm.sh脚本位于KeyCloak目录的./bin目录下。登录root账户,后续脚本不用登录./kcadm.sh con...
2020-03-17 23:51:43 1163
原创 keycloak 9.0/13.0.0 迁移数据库到MySQL 8.0.19
1.官方文档下载地址https://www.keycloak.org/downloads.html数据库配置https://www.keycloak.org/docs/latest/server_installation/index.html#database-configuration2.驱动准备Oracle官网下载下载mysql-connector-java-8.0....
2020-03-16 17:07:37 872
原创 matplotlib日期坐标轴及dataframe的merge操作Demo
1.主要问题2.Demo代码# coding:utf8import pandas as pdimport numpy as npimport matplotlib.pyplot as pltimport datetimeimport matplotlib.dates as mdates# 方法1: 默认index是X轴 达到预期def p1(): ax = fig.a...
2020-03-06 11:22:14 774
原创 matplotlib画图中tick坐标轴日期格式设置主副刻度并标注
1.解决的问题日期时间做X轴,设定主副刻度当X轴为日期时间时,annotate标注功能X轴坐标获取问题,即将x轴所在点的日期时间通过mdates.date2num()转为数字即可。关键代码如下:ax1.annotate("annotate msg ", xy=(mdates.date2num(x[1]), sales[1]), xycoords='data', color='red')...
2020-03-05 13:15:49 3868 2
原创 DataGrip提示排序字符集混用
1.现象使用DataGrip连接MySQL 8,最近团队统一将数据库的CHARACTER SET调整为utf8mb4,COLLATE调整为UTF8MB4_GENERAL_CI后, 在DataGrip中经常提示类似错信息:'llegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT...
2020-03-03 10:55:28 4423 1
原创 MySQL 8.0.13离奇的代码2013 bug
1.环境Mac Os:macOS 10.14.2 (18C54)mysql:mysql Ver 8.0.13 for osx10.14 on x86_64 (Homebrew)2.现象执行一个带有创建临时表的存储过程,0.367s左右就返回错误:Error Code: 2013. Lost connection to MySQL server during query3.过...
2019-01-20 11:20:07 1842
原创 GO语言多项目开发环境搭建
1.go的安装以Mac为例,linux/windows自行查找资料安装gobrew install go配置环境变量.bash_profile#go env startexport GOROOT=/usr/local/opt/go/libexecexport GOPATH=$HOME/goexport PATH=$PATH:$GOPATH:$GOPATH/bin#go ...
2018-11-19 12:51:42 2135 1
原创 Redis订阅&发布以及python代码实现
A:命令行服务器端192.168.1.168:7000> subscribe foo barReading messages... (press Ctrl-C to quit)1) "subscribe"2) "redisChat"3) (integer) 111) "message"2) "redisChat"3) "hello!"1) "messag
2015-12-30 17:16:07 3665
原创 彻底解决matplotlib中文乱码问题
1.环境查看a.系统版本查看[hadoop@p168 ~]$ cat /etc/redhat-releaseCentOS Linux release 7.2.1511 (Core) b.系统中文字体查看[hadoop@p168 ~]$ fc-list :lang=zh/usr/share/fonts/wqy-microhei/wqy-microhei.ttc: 文泉驿等宽微
2015-12-27 22:56:06 73586 21
原创 CentOS7.1下python2.7.10安装PyQt4
新人肯定跟我一样,那就是plt.show()在Linux环境下不显示,后来才明白,这是matplotlib依赖图形环境,有兴趣的可以去了解下matplotlib后端(Backend )相关知识.下面安装PyQt4解决.1.安装sip[root@p168 ~]# wget http://downloads.sourceforge.net/project/pyqt/sip/sip-4.
2015-12-16 18:10:59 6287 1
原创 CentOS 7.1安装GNOME,开启VNC Server
A.准备:1.安装GNOME Desktop[root@p161 ~]#yum groupinstall 'GNOME Desktop'2.查看CentOS 版本[root@p161 ~]# cat /etc/redhat-releaseCentOS Linux release 7.1.1503 (Core) ------------------------
2015-12-14 18:49:29 6526 1
原创 CentOS7.1安装Oracle 12.1客户端以及cx_Oracle
1.hostnamectl set-hostname p164 --修改主机名2.vim /etc/hosts --修改hosts,否则出现ORA-21561: OID generation failed,加入本机的解析192.168.1.164 p1643.安装--oracle instantclient依赖软件包即rzsz工具yum -y install l
2015-12-14 15:33:11 5640 1
原创 Sublime Text 3 Python开发环境配置
1.运行Sublime Text Build 3083 x64 Setup.exe,默认安装在C:\Program Files,启动后在帮助菜单输入注册码2.安装Package Control,打开Sublime Text3 按Ctrl+~ 在输入框内贴入:import urllib.request,os; pf = 'Package Control.sublime-package'; i
2015-12-14 14:12:46 2828
原创 Centos7.1搭建pyenv环境并安装python 2.7.10
[root@p168 ~]# cat /etc/redhat-releaseCentOS Linux release 7.1.1503 (Core) -----------------------------------------------------------------------A.安装依赖包yum install readline readline-dev
2015-12-14 12:24:55 3045
原创 Windows 7(64位) 配置Eclipse+Hadoop2.5.1开发环境
1.增加hadoop用户并登陆。用户名hadoop,密码 hadoop (用户要与master上一样,为测试方便可以直接放入管理员群组),同hadoop登陆系统2.安装JDK。安装与集群master机器相同版本的jdk:jdk-7u71-windows-x64.exe3.安装eclipse。将官网下的eclipse-jee-luna-SR1-win32-x86_64.zip解压
2014-11-13 18:38:26 2484
原创 CentOS 7 快速架设hadoop 2.5.1集群
1、软件OS:CentOS-7.0-1406-x86_64-DVD.iso --乖,去官网下吧JDK:jdk-7u71-linux-x64.gz --别那么懒了,去oracle网站下吧,至于1.8是否可行,俺是懒人,没试^_^Hadoop 64B Bin: hadoop-2.5.1-x64.tar.gz 懒人,用现成http://download.csdn.net/detail/col
2014-11-08 13:34:27 1611 4
swagger2.zip
2020-05-10
go-mod-test.zip
2020-03-30
PlantUML语言参考指引-中文版 (Version 1.2019.3)
2020-03-21
autoconfig-demo.zip
2020-03-20
快速配置Hadoop开发环境 Win7+Eclipse&CentOS7+Hadoop2 5 1
2014-11-14
PAS 55:Publicly Available Specification
2014-11-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人