博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2024年2月26日

摘要: 1. 下载MySQL对应的mac版本 https://dev.mysql.com/downloads/mysql/ 2. 点击安装 3. 配置环境变量 ① 打开home目录 cd ~/ ② 新建 .zshrc 文件,并编辑添加内容 touch .zshrc # 在该文件中加入如下内容(即当前计算机中 阅读全文

posted @ 2024-02-26 21:00 steve.z 阅读(104) 评论(0) 推荐(0) 编辑

2023年10月18日

摘要: // // main.c // HuffmanTree // // Created by steve xiaohu zhao on 2023/10/18. // #include <stdio.h> #include <stdlib.h> // 定义一个 Huffman Tree 的节点 struc 阅读全文

posted @ 2023-10-18 14:44 steve.z 阅读(1) 评论(0) 推荐(0) 编辑

2023年10月17日

摘要: // // main.c // BinarySearch // // Created by steve xiaohu zhao on 2023/10/16. // #include <stdio.h> // 二分法查找指定元素在数组中出现的索引位置 int BinarySearch(int *arr 阅读全文

posted @ 2023-10-17 16:18 steve.z 阅读(18) 评论(0) 推荐(0) 编辑

2023年10月16日

摘要: typedef int Position; typedef struct LNode *List; struct LNode { ElementType Data[MAXSIZE]; Position Last; }; /* 初始化 */ List MakeEmpty() { List L; L = 阅读全文

posted @ 2023-10-16 20:55 steve.z 阅读(2) 评论(0) 推荐(0) 编辑

摘要: // // main.c // SeqList2 // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 /* 表示线性表的最大长度 阅读全文

posted @ 2023-10-16 20:13 steve.z 阅读(1) 评论(0) 推荐(0) 编辑

2023年10月15日

摘要: // // main.c // SeqList // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 // 定义一个顺序表的节点 阅读全文

posted @ 2023-10-15 21:35 steve.z 阅读(7) 评论(0) 推荐(0) 编辑

2023年8月23日

摘要: ```python # # py_count_words.py # py_learn # # Created by Z. Steve on 2023/8/23 10:30. # import re from collections import Counter def count_words(tex 阅读全文

posted @ 2023-08-23 16:12 steve.z 阅读(178) 评论(0) 推荐(0) 编辑

2023年8月18日

摘要: # wildcard 百搭、通配符 在 shell 中使用 noglob 前缀,则停用通配符功能 例如: ```bash $ noglob scrapy shell -s USER_AGENT='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) Appl 阅读全文

posted @ 2023-08-18 17:49 steve.z 阅读(18) 评论(0) 推荐(0) 编辑

2023年8月17日

摘要: ```bash # 1. 按两次 control + c # 2. 按一次 control + d # 3. 输入 .exit ``` 阅读全文

posted @ 2023-08-17 20:49 steve.z 阅读(8) 评论(0) 推荐(0) 编辑

摘要: # 1、下载 vmfusion 13 并安装 # 2、下载 Ubuntu Server arm 版本,并在 vmfusion 13 中安装 # 3、在 Ubuntu Server 中安装desktop ```bash $ sudo apt update $ sudo apt install task 阅读全文

posted @ 2023-08-17 19:05 steve.z 阅读(341) 评论(0) 推荐(0) 编辑