mysql数据库查看工具
工具 Sequel Pro 这个仅支持Mac端,不过查询效率比navicat-premium要快,据说有特别优化加速。 navicat-premium 这个显示的sql执行时间更为接近真实场景。 下载地址:https://macwk.com/soft/navicat-premium
mongoDB数据库查看工具
环境支持MAC,不确定是否支持Win 工具 MongoDB Compass 下载地址:https://www.mongodb.com/try/download/compass Robo 3T (这个下载安装挺简单的)
hexo使用markdown图片无法显示问题
hexo默认无法自动处理文章插入本地图片,需要通过扩展插件支持。 如何处理图片路径问题 配置_config.yml里面的post_asset_folder:false这个选项设置为true。 安装hexo-asset-image,运行hexo n “xxxx”来生成md博文时,/source/_posts文件夹内除了xxxx.md文件还有一个同名的文件夹,把图片放入该文件夹。 1npm install hexo-asset-image --save 使用直接插入图片即可。 关于插件问题 由于hexo3版本后对很多插件支持有问题,hexo-asset-image插件在处理data.permalink链接时出现路径错误,把年月去掉了,导致最后生成的路径为%d/xxx/xxx需要对其做兼容处理。通过判断当前版本是否等于3的版本做不同的路径分割。 在代码中加入: 1var version = String(hexo.version).split('.'...
go的一些认知使用
本篇观点不一定正确,目前仅供个人使用 数组和切片区别 数组是固定的,但切片有扩展性append 切片和map 其实map可以当做一个类型,可以存储字符串 map嵌套 12345678a := map[string]map[string]string{}b,ok := a["name"]if !ok { b := make(map[string]string) a["name"] = b b["xiaoming"] = "go" b["xiaodong"] = "why"} struct 继承和重组 结构体,对象。可以通过指针关联方法 1https://blog.csdn.net/z226688/article/details/108963110
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

