Given an array of integers nums and an integer threshold, we will choose a positive integer divisor and divide all the array by it and sum the result ...
分类:
其他好文 时间:
2020-11-13 13:21:44
阅读次数:
33
[default] callback_whitelist = profile_tasks # The best way I’ve found to time the execution of Ansible playbooks is by enabling the profile_tasks cal ...
分类:
其他好文 时间:
2020-11-04 19:01:00
阅读次数:
20
##新学到的知识 echart图表的使用 表格内容过多,如何用省略号代替 mybatis bind标签的使用 mybatis choose标签的使用 ...
分类:
其他好文 时间:
2020-11-02 10:45:58
阅读次数:
37
Reference: [Dockerfile Security Best Practices] Container security is a broad problem space and there are many low hanging fruits one can harvest to m ...
分类:
其他好文 时间:
2020-10-24 11:48:16
阅读次数:
37
###题目 121. Best Time to Buy and Sell Stock ###解题方法 用一个变量minprice记录当前已经遍历过的最小价格,再用一个变量maxprofit记录当前已经遍历过的最大利润,如果price[i] > minprice,就计算最大利润是否需要增加;否则计算最 ...
分类:
其他好文 时间:
2020-10-21 21:19:48
阅读次数:
21
html: <ul class="nav nav-tabs choose_nav" role="tablist" id="vtab"> <li role="presentation" class="active nav-item"> <a href="{:url('index/personal_ri ...
分类:
其他好文 时间:
2020-10-21 20:49:17
阅读次数:
20
1、case命令选择执行 [root@linuxprobe test]# ls test.sh [root@linuxprobe test]# cat test.sh ## 查看脚本 #!/bin/bash echo "This is a test!" echo "you can choose 0- ...
分类:
系统相关 时间:
2020-10-19 22:36:33
阅读次数:
27
学习目标: 掌握创建数据库、查看数据库、查看数据库的结构、选择要使用的数据库、删除数据库的方法 学习内容: 创建数据库:create database 数据库名; CREATE DATABASE choose DEFAULT CHARACTER SET utf8; 注意:创建的数据库以文件夹的形式存 ...
分类:
数据库 时间:
2020-10-18 09:33:45
阅读次数:
32
一、背景说明在bgp网络中为了防止路由环路,采取了ibgp水平分割法则,这要求一个as内部的bgpspeaker需要两两建立对等体或使用路由反射器(后续介绍),否则就会出现路由黑洞。本文介通过mpls标签转发路径的方式进行传递BGP路由。二、实验拓扑本次实验拓扑如下图所示:ip地址如图所示,路由器底层运行ospf协议路由器的lo0接口地址为x.x.x.x/32(x为路由器编号),该地址也是rout
分类:
其他好文 时间:
2020-10-18 09:31:00
阅读次数:
23
1 动态SQL 1.1 什么是动态SQL?动态SQL的作用 动态SQL指的是根据不同的查询条件 , 生成不同的Sql语句。通过 if, choose, when, otherwise, trim, where, set, foreach等标签,可组合成非常灵活的SQL语句,从而在提高 SQL 语句的 ...
分类:
其他好文 时间:
2020-10-13 17:05:23
阅读次数:
18