07 2019 档案

linux上JDK环境配置
摘要:1 export JAVA_HOME=/opt/jdk1.6.0_45 2 export JRE_HOME=$JAVA_HOME/jre 3 export CLASSPATH=$JAVA_HOME/lib/ 4 export PATH=$PATH:$JAVA_HOME/bin 阅读全文

posted @ 2019-07-31 19:33 Alvin2012 阅读(90) 评论(0) 推荐(0) 编辑

linux显示bootup logo
摘要:1 #!/bin/sh 2 3 # ubuntu下安装图片转换工具 4 # sudo apt-get install netpbm 5 6 7 # 转换png为pnm格式 8 pngtopnm start_logo.png > start_logo.pnm 9 # 转换为224像素 10 pnmquant 224 start_logo.pnm > start_logo22... 阅读全文

posted @ 2019-07-30 10:02 Alvin2012 阅读(255) 评论(0) 推荐(0) 编辑

notepad++显示所有字符
摘要:菜单栏-> View-> Show Symbol-> Show All Characters 阅读全文

posted @ 2019-07-27 10:26 Alvin2012 阅读(262) 评论(0) 推荐(0) 编辑

notepad++转换win、linux、mac的回车换行符转换
摘要:菜单栏-> Edit-> EOL Conversion-> Windows(CR LF)、Unix(LF)、Macintosh(CR) 阅读全文

posted @ 2019-07-27 10:25 Alvin2012 阅读(783) 评论(0) 推荐(0) 编辑

I2C调试
摘要:I2C调试: 包括SCL时钟线,SDA数据线。 I2C调试工具:i2c-tools ubuntu上安装使用命令 :sudo apt-get install i2c-tools 交叉编译的话需要先下载源码,下载地址如下。然后修改Makefile: 下载地址: https://mirrors.edge. 阅读全文

posted @ 2019-07-20 11:35 Alvin2012 阅读(415) 评论(0) 推荐(0) 编辑

linux读取cpu温度
摘要:可以通过读取如下路径中的数据来获取cpu的温度信息,不过读取的数据没有经过处理。 cpu0: cat /sys/class/thermal/thermal_zone0/temp cpu1: cat /sys/class/thermal/thermal_zone1/temp 阅读全文

posted @ 2019-07-19 11:16 Alvin2012 阅读(649) 评论(0) 推荐(0) 编辑

ADC滤波处理的十种方法
摘要:1 //1.限幅滤波法(又称程序判断滤波法) 2 /* 3 * description: 根据经验判断,确定两次采样允许的最大偏差值(设为A), 4 * 每次检测到新值时判断:新值和旧值差值如果超过A, 5 * 则用旧值,否则用新值 6 * advantage: 能够克服因偶然因素引起的脉冲干扰 7 * d... 阅读全文

posted @ 2019-07-18 09:41 Alvin2012 阅读(6796) 评论(1) 推荐(0) 编辑

ubuntu卸载软件
摘要:命令: sudo apt-get --purge remove xxxx 不清楚的情况下不要使用,否则会导致严重后果,谨记! 阅读全文

posted @ 2019-07-12 13:45 Alvin2012 阅读(110) 评论(0) 推荐(0) 编辑

Cannot fetch index base URL http://pypi.python.org/simple/
摘要:解决方法: 在~/.pip/pip.conf中添加如下内容,没有该文件时创建即可 阅读全文

posted @ 2019-07-12 11:00 Alvin2012 阅读(207) 评论(0) 推荐(0) 编辑

pip命令详解
摘要:首先输入pip -h查看pip命令 安装库:pip innstall xxxx 下载库:pip download xxxx 卸载库:pip uninstall xxxx 按照特定格式输出已安装的库:pip freeze 输出已安装的库:pip list 显示某个已安装库的信息:pip show xx 阅读全文

posted @ 2019-07-06 16:01 Alvin2012 阅读(951) 评论(0) 推荐(0) 编辑

QT入门
摘要:QT入门: 1.安装qt creator 2.下载并编译qt 推荐中科大的qt下载地址 :http://mirrors.ustc.edu.cn/qtproject/ 5.0之后1和2是在一起的,统一安装 第一个QT demo: 阅读全文

posted @ 2019-07-06 13:26 Alvin2012 阅读(128) 评论(0) 推荐(0) 编辑

tensorflow学习-第一章
摘要:tensorflow项目的github地址: https://github.com/teafternoon/tensorflow-using tensorflow学习 安装tensorflow: 作者使用的是python3,安装命令pip3 install tensorflow,这个时cpu版本的, 阅读全文

posted @ 2019-07-06 11:54 Alvin2012 阅读(117) 评论(0) 推荐(0) 编辑

opencv学习-第一章
摘要:opencv学习-第一章: github地址:https://github.com/teafternoon/opencv-using 持续更新中 To Be Continue...... 阅读全文

posted @ 2019-07-06 09:39 Alvin2012 阅读(74) 评论(0) 推荐(0) 编辑

二叉树详解
摘要:二叉树详解: 采用递归的方式进行遍历,这样做的好处时代码十分简洁。 递归思想: (1)每一次函数调用都会有一次返回。当程序流执行到某一级的结尾处时,它会转移到前一级递归继续执行。(2)递归函数中,位于递归调用前的语句和各级被调函数具有相同的顺序。(3)递归函数中,位于递归调用语句后的语句的执行顺序和 阅读全文

posted @ 2019-07-05 11:43 Alvin2012 阅读(204) 评论(0) 推荐(0) 编辑

C/C++内存地址划分
摘要:地址由高到低: 1.栈区:局部变量 2.堆区:动态申请的变量 3.BSS区:未初始化过的全局变量、静态变量,默认初始化为0 4.全局区(静态区):初始化过的全局变量、静态变量和常量 5.代码区:存放CPU机器指令,为只读 阅读全文

posted @ 2019-07-02 09:21 Alvin2012 阅读(183) 评论(0) 推荐(0) 编辑

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