上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: $env:Path += ";C:\Program Files\GnuWin32\bin" 阅读全文
posted @ 2021-02-02 09:17 天藐水瓶 阅读(30) 评论(0) 推荐(0) 编辑
摘要: public IEnumerable<DateTime> EachDay(DateTime from, DateTime thru) { for(var day = from.Date; day.Date <= thru.Date; day = day.AddDays(1)) yield retur 阅读全文
posted @ 2020-12-17 13:14 天藐水瓶 阅读(82) 评论(0) 推荐(0) 编辑
摘要: public static class ListExtension { public static IEnumerable<List<T>> SplitListByNumber<T>(this List<T> locations, int nSize = 30) { for (int i = 0; 阅读全文
posted @ 2020-12-14 22:48 天藐水瓶 阅读(91) 评论(0) 推荐(0) 编辑
摘要: var objects = yourResults.GroupBy(o => o.Id).Select(g => g.First()); 阅读全文
posted @ 2020-11-27 16:49 天藐水瓶 阅读(71) 评论(1) 推荐(0) 编辑
摘要: netstat -aon | findstr "80" 阅读全文
posted @ 2020-08-27 20:41 天藐水瓶 阅读(72) 评论(0) 推荐(0) 编辑
摘要: As the System.Random class relies on a pseudorandom number generator, it should not be used for security-critical applications or for protecting sensi 阅读全文
posted @ 2020-07-14 19:34 天藐水瓶 阅读(361) 评论(0) 推荐(0) 编辑
摘要: https://docs.microsoft.com/en-us/azure/architecture/microservices/design/gateway 身份验证和授权 反向代理或网关路由 API 网关提供一个反向代理将请求(第 7 层路由,通常是 HTTP 请求)重定向或路由到内部微服务的 阅读全文
posted @ 2020-06-23 09:33 天藐水瓶 阅读(872) 评论(0) 推荐(0) 编辑
摘要: UPDATE Table_A SET Table_A.col1 = Table_B.col1, Table_A.col2 = Table_B.col2 FROM Some_Table AS Table_A INNER JOIN Other_Table AS Table_B ON Table_A.id 阅读全文
posted @ 2020-05-22 16:21 天藐水瓶 阅读(157) 评论(0) 推荐(0) 编辑
摘要: declare @TableName sysname = 'TableName' declare @Result varchar(max) = 'public class ' + @TableName + ' {' select @Result = @Result + ' public ' + Co 阅读全文
posted @ 2020-04-05 16:34 天藐水瓶 阅读(281) 评论(0) 推荐(0) 编辑
摘要: <rewrite> <outboundRules> <rule name="Add SameSite" preCondition="No SameSite"> <match serverVariable="RESPONSE_Set_Cookie" pattern=".*" negate="false 阅读全文
posted @ 2020-04-03 09:52 天藐水瓶 阅读(254) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页