sed‘s/^/\//g‘4行首增加指定字符提取网页中的播放地址:#!/bin/bash
printf"enteryourdir:"
readdir
echo"$dirisxx"
cd$dir
echo`pwd`
forfilein`ls.`
do
if[-d$file];then
echo$file
cd$file
echo`pwd`
tree`pwd`|grepplay|sed‘s/.*//g‘>11
tree`pwd`|grepplay|sed‘s/.*//g..
                            
                            
                                分类:
其他好文   时间:
2014-05-03 00:53:15   
                                阅读次数:
336
                             
                         
                    
                        
                            
                            
                                #include #include #include int main(int argc,char 
*argv[]){ int n=0; FILE *fp; if((fp=fopen(argv[1],"r"))==NULL) { 
perror("fopen");...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 18:05:54   
                                阅读次数:
308
                             
                         
                    
                        
                            
                            
                                前几天装的mysql,用的还挺爽的,第二天再用就不行了,报的错误如标题。网上也是众说纷纭,可能有很多原因会导致这种错误吧。我用的是将Mysqld这个进程杀掉,就可以启动mysql了
                            
                            
                                分类:
数据库   时间:
2014-05-02 17:44:14   
                                阅读次数:
378
                             
                         
                    
                        
                            
                            
                                本次内容:file类 1 package array; 2 /** 3 * file类 4 */ 5 
import java.io.File; 6 import java.io.IOException; 7 8 public class file { 9 
public static ...
                            
                            
                                分类:
编程语言   时间:
2014-05-02 16:50:03   
                                阅读次数:
387
                             
                         
                    
                        
                            
                            
                                #include #include #include int main(int argc,char 
**argv){ FILE *fp_src,*fp_des; char buf[128]; int num; if(argc!=3) { 
printf("t...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 16:06:36   
                                阅读次数:
562
                             
                         
                    
                        
                            
                            
                                出现下列错误:
mlogc.c:32:23: error: curl/curl.h: No such file or directory
mlogc.c:1091: error: expected ‘)’ before ‘*’ token
mlogc.c: In function ‘logc_init’:
     出错原因:缺少libcurl-dev or libcurl-devel
...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 10:50:35   
                                阅读次数:
371
                             
                         
                    
                        
                            
                            
                                29. 数组中出现次数超过一半的数字. 方法a. 排序取中 O(nlogn). 方法b. 
partition 函数分割找中位数 >=O(n). 方法c. 设计数变量,扫描一遍。 O(n).#include bool Invalid_Input 
= false;int getNumber(int da...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 10:46:15   
                                阅读次数:
340
                             
                         
                    
                        
                            
                            
                                Java代码 
importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.FileWriter;importjava.io.IOException;import...
                            
                            
                                分类:
编程语言   时间:
2014-05-02 06:13:08   
                                阅读次数:
477
                             
                         
                    
                        
                            
                            
                                调试了好久,在MFC内居然不能够解析“Mat”总是显示"Mat"未定义,修改include、lib、依赖库,不断地修改:#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "cv.h"还是不能显示,最后想起来是需要:using namespace cv;
using names...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 04:55:10   
                                阅读次数:
271
                             
                         
                    
                        
                            
                            
                                $sudoyuminstallvim-enhanced<snipped>Transactioncheckerror:file/usr/share/man/man1/vim.1.gzfrominstallofvim-common-2:7.4.179-1.fc20.x86_64conflictswithfilefrompackagevim-minimal-2:7.4.027-2.fc20.x86_64报错,于是我又更新了一下vi试试$sudoyumupdatevim-min..
                            
                            
                                分类:
其他好文   时间:
2014-05-02 02:55:55   
                                阅读次数:
285