![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web
文章平均质量分 88
酸碱ph
Hello world!
Bye,world.
展开
-
从零开始的vue项目打包部署到服务器运行
记一次生产环境打包部署环境:CentOS7注:建议没事就source /etc/profile刷新偷懒法直接yum安装node环境,并安装cnpm注意安装node是nodejs不是node!!!!yum install nodejsnpm install -g cnpm --registry=https://registry.npm.taobao.org 此时node的版本是6.17.1,npm是3.10.10。版本可能有点低,使用工具n,升级node到稳定版cnpm insta原创 2020-08-28 23:53:19 · 2853 阅读 · 2 评论 -
Web通用笔记整理
Web通用更新ing1. XSS原理攻防1.1 概述Cross Site Scripting:跨站脚本为什么不用CSS,名字已经被用了。X代表扩展含义。XSS即跨站脚本攻击,最普遍的Web应用安全漏洞。使得攻击者嵌入恶意脚本代码到正常用户会访问到的页面中。当正常用户访问页面时,可导致嵌入的恶意脚本代码执行,从而达到恶意攻击用户的目的。比如获取cookie,sessionID等。原理:就是当动态页面插入的内容中含有特殊字符比如<>这样的,浏览器会误认为插入了html标签,当这些标签原创 2020-08-18 17:00:37 · 410 阅读 · 0 评论 -
JS部分笔记整理
JavaScript笔记1. JS变量1.1 数据类型及其判定number、string、boolean、null、undefinedobject、function注意:null、数组、对象无法用typeof检查。他们返回的均是"object"。注意,使用 == 判定null和undefined,是true,用===判定才是false。判定nullvar tmp = nullif(!tmp && typeof(tmp) != "undefined" &&原创 2020-08-18 16:54:37 · 135 阅读 · 0 评论 -
CSS居中问题整理
CSS居中问题整理给出基本布置代码及效果图HTML:<body><div id="gfather"> <div id="father"> <div class="child"> <span>test 文本</span> </div> </div> <...原创 2020-04-29 18:42:49 · 156 阅读 · 0 评论 -
CSS元素宽高与定位之百分比数值的使用
CSS样式表的宽高与定位1.父是块级元素div,子也是块级元素div1.1当父元素的宽高均为固定px,此时子元素宽高百分比相对于其父div <div id="father"> <div class="child"> </div> </div>考虑以上结构<style>body { margin: 0...原创 2020-04-29 17:31:25 · 1173 阅读 · 2 评论 -
JavaScript递归实现深拷贝
function Animal(name,age,color){ this.name = name; this.age = age; this.color = color; } Animal.prototype.walking = function(){ console.log("it is...原创 2020-04-28 17:36:48 · 212 阅读 · 0 评论 -
Windows远程桌面工具远程连接
I bought the Aliyun Server (windows server with GUI). While operating it in browsers is incredibly inconvenient. Then I have learned that windows has its own tools for remote connection.1. Open the w...原创 2019-10-12 09:26:46 · 759 阅读 · 0 评论 -
命令行通过密钥远程登录服务器
After forgetting if million times, I determine to write it down.ps:I assume that you have completed the work of configuring ssh-environmentAll I care about is ‘cmd’ & ‘identity_file’.Instructi...原创 2019-10-11 00:37:47 · 690 阅读 · 0 评论