自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

转载 tensorflow各版本下载地址

https://pypi.org/project/tensorflow-gpu/1.13.0/#files把13改对你想要的版本转载于:https://www.cnblogs.com/xpylovely/p/11609250.html

2019-09-29 18:03:00 5072

转载 摘:为什么老毛桃初始化后有了两个分区?

为什么老毛桃初始化后有了两个分区?答案:制作出来的启动盘支持uefi启动就要有uefi分区。同时也是为了支持两种启动方式,传统mbr和uefi,提高兼容性。原文:http://ask.zol.com.cn/x/5938014.html转载于:https://www.cnblogs.com/xingyunblog/p/11588737.html...

2019-09-26 08:41:00 1515

转载 windows下遍历文件夹下的文件

#include <io.h>#include <stdio.h>#include <iostream>using namespace std;int ReadStationID(char(*id)[50]){ struct _finddata_t c_file; long hFile; char *p = NULL; int i = 0; /* Fi...

2019-09-25 18:06:00 854

转载 vim快速到行尾

快速到行尾A,或者End键(挨着Home键)快速到第一行gg快速到行首Home键,数字键的上面转载于:https://www.cnblogs.com/xpylovely/p/11572330.html

2019-09-23 14:46:00 1876

转载 pthread_cond_wait

while(1) 33 { 34 mm* p = NULL; 35 pthread_mutex_lock(&mutex); 36 while(head == NULL) 37    pthread_cond_wait(&cond, &mutex); 38 p = hea...

2019-09-19 01:25:00 131

转载 生产者与消费者

生产者信号量producer(100);消费者信号量consumer(0);生产者是盛饭的,A桌子上有100个空碗就相当于有100个信号量。获得一个信号量相当于别人从桌子拿起一个碗递给他,他盛了1碗饭。A桌子总的碗数减1(A.acquire())A--。B桌子上有1碗可以吃(B.release())B++。消费者是吃饭的,B桌子多少碗可以吃的饭就是多少个信号量,一开始B桌子上...

2019-09-18 23:56:00 152

转载 qt打印输出到控制台

创建工程的时候是QT Console Application1.项目->run->Run in terminal2.pro文件中添加CONFIG +=console threadCONFIG +=console(这种没有验证)转载于:https://www.cnblogs.com/xpylovely/p/11546127.html...

2019-09-18 22:42:00 1092

转载 平台 DllRegisterServer调用失败

https://jingyan.baidu.com/article/295430f12ee8e80c7e0050b9.html转载于:https://www.cnblogs.com/xpylovely/p/11510622.html

2019-09-12 10:39:00 324

转载 linux下编译安装SDL2和ffmpeg

首先安装sudo apt-get install libsdl2-dev./configure --prefix=/tools/SDL2make && make install$ sudo add-apt-repository ppa:mc3man/trusty-media$ sudo apt-get update$ sudo apt-get i...

2019-09-11 10:29:00 606

转载 pickle导入变量AttributeError的解决方案

问题描述:AttributeError: 'module' object has no attribute ‘attr1’  解决方案:# 找到报错的文件a.pyfrom a import attr1  转载于:https://www.cnblogs.com/sddai/p/11496515.html...

2019-09-10 11:31:00 2546

转载 Office Tool Plus 安装Office

Office Tool Plus 是一款集office 卸载安装管理,激活等多功能于一体的神器。官网:https://otp.landian.vip/en-us/下载安装值得注意的是Retail 开头的必须选择否则会报错。。。如果非要选择Volume,那么Module 必须切换成Office Tool...

2019-09-09 23:17:00 5527

转载 取消Vue项目 url地址里的 #符号

在 router文件夹下的 index.js 里面 加上history转载于:https://www.cnblogs.com/wangshishuai/p/11474876.html

2019-09-06 15:02:00 275

转载 ffmpeg函数05__vcodec_decode_video2()

vcodec_decode_video2()的作用是解码一帧视频数据转载于:https://www.cnblogs.com/xpylovely/p/11470640.html

2019-09-06 00:22:00 151

转载 ffmpeg函数04__v_register_output_format()

注册复用器,编码器等的函数av_register_all()注册编解码器avcodec_register_all()注册复用器的函数是av_register_output_format()。注册解复用器的函数是av_register_input_format()。注册协议处理器的函数是ffurl_register_protocol()。转载于:https://www....

2019-09-05 22:39:00 172

转载 ffmpeg函数03__av_seek_frame()

当需要把视频跳转到N秒的时候可以使用下面的方法:int64_t timestamp = N * AV_TIME_BASE;av_seek_frame(fmtctx, index_of_video, timestamp, AVSEEK_FLAG_BACKWARD);av_get_channel_layout_nb_channels()和av_get_default_cha...

2019-09-05 22:29:00 207

转载 ffmpeg函数02__swr_alloc_set_opts()

SwrContext *swr_alloc(void); // 分配重采样的上下文。SwrContext *swr_alloc_set_opts(struct SwrContext *s, int64_t out_ch_layout, AVSampleFormat out_sample_fmt, int out_sample_rate, int64_t in_ch_layout...

2019-09-05 22:20:00 3178

转载 ffmpeg函数01__swr_convert()

swr_convert()针对每一帧音频的处理。把一帧帧的音频作相应的重采样int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, const uint8_t **in, int in_count);参数1:音频重采样的上下文参数2:输出的指针。传递的输出的数组参数3:输出的样本数量,不是...

2019-09-05 22:19:00 352

转载 Vue + Element 表格循环渲染

<el-table-column label="查看职位" width="250"> <slot slot-scope="scope"> <el-link style="padding:0 5px" v-for="(v,index) in scope.ro...

2019-09-05 12:24:00 866

转载 在ElementUI的 MessageBox 弹框 进行api接口请求

confirmDelete(row) { let that = this; let data = { id: row }; that.$axios .post(api.destroymodule, data) .then(res => { if...

2019-09-04 16:45:00 3676

转载 Vue 报错 (Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have ...

查找出template 标签上有个scope 属性 给改为slot-scope转载于:https://www.cnblogs.com/wangshishuai/p/11459203.html

2019-09-04 15:01:00 3940

转载 子组件 修改父组件的属性值

父组件调用子组件 <base_picker v-show="show2" :sendList="show2" @sendMessage="message"></base_picker>子组件 用 props 获取父组件传递的值使用 $emit 将修改的值传递给父组件 props:['sendList','lable_list']...

2019-09-04 14:45:00 408

转载 typing类型注解库

简介动态语言的灵活性使其在做一些工具,脚本时非常方便,但是同时也给大型项目的开发带来了一些麻烦。自python3.5开始,PEP484为python引入了类型注解(type hints),虽然在pep3107定义了函数注释(function annotation)的语法,但仍然故意留下了一些未定义的行为.现在已经拥有许多对于静态类型的分析的第三方工具,而pep48...

2019-09-04 14:03:00 534

转载 程序中修改字体颜色

https://blog.csdn.net/leixiaohua1020/article/details/44243155转载于:https://www.cnblogs.com/xpylovely/p/11458531.html

2019-09-04 13:06:00 134

转载 服务器做磁盘阵列参考资料

公司需要让我们给服务器做磁盘阵列,搜集一些资料以作备用。Dell服务器做磁盘阵列Dell服务器设置Raid5如何使用戴尔PERC H200 阵列卡创建磁盘阵列Dell 服务器做磁盘阵列DELL服务器RAID磁盘阵列配置图解7. DELL 服务器操作手册转载于:https://www.cnblogs.com/xingyunblog/p/11456734...

2019-09-04 07:20:00 148

空空如也

空空如也

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

TA关注的人

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