摘要: 1.1 Rust安装 3.5 Rust Generic Types, Traits, and Lifetimes 3.6 String 与 切片&str的区别 https://openslr.magicdatatech.com/resources/33/data_aishell.tgz 阅读全文
posted @ 2020-11-12 12:14 方诚 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 软件下载 https://golang.google.cn/https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz 环境变量设置 export GOWKS=/data/wks/tpf export GOROOT=$GOWKS/app/go expor 阅读全文
posted @ 2022-11-17 11:36 方诚 阅读(2626) 评论(0) 推荐(0) 编辑
摘要: 当前时间(2022-11)python3.11已经出来,python3.10已稳定 配置一个AI开发的python环境,代码部署迁移时,安装环境也一块带走 OS:ubantu20.10 安装用户:xt, python环境 sqlite3 小不点数据库,这个不是必须的,但很多其他软件会依赖它,比如ju 阅读全文
posted @ 2022-11-02 16:15 方诚 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 柯尔莫哥洛夫,A.H.(Андрей Николаевич Колмогоров)1903年4月25日生于俄国坦波夫(Тамбов);1987年10月20日卒于苏联莫斯科.数学、大气力学. 柯尔莫哥洛夫的父亲卡塔也夫(Николай Матвеевич Катаев)是农艺师兼作家,母亲柯尔莫哥洛娃 阅读全文
posted @ 2022-10-25 17:43 方诚 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 转自: http://blog.renren.com/share/343320656/15540620254 最近我在重新学习偏微分方程的时候又遇到“傅里叶级数”了,我曾经觉得这个公式非常繁琐,用到的时候就去翻书查看,没法自己信心满满的写出来。现在我找到诀窍了,可以不需要任何参考书,给我一个周期函数 阅读全文
posted @ 2022-10-25 17:32 方诚 阅读(457) 评论(0) 推荐(0) 编辑
摘要: // 这是第一种注释方式 /* 这是第二种注释方式 */ /* * 多行注释 * 多行注释 * 多行注释 */文档注释 /// Adds one to the number given. /// /// # Examples /// /// ``` /// let x = add(1, 2); // 阅读全文
posted @ 2022-06-14 12:58 方诚 阅读(26) 评论(0) 推荐(0) 编辑
摘要: mysql> show variables like "%datadir%"; + + + | Variable_name | Value | + + + | datadir | /var/lib/mysql/ | + + + 1 row in set (0.01 sec) mysql> shutd 阅读全文
posted @ 2022-04-30 15:43 方诚 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 用户权限 在终端中添加一个用户,使用ls -al查看其属组为staff 73xt@192 /opt % ls -al total 3343800 drwxr-xr-x 4 root wheel 128 4 26 19:53 . drwxr-xr-x 24 root admin 768 4 17 20 阅读全文
posted @ 2022-04-26 19:57 方诚 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: C标准函数库中,常见的堆上内存管理函数有malloc(), calloc(), recalloc(), free(), memset。 之所以使用堆,是因为栈只能用来保存临时变量、局部变量和函数参数。在函数返回时,自动释放所占用的存储空间。而堆上的内存空间不会自动释放,直到调用free()函数,才会 阅读全文
posted @ 2022-02-23 15:38 方诚 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 创建列表 typedef struct node{ void *val; struct node *next; struct node *prev; } node; typedef struct list{ int size; node *front; node *back; } list; voi 阅读全文
posted @ 2022-02-23 14:09 方诚 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 直接引用 在一个cpp文件中调用另外一个cpp文件, main.cpp与ctool.cpp在同一目录下 main.cpp #include <iostream> #include "ctool.cpp" int main(int argc, char* argv[]){ say_hello(); r 阅读全文
posted @ 2022-02-23 13:42 方诚 阅读(349) 评论(0) 推荐(0) 编辑