mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 11:29:41 +00: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真不敢相信这个论坛一直到今天还活着),在这里我学到了不少关于批处理的事情。   
 | 
			
		||||
  因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码:   
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
  function showcode() { 
 | 
			
		||||
  $('.showbutton').toggle();
 | 
			
		||||
  $('.language-bat').toggle();
 | 
			
		||||
  }
 | 
			
		||||
</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>
 | 
			
		||||
<details markdown="1">
 | 
			
		||||
<summary markdown="span">
 | 
			
		||||
Show Code
 | 
			
		||||
</summary>
 | 
			
		||||
 | 
			
		||||
```bat
 | 
			
		||||
@echo off
 | 
			
		||||
@@ -2791,6 +2783,7 @@ if /i '%shy%'=='exit' goto _max
 | 
			
		||||
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/)(没错,当时就是在这个网站上学的),
 | 
			
		||||
  以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上,在Linux上写的工具箱的名字叫做myx,代码如下:   
 | 
			
		||||
  
 | 
			
		||||
<script> 
 | 
			
		||||
    function showcode2() {  
 | 
			
		||||
    $('.showbutton2').toggle(); 
 | 
			
		||||
    $('.language-shell').toggle(); 
 | 
			
		||||
    } 
 | 
			
		||||
</script> 
 | 
			
		||||
<button onclick="showcode2()" class="showbutton2">Show Code</button> 
 | 
			
		||||
<button onclick="showcode2()" class="showbutton2" style="display:none;">Hide Code</button>
 | 
			
		||||
<details markdown="1">
 | 
			
		||||
<summary markdown="span">
 | 
			
		||||
Show Code
 | 
			
		||||
</summary>
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
#!/system/bin/sh
 | 
			
		||||
@@ -3230,6 +3219,7 @@ sleep 2
 | 
			
		||||
esac
 | 
			
		||||
done
 | 
			
		||||
```
 | 
			
		||||
</details>
 | 
			
		||||
 | 
			
		||||
  **注:因为隐私原因,部分代码稍作修改**   
 | 
			
		||||
  
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user