1、引入bootstrap和validate <script src="{% static 'js/jquery.min.js' %}"></script> <link href="{% static 'css/bootstrap.css' %}" rel="stylesheet"> {# 前端校验 ...
分类:
其他好文 时间:
2021-06-04 18:44:54
阅读次数:
0
1、index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline ...
分类:
Web程序 时间:
2021-06-03 18:18:45
阅读次数:
0
一:进入网建短信通 http://sms.webchinese.cn/reg.shtml 注册用户,登录用户,找到修改短信秘钥,修改签名 二:使用idea创建一个maven项目导入以下依赖: <dependency> <groupId>org.ops4j.pax.url</groupId> <art ...
分类:
移动开发 时间:
2021-06-03 18:10:10
阅读次数:
0
使用模块 ngx_http_gzip_module 用gzip方法压缩响应数据,节约带宽 一、启用或禁用gzip压缩 gzip on | off; 二、压缩比由低到高:1 到 9, 默认:1 gzip_comp_level level; 压缩比越高,越消耗CPU 三、匹配到客户端浏览器不执行压缩 g ...
分类:
其他好文 时间:
2021-06-03 18:08:25
阅读次数:
0
<template> <div> </div> </template> <script> var self = this; export default { }; </script> // scoped 样式只在本组件使用 <style scoped> /** * 导入css样式组件 * @impo ...
分类:
其他好文 时间:
2021-06-02 20:55:34
阅读次数:
0
本文并不详细介绍Intel syntax、AT&T syntax、GAS、NASM的具体内容和具体区别,而是从概念辨析的角度说明这些专有名词的含义,以便为初学者扫清疑惑。 ...
分类:
其他好文 时间:
2021-06-02 20:34:02
阅读次数:
0
#ping whole local domainfor ip in {1..255};do ping -c 3 192.168.110.$ip >> ping.log;done grep '3 ttl' ping.log |awk '{print $4}' | sed 's\:\\g' |while ...
分类:
系统相关 时间:
2021-06-02 20:19:59
阅读次数:
0
[开机启动]解决insserv: warning: script '服务名' missing LSB tags and overrides 按照LSB tags规范改写脚本如下 其实解决办法就是在#!/bin/bash下面添加: #!/bin/bash ### BEGIN INIT INFO # P ...
分类:
系统相关 时间:
2021-06-02 19:34:37
阅读次数:
0
我们在使用JMeter的过程中,有时候会要到乱码的问题。一是新增的时候出现乱码,还有就是接口的响应出现乱码。 一、新增的时候出现乱码 方法一:添加HTTP请求时在Content encoding后填入编码:utf-8 看一下结果:没有乱码了 方法二:在请求中加一个BeanShell前置处理器,在sc ...
分类:
其他好文 时间:
2021-06-02 17:39:51
阅读次数:
0
1.alert输出 弹出警示框 使用方法 <script>window.alert("弹出警示框");</script> 2.document.write() 直接输出在页面当中 <script>document.write("hello world")</script> 3.innerHTML 写 ...
分类:
编程语言 时间:
2021-06-02 15:44:44
阅读次数:
0