import turtledef main(): count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count = count + 1 turtle.exitonclick()if __name__== '_main_ ...
分类:
编程语言 时间:
2020-08-05 23:27:07
阅读次数:
104
一:解题思路 二:完整代码示例 (C++版和Java版) C++代码: #include <iostream> using namespace std; int main() { int k = 0; int N = 0; int num = 0; while (cin >> k) { num = ...
分类:
其他好文 时间:
2020-08-05 22:14:18
阅读次数:
96
一:解题思路 这道题目的本质就是求斐波那契数列的第n项。 二:完整代码示例 (C++版和Java版) C++代码: #include <iostream> using namespace std; int main() { int months = 0; while (cin >> months) ...
分类:
其他好文 时间:
2020-08-05 19:41:00
阅读次数:
68
https://www.jianshu.com/p/54cc04190252 https://www.cnblogs.com/chengxs/p/10396066.html 应用场景还没总结 1. 如果在一个有cookie的页面,再从这个页面的链接跳转,那么在跳转的页面还能拿到cookie和sess ...
分类:
其他好文 时间:
2020-08-05 10:41:48
阅读次数:
299
1、显示统计占用系统内存最多的进程,并排序。 有多种方法(我写了其中2种):1.top命令的内置命令M。 2.ps aux --sort=-%mem 2、编写脚本,使用for和while分别实现192.168.0.0/24网段内,地址是否能够ping通,若ping通则输出"success!",若pi ...
分类:
系统相关 时间:
2020-08-05 10:40:20
阅读次数:
105
这里对SpringMVC框架进行一个简单的介绍: springmvc是spring框架的一个模块,springmvc和spring无需通过中间整合层进行整合。 springmvc是一个基于mvc的web框架。 springmvc 表现层:方便前后端数据的传输 Spring MVC 拥有控制器,作用跟 ...
分类:
编程语言 时间:
2020-08-04 14:01:04
阅读次数:
89
什么时候可以使用Lambda?通常Lambda表达式是用在函数式接口上使用的。从Java8开始引入了函数式接口,其说明比较简单:函数式接口(FunctionalInterface)就是一个有且仅有一个抽象方法,但是可以有多个非抽象方法的接口。一、语法定义/***定义函数式接口*接口上标注@FunctionalInterface注解*/@FunctionalInterfacepublicinterf
分类:
编程语言 时间:
2020-08-04 10:05:43
阅读次数:
87
本文首发于Seebug Paper,原文链接:https://paper.seebug.org/1280/ 前言 Oracle七月发布的安全更新中,包含了一个Weblogic的反序列化RCE漏洞,编号CVE-2020-14645,CVS评分9.8。 该漏洞是针对于CVE-2020-2883的补丁绕过 ...
分类:
Web程序 时间:
2020-08-04 09:50:14
阅读次数:
103
#O365的隔离报告https://protection.office.com/quarantine可以在365的网址上拿到,但是却无法导出,以下脚本可以将隔离的邮件导出,并使用while循环解决单条命令的1000个数据的限制#O365‘squarantinereporthttps://protection.office.com/quarantinecanbeobtainedonthe36
分类:
系统相关 时间:
2020-08-03 18:41:58
阅读次数:
82