1.1. 前端 先假设有如下setCookie方法: 假设当前域名为blog.xiaoming.com,经测试发现,JS在写入cookie时: 结果: 说明: 不传domain,默认当前域名; 只要传了domain,则会强制在前面加上一个.,不管是一级还是二级域名; domain只能“小于等于”当前 ...
分类:
其他好文 时间:
2019-11-12 15:58:55
阅读次数:
211
Creating a fake access point (honeypot) Fake access points can be handy in many scenarios, one example is creating an open AP, this will attract a lot ...
分类:
Web程序 时间:
2019-11-10 13:55:53
阅读次数:
97
环境 Windows7 Python3.65 scrapy1.74 PyInstaller3.5 创建打包脚本 在与scrapy.cfg同路径创建start.py # -*- coding: utf-8 -*- from scrapy.crawler import CrawlerProcess fr ...
分类:
其他好文 时间:
2019-11-09 21:24:02
阅读次数:
117
Springboot 使用jpa maven依赖 数据库配置 book实体 bookDao bookService bookController 参考文档 JPQL: jianshu.com/p/4a4410075bab ...
分类:
编程语言 时间:
2019-11-09 19:33:56
阅读次数:
116
1. DNS是什么? 1. DNS是什么? 1. DNS是什么? 1. DNS是什么? DNS(Domain Name System,域名系统),因特网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去+·记住能够被机器直接读取的IP数串。 通过主机名,最终得到该 ...
分类:
系统相关 时间:
2019-11-08 23:48:50
阅读次数:
117
package com.macro.cloud;import com.macro.cloud.domain.User;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.boot.test. ...
分类:
其他好文 时间:
2019-11-08 19:00:53
阅读次数:
111
实体类: 1 package cn.mepu.domain; 2 3 import java.io.Serializable; 4 5 /** 6 * 账户实体类 7 * @author shkstart 8 * @create 2019-11-08 10:04 9 */ 10 public cla ...
分类:
数据库 时间:
2019-11-08 12:28:38
阅读次数:
110
doamin 过滤条件 在odoo中,通过domain来过滤数据记录 domain是一个list,里面有多个条件 条件是一个有3个元素的元祖 ('字段名','比较操作符','值') 字段名 当前模型的字段或者是通过点操作符访问当前模型的Many2one / Many2Many对象。如果左边是Many ...
分类:
其他好文 时间:
2019-11-08 12:13:23
阅读次数:
81
Module ngx_http_core_modulehttps://nginx.org/en/docs/http/ngx_http_core_module.html#location location使用说明 NGINX Docs | NGINX Reverse Proxyhttps://docs ...
分类:
其他好文 时间:
2019-11-07 19:25:55
阅读次数:
105
spring提供的事务--纯注解 模拟转账业务 ,出错需要事务回滚,没错正常执行 事务和数据库技术都是spring的内置提供的 1.三层架构 IAccountDao接口 package com.dao; import com.domain.Account; /** * * @date 2019/11 ...
分类:
编程语言 时间:
2019-11-07 16:26:07
阅读次数:
136