Loading

10 2019 档案

摘要:decorator 不借助第三方DI容器,通过装饰模式通过内置的DI容器实现 https://medium.com/@willie.tetlow/net-core-dependency-injection-decorator-workaround-664cd3ec1246 autofac autof 阅读全文
posted @ 2019-10-31 09:45 wswind 阅读(1649) 评论(0) 推荐(1) 编辑
摘要:vscode在wsl中开发node应用,如何安装nvm? 设置淘宝registry ~/.bashrc添加 使配置生效 使用nvm 参考: 阅读全文
posted @ 2019-10-28 22:44 wswind 阅读(574) 评论(0) 推荐(0) 编辑
摘要:参考: 设置环境变量安装 或npm config 阅读全文
posted @ 2019-10-28 22:16 wswind 阅读(269) 评论(0) 推荐(0) 编辑
摘要:https://github.com/PowerShell/PowerShell/tree/master/docs/learning-powershell 阅读全文
posted @ 2019-10-28 17:09 wswind 阅读(165) 评论(0) 推荐(0) 编辑
摘要:centos 8 默认是会读取centos.org的mirrorlist的,所以一般来说是不需要配置镜像的。 如果你的网络访问mirrorlist有问题,才需要另外配置 相关镜像配置,请参考各镜像站的相关帮助 https://developer.aliyun.com/mirror/centos ht 阅读全文
posted @ 2019-10-28 13:58 wswind 阅读(43468) 评论(1) 推荐(2) 编辑
摘要:systemctl restart network centos8失效了 重启网络可使用以下命令 #重启整个网络 nmcli n off && nmcli n on #重启指定网卡 nmcli c down eth0 && nmcli c up eth0 ifdown eth0 && ifup et 阅读全文
posted @ 2019-10-24 00:02 wswind 阅读(17205) 评论(0) 推荐(1) 编辑
摘要:问题概述 asp.net core网站发布到windows server 2012r2 IIS后,出现这个报错。dotnet xx.dll命令网站能够正常运行。说明不是程序问题。 经过一番折腾终于部署成功,答案传到了stackoverflow,传送门:https://stackoverflow.co 阅读全文
posted @ 2019-10-20 20:33 wswind 阅读(636) 评论(0) 推荐(0) 编辑
摘要:sudo sed i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list sudo sed i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources. 阅读全文
posted @ 2019-10-07 12:22 wswind 阅读(245) 评论(0) 推荐(0) 编辑