自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Create MOS via ffmpeg

To Create 2min mono MOS:ffmpeg -f lavfi -i aevalsrc=0 -ar 48000 -ac 1 -c:a pcm_s24le -ss 0 -t 120 MOS_2min_mono.wavOrffmpeg -ar 48000 -ac 1 -f s24le -i /dev/zero -c:a pcm_s24le -

2015-02-12 21:55:37 522

原创 ffmpeg 多wav合并

ffmpeg -i Lt.wav -i Rt.wav -map 0,0 -map 1,1 -acodec copy Stereo.mov

2013-04-18 10:21:45 4921

原创 Failed to get lock on destination repos

svn propdel svn:sync-lock --revprop -r 0 http://ip/svn/myrepo

2013-04-12 14:09:32 1916

原创 svnsync 同步

Step 1. svnadmin createRun once@echo offecho ---------------------------------------------------------------------------echo %date:~0,10% %time%echo Start...echo Creating myrep...svnadmin

2013-04-12 10:57:06 926

原创 Get file Hash with Qt

QString filePath = "/raid0/NVIDIA-Linux-x86_64-295.20.run"; QFile theFile(filePath); theFile.open(QIODevice::ReadOnly); QByteArray ba = QCryptographicHash::hash(theFile.readAll(),QCryptogr

2012-12-07 18:50:36 462

原创 Add the RPMForge Repositories for CentOS 5

Add the RPMForge Repositories. Instructions are at http://wiki.centos.org/AdditionalResources/Repositories/RPMForgeThe default RPMforge repository does not replace any CentOS base packag

2012-08-14 10:51:56 466

转载 sed删除文件中的每行前n个字符

sed  -i  's/^...//' file去掉file中的前 (n个.) n个字符

2012-08-08 19:44:42 9279

原创 /etc/yum.repos.d/CentOS-Base.repo

[base]name=CentOS-5-Base#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/baseurl=http://ft

2012-03-22 17:25:13 6274

转载 Clear SVN login info

[Windows]Delete C:\Documents and Settings\Administrator\Application Data\Subversion\auth\*orTortoiseSVN: Settings->Saved Data->Authentication data,Clear[Linux]rm -rf ~/.subversion/auth

2012-03-08 10:21:23 540

原创 yum install

如果在使用yum install安装找不到某些包的时候,可以使用下面办法试试wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpmrpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

2012-02-23 23:52:21 456

原创 单用户维护模式

edit grub menu:press e,append "single" to line "kernel..."[Enter] then press bsh-3.2# passwd

2011-12-29 18:00:22 538

原创 fsck

Live CD# fsck /dev/sda1修复文件系统错误。

2011-12-29 17:44:04 432

原创 QLineEdit::setValidator ( const QValidator * v )

QRegExpValidator *validator = new QRegExpValidator(QRegExp("^[0-9]*$"), this);this->ui->lineEdit->setValidator(validator);

2011-12-02 00:37:31 5144

原创 hostname

$ hostname ubuntu1110$ sudo vi /etc/hostname$ sudo vi /etc/hosts

2011-11-30 16:59:34 432

原创 sc

C:\>scDESCRIPTION: SC is a command line program used for communicating with the NT Service Controller and services.USAGE: sc [command] [service name] ... Th

2011-11-21 01:28:37 1347

原创 chmod

# chmod 775 /usr/lib64/libstdc++.so.6.0.10一般是三个数字:第一个数字表示文件所有者的权限第二个数字表示与文件所有者同属一个用户组的其他用户的权限第三个数字表示其它用户组的权限。权限分为三种:读(r=4=100),写(w=2=010),执行(x=1=001)。综合起来还有可读可执行(rx=5

2011-11-18 16:59:09 870

原创 strings

prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are followed by an unprintable character.# strings /usr/lib64/li

2011-11-18 16:13:30 359

原创 add yum source for ffmpeg

$ cat /etc/yum.repos.d/ffmpeg.repo[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el\$releasever/en/\$basearch/daggpgcheck=0enabled=1EOF $ yum

2011-11-18 11:52:22 439

空空如也

空空如也

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

TA关注的人

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