上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 二叉树的序列化和反序列化 1. 二叉树序列化: (a) 如果当前的树为空,则表示成X (b) 如果当前的树不为空,则表示成(<left_sub_tree>)cur_num(<right_sub_tree>),其中, <left_sub_tree>: 是左子树序列化后的结果 <right_sub_tr 阅读全文
posted @ 2021-08-15 16:49 风影旋新月 阅读(307) 评论(0) 推荐(0)
摘要: sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf upgrade sudo rpm -ivh https://dl.fedoraproject.org/pu 阅读全文
posted @ 2021-07-25 11:29 风影旋新月 阅读(0) 评论(0) 推荐(0)
摘要: git clone 项目地址 右键:git bash here git add . git commit -m "" git push -u origin gh-pages git pull origin gh-pages 阅读全文
posted @ 2021-07-12 21:23 风影旋新月 阅读(41) 评论(0) 推荐(0)
摘要: Calculate the distance from a point[x,y] to a triangle [[x1, y1], [x2, y2], [x3, y3]], points are ordered in the counter-clockwise direction. example: 阅读全文
posted @ 2021-07-03 23:06 风影旋新月 阅读(640) 评论(2) 推荐(0)
摘要: 裂开,dns解析后ping的居然不是自己的ip ipconfig /flushdns 刷新dns缓存 阅读全文
posted @ 2021-06-29 16:39 风影旋新月 阅读(165) 评论(0) 推荐(0)
摘要: ubuntu设置新用户默认使用的是sh,我们希望将默认的shell修改成bash 可以sudo vim /etc/passwd 修改用户的shell 阅读全文
posted @ 2021-06-05 10:10 风影旋新月 阅读(990) 评论(0) 推荐(0)
摘要: 1. 安装yasm wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar zxvf yasm-1.3.0.tar.gz #解压 cd yasm-1.3.0 #进入目录 ./configure #配置 make 阅读全文
posted @ 2021-05-29 19:33 风影旋新月 阅读(648) 评论(0) 推荐(0)
摘要: 安装mxnet-gpu版,解决在import时报错“OSError: libnccl.so.2“的问题 https://developer.nvidia.com/nccl/nccl-download 下载deb文件 安装存储库对于本地NCCL存储库:sudo dpkg -i nccl-repo-<v 阅读全文
posted @ 2021-04-26 18:43 风影旋新月 阅读(823) 评论(0) 推荐(0)
摘要: pip install opencv_python==3.4.2.16 阅读全文
posted @ 2021-04-22 15:17 风影旋新月 阅读(36) 评论(0) 推荐(0)
摘要: 1. 常用选项 监视指定网络接口的数据包 tcpdump -i eth1 如果不指定网卡,默认tcpdump只会监视第一个网络接口,一般是eth0 -n 不显示主机名,显示ip,常用 监视指定主机的数据包 监听目的主机的数据包 tcpdump -n src host 192.168.1.2 监听源主 阅读全文
posted @ 2021-04-09 23:19 风影旋新月 阅读(60) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 10 下一页