Personal essay

个人记录


  • 首页

  • 标签

  • 分类

  • 归档

  • 站点地图

  • 公益404

  • 搜索

Http和Https网络协议

发表于 2021-03-16 | 分类于 计算机网络

HTTP和HTTPS发展历史

什么是HTTP?

超文本传输协议(英语:HyperText Transfer Protocol,缩写:HTTP),是一个基于请求与响应,无状态的,应用层的协议,常基于TCP/IP协议传输数据,互联网上应用最为广泛的一种网络协议,所有的WWW文件都必须遵守这个标准。设计HTTP的初衷是为了提供一种发布和接收HTML页面的方法。

阅读全文 »

网络IO

发表于 2021-03-15 | 分类于 C++ 网络编程

Linux网络编程

最基本的 Socket 模型

阅读全文 »

ssm + springboot 跨域问题记录

发表于 2020-12-04 | 分类于 java web

springboot 服务端解决跨域问题

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("*")
.allowedHeaders("*")
.allowCredentials(true);
}
}

ssm + tomcat 解决跨域问题

阅读全文 »

Hello World

发表于 2020-12-04

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

常用的hexo命令

1
2
3
4
5
6
7
hexo new "postName" #新建文章
hexo new page "pageName" #新建页面
hexo generate #生成静态页面至public目录
hexo server #开启预览访问端口(默认端口4000,'ctrl + c'关闭server)
hexo deploy #部署到GitHub
hexo help # 查看帮助
hexo version #查看Hexo的版本

缩写

1
2
3
4
hexo n == hexo new
hexo g == hexo generate
hexo s == hexo server
hexo d == hexo deploy

组合命令

1
2
hexo s -g #生成并本地预览
hexo d -g #生成并上传

参考博客

hexo在GitHub上搭建个人博客(详细教程)

hexo个人博客:换了电脑怎么办

4 日志
3 分类
3 标签
RSS
© 2021 20152021
由 Hexo 强力驱动
|
主题 — NexT.Muse v5.1.4
本站总访问量 次 | 有人看过我的博客啦
0%