Linux常用命令整理

常用linux命令整理。

LarryDpk LarryDpk 发布于 2021-05-03

Kubernetes ConfigMap详解,多种方式创建、多种方式使用

1 简介配置是程序绕不开的话题,在Kubernetes中使用ConfigMap来配置,它本质其实主是一个键值对。本文讲解如何通过5种方式创建ConfigMap,通过4种方式使用ConfigMap。2 创建ConfigMap按大类可分为两种方式,细分共有五种方式:(一)kubectl create c

LarryDpk LarryDpk 发布于 2021-02-22

如何查看Docker容器环境变量,如何向容器传递环境变量

1前言了解Docker容器的运行环境非常重要,我们把应用放在容器里执行,环境变量会直接影响程序的执行效果。所以我们要知道容器内部的环境变量,也要知道如何改变这些环境变量。2查看环境变量2.1方式一:dockerinspect通过dockerinspect命令不仅能查看环境变量,还能查看容器其它相关信

LarryDpk LarryDpk 发布于 2020-07-30

A QuickStart for AI API Coding

A QuickStart for AI API Coding OpenAI API quick start OpenAI API setup Create OpenAI account and set payment method; Create Project; Create API key in

LarryDpk LarryDpk 发布于 2024-10-02

Automation UI Test with Selenium in JavaScript

Automation UI Test with Selenium in JavaScript Here is an example of how to set up and run a basic UI test using Selenium with JavaScript (Node.js). T

LarryDpk LarryDpk 发布于 2024-08-17

Secure Kafka with SSL(Shell Script Automation)

Secure Kafka with SSL(Shell Script Automation) Securing Kafka with SSL (using Java KeyStore, JKS) involves several steps both on the server (Kafka bro

LarryDpk LarryDpk 发布于 2024-08-14

Node Kafka Producer And Consumer Example

Node Kafka Producer And Consumer Example To set up a Node.js project where producer.js sends messages to Kafka using a cron job, and consumer.js consu

LarryDpk LarryDpk 发布于 2024-08-11

A WebSocket Example Built With Node And ReactJS

A WebSocket Example Built With Node And ReactJS Creating a WebSocket project with a Node.js backend and a React.js frontend is a great way to build re

LarryDpk LarryDpk 发布于 2024-08-11

Nodejs Unit Tests With Mocha

Nodejs Unit Tests With Mocha Setting up a Node.js project for unit testing involves several steps, including project initialization, installing necess

LarryDpk LarryDpk 发布于 2024-08-11

Java从网上下载文件的几种方式

1前言从网上获取资源是一种很常见的场景,比较从某个网站获取资料。2三种方式2.1JavaNIO代码如下:URLwebsite=newURL("https://www.pkslow.com");ReadableByteChannelrbc=Channels.newChannel(w

LarryDpk LarryDpk 发布于 2024-03-16