2016年10月24日
摘要: SMBIOS architecture System Management BIOS (SMBIOS) is the premier standard for delivering management information via system firmware. Since its relea 阅读全文
posted @ 2016-10-24 10:42 chen-jiao 阅读(958) 评论(0) 推荐(0) 编辑
  2016年9月23日
摘要: Windows 中通过Windows API 进行串口通信主要有以下步骤: 打开串口 关键API: CreateFile Windows 中进行设备的操作,第一步都是需要通过CreateFile 函数进行打开设备。 具体函数说明可以参考MSDN。 此处针对串口设备,稍微解释一下各个参数: lpFil 阅读全文
posted @ 2016-09-23 14:41 chen-jiao 阅读(5357) 评论(0) 推荐(1) 编辑
  2016年9月20日
摘要: 安装NFS Server: 1. 执行命令 "$ sudo apt-get install nfs-kernel-server",安装nfs server 端 2. 创建需要用来分享的文件夹,如 "$ mkdir /home/jiao/nfs" 3. 配置nfs,需要编辑"/etc/exports" 阅读全文
posted @ 2016-09-20 22:43 chen-jiao 阅读(743) 评论(0) 推荐(0) 编辑
  2016年9月14日
摘要: 不愿意装双系统的,可以借助虚拟机(Vmware, Virtual PC等) 安装linux 进行使用。 至于如何使用虚拟机安装Linux 这部分,很简单: 下面主要讲一下SSHD 服务 和 SecureCRT 的配置。 在SSH(Secure Shell) 配置中,虚拟机中的Linux 作为一个服务 阅读全文
posted @ 2016-09-14 16:39 chen-jiao 阅读(523) 评论(0) 推荐(0) 编辑
  2016年8月22日
摘要: 本文基于Python 3,下载麦子学院的视频课程。 本项目只是针对某个具体课程的链接,去寻找该课程所有课时的视频链接并进行下载。 整个项目是非常简单的。 主要涉及的Python: 分析流程: 后续加强: 具体souce code: source code 存放在了github 中: https:// 阅读全文
posted @ 2016-08-22 16:23 chen-jiao 阅读(399) 评论(0) 推荐(0) 编辑
  2016年7月15日
摘要: Week 1 的内容主要有: 主要是了解一下机器学习的基本概念,重点是学习线性回归模型,以及对应的成本函数和梯度下降算法。 以上两幅图基本上就是week 1 的重点了。 下文是我做的比较粗糙的一个关于week 1 的总结。其中线性代数部分就省略掉了,大学里基本都有学过矩阵相关的操作。 阅读全文
posted @ 2016-07-15 16:08 chen-jiao 阅读(276) 评论(0) 推荐(0) 编辑
  2016年6月13日
摘要: DbgView 是一个免费的用于抓取log 的工具,可以捕获并输出OutputDebugString()函数的输出,以及输出windows driver 中dbgprint 的log,对于windows driver 开发和调试是十分有帮助的。 但是该tool 已经很久不再更新了,最新的版本是V4. 阅读全文
posted @ 2016-06-13 17:44 chen-jiao 阅读(2717) 评论(0) 推荐(2) 编辑
摘要: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh 阅读全文
posted @ 2016-06-13 17:40 chen-jiao 阅读(189) 评论(0) 推荐(0) 编辑
  2016年5月30日
摘要: 在许多笔试面试中都会涉及到sizeof 运算符的求值问题。 这类问题主要分四类: 下文主要讲述class 的内存布局,稍带介绍一下struct 的size。 struct 的内存布局: struct 的内存对齐和填充概念学过C 的都应该知道一点。其实只要记住一个概念和三个原则就可以了: 一个概念: 阅读全文
posted @ 2016-05-30 17:30 chen-jiao 阅读(3246) 评论(0) 推荐(1) 编辑
  2016年4月20日
摘要: Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: click to show hints. » Solve this pr 阅读全文
posted @ 2016-04-20 16:00 chen-jiao 阅读(172) 评论(0) 推荐(0) 编辑