如何在 Windows 8 中输入小写字母 Ñ 或变音符号 Ï?我选择了美国国际键盘布局。当我尝试输入这些字母的小写版本(可能还有更多)时,它会失败。在记事本中,它只打印一个普通的小写字母“n”。在写字板(Calibri 字体)中,它根本不打印任何内容。在此文本框 (Chrome) 中,它会打印一个普通的小写字母“n”。我也不能用回音符输入任何东西。顺便说一句,我正在按"+i或~+键入这些字符n。


每当我尝试启动 Postgres 时,它都会给我一个错误。即使我删除了它抱怨的目录,它仍然失败。
[root@ip-172-31-15-65 init.d]# service postgresql start
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
[FAILED]
[root@ip-172-31-15-65 init.d]# service postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
[FAILED]
[root@ip-172-31-15-65 init.d]# rmdir /var/lib/pgsql/data/pg_log
[root@ip-172-31-15-65 init.d]# service postgresql start
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
[FAILED]
[root@ip-172-31-15-65 init.d]# service postgresql initdb
Initializing database: [FAILED]
[root@ip-172-31-15-65 init.d]# service postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists …Run Code Online (Sandbox Code Playgroud) Chrome 会强制执行此错误并拒绝呈现。我正在尝试访问旧路由器,但在控制台中出现 ERR_CONTENT_LENGTH_MISMATCH 错误。我用 Curl 查看了请求,它工作正常。整个文档加载结束</HTML>标签,但 Chrome 拒绝呈现页面!如何强制 Chrome 忽略错误?
以下是 Curl 的标题:
$ curl -i "http://192.168.16.1" -H "Host: 192.168.16.1"
HTTP/1.1 200 OK
Server:
Content-Type: text/html; charset=iso-8859-1
Date: Sun, 08 Sep 2002 12:27:04 GMT
Last-Modified: Wed, 14 Feb 2007 07:54:55 GMT
Accept-Ranges: bytes
Connection: close
Content-Length: 14498
Cache-Control: no-cache
Run Code Online (Sandbox Code Playgroud)
这是 Curl 输出的结尾:
</DIV></BODY></HTML>
curl: (18) transfer closed with 29 bytes remaining to read
Run Code Online (Sandbox Code Playgroud) 我试图改变它,但它不让我这么做。
# ls -dZ /usr/local/spamassassin
drwx------. spam spam system_u:object_r:usr_t:s0 /usr/local/spamassassin
# chcon -v --type=spamd_t /usr/local/spamassassin
changing security context of `/usr/local/spamassassin'
chcon: failed to change context of `/usr/local/spamassassin' to `system_u:object_r:spamd_t:s0': Permission denied
Run Code Online (Sandbox Code Playgroud)
audit.log
type=AVC msg=audit(1483587389.449:354941): avc: denied { append } for pid=31588 comm="spamd" name="spamfilter.log" dev=xvde ino=24109 scontext=unconfined_u:system_r:spamd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=file
Run Code Online (Sandbox Code Playgroud)
CentOS 版本 6.8(最终版)
如何?它给出了一个错误。
[vagrant@localhost mnt]$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.16 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.16 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Building Guest Additions kernel modules.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.
[vagrant@localhost mnt]$ cat /var/log/VBoxGuestAdditions.log
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have …Run Code Online (Sandbox Code Playgroud) 我不能跑SFC。我如何解决它?
C:\>sfc /scannow
Windows Resource Protection could not start the repair service.
C:\>net start trustedinstaller
The requested service has already been started.
C:\>Dism /Online /Cleanup-Image /ScanHealth
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Error: 11
You cannot service a running 64-bit operating system with a 32-bit version of DISM.
Please use the version of DISM that corresponds to your computer's architecture.
The DISM log file can be found at C:\windows\Logs\DISM\dism.log
C:\>findstr /c:"[SR]" %windir%\logs\cbs\cbs.log
C:\>
Run Code Online (Sandbox Code Playgroud)
dism.log
2017-11-03 16:06:12, …Run Code Online (Sandbox Code Playgroud) 我试图用透明度调整动画 GIF 的大小,但它把背景变成了纯白色。我如何保持透明度?
我阅读了https://superuser.com/a/556031/130929并尝试过
>set FILTERS=scale=320:-1:flags=lanczos
>ffmpeg -hide_banner -i logo.gif -vf "%FILTERS%,palettegen=stats_mode=diff" -y palette.png
>ffmpeg -hide_banner -i logo.gif -i palette.png -lavfi "%FILTERS% [x]; [x][1:v] paletteuse" logo-320.gif
Run Code Online (Sandbox Code Playgroud)
我也尝试过,-gifflags +transdiff但它没有帮助,因为答案中的博客文章说它是默认设置。我也试过没有stats_mode=diff.
我还尝试为每个帧使用一个调色板,但这只会使文件变大并且没有保持透明度。
>ffmpeg -hide_banner -i logo.gif -filter_complex "[0:v] scale=320:-1:flags=lanczos,split [a][b]; [a] palettegen=stats_mode=single [p]; [b][p] paletteuse=new=1" logo-320.gif
Run Code Online (Sandbox Code Playgroud) 谷歌浏览器设置为通过从右向左滑动两根手指来后退页面,但我发现这与 iPhone 上的相反。如何更改设置以使用从左到右的 2 指手势后退?我尝试搜索“手势”和“触摸板”( chrome://settings/?search=touchpad)的设置,但没有找到任何内容。我查看了 Windows 触摸板设置,但它没有提供 2 指手势设置,并且带有箭头的动画效果似乎来自 Google Chrome 内部。
视窗 10
我试图列出 Ruby 的所有版本,但它只列出一个。
choco list ruby --exact --all
ruby 2.7.0.1 [Approved]
1 packages found.
Run Code Online (Sandbox Code Playgroud)
Nokogiri 不适用于最新的 Ruby。
Gem::RuntimeRequirementNotMetError: nokogiri requires Ruby version >= 2.3, <
2.7.dev. The current ruby version is 2.7.0.0.
Run Code Online (Sandbox Code Playgroud) 我想我可能在我经常访问的网站上点击了 X。现在它不会出现在新标签页中。我如何取回它?
它肯定会出现在历史上。如何强制该站点进入我的“常用站点”?
centos ×3
windows ×2
animated-gif ×1
browser ×1
chocolatey ×1
ffmpeg ×1
gestures ×1
gif ×1
http ×1
keyboard ×1
postgresql ×1
ruby ×1
selinux ×1
touchpad ×1
transparency ×1
virtualbox ×1
windows-8 ×1
windows-8.1 ×1