dockerfile的格式,dockerfile是一个纯文本文件,我们可以理解为构建镜像的源码;不同于其他编程语言,dockerfile里没有if else 没有循环,它里面仅仅有注释和构建镜像的指令;对于dockerfile注释就是以井号开头的行为注释,这个和shell和其他配置文件的语法一样;... ...
分类:
其他好文 时间:
2020-05-31 18:12:39
阅读次数:
63
package erase; import java.util.Scanner; public class 组合不重复的3位数字 { public static void main(String[] args) { // TODO Auto-generated method stub System. ...
分类:
编程语言 时间:
2020-05-31 16:31:01
阅读次数:
101
import java.io.File; import java.util.Scanner; /** 搜索文件,給定一個問價夾路徑,搜索文件夾下的文件 @author Administrator */ public class SeachFile { public static void main( ...
分类:
其他好文 时间:
2020-05-31 15:58:44
阅读次数:
61
1 // 获取元素属性值的兼容写法 2 function getStyle(obj,attr){ 3 if(obj.currentStyle){ 4 //兼容IE 5 obj.currentStyle[attr]; 6 return obj.currentStyle[attr]; 7 }else{ ...
分类:
Web程序 时间:
2020-05-31 15:48:50
阅读次数:
97
#include<bits/stdc++.h> using namespace std; struct BigInteger { static const int BASE=10000; static const int WIDTH=4; vector<long long>s; BigInteger ...
分类:
其他好文 时间:
2020-05-31 15:45:43
阅读次数:
54
s1='' print(bool(s1)) #False s1=' ' print(bool(s1)) #True name=input('>>>') if name: print('666') else: print('333') print(str(True),str(False)) #True ...
分类:
编程语言 时间:
2020-05-31 13:23:27
阅读次数:
118
一. 下载HTMLTestRunner 下载地址:http://tungwaiyip.info/software/HTMLTestRunner.html 在项目文件夹中,新建一个HTMLTestRunner.py文件,将网页上的代码全部复制到HTMLTestRunner.py文件中; 二. 修改HT ...
分类:
Web程序 时间:
2020-05-31 12:51:13
阅读次数:
83
1.列表,[ ],删除最后一个元素pop,添加到末尾Append,有序的 代码: colors=["purple", "orange", "green"]guess=input("Guess a color:")if guess in colors: print("You guessed corre ...
分类:
其他好文 时间:
2020-05-31 00:36:57
阅读次数:
69
1、使用while循环输入1 2 3 4 5 6 8 9 10 num = 1 while num <= 10: if num == 7: print(" ") else: print(num) num = num + 1 2、求1-100的所有数的和 num = 1 he = 0 while nu ...
分类:
其他好文 时间:
2020-05-30 23:27:11
阅读次数:
156
用java实现删除目录 public static void main(String[] args) { try { String strFolder = "D:\\aa"; deleteFile(new File(strFolder)); System.out.println("Delete Su ...
分类:
编程语言 时间:
2020-05-30 20:01:20
阅读次数:
54