搭建自己的GitHub-page
搭建自己的github-Page生成SSH Key1ssh-keygen -t rsa -C "github绑定邮箱" 验证1ssh -T git@github.com 新建自己的仓库 下载git下载链接:https://git-scm.com/downloads/win 参考链接:https://blog.csdn.net/qq_39809160/article/details/145712755 搭建本地博客创建博客目录 安装hexo1npm install -g hexo/cli 12#创建一个新的hexo项目hexo init myblogs 此时的目录结构 12cd myblogsnpm install 此时项目结构 运行hexo项目 1hexo server 部署到github获取个人token 打开_config.yml 编辑_config.yml 当前博客目录安装git插件1npm install hexo-deployer-git --save 最后123456hexo...
Vue学习笔记
前期准备下载node.js,安装VueCLI 12npm install -g @vue/cli #-g 全局安装vue --version 创建项目 1vue create 项目名 #项目名中不能有大写字母,可以有小写字母和- 项目结构 在src下编写代码,其他是配置文件 src/assets:存放静态文件(公共CSS文件,图片) src/components:公共组件 App.vue:根组件 main.js:主入口文件 模板语法 123456789101112131415<template> <div class="hello"> <h3>学习模板语法</h3> </div></template><script>export default { name: 'HelloWorld', props: { msg: String ...
php反序列化漏洞
反序列化漏洞成因:反序列化unserialize()中接收的字符串可控,通过更改字符串得到想要的对象 php面向对象基础知识php中类和对象的写法1234567891011121314151617181920212223242526272829303132class Test{ var $name;//不推荐用var修饰,可以用public,private,protected修饰(与java一致) var $id; function __construct($name = null,$id = null){//构造函数 $this->name = $name; $this->id = $id; }}class Test{ var $name; var $id; function __construct($name = null,$id = null){ $this->name = $name; $this->id = $id; }}$a = new...




