使用公司的maven服务器,可以加速jar包的下载。如果要使用公司的maven服务器,需要对本地maven配置文件conf/settings.xml做相应修改,具体改法有两种。一、mirror
方式思路是利用 mirror 配置支持通配符号,于是可以指定所有的 repository 都去找公司的r....
分类:
其他好文 时间:
2014-05-10 19:56:57
阅读次数:
686
Given a binary tree, check whether it is a
mirror of itself (ie, symmetric around its center).For example, this binary tree
is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-05-09 09:28:18
阅读次数:
253
常用的数据库访问方式
ASP访问数据库的方式有哪些?
在ASP中可以通过三种方式访问数据库:
1、IDC(Internet Database Connector)方式;
2、ADO(ActiveX Data Objects)方式;
3、RDS(Remote Data Service)方式。
这三种访问方式对数据库的访问都是由Internet Information Server...
分类:
数据库 时间:
2014-05-09 02:24:08
阅读次数:
530
服务器端:1、我的电脑->管理->本地用户和组->用户->新建用户设置账号密码,隶属于administrator和remote
user2、我的电脑->属性->远程设置->允许用户远程操作3、远程桌面连接-选项->本地资源->详细信息->驱动器(选择)
用于复制粘贴功能客户端:1、远程桌面连接-选项...
【failed to get the task for process问题】A: Why am
I getting "Error launching remote program: failed to get the task for process"
when debugging an iPhon...
分类:
其他好文 时间:
2014-05-08 18:10:58
阅读次数:
326
1、删除redhat原有的yum源#rpm-aq|grepyum|xargsrpm-e--nodeps2、下载新的yum安装包这里我们使用CentOS的yum源#wgethttp://mirror.centos.org/centos/6.0/os/i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm#wgethttp://mirror.centos.org/centos/6.0/os/i386/Package..
分类:
其他好文 时间:
2014-05-08 16:40:46
阅读次数:
286
我們需要用yum進行linux的更新或者軟件的安裝時,會發現速度比較慢,這時我們應該修改下mirror。vim
/etc/yum.repos.d/CentOS-Base.repo
(提示:有些系統中CentOS-Base.repo.save,其實是一樣的,只不過要在修改後把".save"去掉,因為只...
分类:
其他好文 时间:
2014-05-08 12:28:37
阅读次数:
319
这两道题,大同小异。
我都是用BFS,在遍历的过程,判断结构是否相同/对称,值是否相同。下面是AC代码: 1 /** 2 * Given a binary tree, check
whether it is a mirror of itself (ie, symmetric aroun...
分类:
其他好文 时间:
2014-05-05 09:48:26
阅读次数:
401
目标:主机做了Mirror和Replication,当主机出现问题时,Replication和Mirror实现自动的故障转移(Mirror和Replication都切换到备机,而当主机重新启动后,自动充当备机的角色)。环境:五台虚拟机,配置均为Windows2008Enterprise
+ SQLS...
分类:
数据库 时间:
2014-05-04 19:07:28
阅读次数:
560