事情是这样的,今天安装 prepack-webpack-plugin 出现了 node-pre-gyp WARN Using request for node-pre-gyp https download ,导致一直安装不上,然后我就去找了 node-gpy 是啥,结果发现,它是和二进制编译相关的, ...
分类:
其他好文 时间:
2020-06-28 20:59:25
阅读次数:
71
环境搭建参考:https://www.jianshu.com/p/fc39030d057f 总体流程: ...
分类:
其他好文 时间:
2020-06-28 20:15:34
阅读次数:
39
org.springframework.web.context.request.RequestContextHolderorg.springframework.web.context.request.RequestAttributesorg.springframework.web.context.r ...
分类:
编程语言 时间:
2020-06-28 18:20:57
阅读次数:
149
每日思考一遍人生,还是要学习的 0x01 web 1、计算器-1 源码: 1 #!/usr/bin/env python3 2 # -*- coding: utf-8 -*- 3 from flask import Flask, render_template, request,session 4 ...
分类:
其他好文 时间:
2020-06-28 15:19:09
阅读次数:
51
1.asp.net core 实际是一个控制台应用程序 。请求管道模型 执行顺序就是:发送http请求>被Kestrel解析得到HttpContext->然后被后台代码处理Request>返回Response->经由Kestrel回发到客户端所谓管道,就是拿着HttpContext,经过多个步骤的加 ...
分类:
Web程序 时间:
2020-06-28 12:53:49
阅读次数:
85
登录函数传参 把登录单独出来,写一个函数,传2个参数user和psw,写用例的时候调用登录函数,输入几组user,psw参数化登录用例 测试用例传参需要用装饰器@pytest.mark.parametrize,里面写两个参数 第一个参数是字符串,多个参数中间用逗号隔开 第二个参数是list,多组数据 ...
分类:
其他好文 时间:
2020-06-27 22:49:41
阅读次数:
158
xxx.aspx页面和对应的xxx.aspx.cs的数据传递,然后实现登录验证并且将值保存到Session中,上次有用Ajax测试实现了,但是后面发现一个问题,Ajax传递到cs页面之后,如果要在被加上了 [WebMethod] 参数的静态方法中使用Session的话就会报错“ "未将对象引用设置到 ...
Based on Oracle, processing an English character takes 1 byte, but 3 bytes for a Chinese character. For example: select ename, length(ename), lengthb( ...
分类:
数据库 时间:
2020-06-27 20:30:11
阅读次数:
74
1、真实服务器packagemainimport("fmt""log""net/http""os""os/signal""strconv""syscall""time")typerealServerstruct{Addrstring}func(rs*realServer)HelloHandler(whttp.ResponseWriter,r*http.Request){data:=fmt.Spri
分类:
编程语言 时间:
2020-06-27 09:44:41
阅读次数:
70
请求相关的方法(request--HttpRequest对象) print(request.GET) # 包含所有的HTTP GET 参数的类字典对象 print(request.META) # 请求头信息 return render(request, 'project_home.html') pr ...
分类:
其他好文 时间:
2020-06-27 09:36:43
阅读次数:
50