摘要: 什么是持续集成(Continuous integration)? CI 在持续集成环境中,开发人员将会频繁得提交代码到主干。这些新提交在最终合并到主线之前,都需要通过编译和自动化测试进行验证。这样做是基于之前持续集成过程中很重视自动化测试验证结果,以保障所有得提交在合并主干之后得质量问题,对可能出现 阅读全文
posted @ 2021-09-07 16:43 hbsfgl 阅读(3223) 评论(0) 推荐(0) 编辑
摘要: DevOps 构建可扩展且高度可靠的软件系统是每个SRE的最终目标。 在SRE/DevOps领域中,有大量出色的开源项目,每个项目都有新颖而激动人心的解决方案。介绍一些在监控,部署和运维领域最受欢迎的开源项目。 1、Cloudprober Cloudprober可以主动跟踪和监控应用程序,并提前发现 阅读全文
posted @ 2021-09-07 16:40 hbsfgl 阅读(165) 评论(0) 推荐(0) 编辑
摘要: CI/CD 本文将探讨CI(持续集成)/CD(持续部署)流程中的各个阶段;以及从快速、规模交付的视角探讨为什么CI/CD流水线对于我们的组织是必不可少的。 CI/CD流水线工作流包括CI/CD流程开始时所有阶段等一系列步骤,负责创建自动、连贯的软件交付模型。 通过CI/CD流水线,软件研发可以实现从 阅读全文
posted @ 2021-09-07 16:39 hbsfgl 阅读(478) 评论(0) 推荐(0) 编辑
摘要: There are several ways to consume a RESTful API in C#: HttpWebRequest/Response Class WebClient Class HttpClient Class RestSharp RestSharp is the OpenS 阅读全文
posted @ 2017-12-06 11:49 hbsfgl 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1.查看SQL语句IO消耗 set statistics io on select * from dbo.jx_order where order_time>'2011-04-12 12:49:57.580' set statistics io off 2.查看SQL语句时间消耗 set stati 阅读全文
posted @ 2017-09-15 19:22 hbsfgl 阅读(283) 评论(0) 推荐(0) 编辑
摘要: DECLARE @people NVARCHAR(50); SELECT @people = '钟兴许-李凯鹏-刘建锋'; SELECT LEN(@people) - LEN(REPLACE(@people, '-', '')) 阅读全文
posted @ 2017-09-14 20:53 hbsfgl 阅读(3571) 评论(0) 推荐(1) 编辑
摘要: public static string SendRequest(string url, SortedDictionary requestParams, string requestMethod, string fileName) { if (requestMethod == "GET") { ... 阅读全文
posted @ 2017-09-13 19:49 hbsfgl 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Xml; using System.Data.SqlClient; using System.Collections; namespace DBUtility { /// /// SqlServer数据访问帮助类 /// public sealed class SqlH... 阅读全文
posted @ 2017-09-04 17:44 hbsfgl 阅读(144) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE #Student ( [学生编号] INT IDENTITY(1, 1) PRIMARY KEY, [姓名] NVARCHAR(20), [性别] NVARCHAR(1), [所属班级] NVARCHAR(20) ); INSERT INTO #Student ( [姓名], [性别], [所属班级] ) ... 阅读全文
posted @ 2017-06-03 17:07 hbsfgl 阅读(105) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace ManualResetEventState { class Program { static ManualResetEven... 阅读全文
posted @ 2017-05-05 19:11 hbsfgl 阅读(137) 评论(0) 推荐(0) 编辑