sudo touch if_interface_up.shsudo chmod 777 if_interface_up.sh sudo vi if_interface_up.sh #!/bin/bashwhile true do result=`cat /sys/class/net/enp0/car ...
分类:
系统相关 时间:
2020-06-09 20:17:09
阅读次数:
66
How badly do you want to achieve your goals? Whether or not your goal is to drop 10 pounds for the summer, or to open your own small business, a smart ...
分类:
其他好文 时间:
2020-06-09 16:22:01
阅读次数:
129
如果想要多次同样的操作,就是用循环结构 java有三种主要的循环结构: - while循环 -do...while循环 -for循环 ps(在java5中引入了一种新的增强for循环) 1.while循环:它是最基本的循环 2.do...while循环 对于while循环而言,如果不满足条件,就不会 ...
分类:
编程语言 时间:
2020-06-09 15:00:50
阅读次数:
73
Retire deprecated micro app projects. (Repo, Codeship, S3) Improve our code structure, how do we layout/split our components and services? https://ind ...
分类:
其他好文 时间:
2020-06-09 10:06:09
阅读次数:
144
神图 能够实时观察设计的cpu是如何执行指令的。网页地址:http://www.buthowdoitknow.com/but_how_do_it_know_cpu_model.html Philosophy But How do it Know(计算机是怎么知道的) 近乎成了一个哲学问题,这本书讲述 ...
分类:
其他好文 时间:
2020-06-07 14:27:39
阅读次数:
141
In this lesson you will learn to ask about skills. 课上内容(Lesson) "I'm a man of my word" 我是一个讲信用的人/ 我是一个说道做到的人 a street vendor illegal 非法 <--> legal 合法 ...
分类:
其他好文 时间:
2020-06-07 11:05:19
阅读次数:
75
一、自定义镜像有两种方法: 1、docker commit 启动一个容器,增删改查,安装软件,修改配置文件等 ; 另存为一个新镜像 docker run -it docker.io/centos 启动一个容器 yum install -y vim net-tools ctrl+p+q 退出容器 do ...
分类:
其他好文 时间:
2020-06-06 18:45:09
阅读次数:
54
@ 不论哪一种编程语言,都会提供两种基本的流程控制结构:分支结构和循环结构。其中分支结构用 于实现根据条件来选择性地执行某段代码,循环结构则用于实现根据循环条件重复执行某段代码。Java 同样提供了这两种流程控制结构的语法,Java提供了 if和switch两种分支语句,并提供了 while、do ...
分类:
编程语言 时间:
2020-06-05 23:08:35
阅读次数:
83
##发送ajax请求 发送事件:输入关键词后,点回车 请求的参数:输入的关键字 请求地址:/share/search.do ##服务器处理 -Controller:调用Service层方法即可 -Service: public ResultNote<List<Share>> searchNote(S ...
分类:
Web程序 时间:
2020-06-05 21:12:25
阅读次数:
119
题目链接:https://vjudge.net/problem/HDU-1074 Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher ...
分类:
其他好文 时间:
2020-06-05 13:08:02
阅读次数:
72