会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
olivertian
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
14
下一页
2021年2月1日
MMC/SD卡介绍
摘要: 一、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
阅读(256)
评论(0)
推荐(0)
2021年1月25日
蓝牙博文记录
摘要: 1、什么是蓝牙中的profile https://www.jianshu.com/p/f96a871c9ebc http://blog.sina.com.cn/s/blog_533074eb01014mg2.html
阅读全文
posted @ 2021-01-25 15:59 olivertian
阅读(54)
评论(0)
推荐(0)
2021年1月5日
Linux gpio驱动框架好文
摘要: https://blog.csdn.net/zhoutaopower/article/details/98082006 http://www.voidcn.com/article/p-sjodlond-rk.html
阅读全文
posted @ 2021-01-05 20:23 olivertian
阅读(182)
评论(0)
推荐(0)
2020年12月29日
音频驱动好博文记录
摘要: 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
阅读(43)
评论(0)
推荐(0)
2020年12月25日
can模块的Kconfig配置
摘要: 前提:增加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
阅读(336)
评论(0)
推荐(0)
2020年12月24日
window无法向samba共享文件夹中复制文件
摘要: 1、先检查samba配置文件,加入writeable = yes 2、sudo chmod 777 share -R( 这个-R不能省,share表示共享的那个文件夹)
阅读全文
posted @ 2020-12-24 20:40 olivertian
阅读(1185)
评论(0)
推荐(0)
2020年4月4日
模拟django orm实现遇到的坑
摘要: """ 核心理念就是:类属性对应为便于用户理解的字段名(如name),而数据库中保存的是另一个字段名(如用户字段名name对应数据库实际 保存的字段名为username),当调用save时,要将便于用户理解的字段名转化为实际数据库保存的用户名 """ class ModelMetaclass(typ
阅读全文
posted @ 2020-04-04 11:21 olivertian
阅读(216)
评论(0)
推荐(0)
2020年4月1日
http服务器长连接
摘要: 短连接是客户端每请求一个资源就需要进行tcp的三次握手和四次挥手,长连接是一次握手连接后,只要不断开连接,中间可多次发送数据,客户端和服务器频繁握手和挥手需要占用大量的网络资源,于是客户端和服务器之间的连接由短连接演变为长连接 长连接需要在服务器返回数据的http头部增加一个Content-Leng
阅读全文
posted @ 2020-04-01 14:38 olivertian
阅读(1326)
评论(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
阅读(352)
评论(0)
推荐(0)
2020年3月31日
生成器1
摘要: 生成器是一种特殊的迭代器。 用生成器实现斐波那契数列: 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
阅读(126)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
14
下一页
公告