mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2026-01-10 05:21:47 +08:00
Update 2 files
- /_posts/2024-11-02-trojan.md - /_posts/2019-02-01-history.md
This commit is contained in:
@ -22,18 +22,10 @@ tags: [Mayx, 计算机, 学习]
|
|||||||
后来加入了一个叫批处理之家的论坛,我叫做[111](http://www.bathome.net/space.php?uid=51236)(LOL真不敢相信这个论坛一直到今天还活着),在这里我学到了不少关于批处理的事情。
|
后来加入了一个叫批处理之家的论坛,我叫做[111](http://www.bathome.net/space.php?uid=51236)(LOL真不敢相信这个论坛一直到今天还活着),在这里我学到了不少关于批处理的事情。
|
||||||
因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码:
|
因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码:
|
||||||
|
|
||||||
<script>
|
<details markdown="1">
|
||||||
function showcode() {
|
<summary markdown="span">
|
||||||
$('.showbutton').toggle();
|
Show Code
|
||||||
$('.language-bat').toggle();
|
</summary>
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<style>
|
|
||||||
.language-bat{ display:none; }
|
|
||||||
.language-shell{ display:none; }
|
|
||||||
</style>
|
|
||||||
<button onclick="showcode()" class="showbutton">Show Code</button>
|
|
||||||
<button onclick="showcode()" class="showbutton" style="display:none;">Hide Code</button>
|
|
||||||
|
|
||||||
```bat
|
```bat
|
||||||
@echo off
|
@echo off
|
||||||
@ -2791,6 +2783,7 @@ if /i '%shy%'=='exit' goto _max
|
|||||||
if /i '%shy%'=='ai学习机' goto aixx
|
if /i '%shy%'=='ai学习机' goto aixx
|
||||||
::在这里加入新的命令
|
::在这里加入新的命令
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
**注:因为隐私原因,部分代码稍作修改**
|
**注:因为隐私原因,部分代码稍作修改**
|
||||||
当然,这个程序有不少地方是抄的,而且很烂……(毕竟是小时候写的嘛)
|
当然,这个程序有不少地方是抄的,而且很烂……(毕竟是小时候写的嘛)
|
||||||
@ -2799,14 +2792,10 @@ if /i '%shy%'=='ai学习机' goto aixx
|
|||||||
因为手机(Android)系统基于Linux,所以我开始[学习Linux Shell](http://c.biancheng.net/cpp/shell/)(没错,当时就是在这个网站上学的),
|
因为手机(Android)系统基于Linux,所以我开始[学习Linux Shell](http://c.biancheng.net/cpp/shell/)(没错,当时就是在这个网站上学的),
|
||||||
以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上,在Linux上写的工具箱的名字叫做myx,代码如下:
|
以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上,在Linux上写的工具箱的名字叫做myx,代码如下:
|
||||||
|
|
||||||
<script>
|
<details markdown="1">
|
||||||
function showcode2() {
|
<summary markdown="span">
|
||||||
$('.showbutton2').toggle();
|
Show Code
|
||||||
$('.language-shell').toggle();
|
</summary>
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<button onclick="showcode2()" class="showbutton2">Show Code</button>
|
|
||||||
<button onclick="showcode2()" class="showbutton2" style="display:none;">Hide Code</button>
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
@ -3230,6 +3219,7 @@ sleep 2
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
**注:因为隐私原因,部分代码稍作修改**
|
**注:因为隐私原因,部分代码稍作修改**
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user