一、挂载光盘 [root@localhost ~]# mount /dev/cdrom /mnt/cdrom/ 二、让网络yum源文件失效 [root@localhost]@ cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# mv CentOS-B ...
分类:
系统相关 时间:
2020-11-24 12:10:37
阅读次数:
12
1 2 3 4 5 6 7 8 9 10 F9 resume programe 恢复程序 Alt+F10 show execution point 显示执行断点 F8 Step Over 相当于eclipse的f6 跳到下一步,逐过程,不进入方法 F7 Step Into 相当于eclipse的f5 ...
分类:
其他好文 时间:
2020-11-23 12:23:41
阅读次数:
3
1.子类 1) 定义子类 //假设父类(也叫做超类)是Employee类,用extends来表示继承 public class Manager extends Employee{ //域和方法 private double bonus; //子类的域 ... private void setBonu ...
分类:
编程语言 时间:
2020-11-23 12:08:42
阅读次数:
7
double getDistance(cv::Point pointO, cv::Point pointA) { double distance; distance = powf((pointO.x - pointA.x), 2) + powf((pointO.y - pointA.y), 2); ...
分类:
其他好文 时间:
2020-11-23 11:51:01
阅读次数:
9
什么是round-trip? Any double-precision floating-point number can be identified with at most 17 significant decimal digits. This means that if you convert ...
分类:
编程语言 时间:
2020-11-20 12:04:39
阅读次数:
12
C++11有了chrono库,可以很容易的实现定时功能。 chrono: chrono库主要包含了三种类型:时间间隔Duration、时钟Clocks和时间点Time point。 Duration: duration表示一段时间间隔,用来记录时间长度,可以表示几秒钟、几分钟或者几个小时的时间间隔, ...
分类:
编程语言 时间:
2020-11-20 11:44:25
阅读次数:
7
下载ntfs-3g https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz 解压 tar -zxvf ntfs-3g_ntfsprogs-2017.3.23.tgz 进入解压目录 cd ntfs-3g_ntfsprogs-2017. ...
分类:
移动开发 时间:
2020-11-20 11:34:55
阅读次数:
21
LatLng 代表一个有着确定经纬度坐标的地理点。 1、用例 var latlng = L.latlng(50.5,30.5); 所有Leaflet的方法中接收的LatLng参数均可以用数组[ ]或者一个表示经纬度的Key/Value表示: map.panTo( [50,30] ); map.pan ...
分类:
其他好文 时间:
2020-11-19 12:21:28
阅读次数:
5
异常现象: 解决方法: 1. 輸入root的密碼,進入單用戶2. 重新掛載/目錄,使其變為可讀可寫 # mount –o rw,remount / 3. 修改/etc/fstab文件,注釋掉sdb 這個sdb是存儲直連服務器的 # vi /etc/fstab #/dev/sdb1 /D37data0 ...
分类:
其他好文 时间:
2020-11-16 13:31:51
阅读次数:
6
链表简介 链表的概念: 多个元素组成的列表 元素存储不连续,用 next 指针连在一起 数组和链表的对比: **数组:**增删非首尾元素时往往需要移动元素。 链表: 增删非首尾元素时,不需要移动元素,只需要更改 next 的指向即可。 JS 中的链表 JavaScript 中没有链表这种数据结构 但 ...
分类:
其他好文 时间:
2020-11-13 13:09:08
阅读次数:
7