码迷,mamicode.com
首页 >  
搜索关键字:do    ( 12356个结果
backup.bat 自动备份脚本
@echo off rem set local_ip=202.101.142.174rem 取得本机ip地址,做为备份包的文件基名for /f "skip=5 Tokens=15" %%i in ('ipconfig') do ( set local_ip=%%i goto out_ipconfig ...
分类:其他好文   时间:2020-01-11 22:36:27    阅读次数:122
部分循环语句书写格式
循环语句(多次执行同一段代码) while循环 书写格式:while(条件){ 代码块; } 注意:条件为真时,一直执行大括号里的代码块; 条件为假时,则终止。 do-while循环 书写格式:do{ 代码块; }while(条件); 注意:先执行一次代码块,然后再判断条件,条件为真时,一直执行大括 ...
分类:其他好文   时间:2020-01-11 17:01:01    阅读次数:95
Serverless
Server +less 没有服务器,不需要去部署 Serverless computing refers to the concept of building and running applications that do not require server management. 无服务器计 ...
分类:其他好文   时间:2020-01-10 16:02:42    阅读次数:80
容器集群管理平台的比较
容器化和微服务是当前最热话题,不久之前,笔者(据说因为现在都不用笔了,“笔者”的称谓已经不合适了,因为输入用键盘,叫“键人”更为合适)参加QCon上海一个微服务监控的Session,场面爆棚,我不得不在拥挤的过道听完了整个session。随着要管理的容器越来越多,容器的集群管理平台成为了刚需! Do ...
分类:其他好文   时间:2020-01-10 12:57:11    阅读次数:107
layer 提示框
//eg1layer.msg('只想弱弱提示');//eg2layer.msg('有表情地提示', {icon: 6}); //eg3layer.msg('关闭后想做些什么', function(){ //do something}); //eglayer.msg('同上', { icon: 1, ...
分类:其他好文   时间:2020-01-09 14:50:14    阅读次数:399
[LC] 105. Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:其他好文   时间:2020-01-09 13:29:51    阅读次数:67
https://github.com/golang/go/wiki/CommonMistakes
CommonMistakes https://golang.org/doc/faq#closures_and_goroutines Why is there no goroutine ID? ¶ Goroutines do not have names; they are just anonymou ...
分类:Web程序   时间:2020-01-09 00:52:35    阅读次数:107
【1.1】shell基本实践——密码输入三次错误则结束
function checkPwd() { pwdCount=1 read -s -p "Please input the password: " thePwd clear while true; do if [ "${pwdCount}" -ge 3 ]; then ... ...
分类:系统相关   时间:2020-01-08 18:37:08    阅读次数:81
grep+for实现批量排除文件
说明: 文件a为所有待删除文件列表 文件b为需要保留的文件目录 需求: 排除文件a中需要保留的文件 实现方法: for i in `cat b`;do echo "$i";cat a|grep -Ev "$i" > filelist; mv filelist b -f ;done 遇到问题: 通过w ...
分类:其他好文   时间:2020-01-08 10:42:16    阅读次数:78
《领域驱动设计系列文章(2)——浅析VO、DTO、DO、PO的概念、区别和用处》
领域驱动设计系列文章(2)——浅析VO、DTO、DO、PO的概念、区别和用处 本篇文章主要讨论一下我们经常会用到的一些对象:VO、DTO、DO和PO。 由于不同的项目和开发人员有不同的命名习惯,这里我首先对上述的概念进行一个简单描述,名字只是个标识,我们重点关注其概念: 概念: VO(View Ob ...
分类:其他好文   时间:2020-01-08 01:00:31    阅读次数:76
12356条   上一页 1 ... 81 82 83 84 85 ... 1236 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!