1 2 3 4 5 ··· 29 下一页
摘要: Build for any screen https://flutter.dev/ 阅读全文
posted @ 2024-10-23 15:20 shiningrise 阅读(5) 评论(0) 推荐(0) 编辑
摘要: https://wzoi.cc/s/1824/3823 https://blog.csdn.net/u012647218/article/details/42191461 https://www.luogu.com.cn/problem/P4765 阅读全文
posted @ 2024-10-23 14:04 shiningrise 阅读(3) 评论(0) 推荐(0) 编辑
摘要: apiVersion: apps/v1 kind: Deployment metadata: creationTimestamp: null labels: app: web name: web spec: replicas: 1 selector: matchLabels: app: web st 阅读全文
posted @ 2024-10-10 16:48 shiningrise 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阿里k8s服务,负载均衡型服务 加证书方法,加注解: service.beta.kubernetes.io/alibaba-cloud-loadbalancer-protocol-port : https:443,http:80 service.beta.kubernetes.io/alibaba- 阅读全文
posted @ 2024-10-07 15:05 shiningrise 阅读(21) 评论(0) 推荐(0) 编辑
摘要: def getCipherPassword(password): private_key = '8EDB615B1D48B8BE188FC0F18EC08A41DF50EA731FA28BF409E6552809E3A111' # 这里假设你已经有了私钥字符串,实际中需通过特定方法生成 public 阅读全文
posted @ 2024-09-30 21:05 shiningrise 阅读(24) 评论(0) 推荐(0) 编辑
摘要: from locust import HttpUser, task, between from locust.contrib.fasthttp import FastHttpUser # 如果你使用 FastHttpUser import json class WebsiteUser(HttpUse 阅读全文
posted @ 2024-09-26 14:18 shiningrise 阅读(12) 评论(0) 推荐(0) 编辑
摘要: // 添加请求拦截器 service.interceptors.request.use( (config) => { // // 在发送请求之前做些什么 token // if (Session.get('token')) { // (<any>config.headers).common['Aut 阅读全文
posted @ 2024-09-22 09:45 shiningrise 阅读(38) 评论(0) 推荐(0) 编辑
摘要: namespace Admin.NET.Core; /// <summary> /// SqlSugar 实体仓储 /// </summary> /// <typeparam name="T"></typeparam> public class SqlSugarRepository<T> : Sim 阅读全文
posted @ 2024-09-20 18:39 shiningrise 阅读(30) 评论(0) 推荐(0) 编辑
摘要: // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root 阅读全文
posted @ 2024-09-19 15:50 shiningrise 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://suijimimashengcheng.bmcx.com/ 阅读全文
posted @ 2024-09-05 13:12 shiningrise 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <packages> <package id="SM23Crypto" version="1.0.0" targetFramework="net48" /> </packages> string smKey = "0485 阅读全文
posted @ 2024-09-03 13:46 shiningrise 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://github.com/DaoCloud/public-image-mirror 增加前缀 (推荐方式)。比如: k8s.gcr.io/coredns/coredns => m.daocloud.io/k8s.gcr.io/coredns/coredns 阅读全文
posted @ 2024-06-14 08:24 shiningrise 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 实验环境 原理 生成kube-vip静态pod配置清单 export VIP=192.168.215.200 # 我的vip是192.168.215.200 export INTERFACE=ens33 #可以用 ip a 查看接口名称 # kube-vip最新镜像为v0.8.0,但我装时无法成功, 阅读全文
posted @ 2024-06-13 09:45 shiningrise 阅读(141) 评论(0) 推荐(0) 编辑
摘要: using Org.BouncyCastle.Utilities.Encoders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threadin 阅读全文
posted @ 2024-06-12 10:10 shiningrise 阅读(91) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/shanyou/p/15556449.html https://blog.dapr.io/posts/2022/01/13/enable-dapr-with-apache-apisix-ingress-controller/ https://blog. 阅读全文
posted @ 2024-06-08 16:27 shiningrise 阅读(26) 评论(0) 推荐(0) 编辑
摘要: how to configure multiple domain (virtual host) and multiple virtual port # start the nginx proxy docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/ 阅读全文
posted @ 2024-06-03 08:25 shiningrise 阅读(136) 评论(0) 推荐(0) 编辑
摘要: docker run -p 9000:9000 -p 9001:9001 --name minio -d --restart=always -e "MINIO_ACCESS_KEY=admin" -e "MINIO_SECRET_KEY=admin123456" -v /home/data:/dat 阅读全文
posted @ 2024-06-02 16:21 shiningrise 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 安装配置相关软件 安装 PowerShell 7 / Core dotnet tool install --global PowerShell 安装 Visual Studio 扩展 Microsoft Child Process Debugging Power Tool 2022 安装插件后启动 阅读全文
posted @ 2024-06-02 13:25 shiningrise 阅读(67) 评论(0) 推荐(1) 编辑
摘要: 前提 你必须会创建aspire项目,不会的请先看微服务新体验之Aspire初体验 Aspirate (Aspir8) Aspirate 是将aspire项目发布到k8s集群的工具 安装aspirate dotnet tool install -g aspirate aspirate 初始化 切换到A 阅读全文
posted @ 2024-06-01 15:59 shiningrise 阅读(576) 评论(1) 推荐(3) 编辑
摘要: kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context 阅读全文
posted @ 2024-06-01 13:05 shiningrise 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 前提 你必须会创建aspire项目,不会的请先看微服务新体验之Aspire初体验 Aspirate (Aspir8) Aspirate 是将aspire项目发布到k8s集群的工具 安装aspirate dotnet tool install -g aspirate aspirate 初始化 切换到A 阅读全文
posted @ 2024-05-31 14:01 shiningrise 阅读(136) 评论(0) 推荐(1) 编辑
摘要: 安装aspire 查看vs版本 我这的版本是17.9.7,不支持aspire,所以需要升级 更新VS 点击 帮助->检查更新 点击更新 静等安装升级 创建aspire项目 项目创建成功,如下图 运行Aspire项目 在AspireApp1.AppHost的launchSettings.json文件中 阅读全文
posted @ 2024-05-30 13:12 shiningrise 阅读(902) 评论(4) 推荐(4) 编辑
摘要: https://github.com/jgm/pandoc 阅读全文
posted @ 2024-05-29 15:04 shiningrise 阅读(18) 评论(0) 推荐(0) 编辑
摘要: https://github.com/ddean2009/blog-auto-publishing-tools 阅读全文
posted @ 2024-05-29 14:40 shiningrise 阅读(13) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Molunerfinn/PicGo https://github.com/Molunerfinn/PicGo 阅读全文
posted @ 2024-05-29 13:57 shiningrise 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 自托管模式运行dapr 新建订阅webapi项目,取名为backend 项目增加docker支持,取消https支持 修改Program.cs var builder = WebApplication.CreateBuilder(args); builder.Services.AddControll 阅读全文
posted @ 2024-05-28 15:43 shiningrise 阅读(353) 评论(0) 推荐(1) 编辑
摘要: 新建webapi项目 建项目时取消https支持,勾选docker支持, Program.cs中注释下面语句,这样部署后才能访问Swagger // Configure the HTTP request pipeline. //if (app.Environment.IsDevelopment()) 阅读全文
posted @ 2024-05-26 19:57 shiningrise 阅读(196) 评论(1) 推荐(0) 编辑
摘要: 前置条件 安装docker与dapr: 手把手教你学Dapr - 3. 使用Dapr运行第一个.Net程序 安装k8s dapr 自托管模式运行 新建一个webapi无权限项目 launchSettings.json中applicationUrl端口改成5001,如下: "applicationUr 阅读全文
posted @ 2024-05-22 15:49 shiningrise 阅读(339) 评论(0) 推荐(1) 编辑
摘要: https://github.com/winsw/winsw 阅读全文
posted @ 2024-05-20 17:03 shiningrise 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 安装负载均衡metalb 安装metalb kubectl create namespace metallb-system 配置metalb #kubectl create secret generic -n metallb-system memberlist --from-literal=secr 阅读全文
posted @ 2024-05-17 09:53 shiningrise 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 安装 NFS 服务器: 首先,打开终端并安装 NFS 服务器软件包: sudo apt update sudo apt install nfs-kernel-server 创建共享目录: 决定哪个目录你想要共享,然后创建它(如果还不存在): sudo mkdir -p /nfs/data 配置共享目 阅读全文
posted @ 2024-05-14 23:00 shiningrise 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 安装kube-vip kubectl apply -f https://kube-vip.io/manifests/rbac.yaml 使用daemonset部署kube-vip export VIP=192.168.215.200 # vip地址 export INTERFACE=ens33 ap 阅读全文
posted @ 2024-05-14 21:02 shiningrise 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1 环境配置要求: apt使用阿里云的源 设置主机名及解析,设定时钟同步,关闭swap和防火墙,开启IPv4转发。 更改机器名 hostnamectl set-hostname master 2.关闭swap和防火墙 swapoff -a sed -i '/swap/s/^/#/' /etc/fst 阅读全文
posted @ 2024-05-14 17:34 shiningrise 阅读(932) 评论(2) 推荐(0) 编辑
摘要: ctr image pull docker.io/library/redis:7.2ctr image pull docker.io/ankane/pgvector:latestctr image pull docker.io/library/rabbitmq:3.13 sudo ctr image 阅读全文
posted @ 2024-05-11 16:05 shiningrise 阅读(41) 评论(0) 推荐(0) 编辑
摘要: sudo docker run -d --restart=unless-stopped -p 8080:80 -p 443:443 --name=rancher rancher/rancher:stable sudo docker run --privileged -d --restart=unle 阅读全文
posted @ 2024-05-09 09:38 shiningrise 阅读(45) 评论(0) 推荐(0) 编辑
摘要: from ftplib import FTP # 连接到FTP服务器 ftp = FTP('10.129.250.27') ftp.login(user='用户名', passwd='密码') # 列出FTP服务器上的文件和目录 ftp.retrlines('LIST') # 下载文件 filena 阅读全文
posted @ 2024-05-05 19:37 shiningrise 阅读(18) 评论(0) 推荐(0) 编辑
摘要: web.config中输入一下内容 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="httpTohttps" stopProcessing= 阅读全文
posted @ 2024-04-30 16:57 shiningrise 阅读(34) 评论(0) 推荐(0) 编辑
摘要: git log --date=format:%Y-%m-%d --pretty=format:"%cd;%an;%s" > log.txt 阅读全文
posted @ 2024-04-30 14:50 shiningrise 阅读(14) 评论(0) 推荐(0) 编辑
摘要: server { listen 443 ssl; server_name your.domain.com; ssl_certificate /path/to/certificate.crt; ssl_certificate_key /path/to/private.key; location / { 阅读全文
posted @ 2024-04-30 10:49 shiningrise 阅读(49) 评论(0) 推荐(0) 编辑
摘要: FROM certbot/certbot RUN pip install certbot-dns-aliyun docker build -t certbot-aliyun . # Aliyun DNS credentials # credentials.ini文件 dns_aliyun_acces 阅读全文
posted @ 2024-04-29 15:40 shiningrise 阅读(230) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 29 下一页
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css