网上很多关于apache无法启动的原因,新手遇到最多的是80端口被占用。今天为了解决apache和tomcat端口共存问题,修改了httpd.conf的配置,由于增加位置没有做明显标识,重启apache后,发现apache无法启动,netstat
-a后,没有查看到80端口,也就是80端口不仅没被占...
分类:
其他好文 时间:
2014-05-01 09:19:02
阅读次数:
362
SqlLocalDB.exe start v11.0SqlLocalDB.exe info
v11.0SQL Server Management
Stdio添加管道连接实例默认实例名(localDB)\v11.0为了方便管理,LocalDB提供了一个基于命令行的数据库管理工具SqlLocalDB.e...
分类:
数据库 时间:
2014-05-01 09:06:48
阅读次数:
438
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-01 08:35:40
阅读次数:
443
1、首先停止正在运行的MySQL进程>net stop
mysql如未加载为服务,可直接在进程管理器或者服务中进行关闭。2、以安全模式启动MySQL进入mysql目录在命令行下运行>d:>cd
xampp/mysql/bin>mysqld.exe --skip-grant-tables3、完成以后就...
分类:
数据库 时间:
2014-05-01 08:33:41
阅读次数:
393
Sliding Window
Time Limit: 12000MS
Memory Limit: 65536K
Total Submissions: 36147
Accepted: 10700
Case Time Limit: 5000MS
Description
An array of size n ≤ 106 i...
exfat文件格式是唯一一个在OSX、win7和ubuntu系统下都能使用的文件格式,其能被osx和win7原生支持,并且支持4G以上的文件,但是ubuntu由于版权问题没法直接支持exfat,所以当插入该格式移动硬盘的时候会提示无法挂载,此时可以通过如下方法解决:
sudo add-apt-repository ppa:relan/exfat
加入新的PPA
s...
分类:
移动开发 时间:
2014-04-29 13:37:21
阅读次数:
425
在11g中,默认自动收集统计信息的时间为晚上10点(周一到周五,4个小时),早上6点(周六,周日,20个小时),如下所示:
select a.window_name, a.repeat_interval,a.duration
from dba_scheduler_windows a, dba_scheduler_wingroup_members b
where a.window_na...
分类:
数据库 时间:
2014-04-29 13:28:21
阅读次数:
469
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags ...
分类:
其他好文 时间:
2014-04-29 13:24:23
阅读次数:
443
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
思路同十进制的大数相加。代码如下:
class Solution {
public:
string addBinary(string a, str...
分类:
其他好文 时间:
2014-04-29 13:12:20
阅读次数:
328
需求:后台(指管理员后台)上传一个html模板到文件服务器上,前台(商家操作的平台)读取到模板,并填充数据,生成新的vm页面到webapp/WEB-INF/view目录下,用于预览、保存、打印。
最开始的代码:
@Test
public void test() throws Exception{
String templateUrl = baseServic...
分类:
Web程序 时间:
2014-04-29 13:11:21
阅读次数:
465