上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 开启CPU的虚拟化功能(自行百度)之前安装了VM所以这部跳过。具体查看可以打开任务管理器->性能->cpu 查看是否有 虚拟化:已启用字样 下载Docker Toolbox 下载地址 http://mirrors.aliyun.com/docker-toolbox/windows/docker-to 阅读全文
posted @ 2018-05-23 18:18 雨V幕 阅读(8247) 评论(0) 推荐(0)
摘要: Docker Toolbox虚拟机文件地址修改 默认情况下,docker-machine创建的虚拟机文件,是保存在C盘的C:\Users\用户名\.docker\machine\machines\default 目录下的,如果下载和使用的镜像过多,那么必然导致该文件夹膨胀过大,如果C盘比较吃紧,那么 阅读全文
posted @ 2018-05-23 18:00 雨V幕 阅读(5641) 评论(0) 推荐(1)
摘要: 打开PowerShell,输入: docker-machine ls 我们可以看到我们当前的Docker虚拟机的状态。如果什么都没有的话,那么我们可以使用以下命令创建一个Docker虚拟机。 docker-machine create --driver=virtualbox default(如果下面 阅读全文
posted @ 2018-05-23 17:23 雨V幕 阅读(445) 评论(0) 推荐(0)
摘要: BuildWebHost时注入初始化函数 执行Init方法 阅读全文
posted @ 2018-05-21 16:46 雨V幕 阅读(10763) 评论(0) 推荐(1)
摘要: 添加引用Microsoft.EntityFrameworkCore.Tools 添加引用后提示未找到命令“dotnet ef”向csprog文件添加如下节点 阅读全文
posted @ 2018-05-08 09:45 雨V幕 阅读(2683) 评论(0) 推荐(0)
摘要: 自定义token的验证类 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetC 阅读全文
posted @ 2018-03-26 19:02 雨V幕 阅读(3641) 评论(3) 推荐(0)
摘要: 首先415的官方解释是:对于当前请求的方法和所请求的资源,请求中提交的实体并不是服务器中所支持的格式,因此请求被拒绝。 也就是说我所准备的数据格式并不是后台代码使用的数据格式 后台代码如下 using System; using System.Collections.Generic; using S 阅读全文
posted @ 2018-03-26 18:32 雨V幕 阅读(5716) 评论(0) 推荐(2)
摘要: 新增配置文件 { "Logging": { "IncludeScopes": false, "Debug": { "LogLevel": { "Default": "Warning" } }, "Console": { "LogLevel": { "Default": "Warning" } } } 阅读全文
posted @ 2018-03-23 17:34 雨V幕 阅读(621) 评论(0) 推荐(0)
摘要: 在startup中添加授权相关的管道 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder 阅读全文
posted @ 2018-03-23 17:22 雨V幕 阅读(341) 评论(0) 推荐(0)
摘要: 预防万一先备份数据库,然后找到当前集合的数据库进行如下操作select *From tbl_Workspace where Computer='WIEYAN-Y4-PC'//先找出工作区的WorkspaceIdselect *From tbl_pendingchange where WorkspaceId='340000001'//找出当前工作组未迁出的文件 delete tbl_pend... 阅读全文
posted @ 2018-03-23 15:34 雨V幕 阅读(133) 评论(0) 推荐(0)
摘要: 命令行的配置 var settings = new Dictionary<string, string>{ { "name","cyao"}, {"age","18"} }; var builder = new ConfigurationBuilder() .AddInMemoryCollectio 阅读全文
posted @ 2018-03-22 18:42 雨V幕 阅读(442) 评论(0) 推荐(0)
摘要: 安装IIs对 netcore 的支持 https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/aspnet-core-module?tabs=aspnetcore2x https://dotnet.microsoft.com 阅读全文
posted @ 2018-03-22 18:23 雨V幕 阅读(190) 评论(0) 推荐(0)
摘要: $picurl = "https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=10" $data = invoke-webrequest $picurl $decode = convertfrom-json -inputobject $d 阅读全文
posted @ 2018-01-09 10:00 雨V幕 阅读(916) 评论(0) 推荐(0)
摘要: # create new excel instance $objExcel = New-Object -comobject Excel.Application $objExcel.Visible = $True $objWorkbook = $objExcel.Workbooks.Add() $ob 阅读全文
posted @ 2018-01-09 09:59 雨V幕 阅读(265) 评论(0) 推荐(0)
摘要: 1.多个命令用";"分号分割 还可以使用alias 给命令取别名 alias foo='cd /usr ; ls; cd -'2.使用管道线"|" 一个命令的标准输出可以以管道到另一个命令的标准输出 ls -l /usr/bin |less |uniq |sort |grep zip3.使用正则来匹 阅读全文
posted @ 2017-11-15 17:57 雨V幕 阅读(196) 评论(0) 推荐(0)
摘要: 这里执行客户端本来想用--kiosk但是发现并没有让程序开机全屏,结果使用了替代方案,使用桌面快捷方式然后使用软件将浏览器的主页设置为需要设置开机启动的页面,然后执行客户端替换为执行桌面快捷方式。 阅读全文
posted @ 2017-11-14 14:20 雨V幕 阅读(1790) 评论(0) 推荐(0)
摘要: 首先,我们创建dev分支,然后切换到dev分支: $ git checkout -b dev(等价于 $ git branch dev $ git checkout dev ) Switched to a new branch 'dev' .然后,用git branch命令查看当前分支: $ git 阅读全文
posted @ 2017-10-24 16:37 雨V幕 阅读(365) 评论(0) 推荐(0)
摘要: 打开你的git-bash 绑定用户和邮箱作为标识 $ git config --global user.name "your name" $ git config --global user.email "your email" 为github 账户设置ssh key 生成ssh key 在C:\U 阅读全文
posted @ 2017-10-24 16:06 雨V幕 阅读(287) 评论(0) 推荐(1)
摘要: 关于浏览器是IE的 <script type="text/javascript"> function copyUrl2() { var Url2=document.getElementById("inputtext"); Url2.select(); // 选择对象 document.execCom 阅读全文
posted @ 2017-10-16 16:46 雨V幕 阅读(1005) 评论(0) 推荐(0)
摘要: 冒泡排序 原理:第一次遍历arry.length 将最小的数字放在第一位,第二次遍历arry.length -1 将最小的数字放在第二位 ... ... 最坏时间复杂度:O(n^2) 稳定性:稳定(稳定与不稳定的区别在于值相等的时候元素的位置是否和排序前一致) 空间复杂度:O(1) 示例: var 阅读全文
posted @ 2017-10-09 17:22 雨V幕 阅读(162) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页