From c7cabd991a2ca69cf00f4daf9a663de53deaf5d6 Mon Sep 17 00:00:00 2001 From: mayx Date: Thu, 10 Apr 2025 01:19:10 +0000 Subject: Update 2 files - /_posts/2024-11-02-trojan.md - /_posts/2019-02-01-history.md--- _posts/2019-02-01-history.md | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to '_posts/2019-02-01-history.md') diff --git a/_posts/2019-02-01-history.md b/_posts/2019-02-01-history.md index d37b3f0..f1af28f 100644 --- a/_posts/2019-02-01-history.md +++ b/_posts/2019-02-01-history.md @@ -22,18 +22,10 @@ tags: [Mayx, 计算机, 学习] 后来加入了一个叫批处理之家的论坛,我叫做[111](http://www.bathome.net/space.php?uid=51236)(LOL真不敢相信这个论坛一直到今天还活着),在这里我学到了不少关于批处理的事情。 因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码: - - - - +
+ +Show Code + ```bat @echo off @@ -2791,6 +2783,7 @@ if /i '%shy%'=='exit' goto _max if /i '%shy%'=='ai学习机' goto aixx ::在这里加入新的命令 ``` +
**注:因为隐私原因,部分代码稍作修改** 当然,这个程序有不少地方是抄的,而且很烂……(毕竟是小时候写的嘛) @@ -2799,14 +2792,10 @@ if /i '%shy%'=='ai学习机' goto aixx 因为手机(Android)系统基于Linux,所以我开始[学习Linux Shell](http://c.biancheng.net/cpp/shell/)(没错,当时就是在这个网站上学的), 以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上,在Linux上写的工具箱的名字叫做myx,代码如下: - - - +
+ +Show Code + ```shell #!/system/bin/sh @@ -3230,6 +3219,7 @@ sleep 2 esac done ``` +
**注:因为隐私原因,部分代码稍作修改** -- cgit 1.4.1-2-gfad0