记录 谷歌 XSS 小游戏 第一关 </b><script>alert("Borber")</script> 第二关 <p>hello <a name="n" href="javascript:alert('Borber')"><em>Borber</em></a></p> 第三关 https:// ...
分类:
其他好文 时间:
2020-06-14 12:41:32
阅读次数:
116
WPF中DataTemplateSelector的简单应用 DataTemplateSelector中文叫数据模板选择器,根据数据模型内的属性值选择不同的数据模板,多用于容器如listbox中,达到同一个DataContext却展示的样式不同的效果。 在这里我将举一个聊天效果展示的例子。 首先我们需 ...
/* 直接求多边形面积 */ #include<bits/stdc++.h> using namespace std; typedef double db; const db eps=1e-6; const db pi=acos(-1); int sign(db k){ if (k>eps) ret ...
分类:
其他好文 时间:
2020-06-14 01:20:57
阅读次数:
82
npm install react-wow --save import ReactWOW from 'react-wow' <ReactWOW animation='fadeIn'>嵌套值</ReactWOW> https://www.npmjs.com/package/react-wow ...
分类:
其他好文 时间:
2020-06-14 01:17:04
阅读次数:
72
本文内容来源于网络,是笔者在自己学习过程中遇到的问题的一个总结,若有不当之处敬请指正 1. 电源 STM32仿真不同于51单片机的仿真,对51进行仿真时,只用把芯片拖出来,放上程序,运行仿真就可以了,在32仿真前要对电源网络做一些设置,设置VDD、VDDA、VSS、VSSA,打开Design → c ...
分类:
其他好文 时间:
2020-06-13 23:07:32
阅读次数:
336
package LeetCode_227 import java.util.* /** * 227. Basic Calculator II * https://leetcode.com/problems/basic-calculator-ii/description/ * * Implement ...
分类:
其他好文 时间:
2020-06-13 22:58:15
阅读次数:
72
本篇中使用的调试函数如下 1 template<typename T> 2 void print_vector(vector<T> a){ 3 if(a.size() == 0) 4 cout << "empty" << endl; 5 else{ 6 for(int i = 0; i < a.si ...
分类:
编程语言 时间:
2020-06-13 15:56:59
阅读次数:
78
Description Once in a forest, there lived \(n\) aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each ...
分类:
其他好文 时间:
2020-06-13 00:21:23
阅读次数:
79
TypeScript在Model中的高级应用 在MVC、MVVC等前端经典常用开发模式中,V、C往往是重头戏,可能是前端业务主要集中这两块。结合实际业务,笔者更喜欢路由模式、插件式设计,这种在迭代和维护上更能让开发者收益(不过你需要找PM协调这事,毕竟他们理解的简化用户体验,多半是怎么让用户操作简单 ...
分类:
其他好文 时间:
2020-06-12 21:41:52
阅读次数:
216
https://www.javaguides.net/2018/12/how-rabbitmq-works-and-rabbitmq-core-concepts.html n this quick article, we will learn what is RabbitMQ, how it wor ...
分类:
其他好文 时间:
2020-06-12 14:47:24
阅读次数:
74