Hello World
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 StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
windows on linux
如何在linux上运行windows虚拟机之前一直使用vmware, 就是安装vmware有点繁琐,使用体验感还不错。 最近从朋友那了解到一个更加轻便简单的方式起windows,特分享一下:前提:能正常使用的docker步骤: 拉取镜像1docker pull dockurr/windows 新建一个文件夹wins(自定义),新建配置文件docker-compose.yaml12mkdir winstouch docker-compose.yaml 编写docker-compose.yaml1vim docker-compose.yaml 123456789101112131415161718192021services: windows: image: dockurr/windows container_name: windows environment: VERSION: "11" # windows版本 RAM_SIZE: "8G" # 分配内存 CPU_CORES:...
go中怎么向数据库存入切片
123456789type DataIndicators struct { ProjectID int ProjectPage string PvTrackingPoint []*string PvOther []*int UvTrackingPoint []*string UvOther []*int // 其他字段...} 123456789type DataIndicators struct { ProjectID int ProjectPage string PvTrackingPoint []string // 普通切片 PvOther []int // 普通切片 UvTrackingPoint []string // 普通切片 ...
go语言main包中的一个小tips
Go 应用中 package main 的规则 packagegolang 的所有文件都需要指定其所在的包(package),包有两种类型,一种是 main 包,使用 package main 在代码的最前面声明。另外一种就是 非 main 包,使用 package + 包名 。main 包可以有唯一的一个 main 函数,这个函数也是程序的入口。也只有 main 包可以编译成可执行的文件。 规则1.import 导入的是相对路径,非 package 名! 习惯上将 package 名和目录名保持一致,如实例中 package A 尽量在./A 文件夹下 代码中引用包方法 / 对象 / 变量时,如调用 package A 中的 a 函数,使用 A.a 而非目录名 同一目录下,所有源文件必须使用相同的包名,一个文件夹下只能有一个 package;如果多个文件夹下有同名 package,其实只是彼此无关的 package,如果需要同时使用不同目录下的同名 package,import 时需要为每个目录指定 package 别名: 同一 package...
功能介绍
前情提示:打不开网站或网站卡顿可尝试魔法 介绍一下目前已实现的功能,方便大家使用 文章 时钟 左下角音乐 时间轴 留言板 追番 可爱小人 搜索 下载为应用程序 联系方式qq:2159965839(用的多)
blog感想
为什么突发奇想部署自己的博客 装* 写点想写的日常东西 记录平时的一些学习笔记 希望与大佬交流 部署过程大概花了两天时间,跟着b站安知鱼大佬做的,不算踩太多坑,不过中间还是有一些意外的bug需要自己去找了改正,也是一个学习的过程。 学到了什么 hexo butterfly twikoo vercel mongodb 域名购买及使用 一些css/js知识 接下来的安排明天期末考试了呜呜呜,让我先复习一下吧。预计寒假会继续完善该网站的功能以及对图床的增加。
Tips
该博客正在开发中,功能尚不完善,敬请谅解qwq~
我是如何部署好自己的博客
一个点,找大佬直接上连接info bilibili: https://www.bilibili.com/video/BV13v4y1c75G 博客:https://blog.anheyu.com/posts/sdxhu.html https://blog.anheyu.com/posts/d50a.html 主题官网:https://butterfly.js.org/posts/21cfbf15/ live2d模型获取:https://easyhexo.com/3-Plugins-use-and-config/3-3-hexo-helper-live2d/#%E6%9B%B4%E5%A4%9A%E6%A8%A1%E5%9E%8B