linux下python3.6.7安装yum -y install gcc yum -y install wget openssl openssl-develtar xvf Python-3.6.7.tgzcd Python-3.6.7/ ./configure --prefix=/usr/loca ...
分类:
编程语言 时间:
2021-06-03 18:13:34
阅读次数:
0
* Official English Documentation: http://nginx.org/en/docs/ * Official Russian Documentation: http://nginx.org/ru/docs/ #==基础配置==# user nginx; #设置运行用户 ...
分类:
其他好文 时间:
2021-06-03 18:04:40
阅读次数:
0
views.py视图导入 from django.shortcuts import HttpResponse, render, redirect 1.HttpResponse 它是作用是内部传入一个字符串参数,然后发给浏览器。 例如: def index(request):# 业务逻辑代码 retu ...
分类:
Web程序 时间:
2021-06-03 18:03:57
阅读次数:
0
1. 自定义注解 @MyTransaction /** * @author yangxj * @see org.springframework.transaction.TransactionDefinition */ @Target({ElementType.METHOD, ElementType. ...
分类:
编程语言 时间:
2021-06-03 18:02:05
阅读次数:
0
情景: 用户发起request,并等待response返回。在本些views中,可能需要执行一段耗时的程序,那么用户就会等待很长时间,造成不好的用户体验,比如发送邮件、手机验证码等。 使用celery后,情况就不一样了。 解决: 将耗时的程序放到celery中执行。 Celery 是一个包含一系列的 ...
分类:
其他好文 时间:
2021-06-03 17:55:31
阅读次数:
0
简述 session是一种服务器端会话技术,在一次会话的多次请求间共享数据,将数据放在服务器端。 HttpSession类入门 HttpSession是对session数据的操作进行了一个封装,它是一个接口 获取HttpSession对象 HttpSession session = request. ...
分类:
其他好文 时间:
2021-06-02 20:50:41
阅读次数:
0
1、启动setoolkit 选择1进入社会工程学攻击模块:Social-Engineering Attacks 选择2进入网站攻击向量:Website Attack Vectors 选择3进入凭证收割机攻击方法: Credential Harvester Attack Method 选择3进入凭证收 ...
分类:
Web程序 时间:
2021-06-02 20:12:05
阅读次数:
0
What does it means? For example, if we have setup a API Gateway, REST API, GET method point to a Lambda function with no proxy intergration which retu ...
分类:
移动开发 时间:
2021-06-02 19:55:41
阅读次数:
0
/** * 使用curl实现http请求 * @param $url 请求地址 * @param $timeout 请求超时 * @param $method 请求方式 * @param $body POST请求报文体 * @param $header 请求头 * @param $res 返回结果 ...
分类:
Web程序 时间:
2021-06-02 19:51:24
阅读次数:
0
首页开发 TabControl 的封装 因TabControl组件在home和category页面都可以用到,所以可以在公共组件的content下创建tabControl文件夹进行封装 <template> <div class="tab-control"> <div v-for="(item, i ...
分类:
其他好文 时间:
2021-06-02 19:35:58
阅读次数:
0