10 2020 档案

摘要:leetcode 1. 两数之和 (Golang) func twoSum(nums []int, target int) []int { flag := make([]int, len(nums)) ans := make([]int, 0) for i, v := range nums { fo 阅读全文
posted @ 2020-10-18 23:02 GetcharZp 阅读(159) 评论(0) 推荐(0) 编辑
摘要:通过 fmt.Scanln() 来获取同一行的数据,使用空格来分别不同的数据 参考案例: package main import ( "fmt" ) func main() { var a, b int fmt.Scanln(&a, &b) fmt.Print(a, b, a + b) } 阅读全文
posted @ 2020-10-18 15:18 GetcharZp 阅读(276) 评论(0) 推荐(0) 编辑
摘要:查看swoole的版本 其实PHP拓展的查看都可以使用这个方法 php --ri swoole 阅读全文
posted @ 2020-10-16 13:16 GetcharZp 阅读(161) 评论(0) 推荐(0) 编辑
摘要:修改 Ubuntu20.04 下载源为国内阿里下载源 第一步、编辑 source.list,将里面的 http://archive.ubuntu.com/ubuntu/ 修改为 http://mirrors.aliyun.com/ubuntu/ sudo vim /etc/apt/source.li 阅读全文
posted @ 2020-10-16 11:45 GetcharZp 阅读(638) 评论(0) 推荐(0) 编辑
摘要:第一步、在启动获关闭Windows功能中找到“Web管理工具”,并把“Web管理工具”里面的所有项都勾选上; 第二步、打开“计算机管理”中的internet information service,把它对应的Web服务启动 第三步、通过浏览器访问 localhost ,如果阔以进去那么IIS服务就启 阅读全文
posted @ 2020-10-13 16:57 GetcharZp 阅读(303) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示