API文档中介绍了public Interface Filter(公共接口过滤器) Servlet API文档中是这样介绍的: ‘A filter is an object that performs filtering tasks on either the request to a resour ...
分类:
其他好文 时间:
2019-06-02 12:54:26
阅读次数:
114
题目链接:https://atcoder.jp/contests/abc127/tasks/abc127_f 题目大意 初始状态下$f(x) = 0$,现在有 2 种模式的询问,第一种以“1 a b”的形式,需要进行操作$f(x) = f(x) + |x - a| + b$;第二种以“2”的形式,求 ...
分类:
其他好文 时间:
2019-05-29 09:20:55
阅读次数:
175
INFOSYS735 Lab Project 1 – Part I & IICustomer requirements and company analysis Edit this document to add your responses to the questions or tasks be ...
分类:
其他好文 时间:
2019-05-18 20:55:46
阅读次数:
116
一、概述 新版本的kubernetes默认使用了coredns,这里就不赘述了。直达车:https://coredns.io/、https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#coredns 二、 ...
分类:
Web程序 时间:
2019-05-16 17:54:40
阅读次数:
265
-hosts:group#需要更改密码的组remote_user:user1#ssh登录的普通用户become:yesbecome_method:subecome_user:root#需要提前在/etc/ansible/hosts定义ansible_su_passvars:-passwd:password#新密码User:user2#需要更改密码的用户tasks:-name:changepassw
分类:
其他好文 时间:
2019-05-14 17:38:34
阅读次数:
124
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace async_demo{ class Program { ...
分类:
其他好文 时间:
2019-05-12 13:40:36
阅读次数:
100
mkdir -p /opt/ansible-playbook/roles cd /opt/ansible-playbook/roles mkdir -p {mysql,httpd}/{default,files,handlers,meta,tasks,templates,vars} ...
分类:
其他好文 时间:
2019-05-10 19:06:45
阅读次数:
109
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Mail; namespace C... ...
htophtop是top的升级版,它支持图形界面鼠标操作,相比top更加友好易操作。安装yuminstall-yhtop使用命令行中直接敲击htop命令即可左边部分从上至下,分别为,cpu、内存、交换分区的使用情况,右边部分为:Tasks为进程总数,当前运行的进程数、Loadaverage为系统1分钟,5分钟,10分钟的平均负载情况、Uptime为系统运行的时间。PID:进行的标识号USER:运行
分类:
其他好文 时间:
2019-05-08 00:26:50
阅读次数:
155
ansible之playbook 1.playbook的语法格式如下: - hosts: webservers 是定义的主机组 也就是playbook中的 play 角色的意思 注意":" 冒号后面也必须价格空格不然就报错 tasks: 注意 他前面是有2个空格的, ansible 是用空格来区分规 ...
分类:
其他好文 时间:
2019-05-03 16:19:23
阅读次数:
279