07 2018 档案

摘要:from:https://blog.csdn.net/bdss58/article/details/54745380 添加到注册表 Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKE 阅读全文
posted @ 2018-07-26 16:04 94cool 阅读(1820) 评论(0) 推荐(0)
摘要:string[] things= new string[] { "105", "101", "102", "103", "90","a","B" ,"A","b"}; foreach (var thing in things.OrderBy(x => x)) { Console.WriteLine( 阅读全文
posted @ 2018-07-15 20:08 94cool 阅读(4350) 评论(0) 推荐(0)
摘要:xml 格式的config文件如下: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="port" value="8046" /> <add key="serverUrl" value="ht 阅读全文
posted @ 2018-07-15 10:43 94cool 阅读(2023) 评论(0) 推荐(0)
摘要:c# webapi 跳转 public HttpResponseMessage Post() { // ... do the job // now redirect HttpResponseMessage resp = new HttpResponseMessage(HttpStatusCode.M 阅读全文
posted @ 2018-07-12 17:56 94cool 阅读(3056) 评论(0) 推荐(0)
摘要:1、新建netcore或netstandard或net4.6.1项目 2、编辑项目文件: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net4.6.1;net4.6.2;netstandard2.0;netc 阅读全文
posted @ 2018-07-10 19:17 94cool 阅读(3465) 评论(2) 推荐(0)
摘要:Nodejs【单机】多进程模式集群实例: 1、安装:npm install -s cluster 2、服务代码: var debug = require('debug'); var express = require('express'); var path = require('path'); v 阅读全文
posted @ 2018-07-09 17:17 94cool 阅读(623) 评论(0) 推荐(0)
摘要:搜索Redis镜像 docker search redis ***************************** 拉取Redis镜像 docker pull redis ***************************** 创建并运行Redis docker run --name myr 阅读全文
posted @ 2018-07-08 18:54 94cool 阅读(731) 评论(0) 推荐(0)