共有 3 篇文章
📅 最近更新
2024-04-13
- 2024-09-18
官方安装教程 https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build
Chrome 插件
https://chromewebstore.google.com/detail/hoppscotch-browser-extens/amknoiejhlmhancpahfcfcfhllgkpbld
安装后在插件中添加域名https://post.akvicor.com
来启用插件
初始化数据库
在安装成功且访问之前, 需要先初始化数据库, 否则容器会崩溃(如果容器已经崩溃, 需要删除容器后重新安装)
2023-02-27
- 2024-09-18
https://www.mediawiki.org/wiki/MediaWiki_and_LaTeX_on_a_host_with_shell_access
安装TexLive,使用 which latex 和 which dvipng 检查是否安装
按照注释中操作
1<?php
2# Place this file in extension directory as Mtag.php
3# Add the following line to LocalSettings.php:
4# include './extensions/Mtag.php';
5# Mediawiki will render as LaTeX the code within <m> </m> tags.
6
7$wgExtensionFunctions[] = "wfMtag";
8
9function wfMtag() {
10 global $wgParser;
11 $wgParser->setHook( "m", "returnMtagged" );
12}
13
14function returnMtagged( $code, $argv) {
15# if you have mathtex.cgi installed:
16 $txt='<img src="/cgi-bin/mathtex.cgi?'.$code.'">';
17# OR if you want to temporarily test a public mathtex.cgi:
18# $txt='<img src="http://www.forkosh.com/mathtex.cgi?'.$code.'">';
19
20 return $txt;
21}
22?>
下载并解压 Mathtex.zip
2022-11-17
- 2024-09-18
Compile from source
1git clone github.com/librespeed/speedtest-go
2cd speedtest-go
3go build -ldflags "-w -s" -trimpath -o speedtest main.go
Setting
将settings.toml
文件中的assets_path
设置为web/assets
目录(也可以将assets
目录和可执行文件移动到其他位置)