小编rap*_*ink的帖子

在 Chrome (Linux) 中添加永久 SSL 证书例外

我的网站有一个 SSL 证书与网站域不对应的问题。Chrome 给了我这个网站的警告(这是正确的),我必须手动忽略。每次重新启动 Chrome 时,我都需要再次忽略证书问题。

我已经尝试使用certutil、 usingC,,P,,trustargs将证书添加为受信任的证书,但它不起作用。我找不到一组 trustargs 会告诉它忽略哪个域正在使用证书。

有没有办法告诉 Chrome(或 certutil)信任这个证书,无论域使用它?

linux google-chrome certificate ssl exceptions

68
推荐指数
3
解决办法
18万
查看次数

无法在 git 中删除远程分支

我正在尝试使用 git 删除远程分支:

rpinson@rpinson:~/dev/charismanie$ git remote show origin 
* remote origin
  Fetch URL: git@github.com:raphink/Charismanie.git
  Push  URL: git@github.com:raphink/Charismanie.git
  HEAD branch: xetex
  Remote branches:
    master tracked
    xetex  tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)
rpinson@rpinson:~/dev/charismanie$ git push origin :xetex
remote: error: refusing to delete the current branch: refs/heads/xetex
To git@github.com:raphink/Charismanie.git
 ! [remote rejected] xetex (deletion of the current branch prohibited)
error: failed to push …
Run Code Online (Sandbox Code Playgroud)

git

29
推荐指数
1
解决办法
2万
查看次数

在没有 Acrobat Professional 的情况下验证 PDF/X 合规性

我正在使用pdflatex. 我发现pdfxLaTeX 模块允许使文件符合 PDF/X,但我想确保生成的文档确实符合要求。Acrobat Professional 为此提供了“预检”工具。是否有任何免费软件也可以进行此检查?

pdf printing adobe-acrobat

6
推荐指数
2
解决办法
6323
查看次数

Libreoffice impress 中的锚定图像

在 LibreOffice Writer 中,您可以将图像设置为“作为字符”(或其他选项)锚定,以便将图片设置为与文本对齐。这在 LibreOffice Impress 中似乎不可用。在 Impress 中还有其他方法可以实现这一目标吗?

images libreoffice-impress

6
推荐指数
0
解决办法
1609
查看次数

Picasa:// Google Chrome (Linux) 中的链接

当我访问 Picasa Web 以查看其他用户的相册时,我可以使用 Picasa 下载图片。这启动了一个 URL,如

picasa://downloadfeed/?url=http%3A...
Run Code Online (Sandbox Code Playgroud)

在 Firefox 中,当我单击它时,我可以选择打开它/usr/bin/picasa并且它工作正常。

然而,在 Chrome 中,它不建议选择一个应用程序来打开它,而是将其发送到xdg-open,但失败了。当我尝试xdg-open在控制台中启动这样的 URL 时,我得到:

$ xdg-open picasa://foobar
   kio (KRun): ERROR: #### NO SUPPORT FOR READING!
Run Code Online (Sandbox Code Playgroud)

我在论坛上发现了一个帖子,说您可以xdg-open~/.local/share/applications/defaults.list以下位置配置关联:

$ cat ~/.local/share/applications/defaults.list
   [Default Applications]
   text/html=google-chrome.desktop
Run Code Online (Sandbox Code Playgroud)

但我不知道 Picasa 链接使用什么。此外,man xdg-open表明

xdg-open 支持文件、ftp、http 和 https URL。

我还尝试在 KDE 的系统设置中编辑文件关联,以在“uri”组中添加一个“picasa”条目。我注销并再次登录(以防万一),但它仍然无法正常工作。

有谁知道如何让 Google Chrome 正确管理这些 URL?

linux url google-chrome picasa xdg

5
推荐指数
1
解决办法
4785
查看次数