Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
其他好文 时间:
2014-05-18 19:39:55
阅读次数:
355
搭建安卓开发环境1.下载android开发必备工具之JAVA
JDK::http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe下载...
分类:
移动开发 时间:
2014-05-18 19:29:39
阅读次数:
453
groupadd mysql #添加mysql组 useradd -g mysql mysql
-s /bin/false #创建用户mysql并加入到mysql组,不允许mysql用户直接登录系统 mkdir -p /data/mysql
#创建MySQL数据库存放目 chown -R mysql...
分类:
数据库 时间:
2014-05-18 19:11:27
阅读次数:
406
既有环境:1)下载安装p4merge2)安装git下面是配置p4merge为git
mergetool的步骤1. /usr/local/bin下创建extMerge文件:$ cat >>
/usr/local/extMerge#!/bin/sh/Applications/IDE/p4merge.ap...
分类:
其他好文 时间:
2014-05-17 21:41:46
阅读次数:
354
1.环境变量的配置:path键 值:bin文件夹的位置 classpath键
值:.2.第一个HelloWorld:public class Hello{ public static void main(String args[]){
System.out.print("Hello World!"....
分类:
移动开发 时间:
2014-05-17 21:41:13
阅读次数:
460
Windows下首先安装MinGW, 将C:\MinGW\bin
加入环境变量,重启Sublime在Tools –> Build System –> New Build
System…{"cmd":["g++","${file}","-std=c++11","-o","${file_path}/${...
分类:
其他好文 时间:
2014-05-17 20:53:17
阅读次数:
206
1. shell判断文件,目录是否存在或者具有权限 2. #!/bin/sh 3. 4.
myPath="/var/log/httpd/" 5. myFile="/var /log/httpd/access.log" 6. 7. # 这里的-x
参数判断$myPath是否存在并且是否具有可执行权限 ...
分类:
其他好文 时间:
2014-05-17 19:23:57
阅读次数:
267
第一次接触到vs2010的预编译,因为网站源码在部署到服务器上之前要经过预编译过程,其中的aspx文件、cs文件、以及master文件、app_code文件均被编译,然后放到了bin目录下。这样不仅对网站安全有好处(不直接存放源代码),而且在用户访问网站时不用在经过漫长的预编译过程,使响应速度加快。...
分类:
Web程序 时间:
2014-05-17 19:16:54
阅读次数:
292
程序中存在较多的较验,出现Maximum execution time of 30
seconds
exceeded,在网上查到的解决办法,问题解决,备忘来源网址:http://www.oschina.net/code/snippet_262017_19330今天给朋友配置wamp的时候,刚刚搭建好...
分类:
其他好文 时间:
2014-05-17 18:49:00
阅读次数:
248