3.21更新
This commit is contained in:
parent
9a29bcbbdb
commit
c34b41dd9d
@ -918,8 +918,6 @@ docker-compose rm
|
|||||||
docker-compose rm flask_app
|
docker-compose rm flask_app
|
||||||
```
|
```
|
||||||
|
|
||||||
asdf
|
|
||||||
|
|
||||||
**停止运行的容器**
|
**停止运行的容器**
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -900,10 +900,15 @@ py脚本3:将本地图片上传到easyimage图床并将链接返回替换md文
|
|||||||
|
|
||||||
[【好玩儿的Docker项目】10分钟搭建一个Typecho博客|太破口!念念不忘,必有回响!-我不是咕咕鸽](https://blog.laoda.de/archives/docker-compose-install-typecho)
|
[【好玩儿的Docker项目】10分钟搭建一个Typecho博客|太破口!念念不忘,必有回响!-我不是咕咕鸽](https://blog.laoda.de/archives/docker-compose-install-typecho)
|
||||||
|
|
||||||
```
|
注意:nginx一定要对typecho目录有操作权限!
|
||||||
zy123@hcss-ecs-588d:~/typecho$ cat docker-compose.yml
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo chmod 755 -R ./typecho
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
@ -986,16 +991,73 @@ rm -rf /root/data/docker_data/typecho # 完全删除映射到本地的数据
|
|||||||
|
|
||||||
markdown编辑器插件:https://xiamp.net/archives/aaeditor-is-another-typecho-editor-plugin.html
|
markdown编辑器插件:https://xiamp.net/archives/aaeditor-is-another-typecho-editor-plugin.html
|
||||||
|
|
||||||
|
- 关闭'开启公式显示',将公式渲染交给typecho-markdown
|
||||||
|
|
||||||
|
markdown解析器插件:[mrgeneralgoo/typecho-markdown: A markdown parse plugin for typecho.](https://github.com/mrgeneralgoo/typecho-markdown)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
修改文章详情页的上方信息:
|
||||||
|
`typecho/usr/themes/Joe/module/single/batten.php`
|
||||||
|
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
if (!defined('__TYPECHO_ROOT_DIR__')) {
|
||||||
|
http_response_code(404);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<h1 class="joe_detail__title"><?php $this->title() ?></h1>
|
||||||
|
<div class="joe_detail__count">
|
||||||
|
<div class="joe_detail__count-information">
|
||||||
|
<a href="<?php $this->author->permalink(); ?>">
|
||||||
|
<img width="38" height="38" class="avatar lazyload" src="<?php joe\getAvatarLazyload(); ?>" data-src="<?php joe\getAvatarByMail($this->author->mail) ?>" alt="<?php $this->author(); ?>" />
|
||||||
|
</a>
|
||||||
|
<div class="meta ml10">
|
||||||
|
<div class="author">
|
||||||
|
<a class="link" href="<?php $this->author->permalink(); ?>" title="<?php $this->author(); ?>"><?php $this->author(); ?></a>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<span class="text">
|
||||||
|
<?php echo $this->date('Y-m-d'); ?> /
|
||||||
|
<?php $this->commentsNum('%d'); ?> 评论 /
|
||||||
|
<?php echo joe\getAgree($this); ?> 点赞 /
|
||||||
|
<?php echo joe\getViews($this); ?> 阅读 /
|
||||||
|
<?php echo art_count($this->cid); ?> 字
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="relative" style="padding-right: 40px;">
|
||||||
|
<i class="line-form-line"></i>
|
||||||
|
<!-- 新增最近修改日期显示 -->
|
||||||
|
<div style="font-size: 1.0em; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);">
|
||||||
|
最后更新于 <?php echo date('m-d', $this->modified); ?>
|
||||||
|
</div>
|
||||||
|
<div class="flex ac single-metabox abs-right">
|
||||||
|
<div class="post-metas">
|
||||||
|
<!-- 原图标及其他冗余信息已删除 -->
|
||||||
|
</div>
|
||||||
|
<div class="clearfix ml6">
|
||||||
|
<!-- 编辑文章/页面链接已删除 -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
slug为页面缩略名,在新增文章时可以传入,默认是index数字。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### **Markdown文件自动发布**
|
### **Markdown文件自动发布**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## qBittorrent
|
## qBittorrent
|
||||||
|
|
||||||
[【好玩的Docker项目】10分钟搭建你专属的下载神器——qbittorrent-我不是咕咕鸽](https://blog.laoda.de/archives/docker-install-qbittorrent)
|
[【好玩的Docker项目】10分钟搭建你专属的下载神器——qbittorrent-我不是咕咕鸽](https://blog.laoda.de/archives/docker-install-qbittorrent)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
`Collections` 类本身没有直接提供类似 `Arrays.equals` 的方法来比较两个集合的内容是否相等。不过,Java 中的集合类(如 `List`、`Set`、`Map`)已经实现了 `equals` 方法
|
`Collections` 类本身没有直接提供类似 `Arrays.equals` 的方法来比较两个集合的内容是否相等。不过,Java 中的集合类(如 `List`、`Set`、`Map`)已经实现了 `equals` 方法
|
||||||
|
|
||||||
```
|
- ```
|
||||||
List<Integer> list1 = Arrays.asList(1, 2, 3);
|
List<Integer> list1 = Arrays.asList(1, 2, 3);
|
||||||
List<Integer> list2 = Arrays.asList(1, 2, 3);
|
List<Integer> list2 = Arrays.asList(1, 2, 3);
|
||||||
List<Integer> list3 = Arrays.asList(3, 2, 1);
|
List<Integer> list3 = Arrays.asList(3, 2, 1);
|
||||||
|
@ -52,7 +52,6 @@ $$
|
|||||||
$$
|
$$
|
||||||
|
|
||||||
**注意**:由于约束要求 $x=z$,实际问题等价于
|
**注意**:由于约束要求 $x=z$,实际问题等价于
|
||||||
|
|
||||||
$$
|
$$
|
||||||
\min_{x} (x-1)^2 + (x-2)^2,
|
\min_{x} (x-1)^2 + (x-2)^2,
|
||||||
$$
|
$$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user