摘要:
@echo off rem 定义循环间隔时间和监测的服务: set secs=60 set srvname="SoftDog" echo. echo echo == 查询计算机服务的状态, == echo == 每间隔%secs%秒种进行一次查询, == echo == 如发现其停止,则立即启动。 阅读全文
摘要:
https://coolshell.cn/articles/17416.html 阅读全文
摘要:
Here's the deal: We have to tell both NuGet and TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolut 阅读全文
摘要:
http://dirolf.com/2010/04/05/stored-javascript-in-mongodb-and-pymongo.html https://docs.mongodb.com/manual/tutorial/store-javascript-function-on-serve 阅读全文
摘要:
To completely remove TFS source control binding follow these two steps:1、Go to your solution's folder, find and delete all files with *.vssscc and *.v 阅读全文
摘要:
static class Extensions { public static IList<T> Clone<T>(this IList<T> listToClone) where T: ICloneable { return listToClone.Select(item => (T)item.C 阅读全文
摘要:
1,for vs foreach 2,structure vs class 3,property vs dicrect 4, array vs list 5,Avoid Rethrowing Exceptions 6, Refactor your algorithms to rely on hash 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.diagnostics> <trace autoflush="true" indentsize="4"> <listeners> <add name="myListener 阅读全文
摘要:
宏观层面的收益 1、监控 2、通知 3、自动故障恢复 4、配置提供 ,client链接到sentinel,sentinel提供服务地址 将sentinel部署成多个节点协作的好处 1、降低主节点挂掉的误报率 2、提高可用性 配置文件 quorum 参数:这个参数是需要同意master redis不可 阅读全文