证书RSA

docker run -it --rm \ -v /data/certbot:/etc/letsencrypt \ registry.cn-hangzhou.aliyuncs.com/shiningrise/certbot-aliyun certonly \ --...

让.net9.0生成的默认网站支持swagger

让.net9.0生成的默认网站支持swagger.net9.0生成的默认网站,默认不支持swagger我们要安装Swashbuckle.AspNetCore.SwaggerUIapp.UseSwaggerUI(options => { options.SwaggerEndpo...

自行构建 TongWeb 7.0 的 Docker 镜像

# 使用基础镜像(建议与 TongWeb 兼容的 JDK 版本,如 JDK 8/11) FROM openjdk:8-jdk # 设置工作目录 WORKDIR /opt/tongweb # 复制 TongWeb 安装包到镜像 COPY tongweb-7.0.tar.gz /opt/ton...

自动更新程序AutoUpdater.NET

GitHub - ravibpatel/AutoUpdater.NET: AutoUpdater.NET is a class library that allows .NET developers to easily add auto update functionality to thei...

编译优化

#pragma GCC optimize(3,"Ofast","inline") #pragma G++ optimize(3,"Ofast","inline")

结构体定义运算符

struct Node { int p, n; bool operator < (Node t) const { return p > t.p; } }e[25];

结构体

#include<bits/stdc++.h> using namespace std; struct student{ //成员变量 string name; int x,y; //无参数构造函数 student(){} //带参数...

第一章 C++语言入门

板书1000:入门测试题目 int cin cout2060:【例1.1】计算机输出 cout2061:【例1.2】梯形面积 float printf1003:对齐输出 printf1004:字符三角形 ...

移动云MAS短信发送代码

using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Security.Cryp...

树的数据结构定义

#include<bits/stdc++.h> using namespace std; const int m = 10; //树的度 typedef struct node; typedef node *tree; struct node { cha...