自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(29)
  • 资源 (9)
  • 收藏
  • 关注

原创 一步一步手动webpack:深入理解vue项目配置(2022)

理解vue的webpack工程,手动创建

2022-03-03 07:43:12 955 3

原创 弃坑入门: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 4544 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 766

原创 我的世界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 8688 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 1561 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 715

原创 内网实现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 1073 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 991

原创 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 4518

原创 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 907

原创 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 1126

原创 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 841

原创 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 739

原创 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 3781 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 4265 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 1700

原创 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 2109 1

原创 Golang工程自动创建脚本

在windows或mac/linux中自动生成go项目结构

2017-07-26 14:40:51 2255

原创 CentOS+Mac+Python+RabbitMQ

centos 7.3 rabbitmq 3.6.10安装配置,Mac中python测试

2017-07-25 00:49:47 504

原创 LaTeX新手上路

折腾3~4天,蓦然回首,其实很简单!

2016-06-06 11:18:09 1305

原创 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 3646

原创 彻底解决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 73333 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 6232 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 6478 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 5597 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 2806

原创 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 3019

原创 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 2461

原创 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 1564 4

spigot-svr-1.16.5.zip

我的世界最新版1.16.5客户端对应的服务器资源,包括Python3开发API插件等

2021-04-18

swagger2.zip

springboot 2.2.7集成swagger2.9.2,并生成markdown格式API文档. io.springfox springfox-swagger2 2.9.2 io.swagger swagger-annotations io.swagger swagger-models io.swagger swagger-annotations 1.6.0 io.swagger swagger-models 1.6.0 io.swagger swagger-core 1.6.0 io.springfox springfox-swagger-ui 2.9.2 org.pegdown pegdown 1.6.0<

2020-05-10

go-mod-test.zip

Golang 1.14 中go module模块功能Demo项目,多模块,含单元测试及Makefile。 ├── Makefile ├── bin │   ├── main │   ├── submain1 │   └── submain2 ├── go.mod ├── go.sum └── src ├── main │   └── demomain.go ├── pk1 │   ├── pk1 │   ├── pk1.go │   └── pk1_test.go ├── submain1 │   └── submain1-main.go └── submain2 └── submain2-main.go

2020-03-30

PlantUML语言参考指引-中文版 (Version 1.2019.3)

在写文档的过程中,经常需要进行画图。虽然说现在有很多类似viso之类的可视化画图工具,但是还是要花费大量时间在拖拉组件上,效率十分低下。最近在网上找到了一款还算不错的绘图工具-- Plantuml, 它本质上是也算一门可以快速画图的设计语言,学习起来也很方便

2020-03-21

autoconfig-demo.zip

手动实现springboot 2.2.5 启动自动装配演示代码 <?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:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.5.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.demo.springboot</groupId> <artifactId>autoconfig-demo</artifactId> <version>0.0.1-SNAPSHOT</version> <name>autoconfig-demo</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>

2020-03-20

31302_ResScan_6.0.1.zip

最新版的ResMed呼吸机数据读取分析软件,Windows版本,版本:6.01.9830。

2019-07-21

golang项目自动生产脚本(Windows/mac/linux)

在windows或mac/linux中自动生成go项目结构以及编译脚本,避免频繁修改GOPATH.

2017-07-26

快速配置Hadoop开发环境 Win7+Eclipse&amp;CentOS7+Hadoop2 5 1

本文来自近一周从零开始摸索的操作的笔记 在此过程中得感谢XXTV 感谢互联网 整理出来一是自己备忘 二是希望能初学Hadoop的人一些参考 并节约宝贵时间 本文分两部分 第一部分为Hadoop2 5 1集群的架设 基于CentOS 7操作系统;第二部分是基于Windows 7 64位Eclipse开发环境的配置 若严格按本文步骤执行的话应该可以配置环境完成(没把握的话连空格都不要改动 血的教训 ) 若有问题欢迎各位邮件或到blog中交流 本文最后修改时间:2014年11月14日 15时 ">本文来自近一周从零开始摸索的操作的笔记 在此过程中得感谢XXTV 感谢互联网 整理出来一是自己备忘 二是希望能初学Hadoop的人一些参考 并节约宝贵时间 本文分两部分 第一部分为Hadoop2 5 1集群的架设 基于CentOS 7操作 [更多]

2014-11-14

PAS 55:Publicly Available Specification

This Publicly Available Specification (PAS) was first published in 2004 in response to demand from industry for a standard for asset management. It is applicable to any organization where physical assets are a key or a critical factor in achieving its business goals. This 2008 revision reflects the increasing international consensus about required good practices in the management of such physical assets.

2014-11-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除