- 博客(20)
- 资源 (1)
- 收藏
- 关注
原创 Using keycloak to login node-red
Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.
2023-04-26 10:56:24
202
原创 MeiliSearch安装记录
从源码进行安装下载源码git clone https://github.com/meilisearch/MeiliSearch安装rust编译环境curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource ~/.cargo/env编译Meilisearchcd MeiliSearch/rustup updatecargo build --release./target/release/meil
2021-10-22 16:36:47
1127
原创 设计模式-命令模式
意图Encapsulate a request as an object, thereby let you parameterize client with different requests, queue or log requests, and support undoable operations.将一个请求封装为一个对象,使发出请求的责任和执行请求的责任分割开。这样两者之间通过命令对象进行沟通,这样方便将命令对象进行储存、传递、调用、增加与管理现实例子间谍的秘密文件箱封装调用
2021-10-08 11:16:54
149
原创 KieWorkbench+KieServer+Wildfly安装部署
下载1. 下载business-centraldrools官网下载curl https://download.jboss.org/drools/release/7.59.0.Final/business-central-7.59.0.Final-wildfly23.war --output ./business-central2.wildfly下载wildfly官方下载,24.0.1.Final部署cd /Users/woody/develop/wildfly-24.0.1.Final/st
2021-09-23 17:01:09
698
原创 centos7安装orientdb
Docker 安装卸载旧版本sudo yum remove docker docker-common docker-selinux docker-engine安装依赖包sudo yum install -y yum-utils device-mapper-persistent-data lvm2配置yum源sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo查
2021-09-23 10:14:27
223
原创 基于Centos7安装Odoo14
环境准备yum 环境准备使用阿里yum源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repoyum cleanallyum makecache更新系统sudo yum update -ysudo yum install epel-releasepython环境准备安装python3sudo yum install -y python3 python3-devel
2021-09-22 15:14:50
747
原创 Drools语法进阶
规则读取和修改数据的不同方法规则配置属性和全局变量规则执行控制机制通过全局变量进行外部交互为了能够与规则引擎环境之外的系统、数据进行交互,Drools提供了很多方法,其中全局变量便是其中一种。global EShopConfigService configService;修改工作内存空间中的数据由于Drl是基于描述的编程语言的,所以它没有办法提供一个drl访问另一个drl的方式,所以为了能够将规则拆分为更小的规则,Drools可以在数据发生变化以后重新评估和执行规则。insertru.
2021-09-17 18:41:05
1039
原创 Drools Runtime概念
理解Drools Runtime实例常用配置使用KieScanner动态加载变更Drools Runtime Instances要理解Drools runtime instances,首先要理解一下五个概念:KieServicesKieContainerKieModuleKieBaseKieSessionKie是Knowledge Is Everything的缩写。首先来看KieServices,它可以让我们通过注册服务来获取其他概念,在Drools的未来版本中可能会通过不同的se.
2021-09-17 14:58:05
216
原创 基于Nginx和pm2实现多实例node-red运行
Nginx 安装wget -c https://nginx.org/download/nginx-1.12.0.tar.gztar -zxvf nginx-1.12.0.tar.gzyum install gcc-c++yum install -y zlib zlib-develyum install -y openssl openssl-develyum install -y pcre pcre-devel./configure makemake install默认安装的位置为/us
2021-09-10 18:21:43
1301
1
原创 基于内网搭建node-red
背景在一些网络受限的内网环境下,没有办法通过互联网下载和安装node-red及其插件,本次就是要解决这样的问题,实现基于内网环境搭建node-red应用。环境准备操作系统centos7.5一台能联网的设备用来下载所需的包搭建过程基础包安装下载Node.js使用准备好的联网设备到https://nodejs.org/en/download/下载相应的Node.js程序包下载PM2和node.js不同,PM2不能下载tar.gz包,为了能安装PM2我们要下载它的npm包然后自己制作ta
2021-09-08 17:57:10
1426
原创 amis组件扩展初探
环境准备组件扩展涉及两个方面,一个是渲染组件,一个是在编辑器中配置组件,这两方面分别对应了以下两个工程:amis和amis-editor-demo,为了快速搭建环境,本次初探采用gitpod进行开发。首先注册gitpod账号,然后打开amis,在github仓库地址前加入gitpod.io#,例如:然后就可以打开在线开发环境了,整个开发过程和在vscode中的操作一致amis-editor-demo操作方式同上述过程一致,这样在5分钟以内我们就可以完成两个工程的开发环境搭建。扩展组件渲染器开
2021-09-02 18:34:37
3074
原创 Node-Red在报警管理中的应用研究
Node-Red在报警管理中的应用研究需求说明#mermaid-svg-kkTpzRpKcN4dCzpV .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-kkTpzRpKcN4dCzpV .label text{fill:#333}#mermaid-svg-kkTpzRpKcN4dCzpV .node rec
2021-09-02 11:37:54
867
原创 node-red查询oracle
环境部署在node-red中安装node-red-contrib-oracledb-mod 下载安装oracle-instantclient11.2-basic(instantclient在centos下安装) 编写node-red流程 [ { "id": "7f6af7842123485a", "type": "tab", "label": "流程 5", "disabled": false, "in.
2021-08-30 14:05:41
1027
1
翻译 Arrays of generics
You can't create arrays of generics. The general solution is to use an ArrayList everywhere that you are temped to create an array of generics: public class ListOfGenerics { private List array =
2012-12-09 17:47:37
292
翻译 the mystery of erasure
as you begin to delve more deeply into generics, there are number of things that won't initially make sense. For example, although you can say Arraylist.class, you can't say ArrayList.classthe cold
2012-12-09 15:06:33
265
原创 通过sql语句查询表的列和对应的数据并在jsp页面上显示
动态列 ${param.sql} <%Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XFSM", "xfsm", "merit");Statement stmt = conn.createStatement();ResultSet rs = stmt
2012-12-04 01:03:54
1344
翻译 Dynamic proxies
Proxy is one of the basic design pattern. It is an object that you insert in place of the "real" object in order to provide additional or different operations--these usually involve communication with
2012-12-02 21:25:04
331
翻译 Reflection: runtime class information
If you don't know the precise type of an object, RTTI will tell you. However there is a limitation: the type must be know at compile time in order for you to detect it using RTTI and to do something u
2012-12-02 15:08:04
194
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人