情况:部署程序在IIS 7.5 windows server 2008 R2 64 bit OS,引用“Oracle.DataAccess.dll”运行程序会出现:"Could not load file or assembly 'Oracle.DataAccess' or one of its d...
分类:
数据库 时间:
2014-07-16 23:21:27
阅读次数:
638
使用Xcode做WebApps时,使用UIWebview来调用一个页面,有时会遇到问题,其一就是编译的时候出现黄色感叹号的Warning,js文件都报错:warning: no rule to process file '$(PROJECT_DIR)/jquery-1.8.1.min.js' of ...
分类:
移动开发 时间:
2014-07-16 23:09:10
阅读次数:
323
package com.utils;import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.DataInputStream;import java.io.File;import jav...
分类:
其他好文 时间:
2014-07-16 23:08:39
阅读次数:
145
1:flash_image介绍
也许很少人使用该工具,但flash_image对于调试uboot或者kernel和root相关的人来说用处还是比较大。falsh_image的使用方法:
usage: flash_image type [partition|device] [image_file_path]
type: MTD、EMMC、INAND
partition:根据平...
分类:
其他好文 时间:
2014-06-28 09:17:22
阅读次数:
231
#include "my_file.h"
//将文件内容拷贝到指定文件
int mycopy(const char *filename)
{
ifstream infile(filename, ios::binary);
ofstream outfile("TRACE.txt", ios::binary);
if (!infile.is_open() || !outfile...
分类:
其他好文 时间:
2014-06-28 08:46:56
阅读次数:
199
今天在编译安装MySQL的时候出现报错,报错信息如下[root@localhostmysql]#servicemysqlstartStartingMySQL..ERROR!TheserverquitwithoutupdatingPIDfile(/var/lib/mysql/localhost.localdomain.pid)查看报错日志信息如下:14062711:31:43[ERROR]Fatalerror:Can‘topenandlockpri..
分类:
数据库 时间:
2014-06-28 06:34:58
阅读次数:
345
问题描述:thetomcatinstallationdirectoryisnotvalid原因:我在上一页没有选择apachetomcat7.0,因为eclipse版本太低,只有到6.0的server供选择所以这边就算把Name改成7.0,还是配置不了解决方案:安装更高版本的eclipse
分类:
其他好文 时间:
2014-06-28 06:30:26
阅读次数:
575
#!/bin/bash
#
#
#thisisinstallkeepalived+lvs-DR
#
#
tar_dir=/usr/src
configure_yum()
{
echo"[rhel-local]">/etc/yum.repos.d/rhel-local.repo
echo"baseurl=file:///media/Server">>/etc/yum.repos.d/rhel-local.repo
echo"enabled=1">>/etc/yum.repos..
分类:
其他好文 时间:
2014-06-28 06:08:16
阅读次数:
373
packagecom.example.ex_day00;importjava.io.File;importjava.io.FileInputStream;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.IOException;importjava.io.InputStream;importjava.net.MalformedURLException;importjava.net.URL;impor..
分类:
数据库 时间:
2014-06-28 00:32:58
阅读次数:
378
遍历目录中所有文件,并且统计文件类型。#!/bin/bash
#filename:filestat.sh
#set-x
if[$#-ne1];
then
echo$0basepath;
echo
fi
path=$1
declare-Astatarray;
whilereadline;
do
ftype=`file-b"$line"`
letstatarray["$ftype"]++;
done<<(find$path-typef-print)
ech..
分类:
其他好文 时间:
2014-06-28 00:16:08
阅读次数:
224