• 2024-02-12[Kyana]Fedora使用记录
    删除旧内核:dnfremove--oldinstallonly重置密码密钥环不匹配:安装seahorse新建并默认,可以单独设置密码,记好优化和扩展:dnfinstallgnome-tweaksgnome-extensions-app推荐扩展:user-themeseye-and-mouse-extendedjust-perfectionnothing-to-saytransparent-window-moving
  • 2023-07-19修复 GitLab 的 CI Runner 提示找不到 pwsh 执行文件
    本文告诉大家如何修复使用GitLab的Runner做CI时提示"pwsh":executablefilenotfoundin%PATH%错误有两个方法,第一个方法就是安装pwsh命令,安装方法是在PowerShell里输入以下代码安装wingetinstallMicrosoft.PowerShell如果嫌弃winget输入太慢,可以从他的输
  • 2023-06-22pwsh string cmd
    composemultiplevariablesintoacommandline,thenexecuteit.$dest="a:\des"$source="b:\src"$cmdlink="cmd"$cmdPart1="/c","mklink","/j"&$cmdlink$cmdPart1$dest\juncname1$sou
  • 2023-06-19Windows下载更新powershell
    在使用windows系统默认的powershell时,打开使用的时候一般都会碰到以下这种情况,有新的版本可以尝试使用在powershell中使用命令:$PSVersionTable;可以查看到当前powershell的一些信息安装新版本powershellWindows官方powershell文档:https://aka.ms/pscore6Powershell7.1的官方Git
  • 2023-05-06pwsh fs
    $delPath="x:\y\z\"If(Test-Path$delPath){Remove-Item$delPath-Recurse-Force}$tpath="u:\v\w"If(!(test-path-PathTypecontainer$tpath)){New-Item-ItemTypeDirectory-Path$tpath