官网链接 https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ 一、在master安装 kubectl apply -f https://raw.githubusercontent.com/kube ...
分类:
Web程序 时间:
2020-01-29 20:13:03
阅读次数:
100
CLIENT SIDE ATTACKS Backdooring ANY file Combine backdoor with any file - Generic solution. Users are more likely to run a pdf, image or audio file th ...
分类:
数据库 时间:
2020-01-29 19:38:08
阅读次数:
79
用Linq To SQL 搭建底层 接口 底层 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syst ...
分类:
数据库 时间:
2020-01-28 19:14:21
阅读次数:
63
介绍 软件工程中,我们不仅要创建一致的定义良好的API,同时也要考虑可重用性。 组件不仅能够支持当前的数据类型,同时也能支持未来的数据类型,这在创建大型系统时为你提供了十分灵活的功能。 在像C#和Java这样的语言中,可以使用泛型来创建可重用的组件,一个组件可以支持多种类型的数据。 这样用户就可以以 ...
分类:
其他好文 时间:
2020-01-28 12:40:42
阅读次数:
56
1.筛选出符合条件的Hero:要求hp>100 && damage<50 匿名类实现: 先定义接口HeroChecker,其中的test()方法实现了Hero的筛选 1 package generic; 2 3 import charactor.Hero; 4 5 public interface ...
分类:
编程语言 时间:
2020-01-25 16:52:07
阅读次数:
70
准备10个Hero对象,hp和damage都是随机数。分别用传统方式和聚合操作的方式,把hp第三高的英雄名称打印出来 1 package generic_Lambda; 2 3 import java.util.ArrayList; 4 import java.util.Arrays; 5 impo ...
分类:
编程语言 时间:
2020-01-25 16:46:52
阅读次数:
93
C# GUI应用 实现 2048游戏 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System. ...
C# 控制台应用 实现 2048游戏 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game ...
泛型的用法是在容器后面添加<Type>Type可以是类,抽象类,接口泛型表示这种容器,只能存放<Type> 1.设计支持泛型的二叉树,具有add(),Inorder()中序遍历方法 1 package generic; 2 3 import java.util.ArrayList; 4 import ...
分类:
编程语言 时间:
2020-01-23 16:55:32
阅读次数:
99
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace xxxxx.MessageHandling.Config { public ...
分类:
其他好文 时间:
2020-01-23 13:57:48
阅读次数:
74