摘要: 目录 0、官方教程 https://tour.go-zh.org/basics/1 1、安装调试 2、简单介绍 阅读全文
posted @ 2018-07-17 10:02 liubiaos 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 目录 一、Python基础 二、函数 三、常用模块 四、面向对象 五、网络编程socket 六、进程线程 七、数据库 八、前端 九、Python Web框架 十、restful framework 十一、版本控制GIT 十二、算法 十三、爬虫 一、Python基础 python简介 Python2和 阅读全文
posted @ 2018-06-06 16:35 liubiaos 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1、 阅读全文
posted @ 2021-12-07 15:43 liubiaos 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 常用方法: https://www.jianshu.com/p/4e4ff6be6af9 https://www.jianshu.com/p/0e8ec67b6248?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_s 阅读全文
posted @ 2021-03-24 23:08 liubiaos 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://github.com/Terry-Mao/goim/blob/master/README_cn.md https://www.it610.com/article/1280931829267841024.htm 效果图: 搭建go环境: 1、下载golang的环境 wget 阅读全文
posted @ 2021-03-23 10:21 liubiaos 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 1、启用Go module 1.13版本以后: go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct 问题: warning: go env -w GOPROXY=... doe 阅读全文
posted @ 2020-12-07 15:37 liubiaos 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 配置:微星b460m+i5-10400(核显) 1、准备U盘制作成启动盘 2、找EFI对应的文件 3、 阅读全文
posted @ 2020-09-14 19:36 liubiaos 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 1、下载go https://golang.google.cn/dl/ 也可以实用brew brew info go 来下载,或者是进入官网下载:https://golang.org/dl/ 1.1下载brew /bin/zsh -c "$(curl -fsSL https://gitee.com/ 阅读全文
posted @ 2020-08-28 10:47 liubiaos 阅读(1303) 评论(0) 推荐(0) 编辑
摘要: 1、重装系统 关机 按住command+R键, 进入先用磁盘工具,选择系统磁盘,点击抹掉。 返回到macOS实用工具选择重新安装macOS,接下来就是全自动了。(中途需要有个联网操作) 阅读全文
posted @ 2020-08-28 09:59 liubiaos 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、背景 购物软件中提供推荐注册返利机制,A->B,A->C,B->D,B->E。被邀请人只有一对一的上级,上级对下级是一对多,用户可以一直邀请用户。 2、实现方法 2.1、MySQL中常使用的。 单独建立一张表:id(用户id)、pid(上级节点id)、level(当前第几级)、 当数据足够大的时 阅读全文
posted @ 2020-03-26 14:15 liubiaos 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 1、多条表数据累计相加。 respCount := struct { Rebatescore int64 //变量命名必须要和查询的参数一样。}{} o := bson.M{"$match": bson.M{"userid": 123, "time": bson.M{"$gte": start, " 阅读全文
posted @ 2020-03-23 11:10 liubiaos 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 1、发现服务器变的特别卡,正常服务运行很慢。 到服务器上查询一番发现top下发现 bashd的进程占用100%CPU了。 find /-name bashd* //第一次查询文件占用目录kill -9 pid(bashd) //删除bashd进程 2、赶时间处理删除进程 kill -9 PID(ba 阅读全文
posted @ 2019-12-30 16:08 liubiaos 阅读(1324) 评论(0) 推荐(0) 编辑