posted @ 2024-04-20 14:59 valeb 阅读(1369) 评论(0) 推荐(0)
摘要:
JAVA SDK 下载地址 : https://www.oracle.com/cn/java/technologies/downloads JAVA JRE 下载地址: https://www.java.com/en/download/ 阅读全文
摘要:
var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddCors(options => { options.AddPolicy("any", bui 阅读全文
posted @ 2024-03-22 20:14 valeb 阅读(219) 评论(0) 推荐(0)
摘要:
--定义参数 declare @Row_LevelIndex int declare @Row_UserID int declare @Row_MemberRight int declare @Row_CaptainID int declare @Row_Score decimal(18,2) de 阅读全文
posted @ 2024-03-21 11:36 valeb 阅读(30) 评论(0) 推荐(0)
摘要:
SELECT (STUFF((SELECT top 3 ',' + CAST(UserID AS NVARCHAR) FROM AccountsInfo FOR XML PATH('') ),1,1,'')) UserID ALTER TABLE 表名 ADD CreateTimestamp ROW 阅读全文
posted @ 2024-01-11 17:35 valeb 阅读(70) 评论(0) 推荐(0)
摘要:
public string RemoteIpAddress { get { string ip4 = Request.Headers["X-Forwarded-For"].FirstOrDefault()??""; if (string.IsNullOrWhiteSpace(ip4)) { var 阅读全文
posted @ 2023-12-15 16:45 valeb 阅读(44) 评论(0) 推荐(0)
摘要:
declare @guid uniqueidentifier =NEWID() SELECT LEFT(abs(checksum(@guid))+'0000000000',8) --8位纯数字 SELECT LEFT(LOWER(@guid),8) --8位数字与字母 (推荐) 阅读全文
posted @ 2023-12-12 12:55 valeb 阅读(140) 评论(0) 推荐(0)
摘要:
FROM node:lts-alpine as build-stage WORKDIR /app COPY package.json ./ RUN yarn install COPY . . RUN yarn build #代理nginx,nginx直接访问 FROM nginx:stable-al 阅读全文
posted @ 2023-10-06 18:05 valeb 阅读(39) 评论(0) 推荐(0)
摘要:
{ "Kestrel": { "Endpoints": { "Http": { "Url": "http://*:5080" }, "Https": { "Url": "https://*:5081", "Certificate": { "Path": "/app/server.pfx", "Pas 阅读全文
posted @ 2023-09-28 14:18 valeb 阅读(20) 评论(0) 推荐(0)
摘要:
yum update -y yum -y install yum-utils yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.dock 阅读全文
posted @ 2023-09-26 18:25 valeb 阅读(14) 评论(0) 推荐(0)
摘要:
1:查看当前Centos 内核版本 uname -r 2:下载内核包 wget http://hkg.mirror.rackspace.com/elrepo/kernel/el7/x86_64/RPMS/kernel-lt-5.4.257-1.el7.elrepo.x86_64.rpm 3:rpm安 阅读全文
posted @ 2023-09-26 18:11 valeb 阅读(118) 评论(0) 推荐(0)