摘要: 比如当前的collectionViewA(蓝色), 还有一个collectionViewCellA(红色),collectionViewCellA(红色)里面有一个collectionViewB(绿色), collectionViewCellB(绿色)里面有两个collectionViewCellB 阅读全文
posted @ 2019-09-06 12:23 喜狼狼 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: 1.intellij IDEA 安装go插件 2.设置环境变量 配置一个GOPATH环境变量,是工作目录。 根据约定,GOPATH下需要建立3个目录: bin 存储编译后的可执行文件 pkg 存放编译后生成的包文件 src 存放项目的源码 我把GOPATH建立在/Users/xinshaofeng/ 阅读全文
posted @ 2018-08-09 16:19 喜狼狼 阅读(3982) 评论(0) 推荐(0) 编辑
摘要: Go 语言环境安装 1.brew install go 默认安装,被安装了/usr/local/Cellar/go 目录并自设置了环境变量。 2.go env 可查看目前的go的环境变量 3.配置一个GOPATH环境变量,是工作目录。 根据约定,GOPATH下需要建立3个目录: bin 存储编译后的 阅读全文
posted @ 2018-08-09 14:15 喜狼狼 阅读(905) 评论(0) 推荐(0) 编辑
摘要: https://linkmaker.itunes.apple.com/zh-chs 阅读全文
posted @ 2018-06-27 12:24 喜狼狼 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1 通过 ssh 连接到阿里云 CentOS7 服务器; 2 进入到目录 /usr/local/ 中:cd /usr/local/ 3 创建目录 /usr/local/tools,如果有则忽略: mkdir -p tools 4 创建 /usr/local/mysql 目录,如果已存在则忽略:mkd 阅读全文
posted @ 2017-09-08 14:46 喜狼狼 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1.打开终端(Terminal),进入项目目录下 Last login: Sun Aug 13 13:38:10 on ttys001 xilanglangdeMacBook-Pro:~ xinshaofeng$ cd /Users/xinshaofeng/Work/Found xilanglang 阅读全文
posted @ 2017-08-13 13:57 喜狼狼 阅读(888) 评论(0) 推荐(0) 编辑
摘要: -(SelfHelpReportChatRoomTableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ static NSString *indentifie 阅读全文
posted @ 2017-06-01 10:57 喜狼狼 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: xilanglangdeMacBook-Pro:pcre xinshaofeng$ brew link pcre Linking /usr/local/Cellar/pcre/8.40... Error: Could not symlink bin/pcre-config Target /usr/l 阅读全文
posted @ 2017-04-28 18:20 喜狼狼 阅读(331) 评论(0) 推荐(0) 编辑
摘要: --相关信息修改上传头像local upload = require "resty.upload"local cjson = require "cjson.safe"local new_mysql = require("new_mysql")local uuid = require "jit-uui 阅读全文
posted @ 2017-04-12 10:23 喜狼狼 阅读(1659) 评论(0) 推荐(0) 编辑
摘要: local EARTH_RADIUS = 6378.137local function rad(d) return d * math.pi / 180.0end local function getDistance(lat1,lng1,lat2,lng2) local radLat1 = rad(l 阅读全文
posted @ 2017-04-12 10:17 喜狼狼 阅读(2230) 评论(0) 推荐(0) 编辑