我最近买了一台小型塔式计算机(Dell OptiPlex、Intel Core 2 Duo 2.9GHz E7500 处理器、4GB 内存、160GB 硬盘、DVD、Windows 10 Home、WiFi),它说它需要 DDR3 RAM,所以我从 Amazon 上买了这个 RAM .com(三星 2GB PC-8500 DDR3 1066MHz SO-DIMM 204 针 2.0GB 内存升级模块 M471B5673FH0-CF8)。
然而,当它到达时,它是应该更换的公羊尺寸的三分之一,并且不适合。电脑不带DDR3内存吗?是否有多种大小的 RAM?亚马逊上的产品列表是错误的吗?
以下图片供参考。
我已经在我的 Windows 操作系统上安装了适用于 Linux 的 Windows 子系统 (WSL ),并且能够在 Visual Studio 代码编辑器中看到终端。
所以我输入help sshcommand 并点击enter,从那时起我看到大于 ( >) 符号并且无法执行命令。我怎么回来。我尝试使用exit,exit 0,exit -f,quit,killall,什么不是。
我有一个i-tec USB 3.0 4K 超高清显示适配器 - 显示端口,它使用显示链接驱动程序。
但是,此设置在模拟图形卡时使用了大量的处理器能力。
我现在有一个带有 USB-C 端口的 Surface Go。一些图形适配器使用 USB-C 而不是 USB 3.0,它们比我旧的 USB 3.0 设备便宜得多(大约 80 欧元)。
由于 Surface Go 有一个非常低端的 CPU,我想知道这些 USB-C 解决方案在模拟图形卡时是否也会消耗大量 CPU 功率,还是 USB-C 的工作原理完全不同?
谈到 SSD 和 HDD 能用多久,一半的人说它通常会在死前保持健康 3-5 年,而另一半则说“即使你每天写入 20 GB,你也可以使用它一百年”
我该相信谁?他们完全相反,就好像一个或另一个在说童话。
我最近买了一个 2TB 的现代 SSD,我担心它是否会在三年后出现故障,因为我是根据价格购买的。我平均每月下载 35GB(除非出于某种原因应该包括网络浏览使用)。
是否可以在 Raspberry Pi 上安装 TeamViewer 客户端?我在 Raspberry Pi 3 B+ 上运行 Raspbian。我目前已经安装了主机,但也想从中连接。
我尝试将.deb软件包用于 Linux,但它说:
找不到允许完成此操作的包。
我无法访问由我的用户创建并具有 644 权限的 WordPress 文件夹。是否正确?当我尝试访问该文件夹时,我得到了以下结果:
mdm-suporte@localhost:~$ cd public_html/
-bash: cd: public_html/: Permission denied
Run Code Online (Sandbox Code Playgroud)
Apache 也会导致 403 错误。只有在权限为 755 的情况下,我才能访问该文件夹并且 apache 可以工作。
哪里不对了?
我使用的是 HP ProBook 440 G6 笔记本电脑,在暂停之前,触摸板工作正常。但是在暂停之后它变得不那么敏感并且非常懒惰。
这是 xinput list 命令的输出:
Virtual core pointer id=2
- Virtual core XTEST pointer id=4
- SYNA3082:00 06CB:8265 Touchpad id=10
- SynPS/2 Synaptics TouchPad id=12
Run Code Online (Sandbox Code Playgroud)
暂停后,SynPS/2 Synaptics TouchPad条目消失并且 modprobe 没有帮助。
我怎样才能解决这个问题?
我有一本书中的以下示例代码:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
printf("Hello World (pid:%d)\n", (int) getpid());
int rc = fork();
if (rc < 0)
{
//fork failed
fprintf(stderr, "fork failed\n");
exit(1);
}
else if (rc == 0)
{
//child (new process)
printf("Hello I am child (pid:%d)\n", (int) getpid());
}
else
{
//parent goes down this path (main)
printf("Hello, I am parent of %d (pid:%d)\n",
rc, (int) getpid());
}
return 0;
}
Run Code Online (Sandbox Code Playgroud)
在 Windows(powershell 和命令提示符)中,我得到以下信息:
Hello World (pid:1283)
Hello, …Run Code Online (Sandbox Code Playgroud) 如果我有:
for i in *.mov;
do
ffmpeg -y -i $i -c:v copy -c:a copy ${i%%.mov}.mp4
done
Run Code Online (Sandbox Code Playgroud)
这运行良好。但如果我跑:
find . -name "*.ts" -print0 | while read -d $'\0' file;
do
ffmpeg -i "$file" -c copy -map 0 "${file%%.ts}_rec.mp4";
done
Run Code Online (Sandbox Code Playgroud)
这失败了。我需要输入-nostdin。
find . -name "*.ts" -print0 | while read -d $'\0' file;
do
ffmpeg -nostdin -i "$file" -c copy -map 0 "${file%%.ts}_rec.mp4";
done
Run Code Online (Sandbox Code Playgroud)
文档解释说,这会禁用标准输入上的交互,并且对后台进程很有帮助。
为什么在第二种情况下 FFmpeg 是后台进程?或者还有其他问题吗?
linux ×3
bash ×1
cmd.exe ×1
cpu ×1
cygwin ×1
display ×1
ffmpeg ×1
http ×1
memory ×1
motherboard ×1
permissions ×1
powershell ×1
ramdisk ×1
raspberry-pi ×1
raspbian ×1
security ×1
ssd ×1
ssh ×1
suspend ×1
teamviewer ×1
terminal ×1
touchpad ×1
ubuntu ×1
usb ×1
usb-c ×1