上一页 1 2 3 4 5 6 7 8 ··· 41 下一页
摘要: 启动Nest 项目出现的问题,里面用到了 node-pre-gyp,但是安装依赖失败 这里先说明下我本地的版本 node : 12.16.0 npm : 6.13.0 出现的问题 仔细看错误提示,发现需要python 环境,这里我们先安装python 环境试下, 这里提供一个下载地址 https:/ 阅读全文
posted @ 2023-03-30 15:14 makalo 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 官方文档 https://www.tslang.cn/docs/handbook/decorators.html 什么是装饰器 装饰器是一种特殊的类型声明,他可以附加在类,方法,属性,参数上面 类似于java 的注解 注意 要使用TS 的装饰器的 tsconfig.json,开启 experimen 阅读全文
posted @ 2023-03-29 17:29 makalo 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 关于ts-node 的介绍 https://www.cnblogs.com/makalochen/p/14510330.html#%E7%AE%80%E5%8C%96%E6%89%A7%E8%A1%8Cts%E7%9A%84%E6%AD%A5%E9%AA%A4 问题 ts-node 是一个可以直接运 阅读全文
posted @ 2023-03-29 16:14 makalo 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 我有个一个小工具,之前一直是win 版本,现在要编译成mac 可以用的,项目: https://gitee.com/makalochen/cnblog-tool 首先我们肯定是看看官网怎么说的 https://www.electron.build/configuration/mac 好吧 ,太多配置 阅读全文
posted @ 2023-02-22 15:14 makalo 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 打开「自动操作.app」,就是小机器人图标那个; command + n 新建文稿,在「选取文稿类型」里选择「快速操作」; 按以下步骤操作: 第五步贴入代码 for f in "$@" do open -a "Visual Studio Code" "$f" done 以上代码片段的大概意思是对于传 阅读全文
posted @ 2023-02-22 15:14 makalo 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 如果为8.0及以上版本;需要注意,该版本密码认证机制已经升级,有些客户端未能兼容,请使用新的认证方式修改Mysql密码 # mysql 5.7 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; #授权 g 阅读全文
posted @ 2023-02-22 15:13 makalo 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 官网: https://etcd.io/docs/v3.5/quickstart/ https://github.com/etcd-io/etcd etcd 是什么 etcd是一种key-value存储, 它侧重于保证集群环境中数据的一致性 redis也是键值对存储, 它侧重于提供高速读写. 当需要 阅读全文
posted @ 2023-02-22 14:49 makalo 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 简介 中文官网:https://gin-gonic.com/zh-cn/docs/introduction/ github:https://github.com/gin-gonic/gin Gin 是一个用 Go (Golang) 编写的 Web 框架。 它具有类似 martini 的 API,性能 阅读全文
posted @ 2023-02-08 17:47 makalo 阅读(891) 评论(0) 推荐(1) 编辑
摘要: 简介 官方文档:https://gorm.io/zh_CN/docs/index.html github :https://github.com/go-gorm/gorm 同其他语言的ORM框架一样,这是Go 版本的 本文全部以mysql为例 sql 脚本 为了方便测试,这里准备一份sql 脚本,来 阅读全文
posted @ 2023-02-08 11:22 makalo 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 转自:https://zhuanlan.zhihu.com/p/258978922 抛砖引玉:什么是 Tag? 正常情况下,你定义的结构体是这样子的,每个字段都由名字和字段类型组成 type Person struct { Name string Age int Addr string } 也有例外 阅读全文
posted @ 2023-02-07 17:50 makalo 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 41 下一页