将图片转换成字符 delphi的*.dfm文件
mht的文件 //------------------------------------------------------------------------------ //jpg转换为txt字符串 //JpegToText('C:\1.jpg'...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 21:06:52   
                                阅读次数:
245
                             
                         
                    
                        
                            
                            
                                判断字符串是否一样.TXT .txt .TxT 为一样的SameTextCompareStrfunctionSameText(constS1, S2:string): Boolean; ifSameText('.txt','.tXT')then ShowMessage('Same'); 来自为知笔记...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 21:06:22   
                                阅读次数:
313
                             
                         
                    
                        
                            
                            
                                WARN hdfs.DFSClient: DataStreamer Exception: org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /input/LICENSE.txt could only be replicated to 0 nodes, instead of 1
        at org.apache...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 18:13:22   
                                阅读次数:
227
                             
                         
                    
                        
                            
                            
                                1 _finddata_t file; 2 3 char* szFilePack="F:\\RTMFP\\measurement data\\ME4\\recursive2\\lossbyte\\*.txt"; 4 long lf; 5 if ((lf=_findfirs...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 17:34:02   
                                阅读次数:
220
                             
                         
                    
                        
                            
                            
                                1 package DEMO ; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.IOException; 6 import java.io.InputStream; 7 8 9 /* ...
                            
                            
                                分类:
编程语言   时间:
2014-07-29 16:57:22   
                                阅读次数:
216
                             
                         
                    
                        
                            
                            
                                CStdioFile file; file.Open(_T("c:\\a.txt"),CFile::modeCreate |CFile::modeReadWrite); file.WriteString(_T("hello world ,第一句话")); file.Flush(); file.Clo...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 16:54:42   
                                阅读次数:
365
                             
                         
                    
                        
                            
                            
                                using System.IO;using iTextSharp.text;using iTextSharp.text.pdf; //需要在项目里引用ICSharpCode.SharpZipLib.dll和itextsharp.dllpublic string TxtFilePath;public ...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 16:44:02   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                判断/home下有没有文件aaa.txt,如果存在则提示错误,如果文件不存在则创建且文件最终权限为644。#include<stdio.h>
#include<fcntl.h>
intmain(void){
intfd;
fd=open("/home/aaa.txt",O_WRONLY|O_CREAT|O_EXCL,0666);
if(fd==-1)
printf("Error:Fileexists.\n");..
                            
                            
                                分类:
系统相关   时间:
2014-07-29 16:01:59   
                                阅读次数:
328
                             
                         
                    
                        
                            
                            
                                Solr各版本下载地址:http://archive.apache.org/dist/lucene/solr/下载的包里面的CHANGES.txt有当前版本需要的说明。序号Solr版本JDK版本1solr-4.7.2Java1.6VMorlater2solr-4.8.1Java1.7VMorlater3solr-4.9.0Java1.7VMorlater
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:59:49   
                                阅读次数:
317
                             
                         
                    
                        
                            
                            
                                录入预算报错时报错:
分析:这个错误是select into 语句返回多行的结果,但具体在哪?
两种方法查找,trace 或者debug
1.trace
启用调试
获取trace文件
-bash-3.2$ tkprof ERPDEV_ora_7532_RICK.trc $HOME/7532_rick.fchela.txt         
TK...
                            
                            
                                分类:
其他好文   时间:
2014-07-29 14:21:58   
                                阅读次数:
214