V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  clorischan  ›  全部回复第 5 页 / 共 5 页
回复总数  85
1  2  3  4  5  
大型项目数据库轮不到程序员负责
小型项目 CodeFirst 自动建库一把梭
个人习惯是循环内用真判断, 满足条件时执行.
函数内使用假判断, 参数不符合要求提前返回.
e.g:
DoSomethings (things)
{
if (things is null) throw
if (things is empty) return

for (thing in things)
{
if (thing is not nothing)
{
//do thing
}
}
}
2022-06-01 12:11:23 +08:00
回复了 brucmao 创建的主题 Windows vscode remote 连接 windows 提示 no sshd parent proc
用的 Windows 自带的 OpenSSH Server
终端跟 VSCode Remote SSH 都正常连接使用
没发现问题
2022-04-18 23:37:18 +08:00
回复了 msy333 创建的主题 Windows 启动 windows,会自动登陆两个管理员账户?
设置 - 账户 - 登录选项 - 使用我的登录信息在更新后自动完成设置(x)
VHD 安装的 Windows 系统吗
例如当前系统是 win.vhd
创建 2 个差分 vhd, 例如 win1.vhd win2.vhd
然后从 win1.vhd 启动系统并开启 Hyper-V
创建 Hyper-V 虚拟机, 挂载 win2.vhd
启动虚拟机后在虚拟机内就会识别为本地磁盘
可以正常更新大版本或者使用 iso 升级安装都是没问题的
更新完毕后.关闭虚拟机.重启物理机.
删除 win1.vhd, 将 win2.vhd 合并到父级 win.vhd 中就完成了

当然,如果有双系统或者 WTG 在之类的,就更方便了
直接从另外一个系统用使用 Hyper-V 启动虚拟机挂载 win.vhd 执行更新就行了
1  2  3  4  5  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1051 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 20:09 · PVG 04:09 · LAX 13:09 · JFK 16:09
Developed with CodeLauncher
♥ Do have faith in what you're doing.