This commit is contained in:
2024-10-09 19:46:19 +08:00
parent 565177038b
commit 5485a1041d
20 changed files with 79 additions and 40 deletions

BIN
basic/00/assets/book.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
basic/00/assets/book2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
basic/00/assets/cat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
basic/00/assets/oj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 KiB

BIN
basic/00/assets/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

15
basic/00/code.md Normal file
View File

@@ -0,0 +1,15 @@
# 自测猫的使用说明
![](./assets/cat.png)
自测猫 [https://code.xuyue.cc](https://code.xuyue.cc) 是一个代码在线运行的网站,省去在本地搭建编程环境的过程,平时运行简单的代码片段够用了。(为什么叫自测猫,因为是**自**行**测**试代码的机器**猫**
在左边写代码,当遇到要输入的情况时,在右侧上方的输入框中先写好你要输入的内容,再点击右上角绿色的运行(或者快捷键 F5运行结果就会出现在下面。
因为适配了移动端,用手机打开,一些功能我给移到其他地方了,并且新增了**编程助手**,方便关键字和符号的输入:
![](./assets/book2.png)
希望不要给我找没有电脑的借口了,你有手机就可以写代码了(也许吧
对了,自测猫支持**实时保存**,不小心关掉页面,你写的代码也不会丢失。

27
basic/00/index.md Normal file
View File

@@ -0,0 +1,27 @@
# 本网站的使用说明
![](./assets/book.png)
本网站 [https://book.xuyue.cc](https://book.xuyue.cc) 是一本编程书,其中包含了编程语言、应用领域、计算机科学等相关内容。
本网站支持代码互动,比如下面的代码区,在输入框输入**黄岩一职**,点击运行,会显示欢迎光临:
<script lang="ts" setup>
const code = `
a=input()
if a == "黄岩一职":
print("欢迎光临")
`
</script>
<editor :code="code" />
当然普通的、不互动的代码块也有,一般用于演示:
```python
print("欢迎光临")
```
我大部分的有图文的内容都会放在飞书知识库中,由于学校机房孱弱的机器性能,这个网站仅是一些必要的文字,以满足上课时候的需求。
一般来说,这个网站的内容会以链接的形式放到我的其他网站上去,能直接翻看这个网站的人算是少数吧(笑

7
basic/00/oj.md Normal file
View File

@@ -0,0 +1,7 @@
# 判题狗的使用说明
![](./assets/oj.png)
判题狗 [https://oj.xuyue.cc](https://oj.xuyue.cc) 是一个在线评测平台Online Judge由练习、比赛、排名等组成真实反映你用代码解决问题的能力。
【未完待续。。。】

7
basic/00/play.md Normal file
View File

@@ -0,0 +1,7 @@
# 练习册的使用说明
![](./assets/play.png)
练习册 [https://play.xuyue.cc](https://play.xuyue.cc) 单纯用于检测你是否掌握代码格式,本身这个网站也比较简单,半个小时就可以通关(关键是我比较懒,没有几道题
这个网站是我在教师培训时候无聊做的,功能不多,之后有空升级成自主刷题网站(也许吧

1
basic/01/chatgpt.md Normal file
View File

@@ -0,0 +1 @@
# 如何利用 AI 帮助学习编程

1
basic/01/cheatsheet.md Normal file
View File

@@ -0,0 +1 @@
# Python 小抄

View File

@@ -0,0 +1 @@
# 看懂报错信息

View File

@@ -0,0 +1,33 @@
# 中文编程语言介绍
很多学生都说自己英文不好,所以学不会编程。但是有没有想过世界上有很多中文编程语言呢,下面是我知道的一些中文编程语言(或者是其他语言魔改),我们来一起看看吧。
## 熊猫编辑器
[熊猫编辑器](https://cxfjh.github.io/) ,语法是 Python 的语法,但全都是用中文来写的。
![alt text](image-3.png)
有兴趣的可以从网盘下载并安装使用 [下载链接](https://www.123pan.com/s/IzrNjv-cAd7A)
## 炫语言
[炫语言中文编程](http://xc.xcgui.com/)
![alt text](image-2.png)
这个也是中文编程,可以做界面,但是好像要收钱。。。
## 文言
[文言](https://wy-lang.org/) 是一个文言文的编程语言,代码风格长这样:
![alt text](image.png)
上面代码翻译过来就是:把 問天地好在。循环三遍
![alt text](image-1.png)
这个 [网站](https://ide.wy-lang.org/) 有很多例子,但是阅读起来贼难受。
如果古人写代码,就是这样啊~

BIN
basic/02/image-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
basic/02/image-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

BIN
basic/02/image-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

BIN
basic/02/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB