摘要: package main import ( "bytes" "fmt" "image" "io/ioutil" "mylog" "os" "path" "github.com/nfnt/resize" _ "image/gif" "image/jpeg" _ "image/png" ) func m 阅读全文
posted @ 2023-06-13 16:45 wsh3166Sir 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 用户的输入经常用到拼音码选择器 --调用方法 select dbo.wsh_GetPY('汉字') ALTER FUNCTION [dbo].[wsh_GetPY] ( @str NVARCHAR(4000) ) RETURNS NVARCHAR(4000) AS BEGIN DECLARE @WO 阅读全文
posted @ 2023-05-10 14:51 wsh3166Sir 阅读(28) 评论(0) 推荐(0) 编辑
摘要: /* test110 '2023-04-26','2023-04-26','全部','901100569,901100570,901100571,901100572,901100573'; */ ALTER PROCEDURE [dbo].[test110] @StartDate datetime, 阅读全文
posted @ 2023-04-28 09:01 wsh3166Sir 阅读(209) 评论(0) 推荐(0) 编辑
摘要: // 看到一张以前的笔记,再一看还是很容易明白。 //https://github.com/getify/You-Dont-Know-JS/blob/1ed-zh-CN/async%20%26%20performance/ch3.md let p5= new Promise((resolve,rej 阅读全文
posted @ 2022-06-27 16:27 wsh3166Sir 阅读(21) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "sync" "time" ) //import ... type Glimit struct { n int c chan struct{} } // initialization Glimit struct func New_workers 阅读全文
posted @ 2022-06-27 16:16 wsh3166Sir 阅读(169) 评论(6) 推荐(0) 编辑
摘要: --创建链接服务器 exec sp_addlinkedserver 'ServerName', ' ', 'SQLOLEDB ', 'IPADDRESS' exec sp_addlinkedsrvlogin 'ServerName', 'false ',null, 'username', 'pass 阅读全文
posted @ 2022-06-27 14:50 wsh3166Sir 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 按时间顺序记录1、2022年6月22日,公司对其他区域分店进行库存盘点,上午8点20开始盘点,后台日志正常,9点40分左右盘点人员在群里反馈盘点APP打不开,第一反应以为服务故障了,查看后台后确认服务正常,并且本区域门店也在使用,联系门店退出后重进是否正常,答正常。2、内网访问正常,于是重启外网交换 阅读全文
posted @ 2022-06-22 12:52 wsh3166Sir 阅读(227) 评论(0) 推荐(0) 编辑
摘要: golang http代理(带身份认证) 直接上代码 配置文件: c.yaml ##配置文件 每行顶格写,分隔符冒号后面有空格 proxy_port: 9527 #监听端口 user: z1 #账号 #若账号为空则无需认证 password: m1 #密码 ip_black_list : #要过滤的 阅读全文
posted @ 2022-05-24 10:45 wsh3166Sir 阅读(894) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "sort" ) var num_list []int = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} var des int = 0 func main() { sort.Ints(num_list) / 阅读全文
posted @ 2022-05-13 16:44 wsh3166Sir 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 服务端: package main import ( "log" "goftp.io/server/core" "goftp.io/server/driver/file" ) func main() { Name := "FTP Server" rootPath := "./static" //FT 阅读全文
posted @ 2022-05-11 08:35 wsh3166Sir 阅读(1418) 评论(0) 推荐(0) 编辑