01 2017 档案

摘要:1、观察者模式 "Python Observer Pattern" 因为Python版本是3.3,所以用print()和 input(),替换 print和raw_input。 阅读全文
posted @ 2017-01-23 16:17 xiulug 阅读(158) 评论(0) 推荐(0) 编辑
摘要:xmpp, "mqtt" Web socket 透傳消息 阅读全文
posted @ 2017-01-23 13:54 xiulug 阅读(164) 评论(0) 推荐(0) 编辑
摘要:"Apple Push Notification Service" "Google Cloud Message/Google 云 消息" "Firebase Cloud Messaging" 阅读全文
posted @ 2017-01-22 13:34 xiulug 阅读(148) 评论(0) 推荐(0) 编辑
摘要:1、添加文件或文件夹 2、删除文件或文件夹 ①If you want to delete an item from the repository, but keep it locally as an unversioned file/folder。You have to hold the key w 阅读全文
posted @ 2017-01-20 15:39 xiulug 阅读(234) 评论(0) 推荐(0) 编辑
摘要:对于有多个核心的CPU,查看CPU 频率的方法是: 上面的这个是查看核心0的cpu的最大频率。 阅读全文
posted @ 2017-01-20 14:38 xiulug 阅读(2206) 评论(0) 推荐(0) 编辑
摘要:1、在/etc/profile或者/root/.profile(/home/username/.profile) 在其中加入: 阅读全文
posted @ 2017-01-18 13:12 xiulug 阅读(2755) 评论(0) 推荐(0) 编辑
摘要:1、下载xlwt的Python库 (This is a library for developers to use to generate spreadsheet files compatible with Microsoft Excel versions 95 to 2003.) 下载页面: "x 阅读全文
posted @ 2017-01-10 16:40 xiulug 阅读(921) 评论(0) 推荐(0) 编辑
摘要:Linux进程管理 1、Fork() 阅读全文
posted @ 2017-01-04 09:33 xiulug 阅读(164) 评论(0) 推荐(0) 编辑
摘要:在向门控器发送信号的时候,播放声音和通过GPIO向wiegand发送信号的时候,由于wiegand的资源优先级别不够和声音的播放可能发生了冲突,有时向GPIO发送信号的时候,发送失败。 static void wiegand_send_byte(int fd, unsigned char data, 阅读全文
posted @ 2017-01-03 17:04 xiulug 阅读(194) 评论(0) 推荐(0) 编辑

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