K1ose's Sec Space

K1ose's Sec Space

Hexo 项目多终端同步
Created2025-06-12|ITtips
Hexo 项目多终端同步解决多个终端同步维护 Hexo 项目的问题。 Public仓库 项目后,安装 deploy 插件: 1npm install hexo-deployer-git --save 这样通过下面的命令就可以实现将静态页面上传至 GitHub 1hexo clean && hexo g -d 源码仓库为了在其他终端上也能够参与编辑文章,必须要有项目原有的配置文件等内容,所以不能直接 clone Public 仓库的内容,Public 仓库仅作 网页展示 用。 因此必须新建一个私有仓库用来存放 Hexo 项目的源码。 首先,设置好源码仓库需要忽略的一些文件, .gitignore 内容如下: 1234node_modules/public/.deploy*/db.json 其次,在 Hexo 根目录下初始化 git 仓库等一系列操作: 12345678git initgit remote set-url origin git@github.com:your-name/your-repo-name.gitgit remote -vgit...
Computing 101
Created2025-06-12|secpwn.college
Computing 101Computers run an incredible managerie of programs that make modern life possible. But how do they work, deep down inside? In this dojo, we will dive into the depths of computation, reach (something close to) its very underpinnings, and strive to understand it all. Your First ProgramSoftware IntrospectionComputer MemoryHello HackersAssembly Crash CourseDebugging RefresherA critical part of working with computing is understanding what goes wrong when something inevitably does....
1
avatar
K1ose
Articles
2
Tags
0
Categories
4
Follow Me
Recent Posts
Hexo 项目多终端同步2025-06-12
Computing 1012025-06-12
Categories
  • IT1
    • tips1
  • sec1
    • pwn.college1
Archives
  • June 2025 2
©2019 - 2025 By K1ose