摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190507104851 引入Pom依赖 依赖于apchae email包,maven项目可直接加入以下依赖,普通项目将jar添加进build path即可 org.apache.commons commons-email 1.2 代码public class EmailKit { public static... 阅读全文
posted @ 2019-05-09 21:24 夜漫 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190501213608 因为NanUI文档中仅介绍了Formium窗口的监听,但是没有WinFormium相关的文档,查看源码后才找到监听方法,特此记录一下public partial class Form1 : WinFormium {public Form1(): base("http://res.a... 阅读全文
posted @ 2019-05-09 21:23 夜漫 阅读(1098) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/a/20190430144809 下载安装MP4Box 命令行下执行以下指令安装MP4Box sudo apt-get install gpac代码 核心代码为使用 os.system 模块通过调用系统命令使用MP4Box将H264格式的视频转为MP4 import osimport randomi... 阅读全文
posted @ 2019-05-09 21:23 夜漫 阅读(2662) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190501224046 问题在Visual Studio 中 使用NuGet 通过 install-package system.data.sqlite.x64 安装了64位的sqlite但是在使用中报如下错误System.BadImageFormatException:“未能加载文件或程序集“System.... 阅读全文
posted @ 2019-05-09 21:22 夜漫 阅读(2406) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190423192534 什么是域名邮箱 域名邮箱是腾讯公司推出的一项个性化邮件服务。如果您拥有域名,只需要通过简单的设置,就能够创建以您域名作为邮箱后缀的邮箱。创建域名邮箱 进入创建后台 访问 https://domain.mail.qq.com/ 使用你的... 阅读全文
posted @ 2019-05-09 21:22 夜漫 阅读(1879) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190430144020 代码 在树莓派环境下官方提供了乐酷 PiCamera 让我们可以很方便的操作树莓派连接的摄像头,以下为示例代码from picamera import PiCamera #初始化摄像头 camera = PiCamera() #录制的视频存放位置 h264_f... 阅读全文
posted @ 2019-05-09 21:22 夜漫 阅读(2819) 评论(0) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190407105818 引入依赖 org.bytedeco javacv 1.4.3 org.bytedeco.javacpp-presets ffmpeg-platform 4.0.2-1.4.3 代码案例 package l... 阅读全文
posted @ 2019-05-09 21:21 夜漫 阅读(3265) 评论(1) 推荐(0) 编辑
摘要: 个人博客 地址:https://www.wenhaofan.com/article/20190508220440 介绍一般来说开发过程中都是先在git创建远程仓库,然后fetch到本地仓库,再进行commit push等操作,但是有时候也需要将本地已经开发的项目上传至一个空的远程仓库中,期间也是遇到不少问题,特此总结一下初始化本地仓库初始化仓库git init将文件提交至本地仓库git com... 阅读全文
posted @ 2019-05-09 21:20 夜漫 阅读(9019) 评论(0) 推荐(0) 编辑