Jq is a lightweight and flexible command-line JSON processor. Official website: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq can parse data from JSON and replace data in field expressions to generate new JSON. For example, a JSON: { &quo…

2023年6月6日 2条评论 98点热度 1人点赞 痴者工良 阅读全文

Jq 是一个轻量级和灵活的命令行 JSON 处理器。 官网: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq 可以从 JSON 中解析数据以及将数据替换到字段表达式生成新的 Json。 例如一个 JSON: {"foo": 42, "bar": "less interesting data"} 使用 jq 表达式 .foo? 提取数据,结果: 42 提取数组的 JSON [ {"name":"JSON", "good":true…

2023年6月6日 2条评论 2643点热度 1人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 1. Overview of Istio 🚩 Let's Talk About Microservices Design It seems that using Kubernetes means you have a microservice system. I've encountered many people or companies blindly worshiping Kubernetes, constantly shout…

2023年5月28日 0条评论 2081点热度 4人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 1,Istio 概述 🚩聊聊微服务设计 似乎用上 Kubernetes ,就是微服务系统了。 碰到很多人或公司盲目崇拜 Kubernetes ,一直喊着要上 Kubernetes,但是本身既没有技术储备,也没有规划方案。想着上了 Kubernetes 之后,就会变成分布式、高性能、高逼格的微服务系统。 从经验来看,很多公司用上 Kubernetes 之后,并不会显著改善旧系统的缺点,而由于项目中充斥着大量泥球般混乱的代码、随意使用数据…

2023年5月28日 0条评论 2037点热度 4人点赞 痴者工良 阅读全文

Debezium can monitor the incremental changes of the following databases: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra Then it synchronizes the incremental data to Kafka. When the data is synchronized to Kafka, we can choose to develop our own tool …

2023年5月26日 1条评论 5890点热度 3人点赞 痴者工良 阅读全文

Debezium 可以监控以下数据的增量变化: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra 然后将增量数据同步到 Kafka。 当数据同步到 Kafka 时,我们可以选择自己研发工具读取 Kafka 的数据,然后从 Kafka 中进行数据清洗。 或者使用官方的 Kafka Connect 工具,它支持同步到 ElasticSearch 等地方。 下面来演示如何部署 Debezium。 部署 Kafka 因为 Debezium 需要将增量数据同步到…

2023年5月26日 1条评论 5992点热度 3人点赞 痴者工良 阅读全文

swagger2tsclient is not a Vue.js related library, but a tool used to convert Swagger API definition files into TypeScript client code. You can use the generated TypeScript client code with Vue.js projects to simplify interactions with back-end APIs. Here are t…

2023年5月15日 0条评论 2031点热度 1人点赞 痴者工良 阅读全文

swagger2tsclient 并不是一个 Vue.js 相关的库,而是一个用于将 Swagger API 定义文件转换为 TypeScript 客户端代码的工具。您可以将生成的 TypeScript 客户端代码与 Vue.js 项目一起使用,以简化与后端 API 的交互。以下是如何在 Vue.js 项目中使用 swagger2tsclient 的步骤: 安装 swagger2tsclient npm 包: npm install -g swagger2tsclient 在 package.json 的 scri…

2023年5月15日 0条评论 2069点热度 1人点赞 痴者工良 阅读全文

Snort is an open-source Intrusion Detection and Prevention System (IDS/IPS) used to monitor network traffic and block malicious behavior. Here are the basic usage methods for Snort: Install Snort: For Debian/Ubuntu systems, use the following command to install…

2023年5月12日 0条评论 2731点热度 0人点赞 痴者工良 阅读全文

Snort 是一款开源的入侵检测和防止系统(IDS/IPS),用于监控网络流量并阻止恶意行为。以下是 Snort 的基本使用方法: 安装 Snort: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install snort 对于 CentOS/RHEL 系统,首先安装 EPEL 仓库,然后使用以下命令安装: sudo yum install epel-release sudo yum install snort 配置 Snort: S…

2023年5月12日 0条评论 2767点热度 0人点赞 痴者工良 阅读全文

ClamAV is an open-source antivirus software used for detecting and removing viruses, trojans, and malware. Below are the basic usage methods for ClamAV: Install ClamAV: For Debian/Ubuntu systems, use the following commands to install: sudo apt-get update sudo …

2023年5月12日 0条评论 72点热度 1人点赞 痴者工良 阅读全文

ClamAV 是一款开源的杀毒软件,用于检测和清除病毒、木马和恶意软件。以下是 ClamAV 的基本使用方法: 安装 ClamAV: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install clamav clamav-daemon 对于 CentOS/RHEL 系统,使用以下命令安装: sudo yum install epel-release sudo yum install clamav clamav-update 更新病毒数…

2023年5月12日 0条评论 3016点热度 1人点赞 痴者工良 阅读全文

Fail2ban is a tool designed to prevent brute-force attacks by monitoring log files and blocking IP addresses when malicious behavior is detected. Here are the basic usage instructions for Fail2ban: Install Fail2ban: For Debian/Ubuntu systems, use the following…

2023年5月12日 0条评论 2688点热度 0人点赞 痴者工良 阅读全文

Fail2ban 是一个用于防止暴力破解的工具,可以监控日志文件,并在发现恶意行为时封锁 IP 地址。以下是 Fail2ban 的基本使用方法: 安装 Fail2ban: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install fail2ban 对于 CentOS/RHEL 系统,使用以下命令安装: sudo yum install epel-release sudo yum install fail2ban 配置 Fail2ba…

2023年5月12日 0条评论 2739点热度 0人点赞 痴者工良 阅读全文

Basic Knowledge In C#, there are symmetric and asymmetric encryption methods, among which RSA is the most commonly used asymmetric encryption. Due to significant changes in the encryption libraries in different .NET versions, this discussion will focus on vers…

2023年4月25日 0条评论 104点热度 0人点赞 痴者工良 阅读全文

基础知识 C# 中又对称加密和非对称加密,其中 RSA 是最常用的非对称加密。 由于 C# 中的加密库,在不同 .NET 版本中改动比较大,因此这里按 .NET 7 以后的版本来说。 首先 RSA 有以下继承关系: Object -> AsymmetricAlgorithm -> RSA -> RSACryptoServiceProvider AsymmetricAlgorithm 是非对称加密统一抽象接口,SymmetricAlgorithm 则是对称加密抽象接口。 非对称加密有公钥私钥组成,其…

2023年4月25日 0条评论 2442点热度 0人点赞 痴者工良 阅读全文

[TOC] 导读 最近一个数据分析朋友需要学习 Hive,刚好我也想学,便利用手头的服务器搭建一个学习环境,但是搭建过程中,发现网上的教程很多过时了,而且部署过程中,很多地方走不通,博主也没有给出对应的说明。花了大力气才从各种资料中完成 Hadoop、Mysql、Hive 三者的部署。 因此,本文记录在 Windows 下部署三者的过程以及如何解决部署过程中出现的问题,减少读者折腾消耗的时间。 Hadoop、Hive 是什么 由于 Hadoop、Hive 都是 Java 编写的程序,因此在 Windows 、Lin…

2023年3月19日 0条评论 2306点热度 0人点赞 痴者工良 阅读全文

Introduction Selenium Official Website: https://www.selenium.dev/ Selenium is a powerful automation testing toolset that encompasses a series of tools and libraries for automating web browsers, consisting of the following three projects: Selenium WebDriver Sel…

2023年2月20日 0条评论 131点热度 0人点赞 痴者工良 阅读全文

Introduction Selenium Official Website: https://www.selenium.dev/ Selenium is a powerful automation testing toolset that encompasses a range of tools and libraries for automating web browsers. It includes the following three projects: Selenium WebDriver Seleni…

2023年2月20日 0条评论 64点热度 0人点赞 痴者工良 阅读全文

介绍 Selenium 官网:https://www.selenium.dev/ Selenium 是功能强大的自动化测试工具集,是支持 Web 浏览器自动化的一系列工具和库的总括项目,一共包括以下三个项目: Selenium WebDriver Selenium IDE Selenium Grid Selenium 的核心是 WebDriver,可以在许多浏览器中交换运行,WebDriver 以原生的方式驱动浏览器,。 WebDriver 架构设计如下: 对每种浏览器编写一个 Driver,如 ChromeDri…

2023年2月20日 0条评论 2814点热度 0人点赞 痴者工良 阅读全文
1789101154