CentOS7.x安装Docker # 安装依赖包 yum install -y yum-utils device-mapper-persistent-data lvm2 # 添加Docker软件包源 yum-config-manager --add-repo https://download.do ...
分类:
其他好文 时间:
2020-07-22 16:17:18
阅读次数:
76
/**功能:进行while和do-while循环的测试 */ public class Test { public static void main(String[] args) { int i=0; //声明一个变量 System.out.println("准备进行while循环"); while ...
分类:
编程语言 时间:
2020-07-22 15:57:32
阅读次数:
68
import sun.misc.BASE64Decoder; String res = new sun.misc.BASE64Encoder().encode("03100003:c4ca4238a0b923820dcc509a6f75849b".getBytes()); System.out.pr ...
分类:
其他好文 时间:
2020-07-22 15:52:04
阅读次数:
78
一:创建模板 二:图表Docment构建 public Document chart() { var doc = new Document(); var builder = new DocumentBuilder(doc); var shape = builder.InsertChart(Aspos ...
分类:
Web程序 时间:
2020-07-22 15:46:44
阅读次数:
95
实验1:使用RIPv1协议跨越主类网络边界 Step1:输入必打命令 <Huawei>undo terminal monitor(关闭自动弹窗) <Huawei>system-view (进入系统视图)[Huawei]sysname R1(命名路由器为R1)[R1]user-interface co ...
分类:
其他好文 时间:
2020-07-22 15:40:51
阅读次数:
75
public class Test { public static void main(String[] args) { int sum=0; for(int i=1;i<=100;i++) { sum+=i;/**进行累加 */ } System.out.println("结果为"+sum); } ...
分类:
编程语言 时间:
2020-07-22 15:34:27
阅读次数:
111
2 3 public class MyBubbleSort { 4 public static void main(String[] args) { 5 int num[] = {10,8,33,54,1,6,12,43,32,27}; 6 bubbleSort(num); 7 for (int i ...
分类:
编程语言 时间:
2020-07-22 11:34:29
阅读次数:
63
oracle数据库创建实例 数据库已经安装完成,可以正常登陆查看用户等操作 system用户只能用normal身份登陆em。除非你对它授予了sysdba的系统权限或者syspoer系统权限。 sys用户具有“SYSDBA”或者“SYSOPER”权限,登陆em也只能用这两个身份,不能用normal。 ...
分类:
数据库 时间:
2020-07-22 02:06:25
阅读次数:
97
要求实现一个杨辉三角,不了解的可以看 public static void main(String[] args) { int[] arr = new int[]{1}; System.out.println(fn(arr,10)); } public static int[] fn(int[] a ...
分类:
其他好文 时间:
2020-07-22 02:05:42
阅读次数:
53
案例一: public class A{ //static int number = 0; int number = 0; public A(){ number++; System.out.println("数字:"+number); } } public class Test{ public st ...
分类:
其他好文 时间:
2020-07-22 01:50:37
阅读次数:
72