06 2019 档案

摘要:cd C:\Program Files\OpenVPN\binopenvpn --genkey --secret ..\config\ta.key init-config vars clean-all ..\bin\openvpn --genkey --secret keys\ta.key buil 阅读全文
posted @ 2019-06-28 17:53 MoonXu 阅读(14) 评论(0) 推荐(0) 编辑
摘要:.section .data.section .text.global _start.global fun_start: pushl $5 call fun addl $4, %esp movl %eax, %ebx movl $1, %eax int $0x80.type fun, @functi 阅读全文
posted @ 2019-06-27 23:32 MoonXu 阅读(162) 评论(0) 推荐(0) 编辑
摘要:.section .data.section .text.global _start_start: pushl $5 pushl $4 call fun addl $8, %esp pushl %eax pushl $7 pushl $2 call fun addl $8, %esp popl %e 阅读全文
posted @ 2019-06-27 18:18 MoonXu 阅读(227) 评论(0) 推荐(0) 编辑
摘要:横向分割显示: $ vim -o filename1 filename2 纵向分割显示: $ vim -O filename1 filename2 ctl w w 切换文件 $ vim -o filename1 filename2 纵向分割显示: $ vim -O filename1 filenam 阅读全文
posted @ 2019-06-27 16:15 MoonXu 阅读(379) 评论(0) 推荐(0) 编辑
摘要:as --32 --gstabs -o power.o power.s ld -m elf_i386 -o power power.s 执行 as 命令时带上参数 --gstabs 可以告诉汇编器在生成的目标代码中加上符号表,同时需要注意的是, 在用 ld 命令进行链接时不要加上 -s 参数,否则目 阅读全文
posted @ 2019-06-27 09:53 MoonXu 阅读(372) 评论(0) 推荐(0) 编辑
摘要:错误的命令:sudo apt-get install nvidiar-430好多教程都是这样 sudo apt-get install nvidia-driver-430 很奇怪这个命令变成这样 https://www.mvps.net/docs/install-nvidia-drivers-ubu 阅读全文
posted @ 2019-06-24 17:33 MoonXu 阅读(2195) 评论(0) 推荐(0) 编辑
摘要:sudo apt-get install gcc-multilib sudo apt-get install g++-multilib gcc -m32 -S a.c -o a.s gcc -m64 -S a.c -o a1.s 阅读全文
posted @ 2019-06-24 16:41 MoonXu 阅读(225) 评论(0) 推荐(0) 编辑
摘要:sudo dpkg-reconfigure gdm3 阅读全文
posted @ 2019-06-21 16:03 MoonXu 阅读(5321) 评论(0) 推荐(0) 编辑
摘要:启动按shfit (或者ctl shift f1) 然后光标在第一行按e 倒数第二行末尾添加quiet splash $vt_handoff 3 然后按CTRL+X或F10引导系统,启动之后就是命令行模式了 阅读全文
posted @ 2019-06-21 10:39 MoonXu 阅读(2677) 评论(0) 推荐(0) 编辑
摘要:sudo vi /etc/network/interfaces 2 auto lo 3 iface lo inet loopback auto eth0iface eth0 inet dhcp 4 auto ens33 5 iface ens33inet static 6 address 192.1 阅读全文
posted @ 2019-06-21 09:50 MoonXu 阅读(318) 评论(0) 推荐(0) 编辑
摘要:1.进入nginx目录,cmd启动nginx:start nginx stop nginx nginx -s reload nginx -s quit 2.验证nginx是否启动成功http:localhost:8080 3. ffmpeg -re -i F:/video/yiqi.mp4 -vco 阅读全文
posted @ 2019-06-18 22:12 MoonXu 阅读(228) 评论(0) 推荐(0) 编辑
摘要:inter real sense sdk 阅读全文
posted @ 2019-06-18 10:45 MoonXu 阅读(90) 评论(0) 推荐(0) 编辑
摘要:开机按shift,找到之前的内核版本或者recovery 安装vmtools 报错Not enough free space to extract VMwareTools 解决办法:将此文件夹复制到另外一个文件夹中,在extract就可以了 阅读全文
posted @ 2019-06-17 10:21 MoonXu 阅读(378) 评论(0) 推荐(0) 编辑
摘要:pause(2) 功能:这个函数是让程序暂停,直到等到有信号到来为止。 signal(2) #include <signal.h> typedef void (*sighandler_t)(int); sighandler_t signal(int signum, sighandler_t hand 阅读全文
posted @ 2019-06-17 07:32 MoonXu 阅读(529) 评论(0) 推荐(0) 编辑
摘要:命令模式下 :1,9< //1至9行回退一个tab :1,9> //1至9行缩进一个tab 让不可打印字符心事出来::set list 阅读全文
posted @ 2019-06-16 18:52 MoonXu 阅读(370) 评论(0) 推荐(0) 编辑
摘要:vhangup(2) vm86(2) vm86old(2) vmsplice(2) 阅读全文
posted @ 2019-06-16 18:20 MoonXu 阅读(82) 评论(0) 推荐(0) 编辑
摘要:afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, secu‐ rity, stty, t 阅读全文
posted @ 2019-06-16 18:18 MoonXu 阅读(246) 评论(0) 推荐(0) 编辑
摘要:vfork(2) #include <sys/types.h> #include <unistd.h> pid_t vfork(void); 功能:创建子进程并阻塞父进 1 #include<sys/types.h> 2 #include<unistd.h> 3 #include<stdio.h> 阅读全文
posted @ 2019-06-13 17:32 MoonXu 阅读(178) 评论(0) 推荐(0) 编辑
摘要:wait(2) wait3(2) wait4(2) waitpid(2) waitid(2) SEE ALSO _exit(2), clone(2), fork(2), kill(2), ptrace(2), sigaction(2), sig‐ nal(2), wait4(2), pthread_ 阅读全文
posted @ 2019-06-13 17:30 MoonXu 阅读(119) 评论(0) 推荐(0) 编辑
摘要:图像叠加和加权叠加 #include "pch.h"#include <iostream>#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>using namespace cv;using namespace 阅读全文
posted @ 2019-06-12 16:08 MoonXu 阅读(748) 评论(0) 推荐(0) 编辑
摘要:#include <sys/uio.h> ssize_t readv(int fd, const struct iovec *iov, int iovcnt); unix高级环境编程中的定义: 【ssize_t readv(int filedes,const struct iovec iov[ ], 阅读全文
posted @ 2019-06-12 11:45 MoonXu 阅读(321) 评论(0) 推荐(0) 编辑
摘要:可以播出视频,待完善 阅读全文
posted @ 2019-06-11 21:51 MoonXu 阅读(813) 评论(0) 推荐(0) 编辑
摘要:a) 通用选项-L license-h 帮助-fromats 显示可用的格式,编解码的,协议的...-f fmt 强迫采用格式fmt-I filename 输入文件-y 覆盖输出文件-t duration 设置纪录时间 hh:mm:ss[.xxx]格式的记录时间也支持-ss position 搜索到 阅读全文
posted @ 2019-06-11 09:06 MoonXu 阅读(1326) 评论(0) 推荐(0) 编辑
摘要:视频码率就是数据传输时单位时间传送的数据位数,一般我们用的单位是kbps即千位每秒。通俗一点的理解就是取样率,单位时间内取样率越大,精度就越高,处理出来的文件就越接近原始文件。 但是文件体积与取样率是成正比的,所以几乎所有的编码格式重视的都是如何用最低的码率达到最少的失真,围绕这个核心衍生出来的cb 阅读全文
posted @ 2019-06-11 09:05 MoonXu 阅读(1020) 评论(0) 推荐(0) 编辑
摘要:1.给视频加水印 ffmpeg -i jiwawa.mp4 -i ly.jpg -filter_complex overlay jiwawa1.mp4 2.视频截图保存为图片 ffmpeg -i jiwawa.mp4 -r 1 -q:v 2 image-%05d.jpg ffmpeg -i yiqi 阅读全文
posted @ 2019-06-11 08:58 MoonXu 阅读(413) 评论(0) 推荐(0) 编辑
摘要:安装msys2 更新源使下载速度更快 进入msys64/etc/pacman.d/目录中,分别在三个文件中增加mirrorlist.mingw32Server = http://mirrors.ustc.edu.cn/msys2/mingw/i686 mirrorlist.mingw64Server 阅读全文
posted @ 2019-06-11 08:16 MoonXu 阅读(1931) 评论(0) 推荐(0) 编辑
摘要:diff patch linus 偏爱有加 阅读全文
posted @ 2019-06-10 11:03 MoonXu 阅读(246) 评论(0) 推荐(0) 编辑
摘要:argc argv 阅读全文
posted @ 2019-06-05 19:17 MoonXu 阅读(2963) 评论(0) 推荐(0) 编辑
摘要:WITH_QT//H:\software\programming\qt\5.12.3\mingw73_32\lib\cmake 5.6的路径要改这样 WITH_OPENGL 编译器mingw32-make mingw32-make install source opencv 4.1.0 阅读全文
posted @ 2019-06-05 15:03 MoonXu 阅读(720) 评论(0) 推荐(0) 编辑
摘要:#include <cstdlib> _itoa(num, buf, 2); 打印buf既是二进制 阅读全文
posted @ 2019-06-05 09:27 MoonXu 阅读(249) 评论(0) 推荐(0) 编辑
摘要:16个通用寄存器: 阅读全文
posted @ 2019-06-04 15:22 MoonXu 阅读(163) 评论(0) 推荐(0) 编辑
摘要:./main 1>/dev/null 2>/dev/null & 这个会使程序调到后台继续执行下面的程序 sleep 30 reboot 阅读全文
posted @ 2019-06-04 14:11 MoonXu 阅读(204) 评论(0) 推荐(0) 编辑
摘要:/etc/rc.local修改这句 ./main 1>/dev/null 2>/dev/null & 成功 阅读全文
posted @ 2019-06-04 11:26 MoonXu 阅读(107) 评论(0) 推荐(0) 编辑
摘要:struct sched_param param; int maxpri; maxpri = sched_get_priority_max(SCHED_FIFO);//»ñÈ¡×î´óÖµ if (maxpri == -1) { WriteLog("sched_get_priority_max() 阅读全文
posted @ 2019-06-04 09:12 MoonXu 阅读(1064) 评论(0) 推荐(0) 编辑

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