上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 一、http://www.itboth.com/d/7Vr2qy/c-sd-mmc-transition-linux 二、http://www.itboth.com/d/3mUVVrqiYRre/callback-command-cmd-ios-c 阅读全文
posted @ 2021-02-01 13:54 olivertian 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 1、什么是蓝牙中的profile https://www.jianshu.com/p/f96a871c9ebc http://blog.sina.com.cn/s/blog_533074eb01014mg2.html 阅读全文
posted @ 2021-01-25 15:59 olivertian 阅读(44) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhoutaopower/article/details/98082006 http://www.voidcn.com/article/p-sjodlond-rk.html 阅读全文
posted @ 2021-01-05 20:23 olivertian 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1、https://blog.csdn.net/sunruichen/article/details/8568273 2、https://blog.csdn.net/droidphone/article/details/6271122 (系列文章总共8篇) 3、https://blog.csdn.n 阅读全文
posted @ 2020-12-29 11:53 olivertian 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 前提:增加mcp2515.c驱动,该驱动是spi通讯 1、将mcp2515.c放入linux-4.9\drivers\net\can\spi下,并修改该文件夹下Makefile(增加obj-$(CONFIG_CAN_MCP251X) += mcp251x.o) 2、注意linux-4.9\net\c 阅读全文
posted @ 2020-12-25 19:47 olivertian 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 1、先检查samba配置文件,加入writeable = yes 2、sudo chmod 777 share -R( 这个-R不能省,share表示共享的那个文件夹) 阅读全文
posted @ 2020-12-24 20:40 olivertian 阅读(936) 评论(0) 推荐(0) 编辑
摘要: """ 核心理念就是:类属性对应为便于用户理解的字段名(如name),而数据库中保存的是另一个字段名(如用户字段名name对应数据库实际 保存的字段名为username),当调用save时,要将便于用户理解的字段名转化为实际数据库保存的用户名 """ class ModelMetaclass(typ 阅读全文
posted @ 2020-04-04 11:21 olivertian 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 短连接是客户端每请求一个资源就需要进行tcp的三次握手和四次挥手,长连接是一次握手连接后,只要不断开连接,中间可多次发送数据,客户端和服务器频繁握手和挥手需要占用大量的网络资源,于是客户端和服务器之间的连接由短连接演变为长连接 长连接需要在服务器返回数据的http头部增加一个Content-Leng 阅读全文
posted @ 2020-04-01 14:38 olivertian 阅读(1297) 评论(0) 推荐(0) 编辑
摘要: import socket import time tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_socket.bind(("", 9999)) tcp_socket.listen(128) tcp_socket 阅读全文
posted @ 2020-04-01 00:29 olivertian 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 生成器是一种特殊的迭代器。 用生成器实现斐波那契数列: from collections import Iterator, Iterable def create_nums(num): a, b = 1, 1 cnt = 0 while cnt < num: yield a a, b = b, a 阅读全文
posted @ 2020-03-31 10:45 olivertian 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页