In a deck of cards, every card has a unique integer. You can order the deck in any order you want. Initially, all the cards start face down (unreveale ...
分类:
其他好文 时间:
2020-06-22 13:13:01
阅读次数:
57
MAC地址(/sys/class/net/enp0s3/address) 修改网卡配置(/etc/sysconfig/network-script/ifcfg-eth0) DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.1.255 HWADDR=00:0 ...
分类:
系统相关 时间:
2020-06-22 00:58:44
阅读次数:
128
最近写一个小爬虫,需要拿到邮箱信息,发现拿不到,也不是ajax接口。最后查资料发现是被Cloudflare加密起来了,有加密肯定有解密。 通过大佬https://blog.shiniv.com/2016/09/decode-encode-cloudflare-address-obfuscation/ ...
分类:
编程语言 时间:
2020-06-21 15:47:23
阅读次数:
77
在做MVC开发时经常会用到ViewData和ViewBag进行传值操作,因为很常用所以在这里总结一下,以方便后来人。一、ViewBag的使用方法 后台代码: public ActionResult Index(){ Dictionary<string, string> address = new D ...
分类:
其他好文 时间:
2020-06-21 00:52:46
阅读次数:
95
题目:You Are the One 网址:http://acm.hdu.edu.cn/showproblem.php?pid=4283 Problem Description The TV shows such as You Are the One has been very popular. I ...
分类:
其他好文 时间:
2020-06-20 23:47:01
阅读次数:
57
Spring Boot 之Application.properties配置大全 Server server.address 服务器地址 server.port 服务器端口 server.context-parameters.[param name] 设置 servlet 上下文参数 server.c ...
分类:
移动开发 时间:
2020-06-20 16:23:58
阅读次数:
75
centos 7 在虚拟机中出现 这个错误 导致进入不了系统。 经过一中午的百度测试了各种方法都不行。 导致出错的原因,应该是在安装各种软件时触动了 Gnome 桌面底层依赖的包。 最后找到了解决办法: 出现如上图界面后 然后ctrl+alt+F2 进入命令模式,然后输入root 账号和密码。 ro ...
分类:
其他好文 时间:
2020-06-20 14:28:31
阅读次数:
211
/** * @author:xc * @desc: 特殊字符校验 除了下划线 */ containSpecial(str) { var containSpecial = RegExp( /[(\ )(\~)(\!)(\@)(\#)(\$)(\%)(\^)(\&)(\*)(\()(\))(\-)(\+ ...
分类:
Web程序 时间:
2020-06-20 14:22:22
阅读次数:
233
has been blocked by CORS policy: Request header field x-csrf-token is not allowed by Access-Control-Allow-Headers in preflight response. 因为main.js有“se ...
分类:
其他好文 时间:
2020-06-20 13:56:53
阅读次数:
45
第一步:server.xml中加上address="0.0.0.0" 1、. 配置tomcat的server.xml, 更改connector配置, 端口不用改, 加上address="0.0.0.0", 使其绑定到IPv4, 如下 (借鉴的解决方案) <1>使用cmd命令netstat -n, 查 ...
分类:
系统相关 时间:
2020-06-20 13:07:57
阅读次数:
241