AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-907728

Soleil's questions

Martin Hope
Soleil
Asked: 2022-10-19 08:39:43 +0800 CST

使用 Windows 10 模拟 TPM 2?

  • 5

我有一个9900k的Asus Hero XI wifi ,但我从未安装任何 TPM 2.0 芯片(我确认,没有安装 TPM 2.0 芯片)。我注意到设备管理器在一段时间内显示 TPM 2.0 设备:

TPM 2.0 设备.

使用 tpm.msc,我注意到有一个 TPM 硬件:

tpm 模块

并且似乎INTC是英特尔:

国际贸易中心

为什么或如何出现 (*) ?这对应于什么硬件?这相当于实际的 TPM 2.0 芯片吗?

(*) W11 发布时,我确认我没有 TPM 2.0 芯片,因此我无法安装它,但几天前这种情况发生了变化,没有更换硬件。

windows-10 device-manager
  • 1 个回答
  • 47 Views
Martin Hope
Soleil
Asked: 2022-06-01 06:23:20 +0800 CST

用 ffmpeg 分割 flac 音轨

  • 5

我正在尝试将 flac 配乐拆分为多个文件,但它以Output file #0 does not contain any stream. 该文件实际上是在 ogg 容器中编码的 flac,但我对常规 flac 文件有同样的问题。

命令: ffmpeg.exe -i D:\_\RecManagerTests\103_1.flog -f segment -segment_time 30 -c copy D:\_\RecManagerTests\StreamingChunks/103_1_%03d.flog

输出:

ffmpeg version N-100131-g0639f5c294 Copyright (c) 2000-2020 the FFmpeg
developers   built with gcc 9.3-win32 (GCC) 20200320   configuration:
--prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --enable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp   libavutil      56. 61.100 / 56. 61.100   libavcodec     58.114.100 / 58.114.100   libavformat    58. 64.100 / 58. 64.100   libavdevice    58. 11.103 /
58. 11.103   libavfilter     7. 91.100 /  7. 91.100   libswscale      5.  8.100 /  5.  8.100   libswresample   3.  8.100 /  3.  8.100   libpostproc    55.  8.100 / 55.  8.100 **Input #0**, ogg, from
'D:\_\RecManagerTests\103_1.flog':   Duration: 00:07:14.68, start:
0.000000, bitrate: 467 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Metadata:
      encoder         : Lavc58.114.100 flac Output #0, segment, to 'D:\_\RecManagerTests\StreamingChunks/103_1_%03d.flog': **Output file #0
does not contain any stream**
ffmpeg audio
  • 1 个回答
  • 75 Views
Martin Hope
Soleil
Asked: 2021-11-03 11:33:19 +0800 CST

WSL 1(旧版)到 2 的迁移

  • 5

我安装了带有 ubuntu 21.04 的 WSL(Windows 10 上的 Linux 子系统)(不是来自商店,它是 Windows 10 上出现的第一个版本),如何在保留所有文件的同时迁移到版本 2(带有实际内核)(系统和用户),如果可能的话不重新安装一切?

编辑wsl -l -v给出:

  NAME            STATE           VERSION
* Legacy          Running         1
  Ubuntu-20.04    Stopped         2

这是 WSL 1。我想去 WSL 2。

windows-subsystem-for-linux wsl2
  • 3 个回答
  • 987 Views
Martin Hope
Soleil
Asked: 2021-06-02 15:42:33 +0800 CST

更新 Firefox 89 中的菜单和选项卡菜单项高度(为新的 Proton UI 设计样式)

  • 6

我正在尝试在 Firefox 89 中重新建立菜单和选项卡菜单项的高度(为新质子 UI 设置样式),如下所示:

https://www.userchrome.org/firefox-89-styling-proton-ui.html#menuspacing

通过编辑文件./chrome/userChrome.css:

menupopup > menuitem, menupopup > menu {
  padding-block: 4px !important;
}
:root {
  --arrowpanel-menuitem-padding: 4px 8px !important;
}

./chrome/userChrome.css文件夹about:support/中的位置Profile Folder。

但这不起作用(我仍然有 8px 顶部/底部填充)。为什么不?这样做的正确方法是什么?

firefox
  • 1 个回答
  • 396 Views
Martin Hope
Soleil
Asked: 2021-05-12 16:42:25 +0800 CST

如何启动 powershelll 并让它立即执行某些操作?

  • 7

假设我的个人资料中有Microsoft.PowersShell_profile.ps1(如.bashrc):

Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme half-life

但我不想在常规 powershell 中执行它,只能在 Windows 终端(WT)的 powershell 中执行(所以我将它从我的配置文件中删除)。

在 WT 中有命令powershell.exe;我怎样才能让它在启动后执行某些东西,即在 ie. 内部,就好像我在提示符中键入命令一样?

我可以使用powershell.exe -Command "${ Import-Module posh-git; Import-Module oh-my-posh; Set-PoshPrompt -Theme half-life; }",但之后立即退出。

powershell command-line
  • 1 个回答
  • 63 Views
Martin Hope
Soleil
Asked: 2020-08-24 07:00:44 +0800 CST

如何正确过滤 wmic 磁盘驱动器列表

  • 10

我正在尝试过滤 wmic 列表的结果,where-object但不幸的是这似乎不起作用。

wmic diskdrive list brief  | Where-Object -Property "Caption" -Contains "Samsung"

过滤后的结果为空,未过滤的结果是这样的:

Caption                       DeviceID            Model                Partitions  Size

HGST HUH721212ALE600          \\.\PHYSICALDRIVE1  HGST HUH721212ALE600 1           12000132426240
OCZ-VERTEX3                   \\.\PHYSICALDRIVE3  OCZ-VERTEX3          1           240054796800
Samsung SSD 970 EVO Plus 1TB  \\.\PHYSICALDRIVE5  Samsung SSD 970 EVO Plus 1TB  4           1000202273280
ST16000NM001G-2KK103          \\.\PHYSICALDRIVE4  ST16000NM001G-2KK103 1           16000900392960
ST6000NM0024-1HT17Z           \\.\PHYSICALDRIVE0  ST6000NM0024-1HT17Z  1           6001172513280
Samsung SSD 840 PRO Series    \\.\PHYSICALDRIVE2  Samsung SSD 840 PRO Series    1           512105932800

如何正确过滤?

最后,我想得到DeviceID,例如,PHYSICALDRIVE5

powershell wmi
  • 3 个回答
  • 2167 Views
Martin Hope
Soleil
Asked: 2019-12-27 05:10:58 +0800 CST

如何禁用 Windows 10 防御者服务 (W10 1909)

  • 10

在 Windows 10 1909 企业版上,我有一个进程“Antimalware Service executable”,其中服务:“Windows Defender 防病毒服务”;这需要 115BM 的内存。

但是,在组策略中,“Windows Defender 防病毒”我启用了“关闭 Windows Defender 防病毒”,这有助于说:

此策略设置关闭 Windows Defender 防病毒。

如果启用此策略设置,Windows Defender 防病毒软件将不会运行,并且不会扫描计算机以查找恶意软件或其他可能不需要的软件。

以及启用“关闭实时保护”(但这不应该改变任何事情,因为关闭了所提到的参数)。

如果我记得很清楚,这个过程并没有在 1809 年使用此策略运行。我到底该如何禁用该进程?这是一个错误吗?

windows-10 windows-defender
  • 2 个回答
  • 7069 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve