上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: ref: https://www.zhihu.com/question/20801814 docker/docker (容器) Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。容器是完全使用 阅读全文
posted @ 2019-07-19 16:04 GuoXinxin 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1. create a new app https://api.slack.com/apps?new_app=1 2. Add a Bot User You can bundle a bot user with your app to interact with users in a more co 阅读全文
posted @ 2019-07-19 13:51 GuoXinxin 阅读(126) 评论(0) 推荐(0) 编辑
摘要: ref: https://github.com/nlopes/slack/blob/master/examples/websocket/websocket.go Effect: Send the command ads with text, which slack BOT returns. 阅读全文
posted @ 2019-07-19 10:56 GuoXinxin 阅读(216) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-18 18:13 GuoXinxin 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ref: https://blog.walterlv.com/post/slack-api-starter-incoming-webhooks.html 🈶五种不同的应用类型: Incoming Webhooks Post messages from external sources into S 阅读全文
posted @ 2019-07-15 17:36 GuoXinxin 阅读(417) 评论(0) 推荐(0) 编辑
摘要: ref: https://www.smslit.top/2018/12/20/docker_ubuntu_learn/ 容器版本: 登陆 ubuntu 容器的 bash 中,执行命令cat /etc/issue 可以查看系统版本 root@ea66d7a89cfa:/home# cat /etc/i 阅读全文
posted @ 2019-07-10 11:28 GuoXinxin 阅读(2002) 评论(0) 推荐(0) 编辑
摘要: Homebrew 安装: # 安装命令brew cask install docker ==> Satisfying dependencies==> Downloading https://download.docker.com/mac/stable/28905/Docker.dmg######## 阅读全文
posted @ 2019-07-09 11:26 GuoXinxin 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 给定一个数组A[0,1,...,n-1],请构建一个数组B[0,1,...,n-1],其中B中的元素B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]*...*A[n-1]。不能使用除法。 测试样例: 1)功能测试(输入数组包含正数、负数、一个0、多个0) 2)边界值测试( 阅读全文
posted @ 2019-05-10 16:08 GuoXinxin 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 题目: 每年六一儿童节,牛客都会准备一些小礼物去看望孤儿院的小朋友,今年亦是如此。HF作为牛客的资深元老,自然也准备了一些小游戏。其中,有个游戏是这样的:首先,让小朋友们围成一个大圈。然后,他随机指定一个数m,让编号为0的小朋友开始报数。每次喊到m-1的那个小朋友要出列唱首歌,然后可以在礼品箱中任意 阅读全文
posted @ 2019-05-10 15:22 GuoXinxin 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 题目描述: 写一个函数,求两个整数之和,要求在函数体内不得使用+、-、*、/四则运算符号。 测试样例: 输入正数、负数、0 解题思路: 使用位运算 代码: 交换两个值的两种方法: 阅读全文
posted @ 2019-05-10 11:52 GuoXinxin 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页