摘要: 标记 十进制编码 编码 ™ ™ € € Space     ! ! " " " # # $ $ % % & & & ' ' ( ( ) ) * * + + 阅读全文
posted @ 2023-03-24 09:48 ZeroBug 阅读(64) 评论(0) 推荐(0) 编辑
摘要: dotnet nuget push *包名称*.nupkg -k *apikey* -s https://api.nuget.org/v3/index.json 阅读全文
posted @ 2022-06-09 15:08 ZeroBug 阅读(37) 评论(0) 推荐(0) 编辑
摘要: redis简介: redis是一个缓存数据库,里面的数据都是字符串,使用key-value形式存储,使用redis缓存数据库可以提高系统的访问性能,一般开发时使用Windows下的redis服务器,生产时使用linux下的服务器。 一、下载Windows版本的redis 下载地址:https://g 阅读全文
posted @ 2022-05-07 09:12 ZeroBug 阅读(2068) 评论(0) 推荐(0) 编辑
摘要: HTTP请求变慢,用如下的命令来测试看看是请求的哪个环节变慢,域名我用百度的域名来代替: curl -o /dev/null -s -w %{time_namelookup}::%{time_connect}::%{time_total}"\n" https://www.baidu.com 这里的各 阅读全文
posted @ 2022-04-14 09:21 ZeroBug 阅读(186) 评论(0) 推荐(0) 编辑
摘要: //将EF Core迁移脚本生成Sql脚本,其中"MigrationsDbContext"为ModelSnapshot上定义的DbContext名称 Script-Migration -From 0 -Context MigrationsDbContext Add-Migration Update- 阅读全文
posted @ 2021-09-02 16:33 ZeroBug 阅读(32) 评论(0) 推荐(0) 编辑
摘要: internal static class CorrelationIdGenerator { // Base32 encoding - in ascii sort order for easy text based sorting private static readonly char[] s_e 阅读全文
posted @ 2020-12-18 10:45 ZeroBug 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 查找镜像 docker search centos 拉取镜像 docker pull centos 查看本地镜像 docker images 拉取了镜像后,就可以使用这个镜像,创建一个Docker容器 docker run --name linuxdemo -it <IMAGE ID> (如:doc 阅读全文
posted @ 2020-12-16 17:55 ZeroBug 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Docker版本要求 CentOs 系统的内核版本高于 3.10,可通过如下指令查看版本 uname -r 卸载docker,并更新yum sudo yum remove docker docker-common container-selinux docker-selinux docker-eng 阅读全文
posted @ 2020-12-15 14:54 ZeroBug 阅读(103) 评论(0) 推荐(0) 编辑
摘要: public string Draw() { //背景图片,海报背景 string path = Server.MapPath("/wwwroot/bg.jpg"); System.Drawing.Image imgSrc = System.Drawing.Image.FromFile(path); 阅读全文
posted @ 2020-10-15 15:15 ZeroBug 阅读(392) 评论(0) 推荐(0) 编辑
摘要: CREATE function [dbo].[f_split](@SourceSql varchar(8000),@StrSeprate varchar(10)) returns @temp table(a varchar(100)) --实现split功能函数 begin declare @i i 阅读全文
posted @ 2020-06-29 09:35 ZeroBug 阅读(269) 评论(0) 推荐(0) 编辑