What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
other:website:misc [2022/10/04 15:27] – [mathjax 3 简单配置] codinghareother:website:misc [2024/02/04 16:17] (当前版本) – [Disqus loading on scroll] codinghare
行 22: 行 22:
 cd /etc/ cd /etc/
 rm my.inf rm my.inf
 +</code>
 +==PID file not found==
 +<code bash>
 +#error msg
 +ERROR! MySQL server PID file could not be found!
 +</code>
 +这种情况多半是硬盘空间满了导致系统强制结束了 mysql 的进程。用下面的命令之后再重启一下 mysql 进系统看看。
 +<code bash>
 +rm -f /tmp/mysql-5.6.sock tmp/mysql-5.6.sock.lock
 </code> </code>
  
行 86: 行 95:
 } }
 </code> </code>
 +===所有 MIMe 类型=== 
 +[[https://gist.github.com/AlekseiCherkes/690551fafa3a939c54ed|Link]]
 ===Dokuwiki 使用=== ===Dokuwiki 使用===
  
行 108: 行 118:
 always_populate_raw_post_data = -1 always_populate_raw_post_data = -1
 </code> </code>
 +==Igor 版本 svg 缩放不正确==
 +<WRAP center round important 100%>
 +官方 issue 中解释该设置是一个 guard,不应修改。推荐对指定插件进行修改。
 +</WRAP>
 +将 ''/lib/styles/all.css'' 中 ''svg''
 +<code css>
 +width: 1.2em;
 +</code>
 +替换为
 +<code css>
 +width: auto;
 +</code>
 +
 ====服务器通用前端优化==== ====服务器通用前端优化====
  
行 116: 行 139:
 <del>**解决方法(过时)**:由于 AMH 的 ''Nginx.conf'' 自带 caching,需要手动去 ''/yourwebdir/vhost/yourweb.conf'' 将如下的缓存规则删除。</del> <del>**解决方法(过时)**:由于 AMH 的 ''Nginx.conf'' 自带 caching,需要手动去 ''/yourwebdir/vhost/yourweb.conf'' 将如下的缓存规则删除。</del>
  
-<WRAP  round tip 60%>+<WRAP  round tip100%>
 解决方法:使用新版本的重写规则,请参见前面。 解决方法:使用新版本的重写规则,请参见前面。
 </WRAP> </WRAP>
行 383: 行 406:
 } }
 </code> </code>
 +==igor 版本的缩放问题== 
 +添加以下代码到 ''/lib/styles/all.css'': 
 +<code cpp> 
 +mjx-container[jax="SVG"] > svg { 
 +    height: auto; 
 +    width: auto; 
 +
 +</code>
 ==Mathjax与InstantClick不兼容== ==Mathjax与InstantClick不兼容==
  
行 476: 行 506:
 <div id="disqus_thread"></div> <div id="disqus_thread"></div>
 </code> </code>
-\\ +
-\\+
 ====Flarum==== ====Flarum====
 ===解决 nginx 重写的问题=== ===解决 nginx 重写的问题===