使用阿里云镜像地址 yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 更新包索引 yum makecache fase 安装docker yum inst ...
分类:
其他好文 时间:
2021-06-11 18:28:19
阅读次数:
0
模块化,类似于java中的导包,将一些代码封装导出供其他地方调用 export用于规定模块的对外接口,,可导出一切js基本变量,如基本类型变量、函数、数组、对象等 import用于导入其他模块提供的功能 简单示例 user.js var name = "jack" var age = 21 func ...
分类:
其他好文 时间:
2021-06-11 18:23:59
阅读次数:
0
数据类型: 整数(byte,short,int,long)1 数值型1 浮点数(float,double)1 基本数据类型1 字符(char)1 数据类型 非数值型2 布尔(boolean)2 引用数据类型2 类(class)2 接口(interface)2 数组([])2 数据类型内存占用和取值范 ...
分类:
其他好文 时间:
2021-06-11 18:07:25
阅读次数:
0
安装输入法使用指令: yum install ibus-libpinyin 安装 reboot 安装好后重启 ...
分类:
其他好文 时间:
2021-06-11 17:33:41
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-11 17:32:53
阅读次数:
0
1.下载tar包并安装依赖、解压 cd /opt && wget http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.6p1.tar.gz yum install -y gcc zlib-devel openssl-devel ...
分类:
其他好文 时间:
2021-06-10 18:51:19
阅读次数:
0
任何容器的底层数据结构只有两种:一种是数组;另一种是链表。例如:list,set,map,二叉树,图等容器。访问容器使用Iterator迭代器。 public interface Collection_ { void add(Object o); int size(); Iterator_ iter ...
分类:
其他好文 时间:
2021-06-10 18:43:23
阅读次数:
0
一、概述 String是代表字符串的类,本身是一个最终类,使用final修饰,不能被继承。 二、定义方式 方式一:直接赋值法 String str1 = "hello"; 方式二:创建法 String str2 = new String("hello"); 方式三:创建一个字符数组ch,new St ...
分类:
编程语言 时间:
2021-06-10 18:41:50
阅读次数:
0
centos7安装mysql+tomcat+jdk并设置开机自启(已测试) ...
分类:
数据库 时间:
2021-06-10 18:34:52
阅读次数:
0
numpy库的基本操作 import numpy as np import math #创建数组 a=np.arange(10) print(a) print(type(a)) #对数组里面的元素开平分 b=[3,4,9] #定义结果列表 result=[] #遍历列表 for i in b: pr ...
分类:
编程语言 时间:
2021-06-10 18:30:37
阅读次数:
0