<Window x:Class="WpfApp53.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20... ...
FJ打算去购物,在此之前,他需要一些盒子来装他要买的各种各样的东西。每个盒子都用来携带一些特定的东西(也就是说,如果他要买这些东西,他必须事先买到盒子)。每种东西都有自己的价值。现在FJ的购物金额只有W美元,他想用这笔钱购物,使他所买的物品的总价值最高。 有多组测试数据 Input?每组数据的第一行 ...
分类:
其他好文 时间:
2019-09-13 15:50:58
阅读次数:
95
Nginx 运行时进程需要有用户与组的支持,以实现对网站文件读取时进行访问控制。Nginx 默认使用 nobody 用户账号与组账号,一般也要进行修改。 1:编译安装时指定 [root@localhost conf]# useradd -M -s /sbin/nologin nginx [root@ ...
分类:
其他好文 时间:
2019-09-12 15:03:41
阅读次数:
107
当前官方暂时还没有使用docker-compose 运行kuma 的demo(太复杂没必要),但是做为一个本地的测试环境使用 docker-compose 运行下通用模式的kuma 还有比较有意义的,可以了解下通信的原理。 环境组件说明 kuma 在通用模式运行,需要以下几个组件: kuma-cp ...
分类:
其他好文 时间:
2019-09-12 09:45:30
阅读次数:
130
资料 : 1.学习Spring Boot:(十五)使用Lombok来优雅的编码 https://www.cnblogs.com/qnight/p/8997493.html 2.Lombok介绍、使用方法和总结 http://www.yuanrengu.com/index.php/20180324.h... ...
分类:
其他好文 时间:
2019-09-10 23:39:42
阅读次数:
95
演示效果如下 演示工程,全部就一个文件,代码如下 ...
一、label太短,无法完成显示所要显示信息长度,要换行,解决方法如下: (1) string aa =(长串) ; string cc= aa.Substring(0,10);//取前10个字符 string dd=aa.Substring(11);取后边的 Label.Text=cc.Trim( ...
1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : ...
分类:
其他好文 时间:
2019-09-04 00:22:08
阅读次数:
76
一、centos6防火墙命令1、查看防火墙规则#iptables-L2、状态、开启、关闭、重启防火墙#serviceiptablesstatus#serviceiptablesstart#serviceiptablesstop#serviceiptablesrestart永久关闭防火墙#chkconfigiptablesoff永久关闭后重启#chkconfigiptableson3、开启一个80端
分类:
其他好文 时间:
2019-09-02 18:51:35
阅读次数:
114