自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (3)
  • 收藏
  • 关注

原创 windows定时备份

@echo offPATH = %PATH%;C:\Program Files\Git\usr\binG:cd %~dp0set date_str=20%date:~0,2%%date:~3,2%%date:~6,2%set d2_str=%date:~7,1%set src=F:\testset dest=G:\test_bk\testset dest_diff=%dest%_...

2019-05-21 11:17:32 608

转载 二维fft及转置

//C2DFFT//被执行2DFFT的是一个N*N的矩阵,在source_2d中按行顺序储存//水平方向FFTfor (int i=0;i<N;i++){ fft1(&source_2d[i*N],&source_2d_1[i*N],N);}//转置列成行for (int i=0;i<N*N;i++){ int x = i%N; ...

2019-04-12 11:44:25 882

原创 linux常用命令

Linux如何查看端口1、lsof -i:端口号 用于查看某一端口的占用情况,比如查看8000端口使用情况,lsof -i:80002、netstat -tunlp |grep 端口号,用于查看指定的端口号的进程情况,如查看8000端口的情况,netstat -tunlp |grep 8000...

2019-03-28 18:05:52 162

转载 npm代理时无法install

解决办法:设置npm代理即可: num代理设置 npm config set proxy http://用户名:密码@代理ip:端口号 npm config set https-proxy http://用户名:密码@代理ip:端口号 如果代理没有用户名密码: npm config set proxy http://代理ip:端口号 ...

2018-12-14 15:31:38 316

转载 jsonCpp

jsoncpp遇到error C4996: 'Json::Reader': Use CharReader and CharReaderBuilder instead 解决办法:在引用"json/json.h"之前定义#if defined(_MSC_VER) &amp;&amp; _MSC_VER &gt;= 1310#pragma warning(disable : 4996) //...

2018-11-29 14:23:06 451

原创 zynq buildroot编译UWSGI

buildroot: 2018.1uwsgi: 2.0.17.1下载uwsgi源码包 https://uwsgi-docs.readthedocs.io/en/latest/Download.html https://projects.unbit.it/downloads/uwsgi-2.0.17.1.tar.gz 复制python中pyconfig.h到uwsgi...

2018-11-07 17:10:25 881 3

原创 zynq buildroot编译thrift

buildroot: 2018.1thrift: 0.11.0报错解决:创建4个空文件NEWSREADMEAUTHORSChangeLogbuildroot/2018.08.1/output/build/thrift/config.h和buildroot/2018.08.1/output/build/thriftconfig.h中增加#define SIGNED_RIGH...

2018-11-07 14:54:26 424

转载 github 加速

记录github加速方法将下载列表写入hosts.windows系统在cmd中输入ipconfig /flushdns,hosts文件的位置如下:C:\Windows\System32\drivers\etc\hostsmac/linux系统执行sudo /etc/init.d/networking restart命令,hosts文件的位置如下:/etc/hosts相关域名列表:...

2018-11-02 14:15:00 600

原创 嵌入式开发记录

nfs挂载mount -t nfs -o nolock 192.168.1.58:/work nfs/文件系统同步rsync -avzP usr/ /usr/

2018-11-01 17:42:57 216

原创 python3 zynq安装pip

下载pip-18.1.tar.gz运行python setup.py installzynq 安装pip时提示: ValueError: ZIP does not support timestamps before 1980将linxu时间设置到1980以后 date -s "2018-11-1 17:02:00"...

2018-11-01 17:37:51 11930 5

原创 UnicodeEncodeError: 'ascii' codec can't encode characters in position 78-81: ordinal not in range(12

python3Python3中遇到UnicodeEncodeError: ‘ascii’ codec can’t encode characters inposition 78-81: ordinal not in range(128)import sysimport codecssys.stdout = codecs.getwriter(&amp;quot;utf-8&amp;quot;)(sys.stdout.de...

2018-11-01 17:34:08 538

原创 自动备份firefox 配置文件到本地

原理: 通过git和windows计划任务每天备份本地gogs服务器1 新建start_backup.bat@echo offPATH=%PATH%;D:\Program Files\Git\usr\binC:cd %~dp0%set date_str=%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,8%if not exist .gitig...

2018-09-23 15:20:15 755

原创 gogs 使用记录

gogs 使用记录1 git server gogs 设置拉取时验证密码,修改gogs\custom\conf\app.iniREQUIRE_SIGNIN_VIEW = true2 新建Gogs Service.bat文件,内容gogs.exe web3 在cmd中运行nssm.exe,按提示install服务或者ermvoe服务...

2018-09-23 15:12:44 920

原创 代码行数统计方法

代码行数统计方法下面所有方法来自网上:1 linux find命令单格式 find -name '*.cpp' | xargs wc -l 多格式 find -name '*[.cpp|.h]' | xargs wc -l 重做 Ctrl + Y2 git命令git log --author=&amp;quot;$(git config --get us...

2018-09-11 12:12:58 523

USB3.0协议规范(英文完整版)

USB3.0协议规范(英文完整版),好不容易找不到资料

2010-11-27

usb开发之u盘开发资料

USB的学习的进阶,U盘开发资料,不错的资料

2010-08-03

USB驱动开发简易教程

USB驱动开发的一个简易教程,初学者可简单的看看

2010-08-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除