flag package main import ( "flag" "github.com/kataras/iris/v12" ) // 需要配合 flag.Parse() 使用 var port = flag.String("port", "8080", "The address to liste ...
分类:
其他好文 时间:
2020-07-21 21:53:30
阅读次数:
74
1.Macos本地无法使用monkeyPatch调试的原因 引用一段原文,意思是,操作系统不能通过对一个内存页执行写和执行的操作。(Linux似乎没有这个问题) (Monkey won't work on some security-oriented operating system that do ...
分类:
系统相关 时间:
2020-07-21 14:23:37
阅读次数:
115
通过自定义context_processors实现自定义tag by:授客 QQ:1033553122 测试环境 Win7 Django 1.11 实践 步骤1 应用根目录下,新建自定义context上下文处理器对应的py文件(例中为 project_dir/website/context_proc ...
分类:
其他好文 时间:
2020-07-21 09:54:14
阅读次数:
79
报错:There is no Action mapped for namespace [/] and action name [emp-edit] associated with context path [/struts2-5] 解决办法:向 struts.xml 中的package 添加一个属性 ...
分类:
其他好文 时间:
2020-07-21 01:10:42
阅读次数:
81
In this tutorial we will be looking at how Spring Security works and its architecture. We will be creating a Spring Boot Project to expose two REST AP ...
分类:
编程语言 时间:
2020-07-20 20:32:59
阅读次数:
72
本文较大篇幅引用https://www.mrhelloworld.com/config/,相关内容版权归该文章作者所有 服务配置现状 配置文件是我们再熟悉不过的,在微服务系统中,每个微服务不仅仅只有代码,还需要连接其他资源,例如数据库的配置或功能性的开关 MySQL、Redis 、Security ...
分类:
编程语言 时间:
2020-07-19 23:40:21
阅读次数:
68
##题目 Pasha loves to send strictly positive integers to his friends. Pasha cares about security, therefore when he wants to send an integer n, he encry ...
分类:
其他好文 时间:
2020-07-19 23:37:51
阅读次数:
80
前后端项目分离,跨域请求时,后端的两种配置方式: 1.配置类: package com.helq3.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annot ...
分类:
编程语言 时间:
2020-07-18 21:52:43
阅读次数:
86
今天郭先生说一下用canvas解析图片流,然后制作一个动态二维码的小案例,话不多说先上图,在线案例点击博客原文。这是郭先生的微信二维码哦! 1. 解析图片流 canvas = document.createElement('canvas');//创建canvas画布 content = canvas ...
分类:
Web程序 时间:
2020-07-18 13:52:34
阅读次数:
92
问题:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 解决:rebuild project 问题:service实现类注入dao失败 解决:dao或者service的配置文 ...
分类:
其他好文 时间:
2020-07-18 00:41:34
阅读次数:
76