上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: 套接字级编程 Agenda 网络编程的基础方法,将涉及到主机和服务寻址,也会考虑到TCP和UDP 如何使用GO的TCP和UDP相关的API来构建服务器和客户端。 介绍了原生套接字来实现自己的协议 TCP/IP协议栈 TCP是一个面向连接的协议,UDP(User Datagram Protocol,用 阅读全文
posted @ 2021-08-30 08:22 xiongsheng 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 报错提示内容: error: Your local changes to the following files would be overwritten by merge” 方法一、stash 1 git stash 2 git commit 3 git stash pop git stash: 阅读全文
posted @ 2021-08-21 16:47 xiongsheng 阅读(436) 评论(0) 推荐(1) 编辑
摘要: 1. 通过MobaXterm进行远程登录 在window10系统下通过MobaXterm进行远程登录,具体可以参考 Ubuntu开启SSH服务远程登录 https://blog.csdn.net/weixin_45523107/article/details/119150921?spm=1001.2 阅读全文
posted @ 2021-07-27 20:04 xiongsheng 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Ubuntu下开启ssh服务并能通过MobaXterm或者 Xshell进行远程登录 本人使用的是window10系统安装的MobaXterm window10系统安装MobaXterm可以参考 https://blog.csdn.net/weixin_45523107/article/detail 阅读全文
posted @ 2021-07-27 19:03 xiongsheng 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 下载 1.官网链接 https://mobaxterm.mobatek.net/download.html 2.选择Free版本下载 3.有两种版本可供选择,我选择了Installer edition 安装 1.解压双击文件下一步安装 2.安装完成,单击Finish 3.设置SSH连接 单击Sess 阅读全文
posted @ 2021-07-27 19:00 xiongsheng 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 安装完Ubuntu之后,除了需要新建用户、设置密码之外,我们还要设置root密码,虽然Ubuntu默认有root超级管理员账户,但是具体的密码我们可以自行设置 方法/步骤 1.启动Ubuntu 启动Ubuntu,有图形界面的,启动终端即可 2.终端输入sudo passwd root sudo pa 阅读全文
posted @ 2021-07-27 16:56 xiongsheng 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 下载MySQL 官网搜索mysql https://www.baidu.com/baidu?tn=monline_7_dg&ie=utf-8&wd=mysql 选择 downloads,然后在选择 MySQL Community (GPL) Downloads » https://www.mysql 阅读全文
posted @ 2021-07-16 10:54 xiongsheng 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Django数据库的迁移命令 当模型类写好之后我们通常要进行数据库的迁移才能在数据库中创建表 生成迁移文件 python manage.py makemigrations 同步到数据库中 python manage.py migrate 例如 (pythonvenv) C:\Users\Harry\ 阅读全文
posted @ 2021-06-29 19:12 xiongsheng 阅读(777) 评论(0) 推荐(0) 编辑
摘要: 获取端口信息 from serial.tools import list_ports port_list = list(list_ports.comports()) num = len(port_list) ports = [] if num <= 0: print("找不到任何串口设备") els 阅读全文
posted @ 2021-06-29 16:40 xiongsheng 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: Go语言中 Print,Println 和 Printf 的区别 写代码 package main import "fmt" func main() { fmt.Println("hello word") fmt.Print("hello word") fmt.Printf("hello word" 阅读全文
posted @ 2021-06-10 16:59 xiongsheng 阅读(250) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页