1.安装插件 在vscode界面左侧,点击图中所示的菜单项,搜索Vscode counter 2.使用插件统计代码 2.1.点击顶部 View 菜单 2.2.在下拉选项中选择第一项 Command Palette(ctrl+shift+p) 2.3.工作区选择VscodeCounter:Count ...
分类:
其他好文 时间:
2020-03-06 13:17:26
阅读次数:
931
public class SortHeap { public static void sort(int[] data) { // 构建大顶堆 for (int i = (data.length - 2) / 2; i >= 0; i--) { adjustHeap(data, i, data.len ...
分类:
编程语言 时间:
2020-03-06 12:56:17
阅读次数:
70
Once an order is saved, our new event callback CRM_SRVO_H_SAVE_EC will be called: Main logic is in this tool class, method save_header: In save_header ...
分类:
其他好文 时间:
2020-03-06 10:46:22
阅读次数:
61
(请观看本人博文—— "《详解 字符流》" ) 字符缓冲流 和 字节缓冲流(高效字节流)运用了同样的思想 —— 缓冲区思想 其实这种思想涉及到了Java的一种设计模式 —— 装饰模式 (对于此知识点,在此篇博文中不做讲解,将在本人后续博文中进行讲解) [toc] 字符缓冲流: (高效字符转换流) 这 ...
分类:
其他好文 时间:
2020-03-05 10:43:08
阅读次数:
76
一、安装redis 第一步:下载redis安装包 wget http://download.redis.io/releases/redis-4.0.6.tar.gz [root@iZwz991stxdwj560bfmadtZ local]# wget http://download.redis.io ...
分类:
其他好文 时间:
2020-03-04 19:08:41
阅读次数:
65
bin:存储着linux系统的命令的源文件,大部分都在这里,少部分在别的路径下boot:系统启动时需要加载的一些文件dev:存储着设备文件的目录,这里都是一些硬件设备etc:存储着配置文件,有系统上电调用的,也有运行某个程序的时候才会调用的文件home:普通用户的家目录,普通用户只能操作这个路径下的同名目录文件lib:存储着库文件的目录,程序运行需要链接的库大部分都在这里mnt:共享目录存储的地方
分类:
系统相关 时间:
2020-03-04 18:56:51
阅读次数:
81
最近在群里,同学们对于python基础课程到底要学什么,一直不能很好的确定,那么我在这里针对python基础知识的几个阶段,做一个总结,新手朋友们,可以根据这个来进行学习,那么由于我是做web开发的,所以会从web的角度去涉及。 第一阶段知识 基础语法 (1) python的数据结构的认识: pyt ...
分类:
编程语言 时间:
2020-03-04 10:01:29
阅读次数:
72
E-Stop (also known as boost) is a way to start a vehicle when the battery is exhausted or exhausted. Temporarily connect to another car's battery or o ...
分类:
其他好文 时间:
2020-03-03 12:43:48
阅读次数:
71
torch.optim.SGD class torch.optim.SGD(params, lr=<object object>, momentum=0, dampening=0, weight_decay=0, nesterov=False) 功能: 可实现SGD优化算法,带动量SGD优化算法,带 ...
分类:
其他好文 时间:
2020-03-02 23:04:01
阅读次数:
118
#查看CPU的个数cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l #查看CPU的型号cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c #查看内存free -h #查看磁盘df -h ...
分类:
其他好文 时间:
2020-03-02 12:56:33
阅读次数:
64