我想在我的计算机上使用 snmp 陷阱,但需要 MIB 列表(我猜)。那么我在哪里可以在 Ubuntu 12.04 系统上找到它呢?
Is there a way to have google-chrome (or Firefox) to spell-check the text that is shown on the browser page (not just any text fields, but any text on the page)?
默认情况下可以吗?或者我必须安装扩展程序?如果是,是哪个扩展名?
我正在尝试通过以下方式使用带有 mkv 文件的字幕:
mplayer video.mkv
mplayer -sub video.srt video.mkv
mplayer video.mkv -sub video.srt
Run Code Online (Sandbox Code Playgroud)
但只有视频播放,但没有任何字幕。我还在播放视频时按下了几个按钮('j'、'u'、's'),但没有任何变化。
操作系统:MacOS 10.13.16 播放器:1.3.0-4.2.1
也许我错过了什么?或者mplayer必须以某种特殊的、复杂的方式编译?或者缺少图书馆?还是因为它是 mac?
有没有办法将 srt 文件中的字幕与 mkv 视频一起使用mplayer?
我试图在注释设置config如图建议在这里。但是mkv在同一文件夹中播放带有 srt 文件的文件时出现以下错误:
Warning unknown option subfont-text-scale at line 3
Warning unknown option subfont-osd-scale at line 4
The fontconfig option can't be used in a config file.
Error parsing option fontconfig=yes at line 5
Run Code Online (Sandbox Code Playgroud)
srt 文件中的前两个条目如下:
1
00:00:00,000 --> 00:00:05,000
<font face="Hiruko" size="38">Test</font>
2
00:00:05,000 --> 00:00:14,060
<font …Run Code Online (Sandbox Code Playgroud) 我有一个 avi 文件,并尝试按照此处的建议进行检查。但是过了一会儿,我得到了一个分段错误,没有任何其他信息!
如何修复/修复这个 avi 文件?观看此文件mplayer可以正常工作,使用它ffmpeg或kdenlive会导致错误!
系统:Ubuntu 13.10 文件大小:4.2 GB
添加:
这是运行命令时的输出(开始和结束)的一部分(完整输出大约是 1 MB 的文本!)
ffmpeg -v error -i file.avi -f null -
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[dvvideo @ 0x21f39c0] AC EOB marker is absent pos=64
Last message repeated 1 times
.....
(These kind of lines repeat over and over and over. I really do not see a point providing them …Run Code Online (Sandbox Code Playgroud) 我在 Ubuntu 16.04.6 上使用 google chrome 77.0.3865.90,我想让 chrome 直接在浏览器选项卡中打开某些类型。
例如文本与扩展名的文件.log(例如out_L4PC.log)被直接在broswer标签打开,当我使用像一个URL some/web/adress/out_L4PC.out。
我有不同的文件,也只包含文本,但它们以.err(example out_L4PC.err)结尾。我希望它们也直接在浏览器选项卡中打开。
但到目前为止,当我使用这样的.err文件时,它们正在被下载并使用不同的应用程序打开。这不是我想要的。我不希望这些类型的文件用不同的应用程序打开,而是直接在浏览器中打开,就像.log文件一样。
怎么做?
从 linux bash 脚本中,如何验证某个目录是否受 svn 版本控制?我正在使用 svn 版本 1.7.9。
当我尝试以下操作时
pushd ${WD}; svn info; popd
Run Code Online (Sandbox Code Playgroud)
并检查错误代码我总是得到零,因为popd成功,即使svn info返回错误。如何通过以下方式对目录进行检查?
if [ ... ]; then
echo "Directory ${WD} not under version control"
fi
Run Code Online (Sandbox Code Playgroud) 我在 Windows 10 计算机中使用 Ubuntu 20.04 VM,并使用两个网络适配器:NAT 和桥接。但是,在 Windows 10 计算机的“网络连接”中,我看到“Ethernet4”,它是“VirtualBox Host-Only Ethernet”适配器。我也可以 ping 这个地址。
但是,为什么即使我没有将虚拟机的适配器设置为仅主机,但该适配器仍然可用?也许它一直存在,但这个IP地址背后并没有“机器”?
我使用的是 Mac Mojave,但在使用ffprobe. 我收到以下错误:
$ ffprobe
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.179.dylib
Referenced from: /usr/local/bin/ffprobe
Reason: image not found
Abort trap: 6
Run Code Online (Sandbox Code Playgroud)
我尝试卸载它,但也不起作用:
$ brew uninstall ffprobe
Error: No such keg: /usr/local/Cellar/ffprobe
Run Code Online (Sandbox Code Playgroud)
我也跑了brew doctor,但没有帮助。我尝试安装该工具,但得到了输出:
$ brew install ffprobe
Updating Homebrew...
Error: No available formula with the name "ffprobe"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: …Run Code Online (Sandbox Code Playgroud) 我有两个Windows计算机A和B,我想远程运行计算机上的命令B。我使用该工具psexec,因此A我可以在计算机上运行:
psexec.exe \\10.0.0.2 -u user -p pasword c:\programs\whatever\commando.exe
Run Code Online (Sandbox Code Playgroud)
在计算机上执行命令B。这么好这么好。
但是如何简单地dir在远程计算机上运行,这是一个内部批处理命令?
psexec.exe \\10.0.0.2 -u user -p pasword dir
Run Code Online (Sandbox Code Playgroud)
只是给
The system cannot find the file specified.
Run Code Online (Sandbox Code Playgroud) linux ×3
macos ×2
windows ×2
bash ×1
batch ×1
browser ×1
command-line ×1
ffmpeg ×1
mplayer ×1
networking ×1
snmp ×1
spell-check ×1
svn ×1
ubuntu ×1
ubuntu-12.04 ×1
video ×1
virtualbox ×1