Skip to content

Commit b129ee8

Browse files
committed
统一博客文章格式:标题格式、代码块语言标识、参考链接格式等
1 parent 9b77b1a commit b129ee8

25 files changed

+50
-50
lines changed

src/source/_posts/N1-盒子折腾笔记.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tags: 技术折腾
3939

4040
> todo
4141
42-
## References
42+
# 相关参考
4343

4444
- [OpenWrt 项目](https://openwrt.org/zh/packages/start)
4545
- [恩山无线论坛](https://www.right.com.cn/)

src/source/_posts/a-hasty-graduation-trip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: A hasty graduation trip
2+
title: A Hasty Graduation Trip
33
date: 2016-05-13 14:05:39
44
updated: 2016-05-13 14:05:39
55
tags: Life

src/source/_posts/async-binding-in-WPF.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Async binding in WPF
2+
title: Async Binding in WPF
33
date: 2017-04-18 21:17:01
44
updated: 2017-04-18 14:05:39
55
tags: WPF
@@ -113,6 +113,6 @@ public class BooleanToVisibilityConverter : IValueConverter
113113

114114
执行上述操作后,运行该程序,会发现程序在运行 5 秒之后显示由显示 **loading** 变为 **hippieZhou**
115115

116-
参考:
116+
# 相关参考
117117

118118
1. 《C#并发编程经典实例》

src/source/_posts/custom-route-event-in-WPF.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Custom route event in WPF
2+
title: Custom Route Event in WPF
33
date: 2017-11-28 21:37:04
44
updated: 2017-11-28 21:37:04
55
tags: WPF
@@ -36,7 +36,7 @@ public class MyButtonSimple: Button
3636
}
3737
```
3838

39-
```XAMl
39+
```XAML
4040
<Window>
4141
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4242
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -56,7 +56,7 @@ public class MyButtonSimple: Button
5656
</Window>
5757
```
5858

59-
# 参考文档:
59+
# 相关参考
6060

6161
[https://docs.microsoft.com/zh-cn/dotnet/framework/wpf/advanced/how-to-create-a-custom-routed-event](https://docs.microsoft.com/zh-cn/dotnet/framework/wpf/advanced/how-to-create-a-custom-routed-event)
6262

src/source/_posts/custom-scaling-capabilities-in-WPF.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Custom scaling capabilities in WPF
2+
title: Custom Scaling Capabilities in WPF
33
date: 2017-05-16 21:37:04
44
updated: 2017-05-16 21:37:04
55
tags: WPF

src/source/_posts/deploy-django-on-aliyun.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: Django
99

1010
购买域名和域名解析以及购买云服务器这些操作方法阿里云都有相应提示,按提示操作即可。这里需要指出的一点时,当服务器购买成功后请进入该实例执行一次 **重新初始化磁盘** 操作 (需要先停止该服务器) 确保系统镜像的干净,在执行该操作的时候,网页会提示你设置远程登陆的密码。服务器启动成功后远程登陆你的云服务器并更新系统
1111

12-
```shell
12+
```bash
1313
ssh root@ip
1414
password
1515

@@ -27,7 +27,7 @@ su - hippieZhou
2727

2828
# 搭建 Nginx 服务器:
2929

30-
```shell
30+
```bash
3131
# 执行该操作后无误后,访问公网IP即可看到 Nginx 的默认页面
3232
apt-get install Nginx
3333

@@ -40,7 +40,7 @@ ps -ef|grep nginx
4040

4141
# 安装 Mysql 数据库:
4242

43-
```shell
43+
```bash
4444
# 测试本机是否已安装 mysql
4545
netstat -tap|grep mysql
4646

@@ -65,7 +65,7 @@ sudo mysqladmin -u root password newpassword
6565

6666
# 部署代码:
6767

68-
```shell
68+
```bash
6969
# 安装虚拟环境并启动
7070
sudo apt-get install git python3 python3-pip
7171
sudo pip3 install virtualenv
@@ -107,7 +107,7 @@ python3 manage.py shell
107107

108108
在/etc/nginx/site-available/下创建一个本项目对应的配置文件
109109

110-
```shell
110+
```bash
111111
/etc/nginx/sites-available/www.hippiezhou.com
112112
server {
113113
charset utf-8;
@@ -127,14 +127,14 @@ server {
127127

128128
创建该配置的连接文件到sites-enabled目录下,删除该目录中的default链接
129129

130-
```shell
130+
```bash
131131
ln -s /etc/nginx/sites-available/www.hippiezhou.fun /etc/nginx/sites-enabled/www.hippiezhou.fun
132132
rm /etc/nginx/sites-enabled/default
133133
```
134134

135135
# 通过 Gunicorn 部署代码:
136136

137-
```shell
137+
```bash
138138
# 在虚拟环境中安装Gunicorn包
139139
pip3 install Gunicorn
140140

@@ -147,7 +147,7 @@ gunicorn --bind unix:/tmp/www.hippiezhou.fun.socket website.wsgi:application
147147
自动启动 Gunicorn
148148
在 /etc/init/下创建一个自启动脚本gunicorn-www.hippiezhou.fun.conf
149149

150-
```shell
150+
```bash
151151
start on net-device-up
152152
stop on shutdown
153153

@@ -161,18 +161,18 @@ exec ../env/bin/gunicorn --bind unix:/tmp/www.hippiezhou.fun.socket website.wsgi
161161

162162
启动脚本
163163

164-
```shell
164+
```bash
165165
sudo start gunicorn-www.hippiezhou.fun
166166
```
167167

168168
以后更新代码后只需要执行下面操作即可
169169

170-
```shell
170+
```bash
171171
sudo service nginx reload
172172
sudo restart gunicorn-www.hippiezhou.fun
173173
```
174174

175-
# 参考链接:
175+
# 相关参考
176176

177177
1. [使用 Nginx 和 Gunicorn 部署 Django 博客](https://www.zmrenwu.com/post/20/)
178178
1. [Django教程](http://www.liujiangblog.com/course/django/2)

src/source/_posts/for-you-who-are-in-college.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: For you who are in college
2+
title: For You Who Are in College
33
date: 2016-04-17 20:22:56
44
updated: 2016-04-17 20:22:56
55
tags: Life

src/source/_posts/git-commands-cheat-sheet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Git commands cheat sheet
2+
title: Git Commands Cheat Sheet
33
date: 2022-02-27 20:55:55
44
updated: 2022-02-27 20:55:55
55
tags: Git
@@ -103,7 +103,7 @@ git fetch --all --prune
103103

104104
try to create or update `~/.ssh/config` as followed:
105105

106-
```shell
106+
```bash
107107
Host github.com
108108
Hostname ssh.github.com
109109
Port 443
@@ -115,7 +115,7 @@ Then, run the command `ssh -T git@github.com` to confirm if the issue is fixed.
115115

116116
try to open your git config by `git config -e (--global)`, and then modify relevant configuration:
117117

118-
```shell
118+
```bash
119119
[remote "origin"]
120120
url = https://git.example.com/example.git (you can omit this URL)
121121
fetch = +refs/heads/*:refs/remotes/origin/*
@@ -125,7 +125,7 @@ after that, you can run `git fetch --all`.
125125

126126
## Generate or apply patch file
127127

128-
```shell  
128+
```bash
129129
# Creating a patch from unstaged changes
130130
git diff > changes.patch  
131131
# Creating a patch from staged changes

src/source/_posts/how-to-enable-ssh-service-on-ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to enable SSH service on Ubuntu
2+
title: How to Enable SSH Service on Ubuntu
33
date: 2021-10-17 12:43:22
44
updated: 2021-10-17 12:43:22
55
tags: SSH
@@ -41,7 +41,7 @@ ssh 的配置文件默认在
4141

4242
使用方式 直接在终端输入:
4343

44-
```bash  
44+
```bash
4545
# 以 root 身份登陆
4646
ssh root@[your-remote-ip]
4747
```

src/source/_posts/how-to-fix-runtimebinderexception.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to fix RuntimeBinderException
2+
title: How to Fix RuntimeBinderException
33
date: 2023-04-13 20:27:39
44
updated: 2023-04-13 20:27:39
55
tags: C#

0 commit comments

Comments
 (0)